aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/js/ui/packed/ui.slider.packed.js
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-03-13 00:00:52 +0000
committerplegall <plg@piwigo.org>2010-03-13 00:00:52 +0000
commit14778ce673277f2df41f963aa70df1cbed427294 (patch)
tree8c723d4d9827876dbf19d2bd581405fc50910860 /themes/default/js/ui/packed/ui.slider.packed.js
parentc396f08708d431c6f7e8656eaca4fd8e440fdd39 (diff)
feature 1502: based on Dotclear model, P@t has reorganized the way Piwigo
manages template/theme in a simpler "theme only level" architecture. It supports multiple level inheritance. git-svn-id: http://piwigo.org/svn/trunk@5123 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/default/js/ui/packed/ui.slider.packed.js')
-rw-r--r--themes/default/js/ui/packed/ui.slider.packed.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/themes/default/js/ui/packed/ui.slider.packed.js b/themes/default/js/ui/packed/ui.slider.packed.js
new file mode 100644
index 000000000..9d269f0c1
--- /dev/null
+++ b/themes/default/js/ui/packed/ui.slider.packed.js
@@ -0,0 +1 @@
+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}('(g($){$.V("4.l",$.21({},$.4.2x,{2w:g(){b e=3,o=3.d;3.1b=v;3.Y=Z;3.1Q();3.2z();3.D.E("4-l"+" 4-l-"+3.s+" 4-V"+" 4-V-22"+" 4-1L-1I");3.h=$([]);8(o.h){8(o.h===N){3.h=$(\'<1s></1s>\');8(!o.6)o.6=[3.u(),3.u()];8(o.6.q&&o.6.q!=2){o.6=[o.6[0],o.6[0]]}}H{3.h=$(\'<1s></1s>\')}3.h.1K(3.D).E("4-l-h");8(o.h=="11"||o.h=="1c"){3.h.E("4-l-h-"+o.h)}3.h.E("4-V-2K")}8($(".4-l-r",3.D).q==0)$(\'<a 23="#"></a>\').1K(3.D).E("4-l-r");8(o.6&&o.6.q){2T($(".4-l-r",3.D).q<o.6.q)$(\'<a 23="#"></a>\').1K(3.D).E("4-l-r")}3.n=$(".4-l-r",3.D).E("4-A-2o"+" 4-1L-1I");3.r=3.n.2f(0);3.n.2W(3.h).1W("a").2s(g(c){c.2t()}).1o(g(){8(!o.L){$(3).E(\'4-A-1o\')}},g(){$(3).O(\'4-A-1o\')}).T(g(){8(!o.L){$(".4-l .4-A-T").O(\'4-A-T\');$(3).E(\'4-A-T\')}H{$(3).1S()}}).1S(g(){$(3).O(\'4-A-T\')});3.n.1U(g(i){$(3).1x("9.4-l-r",i)});3.n.2m(g(c){b 1D=N;b 9=$(3).1x("9.4-l-r");8(e.d.L)m;1P(c.w){t $.4.w.2b:t $.4.w.26:t $.4.w.28:t $.4.w.1V:t $.4.w.2c:t $.4.w.29:1D=v;8(!e.1b){e.1b=N;$(3).E("4-A-1n");e.1B(c,9)}S}b W,p,J=e.1Y();8(e.d.6&&e.d.6.q){W=p=e.6(9)}H{W=p=e.k()}1P(c.w){t $.4.w.2b:p=e.u();S;t $.4.w.26:p=e.G();S;t $.4.w.28:t $.4.w.1V:8(W==e.G())m;p=W+J;S;t $.4.w.2c:t $.4.w.29:8(W==e.u())m;p=W-J;S}e.1p(c,9,p);m 1D}).2p(g(c){b 9=$(3).1x("9.4-l-r");8(e.1b){e.1T(c,9);e.18(c,9);e.1b=v;$(3).O("4-A-1n")}});3.1f()},2l:g(){3.n.20();3.h.20();3.D.O("4-l"+" 4-l-I"+" 4-l-U"+" 4-l-L"+" 4-V"+" 4-V-22"+" 4-1L-1I").2r("l").2u(".l");3.2k()},2e:g(c){b o=3.d;8(o.L)m v;3.1E={12:3.D.2g(),15:3.D.2i()};3.1C=3.D.17();b R={x:c.1J,y:c.1M};b M=3.1k(R);b 1v=3.G()-3.u()+1,K;b e=3,9;3.n.1U(g(i){b 1H=2h.2j(M-e.6(i));8(1v>1H){1v=1H;K=$(3);9=i}});8(o.h==N&&3.6(1)==o.11){K=$(3.n[++9])}3.1B(c,9);e.Y=9;K.E("4-A-1n").T();b 17=K.17();b 25=!$(c.2n).2V().2P().2Q(\'.4-l-r\');3.13=25?{Q:0,1h:0}:{Q:c.1J-17.Q-(K.12()/2),1h:c.1M-17.1h-(K.15()/2)-(1G(K.z(\'2N\'),10)||0)-(1G(K.z(\'2L\'),10)||0)+(1G(K.z(\'2M\'),10)||0)};M=3.1k(R);3.1p(c,9,M);m N},2S:g(c){m N},2Y:g(c){b R={x:c.1J,y:c.1M};b M=3.1k(R);3.1p(c,3.Y,M);m v},2X:g(c){3.n.O("4-A-1n");3.1T(c,3.Y);3.18(c,3.Y);3.Y=Z;3.13=Z;m v},1Q:g(){3.s=3.d.s==\'U\'?\'U\':\'I\'},1k:g(R){b 1m,1r;8(\'I\'==3.s){1m=3.1E.12;1r=R.x-3.1C.Q-(3.13?3.13.Q:0)}H{1m=3.1E.15;1r=R.y-3.1C.1h-(3.13?3.13.1h:0)}b P=(1r/1m);8(P>1)P=1;8(P<0)P=0;8(\'U\'==3.s)P=1-P;b 2d=3.G()-3.u(),1y=P*2d,1O=1y%3.d.J,M=3.u()+1y-1O;8(1O>(3.d.J/2))M+=3.d.J;m 2A(M.2B(5))},1B:g(c,9){b F={r:3.n[9],k:3.k()};8(3.d.6&&3.d.6.q){F.k=3.6(9);F.6=3.6()}3.1g("2y",c,F)},1p:g(c,9,p){b r=3.n[9];8(3.d.6&&3.d.6.q){b 1e=3.6(9?0:1);8((3.d.6.q==2&&3.d.h===N)&&((9==0&&p>1e)||(9==1&&p<1e))){p=1e}8(p!=3.6(9)){b 1N=3.6();1N[9]=p;b 1q=3.1g("1F",c,{r:3.n[9],k:p,6:1N});b 1e=3.6(9?0:1);8(1q!==v){3.6(9,p,(c.2a==\'27\'&&3.d.f),N)}}}H{8(p!=3.k()){b 1q=3.1g("1F",c,{r:3.n[9],k:p});8(1q!==v){3.1l(\'k\',p,(c.2a==\'27\'&&3.d.f))}}}},1T:g(c,9){b F={r:3.n[9],k:3.k()};8(3.d.6&&3.d.6.q){F.k=3.6(9);F.6=3.6()}3.1g("X",c,F)},18:g(c,9){b F={r:3.n[9],k:3.k()};8(3.d.6&&3.d.6.q){F.k=3.6(9);F.6=3.6()}3.1g("2D",c,F)},k:g(1t){8(19.q){3.1l("k",1t);3.18(Z,0)}m 3.1Z()},6:g(9,1t,1a,1X){8(19.q>1){3.d.6[9]=1t;3.1f(1a);8(!1X)3.18(Z,9)}8(19.q){8(3.d.6&&3.d.6.q){m 3.1R(9)}H{m 3.k()}}H{m 3.1R()}},1l:g(24,k,1a){$.V.2G.1l.2E(3,19);1P(24){t\'L\':8(k){3.n.1W(".4-A-T").1S();3.n.O("4-A-1o");3.n.2R("L","L")}H{3.n.2F("L")}t\'s\':3.1Q();3.D.O("4-l-I 4-l-U").E("4-l-"+3.s);3.1f(1a);S;t\'k\':3.1f(1a);S}},1Y:g(){b J=3.d.J;m J},1Z:g(){b C=3.d.k;8(C<3.u())C=3.u();8(C>3.G())C=3.G();m C},1R:g(9){8(19.q){b C=3.d.6[9];8(C<3.u())C=3.u();8(C>3.G())C=3.G();m C}H{m 3.d.6}},u:g(){b 16=3.d.11;m 16},G:g(){b 1j=3.d.1c;m 1j},1f:g(f){b 1i=3.d.h,o=3.d,e=3;8(3.d.6&&3.d.6.q){b 2I,2C;3.n.1U(g(i,j){b B=(e.6(i)-e.u())/(e.G()-e.u())*1d;b 14={};14[e.s==\'I\'?\'Q\':\'1z\']=B+\'%\';$(3).X(1,1)[f?\'f\':\'z\'](14,o.f);8(e.d.h===N){8(e.s==\'I\'){(i==0)&&e.h.X(1,1)[f?\'f\':\'z\']({Q:B+\'%\'},o.f);(i==1)&&e.h[f?\'f\':\'z\']({12:(B-1A)+\'%\'},{1u:v,1w:o.f})}H{(i==0)&&e.h.X(1,1)[f?\'f\':\'z\']({1z:(B)+\'%\'},o.f);(i==1)&&e.h[f?\'f\':\'z\']({15:(B-1A)+\'%\'},{1u:v,1w:o.f})}}1A=B})}H{b k=3.k(),16=3.u(),1j=3.G(),B=1j!=16?(k-16)/(1j-16)*1d:0;b 14={};14[e.s==\'I\'?\'Q\':\'1z\']=B+\'%\';3.r.X(1,1)[f?\'f\':\'z\'](14,o.f);(1i=="11")&&(3.s=="I")&&3.h.X(1,1)[f?\'f\':\'z\']({12:B+\'%\'},o.f);(1i=="1c")&&(3.s=="I")&&3.h[f?\'f\':\'z\']({12:(1d-B)+\'%\'},{1u:v,1w:o.f});(1i=="11")&&(3.s=="U")&&3.h.X(1,1)[f?\'f\':\'z\']({15:B+\'%\'},o.f);(1i=="1c")&&(3.s=="U")&&3.h[f?\'f\':\'z\']({15:(1d-B)+\'%\'},{1u:v,1w:o.f})}}}));$.21($.4.l,{2J:"k 6",2U:"1.7.2",2v:"1F",2O:{f:v,2q:0,1v:0,1c:1d,11:0,s:\'I\',h:v,J:1,k:0,6:Z}})})(2H);',62,185,'|||this|ui||values||if|index||var|event|options|self|animate|function|range|||value|slider|return|handles||newVal|length|handle|orientation|case|_valueMin|false|keyCode|||css|state|valPercent|val|element|addClass|uiHash|_valueMax|else|horizontal|step|closestHandle|disabled|normValue|true|removeClass|percentMouse|left|position|break|focus|vertical|widget|curVal|stop|_handleIndex|null||min|width|_clickOffset|_set|height|valueMin|offset|_change|arguments|animated|_keySliding|max|100|otherVal|_refreshValue|_trigger|top|oRange|valueMax|_normValueFromMouse|_setData|pixelTotal|active|hover|_slide|allowed|pixelMouse|div|newValue|queue|distance|duration|data|valueMouse|bottom|lastValPercent|_start|elementOffset|ret|elementSize|slide|parseInt|thisDistance|all|pageX|appendTo|corner|pageY|newValues|valueMouseModStep|switch|_detectOrientation|_values|blur|_stop|each|RIGHT|filter|noPropagation|_step|_value|remove|extend|content|href|key|mouseOverHandle|END|mousedown|UP|LEFT|type|HOME|DOWN|valueTotal|_mouseCapture|eq|outerWidth|Math|outerHeight|abs|_mouseDestroy|destroy|keydown|target|default|keyup|delay|removeData|click|preventDefault|unbind|eventPrefix|_init|mouse|start|_mouseInit|parseFloat|toFixed|vp1|change|apply|removeAttr|prototype|jQuery|vp0|getter|header|borderBottomWidth|marginTop|borderTopWidth|defaults|andSelf|is|attr|_mouseStart|while|version|parents|add|_mouseStop|_mouseDrag'.split('|'),0,{}))