(function(j,h,c,g,d,k,e){/*! Jssor */ 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={Ye:"ontouchstart"in j||"createTouch"in h};var a;if(E.pointerEnabled||(a=E.msPointerEnabled))O.sd=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.Eb(e,d);b.kc(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.U(h,"mouseup",c);i.U(h,"touchend",c);i.U(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.Vc=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.lg(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.gc=function(a){return new Gb(a)};i.$Css=x;i.Ob=m("overflow");i.I=m("top",2);i.ue=m("right",2);i.ve=m("bottom",2);i.L=m("left",2);i.$CssWidth=m("width",2);i.$CssHeight=m("height",2);i.Ag=m("marginLeft",2);i.yg=m("marginTop",2);i.K=m("position");i.nb=m("display");i.z=m("zIndex",1);i.uc=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.Be=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.se=L={$Opacity:i.uc,$Top:i.I,$Right:i.ue,$Bottom:i.ve,$Left:i.L,v:i.$CssWidth,u:i.$CssHeight,wb:i.K,Jc:i.nb,$ZIndex:i.z};i.cd=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.rb(p(-d/2,-a/2)),f=b.rb(p(d/2,-a/2)),g=b.rb(p(d/2,a/2)),h=b.rb(p(-d/2,a/2));b.rb(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.yh;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.ng(u);c.xe(a.$SkewX,a.$SkewY);c.$Scale(l,m,g);if(b){c.$Move(a.C,a.B);d.style[j]=c.ge()}else if(!A||A<9){var o="",h={x:0,y:0};if(a.$OriginalWidth)h=k(c,a.$OriginalWidth,a.$OriginalHeight);i.yg(d,h.y);i.Ag(d,h.x);o=c.he();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.C,k=c.B,h;n(L,function(a,b){h=c[b];h!==e&&a(f,h)});i.dg(f,c.$Clip);if(!b){j!=e&&i.L(f,(c.Vd||0)+j);k!=e&&i.I(f,(c.Wd||0)+k)}if(c.Zd)if(d)yb(i.$CreateCallback(g,R,f,c));else a(f,c)};i.bc=R;if(d)i.bc=s;if(f)i.bc=a;else if(!b)a=R;i.N=s;s(h,l)}i.bc=s;i.N=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.ng=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.xe=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.rb=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.ge=function(){return"matrix3d("+b.join(",")+")"};d.he=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.C||j.B)&&s!=0&&s!=1)a.$Rotate=a.$Rotate||1e-8;a.Zd=d}}if(j.$Clip&&o.$Move){var p=a.$Clip.Yb,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.B&&!a.$Clip.C&&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({sc:a,Pc:b})}function g(a,c){b.$Each(d,function(b,e){b.sc==a&&b.Pc===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.sc==a&&b.Pc.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.Pd(O,J,m,H,G,I,g);if(w)b.$Each(n,function(b,a){w[a]&&w[a](L,b)});else b.N(L,n)}a.Gc(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.D(l-z)});h=j;y=d;a.lc(r,q)}}}function E(a,b,d){b&&a.$Shift(f);if(!d){e=c.min(e,a.mc()+z);f=c.max(f,a.qb()+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.W(),e=c.min(d-B,g.qd),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.$FormationSquare=function(i){var a=i.$Cols||1,b=i.$Rows||1,j=[],d,e,f,h,k;f=ab?(a-b)/2:0;k=c.round(c.max(a/2,b/2))+1;for(d=0;d1||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.Yb={};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.C+=n*a.x*L;if(a.y)e.B+=l*a.y*M;b.$Each(e,function(a,c){if(b.Tb(a))if(a!=f[c])r[c]=a-f[c]});u[v]=j?f:e;var D=a.le,y=c.round(m*a.$Delay/a.$Interval);h[v]=new Array(y);h[v].ie=y;h[v].me=y+D-1;for(var F=0;F<=D;F++){var E=b.Pd(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.N(a,u[d]);b.Ob(a,"hidden");b.K(a,"absolute");z.ke(a);m[d]=a;b.A(a,!j)})})}function w(){var a=this,b=0;l.call(a,0,v);a.lc=function(c,a){if(a-b>i){b=a;e&&e.fc(a);h&&h.fc(a)}};a.xc=r}a.be=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].mb=a);return b[a]};a.ee=function(x,y,k,l,b,t){a.pb();r=b;b=j(b,i,t);var g=l.Id,f=k.Id;g["no-image"]=!l.nc;f["no-image"]=!k.nc;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.fc(0);e.fc(0);v=c.max(h.Cd,e.Cd);a.mb=x};a.pb=function(){m.pb();h=g;e=g};a.ze=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={jc: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].Vc(a==l)}function v(a){f.j(p.jc,a*q)}f.$Elmt=a;f.Ac=function(a){if(a!=t){var d=l,b=c.floor(a/q);l=b;t=a;x(d);x(b)}};f.yc=function(c){b.A(a,c)};var w;f.Cc=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;l.j(p.jc,b,k,d)}}h.mb=f;h.Rd=o;j=n.Ce||n.nc||b.$CreateDiv();h.Qb=c=b.Yc(u,"thumbnailtemplate",j,d);m=b.gc(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))}l.Ac=function(a,f,d){if(a!=s){var b=s;s=a;b!=-1&&y[b].Rd();y[a].Rd()}!d&&t.$PlayTo(t.Kd(c.floor(a/e)))};l.yc=function(a){b.A(f,a)};var C;l.Cc=function(F,G){if(!C){x=F;A=c.ceil(x/e);s=-1;var g=a.$Orientation&1;j=j||c.ceil((B+q)/(w+q)*g+(z+r)/(v+r)*(1-g));j=c.min(j,A);var u=w+(w+q)*(e-1)*(1-g),p=v+(v+r)*(e-1)*g,o=u+(u+q)*(j-1)*g,n=p+(p+r)*(j-1)*(1-g);o=c.min(B,o);n=c.min(z,n);b.K(h,"absolute");b.Ob(h,"hidden");b.$CssWidth(h,o);b.$CssHeight(h,n);b.Qc(h,3);var m=[];b.$Each(G,function(k,f){var i=new D(k,f),d=i.Qb,a=c.floor(f/e),j=f%e;b.L(d,(w+q)*j*(1-g));b.I(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 E=b.q({$AutoPlay:0,$NaviQuitDrag:k,$SlideWidth:u,$SlideHeight:p,$SlideSpacing:q*g+r*(1-g),$MinDragOffsetToSlide:12,$SlideDuration:200,$PauseOnHover:1,$Cols:j,$PlayOrientation:a.$Orientation,$DragOrientation:a.$NoDrag||a.$DisableDrag?0:a.$Orientation},a);t=new i(f,E);l.bg=t.bg;C=d}};l.Xb=a=b.q({$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.kc(u,h);e=a.$Rows||1;q=a.$SpacingX;r=a.$SpacingY;j=a.$Cols;a.$Scale==k&&n.R(f,m.Pb,1);a.$AutoCenter&=a.$Orientation;a.$AutoCenter&&n.R(f,m.ob,a.$AutoCenter);n.dc(f)};function r(e,d,c){var a=this;l.call(a,0,c);a.bd=b.Uc;a.Tc=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.Bd(d))d=q(d,c||f=="e");else if(c)if(b.Tb(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.T(c,"t")];d&&a.push({$Elmt:c,xc:d});a=a.concat(s(c,e+1))});return a}function n(c,e){var a=p[c];if(a==g){a=p[c]={eb:c,Lc:[],Sc:[]};var d=0;!b.$Each(h,function(a,b){d=b;return a.eb>c})&&d++;h.splice(d,0,a)}return a}function y(s,t,h){var a,f;if(r){var m=r[b.T(s,"c")];if(m){a=n(m.r,0);a.ig=m.e||0}}b.$Each(t,function(i){var g=b.q(d,{},q(i)),j=b.Bc(g.$Easing);delete g.$Easing;if(g.$Left){g.C=g.$Left;j.C=j.$Left;delete g.$Left}if(g.$Top){g.B=g.$Top;j.B=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.Lc.push(k)}h=b.Ae(h,g)});if(a&&f){f.pe();var i=f,k,j=f.mc(),o=f.qb(),p=c.max(o,a.ig);if(a.ebj){i=new l(j,a.eb-j);i.O(f,d)}else i=g;k=new l(a.eb,p-j,{Nc:p-a.eb,Fe:d});k.O(f,d)}i&&a.Lc.push(i);k&&a.Sc.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.L(a),$Top:b.I(a),C:0,B: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.Vd=c.$Left;c.Wd=c.$Top;y(a,f.xc,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.Hd(f.d);return c}function z(e){var c=m.mc(),d=0;b.$Each(e,function(e,f){e=b.q({d:3e3},e);A(e,c,d);c=e.b;d+=e.d;if(!f||e.t==2){a.Tc=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(N1e-5){var f=c.floor(b);if(f!=b&&b>e&&(C&1||b>P))f++;ic(f,g,d)}a.j(i.$EVT_POSITION_CHANGE,g,t(e),b,e)}}function Ic(){var a=this;l.call(a,0,0,{Nc:q});b.$Each(B,function(b){C&1&&b.De(q);a.Ic(b);b.$Shift(T/ab)})}function Hc(){var a=this,b=Lb.$Elmt;l.call(a,-1,2,{$Easing:f.$Linear,Ee:{wb:nc},Nc:q},b,{wb:1},{wb:-2});a.Qb=b}function zc(o,m){var b=this,e,f,h,j,c;l.call(b,-1e8,2e8,{qd:100});b.vd=function(){bb=d;gb=g;a.j(i.$EVT_SWIPE_START,t(w.db()),w.db())};b.td=function(){bb=k;j=k;var b=w.Of();a.j(i.$EVT_SWIPE_END,t(w.db()),w.db());if(!A){Lc(b.Pf,s);(!b.wb||b.Qf)&&ic(s,b.Jc)}};b.lc=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.D(a)};b.Zb=function(a,d,c,g){e=a;f=d;h=c;w.D(a);b.D(0);b.ld(c,g)};b.Wf=function(a){j=d;c=a;b.$Play(a,g,d)};b.Xf=function(a){c=a};w=new Jc;w.O(o);w.O(m)}function Ac(){var c=this,a=lc();b.z(a,0);b.$Css(a,"pointerEvents","none");c.$Elmt=a;c.ke=function(c){b.$AppendChild(a,c);b.A(a)};c.pb=function(){b.V(a);b.zc(a)}}function Gc(m,f){var e=this,r,K,x,j,y=[],w,A,R,G,P,E,H,h,v,p;l.call(e,-M,M+1,{});function C(a){r&&r.bd();Q(m,a,0);E=d;r=new eb.$Class(m,eb,b.T(m,"idle",dc),!u);r.D(0)}function U(){r.FcJ||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.I(j,(I-l)/2);b.L(j,(J-m)/2)}b.K(j,"absolute");a.j(i.$EVT_LOAD_END,f)}}b.V(r);p&&p(e)}function T(g,b,c,d){if(d==gb&&s==f&&u)if(!Kc){var a=t(g);D.ee(a,f,b,e,c,I/J);b.og();jb.$Shift(a-jb.mc()-1);jb.D(a);z.Zb(a,a,0)}}function W(b){if(b==gb&&s==f){if(!h){var a=g;if(D)if(D.mb==f)a=D.ze();else D.pb();U();h=new Fc(m,f,a,r);h.Nd(p)}!h.$IsPlaying()&&h.Mc()}}function F(a,d,k){if(a==f){if(a!=d)B[d]&&B[d].Md();else!k&&h&&h.vg();p&&p.$Enable();var l=gb=b.W();e.Mb(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=M+n.$LazyLoading-1;(!P||o<=m)&&e.Mb()}}function X(){if(s==f&&h){h.lb();p&&p.$Quit();p&&p.$Disable();h.rd()}}function Z(){s==f&&h&&h.lb()}function V(b){!S&&a.j(i.$EVT_CLICK,f,b)}function O(){p=v.pInstance;h&&h.Nd(p)}e.Mb=function(e,c){c=c||x;if(y.length&&!G){b.A(c);if(!R){R=d;a.j(i.$EVT_LOAD_START,f);b.$Each(y,function(a){if(!b.$Attribute(a,"src")){a.src=b.$AttributeEx(a,"src2")||"";b.nb(a,a["display-origin"])}})}b.eg(y,j,b.$CreateCallback(g,N,e,c))}else N(e,c)};e.We=function(){if(q==1){e.Md();F(f,f)}else if(D){var a=D.be(q);if(a){var h=gb=b.W(),c=f+nb,d=B[t(c)];return d.Mb(b.$CreateCallback(g,T,c,d,a,h),x)}}else Nb(nb)};e.wc=function(){F(f,f,d)};e.Md=function(){p&&p.$Quit();p&&p.$Disable();e.ud();h&&h.af();h=g;C()};e.og=function(){b.V(m)};e.ud=function(){b.A(m)};e.ef=function(){p&&p.$Enable()};function Q(a,f,c,h){if(b.$Attribute(a,Fb))return;if(!E){if(a.tagName=="IMG"){y.push(a);if(!b.$Attribute(a,"src")){P=d;a["display-origin"]=b.nb(a);b.V(a)}}var e=b.Be(a);if(e){var g=new Image;b.$AttributeEx(g,"src2",e);y.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.zg(a,b.$AttributeEx(a,"to"));b.Uf(a,b.$AttributeEx(a,"bf"));H&&b.$AttributeEx(a,"3d")&&b.Tf(a,"preserve-3d")}}else if(!E&&!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){w=a;b.nb(w,"block");b.N(w,lb);A=b.$CloneNode(w,d);b.K(w,"relative");b.uc(A,0);b.$Css(A,"backgroundColor","#000")}}else if(e=="IMG"&&b.$AttributeEx(a,"u")=="image")j=a;if(j){j.border=0;b.N(j,lb)}}Q(a,f,c+1,h)})}e.Gc=function(c,b){var a=M-b;nc(K,a)};e.mb=f;o.call(e);H=b.$AttributeEx(m,"p");b.Sf(m,H);b.Vf(m,b.$AttributeEx(m,"po"));var L=b.$FindChild(m,"thumb",d);if(L){e.Ce=b.$CloneNode(L);b.V(L)}b.A(m);x=b.$CloneNode(Y);b.z(x,1e3);b.$AddEvent(m,"click",V);C(d);e.nc=j;e.kd=A;e.Id=m;e.Qb=K=m;b.$AppendChild(K,x);a.$On(203,F);a.$On(28,Z);a.$On(24,X)}function Fc(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.zc(U);pc&&m&&o.kd&&b.$AppendChild(U,o.kd);b.A(U,!m&&o.nc)}function x(){c.Mc()}function y(a){r=a;c.lb();c.Mc()}c.Mc=function(){var b=c.Z();if(!A&&!bb&&!r&&s==g){if(!b){if(h&&!m){m=d;c.rd(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.od();a.j(p,g,b,n,j,f,e);var l=u&&(!H||O);if(b==e)(f!=e&&!(H&12)||l)&&o.We();else(l||b!=f)&&c.ld(k,x)}};c.vg=function(){f==e&&f==c.Z()&&c.D(j)};c.af=function(){D&&D.mb==g&&D.pb();var b=c.Z();b=h){m=k;w();o.ud();D.pb();a.j(i.$EVT_SLIDESHOW_END,g,n,v,h,e)}a.j(i.$EVT_PROGRESS_CHANGE,g,b,n,j,f,e)};c.Nd=function(a){if(a&&!t){t=a;a.$On($JssorPlayer$.ye,y)}};p&&c.Ic(p);h=c.qb();c.Ic(q);j=h+q.Tc;e=c.qb();f=u?h+q.ed:e}function Hb(a,c,d){b.L(a,c);b.I(a,d)}function nc(c,b){var a=x>0?x:G,d=yb*b*(a&1),e=zb*b*(a>>1&1);Hb(c,d,e)}function Cb(a){if(!(C&1))a=c.min(K,c.max(a,E));return a}function Wb(a){return!(C&1)&&(a-E<.0001||K-a<.0001)}function cc(){Eb=bb;Ub=z.od();F=w.db()}function rc(){cc();if(A||!O&&H&12){z.lb();a.j(i.cf)}}function qc(g){if(!A&&(O||!(H&12))&&!z.$IsPlaying()){var b=w.db(),a=F,e=0;if(g&&c.abs(Q)>=n.$MinDragOffsetToSlide){a=b;e=ub}if(Wb(b)){if(!g||S)a=c.round(a)}else a=c.ceil(a);a=Cb(a+e);if(!(C&1)){if(K-a<.5)a=K;if(a-E<.5)a=E}var d=c.abs(a-b);if(d<1&&n.$SlideEasing!=f.$Linear)d=1-c.pow(1-d,5);if(!S&&Eb)z.qe(Ub);else if(b==a){Ib.ef();Ib.wc()}else z.Zb(b,a,d*wb)}}function Tb(a){!b.Hb(b.$EvtSrc(a),"nodrag")&&b.$CancelEvent(a)}function Dc(a){mc(a,1)}function mc(c,j){var f=b.$EvtSrc(c);xb=k;var l=b.Hb(f,"1",Vb);if((!l||l===v)&&!W&&(!j||c.touches.length==1)){xb=b.Hb(f,"nodrag")||!pb||!Ec();var n=b.Hb(f,e,m.Dc);if(n)Xb=b.$Attribute(n,m.Dc);if(j){var p=c.touches[0];Jb=p.clientX;Kb=p.clientY}else{var o=b.Xd(c);Jb=o.x;Kb=o.y}A=d;gb=g;b.$AddEvent(h,j?"touchmove":"mousemove",Qb);b.W();S=0;rc();if(!Eb)x=0;Q=0;tb=0;ub=0;a.j(i.$EVT_DRAG_START,t(F),F,c)}}function Qb(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 kb();else a=b.Xd(g);if(a){var e=a.x-Jb,f=a.y-Kb;if(x||c.abs(e)>1.5||c.abs(f)>1.5){if(c.floor(F)!=F)x=x||G&W;if((e||f)&&!x){if(W==3)if(c.abs(f)>c.abs(e))x=2;else x=1;else x=W;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(Q-tb<-1.5)ub=0;else if(Q-tb>1.5)ub=-1;tb=Q;Q=n;X=F-Q/i/Xb;if(!(C&1)){var l=0,j=[-F+P,0,F-q+V-P];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+X,m=k;j=[-h+P,0,h-q+V-P];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);X=a*(b-1)+P;if(b)X+=q-V;m=d}});if(!m)X=h}if(Q&&x&&!xb){b.$CancelEvent(g);if(!bb)z.Wf(X);else z.Xf(X)}}}}}function kb(){Bc();if(A){S=Q;b.W();b.U(h,"mousemove",Qb);b.U(h,"touchmove",Qb);S&&u&8&&(u=0);z.lb();A=k;var c=w.db();a.j(i.$EVT_DRAG_END,t(c),c,t(F),F);H&12&&cc();qc(d)}}function vc(c){var a=b.$EvtSrc(c),d=b.Hb(a,"1",Fb);if(v===d)if(S){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 Mc(d){if(d!=s){var b=qb.Z(),a=Cb(d),e=c.round(t(a));if(b-a<.5)a=b;B[s];s=e;Ib=B[s];w.D(a)}}function Lc(b,c){x=0;Mc(b);if(u&2&&(nb>0&&s==q-1||nb<0&&!s))u=0;a.j(i.$EVT_PARK,s,c)}function ic(a,d,e){if(!(C&1)){a=c.max(0,a);a=c.min(a,q-V+P);a=c.round(a)}a=t(a);b.$Each(hb,function(b){b.Ac(a,d,e)})}function Ec(){var b=i.nd||0,a=pb;i.nd|=a;return W=a&~b}function Bc(){if(W){i.nd&=~pb;W=0}}function lc(){var a=b.$CreateDiv();b.N(a,lb);b.K(a,"absolute");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 Mb(){b.$Each(hb,function(a){a.yc(a.Xb.$ChanceToShow<=O)})}function tc(){if(!O){O=1;Mb();if(!A){H&12&&qc();H&3&&B[s]&&B[s].wc()}}a.j(i.$EVT_MOUSE_LEAVE)}function sc(){if(O){O=0;Mb();A||!(H&12)||rc()}a.j(i.$EVT_MOUSE_ENTER)}function uc(){b.$Each(ib,function(a){b.N(a,lb);b.K(a,"absolute");b.Ob(a,"hidden");b.V(a)});b.N(Y,lb)}function Nb(b,a){Ab(b,a,d)}function Ab(l,g,m,o){if(!A&&(O||!(H&12))||n.$NaviQuitDrag){bb=d;A=k;z.lb();if(g==e)g=wb;var b=t(qb.Z()),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-E)<.0001||a>q-V&&c.abs(b-K)<.0001))a=a<0?K:E;a=Cb(a);if(K-a<.5)a=K;if(a-E<.5)a=E}var j=(a-b)%q;a=b+j;var h=b==a?0:g*c.abs(j),i=1;if(M>1)i=(G&1?fb:db)/ab;h=c.min(h,g*i*1.5);z.Zb(b,a,h||1)}}a.$SlidesCount=function(){return ib.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].wc()}};a.$IsDragging=function(){return A};a.$IsSliding=function(){return bb};a.$IsMouseOver=function(){return!O};a.ne=function(){return S};a.$OriginalWidth=function(){return N};a.$OriginalHeight=function(){return L};a.$ScaleHeight=function(b){if(b==e)return kc||L;a.$ScaleSize(b/L*N,b)};a.$ScaleWidth=function(b){if(b==e)return Pb||N;a.$ScaleSize(b,b/N*L)};a.$ScaleSize=function(c,a,d){b.$CssWidth(v,c);b.$CssHeight(v,a);oc=c/N;jc=a/L;b.$Each(ac,function(a){a.$ScaleSize(oc,jc,d)});if(!Pb){b.Eb(Z,y);b.I(Z,0);b.L(Z,0)}Pb=c;kc=a};a.re=function(a){return c.abs(a-E)<.0001};a.oe=function(a){return c.abs(a-K)<.0001};a.$PlayTo=Ab;a.$GoTo=function(a){z.Zb(a,a,0)};a.$Next=function(){Nb(1)};a.$Prev=function(){Nb(-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){eb.$Transitions=a;eb.Fc=b.W()};a.Kd=function(a){a=t(a);if(C&1){var d=T/ab,b=t(qb.Z()),e=t(a-b+d),f=t(c.abs(a-b));if(e>=M){if(f>q/2)if(a>b)a-=q;else a+=q}else if(a>b&&ed)a+=q}return a};a.oc=function(O,m){a.$Elmt=v=b.$GetElement(O);N=b.$CssWidth(v);L=b.$CssHeight(v);n=b.q({$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},m);n.$HWA=n.$HWA&&b.wg();if(n.$Idle!=e)n.$AutoPlayInterval=n.$Idle;if(n.$DisplayPieces!=e)n.$Cols=n.$DisplayPieces;if(n.$ParkingPosition!=e)n.$Align=n.$ParkingPosition;G=n.$PlayOrientation&3;mb=n.$SlideshowOptions;eb=b.q({$Class:r},n.$CaptionSliderOptions);sb=n.$BulletNavigatorOptions;cb=n.$ArrowNavigatorOptions;R=n.$ThumbnailNavigatorOptions;!n.$UISearchMode;var s=b.$Children(v);b.$Each(s,function(a,d){var c=b.$AttributeEx(a,"u");if(c=="loading")Y=a;else{if(c=="slides")y=a;if(c=="navigator")Db=a;if(c=="arrowleft")Rb=a;if(c=="arrowright")Ob=a;if(c=="thumbnavigator")rb=a;if(a.tagName!="STYLE"&&a.tagName!="SCRIPT")ac[c||d]=new wc(a,c=="slides",b.mg(["slides","thumbnavigator"])[c])}});Y=Y||b.$CreateDiv(h);fb=b.$CssWidth(y);db=b.$CssHeight(y);J=n.$SlideWidth||fb;I=n.$SlideHeight||db;lb={v:J,u:I,$Top:0,$Left:0};ob=n.$SlideSpacing;yb=J+ob;zb=I+ob;ab=G&1?yb:zb;nb=n.$AutoPlaySteps;H=n.$PauseOnHover;dc=n.$AutoPlayInterval;wb=n.$SlideDuration;Lb=new Ac;if(n.$HWA&&(!b.$IsBrowserFireFox()||vb))Hb=function(a,c,d){b.bc(a,{$TranslateX:c,$TranslateY:d})};u=n.$AutoPlay&63;a.Xb=m;b.$Attribute(v,Fb,"1");b.z(y,b.z(y)||0);b.K(y,"absolute");Z=b.$CloneNode(y,d);b.Eb(Z,y);jb=new Hc;b.$AppendChild(Z,jb.Qb);b.Ob(y,"hidden");H&=vb?10:5;var x=b.$Children(y);b.$Each(x,function(a){a.tagName=="DIV"&&!b.$AttributeEx(a,"u")&&ib.push(a);b.z(a,(b.z(a)||0)+1)});U=lc();b.$Css(U,"backgroundColor","#000");b.uc(U,0);b.z(U,0);b.Eb(U,y.firstChild,y);q=ib.length;var l=c.ceil(((G&1?fb:db)+ob)/ab);if(n.$Cols)l=n.$Cols;M=c.min(q,l);V=((G&1)*fb+(G&2)*db/2+ob)/ab;gc=M1&&Gb&&(!b.$IsBrowserIE()||b.$BrowserVersion()>=9)}if(!(C&1)){P=T/ab;E=P;K=E+q-V}pb=(M>1||T?G:-1)&n.$DragOrientation;Sb.sd&&b.$Css(y,Sb.sd,([g,"pan-y","pan-x","none"])[pb]||"");if(ec)D=new Gb(Lb,J,I,mb,vb,Hb);for(var i=0;i