12 lines
12 KiB
JavaScript
12 lines
12 KiB
JavaScript
|
/**
|
||
|
* jQuery Lightbox Plugin (balupton edition) - Lightboxes for jQuery
|
||
|
* Copyright (C) 2008 Benjamin Arthur Lupton
|
||
|
* http://jquery.com/plugins/project/jquerylightbox_bal
|
||
|
*
|
||
|
* This file is part of jQuery Lightbox (balupton edition).
|
||
|
*
|
||
|
* You should have received a copy of the GNU Affero General Public License
|
||
|
* along with jQuery Lightbox (balupton edition). If not, see <http://www.gnu.org/licenses/>.
|
||
|
*/
|
||
|
eval(function(p,a,c,k,e,r){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--)r[e(c)]=k[c]||e(c);k=[function(e){return r[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}('(v($){$.W=$.W||v(a){r b=B;q(C 21!==\'G\'&&C $.W!==\'G\'){b=21}J q(C 12.21!==\'G\'&&C 12.$.W!==\'G\'){b=12.21}q(b){q(C 1N!==\'G\'&&1N.1C>1){b.W(1N);u 1N}J{b.W(a);u a}}};$.2p=$.2p||v(a){a=2X(a);a=a.1D(a.22(\'?\')+1);a=a.2q(/\\+/g,\'%20\');q(a.1D(0,1)===\'{\'&&a.1D(a.1C-1)===\'}\'){u 23(2r(a))}a=a.2s(/\\&|\\&3R\\;/);r b={};1l(r i=0,n=a.1C;i<n;++i){r c=a[i]||B;q(c===B){24}c=c.2s(\'=\');q(c===B){24}r d=c[0]||B;q(d===B){24}q(C c[1]===\'G\'){24}r f=c[1];d=2r(d);f=2r(f);3S{f=23(f)}3T(e){}r g=d.2s(\'.\');q(g.1C===1){b[d]=f}J{r h=\'\';1l(2Y 25 g){d=g[2Y];h+=\'.\'+d;23(\'2t\'+h+\' = 2t\'+h+\' || {}\')}23(\'2t\'+h+\' = 3U\')}}u b};$.26=v(){7.2Z()};$.3V.8=v(b){$.w=$.w||1e $.26();q($.w.1f&&!$.w.28){u 7}b=$.1E({1O:x,30:E},b);r c=$(7);q(b.30){$(c).15().1m(v(){r a=$(7);q(!$.w.2u($(a)[0],c)){u x}q(!$.w.1O()){u x}u x});$(c).3W(\'8-3X\')}q(b.1O){r d=$(7);q(!$.w.2u($(d)[0],c)){u 7}q(!$.w.1O()){u 7}}u 7};$.1E($.26.3Y,{y:{1n:[],L:x,18:v(a){q(C a===\'G\'){a=7.13();q(!a){u a}}q(7.29(a)){u x}u 7.1o(a.16-1)},19:v(a){q(C a===\'G\'){a=7.13();q(!a){u a}}q(7.2v(a)){u x}u 7.1o(a.16+1)},29:v(a){q(C a===\'G\'){u 7.1o(0)}u a.16===0},2v:v(a){q(C a===\'G\'){u 7.1o(7.1a()-1)}u a.16===7.1a()-1},31:v(){u 7.1a()===1},1a:v(){u 7.1n.1C},2w:v(){u 7.1a()===0},2x:v(){7.1n=[];7.L=x},13:v(a){q(C a===\'G\'){u 7.L}q(a!==x){a=7.1o(a);q(!a){u a}}7.L=a;u E},2y:v(a){q(a[0]){1l(r i=0;i<a.1C;i++){7.2y(a[i])}u E}r b=7.2z(a);q(!b){u b}b.16=7.1a();7.1n.32(b);u E},2z:v(a){r b={z:\'\',K:\'33\',Y:\'\',1F:\'\',16:-1,1b:B,P:B,N:B,L:E};q(a.L){b.z=a.z||b.z;b.K=a.K||b.K;b.Y=a.Y||b.Y;b.1F=a.1F||b.1F;b.1b=a.1b||b.1b;b.P=a.P||b.P;b.N=a.N||b.N;b.16=a.16||b.16}J q(a.3Z){a=$(a);q(a.U(\'z\')||a.U(\'14\')){b.z=a.U(\'z\')||a.U(\'14\');b.K=a.U(\'K\')||a.U(\'40\')||b.K;b.1F=a.U(\'1F\')||\'\';b.1b=a.H(\'1g-1b\');r s=b.K.22(\': \');q(s>0){b.Y=b.K.1D(s+2)||b.Y;b.K=b.K.1D(0,s)||b.K}}J{b=x}}J{b=x}q(!b){$.W(\'2A\',\'34 41 35 36 42 43:\',a);u x}u b},1o:v(a){q(C a===\'G\'||a===B){u 7.13()}J q(C a===\'44\'){a=7.1n[a]||x}J{a=7.2z(a);q(!a){u x}r f=x;1l(r i=0;i<7.1a();i++){r c=7.1n[i];q(c.z===a.z&&c.K===a.K&&c.Y===a.Y){f=c}}a=f}q(!a){$.W(\'2A\',\'46 47 L 48\\\'t 49: \',a,7.1n);u x}u a},38:v(){u $.w.38(1N)}},2a:x,z:B,1P:B,O:{1c:{8:\'1c/2B.8.3a.1c\',V:\'1c/2C.V.4a.1c\'},H:{8:\'H/2B.8.3a.H\'},y:{18:\'y/18.2b\',19:\'y/19.2b\',1Q:\'y/1Q.2b\',1h:\'y/1h.2b\'}},F:{L:\'1R\',2D:\'2D\',Z:\'4b X\',3b:\'4c 4d 4e 1m 4f 4g 2E L 1p Z.\',2F:\'4h 1G 1p 2F 2E L.\',2G:{Z:\'4i 1p Z\',1q:\'4j 1p 1q\'},1H:{F:\'2C w 4k (4l 4m)\',K:\'4n 4o 2E 4p 4q 4r 4s 4t.\',1G:\'3c://2B.4u/4v/4w/4x\'}},1S:E,1T:{Z:\'c\',18:\'p\',19:\'n\'},2H:{1r:B},2c:0.9,17:B,T:3d,1I:\'8\',2I:E,1U:\'3e\',1f:B,28:E,2J:E,V:B,2K:[\'28\',\'2J\',\'V\',\'1P\',\'O\',\'F\',\'1S\',\'1T\',\'2c\',\'17\',\'T\',\'1I\',\'2I\',\'3f\'],2Z:v(e){r f=C 7.2a===\'G\'||7.2a===x;7.2a=E;r g=f;e=$.1E({},e);q(f&&(C e.O===\'G\')){7.z=$(\'1J[z*=\'+7.O.1c.8+\']:29\').U(\'z\');q(!7.z){g=x}J{7.1P=7.z.1D(0,7.z.22(7.O.1c.8));r h=7;$.1s(7.O,v(c,d){$.1s(7,v(a,b){h.O[c][a]=h.1P+b})});1t h;e=$.1E(e,$.2p(7.z))}}J q(C e.O===\'1u\'){r h=7;$.1s(e.O,v(c,d){$.1s(7,v(a,b){7[a]=h.1P+b})});1t h}J{g=x}1l(i 25 7.2K){r j=7.2K[i];q((C e[j]===\'1u\')&&(C 7[j]===\'1u\')){7[j]=$.1E(7[j],e[j])}J q(C e[j]!==\'G\'){7[j]=e[j]}}q(f&&4y.4z.22(\'4A 6\')>=0){7.1f=E}J{7.1f=x}q(g||C e.V!==\'G\'||C e.O===\'1u\'||C e.F===\'1u\'||C e.1S!==\'G\'||C e.3f!==\'G\'){$(v(){$.w.3g()})}u E},3g:v(){r b=R.4B($.4C.4D?\'4E\':\'1i\')[0];r c=7.O.H;r d=7.O.1c;q(7.1f&&7.2J){d.1f=\'3c://4F.4G.4H/4I.1d.1p.4J.6.1c\'}q(7.V===E&&C $.V===\'G\'){7.V=E}J{7.V=C $.V!==\'G\';1t d.V}1l(1V 25 c){r e=R.3h(\'1G\');e.3i=\'F/H\';e.1I=\'1V\';e.4K=\'4L\';e.14=c[1V];e.D=\'8-1V-\'+1V.2q(/[^a-3j-3k-9]/g,\'\');$(\'#\'+e.D).2L();b.3l(e)}1l(1J 25 d){r f=R.3h(\'1J\');f.3i=\'F/4M\';f.z=d[1J];f.D=\'8-1J-\'+1J.2q(/[^a-3j-3k-9]/g,\'\');$(\'#\'+f.D).2L()
|