This repository has been archived on 2025-06-21. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
suitedesk/modules/jquery_ui/jquery.ui/ui/packed/ui.slider.packed.js

12 lines
6.9 KiB
JavaScript

/*
* jQuery UI Slider 1.6
*
* Copyright (c) 2008 AUTHORS.txt (http://ui.jquery.com/about)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
* http://docs.jquery.com/UI/Slider
*
* Depends:
* ui.core.js
*/
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(6(A){A.1Q.1t=A.1Q.1t||6(B){9 3.15(6(){A(3).2w(B).2x(0).2v(3).1l()})};A.1T("k.p",{2u:6(){d B=3;3.e.1b("k-p");3.1m();3.b=A(3.7.b,3.e);4(!3.b.Y){B.b=B.1y=A(B.7.19||[0]).2r(6(){d D=A("<1s/>").1b("k-p-b").2f(B.e);4(3.1w){D.2s("1w",3.1w)}9 D[0]})}d C=6(D){3.e=A(D);3.e.V("O",3);3.7=B.7;3.e.11("1O",6(){4(B.8){3.1P(B.8)}B.U(3,t)});3.2t()};A.1p(C.1Z,A.k.O,{2y:6(){9 t},2z:6(D){9 B.1N.1i(B,D,3.e[0])},2E:6(D){9 B.1B.1i(B,D,3.e[0])},2F:6(D){9 B.1S.1i(B,D,3.e[0])},1L:6(D){3.2D(D)}});A(3.b).15(6(){2C C(3)}).2q(\'<a 2B="#" 2G="2m:1R;2h:1R;"></a>\').1I().11("2g",6(){9 R}).11("1G",6(D){B.U(3.1u)}).11("1P",6(D){B.1E(3.1u)}).11("2n",6(D){4(!B.7.2o){9 B.1V(D.2i,3.1u)}});3.e.11("1O.p",6(D){4(A(D.22).2j(".k-p-b")){9}B.1D.1K(B,[D]);B.8.V("O").1L(D);B.16=B.16+1});A.15(3.7.19||[],6(D,E){B.13(E.1x,D,t)});4(!T(3.7.1M)){3.13(3.7.1M,0,t)}3.Q=A(3.b[0]);4(3.b.Y==2&&3.7.17){3.1v()}},2k:6(){3.e.1C("k-p k-p-18").2A("p").2X(".p");4(3.b&&3.b.Y){3.b.1t("a");3.b.15(6(){d B=A(3).V("O");B&&B.2H()})}3.1y&&3.1y.1l()},1N:6(B,C){d D=3.7;4(D.18){9 R}3.S={J:3.e.1q(),z:3.e.1n()};4(!3.8){3.U(3.Q,t)}3.K=3.e.K();3.1z=3.8.K();3.1A={f:B.1f-3.1z.f,g:B.1e-3.1z.g};3.16=3.q();3.M("1x",B);3.1B(B,C);9 t},1B:6(C,E){d F=3.7;d B={f:C.1f-3.K.f-3.1A.f,g:C.1e-3.K.g-3.1A.g};4(!3.8){3.U(3.Q,t)}B.g=3.14(B.g,"x");B.f=3.14(B.f,"y");4(F.h.x){d D=3.w(B.g,"x");D=3.c(D/F.h.x)*F.h.x;B.g=3.r(D,"x")}4(F.h.y){d D=3.w(B.f,"y");D=3.c(D/F.h.y)*F.h.y;B.f=3.r(D,"y")}B.g=3.12(B.g,"x");B.f=3.12(B.f,"y");4(F.m!="v"){3.8.o({g:B.g})}4(F.m!="1r"){3.8.o({f:B.f})}3.8.V("O").1g={x:3.c(3.w(B.g,"x"))||0,y:3.c(3.w(B.f,"y"))||0};4(3.u){3.1j()}3.M("1a",C);9 R},1S:6(B){3.M("1c",B);4(3.16!=3.q()){3.M("28",B)}3.U(3.8,t);9 R},c:6(B){9 3.7.1U?n(B,10):2I(B)},20:6(B,C){A.1T.1Z.20.1K(3,2O);4(/j|l|W/.L(B)){3.1m()}4(B=="17"){C?3.b.Y==2&&3.1v():3.2c()}},1m:6(){d B=3.e[0],C=3.7;3.S={J:3.e.1q(),z:3.e.1n()};A.1p(C,{m:C.m||(B.2e<B.1Y?"v":"1r"),l:!T(n(C.l,10))?{x:n(C.l,10),y:n(C.l,10)}:({x:C.l&&C.l.x||1X,y:C.l&&C.l.y||1X}),j:!T(n(C.j,10))?{x:n(C.j,10),y:n(C.j,10)}:({x:C.j&&C.j.x||0,y:C.j&&C.j.y||0})});C.P={x:C.l.x-C.j.x,y:C.l.y-C.j.y};C.h={x:C.h&&C.h.x||n(C.h,10)||(C.W?C.P.x/(C.W.x||n(C.W,10)||C.P.x):0),y:C.h&&C.h.y||n(C.h,10)||(C.W?C.P.y/(C.W.y||n(C.W,10)||C.P.y):0)}},1V:6(F,E){4(3.7.18){9}d C=F;4(/(2U|21|1d|1W|1k|1H|1F|1o)/.L(C)){d G=3.7,B,I;4(/(1d|1W)/.L(C)){B=(C==1d)?G.l.x:G.j.x;I=(C==1d)?G.l.y:G.j.y}Z{d H=/(21|1k|1o)/.L(C)?"-=":"+=";d D=/(1k|1H|1F|1o)/.L(C)?"1h":"27";B=H+3[D]("x");I=H+3[D]("y")}3.13({x:B,y:I},E);9 R}9 t},U:6(B,C){3.8=A(B).1b("k-p-b-1J");4(C){3.8.1I()[0].1G()}},1E:6(B){A(B).1C("k-p-b-1J");4(3.8&&3.8[0]==B){3.Q=3.8;3.8=i}},1D:6(C){d D=[C.1e,C.1f];d B=R;3.b.15(6(){4(3==C.22){B=t}});4(B||3.7.18||!(3.8||3.Q)){9}4(!3.8&&3.Q){3.U(3.Q,t)}3.K=3.e.K();3.13({y:3.w(C.1f-3.K.f-3.8[0].1Y/2,"y"),x:3.w(C.1e-3.K.g-3.8[0].2e/2,"x")},i,!3.7.23)},1v:6(){4(3.u){9}3.u=A("<1s></1s>").1b("k-p-17").o({2T:"2W"}).2f(3.e);3.1j()},2c:6(){3.u.1l();3.u=i},1j:6(){d C=3.7.m=="v"?"f":"g";d B=3.7.m=="v"?"z":"J";3.u.o(C,(3.c(A(3.b[0]).o(C))||0)+3.X(0,3.7.m=="v"?"y":"x")/2);3.u.o(B,(3.c(A(3.b[1]).o(C))||0)-(3.c(A(3.b[0]).o(C))||0))},2d:6(){9 3.u?3.w(3.c(3.u.o(3.7.m=="v"?"z":"J")),3.7.m=="v"?"y":"x"):i},25:6(){9 3.b.2K(3.8[0])},q:6(D,B){4(3.b.Y==1){3.8=3.b}4(!B){B=3.7.m=="v"?"y":"x"}d C=A(D!=s&&D!==i?3.b[D]||D:3.8);4(C.V("O").1g){9 3.c(C.V("O").1g[B])}Z{9 3.c(((3.c(C.o(B=="x"?"g":"f"))/(3.S[B=="x"?"J":"z"]-3.X(D,B)))*3.7.P[B])+3.7.j[B])}},w:6(C,B){9 3.7.j[B]+(C/(3.S[B=="x"?"J":"z"]-3.X(i,B)))*3.7.P[B]},r:6(C,B){9((C-3.7.j[B])/3.7.P[B])*(3.S[B=="x"?"J":"z"]-3.X(i,B))},12:6(D,B){4(3.u){4(3.8[0]==3.b[0]&&D>=3.r(3.q(1),B)){D=3.r(3.q(1,B)-3.1h(B),B)}4(3.8[0]==3.b[1]&&D<=3.r(3.q(0),B)){D=3.r(3.q(0,B)+3.1h(B),B)}}4(3.7.19){d C=3.7.19[3.25()];4(D<3.r(C.j,B)){D=3.r(C.j,B)}Z{4(D>3.r(C.l,B)){D=3.r(C.l,B)}}}9 D},14:6(C,B){4(C>=3.S[B=="x"?"J":"z"]-3.X(i,B)){C=3.S[B=="x"?"J":"z"]-3.X(i,B)}4(C<=0){C=0}9 C},X:6(C,B){9 A(C!=s&&C!==i?3.b[C]:3.8)[0]["K"+(B=="x"?"2S":"2R")]},1h:6(B){9 3.7.h[B]||1},27:6(B){9 10},13:6(F,E,G){d H=3.7;3.S={J:3.e.1q(),z:3.e.1n()};4(E==s&&!3.8&&3.b.Y!=1){9 R}4(E==s&&!3.8){E=0}4(E!=s){3.8=3.Q=A(3.b[E]||E)}4(F.x!==s&&F.y!==s){d B=F.x,I=F.y}Z{d B=F,I=F}4(B!==s&&B.24!=26){d D=/^\\-\\=/.L(B),C=/^\\+\\=/.L(B);4(D||C){B=3.q(i,"x")+3.c(B.29(D?"=":"+=",""))}Z{B=T(3.c(B))?s:3.c(B)}}4(I!==s&&I.24!=26){d D=/^\\-\\=/.L(I),C=/^\\+\\=/.L(I);4(D||C){I=3.q(i,"y")+3.c(I.29(D?"=":"+=",""))}Z{I=T(3.c(I))?s:3.c(I)}}4(H.m!="v"&&B!==s){4(H.h.x){B=3.c(B/H.h.x)*H.h.x}B=3.r(B,"x");B=3.14(B,"x");B=3.12(B,"x");H.N?3.8.1c().N({g:B},(2a.2b(n(3.8.o("g"),10)-B))*(!T(n(H.N,10))?H.N:5)):3.8.o({g:B})}4(H.m!="1r"&&I!==s){4(H.h.y){I=3.c(I/H.h.y)*H.h.y}I=3.r(I,"y");I=3.14(I,"y");I=3.12(I,"y");H.N?3.8.1c().N({f:I},(2a.2b(n(3.8.o("f"),10)-I))*(!T(n(H.N,10))?H.N:5)):3.8.o({f:I})}4(3.u){3.1j()}3.8.V("O").1g={x:3.c(3.w(B,"x"))||0,y:3.c(3.w(I,"y"))||0};4(!G){3.M("1x",i);3.M("1a",i);3.M("1c",i);3.M("28",i)}},M:6(C,B){A.k.2p.1i(3,C,[B,3.k()]);3.e.2l(C=="1a"?C:"1a"+C,[B,3.k()],3.7[C])},2V:{},k:6(B){9{7:3.7,b:3.8,q:3.7.m!="2P"||!3.7.m?3.c(3.q(i,3.7.m=="v"?"y":"x")):{x:3.c(3.q(i,"x")),y:3.c(3.q(i,"y"))},17:3.2d()}}});A.1p(A.k.p,{2Q:"q",2J:"@2M",2L:{N:R,23:1,b:".k-p-b",1U:t}})})(2N)',62,184,'|||this|if||function|options|currentHandle|return||handle|_round|var|element|top|left|stepping|null|min|ui|max|axis|parseInt|css|slider|value|_translateValue|undefined|true|rangeElement|vertical|_convertValue|||height||||||||||width|offset|test|_propagate|animate|mouse|realMax|previousHandle|false|actualSize|isNaN|_focus|data|steps|_handleSize|length|else||bind|_translateRange|moveTo|_translateLimits|each|firstValue|range|disabled|handles|slide|addClass|stop|35|pageX|pageY|sliderValue|_oneStep|call|_updateRange|37|remove|_initBoundaries|outerHeight|40|extend|outerWidth|horizontal|div|unwrap|firstChild|_createRange|id|start|generated|handleOffset|clickOffset|_drag|removeClass|_click|_blur|39|focus|38|parent|active|apply|trigger|startValue|_start|mousedown|blur|fn|none|_stop|widget|round|_keydown|36|100|offsetHeight|prototype|_setData|34|target|distance|constructor|_handleIndex|Number|_pageStep|change|replace|Math|abs|_removeRange|_getRange|offsetWidth|appendTo|click|border|keyCode|is|destroy|triggerHandler|outline|keydown|noKeyboard|plugin|wrap|map|attr|_mouseInit|_init|after|parents|eq|_mouseCapture|_mouseStart|removeData|href|new|_mouseDown|_mouseDrag|_mouseStop|style|_mouseDestroy|parseFloat|version|index|defaults|VERSION|jQuery|arguments|both|getter|Height|Width|position|33|plugins|absolute|unbind'.split('|'),0,{}))