source: extensions/gally/gally-default/js/gallyjs-tpp.packed.js @ 8528

Last change on this file since 8528 was 8528, checked in by grum, 13 years ago

Release 1.4.0
Rewrite some JS
fix bug bug:1983

  • Property svn:executable set to *
File size: 7.1 KB
Line 
1/* file: gally-tpp.js - v1.4.0 | packed on 2011/01/08 with http://joliclic.free.fr/php/javascript-packer/ */
2eval(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}('1M 2c=1a;$(2i).2N(5(){2c=1S 2b()});5 2b(){1M d={m:\'n\',Z:-1,L:-1},j={v:l,1w:0,1c:1a},b={1e:l,T:0,R:0,1K:0,H:\'\'},q=1a,1q=5(){29=/[2O]\\./i;4(2a.28.2M&&2a.28.2J.2K(29)){3.2p="1R";3.1D=l}4(3.1D){$("t").8("2d-x","1z")}k{$("t").8("2d-x","2Q")}4(3.2V=="M"){3.1C+=$("#M").r(0).z+$("#M").r(0).s}4(!3.18){3.1F=l}b.H=3.2W;f(\'0\',h);1G("1q");4((3.2e=="2U"||(3.2e=="2I"&&!b.1e))&&3.18){$("#J").e("16",5(){f(\'y\',h)}).e("19",5(){f(\'n\',h)}).e("G",5(){f(\'y\',h)})}4(3.18){$("#M").e("16",5(){f(\'y\',l)}).e("G",5(){f(\'y\',l)});$("#1l").e("16",5(){f(\'y\',h)}).e("19",5(){f(\'n\',h)}).e("G",5(){f(\'y\',h)});$("#S").e("16",5(){f(\'Y\',h)}).e("19",5(){f(\'n\',h)}).e("G",5(){f(\'y\',h)});$("#X").e("16",5(){f(\'Y\',h)}).e("19",5(){f(\'n\',h)}).e("G",5(){f(\'y\',h)})}$("#S").8("g",$("#S").6("z")+$("#1y").6("s")+$("#1t").6("s")+"7");$("#X").8("g",$("#X").6("z")+$("#1y").6("s")+$("#1t").6("s")+"7");$("#E").8("g",$("#E").6("z")+$("#1y").6("s")+$("#1t").6("s")+"7");$("#2R").6("2S",3.2X);4(3.15>0){$("#Q").d({2z:{1J:\'2B\',2A:3.15}})}k{$("#Q").d()}1m(\'n\');4(3.18){$(\'#P\').e("16",5(){f(\'Y\',l)}).e("19",5(){f(\'n\')}).e("G",5(){f(\'y\',l)})}$("#Q").e(\'2H\',5(V,12){d.L=12.2D});$(\'.2E a\').1v(5(){$(D).r(0).2C();4(d.L==d.Z){4(d.Z!=-1)1m(\'n\');d.Z=-1;d.L=-1}k{4(d.Z==-1)1m(\'y\');d.Z=d.L}});$(1b).U(5(){1G("U")});j.1w=1;$(2i).W(\'31\')},2x=5(){4(b.1e&&3.3e==l&&3.2Y){$(\'#1B\').e(\'1v\',5(){2m($(\'#J\').6(\'1N\'))}).1L(\'3d\')}},1G=5(2g){4(2g=="1q"){26=$("#1y").6("s")+$("#1t").6("s");$("#1l").8("g",$("#1l").6("z")+26+$("#M").6("s")+"7");4(3.1X=="1E"){1Y=$("#11").6("N")+1;$("#P").8("1E",1Y+"7")}k 4(3.1X=="g"){1W=$("#1l").6("z")+$("#1l").6("s");$("#P").8("g",1W+"7")}4($("#S").1U>0){$("#S").8("9",$("#11").6("z")-$("#S").6("z")-3.1p+"7")}4($("#X").1U>0){$("#X").8("9",$("#11").6("z")-$("#X").6("z")-3.1p+"7")}}1f=1S 2y;1f.9=$("#J").6("9")+"7";4(3.1D&&($("#J").6("1u")>($("#E").6("w")-2*3.14))){1f.c=($("#E").6("w")-2*(3.14+3.O))+"7";$("#E").e("G",5(V){u=B.1h(3.2j,$("#S").6("w")*1.2);20=B.1h(B.1O(V.22-b.1K,D.w-u),u);$("#J").8("o",B.1P(($("#J").6("1u")-D.w)*-(20-u)/(D.w-2*u))+"7").W(\'33\')});b.1e=h}k{$("#E").1Z("G");$("#J").8("o","1T");1f.c=$("#J").6("1u")+"7";b.1e=l}$("#1B").8(1f);4($("#11").8("30")=="34"){$("#E").8("2t-1E",$("#11").6("s")+"7")}1I(3.39){A"38":C=$("#1B").6(\'s\');I;A"37":C=$("#E").6(\'s\');I;1H:C=-3a;I}C=($("#11").6("z")-($("#M").6("z")+$("#M").6("s"))-C)/2+3.3i;4(C<3.1C){C=3.1C}C=C+"7";$("#E").8("g",C);b.1K=$(\'#E\').32().o;2x()},f=5(m,1A){4((j.1w==1)&&(3.1F)){j.1w=2;4(m=="Y")1g(\'\')}4(!3.1F&&m=="0"){m="1"}4(3.2p=="3b"){1I(m){A\'0\':$(".10").8({1J:0,13:"1z"});j.v=l;I;A\'1\':4(!j.v)$(".10").8({1J:1,13:"v"});j.v=h;4(1A)1o();I;A\'2\':A\'Y\':A\'y\':4(!j.v)$(".10").8("13","v").2n(h,l).2q(3.15,1);j.v=h;4(1A)1o();I;1H:$(".10").2n(h,l).2q(3.15,0,5(){D.3j.13="1z";j.v=l});1s();I}}k{1I(m){A\'y\':A\'Y\':A\'1\':A\'2\':4(!j.v)$(".10").8("13","v");j.v=h;4(1A)1o();I;1H:$(".10").8("13","1z");j.v=l;1s();I}}},1m=5(m){4(m!=\'\'){d.m=m}k{4(d.m!=\'n\'){d.m=\'n\'}k{d.m=\'y\'}}4(3.2L){4(d.m==\'y\'){$("#P").2u({9:3.2o+"7"},3.15).W(\'U\')}k{$(\'#Q 2s.21\').1L("12-d-1V").8("1j","");$(\'#Q 25\').2h("12-d-L");$("#P").2u({9:3.1p+"7"},3.15).W(\'U\')}}k{4(d.m==\'y\'){$("#P").8({9:3.2o+"7"}).W(\'U\')}k{$(\'#Q 2s.21\').1L("12-d-1V").8("1j","");$(\'#Q 25\').2h("12-d-L");$("#P").8({9:3.1p+"7"}).W(\'U\')}}},1s=5(){4(j.1c!=1a){1b.35(j.1c);j.1c=1a}},1o=5(){1s();4(3.2w>0&&3.18)j.1c=1b.3h(f,3.2w,"n",l)},2m=5(2r){$(\'#2k\').8({c:$("t").r(0).1u+"7",9:$("t").r(0).2P+"7",1j:"2l"});4($("#F").6(\'1N\')==""){p=1S 2y();p.o=(($(1b).c()-$("#K").6("w")-3.O*2)/2)+"7";p.g=(($(1b).9()-$("#K").6("N")-3.O*2)/2)+"7";$(\'#K\').8({o:p.o,g:p.g,2t:3.O+"7"});$("#F").3c(5(){b.T=$("#F").c();b.R=$("#F").9();p=1x(b.H);$(\'#K\').8("3g-b","1R");1Q();$("#F").8({1j:"2l"})}).6(\'1N\',2r);4(3.3f==\'2Z\'){$("#F").e(\'1v\',1r)}k{$("#F").e(\'1v\',1n)}}k{p=1x(b.H);$(\'#K\').8({o:p.o+"7",g:p.g+"7",c:p.c+"7",9:p.9+"7"})}},1x=5(2v){1M p={o:3.14,g:3.14,c:0,9:0},1k=(3.14+3.O)*2;4(2v==\'17\'){p.c=$("t").r(0).w-1k;p.9=$("t").r(0).N-1k}k{1i=b.T/b.R;1d=$("t").r(0).w/$("t").r(0).N;4((1d>1&&(1d>1i))||(1d<1&&(1d<1i))){p.9=$("t").r(0).N-1k;p.c=p.9*1i}k{p.c=$("t").r(0).w-1k;p.9=p.c/1i}p.o=($("t").r(0).w-p.c)/2-3.O;p.g=($("t").r(0).N-p.9)/2-3.O}4(p.c>b.T){p.c=b.T;p.o=($("t").r(0).w-p.c)/2}4(p.9>b.R){p.9=b.R;p.g=($("t").r(0).N-p.9)/2}1g(p)},1Q=5(){q=1x(b.H);$(\'#K\').8({o:q.o+"7",g:q.g+"7",c:q.c+"7",9:q.9+"7"});4(b.H=="17"){$("#F").8({c:b.T+"7",9:b.R+"7"});$(\'#K\').e("G",5(V){u=B.1h(3.14*2,3.2j);23=B.1h(B.1O(V.22-q.o,q.c-u),u);24=B.1h(B.1O(V.36-q.g,q.9-u),u);$("#F").8("o",B.1P((b.T-q.c)*-(23-u)/(q.c-2*u))+"7").8("g",B.1P((b.R-q.9)*-(24-u)/(q.9-2*u))+"7")})}k{$("#F").8({c:q.c+"7",9:q.9+"7",o:"1T",g:"1T"});$(\'#K\').1Z("G")}},1r=5(){$(\'#2k\').8(\'1j\',\'1R\')},1n=5(){4(b.H==\'17\'){b.H="2f"}k{b.H="17"}$("#3k").27(\'17\').27(\'2f\');1Q()};D.1r=5(){1r()};D.1n=5(){1n()};D.2T=5(){1g b};D.2F=5(){1g j};D.2G=5(){1g d};1q()}',62,207,'|||options|if|function|attr|px|css|height||image|width|tabs|bind|switchInterface|top|true||interface|else|false|show||left||container|get|offsetHeight|html|deadArea|visible|clientWidth|||offsetTop|case|Math|imgTop|this|theImage|theImgHigh|mousemove|zoomMode|break|theImg|theImgHighContainer|selected|imageHeaderBar|clientHeight|paddingContainer|theTabsContainer|theTabs|highHeight|navThumbPrev|highWidth|resize|event|trigger|navThumbNext||current|uiImg|copyright|ui|visibility|marginContainer|animateDelay|mouseenter|full|interfaceCanSwitch|mouseleave|null|window|timerDelay|ratioPage|isScrollable|cssValues|return|max|ratioImg|display|margins|imageToolBar|switchTabs|switchZoomHigh|resetInterfaceTimer|tabsHidden|init|closeDisplayHigh|clearInterfaceTimer|theHeaderAlt|scrollWidth|click|initialized|calcImgHighPositionAndSize|theHeader|hidden|resetTimer|theImgContainer|imageCenterTopMin|imageAutoScroll|bottom|interfaceHidden|initializeImageMode|default|switch|opacity|leftPos|addClass|var|src|min|round|displayZoomHigh|none|new|0px|length|hide|toolBarArea|tabsPosition|copyrightArea|unbind|mouse|tabPanel|clientX|mouseX|mouseY|li|theHeaderHeight|toggleClass|browser|regexp|jQuery|GallyPP|gallyPP|overflow|interfaceOnImage|fit|mode|removeClass|document|imageScrollMinDeadArea|theImageHigh|block|openDisplayHigh|stop|tabsVisible|interfaceAnimated|fadeTo|url|div|padding|animate|zoom|interfaceTimerDelay|simulateHighRes|Object|fx|duration|toggle|blur|index|tab|getInterfaceProp|getTabsProp|tabsselect|noscroll|version|match|tabsAnimated|msie|ready|1234567|scrollHeight|scroll|contentid|rows|getImageProp|always|imageCenterTopBorder|defaultZoomSize|commentRows|imageSimulateHighRes|close|position|gallyInterfaceReady|offset|scrolled|fixed|clearInterval|clientY|all|img|imageCenterMode|10000|fade|load|pointer|imageHaveHighRes|highResClickMode|background|setInterval|imageCenterOffset|style|theImgHighZoomButton'.split('|'),0,{}))
Note: See TracBrowser for help on using the repository browser.