text: ﻿(function(g,f,b,e,c,d,h){/*! Jssor */
  new(function(){this.$DebugMode=c;this.$Log=function(c,d){var a=g.console||{},b=this.$DebugMode;if(b&&a.log)a.log(c);else b&&d&&alert(c)};this.$Error=function(b,d){var c=g.console||{},a=this.$DebugMode;if(a&&c.error)c.error(b);else a&&alert(b);if(a)throw d||new Error(b);};this.$Fail=function(a){throw new Error(a);};this.$Assert=function(b,c){var a=this.$DebugMode;if(a)if(!b)throw new Error("Assert failed "+c||"");};this.$Trace=function(c){var a=g.console||{},b=this.$DebugMode;b&&a.log&&a.log(c)};this.$Execute=function(b){var a=this.$DebugMode;a&&b()};this.$LiveStamp=function(c,d){var b=this.$DebugMode;if(b){var a=f.createElement("DIV");a.setAttribute("id",d);c.$Live=a}};this.$C_AbstractMethod=function(){throw new Error("The method is abstract, it should be implemented by subclass.");};function a(b){if(b.constructor===a.caller)throw new Error("Cannot create instance of an abstract class.");}this.$C_AbstractClass=a});var i=function(c,d){var a=this;a.x=c;a.y=d;a.$Plus=function(a){return new i(c+a.x,d+a.y)};a.$Minus=function(a){return new i(c-a.x,d-a.y)};a.$Times=function(a){return new i(c*a,d*a)};a.$Divide=function(a){return new i(c/a,d/a)};a.$Negate=function(){return new i(-c,-d)};a.$DistanceTo=function(a){return b.sqrt(b.pow(c-a.x,2)+b.pow(d-a.y,2))};a.$Apply=function(a){return new i(a(c),a(d))};a.$Equals=function(a){return a instanceof i&&c===a.x&&d===a.y};a.$ToString=function(){return"("+c+","+d+")"}},l=g.$JssorEasing$={$EaseLinear:function(a){return a},$EaseGoBack:function(a){return 1-b.abs(2-1)},$EaseSwing:function(a){return-b.cos(a*b.PI)/2+.5},$EaseInQuad:function(a){return a*a},$EaseOutQuad:function(a){return-a*(a-2)},$EaseInOutQuad:function(a){return(a*=2)<1?1/2*a*a:-1/2*(--a*(a-2)-1)},$EaseInCubic:function(a){return a*a*a},$EaseOutCubic:function(a){return(a-=1)*a*a+1},$EaseInOutCubic:function(a){return(a*=2)<1?1/2*a*a*a:1/2*((a-=2)*a*a+2)},$EaseInQuart:function(a){return a*a*a*a},$EaseOutQuart:function(a){return-((a-=1)*a*a*a-1)},$EaseInOutQuart:function(a){return(a*=2)<1?1/2*a*a*a*a:-1/2*((a-=2)*a*a*a-2)},$EaseInQuint:function(a){return a*a*a*a*a},$EaseOutQuint:function(a){return(a-=1)*a*a*a*a+1},$EaseInOutQuint:function(a){return(a*=2)<1?1/2*a*a*a*a*a:1/2*((a-=2)*a*a*a*a+2)},$EaseInSine:function(a){return 1-b.cos(a*b.PI/2)},$EaseOutSine:function(a){return b.sin(a*b.PI/2)},$EaseInOutSine:function(a){return-1/2*(b.cos(b.PI*a)-1)},$EaseInExpo:function(a){return a==0?0:b.pow(2,10*(a-1))},$EaseOutExpo:function(a){return a==1?1:-b.pow(2,-10*a)+1},$EaseInOutExpo:function(a){return a==0||a==1?a:(a*=2)<1?1/2*b.pow(2,10*(a-1)):1/2*(-b.pow(2,-10*--a)+2)},$EaseInCirc:function(a){return-(b.sqrt(1-a*a)-1)},$EaseOutCirc:function(a){return b.sqrt(1-(a-=1)*a)},$EaseInOutCirc:function(a){return(a*=2)<1?-1/2*(b.sqrt(1-a*a)-1):1/2*(b.sqrt(1-(a-=2)*a)+1)},$EaseInElastic:function(a){if(!a||a==1)return a;var c=.3,d=.075;return-(b.pow(2,10*(a-=1))*b.sin((a-d)*2*b.PI/c))},$EaseOutElastic:function(a){if(!a||a==1)return a;var c=.3,d=.075;return b.pow(2,-10*a)*b.sin((a-d)*2*b.PI/c)+1},$EaseInOutElastic:function(a){if(!a||a==1)return a;var c=.45,d=.1125;return(a*=2)<1?-.5*b.pow(2,10*(a-=1))*b.sin((a-d)*2*b.PI/c):b.pow(2,-10*(a-=1))*b.sin((a-d)*2*b.PI/c)*.5+1},$EaseInBack:function(a){var b=1.70158;return a*a*((b+1)*a-b)},$EaseOutBack:function(a){var b=1.70158;return(a-=1)*a*((b+1)*a+b)+1},$EaseInOutBack: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)},$EaseInBounce:function(a){return 1-l.$EaseOutBounce(1-a)},$EaseOutBounce: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},$EaseInOutBounce:function(a){return a<1/2?l.$EaseInBounce(a*2)*.5:l.$EaseOutBounce(a*2-1)*.5+.5},$EaseInWave:function(a){return 1-b.cos(a*b.PI*2)},$EaseOutWave:function(a){return b.sin(a*b.PI*2)},$EaseOutJump:function(a){return 1-((a*=2)<1?(a=1-a)*a*a:(a-=1)*a*a)},$EaseInJump:function(a){return(a*=2)<1?a*a*a:(a=2-a)*a*a}},p=g.$JssorDirection$={$TO_LEFT:1,$TO_RIGHT:2,$TO_TOP:4,$TO_BOTTOM:8,$HORIZONTAL:3,$VERTICAL:12,$LEFTRIGHT:3,$TOPBOTOM:12,$TOPLEFT:5,$TOPRIGHT:6,$BOTTOMLEFT:9,$BOTTOMRIGHT:10,$AROUND:15,$GetDirectionHorizontal:function(a){return a&3},$GetDirectionVertical:function(a){return a&12},$ChessHorizontal:function(a){return(~a&3)+(a&12)},$ChessVertical:function(a){return(~a&12)+(a&3)},$IsToLeft:function(a){return(a&3)==1},$IsToRight:function(a){return(a&3)==2},$IsToTop:function(a){return(a&12)==4},$IsToBottom:function(a){return(a&12)==8},$IsHorizontal:function(a){return(a&3)>0},$IsVertical:function(a){return(a&12)>0}},q={$BACKSPACE:8,$COMMA:188,$DELETE:46,$DOWN:40,$END:35,$ENTER:13,$ESCAPE:27,$HOME:36,$LEFT:37,$NUMPAD_ADD:107,$NUMPAD_DECIMAL:110,$NUMPAD_DIVIDE:111,$NUMPAD_ENTER:108,$NUMPAD_MULTIPLY:106,$NUMPAD_SUBTRACT:109,$PAGE_DOWN:34,$PAGE_UP:33,$PERIOD:190,$RIGHT:39,$SPACE:32,$TAB:9,$UP:38},n,j,a=g.$Jssor$=new function(){var j=this,L=/\S+/g,nb=1,F=2,F=3,gb=4,kb=5,r=0,m=0,v=0,Z=0,y=0,rb=navigator.appName,l=navigator.userAgent,q=f.documentElement,B;function D(){if(!r)if(rb=="Microsoft Internet Explorer"&&!!g.attachEvent&&!!g.ActiveXObject){var d=l.indexOf("MSIE");r=nb;v=o(l.substring(d+5,l.indexOf(";",d)));/*@cc_on Z=@_jscript_version@*/;m=f.documentMode||v}else if(rb=="Netscape"&&!!g.addEventListener){var c=l.indexOf("Firefox"),a=l.indexOf("Safari"),h=l.indexOf("Chrome"),b=l.indexOf("AppleWebKit");if(c>=0){r=F;m=o(l.substring(c+8))}else if(a>=0){var i=l.substring(0,a).lastIndexOf("/");r=h>=0?gb:F;m=o(l.substring(i+1,a))}if(b>=0)y=o(l.substring(b+12))}else{var e=/(opera)(?:.*version|)[ \/]([\w.]+)/i.exec(l);if(e){r=kb;m=o(e[2])}}}function t(){D();return r==nb}function N(){return t()&&(m<6||f.compatMode=="BackCompat")}function sb(){D();return r==F}function P(){D();return r==F}function fb(){D();return r==gb}function jb(){D();return r==kb}function ab(){return P()&&y>534&&y<535}function tb(){return P()&&y<535}function A(){return t()&&m<9}function w(a){if(!B){k(["transform","WebkitTransform","msTransform","MozTransform","OTransform"],function(b){if(a.style[b]!=h){B=b;return c}});B=B||"transform"}return B}function pb(a){return Object.prototype.toString.call(a)}var I;function k(a,d){if(pb(a)=="[object Array]"){for(var b=0;b<a.length;b++)if(d(a[b],b,a))return c}else for(var e in a)if(d(a[e],e,a))return c}function xb(){if(!I){I={};k(["Boolean","Number","String","Function","Array","Date","RegExp","Object"],function(a){I["[object "+a+"]"]=a.toLowerCase()})}return I}function z(a){return a==e?String(a):xb()[pb(a)]||"object"}function yb(a){if(!a||z(a)!=="object"||a.nodeType||j.$IsWindow(a))return d;var b=Object.prototype.hasOwnProperty;try{if(a.constructor&&!b.call(a,"constructor")&&!b.call(a.constructor.prototype,"isPrototypeOf"))return d}catch(e){return d}var c;for(c in a);return c===h||b.call(a,c)}function qb(b,a){setTimeout(b,a||0)}function G(b,d,c){var a=!b||b=="inherit"?"":b;k(d,function(c){var b=c.exec(a);if(b){var d=a.substr(0,b.index),e=a.substr(b.lastIndex+1,a.length-(b.lastIndex+1));a=d+e}});a=c+(a.indexOf(" ")!=0?" ":"")+a;return a}function db(b,a){if(m<9)b.style.filter=a}function ub(b,a,c){if(Z<9){var e=b.style.filter,g=new RegExp(/[\s]*progid:DXImageTransform\.Microsoft\.Matrix\([^\)]*\)/g),f=a?"progid:DXImageTransform.Microsoft.Matrix(M11="+a[0][0]+", M12="+a[0][1]+", M21="+a[1][0]+", M22="+a[1][1]+", SizingMethod='auto expand')":"",d=G(e,[g],f);db(b,d);j.$CssMarginTop(b,c.y);j.$CssMarginLeft(b,c.x)}}j.$IsBrowserIE=t;j.$IsBrowserIeQuirks=N;j.$IsBrowserFireFox=sb;j.$IsBrowserSafari=P;j.$IsBrowserChrome=fb;j.$IsBrowserOpera=jb;j.$IsBrowserBadTransform=ab;j.$IsBrowserSafeHWA=tb;j.$IsBrowserIe9Earlier=A;j.$BrowserVersion=function(){return m};j.$BrowserEngineVersion=function(){return v||m};j.$WebKitVersion=function(){return y};j.$Delay=qb;j.$Inherit=function(a,b){b.apply(a,[].slice.call(arguments,2));return V({},a)};function ob(a){a.constructor===ob.caller&&a.$Construct&&a.$Construct()}j.$Construct=ob;j.$GetElement=function(a){if(j.$IsString(a))a=f.getElementById(a);return a};function u(a){return a||g.event}u=u;j.$EventSrc=function(a){a=u(a);return a.target||a.srcElement||f};j.$EventDst=function(a){a=u(a);return a.relatedTarget||a.toElement};j.$MousePosition=function(a){a=u(a);var b=f.body;return{x:a.pageX||a.clientX+(q.scrollLeft||b.scrollLeft||0)-(q.clientLeft||b.clientLeft||0)||0,y:a.pageY||a.clientY+(q.scrollTop||b.scrollTop||0)-(q.clientTop||b.clientTop||0)||0}};j.$PageScroll=function(){var a=f.body;return{x:(g.pageXOffset||q.scrollLeft||a.scrollLeft||0)-(q.clientLeft||a.clientLeft||0),y:(g.pageYOffset||q.scrollTop||a.scrollTop||0)-(q.clientTop||a.clientTop||0)}};j.$WindowSize=function(){var a=f.body;return{x:a.clientWidth||q.clientWidth,y:a.clientHeight||q.clientHeight}};function E(c,d,a){if(a!=h)c.style[d]=a;else{var b=c.currentStyle||c.style;a=b[d];if(a==""&&g.getComputedStyle){b=c.ownerDocument.defaultView.getComputedStyle(c,e);b&&(a=b.getPropertyValue(d)||b[d])}return a}}function W(b,c,a,d){if(a!=h){d&&(a+="px");E(b,c,a)}else return o(E(b,c))}function Bb(b,d,a){return W(b,d,a,c)}function p(d,a){var b=a&2,c=a?W:E;return function(e,a){return c(e,d,a,b)}}function vb(b){if(t()&&v<9){var a=/opacity=([^)]*)/.exec(b.style.filter||"");return a?o(a[1])/100:1}else return o(b.style.opacity||"1")}function wb(c,a,f){if(t()&&v<9){var h=c.style.filter||"",i=new RegExp(/[\s]*alpha\([^\)]*\)/g),e=b.round(100*a),d="";if(e<100||f)d="alpha(opacity="+e+") ";var g=G(h,[i],d);db(c,g)}else c.style.opacity=a==1?"":b.round(a*100)/100}function Y(f,a){var d=a.$Rotate||0,c=a.$Scale==h?1:a.$Scale;if(A()){var k=j.$CreateMatrix(d/180*b.PI,c,c);ub(f,!d&&c==1?e:k,j.$GetMatrixOffset(k,a.$OriginalWidth,a.$OriginalHeight))}else{var g=w(f);if(g){var i="rotate("+d%360+"deg) scale("+c+")";if(fb()&&y>535)i+=" perspective(2000px)";f.style[g]=i}}}j.$SetStyleTransform=function(b,a){if(ab())qb(j.$CreateCallback(e,Y,b,a));else Y(b,a)};j.$SetStyleTransformOrigin=function(b,c){var a=w(b);if(a)b.style[a+"Origin"]=c};j.$CssScale=function(a,c){if(t()&&v<9||v<10&&N())a.style.zoom=c==1?"":c;else{var b=w(a);if(b){var f="scale("+c+")",e=a.style[b],g=new RegExp(/[\s]*scale\(.*?\)/g),d=G(e,[g],f);a.style[b]=d}}};j.$EnableHWA=function(a){if(!a.style[w(a)]||a.style[w(a)]=="none")a.style[w(a)]="perspective(2000px)"};j.$DisableHWA=function(a){a.style[w(a)]="none"};var ib=0,eb=0;j.$WindowResizeFilter=function(b,a){return A()?function(){var h=c,e=N()?b.document.body:b.document.documentElement;if(e){var g=e.offsetWidth-ib,f=e.offsetHeight-eb;if(g||f){ib+=g;eb+=f}else h=d}h&&a()}:a};j.$MouseOverOutFilter=function(b,a){return function(c){c=u(c);var e=c.type,d=c.relatedTarget||(e=="mouseout"?c.toElement:c.fromElement);(!d||d!==a&&!j.$IsChild(a,d))&&b(c)}};j.$AddEvent=function(a,c,d,b){a=j.$GetElement(a);if(a.addEventListener){c=="mousewheel"&&a.addEventListener("DOMMouseScroll",d,b);a.addEventListener(c,d,b)}else if(a.attachEvent){a.attachEvent("on"+c,d);b&&a.setCapture&&a.setCapture()}};j.$RemoveEvent=function(a,c,d,b){a=j.$GetElement(a);if(a.removeEventListener){c=="mousewheel"&&a.removeEventListener("DOMMouseScroll",d,b);a.removeEventListener(c,d,b)}else if(a.detachEvent){a.detachEvent("on"+c,d);b&&a.releaseCapture&&a.releaseCapture()}};j.$FireEvent=function(c,b){var a;if(f.createEvent){a=f.createEvent("HTMLEvents");a.initEvent(b,d,d);c.dispatchEvent(a)}else{var e="on"+b;a=f.createEventObject();c.fireEvent(e,a)}};j.$AddEventBrowserMouseUp=function(b,a){j.$AddEvent(A()?f:g,"mouseup",b,a)};j.$RemoveEventBrowserMouseUp=function(b,a){j.$RemoveEvent(A()?f:g,"mouseup",b,a)};j.$CancelEvent=function(a){a=u(a);a.preventDefault&&a.preventDefault();a.cancel=c;a.returnValue=d};j.$StopEvent=function(a){a=u(a);a.stopPropagation&&a.stopPropagation();a.cancelBubble=c};j.$CreateCallback=function(d,c){var a=[].slice.call(arguments,2),b=function(){var b=a.concat([].slice.call(arguments,0));return c.apply(d,b)};return b};var J;j.$FreeElement=function(b){if(!J)J=j.$CreateDiv();if(b){a.$AppendChild(J,b);a.$ClearInnerHtml(J)}};j.$InnerText=function(a,b){if(b==h)return a.textContent||a.innerText;var c=f.createTextNode(b);j.$ClearInnerHtml(a);a.appendChild(c)};j.$InnerHtml=function(a,b){if(b==h)return a.innerHTML;a.innerHTML=b};j.$GetClientRect=function(b){var a=b.getBoundingClientRect();return{x:a.left,y:a.top,w:a.right-a.left,h:a.bottom-a.top}};j.$ClearInnerHtml=function(a){a.innerHTML=""};j.$EncodeHtml=function(b){var a=j.$CreateDiv();j.$InnerText(a,b);return j.$InnerHtml(a)};j.$DecodeHtml=function(b){var a=j.$CreateDiv();j.$InnerHtml(a,b);return j.$InnerText(a)};j.$SelectElement=function(c){var b;if(g.getSelection)b=g.getSelection();var a=e;if(f.createRange){a=f.createRange();a.selectNode(c)}else{a=f.body.createTextRange();a.moveToElementText(c);a.select()}b&&b.addRange(a)};j.$DeselectElements=function(){if(f.selection)f.selection.empty();else g.getSelection&&g.getSelection().removeAllRanges()};j.$Children=function(c){for(var b=[],a=c.firstChild;a;a=a.nextSibling)a.nodeType==1&&b.push(a);return b};function hb(a,c,b,f){if(!b)b="u";for(a=a?a.firstChild:e;a;a=a.nextSibling)if(a.nodeType==1){if(S(a,b)==c)return a;if(f){var d=hb(a,c,b,f);if(d)return d}}}j.$FindFirstChild=hb;function bb(a,c,d){for(a=a?a.firstChild:e;a;a=a.nextSibling)if(a.nodeType==1){if(a.tagName==c)return a;if(d){var b=bb(a,c,d);if(b)return b}}}j.$FindFirstChildByTag=bb;function cb(a,d,g){var b=[];for(a=a?a.firstChild:e;a;a=a.nextSibling)if(a.nodeType==1){(!d||a.tagName==d)&&b.push(a);if(g){var f=cb(a,d,c);if(f.length)b=b.concat(f)}}return b}j.$FindChildrenByTag=cb;j.$GetElementsByTag=function(b,a){return b.getElementsByTagName(a)};function V(c){for(var b=1;b<arguments.length;b++){var a=arguments[b];if(a)for(var d in a)c[d]=a[d]}return c}j.$Extend=V;function Ab(b,d){var c={};for(var a in b)if(b[a]!=d[a])c[a]=b[a];return c}j.$Unextend=Ab;j.$IsUndefined=function(a){return z(a)=="undefined"};j.$IsFunction=function(a){return z(a)=="function"};j.$IsArray=function(a){return z(a)=="array"};j.$IsString=function(a){return z(a)=="string"};j.$IsNumeric=function(a){return!isNaN(o(a))&&isFinite(a)};j.$IsWindow=function(a){return a&&a==a.window};j.$Type=z;j.$Each=k;j.$IsPlainObject=yb;function Q(a){return f.createElement(a)}j.$CreateElement=Q;j.$CreateDiv=function(){return Q("DIV",f)};j.$CreateSpan=function(){return Q("SPAN",f)};j.$EmptyFunction=function(){};function T(b,c,a){if(a==h)return b.getAttribute(c);b.setAttribute(c,a)}function S(a,b){return T(a,b)||T(a,"data-"+b)}j.$Attribute=T;j.$AttributeEx=S;function s(b,a){if(a==h)return b.className;b.className=a}j.$ClassName=s;function K(b){var a={};k(b,function(b){a[b]=b});return a}j.$ToHash=K;function X(b,c){var a="";k(c,function(c){a&&(a+=b);a+=c});return a}j.$Join=X;j.$AddClass=function(a,c){var b=s(a)+" "+c;s(a,X(" ",K(b.match(L))))};j.$RemoveClass=function(a,b){s(a,X(" ",j.$Unextend(K(s(a).match(L)),K(b.match(L)))))};j.$ParentNode=function(a){return a.parentNode};j.$HideElement=function(a){j.$CssDisplay(a,"none")};j.$HideElements=function(b){for(var a=0;a<b.length;a++)j.$HideElement(b[a])};j.$ShowElement=function(a,b){j.$CssDisplay(a,b==d?"none":"")};j.$ShowElements=function(b){for(var a=0;a<b.length;a++)j.$ShowElement(b[a])};j.$RemoveAttribute=function(b,a){b.removeAttribute(a)};j.$CanClearClip=function(){return t()&&m<10};j.$SetStyleClip=function(d,c){if(c)d.style.clip="rect("+b.round(c.$Top)+"px "+b.round(c.$Right)+"px "+b.round(c.$Bottom)+"px "+b.round(c.$Left)+"px)";else{var g=d.style.cssText,f=[new RegExp(/[\s]*clip: rect\(.*?\)[;]?/i),new RegExp(/[\s]*cliptop: .*?[;]?/i),new RegExp(/[\s]*clipright: .*?[;]?/i),new RegExp(/[\s]*clipbottom: .*?[;]?/i),new RegExp(/[\s]*clipleft: .*?[;]?/i)],e=G(g,f,"");a.$CssCssText(d,e)}};j.$GetNow=function(){return+new Date};j.$AppendChild=function(b,a){b.appendChild(a)};j.$AppendChildren=function(b,a){k(a,function(a){j.$AppendChild(b,a)})};j.$InsertBefore=function(c,b,a){c.insertBefore(b,a)};j.$InsertAdjacentHtml=function(b,a,c){b.insertAdjacentHTML(a,c)};j.$RemoveChild=function(b,a){b.removeChild(a)};j.$RemoveChildren=function(b,a){k(a,function(a){j.$RemoveChild(b,a)})};j.$ClearChildren=function(a){j.$RemoveChildren(a,j.$Children(a))};j.$ParseInt=function(b,a){return parseInt(b,a||10)};function o(a){return parseFloat(a)}j.$ParseFloat=o;j.$IsChild=function(b,a){var c=f.body;while(a&&b!=a&&c!=a)try{a=a.parentNode}catch(e){return d}return b==a};function U(b,a){return b.cloneNode(a)}j.$CloneNode=U;function M(a){if(a){var b=a.$FlyDirection;if(b&1)a.x=a.$ScaleHorizontal||1;if(b&2)a.x=-a.$ScaleHorizontal||-1;if(b&4)a.y=a.$ScaleVertical||1;if(b&8)a.y=-a.$ScaleVertical||-1;M(a.$Brother)}}j.$TranslateTransitions=function(a){if(a){for(var b=0;b<a.length;b++)M(a[b]);for(var c in a)M(a[c])}};function O(b,a,c){a.onload=e;a.abort=e;b&&b(a,c)}j.$LoadImage=function(d,b){if(jb()&&m<11.6||!d)O(b,e);else{var a=new Image;a.onload=j.$CreateCallback(e,O,b,a);a.onabort=j.$CreateCallback(e,O,b,a,c);a.src=d}};j.$LoadImages=function(e,b,f){var d=e.length+1;function c(a){d--;if(b&&a&&a.src==b.src)b=a;!d&&f&&f(b)}k(e,function(b){a.$LoadImage(b.src,c)});c()};j.$BuildElement=function(d,k,j,i){if(i)d=U(d,c);for(var h=a.$GetElementsByTag(d,k),f=h.length-1;f>-1;f--){var b=h[f],e=U(j,c);s(e,s(b));a.$CssCssText(e,b.style.cssText);var g=a.$ParentNode(b);a.$InsertBefore(g,e,b);a.$RemoveChild(g,b)}return d};var C;function zb(b){var g=this,m,i,l,e;function f(){var a=m;if(e)a+="ds";else if(i)a+="dn";else if(l)a+="av";s(b,a)}function n(a){if(e)j.$CancelEvent(a);else{C.push(g);i=c;f()}}g.$MouseUp=function(){i=d;f()};g.$Activate=function(a){if(a!=h){l=a;f()}else return l};g.$Enable=function(a){if(a!=h){e=!a;f()}else return!e};b=j.$GetElement(b);if(!C){j.$AddEventBrowserMouseUp(function(){var a=C;C=[];k(a,function(a){a.$MouseUp()})});C=[]}m=s(b);a.$AddEvent(b,"mousedown",n)}j.$Buttonize=function(a){return new zb(a)};j.$Css=E;j.$CssN=W;j.$CssP=Bb;j.$CssOverflow=p("overflow");j.$CssTop=p("top",2);j.$CssLeft=p("left",2);j.$CssWidth=p("width",2);j.$CssHeight=p("height",2);j.$CssMarginLeft=p("marginLeft",2);j.$CssMarginTop=p("marginTop",2);j.$CssPosition=p("position");j.$CssDisplay=p("display");j.$CssZIndex=p("zIndex",1);j.$CssFloat=function(b,a){return E(b,t()?"styleFloat":"cssFloat",a)};j.$CssOpacity=function(b,a,c){if(a!=h)wb(b,a,c);else return vb(b)};j.$CssCssText=function(a,b){if(b!=h)a.style.cssText=b;else return a.style.cssText};var R={$Opacity:j.$CssOpacity,$Top:j.$CssTop,$Left:j.$CssLeft,$Width:j.$CssWidth,$Height:j.$CssHeight,$Position:j.$CssPosition,$Display:j.$CssDisplay,$ZIndex:j.$CssZIndex},x;function H(){if(!x)x=V({$MarginTop:j.$CssMarginTop,$MarginLeft:j.$CssMarginLeft,$Clip:j.$SetStyleClip,$Transform:j.$SetStyleTransform},R);return x}function lb(){H();x.$Transform=x.$Transform;return x}j.$StyleSetter=H;j.$StyleSetterEx=lb;j.$GetStyles=function(c,b){H();var a={};k(b,function(d,b){if(R[b])a[b]=R[b](c)});return a};j.$SetStyles=function(c,b){var a=H();k(b,function(d,b){a[b]&&a[b](c,d)})};j.$SetStylesEx=function(b,a){lb();j.$SetStyles(b,a)};n=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<i;c++)for(var k=f[c]=[],b=0;b<h;b++){for(var e=0,a=0;a<j;a++)e+=d[c][a]*g[a][b];k[b]=e}return f}a.$ScaleX=function(b,c){return a.$ScaleXY(b,c,0)};a.$ScaleY=function(b,c){return a.$ScaleXY(b,0,c)};a.$ScaleXY=function(a,c,d){return b(a,[[c,0],[0,d]])};a.$TransformPoint=function(d,c){var a=b(d,[[c.x],[c.y]]);return new i(a[0][0],a[1][0])}};j.$CreateMatrix=function(d,a,c){var e=b.cos(d),f=b.sin(d);return[[e*a,-f*c],[f*a,e*c]]};j.$GetMatrixOffset=function(d,c,a){var e=n.$TransformPoint(d,new i(-c/2,-a/2)),f=n.$TransformPoint(d,new i(c/2,-a/2)),g=n.$TransformPoint(d,new i(c/2,a/2)),h=n.$TransformPoint(d,new i(-c/2,a/2));return new i(b.min(e.x,f.x,g.x,h.x)+c/2,b.min(e.y,f.y,g.y,h.y)+a/2)}},m=g.$JssorObject$=function(){var b=this,d=[],c=[];function i(a,b){d.push({$EventName:a,$Handler:b})}function h(b,c){a.$Each(d,function(a,e){a.$EventName==b&&a.$Handler===c&&d.splice(e,1)})}function f(){d=[]}function e(){a.$Each(c,function(b){a.$RemoveEvent(b.$Obj,b.$EventName,b.$Handler)});c=[]}b.$Listen=function(e,b,d,f){a.$AddEvent(e,b,d,f);c.push({$Obj:e,$EventName:b,$Handler:d})};b.$Unlisten=function(e,b,d){a.$Each(c,function(f,g){if(f.$Obj===e&&f.$EventName==b&&f.$Handler===d){a.$RemoveEvent(e,b,d);c.splice(g,1)}})};b.$UnlistenAll=e;b.$On=b.addEventListener=i;b.$Off=b.removeEventListener=h;b.$TriggerEvent=function(b){var c=[].slice.call(arguments,1);a.$Each(d,function(a){try{a.$EventName==b&&a.$Handler.apply(g,c)}catch(d){}})};b.$Destroy=function(){e();f();for(var a in b)delete b[a]}};j=function(n,m,g,O,z,x){n=n||0;var f=this,r,K,o,p,y,A=0,C,M,L,D,j=0,t=0,E,k=n,s=n+m,i,h,q,u=[],B;function I(b){i+=b;h+=b;k+=b;s+=b;j+=b;t+=b;a.$Each(u,function(a){a,a.$Shift(b)})}function N(a,b){var c=a-i+n*b;I(c);return h}function w(w,G){var n=w;if(q&&(n>=h||n<=i))n=((n-i)%q+q)%q+i;if(!E||y||G||j!=n){var p=b.min(n,h);p=b.max(p,i);if(!E||y||G||p!=t){if(x){var d=x;if(z){var s=(p-k)/(m||1);if(g.$Optimize&&a.$IsBrowserChrome()&&m)s=b.round(s/16*m)*16/m;if(g.$Reverse)s=1-s;d={};for(var o in x){var R=M[o]||1,J=L[o]||[0,1],l=(s-J[0])/J[1];l=b.min(b.max(l,0),1);l=l*R;var H=b.floor(l);if(l!=H)l-=H;var Q=C[o]||C.$Default,I=Q(l),r,K=z[o],F=x[o];if(a.$IsNumeric(F))r=K+(F-K)*I;else{r=a.$Extend({$Offset:{}},z[o]);a.$Each(F.$Offset,function(c,b){var a=c*I;r.$Offset[b]=a;r[b]+=a})}d[o]=r}}if(z.$Zoom)d.$Transform={$Rotate:d.$Rotate||0,$Scale:d.$Zoom,$OriginalWidth:g.$OriginalWidth,$OriginalHeight:g.$OriginalHeight};if(x.$Clip&&g.$Move){var v=d.$Clip.$Offset,D=(v.$Top||0)+(v.$Bottom||0),A=(v.$Left||0)+(v.$Right||0);d.$Left=(d.$Left||0)+A;d.$Top=(d.$Top||0)+D;d.$Clip.$Left-=A;d.$Clip.$Right-=A;d.$Clip.$Top-=D;d.$Clip.$Bottom-=D}if(d.$Clip&&a.$CanClearClip()&&!d.$Clip.$Top&&!d.$Clip.$Left&&d.$Clip.$Right==g.$OriginalWidth&&d.$Clip.$Bottom==g.$OriginalHeight)d.$Clip=e;a.$Each(d,function(b,a){B[a]&&B[a](O,b)})}f.$OnInnerOffsetChange(t-k,p-k)}t=p;a.$Each(u,function(b,c){var a=w<j?u[u.length-c-1]:b;a.$GoToPosition(w,G)});var P=j,N=w;j=n;E=c;f.$OnPositionChange(P,N)}}function F(a,c){c&&a.$Locate(h,1);h=b.max(h,a.$GetPosition_OuterEnd());u.push(a)}function H(){if(r){var d=a.$GetNow(),e=b.min(d-A,80),c=j+e*p;A=d;if(c*p>=o*p)c=o;w(c);if(!y&&c*p>=o*p)J(D);else a.$Delay(H,g.$Interval)}}function v(d,e,g){if(!r){r=c;y=g;D=e;d=b.max(d,i);d=b.min(d,h);o=d;p=o<j?-1:1;f.$OnStart();A=a.$GetNow();H()}}function J(a){if(r){y=r=D=d;f.$OnStop();a&&a()}}f.$Play=function(a,b,c){v(a?j+a:h,b,c)};f.$PlayToPosition=v;f.$PlayToBegin=function(a,b){v(i,a,b)};f.$PlayToEnd=function(a,b){v(h,a,b)};f.$Stop=J;f.$Continue=function(a){v(a)};f.$GetPosition=function(){return j};f.$GetPlayToPosition=function(){return o};f.$GetPosition_Display=function(){return t};f.$GoToPosition=w;f.$GoToBegin=function(){w(i,c)};f.$GoToEnd=function(){w(h,c)};f.$Move=function(a){w(j+a)};f.$CombineMode=function(){return K};f.$GetDuration=function(){return m};f.$IsPlaying=function(){return r};f.$IsOnTheWay=function(){return j>k&&j<=s};f.$SetLoopLength=function(a){q=a};f.$Locate=N;f.$Shift=I;f.$Join=F;f.$Combine=function(a){F(a,0)};f.$Chain=function(a){F(a,1)};f.$GetPosition_InnerBegin=function(){return k};f.$GetPosition_InnerEnd=function(){return s};f.$GetPosition_OuterBegin=function(){return i};f.$GetPosition_OuterEnd=function(){return h};f.$OnPositionChange=f.$OnStart=f.$OnStop=f.$OnInnerOffsetChange=a.$EmptyFunction;f.$Version=a.$GetNow();g=a.$Extend({$Interval:16},g);q=g.$LoopLength;B=a.$Extend({},a.$StyleSetter(),g.$Setter);i=k=n;h=s=n+m;var M=g.$Round||{},L=g.$During||{};C=a.$Extend({$Default:a.$IsFunction(g.$Easing)&&g.$Easing||l.$EaseSwing},g.$Easing)};var r,k=g.$JssorSlideshowFormations$={};new function(){var v=0,u=1,x=2,w=3,J=1,I=2,K=4,H=8,P=256,Q=512,O=1024,N=2048,A=N+J,z=N+I,F=Q+J,D=Q+I,E=P+K,B=P+H,C=O+K,G=O+H;function T(a){return(a&I)==I}function U(a){return(a&K)==K}function y(b,a,c){c.push(a);b[a]=b[a]||[];b[a].push(c)}k.$FormationStraight=function(f){for(var d=f.$Cols,e=f.$Rows,k=f.$Assembly,l=f.$Count,j=[],a=0,b=0,h=d-1,i=e-1,g=l-1,c,b=0;b<e;b++)for(a=0;a<d;a++){switch(k){case A:c=g-(a*e+(i-b));break;case C:c=g-(b*d+(h-a));break;case F:c=g-(a*e+b);case E:c=g-(b*d+a);break;case z:c=a*e+b;break;case B:c=b*d+(h-a);break;case D:c=a*e+(i-b);break;default:c=b*d+a}y(j,c,[b,a])}return j};k.$FormationSwirl=function(e){var l=e.$Cols,m=e.$Rows,p=e.$Assembly,k=e.$Count,o=[],n=[],i=0,a=0,b=0,f=l-1,g=m-1,h,d,j=0;switch(p){case A:a=f;b=0;d=[x,u,w,v];break;case C:a=0;b=g;d=[v,w,u,x];break;case F:a=f;b=g;d=[w,u,x,v];break;case E:a=f;b=g;d=[u,w,v,x];break;case z:a=0;b=0;d=[x,v,w,u];break;case B:a=f;b=0;d=[u,x,v,w];break;case D:a=0;b=g;d=[w,v,x,u];break;default:a=0;b=0;d=[v,x,u,w]}i=0;while(i<k){h=b+","+a;if(a>=0&&a<l&&b>=0&&b<m&&!n[h]){n[h]=c;y(o,i++,[b,a])}else switch(d[j++%d.length]){case v:a--;break;case x:b--;break;case u:a++;break;case w:b++}switch(d[j%d.length]){case v:a++;break;case x:b++;break;case u:a--;break;case w:b--}}return o};k.$FormationZigZag=function(d){var k=d.$Cols,l=d.$Rows,n=d.$Assembly,j=d.$Count,h=[],i=0,a=0,b=0,e=k-1,f=l-1,m,c,g=0;switch(n){case A:a=e;b=0;c=[x,u,w,u];break;case C:a=0;b=f;c=[v,w,u,w];break;case F:a=e;b=f;c=[w,u,x,u];break;case E:a=e;b=f;c=[u,w,v,w];break;case z:a=0;b=0;c=[x,v,w,v];break;case B:a=e;b=0;c=[u,x,v,x];break;case D:a=0;b=f;c=[w,v,x,v];break;default:a=0;b=0;c=[v,x,u,x]}i=0;while(i<j){m=b+","+a;if(a>=0&&a<k&&b>=0&&b<l&&typeof h[m]=="undefined"){y(h,i++,[b,a]);switch(c[g%c.length]){case v:a++;break;case x:b++;break;case u:a--;break;case w:b--}}else{switch(c[g++%c.length]){case v:a--;break;case x:b--;break;case u:a++;break;case w:b++}switch(c[g++%c.length]){case v:a++;break;case x:b++;break;case u:a--;break;case w:b--}}}return h};k.$FormationStraightStairs=function(h){var l=h.$Cols,m=h.$Rows,e=h.$Assembly,k=h.$Count,i=[],j=0,c=0,d=0,f=l-1,g=m-1,o=k-1;switch(e){case A:case D:case F:case z:var a=0,b=0;break;case B:case C:case E:case G:var a=f,b=0;break;default:e=G;var a=f,b=0}c=a;d=b;while(j<k){if(U(e)||T(e))y(i,o-j++,[d,c]);else y(i,j++,[d,c]);switch(e){case A:case D:c--;d++;break;case F:case z:c++;d--;break;case B:case C:c--;d--;break;case G:case E:default:c++;d++}if(c<0||d<0||c>f||d>g){switch(e){case A:case D:a++;break;case B:case C:case F:case z:b++;break;case G:case E:default:a--}if(a<0||b<0||a>f||b>g){switch(e){case A:case D:a=f;b++;break;case F:case z:b=g;a++;break;case B:case C:b=g;a--;break;case G:case E:default:a=0;b++}if(b>g)b=g;else if(b<0)b=0;else if(a>f)a=f;else if(a<0)a=0}d=b;c=a}}return i};k.$FormationSquare=function(h){var a=h.$Cols||1,c=h.$Rows||1,i=[],d,e,f,g,j;f=a<c?(c-a)/2:0;g=a>c?(a-c)/2:0;j=b.round(b.max(a/2,c/2))+1;for(d=0;d<a;d++)for(e=0;e<c;e++)y(i,j-b.min(d+1+f,e+1+g,a-d+f,c-e+g),[e,d]);return i};k.$FormationRectangle=function(f){var d=f.$Cols||1,e=f.$Rows||1,g=[],a,c,h;h=b.round(b.min(d/2,e/2))+1;for(a=0;a<d;a++)for(c=0;c<e;c++)y(g,h-b.min(a+1,c+1,d-a,e-c),[c,a]);return g};k.$FormationRandom=function(d){for(var e=[],a,c=0;c<d.$Rows;c++)for(a=0;a<d.$Cols;a++)y(e,b.ceil(1e5*b.random())%13,[c,a]);return e};k.$FormationCircle=function(d){for(var e=d.$Cols||1,f=d.$Rows||1,g=[],a,h=e/2-.5,i=f/2-.5,c=0;c<e;c++)for(a=0;a<f;a++)y(g,b.round(b.sqrt(b.pow(c-h,2)+b.pow(a-i,2))),[a,c]);return g};k.$FormationCross=function(d){for(var e=d.$Cols||1,f=d.$Rows||1,g=[],a,h=e/2-.5,i=f/2-.5,c=0;c<e;c++)for(a=0;a<f;a++)y(g,b.round(b.min(b.abs(c-h),b.abs(a-i))),[a,c]);return g};k.$FormationRectangleCross=function(f){for(var g=f.$Cols||1,h=f.$Rows||1,i=[],a,d=g/2-.5,e=h/2-.5,j=b.max(d,e)+1,c=0;c<g;c++)for(a=0;a<h;a++)y(i,b.round(j-b.max(d-b.abs(c-d),e-b.abs(a-e)))-1,[a,c]);return i};function R(a){var b=a.$Formation(a);return a.$Reverse?b.reverse():b}function L(g,f){var e={$Interval:f,$Duration:1,$Delay:0,$Cols:1,$Rows:1,$Opacity:0,$Zoom:0,$Clip:0,$Move:d,$SlideOut:d,$Reverse:d,$Formation:k.$FormationRandom,$Assembly:G,$ChessMode:{$Column:0,$Row:0},$Easing:l.$EaseSwing,$Round:{},$Blocks:[],$During:{}};a.$Extend(e,g);e.$Count=e.$Cols*e.$Rows;if(a.$IsFunction(e.$Easing))e.$Easing={$Default:e.$Easing};e.$FramesCount=b.ceil(e.$Duration/e.$Interval);e.$EasingInstance=S(e);e.$GetBlocks=function(b,a){b/=e.$Cols;a/=e.$Rows;var f=b+"x"+a;if(!e.$Blocks[f]){e.$Blocks[f]={$Width:b,$Height:a};for(var c=0;c<e.$Cols;c++)for(var d=0;d<e.$Rows;d++)e.$Blocks[f][d+","+c]={$Top:d*a,$Right:c*b+b,$Bottom:d*a+a,$Left:c*b}}return e.$Blocks[f]};if(e.$Brother){e.$Brother=L(e.$Brother,f);e.$SlideOut=c}return e}function S(d){var c=d.$Easing;if(!c.$Default)c.$Default=l.$EaseSwing;var e=d.$FramesCount,f=c.$Cache;if(!f){var g=a.$Extend({},d.$Easing,d.$Round);f=c.$Cache={};a.$Each(g,function(n,l){var g=c[l]||c.$Default,j=d.$Round[l]||1;if(!a.$IsArray(g.$Cache))g.$Cache=[];var h=g.$Cache[e]=g.$Cache[e]||[];if(!h[j]){h[j]=[0];for(var k=1;k<=e;k++){var i=k/e*j,m=b.floor(i);if(i!=m)i-=m;h[j][k]=g(i)}}f[l]=h})}return f}function M(D,j,f,y,o,l){var B=this,v,w={},n={},m=[],h,g,t,r=f.$ChessMode.$Column||0,s=f.$ChessMode.$Row||0,i=f.$GetBlocks(o,l),q=R(f),E=q.length-1,u=f.$Duration+f.$Delay*E,z=y+u,k=f.$SlideOut,A;z+=a.$IsBrowserChrome()?260:50;B.$EndTime=z;B.$ShowFrame=function(c){c-=y;var d=c<u;if(d||A){A=d;if(!k)c=u-c;var e=b.ceil(c/f.$Interval);a.$Each(n,function(c,f){var d=b.max(e,c.$Min);d=b.min(d,c.length-1);if(c.$LastFrameIndex!=d){if(!c.$LastFrameIndex&&!k)a.$ShowElement(m[f]);else d==c.$Max&&k&&a.$HideElement(m[f]);c.$LastFrameIndex=d;a.$SetStylesEx(m[f],c[d])}})}};function x(b){a.$DisableHWA(b);var c=a.$Children(b);a.$Each(c,function(a){x(a)})}j=a.$CloneNode(j,c);x(j);if(a.$IsBrowserIe9Earlier()){var F=!j["no-image"],C=a.$FindChildrenByTag(j,e,c);a.$Each(C,function(b){(F||b["jssor-slider"])&&a.$CssOpacity(b,a.$CssOpacity(b),c)})}a.$Each(q,function(e,j){a.$Each(e,function(K){var O=K[0],N=K[1],y=O+","+N,q=d,u=d,z=d;if(r&&N%2){if(p.$IsHorizontal(r))q=!q;if(p.$IsVertical(r))u=!u;if(r&16)z=!z}if(s&&O%2){if(p.$IsHorizontal(s))q=!q;if(p.$IsVertical(s))u=!u;if(s&16)z=!z}f.$Top=f.$Top||f.$Clip&4;f.$Bottom=f.$Bottom||f.$Clip&8;f.$Left=f.$Left||f.$Clip&1;f.$Right=f.$Right||f.$Clip&2;var F=u?f.$Bottom:f.$Top,C=u?f.$Top:f.$Bottom,E=q?f.$Right:f.$Left,D=q?f.$Left:f.$Right;f.$Clip=F||C||E||D;t={};g={$Top:0,$Left:0,$Opacity:1,$Width:o,$Height:l};h=a.$Extend({},g);v=a.$Extend({},i[y]);if(f.$Opacity)g.$Opacity=2-f.$Opacity;if(f.$ZIndex){g.$ZIndex=f.$ZIndex;h.$ZIndex=0}var M=f.$Cols*f.$Rows>1||f.$Clip;if(f.$Zoom||f.$Rotate){var L=c;if(a.$IsBrowserIE()&&a.$BrowserEngineVersion()<9)if(f.$Cols*f.$Rows>1)L=d;else M=d;if(L){g.$Zoom=f.$Zoom?f.$Zoom-1:1;h.$Zoom=1;if(a.$IsBrowserIe9Earlier()||a.$IsBrowserOpera())g.$Zoom=b.min(g.$Zoom,2);var R=f.$Rotate;g.$Rotate=R*360*(z?-1:1);h.$Rotate=0}}if(M){if(f.$Clip){var x=f.$ScaleClip||1,m=v.$Offset={};if(F&&C){m.$Top=i.$Height/2*x;m.$Bottom=-m.$Top}else if(F)m.$Bottom=-i.$Height*x;else if(C)m.$Top=i.$Height*x;if(E&&D){m.$Left=i.$Width/2*x;m.$Right=-m.$Left}else if(E)m.$Right=-i.$Width*x;else if(D)m.$Left=i.$Width*x}t.$Clip=v;h.$Clip=i[y]}var P=q?1:-1,Q=u?1:-1;if(f.x)g.$Left+=o*f.x*P;if(f.y)g.$Top+=l*f.y*Q;a.$Each(g,function(b,c){if(a.$IsNumeric(b))if(b!=h[c])t[c]=b-h[c]});w[y]=k?h:g;var J=b.round(j*f.$Delay/f.$Interval);n[y]=new Array(J);n[y].$Min=J;for(var B=f.$FramesCount,I=0;I<=B;I++){var e={};a.$Each(t,function(g,c){var m=f.$EasingInstance[c]||f.$EasingInstance.$Default,l=m[f.$Round[c]||1],k=f.$During[c]||[0,1],d=(I/B-k[0])/k[1]*B;d=b.round(b.min(B,b.max(d,0)));var j=l[d];if(a.$IsNumeric(g))e[c]=h[c]+g*j;else{var i=e[c]=a.$Extend({},h[c]);i.$Offset=[];a.$Each(g.$Offset,function(c,b){var a=c*j;i.$Offset[b]=a;i[b]+=a})}});if(h.$Zoom)e.$Transform={$Rotate:e.$Rotate||0,$Scale:e.$Zoom,$OriginalWidth:o,$OriginalHeight:l};if(e.$Clip&&f.$Move){var A=e.$Clip.$Offset,H=(A.$Top||0)+(A.$Bottom||0),G=(A.$Left||0)+(A.$Right||0);e.$Left=(e.$Left||0)+G;e.$Top=(e.$Top||0)+H;e.$Clip.$Left-=G;e.$Clip.$Right-=G;e.$Clip.$Top-=H;e.$Clip.$Bottom-=H}e.$ZIndex=e.$ZIndex||1;n[y].push(e)}})});q.reverse();a.$Each(q,function(b){a.$Each(b,function(d){var g=d[0],f=d[1],e=g+","+f,b=j;if(f||g)b=a.$CloneNode(j,c);a.$SetStyles(b,w[e]);a.$CssOverflow(b,"hidden");a.$CssPosition(b,"absolute");D.$AddClipElement(b);m[e]=b;a.$ShowElement(b,k)})})}g.$JssorSlideshowRunner$=function(h,l,i,n,p){var d=this,o,f,c,s=0,r=n.$TransitionsOrder,k,g=16;function q(){var a=this,b=0;j.call(a,0,o);a.$OnPositionChange=function(d,a){if(a-b>g){b=a;c&&c.$ShowFrame(a);f&&f.$ShowFrame(a)}};a.$Transition=k}d.$GetTransition=function(f){var c=0,e=n.$Transitions,d=e.length;if(r){if(d>f&&(a.$IsBrowserChrome()||a.$IsBrowserSafari()||a.$IsBrowserFireFox()))d-=d%f;c=s++%d}else c=b.floor(b.random()*d);e[c]&&(e[c].$Index=c);return e[c]};d.$Initialize=function(w,x,n,p,a){k=a;a=L(a,g);var m=p.$Item,j=n.$Item;m["no-image"]=!p.$Image;j["no-image"]=!n.$Image;var q=m,r=j,v=a,e=a.$Brother||L({},g);if(!a.$SlideOut){q=j;r=m}var s=e.$Shift||0;f=new M(h,r,e,b.max(s-e.$Interval,0),l,i);c=new M(h,q,v,b.max(e.$Interval-s,0),l,i);f.$ShowFrame(0);c.$ShowFrame(0);o=b.max(f.$EndTime,c.$EndTime);d.$Index=w};d.$Clear=function(){h.$Clear();f=e;c=e};d.$GetProcessor=function(){var a=e;if(c)a=new q;return a};if(a.$IsBrowserIe9Earlier()||a.$IsBrowserOpera()||p&&a.$WebKitVersion()<537)g=32;m.call(d);j.call(d,-1e7,1e7)};function n(r,lc){var k=this;function Gc(){var a=this;j.call(a,-1e8,2e8);a.$GetCurrentSlideInfo=function(){var c=a.$GetPosition_Display(),d=b.floor(c),f=v(d),e=c-b.floor(c);return{$Index:f,$VirtualIndex:d,$Position:e}};a.$OnPositionChange=function(d,a){var e=b.floor(a);if(e!=a&&a>d)e++;Yb(e,c);k.$TriggerEvent(n.$EVT_POSITION_CHANGE,v(a),v(d),a,d)}}function Fc(){var b=this;j.call(b,0,0,{$LoopLength:u});a.$Each(E,function(a){N&1&&a.$SetLoopLength(u);b.$Chain(a);a.$Shift(mb/fc)})}function Ec(){var a=this,b=Xb.$Elmt;j.call(a,-1,2,{$Easing:l.$EaseLinear,$Setter:{$Position:dc},$LoopLength:u},b,{$Position:1},{$Position:-1});a.$Wrapper=b}function tc(q,o){var f=this,i,l,g,m,h;j.call(f,-1e8,2e8);f.$OnStart=function(){U=c;Y=e;k.$TriggerEvent(n.$EVT_SWIPE_START,v(z.$GetPosition()),z.$GetPosition())};f.$OnStop=function(){U=d;m=d;var a=z.$GetCurrentSlideInfo();k.$TriggerEvent(n.$EVT_SWIPE_END,v(z.$GetPosition()),z.$GetPosition());!a.$Position&&Ic(a.$VirtualIndex,t)};f.$OnPositionChange=function(f,e){var d;if(m)d=h;else{d=l;if(g){var c=e/g;if(a.$IsBrowserChrome()||a.$IsBrowserFireFox()){b.round(c*16/g)/16*g;c=parseFloat(c.toFixed(4))}d=p.$SlideEasing(c)*(l-i)+i}}z.$GoToPosition(d)};f.$PlayCarousel=function(a,c,b,d){i=a;l=c;g=b;z.$GoToPosition(a);f.$GoToPosition(0);f.$PlayToPosition(b,d)};f.$StandBy=function(a){m=c;h=a;f.$Play(a,e,c)};f.$SetStandByPosition=function(a){h=a};f.$MoveCarouselTo=function(a){z.$GoToPosition(a)};z=new Gc;z.$Combine(q);z.$Combine(o)}function uc(){var c=this,b=cc();a.$CssZIndex(b,0);c.$Elmt=b;c.$AddClipElement=function(c){a.$AppendChild(b,c);a.$ShowElement(b)};c.$Clear=function(){a.$HideElement(b);a.$ClearInnerHtml(b)}}function Dc(o,l){var f=this,r,x,H,y,g,z=[],R,q,T,G,P,F,h,s,i,db;j.call(f,-w,w+1,{$SlideItemAnimator:c});function D(a){x&&x.$Revert();r&&r.$Revert();S(o,a);F=c;r=new J.$Class(o,J,1);x=new J.$Class(o,J);x.$GoToBegin();r.$GoToBegin()}function Z(){r.$Version<J.$Version&&D()}function I(m,q,l){if(!G){G=c;if(g&&l){var e=l.width,b=l.height,j=e,i=b;if(e&&b&&p.$FillMode){if(p.$FillMode&3&&(!(p.$FillMode&4)||e>M||b>L)){var h=d,o=M/L*b/e;if(p.$FillMode&1)h=o>1;else if(p.$FillMode&2)h=o<1;j=h?e*L/b:M;i=h?L:b*M/e}a.$CssWidth(g,j);a.$CssHeight(g,i);a.$CssTop(g,(L-i)/2);a.$CssLeft(g,(M-j)/2)}a.$CssPosition(g,"absolute");k.$TriggerEvent(n.$EVT_LOAD_END,ic)}}a.$HideElement(q);m&&m(f)}function U(b,c,d,e){if(e==Y&&t==l&&V)if(!Hc){var a=v(b);C.$Initialize(a,l,c,f,d);c.$HideContentForSlideshow();gb.$Locate(a,1);gb.$GoToPosition(a);A.$PlayCarousel(b,b,0)}}function ab(b){if(b==Y&&t==l){if(!h){var a=e;if(C)if(C.$Index==l)a=C.$GetProcessor();else C.$Clear();Z();h=new Bc(l,a,f.$GetCaptionSliderIn(),f.$GetCaptionSliderOut());h.$SetPlayer(i)}!h.$IsPlaying()&&h.$Replay()}}function Q(d,c){if(d==l){if(d!=c)E[c]&&E[c].$ParkOut();else h&&h.$AdjustIdleOnPark();i&&i.$Enable();var k=Y=a.$GetNow();f.$LoadImage(a.$CreateCallback(e,ab,k))}else{var j=b.abs(l-d),g=w+p.$LazyLoading;(!P||j<=g||u-j<=g)&&f.$LoadImage()}}function bb(){if(t==l&&h){h.$Stop();i&&i.$Quit();i&&i.$Disable();h.$OpenSlideshowPanel()}}function cb(){t==l&&h&&h.$Stop()}function O(b){if(X)a.$CancelEvent(b);else k.$TriggerEvent(n.$EVT_CLICK,l,b)}function N(){i=s.pInstance;h&&h.$SetPlayer(i)}f.$LoadImage=function(d,b){b=b||y;if(z.length&&!G){a.$ShowElement(b);if(!T){T=c;k.$TriggerEvent(n.$EVT_LOAD_START);a.$Each(z,function(b){if(!b.src){b.src=a.$AttributeEx(b,"src2");a.$CssDisplay(b,b["display-origin"])}})}a.$LoadImages(z,g,a.$CreateCallback(e,I,d,b))}else I(d,b)};f.$GoForNextSlide=function(){if(C){var b=C.$GetTransition(u);if(b){var f=Y=a.$GetNow(),c=l+bc,d=E[v(c)];return d.$LoadImage(a.$CreateCallback(e,U,c,d,b,f),y)}}hb(t+p.$AutoPlaySteps*bc)};f.$TryActivate=function(){Q(l,l)};f.$ParkOut=function(){i&&i.$Quit();i&&i.$Disable();f.$UnhideContentForSlideshow();h&&h.$Abort();h=e;D()};f.$StampSlideItemElements=function(a){a=db+"_"+a};f.$HideContentForSlideshow=function(){a.$HideElement(o)};f.$UnhideContentForSlideshow=function(){a.$ShowElement(o)};f.$EnablePlayer=function(){i&&i.$Enable()};function S(b,f,e){if(b["jssor-slider"])return;e=e||0;if(!F){if(b.tagName=="IMG"){z.push(b);if(!b.src){P=c;b["display-origin"]=a.$CssDisplay(b);a.$HideElement(b)}}a.$IsBrowserIe9Earlier()&&a.$CssZIndex(b,(a.$CssZIndex(b)||0)+1);if(p.$HWA&&a.$WebKitVersion()>0)(!K||a.$WebKitVersion()<534||!kb)&&a.$EnableHWA(b)}var h=a.$Children(b);a.$Each(h,function(h){var j=a.$AttributeEx(h,"u");if(j=="player"&&!s){s=h;if(s.pInstance)N();else a.$AddEvent(s,"dataavailable",N)}if(j=="caption"){if(!a.$IsBrowserIE()&&!f){var i=a.$CloneNode(h,c);a.$InsertBefore(b,i,h);a.$RemoveChild(b,h);h=i;f=c}}else if(!F&&!e&&!g&&a.$AttributeEx(h,"u")=="image"){g=h;if(g){if(g.tagName=="A"){R=g;a.$SetStyles(R,W);q=a.$CloneNode(g,d);a.$AddEvent(q,"click",O);a.$SetStyles(q,W);a.$CssDisplay(q,"block");a.$CssOpacity(q,0);a.$Css(q,"backgroundColor","#000");g=a.$FindFirstChildByTag(g,"IMG")}g.border=0;a.$SetStyles(g,W)}}S(h,f,e+1)})}f.$OnInnerOffsetChange=function(c,b){var a=w-b;dc(H,a)};f.$GetCaptionSliderIn=function(){return r};f.$GetCaptionSliderOut=function(){return x};f.$Index=l;m.call(f);var B=a.$FindFirstChild(o,"thumb");if(B){f.$Thumb=a.$CloneNode(B,c);a.$RemoveAttribute(B,"id");a.$HideElement(B)}a.$ShowElement(o);y=a.$CloneNode(jb,c);a.$CssZIndex(y,1e3);a.$AddEvent(o,"click",O);D(c);f.$Image=g;f.$Link=q;f.$Item=o;f.$Wrapper=H=o;a.$AppendChild(H,y);k.$On(203,Q);k.$On(28,cb);k.$On(24,bb)}function Bc(h,q,v,u){var b=this,l=0,x=0,m,g,e,f,i,r,w,s,o=E[h];j.call(b,0,0);function y(){a.$ClearChildren(Q);jc&&i&&o.$Link&&a.$AppendChild(Q,o.$Link);a.$ShowElement(Q,i||!o.$Image)}function z(){if(r){r=d;k.$TriggerEvent(n.$EVT_ROLLBACK_END,h,e,l,g,e,f);b.$GoToPosition(g)}b.$Replay()}function A(a){s=a;b.$Stop();b.$Replay()}b.$Replay=function(){var a=b.$GetPosition_Display();if(!D&&!U&&!s&&t==h){if(!a){if(m&&!i){i=c;b.$OpenSlideshowPanel(c);k.$TriggerEvent(n.$EVT_SLIDESHOW_START,h,l,x,m,f)}y()}var d,p=n.$EVT_STATE_CHANGE;if(a!=f)if(a==e)d=f;else if(a==g)d=e;else if(!a)d=g;else if(a>e){r=c;d=e;p=n.$EVT_ROLLBACK_START}else d=b.$GetPlayToPosition();k.$TriggerEvent(p,h,a,l,g,e,f);var j=V&&(!R||H);if(a==f)j&&o.$GoForNextSlide();else(j||a!=e)&&b.$PlayToPosition(d,z)}};b.$AdjustIdleOnPark=function(){e==f&&e==b.$GetPosition_Display()&&b.$GoToPosition(g)};b.$Abort=function(){C&&C.$Index==h&&C.$Clear();var a=b.$GetPosition_Display();a<f&&k.$TriggerEvent(n.$EVT_STATE_CHANGE,h,-a-1,l,g,e,f)};b.$OpenSlideshowPanel=function(b){q&&a.$CssOverflow(ob,b&&q.$Transition.$Outside?"":"hidden")};b.$OnInnerOffsetChange=function(b,a){if(i&&a>=m){i=d;y();o.$UnhideContentForSlideshow();C.$Clear();k.$TriggerEvent(n.$EVT_SLIDESHOW_END,h,l,x,m,f)}k.$TriggerEvent(n.$EVT_PROGRESS_CHANGE,h,a,l,g,e,f)};b.$SetPlayer=function(a){if(a&&!w){w=a;a.$On($JssorPlayer$.$EVT_SWITCH,A)}};q&&b.$Chain(q);m=b.$GetPosition_OuterEnd();b.$GetPosition_OuterEnd();b.$Chain(v);g=v.$GetPosition_OuterEnd();e=g+p.$AutoPlayInterval;u.$Shift(e);b.$Combine(u);f=b.$GetPosition_OuterEnd()}function dc(e,g){var f=y>0?y:nb,c=Fb*g*(f&1),d=Gb*g*(f>>1&1);if(a.$IsBrowserChrome()){c=c.toFixed(3);d=d.toFixed(3)}else{c=b.round(c);d=b.round(d)}if(a.$IsBrowserIE()&&a.$BrowserVersion()>=10&&a.$BrowserVersion()<11)e.style.msTransform="translate("+c+"px, "+d+"px)";else if(a.$IsBrowserChrome()&&a.$BrowserVersion()>=30&&a.$BrowserVersion()<34){e.style.WebkitTransition="transform 0s";e.style.WebkitTransform="translate3d("+c+"px, "+d+"px, 0px) perspective(2000px)"}else{a.$CssLeft(e,c);a.$CssTop(e,d)}}function zc(c){var b=a.$EventSrc(c).tagName;!O&&b!="INPUT"&&b!="TEXTAREA"&&b!="SELECT"&&xc()&&yc(c)}function Mb(){vb=U;Qb=A.$GetPlayToPosition();F=z.$GetPosition();if(D||!H&&R&12){A.$Stop();k.$TriggerEvent(n.$EVT_FREEZE)}}function kc(e){if(!D&&(H||!(R&12))&&!A.$IsPlaying()){var c=z.$GetPosition(),a=b.ceil(F);if(e&&b.abs(G)>=p.$MinDragOffsetToSlide){a=b.ceil(c);a+=lb}if(!(N&1))a=b.min(u-w,b.max(a,0));var d=b.abs(a-c);d=1-b.pow(1-d,5);if(!X&&vb)A.$Continue(Qb);else if(c==a){yb.$EnablePlayer();yb.$TryActivate()}else A.$PlayCarousel(c,a,d*Zb)}}function yc(b){D=c;Eb=d;Y=e;a.$AddEvent(f,tb,gc);a.$GetNow();X=0;Mb();if(!vb)y=0;if(K){var h=b.touches[0];zb=h.clientX;Ab=h.clientY}else{var g=a.$MousePosition(b);zb=g.x;Ab=g.y;a.$CancelEvent(b)}G=0;ib=0;lb=0;k.$TriggerEvent(n.$EVT_DRAG_START,v(F),F,b)}function gc(e){if(D&&(!a.$IsBrowserIe9Earlier()||e.button)){var f;if(K){var m=e.touches;if(m&&m.length>0)f=new i(m[0].clientX,m[0].clientY)}else f=a.$MousePosition(e);if(f){var k=f.x-zb,l=f.y-Ab;if(b.floor(F)!=F)y=y||nb&O;if((k||l)&&!y){if(O==3)if(b.abs(l)>b.abs(k))y=2;else y=1;else y=O;if(K&&y==1&&b.abs(l)-b.abs(k)>3)Eb=c}if(y){var d=l,j=Gb;if(y==1){d=k;j=Fb}if(!(N&1)){if(d>0){var g=j*t,h=d-g;if(h>0)d=g+b.sqrt(h)*5}if(d<0){var g=j*(u-w-t),h=-d-g;if(h>0)d=-g-b.sqrt(h)*5}}if(G-ib<-2)lb=0;else if(G-ib>2)lb=-1;ib=G;G=d;xb=F-G/j/(fb||1);if(G&&y&&!Eb){a.$CancelEvent(e);if(!U)A.$StandBy(xb);else A.$SetStandByPosition(xb)}else a.$IsBrowserIe9Earlier()&&a.$CancelEvent(e)}}}else Jb(e)}function Jb(e){vc();if(D){D=d;a.$GetNow();a.$RemoveEvent(f,tb,gc);X=G;X&&a.$CancelEvent(e);A.$Stop();var b=z.$GetPosition();k.$TriggerEvent(n.$EVT_DRAG_END,v(b),b,v(F),F,e);kc(c);Mb()}}function sc(a){E[t];t=v(a);yb=E[t];Yb(a);return t}function Ic(a,b){y=0;sc(a);k.$TriggerEvent(n.$EVT_PARK,v(a),b)}function Yb(b,c){Cb=b;a.$Each(T,function(a){a.$SetCurrentIndex(v(b),b,c)})}function xc(){var b=n.$DragRegistry||0,a=S;if(K)a&1&&(a&=1);n.$DragRegistry|=a;return O=a&~b}function vc(){if(O){n.$DragRegistry&=~S;O=0}}function cc(){var b=a.$CreateDiv();a.$SetStyles(b,W);a.$CssPosition(b,"absolute");return b}function v(a){return(a%u+u)%u}function pc(a,c){if(c)if(!N){a=b.min(b.max(a+Cb,0),u-w);c=d}else if(N&2){a=v(a+Cb);c=d}hb(a,p.$SlideDuration,c)}function Db(){a.$Each(T,function(a){a.$Show(a.$Options.$ChanceToShow>H)})}function nc(){if(!H){H=1;Db();if(!D){R&12&&kc();R&3&&E[t].$TryActivate()}}}function mc(){if(H){H=0;Db();D||!(R&12)||Mb()}}function oc(){W={$Width:M,$Height:L,$Top:0,$Left:0};a.$Each(ab,function(b){a.$SetStyles(b,W);a.$CssPosition(b,"absolute");a.$CssOverflow(b,"hidden");a.$HideElement(b)});a.$SetStyles(jb,W)}function rb(b,a){hb(b,a,c)}function hb(g,f,k){if(Vb&&(!D||p.$NaviQuitDrag)){U=c;D=d;A.$Stop();if(f==h)f=Zb;var e=Kb.$GetPosition_Display(),a=g;if(k){a=e+g;if(g>0)a=b.ceil(a);else a=b.floor(a)}if(!(N&1)){a=v(a);a=b.max(0,b.min(a,u-w))}var j=(a-e)%u;a=e+j;var i=e==a?0:f*b.abs(j);i=b.min(i,f*w*1.5);A.$PlayCarousel(e,a,i||1)}}k.$PlayTo=hb;k.$GoTo=function(a){hb(a,1)};k.$Next=function(){rb(1)};k.$Prev=function(){rb(-1)};k.$Pause=function(){V=d};k.$Play=function(){if(!V){V=c;E[t]&&E[t].$TryActivate()}};k.$SetSlideshowTransitions=function(b){a.$TranslateTransitions(b);p.$SlideshowOptions.$Transitions=b};k.$SetCaptionTransitions=function(b){a.$TranslateTransitions(b);J.$CaptionTransitions=b;J.$Version=a.$GetNow()};k.$SlidesCount=function(){return ab.length};k.$CurrentIndex=function(){return t};k.$IsAutoPlaying=function(){return V};k.$IsDragging=function(){return D};k.$IsSliding=function(){return U};k.$IsMouseOver=function(){return!H};k.$LastDragSucceded=function(){return X};function eb(){return a.$CssWidth(x||r)}function pb(){return a.$CssHeight(x||r)}k.$OriginalWidth=k.$GetOriginalWidth=eb;k.$OriginalHeight=k.$GetOriginalHeight=pb;function Nb(c,e){if(c==h)return a.$CssWidth(r);if(!x){var b=a.$CreateDiv(f);a.$CssCssText(b,a.$CssCssText(r));a.$ClassName(b,a.$ClassName(r));a.$CssPosition(b,"relative");a.$CssTop(b,0);a.$CssLeft(b,0);a.$CssOverflow(b,"visible");x=a.$CreateDiv(f);a.$CssPosition(x,"absolute");a.$CssTop(x,0);a.$CssLeft(x,0);a.$CssWidth(x,a.$CssWidth(r));a.$CssHeight(x,a.$CssHeight(r));a.$SetStyleTransformOrigin(x,"0 0");a.$AppendChild(x,b);var i=a.$Children(r);a.$AppendChild(r,x);a.$Css(r,"backgroundImage","");var g={navigator:cb&&cb.$Scale==d,arrowleft:P&&P.$Scale==d,arrowright:P&&P.$Scale==d,thumbnavigator:I&&I.$Scale==d,thumbwrapper:I&&I.$Scale==d};a.$Each(i,function(c){a.$AppendChild(g[a.$AttributeEx(c,"u")]?r:b,c)});a.$ShowElement(b);a.$ShowElement(x)}fb=c/(e?a.$CssHeight:a.$CssWidth)(x);a.$CssScale(x,fb);a.$CssWidth(r,e?fb*eb():c);a.$CssHeight(r,e?c:fb*pb());a.$Each(T,function(a){a.$Relocate()})}k.$ScaleHeight=k.$GetScaleHeight=function(b){if(b==h)return a.$CssHeight(r);Nb(b,c)};k.$ScaleWidth=k.$SetScaleWidth=k.$GetScaleWidth=Nb;k.$GetVirtualIndex=function(a){var d=b.ceil(v(mb/fc)),c=v(a-t+d);if(c>w){if(a-t>u/2)a-=u;else if(a-t<=-u/2)a+=u}else a=t+c-d;return a};m.call(this);k.$Elmt=r=a.$GetElement(r);var p=a.$Extend({$FillMode:0,$LazyLoading:1,$StartIndex:0,$AutoPlay:d,$Loop:1,$HWA:c,$NaviQuitDrag:c,$AutoPlaySteps:1,$AutoPlayInterval:3e3,$PauseOnHover:1,$SlideDuration:500,$SlideEasing:l.$EaseOutQuad,$MinDragOffsetToSlide:20,$SlideSpacing:0,$DisplayPieces:1,$ParkingPosition:0,$UISearchMode:1,$PlayOrientation:1,$DragOrientation:1},lc),nb=p.$PlayOrientation&3,bc=(p.$PlayOrientation&4)/-4||1,db=p.$SlideshowOptions,J=a.$Extend({$Class:s,$PlayInMode:1,$PlayOutMode:1},p.$CaptionSliderOptions);a.$TranslateTransitions(J.$CaptionTransitions);var cb=p.$BulletNavigatorOptions,P=p.$ArrowNavigatorOptions,I=p.$ThumbnailNavigatorOptions,Z=p.$UISearchMode,x,B=a.$FindFirstChild(r,"slides",e,Z),jb=a.$FindFirstChild(r,"loading",e,Z)||a.$CreateDiv(f),Pb=a.$FindFirstChild(r,"navigator",e,Z),hc=a.$FindFirstChild(r,"arrowleft",e,Z),ec=a.$FindFirstChild(r,"arrowright",e,Z),Ob=a.$FindFirstChild(r,"thumbnavigator",e,Z),rc=a.$CssWidth(B),qc=a.$CssHeight(B),W,ab=[],Ac=a.$Children(B);a.$Each(Ac,function(b){b.tagName=="DIV"&&!a.$AttributeEx(b,"u")&&ab.push(b)});var t=-1,Cb,yb,u=ab.length,M=p.$SlideWidth||rc,L=p.$SlideHeight||qc,ac=p.$SlideSpacing,Fb=M+ac,Gb=L+ac,fc=nb&1?Fb:Gb,w=b.min(p.$DisplayPieces,u),ob,y,O,Eb,K,T=[],Ub,Wb,Tb,jc,Hc,V,R=p.$PauseOnHover,Zb=p.$SlideDuration,wb,kb,mb,Vb=w<u,N=Vb?p.$Loop:0,S,X,H=1,U,D,Y,zb=0,Ab=0,G,ib,lb,Kb,z,gb,A,Xb=new uc,fb;V=p.$AutoPlay;k.$Options=lc;oc();r["jssor-slider"]=c;a.$CssZIndex(B,a.$CssZIndex(B)||0);a.$CssPosition(B,"absolute");ob=a.$CloneNode(B);a.$InsertBefore(a.$ParentNode(B),ob,B);if(db){jc=db.$ShowLink;wb=db.$Class;a.$TranslateTransitions(db.$Transitions);kb=w==1&&u>1&&wb&&(!a.$IsBrowserIE()||a.$BrowserVersion()>=8)}mb=kb||w>=u||!(N&1)?0:p.$ParkingPosition;S=(w>1||mb?nb:-1)&p.$DragOrientation;var Bb=B,E=[],C,Q,Ib="mousedown",tb="mousemove",Lb="mouseup",sb,F,vb,Qb,xb,bb;if(g.navigator.pointerEnabled||(bb=g.navigator.msPointerEnabled)){Ib=bb?"MSPointerDown":"pointerdown";tb=bb?"MSPointerMove":"pointermove";Lb=bb?"MSPointerUp":"pointerup";sb=bb?"MSPointerCancel":"pointercancel";if(S){var Hb="none";if(S==1)Hb="pan-y";else if(S==2)Hb="pan-x";a.$Css(Bb,bb?"msTouchAction":"touchAction",Hb)}}else if("ontouchstart"in g||"createTouch"in f){K=c;Ib="touchstart";tb="touchmove";Lb="touchend";sb="touchcancel"}gb=new Ec;if(kb)C=new wb(Xb,M,L,db,K);a.$AppendChild(ob,gb.$Wrapper);a.$CssOverflow(B,"hidden");Q=cc();a.$Css(Q,"backgroundColor","#000");a.$CssOpacity(Q,0);a.$InsertBefore(Bb,Q,Bb.firstChild);for(var ub=0;ub<ab.length;ub++){var Cc=ab[ub],ic=new Dc(Cc,ub);E.push(ic)}a.$HideElement(jb);Kb=new Fc;A=new tc(Kb,gb);if(S){a.$AddEvent(B,Ib,zc);a.$AddEvent(f,Lb,Jb);sb&&a.$AddEvent(f,sb,Jb)}R&=K?10:5;if(Pb&&cb){Ub=new cb.$Class(Pb,cb,eb(),pb());T.push(Ub)}if(P&&hc&&ec){Wb=new P.$Class(hc,ec,P,eb(),pb());T.push(Wb)}if(Ob&&I){I.$StartIndex=p.$StartIndex;Tb=new I.$Class(Ob,I);T.push(Tb)}a.$Each(T,function(a){a.$Reset(u,E,jb);a.$On(o.$NAVIGATIONREQUEST,pc)});Nb(eb());a.$AddEvent(r,"mouseout",a.$MouseOverOutFilter(nc,r));a.$AddEvent(r,"mouseover",a.$MouseOverOutFilter(mc,r));Db();p.$ArrowKeyNavigation&&a.$AddEvent(f,"keydown",function(a){if(a.keyCode==q.$LEFT)rb(-1);else a.keyCode==q.$RIGHT&&rb(1)});var qb=p.$StartIndex;if(!(N&1))qb=b.max(0,b.min(qb,u-w));A.$PlayCarousel(qb,qb,0)}n.$EVT_CLICK=21;n.$EVT_DRAG_START=22;n.$EVT_DRAG_END=23;n.$EVT_SWIPE_START=24;n.$EVT_SWIPE_END=25;n.$EVT_LOAD_START=26;n.$EVT_LOAD_END=27;n.$EVT_FREEZE=28;n.$EVT_POSITION_CHANGE=202;n.$EVT_PARK=203;n.$EVT_SLIDESHOW_START=206;n.$EVT_SLIDESHOW_END=207;n.$EVT_PROGRESS_CHANGE=208;n.$EVT_STATE_CHANGE=209;n.$EVT_ROLLBACK_START=210;n.$EVT_ROLLBACK_END=211;g.$JssorSlider$=r=n};var o={$NAVIGATIONREQUEST:1,$INDEXCHANGE:2,$RESET:3};g.$JssorBulletNavigator$=function(g,F,E,C){var h=this;m.call(h);g=a.$GetElement(g);var t,u,s,r,l=0,f,n,k,y,z,j,i,q,p,D=[],A=[];function x(a){a!=-1&&A[a].$Activate(a==l)}function v(a){h.$TriggerEvent(o.$NAVIGATIONREQUEST,a*n)}h.$Elmt=g;h.$GetCurrentIndex=function(){return r};h.$SetCurrentIndex=function(a){if(a!=r){var d=l,c=b.floor(a/n);l=c;r=a;x(d);x(c)}};h.$Show=function(b){a.$ShowElement(g,b)};var B;h.$Relocate=function(){if(!B||f.$Scale==d){f.$AutoCenter&1&&a.$CssLeft(g,(E-u)/2);f.$AutoCenter&2&&a.$CssTop(g,(C-s)/2);B=c}};var w;h.$Reset=function(C){if(!w){t=b.ceil(C/n);l=0;var o=q+y,r=p+z,m=b.ceil(t/k)-1;u=q+o*(!j?m:k-1);s=p+r*(j?m:k-1);a.$CssWidth(g,u);a.$CssHeight(g,s);for(var d=0;d<t;d++){var B=a.$CreateSpan();a.$InnerText(B,d+1);var h=a.$BuildElement(i,"NumberTemplate",B,c);a.$CssPosition(h,"absolute");var x=d%(m+1);a.$CssLeft(h,!j?o*x:d%k*o);a.$CssTop(h,j?r*x:b.floor(d/(m+1))*r);a.$AppendChild(g,h);D[d]=h;f.$ActionMode&1&&a.$AddEvent(h,"click",a.$CreateCallback(e,v,d));f.$ActionMode&2&&a.$AddEvent(h,"mouseover",a.$MouseOverOutFilter(a.$CreateCallback(e,v,d),h));A[d]=a.$Buttonize(h)}w=c}};h.$Options=f=a.$Extend({$SpacingX:0,$SpacingY:0,$Orientation:1,$ActionMode:1},F);i=a.$FindFirstChild(g,"prototype");q=a.$CssWidth(i);p=a.$CssHeight(i);a.$RemoveChild(g,i);n=f.$Steps||1;k=f.$Lanes||1;y=f.$SpacingX;z=f.$SpacingY;j=f.$Orientation-1};g.$JssorArrowNavigator$=function(f,g,t,n,l){var b=this;m.call(b);var i,h,j,r=a.$CssWidth(f),p=a.$CssHeight(f);function k(a){b.$TriggerEvent(o.$NAVIGATIONREQUEST,a,c)}b.$GetCurrentIndex=function(){return i};b.$SetCurrentIndex=function(b,a,c){if(c)i=a;else i=b};b.$Show=function(b){a.$ShowElement(f,b);a.$ShowElement(g,b)};var s;b.$Relocate=function(){if(!s||h.$Scale==d){if(h.$AutoCenter&1){a.$CssLeft(f,(n-r)/2);a.$CssLeft(g,(n-r)/2)}if(h.$AutoCenter&2){a.$CssTop(f,(l-p)/2);a.$CssTop(g,(l-p)/2)}s=c}};var q;b.$Reset=function(b){i=0;if(!q){a.$AddEvent(f,"click",a.$CreateCallback(e,k,-j));a.$AddEvent(g,"click",a.$CreateCallback(e,k,j));a.$Buttonize(f);a.$Buttonize(g);q=c}};b.$Options=h=a.$Extend({$Steps:1},t);j=h.$Steps};g.$JssorThumbnailNavigator$=function(i,A){var h=this,x,l,e,u=[],y,w,f,n,p,t,s,k,q,g,j;m.call(h);i=a.$GetElement(i);function z(n,d){var g=this,b,m,k;function p(){m.$Activate(l==d)}function i(){if(!q.$LastDragSucceded()){var a=f-d%f,b=q.$GetVirtualIndex((d+a)/f-1),c=b*f+f-a;h.$TriggerEvent(o.$NAVIGATIONREQUEST,c)}}g.$Index=d;g.$Highlight=p;k=n.$Thumb||n.$Image||a.$CreateDiv();g.$Wrapper=b=a.$BuildElement(j,"ThumbnailTemplate",k,c);m=a.$Buttonize(b);e.$ActionMode&1&&a.$AddEvent(b,"click",i);e.$ActionMode&2&&a.$AddEvent(b,"mouseover",a.$MouseOverOutFilter(i,b))}h.$GetCurrentIndex=function(){return l};h.$SetCurrentIndex=function(c,d,e){var a=l;l=c;a!=-1&&u[a].$Highlight();u[c].$Highlight();!e&&q.$PlayTo(q.$GetVirtualIndex(b.floor(d/f)))};h.$Show=function(b){a.$ShowElement(i,b)};h.$Relocate=a.$EmptyFunction;var v;h.$Reset=function(F,D){if(!v){x=F;b.ceil(x/f);l=-1;k=b.min(k,D.length);var h=e.$Orientation&1,o=t+(t+n)*(f-1)*(1-h),m=s+(s+p)*(f-1)*h,C=o+(o+n)*(k-1)*h,A=m+(m+p)*(k-1)*(1-h);a.$CssPosition(g,"absolute");a.$CssOverflow(g,"hidden");e.$AutoCenter&1&&a.$CssLeft(g,(y-C)/2);e.$AutoCenter&2&&a.$CssTop(g,(w-A)/2);a.$CssWidth(g,C);a.$CssHeight(g,A);var j=[];a.$Each(D,function(l,e){var i=new z(l,e),d=i.$Wrapper,c=b.floor(e/f),k=e%f;a.$CssLeft(d,(t+n)*k*(1-h));a.$CssTop(d,(s+p)*k*h);if(!j[c]){j[c]=a.$CreateDiv();a.$AppendChild(g,j[c])}a.$AppendChild(j[c],d);u.push(i)});var E=a.$Extend({$AutoPlay:d,$NaviQuitDrag:d,$SlideWidth:o,$SlideHeight:m,$SlideSpacing:n*h+p*(1-h),$MinDragOffsetToSlide:12,$SlideDuration:200,$PauseOnHover:1,$PlayOrientation:e.$Orientation,$DragOrientation:e.$DisableDrag?0:e.$Orientation},e);q=new r(i,E);v=c}};h.$Options=e=a.$Extend({$SpacingX:3,$SpacingY:3,$DisplayPieces:1,$Orientation:1,$AutoCenter:3,$ActionMode:1},A);y=a.$CssWidth(i);w=a.$CssHeight(i);g=a.$FindFirstChild(i,"slides");j=a.$FindFirstChild(g,"prototype");t=a.$CssWidth(j);s=a.$CssHeight(j);a.$RemoveChild(g,j);f=e.$Lanes||1;n=e.$SpacingX;p=e.$SpacingY;k=e.$DisplayPieces};function s(){j.call(this,0,0);this.$Revert=a.$EmptyFunction}g.$JssorCaptionSlider$=function(q,k,g){var d=this,i,o=g?k.$PlayInMode:k.$PlayOutMode,f=k.$CaptionTransitions,p={$Transition:"t",$Delay:"d",$Duration:"du",x:"x",y:"y",$Rotate:"r",$Zoom:"z",$Opacity:"f",$BeginTime:"b"},e={$Default:function(b,a){if(!isNaN(a.$Value))b=a.$Value;else b*=a.$Percent;return b},$Opacity:function(b,a){return this.$Default(b-1,a)}};e.$Zoom=e.$Opacity;j.call(d,0,0);function m(r,l){var k=[],i,j=[],c=[];function h(c,d){var b={};a.$Each(p,function(g,h){var e=a.$AttributeEx(c,g+(d||""));if(e){var f={};if(g=="t")f.$Value=e;else if(e.indexOf("%")+1)f.$Percent=a.$ParseFloat(e)/100;else f.$Value=a.$ParseFloat(e);b[h]=f}});return b}function n(){return f[b.floor(b.random()*f.length)]}function d(g){var h;if(g=="*")h=n();else if(g){var e=f[a.$ParseInt(g)]||f[g];if(a.$IsArray(e)){if(g!=i){i=g;c[g]=0;j[g]=e[b.floor(b.random()*e.length)]}else c[g]++;e=j[g];if(a.$IsArray(e)){e=e.length&&e[c[g]%e.length];if(a.$IsArray(e))e=e[b.floor(b.random()*e.length)]}}h=e;if(a.$IsString(h))h=d(h)}return h}var q=a.$Children(r);a.$Each(q,function(b){var c=[];c.$Elmt=b;var f=a.$AttributeEx(b,"u")=="caption";a.$Each(g?[0,3]:[2],function(k,n){if(f){var j,g;if(k!=2||!a.$AttributeEx(b,"t3")){g=h(b,k);if(k==2&&!g.$Transition){g.$Delay=g.$Delay||{$Value:0};g=a.$Extend(h(b,0),g)}}if(g&&g.$Transition){j=d(g.$Transition.$Value);if(j){var i=a.$Extend({$Delay:0},j);a.$Each(g,function(c,a){var b=(e[a]||e.$Default).apply(e,[i[a],g[a]]);if(!isNaN(b))i[a]=b});if(!n)if(g.$BeginTime)i.$BeginTime=g.$BeginTime.$Value||0;else if(o&2)i.$BeginTime=0}}c.push(i)}if(l%2&&!n)c.$Children=m(b,l+1)});k.push(c)});return k}function n(x,d,A){var h={$Easing:d.$Easing,$Round:d.$Round,$During:d.$During,$Reverse:g&&!A,$Optimize:c},i=x,s=a.$ParentNode(x),n=a.$CssWidth(i),m=a.$CssHeight(i),z=a.$CssWidth(s),y=a.$CssHeight(s),f={},k={},l=d.$ScaleClip||1;if(d.$Opacity)f.$Opacity=2-d.$Opacity;h.$OriginalWidth=n;h.$OriginalHeight=m;if(d.$Zoom||d.$Rotate){f.$Zoom=d.$Zoom?d.$Zoom-1:1;if(a.$IsBrowserIe9Earlier()||a.$IsBrowserOpera())f.$Zoom=b.min(f.$Zoom,2);k.$Zoom=1;var C=d.$Rotate||0;f.$Rotate=C*360;k.$Rotate=0}else if(d.$Clip){var t={$Top:0,$Right:n,$Bottom:m,$Left:0},w=a.$Extend({},t),e=w.$Offset={},v=d.$Clip&4,q=d.$Clip&8,u=d.$Clip&1,r=d.$Clip&2;if(v&&q){e.$Top=m/2*l;e.$Bottom=-e.$Top}else if(v)e.$Bottom=-m*l;else if(q)e.$Top=m*l;if(u&&r){e.$Left=n/2*l;e.$Right=-e.$Left}else if(u)e.$Right=-n*l;else if(r)e.$Left=n*l;h.$Move=d.$Move;f.$Clip=w;k.$Clip=t}var o=0,p=0;if(d.x)o-=z*d.x;if(d.y)p-=y*d.y;if(o||p||h.$Move){f.$Left=o+a.$CssLeft(i);f.$Top=p+a.$CssTop(i)}var B=d.$Duration;k=a.$Extend(k,a.$GetStyles(i,f));h.$Setter=a.$StyleSetterEx();return new j(d.$Delay,B,h,i,k,f)}function l(b,c){a.$Each(c,function(a){var e,g=a.$Elmt,c=a[0],j=a[1];if(c){e=n(g,c);b=e.$Locate(c.$BeginTime==h?b:c.$BeginTime,1)}b=l(b,a.$Children);if(j){var f=n(g,j,1);f.$Locate(b,1);d.$Combine(f);i.$Combine(f)}e&&d.$Combine(e)});return b}d.$Revert=function(){d.$GoToPosition(d.$GetPosition_OuterEnd()*(g||0));i.$GoToBegin()};i=new j(0,0);l(0,o?m(q,1):[])}})(window,document,Math,null,true,false)