From 577acdba2560bd1db8ab539cb4c7fb16072adac4 Mon Sep 17 00:00:00 2001 From: jssor Date: Wed, 29 Nov 2017 07:57:10 +0800 Subject: [PATCH] jssor.slider.min.js encoding fix jssor.slider.min.js UTF-8 encoding fix --- js/jssor.slider.min.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/jssor.slider.min.js b/js/jssor.slider.min.js index f84b573..4e268ce 100644 --- a/js/jssor.slider.min.js +++ b/js/jssor.slider.min.js @@ -1,5 +1,5 @@ -/*! +/*! Jssor Slider (MIT license) */ /* eslint-disable */ -!function(j,h,c,g,d,k,e){new(function(){});var f=j.$Jease$={$Swing:function(a){return-c.cos(a*c.PI)/2+.5},$Linear:function(a){return a},$InQuad:function(a){return a*a},$OutQuad:function(a){return-a*(a-2)},$InOutQuad:function(a){return(a*=2)<1?1/2*a*a:-1/2*(--a*(a-2)-1)},$InCubic:function(a){return a*a*a},$OutCubic:function(a){return(a-=1)*a*a+1},$InOutCubic:function(a){return(a*=2)<1?1/2*a*a*a:1/2*((a-=2)*a*a+2)},$InQuart:function(a){return a*a*a*a},$OutQuart:function(a){return-((a-=1)*a*a*a-1)},$InOutQuart:function(a){return(a*=2)<1?1/2*a*a*a*a:-1/2*((a-=2)*a*a*a-2)},$InQuint:function(a){return a*a*a*a*a},$OutQuint:function(a){return(a-=1)*a*a*a*a+1},$InOutQuint:function(a){return(a*=2)<1?1/2*a*a*a*a*a:1/2*((a-=2)*a*a*a*a+2)},$InSine:function(a){return 1-c.cos(c.PI/2*a)},$OutSine:function(a){return c.sin(c.PI/2*a)},$InOutSine:function(a){return-1/2*(c.cos(c.PI*a)-1)},$InExpo:function(a){return a==0?0:c.pow(2,10*(a-1))},$OutExpo:function(a){return a==1?1:-c.pow(2,-10*a)+1},$InOutExpo:function(a){return a==0||a==1?a:(a*=2)<1?1/2*c.pow(2,10*(a-1)):1/2*(-c.pow(2,-10*--a)+2)},$InCirc:function(a){return-(c.sqrt(1-a*a)-1)},$OutCirc:function(a){return c.sqrt(1-(a-=1)*a)},$InOutCirc:function(a){return(a*=2)<1?-1/2*(c.sqrt(1-a*a)-1):1/2*(c.sqrt(1-(a-=2)*a)+1)},$InElastic:function(a){if(!a||a==1)return a;var b=.3,d=.075;return-(c.pow(2,10*(a-=1))*c.sin((a-d)*2*c.PI/b))},$OutElastic:function(a){if(!a||a==1)return a;var b=.3,d=.075;return c.pow(2,-10*a)*c.sin((a-d)*2*c.PI/b)+1},$InOutElastic:function(a){if(!a||a==1)return a;var b=.45,d=.1125;return(a*=2)<1?-.5*c.pow(2,10*(a-=1))*c.sin((a-d)*2*c.PI/b):c.pow(2,-10*(a-=1))*c.sin((a-d)*2*c.PI/b)*.5+1},$InBack:function(a){var b=1.70158;return a*a*((b+1)*a-b)},$OutBack:function(a){var b=1.70158;return(a-=1)*a*((b+1)*a+b)+1},$InOutBack:function(a){var b=1.70158;return(a*=2)<1?1/2*a*a*(((b*=1.525)+1)*a-b):1/2*((a-=2)*a*(((b*=1.525)+1)*a+b)+2)},$InBounce:function(a){return 1-f.$OutBounce(1-a)},$OutBounce:function(a){return a<1/2.75?7.5625*a*a:a<2/2.75?7.5625*(a-=1.5/2.75)*a+.75:a<2.5/2.75?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375},$InOutBounce:function(a){return a<1/2?f.$InBounce(a*2)*.5:f.$OutBounce(a*2-1)*.5+.5},$GoBack:function(a){return 1-c.abs(2-1)},$InWave:function(a){return 1-c.cos(a*c.PI*2)},$OutWave:function(a){return c.sin(a*c.PI*2)},$OutJump:function(a){return 1-((a*=2)<1?(a=1-a)*a*a:(a-=1)*a*a)},$InJump:function(a){return(a*=2)<1?a*a*a:(a=2-a)*a*a},$Early:c.ceil,$Late:c.floor};var b=j.$Jssor$=new function(){var i=this,Ab=/\S+/g,N=1,jb=2,mb=3,lb=4,pb=5,O,t=0,l=0,u=0,A=0,B=0,E=navigator,ub=E.appName,o=E.userAgent,z=h.documentElement,q=parseFloat;function Ib(){if(!O){O={fe:"ontouchstart"in j||"createTouch"in h};var a;if(E.pointerEnabled||(a=E.msPointerEnabled))O.Vd=a?"msTouchAction":"touchAction"}return O}function w(g){if(!t){t=-1;if(ub=="Microsoft Internet Explorer"&&!!j.attachEvent&&!!j.ActiveXObject){var e=o.indexOf("MSIE");t=N;u=q(o.substring(e+5,o.indexOf(";",e)));/*@cc_on A=@_jscript_version@*/;l=h.documentMode||u}else if(ub=="Netscape"&&!!j.addEventListener){var d=o.indexOf("Firefox"),b=o.indexOf("Safari"),f=o.indexOf("Chrome"),c=o.indexOf("AppleWebKit");if(d>=0){t=jb;l=q(o.substring(d+8))}else if(b>=0){var i=o.substring(0,b).lastIndexOf("/");t=f>=0?lb:mb;l=q(o.substring(i+1,b))}else{var a=/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/i.exec(o);if(a){t=N;l=u=q(a[1])}}if(c>=0)B=q(o.substring(c+12))}else{var a=/(opera)(?:.*version|)[ \/]([\w.]+)/i.exec(o);if(a){t=pb;l=q(a[2])}}}return g==t}function r(){return w(N)}function ib(){return r()&&(l<6||h.compatMode=="BackCompat")}function Bb(){return w(jb)}function kb(){return w(mb)}function Eb(){return w(lb)}function ob(){return w(pb)}function eb(){return kb()&&B>534&&B<535}function I(){w();return B>537||l>42||t==N&&l>=11}function gb(){return r()&&l<9}function fb(a){var b,c;return function(g){if(!b){b=d;var f=a.substr(0,1).toUpperCase()+a.substr(1);n([a].concat(["WebKit","ms","Moz","O","webkit"]),function(h,d){var b=a;if(d)b=h+f;if(g.style[b]!=e)return c=b})}return c}}function db(b){var a;return function(c){a=a||fb(b)(c)||b;return a}}var P=db("transform");function tb(a){return{}.toString.call(a)}var qb={};n(["Boolean","Number","String","Function","Array","Date","RegExp","Object"],function(a){qb["[object "+a+"]"]=a.toLowerCase()});function n(b,d){var a,c;if(tb(b)=="[object Array]"){for(a=0;a-1;f--){var d=c[f],e=Y(i);y(e,y(d));b.$CssCssText(e,d.style.cssText);b.Mb(e,d);b.ac(d)}return a};function Gb(a){var l=this,p="",r=["av","pv","ds","dn"],d=[],q,k=0,g=0,f=0;function j(){K(a,q,(d[f||g&2||g]||"")+" "+(d[k]||""));b.$Css(a,"pointer-events",f?"none":"")}function c(){k=0;j();i.S(h,"mouseup",c);i.S(h,"touchend",c);i.S(h,"touchcancel",c)}function o(a){if(f)i.$CancelEvent(a);else{k=4;j();i.$AddEvent(h,"mouseup",c);i.$AddEvent(h,"touchend",c);i.$AddEvent(h,"touchcancel",c)}}l.yd=function(a){if(a===e)return g;g=a&2||a&1;j()};l.$Enable=function(a){if(a===e)return!f;f=a?0:3;j()};l.$Elmt=a=i.$GetElement(a);F(a,"data-jssor-button","1");var m=b.Jf(y(a));if(m)p=m.shift();n(r,function(a){d.push(p+a)});q=cb(" ",d);d.unshift("");i.$AddEvent(a,"mousedown",o);i.$AddEvent(a,"touchstart",o)}i.mc=function(a){return new Gb(a)};i.$Css=x;i.Jb=m("overflow");i.H=m("top",2);i.Bg=m("right",2);i.vg=m("bottom",2);i.J=m("left",2);i.$CssWidth=m("width",2);i.$CssHeight=m("height",2);i.gf=m("marginLeft",2);i.Xe=m("marginTop",2);i.Y=m("position");i.Nb=m("display");i.z=m("zIndex",1);i.xc=function(b,a,c){if(a!=e)Fb(b,a,c);else return Db(b)};i.$CssCssText=function(a,b){if(b!=e)a.style.cssText=b;else return a.style.cssText};i.Zf=function(b,a){if(a===e){a=x(b,"backgroundImage")||"";var c=/\burl\s*\(\s*["']?([^"'\r\n,]+)["']?\s*\)/gi.exec(a)||[];return c[1]}x(b,"backgroundImage",a?"url('"+a+"')":"")};var L;i.Yf=L={$Opacity:i.xc,$Top:i.H,$Right:i.Bg,$Bottom:i.vg,$Left:i.J,v:i.$CssWidth,u:i.$CssHeight,ab:i.Y,bc:i.Nb,$ZIndex:i.z};i.Wc=function(c,b){var a={};n(b,function(d,b){if(L[b])a[b]=L[b](c)});return a};function s(h,l){var f=gb(),b=I(),d=eb(),j=P(h);function k(b,d,a){var e=b.yb(p(-d/2,-a/2)),f=b.yb(p(d/2,-a/2)),g=b.yb(p(d/2,a/2)),h=b.yb(p(-d/2,a/2));b.yb(p(300,300));return p(c.min(e.x,f.x,g.x,h.x)+d/2,c.min(e.y,f.y,g.y,h.y)+a/2)}function a(d,a){a=a||{};var n=a.$TranslateZ||0,p=(a.$RotateX||0)%360,q=(a.$RotateY||0)%360,u=(a.$Rotate||0)%360,l=a.$ScaleX,m=a.$ScaleY,g=a.ih;if(l==e)l=1;if(m==e)m=1;if(g==e)g=1;if(f){n=0;p=0;q=0;g=0}var c=new Cb(a.$TranslateX,a.$TranslateY,n);c.$RotateX(p);c.$RotateY(q);c.Xf(u);c.Wf(a.$SkewX,a.$SkewY);c.$Scale(l,m,g);if(b){c.$Move(a.B,a.C);d.style[j]=c.hg()}else if(!A||A<9){var o="",h={x:0,y:0};if(a.$OriginalWidth)h=k(c,a.$OriginalWidth,a.$OriginalHeight);i.Xe(d,h.y);i.gf(d,h.x);o=c.kg();var s=d.style.filter,t=new RegExp(/[\s]*progid:DXImageTransform\.Microsoft\.Matrix\([^\)]*\)/g),r=D(s,[t],o);U(d,r)}}s=function(f,c){c=c||{};var j=c.B,k=c.C,h;n(L,function(a,b){h=c[b];h!==e&&a(f,h)});i.Mf(f,c.$Clip);if(!b){j!=e&&i.J(f,(c.wd||0)+j);k!=e&&i.H(f,(c.xd||0)+k)}if(c.gg)if(d)yb(i.$CreateCallback(g,R,f,c));else a(f,c)};i.kc=R;if(d)i.kc=s;if(f)i.kc=a;else if(!b)a=R;i.D=s;s(h,l)}i.kc=s;i.D=s;function Cb(j,k,o){var d=this,b=[1,0,0,0,0,1,0,0,0,0,1,0,j||0,k||0,o||0,1],i=c.sin,h=c.cos,l=c.tan;function f(a){return a*c.PI/180}function n(a,b){return{x:a,y:b}}function m(b,c,f,g,i,l,n,o,q,t,u,w,y,A,C,F,a,d,e,h,j,k,m,p,r,s,v,x,z,B,D,E){return[b*a+c*j+f*r+g*z,b*d+c*k+f*s+g*B,b*e+c*m+f*v+g*D,b*h+c*p+f*x+g*E,i*a+l*j+n*r+o*z,i*d+l*k+n*s+o*B,i*e+l*m+n*v+o*D,i*h+l*p+n*x+o*E,q*a+t*j+u*r+w*z,q*d+t*k+u*s+w*B,q*e+t*m+u*v+w*D,q*h+t*p+u*x+w*E,y*a+A*j+C*r+F*z,y*d+A*k+C*s+F*B,y*e+A*m+C*v+F*D,y*h+A*p+C*x+F*E]}function e(c,a){return m.apply(g,(a||b).concat(c))}d.$Scale=function(a,c,d){if(a!=1||c!=1||d!=1)b=e([a,0,0,0,0,c,0,0,0,0,d,0,0,0,0,1])};d.$Move=function(a,c,d){b[12]+=a||0;b[13]+=c||0;b[14]+=d||0};d.$RotateX=function(c){if(c){a=f(c);var d=h(a),g=i(a);b=e([1,0,0,0,0,d,g,0,0,-g,d,0,0,0,0,1])}};d.$RotateY=function(c){if(c){a=f(c);var d=h(a),g=i(a);b=e([d,0,-g,0,0,1,0,0,g,0,d,0,0,0,0,1])}};d.Xf=function(c){if(c){a=f(c);var d=h(a),g=i(a);b=e([d,g,0,0,-g,d,0,0,0,0,1,0,0,0,0,1])}};d.Wf=function(a,c){if(a||c){j=f(a);k=f(c);b=e([1,l(k),0,0,l(j),1,0,0,0,0,1,0,0,0,0,1])}};d.yb=function(c){var a=e(b,[1,0,0,0,0,1,0,0,0,0,1,0,c.x,c.y,0,1]);return n(a[12],a[13])};d.hg=function(){return"matrix3d("+b.join(",")+")"};d.kg=function(){return"progid:DXImageTransform.Microsoft.Matrix(M11="+b[0]+", M12="+b[4]+", M21="+b[1]+", M22="+b[5]+", SizingMethod='auto expand')"}}new(function(){var a=this;function b(d,g){for(var j=d[0].length,i=d.length,h=g[0].length,f=[],c=0;c=11&&(j.B||j.C)&&s!=0&&s!=1)a.$Rotate=a.$Rotate||1e-8;a.gg=d}}if(j.$Clip&&o.$Move){var p=a.$Clip.ic,v=(p.$Top||0)+(p.$Bottom||0),u=(p.$Left||0)+(p.$Right||0);a.$Left=(a.$Left||0)+u;a.$Top=(a.$Top||0)+v;a.$Clip.$Left-=u;a.$Clip.$Right-=u;a.$Clip.$Top-=v;a.$Clip.$Bottom-=v}if(a.$Clip&&!a.$Clip.$Top&&!a.$Clip.$Left&&!a.$Clip.C&&!a.$Clip.B&&a.$Clip.$Right==o.$OriginalWidth&&a.$Clip.$Bottom==o.$OriginalHeight)a.$Clip=g;return a}};function o(){var a=this,d=[];function h(a,b){d.push({Ec:a,Bc:b})}function g(a,c){b.$Each(d,function(b,e){b.Ec==a&&b.Bc===c&&d.splice(e,1)})}a.$On=a.addEventListener=h;a.$Off=a.removeEventListener=g;a.j=function(a){var c=[].slice.call(arguments,1);b.$Each(d,function(b){b.Ec==a&&b.Bc.apply(j,c)})}}var l=function(A,D,g,L,O,J){A=A||0;var a=this,p,m,n,t,B=0,H,I,G,C,z=0,h=0,l=0,y,i,e,f,o,x,v=[],w;function P(a){e+=a;f+=a;i+=a;h+=a;l+=a;z+=a}function s(p){var j=p;if(o)if(!x&&(j>=f||j=e)j=((j-e)%o+o)%o+e;if(!y||t||h!=j){var k=c.min(j,f);k=c.max(k,e);if(!y||t||k!=l){if(J){var m=(k-i)/(D||1);if(g.$Reverse)m=1-m;var n=b.Fd(O,J,m,H,G,I,g);if(w)b.$Each(n,function(b,a){w[a]&&w[a](L,b)});else b.D(L,n)}a.qc(l-i,k-i);var r=l,q=l=k;b.$Each(v,function(b,c){var a=!y&&x||j<=h?v[v.length-c-1]:b;a.M(l-z)});h=j;y=d;a.Qb(r,q)}}}function E(a,b,d){b&&a.$Shift(f);if(!d){e=c.min(e,a.Yb()+z);f=c.max(f,a.mb()+z)}v.push(a)}var u=j.requestAnimationFrame||j.webkitRequestAnimationFrame||j.mozRequestAnimationFrame||j.msRequestAnimationFrame;if(b.$IsBrowserSafari()&&b.$BrowserVersion()<7||!u)u=function(a){b.$Delay(a,g.$Interval)};function K(){if(p){var d=b.R(),e=c.min(d-B,g.Dd),a=h+e*n;B=d;if(a*n>=m*n)a=m;s(a);if(!t&&a*n>=m*n)M(C);else u(K)}}function r(g,i,j){if(!p){p=d;t=j;C=i;g=c.max(g,e);g=c.min(g,f);m=g;n=m=0&&c=0&&h=0&&c=0&&df||d>h){switch(e){case j:case m:a++;break;case k:case l:case o:case i:b++;break;case p:case n:default:a--}if(a<0||b<0||a>f||b>h){switch(e){case j:case m:a=f;b++;break;case o:case i:b=h;a++;break;case k:case l:b=h;a--;break;case p:case n:default:a=0;b++}if(b>h)b=h;else if(b<0)b=0;else if(a>f)a=f;else if(a<0)a=0}d=b;c=a}}return r};h.$FormationRectangle=function(f){var d=f.$Cols||1,e=f.$Rows||1,h=[],a,b,i;i=c.round(c.min(d/2,e/2))+1;for(a=0;a1||a.$Clip;if(a.$Zoom||a.$Rotate){var J=d;if(J){e.$Zoom=a.$Zoom?a.$Zoom-1:1;f.$Zoom=1;var N=a.$Rotate||0;e.$Rotate=N*360*(x?-1:1);f.$Rotate=0}}if(K){var i=t.ic={};if(a.$Clip){var w=a.$ScaleClip||1;if(C&&z){i.$Top=g.u/2*w;i.$Bottom=-i.$Top}else if(C)i.$Bottom=-g.u*w;else if(z)i.$Top=g.u*w;if(B&&A){i.$Left=g.v/2*w;i.$Right=-i.$Left}else if(B)i.$Right=-g.v*w;else if(A)i.$Left=g.v*w}r.$Clip=t;f.$Clip=g[v]}var L=o?1:-1,M=s?1:-1;if(a.x)e.B+=n*a.x*L;if(a.y)e.C+=l*a.y*M;b.$Each(e,function(a,c){if(b.fc(a))if(a!=f[c])r[c]=a-f[c]});u[v]=j?f:e;var D=a.rf,y=c.round(m*a.$Delay/a.$Interval);h[v]=new Array(y);h[v].yf=y;h[v].wf=y+D-1;for(var F=0;F<=D;F++){var E=b.Fd(f,r,F/D,a.$Easing,a.$During,a.$Round,{$Move:a.$Move,$OriginalWidth:n,$OriginalHeight:l});E.$ZIndex=E.$ZIndex||1;h[v].push(E)}})});o.reverse();b.$Each(o,function(a){b.$Each(a,function(c){var f=c[0],e=c[1],d=f+","+e,a=i;if(e||f)a=b.$CloneNode(i);b.D(a,u[d]);b.Jb(a,"hidden");b.Y(a,"absolute");z.Se(a);m[d]=a;b.A(a,!j)})})}function w(){var a=this,b=0;l.call(a,0,v);a.Qb=function(c,a){if(a-b>i){b=a;e&&e.pc(a);h&&h.pc(a)}};a.Kc=r}a.Oe=function(){var a=0,b=u.$Transitions,d=b.length;if(x)a=y++%d;else a=c.floor(c.random()*d);b[a]&&(b[a].sb=a);return b[a]};a.uf=function(x,y,k,l,b,t){a.wb();r=b;b=j(b,i,t);var g=l.Ld,f=k.Ld;g["no-image"]=!l.dc;f["no-image"]=!k.dc;var o=g,q=f,w=b,d=b.$Brother||j({},i,t);if(!b.$SlideOut){o=f;q=g}var u=d.$Shift||0;h=new n(m,q,d,c.max(u-d.$Interval,0),s,p);e=new n(m,o,w,c.max(d.$Interval-u,0),s,p);h.pc(0);e.pc(0);v=c.max(h.fd,e.fd);a.sb=x};a.wb=function(){m.wb();h=g;e=g};a.tf=function(){var a=g;if(e)a=new w;return a};if(z&&b.$WebKitVersion()<537)i=16;o.call(a);l.call(a,-1e7,1e7)};var p={ec:1};j.$JssorBulletNavigator$=function(a,E){var f=this;o.call(f);a=b.$GetElement(a);var u,C,B,t,l=0,e,q,j,y,z,i,h,s,r,D=[],A=[];function x(a){a!=-1&&A[a].yd(a==l)}function v(a){f.j(p.ec,a*q)}f.$Elmt=a;f.Lc=function(a){if(a!=t){var d=l,b=c.floor(a/q);l=b;t=a;x(d);x(b)}};f.Oc=function(c){b.A(a,c)};var w;f.Gc=function(x){if(!w){u=c.ceil(x/q);l=0;var n=s+y,o=r+z,m=c.ceil(u/j)-1;C=s+n*(!i?m:j-1);B=r+o*(i?m:j-1);b.$CssWidth(a,C);b.$CssHeight(a,B);for(var f=0;f=A)b-=x%e;j.j(p.ec,b,k,d)}}h.sb=f;h.Hd=o;l=n.Ae||n.dc||b.$CreateDiv();h.jc=c=b.Vc(u,"thumbnailtemplate",l,d);m=b.mc(c);a.$ActionMode&1&&b.$AddEvent(c,"click",b.$CreateCallback(g,i,0));a.$ActionMode&2&&b.$AddEvent(c,"mouseenter",b.$CreateCallback(g,i,1))}j.Lc=function(a,f,d){if(a!=s){var b=s;s=a;b!=-1&&y[b].Hd();y[a].Hd()}!d&&t.$PlayTo(t.Id(c.floor(a/e)))};j.Oc=function(a){b.A(f,a)};var C;j.Gc=function(H,I){if(!C){x=H;A=c.ceil(x/e);s=-1;var g=a.$Orientation&1,o=w+(w+q)*(e-1)*(1-g),n=v+(v+r)*(e-1)*g,u=(g?c.max:c.min)(B,o),p=(g?c.min:c.max)(z,n);l=l||c.ceil((B+q)/(w+q)*g+(z+r)/(v+r)*(1-g));l=c.min(l,A);var F=o+(o+q)*(l-1)*g,E=n+(n+r)*(l-1)*(1-g);u=c.min(u,F);p=c.min(p,E);b.Y(h,"absolute");b.Jb(h,"hidden");b.$CssWidth(h,u);b.$CssHeight(h,p);b.rc(h,3);var m=[];b.$Each(I,function(k,f){var i=new D(k,f),d=i.jc,a=c.floor(f/e),j=f%e;b.J(d,(w+q)*j*(1-g));b.H(d,(v+r)*j*g);if(!m[a]){m[a]=b.$CreateDiv();b.$AppendChild(h,m[a])}b.$AppendChild(m[a],d);y.push(i)});var G=b.s({$AutoPlay:0,$NaviQuitDrag:k,$SlideWidth:o,$SlideHeight:n,$SlideSpacing:q*g+r*(1-g),$MinDragOffsetToSlide:12,$SlideDuration:200,$PauseOnHover:1,$PlayOrientation:a.$Orientation,$DragOrientation:a.$NoDrag||a.$DisableDrag?0:a.$Orientation},a);t=new i(f,G);j.Kf=t.Kf;C=d}};j.Vb=a=b.s({$SpacingX:0,$SpacingY:0,$Orientation:1,$ActionMode:1},E);B=b.$CssWidth(f);z=b.$CssHeight(f);h=b.$FindChild(f,"slides",d);u=b.$FindChild(h,"prototype");w=b.$CssWidth(u);v=b.$CssHeight(u);b.ac(u,h);e=a.$Rows||1;q=a.$SpacingX;r=a.$SpacingY;l=a.$Cols;a.$Scale==k&&n.W(f,m.Pb,1);a.$AutoCenter&=a.$Orientation;a.$AutoCenter&&n.W(f,m.rb,a.$AutoCenter);n.Ub(f)};function r(e,d,c){var a=this;l.call(a,0,c);a.id=b.Ud;a.gd=0;a.ed=c}j.$JssorCaptionSlideo$=function(t,k,B,E){var a=this,u,o={},v=k.$Transitions,r=k.$Controls,m=new l(0,0),p=[],h=[],D=E,e=D?1e8:0;l.call(a,0,0);function q(d,c){var a={};b.$Each(d,function(d,f){var e=o[f];if(e){if(b.rd(d))d=q(d,c||f=="e");else if(c)if(b.fc(d))d=u[d];a[e]=d}});return a}function s(d,e){var a=[],c=b.$Children(d);b.$Each(c,function(c){var d=v[b.U(c,"t")];d&&a.push({$Elmt:c,Kc:d});a=a.concat(s(c,e+1))});return a}function n(c,e){var a=p[c];if(a==g){a=p[c]={bb:c,wc:[],Sd:[]};var d=0;!b.$Each(h,function(a,b){d=b;return a.bb>c})&&d++;h.splice(d,0,a)}return a}function y(s,t,h){var a,f;if(r){var m=r[b.U(s,"c")];if(m){a=n(m.r,0);a.sf=m.e||0}}b.$Each(t,function(i){var g=b.s(d,{},q(i)),j=b.Dc(g.$Easing);delete g.$Easing;if(g.$Left){g.B=g.$Left;j.B=j.$Left;delete g.$Left}if(g.$Top){g.C=g.$Top;j.C=j.$Top;delete g.$Top}var o={$Easing:j,$OriginalWidth:h.v,$OriginalHeight:h.u},k=new l(i.b,i.d,o,s,h,g);e=c.max(e,i.b+i.d);if(a){if(!f)f=new l(i.b,0);f.O(k)}else{var m=n(i.b,i.b+i.d);m.wc.push(k)}h=b.ne(h,g)});if(a&&f){f.hf();var i=f,k,j=f.Yb(),o=f.mb(),p=c.max(o,a.sf);if(a.bbj){i=new l(j,a.bb-j);i.O(f,d)}else i=g;k=new l(a.bb,p-j,{Hc:p-a.bb,He:d});k.O(f,d)}i&&a.wc.push(i);k&&a.Sd.push(k)}return h}function x(a){b.$Each(a,function(f){var a=f.$Elmt,e=b.$CssWidth(a),d=b.$CssHeight(a),c={$Left:b.J(a),$Top:b.H(a),B:0,C:0,$Opacity:1,$ZIndex:b.z(a)||0,$Rotate:0,$RotateX:0,$RotateY:0,$ScaleX:1,$ScaleY:1,$TranslateX:0,$TranslateY:0,$TranslateZ:0,$SkewX:0,$SkewY:0,v:e,u:d,$Clip:{$Top:0,$Right:e,$Bottom:d,$Left:0}};c.wd=c.$Left;c.xd=c.$Top;y(a,f.Kc,c)})}function A(f,e,g){var c=f.b-e;if(c){var b=new l(e,c);b.O(m,d);b.$Shift(g);a.O(b)}a.td(f.d);return c}function z(e){var c=m.Yb(),d=0;b.$Each(e,function(e,f){e=b.s({d:3e3},e);A(e,c,d);c=e.b;d+=e.d;if(!f||e.t==2){a.gd=c;a.ed=c+e.d}})}function j(k,d,f){var g=d.length;if(g>4)for(var m=c.ceil(g/4),a=0;a0&&t<1){var v=c.min(q,p);l=c.min(l/v,1/(1-t))*v}}else s=r=l=c.pow(O1e-5){var f=c.floor(b);if(f!=b&&b>e&&(C&1||b>D))f++;jc(f,g,d)}a.j(i.$EVT_POSITION_CHANGE,g,t(e),b,e)}}function Jc(){var a=this;l.call(a,0,0,{Hc:q});b.$Each(B,function(b){C&1&&b.jf(q);a.Fc(b);b.$Shift(L/S)})}function Ic(){var a=this,b=Mb.$Elmt;l.call(a,-1,2,{$Easing:f.$Linear,Ke:{ab:oc},Hc:q},b,{ab:1},{ab:-2});a.jc=b}function Ac(o,m){var b=this,e,f,h,j,c;l.call(b,-1e8,2e8,{Dd:100});b.Ed=function(){bb=d;eb=g;a.j(i.$EVT_SWIPE_START,t(w.db()),w.db())};b.md=function(){bb=k;j=k;var b=w.og();a.j(i.$EVT_SWIPE_END,t(w.db()),w.db());if(!A){Mc(b.tg,s);(!b.ab||b.sg)&&jc(s,b.bc)}};b.Qb=function(g,d){var a;if(j)a=c;else{a=f;if(h){var b=d/h;a=n.$SlideEasing(b)*(f-e)+e}}w.M(a)};b.nc=function(a,d,c,g){e=a;f=d;h=c;w.M(a);b.M(0);b.od(c,g)};b.oe=function(a){j=d;c=a;b.$Play(a,g,d)};b.kf=function(a){c=a};w=new Kc;w.O(o);w.O(m)}function Bc(){var c=this,a=mc();b.z(a,0);b.$Css(a,"pointerEvents","none");c.$Elmt=a;c.Se=function(c){b.$AppendChild(a,c);b.A(a)};c.wb=function(){b.V(a);b.Ac(a)}}function Hc(m,f){var e=this,r,K,w,j,x=[],F,y,R,G,P,C,H,h,v,p;l.call(e,-N,N+1,{});function A(a){r&&r.id();Q(m,a,0);C=d;r=new db.$Class(m,db,b.U(m,"idle",ec),!u);r.M(0)}function T(){r.PcJ||c>I)){var h=k,q=J/I*c/g;if(n.$FillMode&1)h=q>1;else if(n.$FillMode&2)h=q<1;m=h?g*I/c:J;l=h?I:c*J/g}b.$CssWidth(j,m);b.$CssHeight(j,l);b.H(j,(I-l)/2);b.J(j,(J-m)/2)}b.Y(j,"absolute");a.j(i.$EVT_LOAD_END,f)}}b.V(r);p&&p(e)}function S(g,b,c,d){if(d==eb&&s==f&&u)if(!Lc){var a=t(g);E.uf(a,f,b,e,c,I/J);b.Me();ib.$Shift(a-ib.Yb()-1);ib.M(a);z.nc(a,a,0)}}function W(b){if(b==eb&&s==f){if(!h){var a=g;if(E)if(E.sb==f)a=E.tf();else E.wb();T();h=new Gc(m,f,a,r);h.Yc(p)}!h.$IsPlaying()&&h.Jc()}}function D(a,d,k){if(a==f){if(a!=d)B[d]&&B[d].Nd();else!k&&h&&h.Ue();p&&p.$Enable();var l=eb=b.R();e.Lb(b.$CreateCallback(g,W,l))}else{var j=c.min(f,a),i=c.max(f,a),o=c.min(i-j,j+q-i),m=N+n.$LazyLoading-1;(!P||o<=m)&&e.Lb()}}function X(){if(s==f&&h){h.vb();p&&p.$Quit();p&&p.$Disable();h.Yd()}}function Y(){s==f&&h&&h.vb()}function V(b){!U&&a.j(i.$EVT_CLICK,f,b)}function O(){p=v.pInstance;h&&h.Yc(p)}e.Lb=function(e,c){c=c||w;if(x.length&&!G){b.A(c);if(!R){R=d;a.j(i.$EVT_LOAD_START,f);b.$Each(x,function(a){if(!b.$Attribute(a,"src")){a.src=b.$AttributeEx(a,"src2")||"";b.Nb(a,a["display-origin"])}})}b.qg(x,j,b.$CreateCallback(g,M,e,c))}else M(e,c)};e.Uf=function(){if(q==1){e.Nd();D(f,f)}else{var a;if(E)a=E.Oe(q);if(a){var h=eb=b.R(),c=f+mb,d=B[t(c)];return d.Lb(b.$CreateCallback(g,S,c,d,a,h),w)}else Ob(mb)}};e.zc=function(){D(f,f,d)};e.Nd=function(){p&&p.$Quit();p&&p.$Disable();e.Wd();h&&h.Tf();h=g;A()};e.Me=function(){b.V(m)};e.Wd=function(){b.A(m)};e.vf=function(){p&&p.$Enable()};function Q(a,f,c,h){if(b.$Attribute(a,Gb))return;if(!C){if(a.tagName=="IMG"){x.push(a);if(!b.$Attribute(a,"src")){P=d;a["display-origin"]=b.Nb(a);b.V(a)}}var e=b.Zf(a);if(e){var g=new Image;b.$AttributeEx(g,"src2",e);x.push(g)}c&&b.z(a,(b.z(a)||0)+1)}var i=b.$Children(a);b.$Each(i,function(a){var e=a.tagName,g=b.$AttributeEx(a,"u");if(g=="player"&&!v){v=a;if(v.pInstance)O();else b.$AddEvent(v,"dataavailable",O)}if(g=="caption"){if(f){b.ke(a,b.$AttributeEx(a,"to"));b.Zd(a,b.$AttributeEx(a,"bf"));H&&b.$AttributeEx(a,"3d")&&b.ae(a,"preserve-3d")}}else if(!C&&!c&&!j){if(e=="A"){if(b.$AttributeEx(a,"u")=="image")j=b.zf(a,"IMG");else j=b.$FindChild(a,"image",d);if(j){F=a;b.D(F,kb);y=b.$CloneNode(F,d);b.xc(y,0);b.$Css(y,"backgroundColor","#000")}}else if(e=="IMG"&&b.$AttributeEx(a,"u")=="image")j=a;if(j){j.border=0;b.D(j,kb)}}Q(a,f,c+1,h)})}e.qc=function(c,b){var a=N-b;oc(K,a)};e.sb=f;o.call(e);H=b.$AttributeEx(m,"p");b.de(m,H);b.Ce(m,b.$AttributeEx(m,"po"));var L=b.$FindChild(m,"thumb",d);if(L){e.Ae=b.$CloneNode(L);b.V(L)}b.A(m);w=b.$CloneNode(Z);b.z(w,1e3);b.$AddEvent(m,"click",V);A(d);e.dc=j;e.Jd=y;e.Ld=m;e.jc=K=m;b.$AppendChild(K,w);a.$On(203,D);a.$On(28,Y);a.$On(24,X)}function Gc(z,g,p,q){var c=this,n=0,v=0,h,j,f,e,m,t,r,o=B[g];l.call(c,0,0);function w(){b.Ac(W);qc&&m&&o.Jd&&b.$AppendChild(W,o.Jd);b.A(W,!m&&o.dc)}function x(){c.Jc()}function y(a){r=a;c.vb();c.Jc()}c.Jc=function(){var b=c.cb();if(!A&&!bb&&!r&&s==g){if(!b){if(h&&!m){m=d;c.Yd(d);a.j(i.$EVT_SLIDESHOW_START,g,n,v,h,e)}w()}var k,p=i.$EVT_STATE_CHANGE;if(b!=e)if(b==f)k=e;else if(b==j)k=f;else if(!b)k=j;else k=c.kd();a.j(p,g,b,n,j,f,e);var l=u&&(!H||Q);if(b==e)(f!=e&&!(H&12)||l)&&o.Uf();else(l||b!=f)&&c.od(k,x)}};c.Ue=function(){f==e&&f==c.cb()&&c.M(j)};c.Tf=function(){E&&E.sb==g&&E.wb();var b=c.cb();b=h){m=k;w();o.Wd();E.wb();a.j(i.$EVT_SLIDESHOW_END,g,n,v,h,e)}a.j(i.$EVT_PROGRESS_CHANGE,g,b,n,j,f,e)};c.Yc=function(a){if(a&&!t){t=a;a.$On($JssorPlayer$.Fe,y)}};p&&c.Fc(p);h=c.mb();c.Fc(q);j=h+q.gd;e=c.mb();f=u?h+q.ed:e}function Ib(a,c,d){b.J(a,c);b.H(a,d)}function oc(c,b){var a=x>0?x:V,d=(yb*b+Cb)*(a&1),e=(zb*b+Cb)*(a>>1&1);Ib(c,d,e)}function Db(a){if(!(C&1))a=c.min(K,c.max(a,F));return a}function Xb(a){return!(C&1)&&(a-F<.0001||K-a<.0001)}function dc(){Fb=bb;Vb=z.kd();G=w.db()}function sc(){dc();if(A||!Q&&H&12){z.vb();a.j(i.Ef)}}function rc(g){if(!A&&(Q||!(H&12))&&!z.$IsPlaying()){var b=w.db(),a=G,e=0;if(g&&c.abs(R)>=n.$MinDragOffsetToSlide){a=b;e=ub}if(Xb(b)){if(!g||U)a=c.round(a)}else a=c.ceil(a);a=Db(a+e);if(!(C&1)){if(K-a<.5)a=K;if(a-F<.5)a=F}var d=c.abs(a-b);if(d<1&&n.$SlideEasing!=f.$Linear)d=1-c.pow(1-d,5);if(!U&&Fb)z.af(Vb);else if(b==a){Jb.vf();Jb.zc()}else z.nc(b,a,d*wb)}}function Ub(a){!b.Hb(b.$EvtSrc(a),"nodrag")&&b.$CancelEvent(a)}function Ec(a){nc(a,1)}function nc(c,j){var f=b.$EvtSrc(c);xb=k;var l=b.Hb(f,"1",Wb);if((!l||l===v)&&!X&&(!j||c.touches.length==1)){xb=b.Hb(f,"nodrag")||!nb||!Fc();var n=b.Hb(f,e,m.Ic);if(n)Yb=b.$Attribute(n,m.Ic);if(j){var p=c.touches[0];Kb=p.clientX;Lb=p.clientY}else{var o=b.Rd(c);Kb=o.x;Lb=o.y}A=d;eb=g;b.$AddEvent(h,j?"touchmove":"mousemove",Rb);b.R();U=0;sc();if(!Fb)x=0;R=0;tb=0;ub=0;a.j(i.$EVT_DRAG_START,t(G),G,c)}}function Rb(g){if(A){var a;if(g.type!="mousemove")if(g.touches.length==1){var o=g.touches[0];a={x:o.clientX,y:o.clientY}}else jb();else a=b.Rd(g);if(a){var e=a.x-Kb,f=a.y-Lb;if(x||c.abs(e)>1.5||c.abs(f)>1.5){if(c.floor(G)!=G)x=x||V&X;if((e||f)&&!x){if(X==3)if(c.abs(f)>c.abs(e))x=2;else x=1;else x=X;if(vb&&x==1&&c.abs(f)>c.abs(e)*2.4)xb=d}var n=f,i=zb;if(x==1){n=e;i=yb}if(R-tb<-1.5)ub=0;else if(R-tb>1.5)ub=-1;tb=R;R=n;Y=G-R/i/Yb;if(!(C&1)){var l=0,j=[-G+D,0,G-q+P-D];b.$Each(j,function(b,d){if(b>0){var a=c.pow(b,1/1.6);a=c.tan(a*c.PI/2);l=(a-b)*(d-1)}});var h=l+Y,m=k;j=[-h+D,0,h-q+P-D];b.$Each(j,function(a,b){if(a>0){a=c.min(a,i);a=c.atan(a)*2/c.PI;a=c.pow(a,1.6);Y=a*(b-1)+D;if(b)Y+=q-P;m=d}});if(!m)Y=h}if(R&&x&&!xb){b.$CancelEvent(g);if(!bb)z.oe(Y);else z.kf(Y)}}}}}function jb(){Cc();if(A){U=R;b.R();b.S(h,"mousemove",Rb);b.S(h,"touchmove",Rb);U&&u&8&&(u=0);z.vb();A=k;var c=w.db();a.j(i.$EVT_DRAG_END,t(c),c,t(G),G);H&12&&dc();rc(d)}}function wc(c){var a=b.$EvtSrc(c),d=b.Hb(a,"1",Gb);if(v===d)if(U){b.$StopEvent(c);while(a&&v!==a){(a.tagName=="A"||b.$Attribute(a,"data-jssor-button"))&&b.$CancelEvent(c);a=a.parentNode}}else u&4&&(u=0)}function Nc(d){if(d!=s){var b=ob.cb(),a=Db(d),e=c.round(t(a));if(b-a<.5)a=b;B[s];s=e;Jb=B[s];w.M(a)}}function Mc(b,c){x=0;Nc(b);if(u&2&&(mb>0&&s==q-1||mb<0&&!s))u=0;a.j(i.$EVT_PARK,s,c)}function jc(a,d,e){if(!(C&1)){a=c.max(0,a);a=c.min(a,q-P+D);a=c.round(a)}a=t(a);b.$Each(gb,function(b){b.Lc(a,d,e)})}function Fc(){var b=i.cd||0,a=nb;i.cd|=a;return X=a&~b}function Cc(){if(X){i.cd&=~nb;X=0}}function mc(){var a=b.$CreateDiv();b.D(a,kb);return a}function t(b,a){a=a||q||1;return(b%a+a)%a}function Bb(c,a,b){u&8&&(u=0);Ab(c,wb,a,b)}function Nb(){b.$Each(gb,function(a){a.Oc(a.Vb.$ChanceToShow<=Q)})}function uc(){if(!Q){Q=1;Nb();if(!A){H&12&&rc();H&3&&B[s]&&B[s].zc()}}a.j(i.$EVT_MOUSE_LEAVE)}function tc(){if(Q){Q=0;Nb();A||!(H&12)||sc()}a.j(i.$EVT_MOUSE_ENTER)}function vc(){b.$Each(hb,function(a){b.D(a,kb);b.Jb(a,"hidden");b.V(a)});b.D(Z,kb)}function Ob(b,a){Ab(b,a,d)}function Ab(l,g,m,o){if(!A&&(Q||!(H&12))||n.$NaviQuitDrag){bb=d;A=k;z.vb();if(g==e)g=wb;var b=t(ob.cb()),f=l;if(m){f=b+l;f=c.round(f)}var a=f;if(!(C&1)){if(o)a=t(a);else if(C&2&&(a<0&&c.abs(b-F)<.0001||a>q-P&&c.abs(b-K)<.0001))a=a<0?K:F;a=Db(a);if(K-a<.5)a=K;if(a-F<.5)a=F}var j=(a-b)%q;a=b+j;var h=b==a?0:g*c.abs(j),i=1;if(N>1)i=(V&1?sb:rb)/S;h=c.min(h,g*i*1.5);z.nc(b,a,h||1)}}a.$SlidesCount=function(){return hb.length};a.$CurrentIndex=function(){return s};a.$AutoPlay=function(a){if(a==e)return u;if(a!=u){u=a;u&&B[s]&&B[s].zc()}};a.$IsDragging=function(){return A};a.$IsSliding=function(){return bb};a.$IsMouseOver=function(){return!Q};a.Be=function(){return U};a.$OriginalWidth=function(){return O};a.$OriginalHeight=function(){return M};a.$ScaleHeight=function(b){if(b==e)return lc||M;a.$ScaleSize(b/M*O,b)};a.$ScaleWidth=function(b){if(b==e)return Qb||O;a.$ScaleSize(b,b/O*M)};a.$ScaleSize=function(c,a,d){b.$CssWidth(v,c);b.$CssHeight(v,a);pc=c/O;kc=a/M;b.$Each(bc,function(a){a.$ScaleSize(pc,kc,d)});if(!Qb){b.Mb(ab,y);b.H(ab,0);b.J(ab,0)}Qb=c;lc=a};a.xe=function(a){return c.abs(a-F)<.0001};a.ye=function(a){return c.abs(a-K)<.0001};a.$PlayTo=Ab;a.$GoTo=function(a){z.nc(a,a,0)};a.$Next=function(){Ob(1)};a.$Prev=function(){Ob(-1)};a.$Pause=function(){u=0};a.$Play=function(){a.$AutoPlay(u||1)};a.$SetSlideshowTransitions=function(a){n.$SlideshowOptions.$Transitions=a};a.$SetCaptionTransitions=function(a){db.$Transitions=a;db.Pc=b.R()};a.Id=function(a){a=t(a);if(C&1){var d=L/S,b=t(ob.cb()),e=t(a-b+d),f=t(c.abs(a-b));if(e>=N){if(f>q/2)if(a>b)a-=q;else a+=q}else if(a>b&&ed)a+=q}return a};a.Wb=function(R,o){a.$Elmt=v=b.$GetElement(R);O=b.$CssWidth(v);M=b.$CssHeight(v);n=b.s({$FillMode:0,$LazyLoading:1,$ArrowKeyNavigation:1,$StartIndex:0,$AutoPlay:0,$Loop:1,$HWA:d,$NaviQuitDrag:d,$AutoPlaySteps:1,$AutoPlayInterval:3e3,$PauseOnHover:1,$SlideDuration:500,$SlideEasing:f.$OutQuad,$MinDragOffsetToSlide:20,$SlideSpacing:0,$UISearchMode:1,$PlayOrientation:1,$DragOrientation:1},o);n.$HWA=n.$HWA&&b.Le();if(n.$Idle!=e)n.$AutoPlayInterval=n.$Idle;if(n.$DisplayPieces!=e)n.$Cols=n.$DisplayPieces;if(n.$ParkingPosition!=e)n.$Align=n.$ParkingPosition;V=n.$PlayOrientation&3;lb=n.$SlideshowOptions;db=b.s({$Class:r},n.$CaptionSliderOptions);qb=n.$BulletNavigatorOptions;cb=n.$ArrowNavigatorOptions;T=n.$ThumbnailNavigatorOptions;!n.$UISearchMode;var s=b.$Children(v);b.$Each(s,function(a,d){var c=b.$AttributeEx(a,"u");if(c=="loading")Z=a;else{if(c=="slides")y=a;if(c=="navigator")Eb=a;if(c=="arrowleft")Sb=a;if(c=="arrowright")Pb=a;if(c=="thumbnavigator")pb=a;if(a.tagName!="STYLE"&&a.tagName!="SCRIPT")bc[c||d]=new xc(a,c=="slides",b.Uc(["slides","thumbnavigator"])[c])}});Z=Z||b.$CreateDiv(h);sb=b.$CssWidth(y);rb=b.$CssHeight(y);J=n.$SlideWidth||sb;I=n.$SlideHeight||rb;kb={v:J,u:I,$Top:0,$Left:0,bc:"block",ab:"absolute"};fb=n.$SlideSpacing;yb=J+fb;zb=I+fb;S=V&1?yb:zb;var i=V&1?sb:rb;mb=n.$AutoPlaySteps;H=n.$PauseOnHover;ec=n.$AutoPlayInterval;wb=n.$SlideDuration;Mb=new Bc;if(n.$HWA&&(!b.$IsBrowserFireFox()||vb))Ib=function(a,c,d){b.kc(a,{$TranslateX:c,$TranslateY:d})};u=n.$AutoPlay&63;a.Vb=o;b.$Attribute(v,Gb,"1");b.z(y,b.z(y)||0);b.Y(y,"absolute");ab=b.$CloneNode(y,d);b.Mb(ab,y);ib=new Ic;b.$AppendChild(ab,ib.jc);b.Jb(y,"hidden");H&=vb?10:5;var x=b.$Children(y),Q=b.Uc(["DIV","A","LI"]);b.$Each(x,function(a){Q[a.tagName.toUpperCase()]&&!b.$AttributeEx(a,"u")&&hb.push(a);b.z(a,(b.z(a)||0)+1)});W=mc();b.$Css(W,"backgroundColor","#000");b.xc(W,0);b.z(W,0);b.Mb(W,y.firstChild,y);q=hb.length;var m=c.ceil((i+fb)/S);if(n.$Cols)m=n.$Cols;N=c.min(q,m);P=(i+fb)/S;hc=N1&&Hb&&(!b.$IsBrowserIE()||b.$BrowserVersion()>=9)}if(!(C&1)){D=L/S;if(D>q-1){D=q-1;L=D*S}F=D;K=F+q-P}nb=(N>1||L?V:-1)&n.$DragOrientation;Tb.Vd&&b.$Css(y,Tb.Vd,([g,"pan-y","pan-x","none"])[nb]||"");if(fc)E=new Hb(Mb,J,I,lb,vb,Ib);for(var k=0;k=0){t=jb;l=q(o.substring(d+8))}else if(b>=0){var i=o.substring(0,b).lastIndexOf("/");t=f>=0?lb:mb;l=q(o.substring(i+1,b))}else{var a=/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/i.exec(o);if(a){t=N;l=u=q(a[1])}}if(c>=0)B=q(o.substring(c+12))}else{var a=/(opera)(?:.*version|)[ \/]([\w.]+)/i.exec(o);if(a){t=pb;l=q(a[2])}}}return g==t}function r(){return w(N)}function ib(){return r()&&(l<6||h.compatMode=="BackCompat")}function Bb(){return w(jb)}function kb(){return w(mb)}function Eb(){return w(lb)}function ob(){return w(pb)}function eb(){return kb()&&B>534&&B<535}function I(){w();return B>537||l>42||t==N&&l>=11}function gb(){return r()&&l<9}function fb(a){var b,c;return function(g){if(!b){b=d;var f=a.substr(0,1).toUpperCase()+a.substr(1);n([a].concat(["WebKit","ms","Moz","O","webkit"]),function(h,d){var b=a;if(d)b=h+f;if(g.style[b]!=e)return c=b})}return c}}function db(b){var a;return function(c){a=a||fb(b)(c)||b;return a}}var P=db("transform");function tb(a){return{}.toString.call(a)}var qb={};n(["Boolean","Number","String","Function","Array","Date","RegExp","Object"],function(a){qb["[object "+a+"]"]=a.toLowerCase()});function n(b,d){var a,c;if(tb(b)=="[object Array]"){for(a=0;a-1;f--){var d=c[f],e=Y(i);y(e,y(d));b.$CssCssText(e,d.style.cssText);b.Mb(e,d);b.ac(d)}return a};function Gb(a){var l=this,p="",r=["av","pv","ds","dn"],d=[],q,k=0,g=0,f=0;function j(){K(a,q,(d[f||g&2||g]||"")+" "+(d[k]||""));b.$Css(a,"pointer-events",f?"none":"")}function c(){k=0;j();i.S(h,"mouseup",c);i.S(h,"touchend",c);i.S(h,"touchcancel",c)}function o(a){if(f)i.$CancelEvent(a);else{k=4;j();i.$AddEvent(h,"mouseup",c);i.$AddEvent(h,"touchend",c);i.$AddEvent(h,"touchcancel",c)}}l.yd=function(a){if(a===e)return g;g=a&2||a&1;j()};l.$Enable=function(a){if(a===e)return!f;f=a?0:3;j()};l.$Elmt=a=i.$GetElement(a);F(a,"data-jssor-button","1");var m=b.Jf(y(a));if(m)p=m.shift();n(r,function(a){d.push(p+a)});q=cb(" ",d);d.unshift("");i.$AddEvent(a,"mousedown",o);i.$AddEvent(a,"touchstart",o)}i.mc=function(a){return new Gb(a)};i.$Css=x;i.Jb=m("overflow");i.H=m("top",2);i.Bg=m("right",2);i.vg=m("bottom",2);i.J=m("left",2);i.$CssWidth=m("width",2);i.$CssHeight=m("height",2);i.gf=m("marginLeft",2);i.Xe=m("marginTop",2);i.Y=m("position");i.Nb=m("display");i.z=m("zIndex",1);i.xc=function(b,a,c){if(a!=e)Fb(b,a,c);else return Db(b)};i.$CssCssText=function(a,b){if(b!=e)a.style.cssText=b;else return a.style.cssText};i.Zf=function(b,a){if(a===e){a=x(b,"backgroundImage")||"";var c=/\burl\s*\(\s*["']?([^"'\r\n,]+)["']?\s*\)/gi.exec(a)||[];return c[1]}x(b,"backgroundImage",a?"url('"+a+"')":"")};var L;i.Yf=L={$Opacity:i.xc,$Top:i.H,$Right:i.Bg,$Bottom:i.vg,$Left:i.J,v:i.$CssWidth,u:i.$CssHeight,ab:i.Y,bc:i.Nb,$ZIndex:i.z};i.Wc=function(c,b){var a={};n(b,function(d,b){if(L[b])a[b]=L[b](c)});return a};function s(h,l){var f=gb(),b=I(),d=eb(),j=P(h);function k(b,d,a){var e=b.yb(p(-d/2,-a/2)),f=b.yb(p(d/2,-a/2)),g=b.yb(p(d/2,a/2)),h=b.yb(p(-d/2,a/2));b.yb(p(300,300));return p(c.min(e.x,f.x,g.x,h.x)+d/2,c.min(e.y,f.y,g.y,h.y)+a/2)}function a(d,a){a=a||{};var n=a.$TranslateZ||0,p=(a.$RotateX||0)%360,q=(a.$RotateY||0)%360,u=(a.$Rotate||0)%360,l=a.$ScaleX,m=a.$ScaleY,g=a.ih;if(l==e)l=1;if(m==e)m=1;if(g==e)g=1;if(f){n=0;p=0;q=0;g=0}var c=new Cb(a.$TranslateX,a.$TranslateY,n);c.$RotateX(p);c.$RotateY(q);c.Xf(u);c.Wf(a.$SkewX,a.$SkewY);c.$Scale(l,m,g);if(b){c.$Move(a.B,a.C);d.style[j]=c.hg()}else if(!A||A<9){var o="",h={x:0,y:0};if(a.$OriginalWidth)h=k(c,a.$OriginalWidth,a.$OriginalHeight);i.Xe(d,h.y);i.gf(d,h.x);o=c.kg();var s=d.style.filter,t=new RegExp(/[\s]*progid:DXImageTransform\.Microsoft\.Matrix\([^\)]*\)/g),r=D(s,[t],o);U(d,r)}}s=function(f,c){c=c||{};var j=c.B,k=c.C,h;n(L,function(a,b){h=c[b];h!==e&&a(f,h)});i.Mf(f,c.$Clip);if(!b){j!=e&&i.J(f,(c.wd||0)+j);k!=e&&i.H(f,(c.xd||0)+k)}if(c.gg)if(d)yb(i.$CreateCallback(g,R,f,c));else a(f,c)};i.kc=R;if(d)i.kc=s;if(f)i.kc=a;else if(!b)a=R;i.D=s;s(h,l)}i.kc=s;i.D=s;function Cb(j,k,o){var d=this,b=[1,0,0,0,0,1,0,0,0,0,1,0,j||0,k||0,o||0,1],i=c.sin,h=c.cos,l=c.tan;function f(a){return a*c.PI/180}function n(a,b){return{x:a,y:b}}function m(b,c,f,g,i,l,n,o,q,t,u,w,y,A,C,F,a,d,e,h,j,k,m,p,r,s,v,x,z,B,D,E){return[b*a+c*j+f*r+g*z,b*d+c*k+f*s+g*B,b*e+c*m+f*v+g*D,b*h+c*p+f*x+g*E,i*a+l*j+n*r+o*z,i*d+l*k+n*s+o*B,i*e+l*m+n*v+o*D,i*h+l*p+n*x+o*E,q*a+t*j+u*r+w*z,q*d+t*k+u*s+w*B,q*e+t*m+u*v+w*D,q*h+t*p+u*x+w*E,y*a+A*j+C*r+F*z,y*d+A*k+C*s+F*B,y*e+A*m+C*v+F*D,y*h+A*p+C*x+F*E]}function e(c,a){return m.apply(g,(a||b).concat(c))}d.$Scale=function(a,c,d){if(a!=1||c!=1||d!=1)b=e([a,0,0,0,0,c,0,0,0,0,d,0,0,0,0,1])};d.$Move=function(a,c,d){b[12]+=a||0;b[13]+=c||0;b[14]+=d||0};d.$RotateX=function(c){if(c){a=f(c);var d=h(a),g=i(a);b=e([1,0,0,0,0,d,g,0,0,-g,d,0,0,0,0,1])}};d.$RotateY=function(c){if(c){a=f(c);var d=h(a),g=i(a);b=e([d,0,-g,0,0,1,0,0,g,0,d,0,0,0,0,1])}};d.Xf=function(c){if(c){a=f(c);var d=h(a),g=i(a);b=e([d,g,0,0,-g,d,0,0,0,0,1,0,0,0,0,1])}};d.Wf=function(a,c){if(a||c){j=f(a);k=f(c);b=e([1,l(k),0,0,l(j),1,0,0,0,0,1,0,0,0,0,1])}};d.yb=function(c){var a=e(b,[1,0,0,0,0,1,0,0,0,0,1,0,c.x,c.y,0,1]);return n(a[12],a[13])};d.hg=function(){return"matrix3d("+b.join(",")+")"};d.kg=function(){return"progid:DXImageTransform.Microsoft.Matrix(M11="+b[0]+", M12="+b[4]+", M21="+b[1]+", M22="+b[5]+", SizingMethod='auto expand')"}}new(function(){var a=this;function b(d,g){for(var j=d[0].length,i=d.length,h=g[0].length,f=[],c=0;c=11&&(j.B||j.C)&&s!=0&&s!=1)a.$Rotate=a.$Rotate||1e-8;a.gg=d}}if(j.$Clip&&o.$Move){var p=a.$Clip.ic,v=(p.$Top||0)+(p.$Bottom||0),u=(p.$Left||0)+(p.$Right||0);a.$Left=(a.$Left||0)+u;a.$Top=(a.$Top||0)+v;a.$Clip.$Left-=u;a.$Clip.$Right-=u;a.$Clip.$Top-=v;a.$Clip.$Bottom-=v}if(a.$Clip&&!a.$Clip.$Top&&!a.$Clip.$Left&&!a.$Clip.C&&!a.$Clip.B&&a.$Clip.$Right==o.$OriginalWidth&&a.$Clip.$Bottom==o.$OriginalHeight)a.$Clip=g;return a}};function o(){var a=this,d=[];function h(a,b){d.push({Ec:a,Bc:b})}function g(a,c){b.$Each(d,function(b,e){b.Ec==a&&b.Bc===c&&d.splice(e,1)})}a.$On=a.addEventListener=h;a.$Off=a.removeEventListener=g;a.j=function(a){var c=[].slice.call(arguments,1);b.$Each(d,function(b){b.Ec==a&&b.Bc.apply(j,c)})}}var l=function(A,D,g,L,O,J){A=A||0;var a=this,p,m,n,t,B=0,H,I,G,C,z=0,h=0,l=0,y,i,e,f,o,x,v=[],w;function P(a){e+=a;f+=a;i+=a;h+=a;l+=a;z+=a}function s(p){var j=p;if(o)if(!x&&(j>=f||j=e)j=((j-e)%o+o)%o+e;if(!y||t||h!=j){var k=c.min(j,f);k=c.max(k,e);if(!y||t||k!=l){if(J){var m=(k-i)/(D||1);if(g.$Reverse)m=1-m;var n=b.Fd(O,J,m,H,G,I,g);if(w)b.$Each(n,function(b,a){w[a]&&w[a](L,b)});else b.D(L,n)}a.qc(l-i,k-i);var r=l,q=l=k;b.$Each(v,function(b,c){var a=!y&&x||j<=h?v[v.length-c-1]:b;a.M(l-z)});h=j;y=d;a.Qb(r,q)}}}function E(a,b,d){b&&a.$Shift(f);if(!d){e=c.min(e,a.Yb()+z);f=c.max(f,a.mb()+z)}v.push(a)}var u=j.requestAnimationFrame||j.webkitRequestAnimationFrame||j.mozRequestAnimationFrame||j.msRequestAnimationFrame;if(b.$IsBrowserSafari()&&b.$BrowserVersion()<7||!u)u=function(a){b.$Delay(a,g.$Interval)};function K(){if(p){var d=b.R(),e=c.min(d-B,g.Dd),a=h+e*n;B=d;if(a*n>=m*n)a=m;s(a);if(!t&&a*n>=m*n)M(C);else u(K)}}function r(g,i,j){if(!p){p=d;t=j;C=i;g=c.max(g,e);g=c.min(g,f);m=g;n=m=0&&c=0&&h=0&&c=0&&df||d>h){switch(e){case j:case m:a++;break;case k:case l:case o:case i:b++;break;case p:case n:default:a--}if(a<0||b<0||a>f||b>h){switch(e){case j:case m:a=f;b++;break;case o:case i:b=h;a++;break;case k:case l:b=h;a--;break;case p:case n:default:a=0;b++}if(b>h)b=h;else if(b<0)b=0;else if(a>f)a=f;else if(a<0)a=0}d=b;c=a}}return r};h.$FormationRectangle=function(f){var d=f.$Cols||1,e=f.$Rows||1,h=[],a,b,i;i=c.round(c.min(d/2,e/2))+1;for(a=0;a1||a.$Clip;if(a.$Zoom||a.$Rotate){var J=d;if(J){e.$Zoom=a.$Zoom?a.$Zoom-1:1;f.$Zoom=1;var N=a.$Rotate||0;e.$Rotate=N*360*(x?-1:1);f.$Rotate=0}}if(K){var i=t.ic={};if(a.$Clip){var w=a.$ScaleClip||1;if(C&&z){i.$Top=g.u/2*w;i.$Bottom=-i.$Top}else if(C)i.$Bottom=-g.u*w;else if(z)i.$Top=g.u*w;if(B&&A){i.$Left=g.v/2*w;i.$Right=-i.$Left}else if(B)i.$Right=-g.v*w;else if(A)i.$Left=g.v*w}r.$Clip=t;f.$Clip=g[v]}var L=o?1:-1,M=s?1:-1;if(a.x)e.B+=n*a.x*L;if(a.y)e.C+=l*a.y*M;b.$Each(e,function(a,c){if(b.fc(a))if(a!=f[c])r[c]=a-f[c]});u[v]=j?f:e;var D=a.rf,y=c.round(m*a.$Delay/a.$Interval);h[v]=new Array(y);h[v].yf=y;h[v].wf=y+D-1;for(var F=0;F<=D;F++){var E=b.Fd(f,r,F/D,a.$Easing,a.$During,a.$Round,{$Move:a.$Move,$OriginalWidth:n,$OriginalHeight:l});E.$ZIndex=E.$ZIndex||1;h[v].push(E)}})});o.reverse();b.$Each(o,function(a){b.$Each(a,function(c){var f=c[0],e=c[1],d=f+","+e,a=i;if(e||f)a=b.$CloneNode(i);b.D(a,u[d]);b.Jb(a,"hidden");b.Y(a,"absolute");z.Se(a);m[d]=a;b.A(a,!j)})})}function w(){var a=this,b=0;l.call(a,0,v);a.Qb=function(c,a){if(a-b>i){b=a;e&&e.pc(a);h&&h.pc(a)}};a.Kc=r}a.Oe=function(){var a=0,b=u.$Transitions,d=b.length;if(x)a=y++%d;else a=c.floor(c.random()*d);b[a]&&(b[a].sb=a);return b[a]};a.uf=function(x,y,k,l,b,t){a.wb();r=b;b=j(b,i,t);var g=l.Ld,f=k.Ld;g["no-image"]=!l.dc;f["no-image"]=!k.dc;var o=g,q=f,w=b,d=b.$Brother||j({},i,t);if(!b.$SlideOut){o=f;q=g}var u=d.$Shift||0;h=new n(m,q,d,c.max(u-d.$Interval,0),s,p);e=new n(m,o,w,c.max(d.$Interval-u,0),s,p);h.pc(0);e.pc(0);v=c.max(h.fd,e.fd);a.sb=x};a.wb=function(){m.wb();h=g;e=g};a.tf=function(){var a=g;if(e)a=new w;return a};if(z&&b.$WebKitVersion()<537)i=16;o.call(a);l.call(a,-1e7,1e7)};var p={ec:1};j.$JssorBulletNavigator$=function(a,E){var f=this;o.call(f);a=b.$GetElement(a);var u,C,B,t,l=0,e,q,j,y,z,i,h,s,r,D=[],A=[];function x(a){a!=-1&&A[a].yd(a==l)}function v(a){f.j(p.ec,a*q)}f.$Elmt=a;f.Lc=function(a){if(a!=t){var d=l,b=c.floor(a/q);l=b;t=a;x(d);x(b)}};f.Oc=function(c){b.A(a,c)};var w;f.Gc=function(x){if(!w){u=c.ceil(x/q);l=0;var n=s+y,o=r+z,m=c.ceil(u/j)-1;C=s+n*(!i?m:j-1);B=r+o*(i?m:j-1);b.$CssWidth(a,C);b.$CssHeight(a,B);for(var f=0;f=A)b-=x%e;j.j(p.ec,b,k,d)}}h.sb=f;h.Hd=o;l=n.Ae||n.dc||b.$CreateDiv();h.jc=c=b.Vc(u,"thumbnailtemplate",l,d);m=b.mc(c);a.$ActionMode&1&&b.$AddEvent(c,"click",b.$CreateCallback(g,i,0));a.$ActionMode&2&&b.$AddEvent(c,"mouseenter",b.$CreateCallback(g,i,1))}j.Lc=function(a,f,d){if(a!=s){var b=s;s=a;b!=-1&&y[b].Hd();y[a].Hd()}!d&&t.$PlayTo(t.Id(c.floor(a/e)))};j.Oc=function(a){b.A(f,a)};var C;j.Gc=function(H,I){if(!C){x=H;A=c.ceil(x/e);s=-1;var g=a.$Orientation&1,o=w+(w+q)*(e-1)*(1-g),n=v+(v+r)*(e-1)*g,u=(g?c.max:c.min)(B,o),p=(g?c.min:c.max)(z,n);l=l||c.ceil((B+q)/(w+q)*g+(z+r)/(v+r)*(1-g));l=c.min(l,A);var F=o+(o+q)*(l-1)*g,E=n+(n+r)*(l-1)*(1-g);u=c.min(u,F);p=c.min(p,E);b.Y(h,"absolute");b.Jb(h,"hidden");b.$CssWidth(h,u);b.$CssHeight(h,p);b.rc(h,3);var m=[];b.$Each(I,function(k,f){var i=new D(k,f),d=i.jc,a=c.floor(f/e),j=f%e;b.J(d,(w+q)*j*(1-g));b.H(d,(v+r)*j*g);if(!m[a]){m[a]=b.$CreateDiv();b.$AppendChild(h,m[a])}b.$AppendChild(m[a],d);y.push(i)});var G=b.s({$AutoPlay:0,$NaviQuitDrag:k,$SlideWidth:o,$SlideHeight:n,$SlideSpacing:q*g+r*(1-g),$MinDragOffsetToSlide:12,$SlideDuration:200,$PauseOnHover:1,$PlayOrientation:a.$Orientation,$DragOrientation:a.$NoDrag||a.$DisableDrag?0:a.$Orientation},a);t=new i(f,G);j.Kf=t.Kf;C=d}};j.Vb=a=b.s({$SpacingX:0,$SpacingY:0,$Orientation:1,$ActionMode:1},E);B=b.$CssWidth(f);z=b.$CssHeight(f);h=b.$FindChild(f,"slides",d);u=b.$FindChild(h,"prototype");w=b.$CssWidth(u);v=b.$CssHeight(u);b.ac(u,h);e=a.$Rows||1;q=a.$SpacingX;r=a.$SpacingY;l=a.$Cols;a.$Scale==k&&n.W(f,m.Pb,1);a.$AutoCenter&=a.$Orientation;a.$AutoCenter&&n.W(f,m.rb,a.$AutoCenter);n.Ub(f)};function r(e,d,c){var a=this;l.call(a,0,c);a.id=b.Ud;a.gd=0;a.ed=c}j.$JssorCaptionSlideo$=function(t,k,B,E){var a=this,u,o={},v=k.$Transitions,r=k.$Controls,m=new l(0,0),p=[],h=[],D=E,e=D?1e8:0;l.call(a,0,0);function q(d,c){var a={};b.$Each(d,function(d,f){var e=o[f];if(e){if(b.rd(d))d=q(d,c||f=="e");else if(c)if(b.fc(d))d=u[d];a[e]=d}});return a}function s(d,e){var a=[],c=b.$Children(d);b.$Each(c,function(c){var d=v[b.U(c,"t")];d&&a.push({$Elmt:c,Kc:d});a=a.concat(s(c,e+1))});return a}function n(c,e){var a=p[c];if(a==g){a=p[c]={bb:c,wc:[],Sd:[]};var d=0;!b.$Each(h,function(a,b){d=b;return a.bb>c})&&d++;h.splice(d,0,a)}return a}function y(s,t,h){var a,f;if(r){var m=r[b.U(s,"c")];if(m){a=n(m.r,0);a.sf=m.e||0}}b.$Each(t,function(i){var g=b.s(d,{},q(i)),j=b.Dc(g.$Easing);delete g.$Easing;if(g.$Left){g.B=g.$Left;j.B=j.$Left;delete g.$Left}if(g.$Top){g.C=g.$Top;j.C=j.$Top;delete g.$Top}var o={$Easing:j,$OriginalWidth:h.v,$OriginalHeight:h.u},k=new l(i.b,i.d,o,s,h,g);e=c.max(e,i.b+i.d);if(a){if(!f)f=new l(i.b,0);f.O(k)}else{var m=n(i.b,i.b+i.d);m.wc.push(k)}h=b.ne(h,g)});if(a&&f){f.hf();var i=f,k,j=f.Yb(),o=f.mb(),p=c.max(o,a.sf);if(a.bbj){i=new l(j,a.bb-j);i.O(f,d)}else i=g;k=new l(a.bb,p-j,{Hc:p-a.bb,He:d});k.O(f,d)}i&&a.wc.push(i);k&&a.Sd.push(k)}return h}function x(a){b.$Each(a,function(f){var a=f.$Elmt,e=b.$CssWidth(a),d=b.$CssHeight(a),c={$Left:b.J(a),$Top:b.H(a),B:0,C:0,$Opacity:1,$ZIndex:b.z(a)||0,$Rotate:0,$RotateX:0,$RotateY:0,$ScaleX:1,$ScaleY:1,$TranslateX:0,$TranslateY:0,$TranslateZ:0,$SkewX:0,$SkewY:0,v:e,u:d,$Clip:{$Top:0,$Right:e,$Bottom:d,$Left:0}};c.wd=c.$Left;c.xd=c.$Top;y(a,f.Kc,c)})}function A(f,e,g){var c=f.b-e;if(c){var b=new l(e,c);b.O(m,d);b.$Shift(g);a.O(b)}a.td(f.d);return c}function z(e){var c=m.Yb(),d=0;b.$Each(e,function(e,f){e=b.s({d:3e3},e);A(e,c,d);c=e.b;d+=e.d;if(!f||e.t==2){a.gd=c;a.ed=c+e.d}})}function j(k,d,f){var g=d.length;if(g>4)for(var m=c.ceil(g/4),a=0;a0&&t<1){var v=c.min(q,p);l=c.min(l/v,1/(1-t))*v}}else s=r=l=c.pow(O1e-5){var f=c.floor(b);if(f!=b&&b>e&&(C&1||b>D))f++;jc(f,g,d)}a.j(i.$EVT_POSITION_CHANGE,g,t(e),b,e)}}function Jc(){var a=this;l.call(a,0,0,{Hc:q});b.$Each(B,function(b){C&1&&b.jf(q);a.Fc(b);b.$Shift(L/S)})}function Ic(){var a=this,b=Mb.$Elmt;l.call(a,-1,2,{$Easing:f.$Linear,Ke:{ab:oc},Hc:q},b,{ab:1},{ab:-2});a.jc=b}function Ac(o,m){var b=this,e,f,h,j,c;l.call(b,-1e8,2e8,{Dd:100});b.Ed=function(){bb=d;eb=g;a.j(i.$EVT_SWIPE_START,t(w.db()),w.db())};b.md=function(){bb=k;j=k;var b=w.og();a.j(i.$EVT_SWIPE_END,t(w.db()),w.db());if(!A){Mc(b.tg,s);(!b.ab||b.sg)&&jc(s,b.bc)}};b.Qb=function(g,d){var a;if(j)a=c;else{a=f;if(h){var b=d/h;a=n.$SlideEasing(b)*(f-e)+e}}w.M(a)};b.nc=function(a,d,c,g){e=a;f=d;h=c;w.M(a);b.M(0);b.od(c,g)};b.oe=function(a){j=d;c=a;b.$Play(a,g,d)};b.kf=function(a){c=a};w=new Kc;w.O(o);w.O(m)}function Bc(){var c=this,a=mc();b.z(a,0);b.$Css(a,"pointerEvents","none");c.$Elmt=a;c.Se=function(c){b.$AppendChild(a,c);b.A(a)};c.wb=function(){b.V(a);b.Ac(a)}}function Hc(m,f){var e=this,r,K,w,j,x=[],F,y,R,G,P,C,H,h,v,p;l.call(e,-N,N+1,{});function A(a){r&&r.id();Q(m,a,0);C=d;r=new db.$Class(m,db,b.U(m,"idle",ec),!u);r.M(0)}function T(){r.PcJ||c>I)){var h=k,q=J/I*c/g;if(n.$FillMode&1)h=q>1;else if(n.$FillMode&2)h=q<1;m=h?g*I/c:J;l=h?I:c*J/g}b.$CssWidth(j,m);b.$CssHeight(j,l);b.H(j,(I-l)/2);b.J(j,(J-m)/2)}b.Y(j,"absolute");a.j(i.$EVT_LOAD_END,f)}}b.V(r);p&&p(e)}function S(g,b,c,d){if(d==eb&&s==f&&u)if(!Lc){var a=t(g);E.uf(a,f,b,e,c,I/J);b.Me();ib.$Shift(a-ib.Yb()-1);ib.M(a);z.nc(a,a,0)}}function W(b){if(b==eb&&s==f){if(!h){var a=g;if(E)if(E.sb==f)a=E.tf();else E.wb();T();h=new Gc(m,f,a,r);h.Yc(p)}!h.$IsPlaying()&&h.Jc()}}function D(a,d,k){if(a==f){if(a!=d)B[d]&&B[d].Nd();else!k&&h&&h.Ue();p&&p.$Enable();var l=eb=b.R();e.Lb(b.$CreateCallback(g,W,l))}else{var j=c.min(f,a),i=c.max(f,a),o=c.min(i-j,j+q-i),m=N+n.$LazyLoading-1;(!P||o<=m)&&e.Lb()}}function X(){if(s==f&&h){h.vb();p&&p.$Quit();p&&p.$Disable();h.Yd()}}function Y(){s==f&&h&&h.vb()}function V(b){!U&&a.j(i.$EVT_CLICK,f,b)}function O(){p=v.pInstance;h&&h.Yc(p)}e.Lb=function(e,c){c=c||w;if(x.length&&!G){b.A(c);if(!R){R=d;a.j(i.$EVT_LOAD_START,f);b.$Each(x,function(a){if(!b.$Attribute(a,"src")){a.src=b.$AttributeEx(a,"src2")||"";b.Nb(a,a["display-origin"])}})}b.qg(x,j,b.$CreateCallback(g,M,e,c))}else M(e,c)};e.Uf=function(){if(q==1){e.Nd();D(f,f)}else{var a;if(E)a=E.Oe(q);if(a){var h=eb=b.R(),c=f+mb,d=B[t(c)];return d.Lb(b.$CreateCallback(g,S,c,d,a,h),w)}else Ob(mb)}};e.zc=function(){D(f,f,d)};e.Nd=function(){p&&p.$Quit();p&&p.$Disable();e.Wd();h&&h.Tf();h=g;A()};e.Me=function(){b.V(m)};e.Wd=function(){b.A(m)};e.vf=function(){p&&p.$Enable()};function Q(a,f,c,h){if(b.$Attribute(a,Gb))return;if(!C){if(a.tagName=="IMG"){x.push(a);if(!b.$Attribute(a,"src")){P=d;a["display-origin"]=b.Nb(a);b.V(a)}}var e=b.Zf(a);if(e){var g=new Image;b.$AttributeEx(g,"src2",e);x.push(g)}c&&b.z(a,(b.z(a)||0)+1)}var i=b.$Children(a);b.$Each(i,function(a){var e=a.tagName,g=b.$AttributeEx(a,"u");if(g=="player"&&!v){v=a;if(v.pInstance)O();else b.$AddEvent(v,"dataavailable",O)}if(g=="caption"){if(f){b.ke(a,b.$AttributeEx(a,"to"));b.Zd(a,b.$AttributeEx(a,"bf"));H&&b.$AttributeEx(a,"3d")&&b.ae(a,"preserve-3d")}}else if(!C&&!c&&!j){if(e=="A"){if(b.$AttributeEx(a,"u")=="image")j=b.zf(a,"IMG");else j=b.$FindChild(a,"image",d);if(j){F=a;b.D(F,kb);y=b.$CloneNode(F,d);b.xc(y,0);b.$Css(y,"backgroundColor","#000")}}else if(e=="IMG"&&b.$AttributeEx(a,"u")=="image")j=a;if(j){j.border=0;b.D(j,kb)}}Q(a,f,c+1,h)})}e.qc=function(c,b){var a=N-b;oc(K,a)};e.sb=f;o.call(e);H=b.$AttributeEx(m,"p");b.de(m,H);b.Ce(m,b.$AttributeEx(m,"po"));var L=b.$FindChild(m,"thumb",d);if(L){e.Ae=b.$CloneNode(L);b.V(L)}b.A(m);w=b.$CloneNode(Z);b.z(w,1e3);b.$AddEvent(m,"click",V);A(d);e.dc=j;e.Jd=y;e.Ld=m;e.jc=K=m;b.$AppendChild(K,w);a.$On(203,D);a.$On(28,Y);a.$On(24,X)}function Gc(z,g,p,q){var c=this,n=0,v=0,h,j,f,e,m,t,r,o=B[g];l.call(c,0,0);function w(){b.Ac(W);qc&&m&&o.Jd&&b.$AppendChild(W,o.Jd);b.A(W,!m&&o.dc)}function x(){c.Jc()}function y(a){r=a;c.vb();c.Jc()}c.Jc=function(){var b=c.cb();if(!A&&!bb&&!r&&s==g){if(!b){if(h&&!m){m=d;c.Yd(d);a.j(i.$EVT_SLIDESHOW_START,g,n,v,h,e)}w()}var k,p=i.$EVT_STATE_CHANGE;if(b!=e)if(b==f)k=e;else if(b==j)k=f;else if(!b)k=j;else k=c.kd();a.j(p,g,b,n,j,f,e);var l=u&&(!H||Q);if(b==e)(f!=e&&!(H&12)||l)&&o.Uf();else(l||b!=f)&&c.od(k,x)}};c.Ue=function(){f==e&&f==c.cb()&&c.M(j)};c.Tf=function(){E&&E.sb==g&&E.wb();var b=c.cb();b=h){m=k;w();o.Wd();E.wb();a.j(i.$EVT_SLIDESHOW_END,g,n,v,h,e)}a.j(i.$EVT_PROGRESS_CHANGE,g,b,n,j,f,e)};c.Yc=function(a){if(a&&!t){t=a;a.$On($JssorPlayer$.Fe,y)}};p&&c.Fc(p);h=c.mb();c.Fc(q);j=h+q.gd;e=c.mb();f=u?h+q.ed:e}function Ib(a,c,d){b.J(a,c);b.H(a,d)}function oc(c,b){var a=x>0?x:V,d=(yb*b+Cb)*(a&1),e=(zb*b+Cb)*(a>>1&1);Ib(c,d,e)}function Db(a){if(!(C&1))a=c.min(K,c.max(a,F));return a}function Xb(a){return!(C&1)&&(a-F<.0001||K-a<.0001)}function dc(){Fb=bb;Vb=z.kd();G=w.db()}function sc(){dc();if(A||!Q&&H&12){z.vb();a.j(i.Ef)}}function rc(g){if(!A&&(Q||!(H&12))&&!z.$IsPlaying()){var b=w.db(),a=G,e=0;if(g&&c.abs(R)>=n.$MinDragOffsetToSlide){a=b;e=ub}if(Xb(b)){if(!g||U)a=c.round(a)}else a=c.ceil(a);a=Db(a+e);if(!(C&1)){if(K-a<.5)a=K;if(a-F<.5)a=F}var d=c.abs(a-b);if(d<1&&n.$SlideEasing!=f.$Linear)d=1-c.pow(1-d,5);if(!U&&Fb)z.af(Vb);else if(b==a){Jb.vf();Jb.zc()}else z.nc(b,a,d*wb)}}function Ub(a){!b.Hb(b.$EvtSrc(a),"nodrag")&&b.$CancelEvent(a)}function Ec(a){nc(a,1)}function nc(c,j){var f=b.$EvtSrc(c);xb=k;var l=b.Hb(f,"1",Wb);if((!l||l===v)&&!X&&(!j||c.touches.length==1)){xb=b.Hb(f,"nodrag")||!nb||!Fc();var n=b.Hb(f,e,m.Ic);if(n)Yb=b.$Attribute(n,m.Ic);if(j){var p=c.touches[0];Kb=p.clientX;Lb=p.clientY}else{var o=b.Rd(c);Kb=o.x;Lb=o.y}A=d;eb=g;b.$AddEvent(h,j?"touchmove":"mousemove",Rb);b.R();U=0;sc();if(!Fb)x=0;R=0;tb=0;ub=0;a.j(i.$EVT_DRAG_START,t(G),G,c)}}function Rb(g){if(A){var a;if(g.type!="mousemove")if(g.touches.length==1){var o=g.touches[0];a={x:o.clientX,y:o.clientY}}else jb();else a=b.Rd(g);if(a){var e=a.x-Kb,f=a.y-Lb;if(x||c.abs(e)>1.5||c.abs(f)>1.5){if(c.floor(G)!=G)x=x||V&X;if((e||f)&&!x){if(X==3)if(c.abs(f)>c.abs(e))x=2;else x=1;else x=X;if(vb&&x==1&&c.abs(f)>c.abs(e)*2.4)xb=d}var n=f,i=zb;if(x==1){n=e;i=yb}if(R-tb<-1.5)ub=0;else if(R-tb>1.5)ub=-1;tb=R;R=n;Y=G-R/i/Yb;if(!(C&1)){var l=0,j=[-G+D,0,G-q+P-D];b.$Each(j,function(b,d){if(b>0){var a=c.pow(b,1/1.6);a=c.tan(a*c.PI/2);l=(a-b)*(d-1)}});var h=l+Y,m=k;j=[-h+D,0,h-q+P-D];b.$Each(j,function(a,b){if(a>0){a=c.min(a,i);a=c.atan(a)*2/c.PI;a=c.pow(a,1.6);Y=a*(b-1)+D;if(b)Y+=q-P;m=d}});if(!m)Y=h}if(R&&x&&!xb){b.$CancelEvent(g);if(!bb)z.oe(Y);else z.kf(Y)}}}}}function jb(){Cc();if(A){U=R;b.R();b.S(h,"mousemove",Rb);b.S(h,"touchmove",Rb);U&&u&8&&(u=0);z.vb();A=k;var c=w.db();a.j(i.$EVT_DRAG_END,t(c),c,t(G),G);H&12&&dc();rc(d)}}function wc(c){var a=b.$EvtSrc(c),d=b.Hb(a,"1",Gb);if(v===d)if(U){b.$StopEvent(c);while(a&&v!==a){(a.tagName=="A"||b.$Attribute(a,"data-jssor-button"))&&b.$CancelEvent(c);a=a.parentNode}}else u&4&&(u=0)}function Nc(d){if(d!=s){var b=ob.cb(),a=Db(d),e=c.round(t(a));if(b-a<.5)a=b;B[s];s=e;Jb=B[s];w.M(a)}}function Mc(b,c){x=0;Nc(b);if(u&2&&(mb>0&&s==q-1||mb<0&&!s))u=0;a.j(i.$EVT_PARK,s,c)}function jc(a,d,e){if(!(C&1)){a=c.max(0,a);a=c.min(a,q-P+D);a=c.round(a)}a=t(a);b.$Each(gb,function(b){b.Lc(a,d,e)})}function Fc(){var b=i.cd||0,a=nb;i.cd|=a;return X=a&~b}function Cc(){if(X){i.cd&=~nb;X=0}}function mc(){var a=b.$CreateDiv();b.D(a,kb);return a}function t(b,a){a=a||q||1;return(b%a+a)%a}function Bb(c,a,b){u&8&&(u=0);Ab(c,wb,a,b)}function Nb(){b.$Each(gb,function(a){a.Oc(a.Vb.$ChanceToShow<=Q)})}function uc(){if(!Q){Q=1;Nb();if(!A){H&12&&rc();H&3&&B[s]&&B[s].zc()}}a.j(i.$EVT_MOUSE_LEAVE)}function tc(){if(Q){Q=0;Nb();A||!(H&12)||sc()}a.j(i.$EVT_MOUSE_ENTER)}function vc(){b.$Each(hb,function(a){b.D(a,kb);b.Jb(a,"hidden");b.V(a)});b.D(Z,kb)}function Ob(b,a){Ab(b,a,d)}function Ab(l,g,m,o){if(!A&&(Q||!(H&12))||n.$NaviQuitDrag){bb=d;A=k;z.vb();if(g==e)g=wb;var b=t(ob.cb()),f=l;if(m){f=b+l;f=c.round(f)}var a=f;if(!(C&1)){if(o)a=t(a);else if(C&2&&(a<0&&c.abs(b-F)<.0001||a>q-P&&c.abs(b-K)<.0001))a=a<0?K:F;a=Db(a);if(K-a<.5)a=K;if(a-F<.5)a=F}var j=(a-b)%q;a=b+j;var h=b==a?0:g*c.abs(j),i=1;if(N>1)i=(V&1?sb:rb)/S;h=c.min(h,g*i*1.5);z.nc(b,a,h||1)}}a.$SlidesCount=function(){return hb.length};a.$CurrentIndex=function(){return s};a.$AutoPlay=function(a){if(a==e)return u;if(a!=u){u=a;u&&B[s]&&B[s].zc()}};a.$IsDragging=function(){return A};a.$IsSliding=function(){return bb};a.$IsMouseOver=function(){return!Q};a.Be=function(){return U};a.$OriginalWidth=function(){return O};a.$OriginalHeight=function(){return M};a.$ScaleHeight=function(b){if(b==e)return lc||M;a.$ScaleSize(b/M*O,b)};a.$ScaleWidth=function(b){if(b==e)return Qb||O;a.$ScaleSize(b,b/O*M)};a.$ScaleSize=function(c,a,d){b.$CssWidth(v,c);b.$CssHeight(v,a);pc=c/O;kc=a/M;b.$Each(bc,function(a){a.$ScaleSize(pc,kc,d)});if(!Qb){b.Mb(ab,y);b.H(ab,0);b.J(ab,0)}Qb=c;lc=a};a.xe=function(a){return c.abs(a-F)<.0001};a.ye=function(a){return c.abs(a-K)<.0001};a.$PlayTo=Ab;a.$GoTo=function(a){z.nc(a,a,0)};a.$Next=function(){Ob(1)};a.$Prev=function(){Ob(-1)};a.$Pause=function(){u=0};a.$Play=function(){a.$AutoPlay(u||1)};a.$SetSlideshowTransitions=function(a){n.$SlideshowOptions.$Transitions=a};a.$SetCaptionTransitions=function(a){db.$Transitions=a;db.Pc=b.R()};a.Id=function(a){a=t(a);if(C&1){var d=L/S,b=t(ob.cb()),e=t(a-b+d),f=t(c.abs(a-b));if(e>=N){if(f>q/2)if(a>b)a-=q;else a+=q}else if(a>b&&ed)a+=q}return a};a.Wb=function(R,o){a.$Elmt=v=b.$GetElement(R);O=b.$CssWidth(v);M=b.$CssHeight(v);n=b.s({$FillMode:0,$LazyLoading:1,$ArrowKeyNavigation:1,$StartIndex:0,$AutoPlay:0,$Loop:1,$HWA:d,$NaviQuitDrag:d,$AutoPlaySteps:1,$AutoPlayInterval:3e3,$PauseOnHover:1,$SlideDuration:500,$SlideEasing:f.$OutQuad,$MinDragOffsetToSlide:20,$SlideSpacing:0,$UISearchMode:1,$PlayOrientation:1,$DragOrientation:1},o);n.$HWA=n.$HWA&&b.Le();if(n.$Idle!=e)n.$AutoPlayInterval=n.$Idle;if(n.$DisplayPieces!=e)n.$Cols=n.$DisplayPieces;if(n.$ParkingPosition!=e)n.$Align=n.$ParkingPosition;V=n.$PlayOrientation&3;lb=n.$SlideshowOptions;db=b.s({$Class:r},n.$CaptionSliderOptions);qb=n.$BulletNavigatorOptions;cb=n.$ArrowNavigatorOptions;T=n.$ThumbnailNavigatorOptions;!n.$UISearchMode;var s=b.$Children(v);b.$Each(s,function(a,d){var c=b.$AttributeEx(a,"u");if(c=="loading")Z=a;else{if(c=="slides")y=a;if(c=="navigator")Eb=a;if(c=="arrowleft")Sb=a;if(c=="arrowright")Pb=a;if(c=="thumbnavigator")pb=a;if(a.tagName!="STYLE"&&a.tagName!="SCRIPT")bc[c||d]=new xc(a,c=="slides",b.Uc(["slides","thumbnavigator"])[c])}});Z=Z||b.$CreateDiv(h);sb=b.$CssWidth(y);rb=b.$CssHeight(y);J=n.$SlideWidth||sb;I=n.$SlideHeight||rb;kb={v:J,u:I,$Top:0,$Left:0,bc:"block",ab:"absolute"};fb=n.$SlideSpacing;yb=J+fb;zb=I+fb;S=V&1?yb:zb;var i=V&1?sb:rb;mb=n.$AutoPlaySteps;H=n.$PauseOnHover;ec=n.$AutoPlayInterval;wb=n.$SlideDuration;Mb=new Bc;if(n.$HWA&&(!b.$IsBrowserFireFox()||vb))Ib=function(a,c,d){b.kc(a,{$TranslateX:c,$TranslateY:d})};u=n.$AutoPlay&63;a.Vb=o;b.$Attribute(v,Gb,"1");b.z(y,b.z(y)||0);b.Y(y,"absolute");ab=b.$CloneNode(y,d);b.Mb(ab,y);ib=new Ic;b.$AppendChild(ab,ib.jc);b.Jb(y,"hidden");H&=vb?10:5;var x=b.$Children(y),Q=b.Uc(["DIV","A","LI"]);b.$Each(x,function(a){Q[a.tagName.toUpperCase()]&&!b.$AttributeEx(a,"u")&&hb.push(a);b.z(a,(b.z(a)||0)+1)});W=mc();b.$Css(W,"backgroundColor","#000");b.xc(W,0);b.z(W,0);b.Mb(W,y.firstChild,y);q=hb.length;var m=c.ceil((i+fb)/S);if(n.$Cols)m=n.$Cols;N=c.min(q,m);P=(i+fb)/S;hc=N1&&Hb&&(!b.$IsBrowserIE()||b.$BrowserVersion()>=9)}if(!(C&1)){D=L/S;if(D>q-1){D=q-1;L=D*S}F=D;K=F+q-P}nb=(N>1||L?V:-1)&n.$DragOrientation;Tb.Vd&&b.$Css(y,Tb.Vd,([g,"pan-y","pan-x","none"])[nb]||"");if(fc)E=new Hb(Mb,J,I,lb,vb,Ib);for(var k=0;k