var tns=function(){function e(){for(var e,t,n,a=arguments[0]||{},o=1,s=arguments.length;o<s;o++)if(null!==(e=arguments[o]))for(t in e)if(n=e[t],a===n)continue;else void 0!==n&&(a[t]=n);return a}function t(e){return 0<=["true","false"].indexOf(e)?JSON.parse(e):e}function n(e,t,n,i){if(i)try{e.setItem(t,n)}catch(t){}return n}function i(){var e=window.tnsId;return window.tnsId=e?e+1:1,"tns"+window.tnsId}function a(){var e=document,t=e.body;return t||(t=e.createElement("body"),t.fake=!0),t}function o(e){var t="";return e.fake&&(t=W.style.overflow,e.style.background="",e.style.overflow=W.style.overflow="hidden",W.appendChild(e)),t}function s(e,t){e.fake&&(e.remove(),W.style.overflow=t,W.offsetHeight)}function r(){var e=document,t=a(),n=o(t),r=e.createElement("div"),l=!1;t.appendChild(r);try{for(var d,u="(10px * 10)",c=["calc"+u,"-moz-calc"+u,"-webkit-calc"+u],p=0;3>p;p++)if(d=c[p],r.style.width=d,100===r.offsetWidth){l=d.replace(u,"");break}}catch(t){}return t.fake?s(t,n):r.remove(),l}function l(){var e=document,t=a(),n=o(t),r=e.createElement("div"),l=e.createElement("div"),d="",u=!1;r.className="tns-t-subp2",l.className="tns-t-ct";for(var c=0;70>c;c++)d+="<div></div>";return l.innerHTML=d,r.appendChild(l),t.appendChild(r),u=2>Math.abs(r.getBoundingClientRect().left-l.children[67].getBoundingClientRect().left),t.fake?s(t,n):r.remove(),u}function d(){var e,t=document,n=a(),i=o(n),r=t.createElement("div"),l=t.createElement("style");return l.type="text/css",r.className="tns-mq-test",n.appendChild(l),n.appendChild(r),l.styleSheet?l.styleSheet.cssText="@media all and (min-width:1px){.tns-mq-test{position:absolute}}":l.appendChild(t.createTextNode("@media all and (min-width:1px){.tns-mq-test{position:absolute}}")),e=window.getComputedStyle?window.getComputedStyle(r).position:r.currentStyle.position,n.fake?s(n,i):r.remove(),"absolute"===e}function u(e){var t=document.createElement("style");return e&&t.setAttribute("media",e),document.querySelector("head").appendChild(t),t.sheet?t.sheet:t.styleSheet}function c(e,t,n,i){"insertRule"in e?e.insertRule(t+"{"+n+"}",i):e.addRule(t,n,i)}function p(e,t){"deleteRule"in e?e.deleteRule(t):e.removeRule(t)}function m(e){var t="insertRule"in e?e.cssRules:e.rules;return t.length}function h(e,t){return Math.atan2(e,t)*(180/Math.PI)}function g(e,t){var n=!1,i=Math.abs(90-Math.abs(e));return i>=90-t?n="horizontal":i<=t&&(n="vertical"),n}function y(e,t,n){for(var a=0,o=e.length;a<o;a++)t.call(n,e[a],a)}function f(e,t){return e.hasAttribute(t)}function v(e,t){return e.getAttribute(t)}function x(e){return"undefined"!=typeof e.item}function b(e,t){if(e=x(e)||e instanceof Array?e:[e],"[object Object]"===Object.prototype.toString.call(t))for(var n=e.length;n--;)for(var a in t)e[n].setAttribute(a,t[a])}function C(e,t){if(e=x(e)||e instanceof Array?e:[e],"[object Object]"===Object.prototype.toString.call(t))for(var a,o=e.length;o--;){a=e[o].getElementsByTagName("a");for(var s=a.length;s--;)for(var r in t)a[s].setAttribute(r,t[r])}}function T(e,t){e=x(e)||e instanceof Array?e:[e],t=t instanceof Array?t:[t];for(var n=t.length,a=e.length;a--;)for(var o=n;o--;)e[a].removeAttribute(t[o])}function N(e,t){e=x(e)||e instanceof Array?e:[e],t=t instanceof Array?t:[t];for(var a,o=t.length,s=e.length;s--;){a=e[s].getElementsByTagName("a");for(var r=a.length;r--;)for(var l=o;l--;)a[r].removeAttribute(t[l])}}function A(e){for(var t=[],n=0,a=e.length;n<a;n++)t.push(e[n]);return t}function E(e){e&&"none"!==e.style.display&&(e.style.display="none")}function w(e){"none"===e.style.display&&(e.style.display="")}function I(e){return"none"!==window.getComputedStyle(e).display}function L(e){if("string"==typeof e){var t=[e],n=e.charAt(0).toUpperCase()+e.substr(1);["Webkit","Moz","ms","O"].forEach(function(i){("ms"!==i||"transform"===e)&&t.push(i+n)}),e=t}for(var a,o=document.createElement("fakeelement"),s=e.length,r=0;r<e.length;r++)if(a=e[r],void 0!==o.style[a])return a;return!1}function S(e){if(!e)return!1;if(!window.getComputedStyle)return!1;var t,n=document,i=a(),r=o(i),l=n.createElement("p"),d=9<e.length?"-"+e.slice(0,-9).toLowerCase()+"-":"";return d+="transform",i.insertBefore(l,null),l.style[e]="translate3d(1px,1px,1px)",t=window.getComputedStyle(l).getPropertyValue(d),i.fake?s(i,r):l.remove(),void 0!==t&&0<t.length&&"none"!==t}function D(e,t){var n=!1;return /^Webkit/.test(e)?n="webkit"+t+"End":/^O/.test(e)?n="o"+t+"End":e&&(n=t.toLowerCase()+"end"),n}function B(e,t,n){for(var i in t){var a=!(!(0<=["touchstart","touchmove"].indexOf(i))||n)&&Q;e.addEventListener(i,t[i],a)}}function O(e,t){for(var n in t){var i=!!(0<=["touchstart","touchmove"].indexOf(n))&&Q;e.removeEventListener(n,t[n],i)}}function R(){return{topics:{},on:function(e,t){this.topics[e]=this.topics[e]||[],this.topics[e].push(t)},off:function(e,t){if(this.topics[e])for(var n=0;n<this.topics[e].length;n++)if(this.topics[e][n]===t){this.topics[e].splice(n,1);break}},emit:function(e,t){t.type=e,this.topics[e]&&this.topics[e].forEach(function(n){n(t,e)})}}}function H(e,t,n,i,a,o,s){function r(){o-=l,u+=c,e.style[t]=n+u+d+i,0<o?setTimeout(r,l):s()}var l=Math.min(o,10),d=0<=a.indexOf("%")?"%":"px",a=a.replace(d,""),u=+e.style[t].replace(n,"").replace(i,"").replace(d,""),c=(a-u)/o*l;setTimeout(r,l)}var k=window,M=k.requestAnimationFrame||k.webkitRequestAnimationFrame||k.mozRequestAnimationFrame||k.msRequestAnimationFrame||function(e){return setTimeout(e,16)},P=window,z=P.cancelAnimationFrame||P.mozCancelAnimationFrame||function(e){clearTimeout(e)},W=document.documentElement,q=("classList"in document.createElement("_")),j=q?function(e,t){return e.classList.contains(t)}:function(e,t){return 0<=e.className.indexOf(t)},F=q?function(e,t){j(e,t)||e.classList.add(t)}:function(e,t){j(e,t)||(e.className+=" "+t)},Y=q?function(e,t){j(e,t)&&e.classList.remove(t)}:function(e,t){j(e,t)&&(e.className=e.className.replace(t,""))},V=!1;try{var G=Object.defineProperty({},"passive",{get:function(){V=!0}});window.addEventListener("test",null,G)}catch(t){}var Q=!!V&&{passive:!0};"remove"in Element.prototype||(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)});var X=function(a){function o(e){for(var t in e)Kt||("slideBy"===t&&(e[t]="page"),"edgePadding"===t&&(e[t]=!1),"autoHeight"===t&&(e[t]=!1)),"responsive"==t&&o(e[t])}function s(e){e&&(Rn=Mn=Pn=zn=Ln=Wn=Fn=Yn=!1)}function x(){for(var e=Kt?ii-Kn:ii;0>e;)e+=pn;return e%pn+1}function k(e){return e=e?Math.max(0,Math.min(Bn?pn-1:pn-En,e)):0,Kt?e+Kn:e}function P(e){for(null==e&&(e=ii),Kt&&(e-=Kn);0>e;)e+=pn;return Math.floor(e%pn)}function W(){var e,t=P();return e=Di?t:bn||xn?Math.ceil((t+1)*Ui/pn-1):Math.floor(t/En),!Bn&&Kt&&ii===ri&&(e=Ui-1),e}function q(){if(xn||bn&&!In)return pn-1;var e=bn?"fixedWidth":"items",t=[];if((bn||a[e]<pn)&&t.push(a[e]),Qt)for(var n in Qt){var i=Qt[n][e];i&&(bn||i<pn)&&t.push(i)}return t.length||t.push(0),Math.ceil(bn?In/Math.min.apply(null,t):Math.max.apply(null,t))}function V(){return wt.innerWidth||Et.documentElement.clientWidth||Et.body.clientWidth}function G(e){return"top"===e?"afterbegin":"beforeend"}function Q(e){if(null!=e){var t,n,i=Et.createElement("div");return e.appendChild(i),t=i.getBoundingClientRect(),n=t.right-t.left,i.remove(),n||Q(e.parentNode)}}function K(){var e=Cn?2*Cn-Tn:0;return Q(dn)-e}function U(e){if(a[e])return!0;if(Qt)for(var t in Qt)if(Qt[t][e])return!0;return!1}function _(e,t){if(null==t&&(t=mn),"items"===e&&bn)return Math.floor((Nn+Tn)/(bn+Tn))||1;var n=a[e];if(Qt)for(var i in Qt)t>=parseInt(i)&&e in Qt[i]&&(n=Qt[i][e]);return"slideBy"==e&&"page"===n&&(n=_("items")),Kt||"slideBy"!=e&&"items"!=e||(n=Math.floor(n)),n}function J(e){return Ot?Ot+"("+100*e+"% / "+Un+")":100*e/Un+"%"}function Z(e,t,n,i,a){var o="";if(void 0!==e){var s=e;t&&(s-=t),o=on?"margin: 0 "+s+"px 0 "+e+"px;":"margin: "+e+"px 0 "+s+"px 0;"}else if(t&&!n){var r="-"+t+"px",l=on?r+" 0 0":"0 "+r+" 0";o="margin: 0 "+l+";"}return!Kt&&a&&Pt&&i&&(o+=ie(i)),o}function $(e,t,n){return e?(e+t)*Un+"px":Ot?Ot+"("+100*Un+"% / "+n+")":100*Un/n+"%"}function ee(e,t,n){var i;if(e)i=e+t+"px";else{Kt||(n=Math.floor(n));var a=Kt?Un:n;i=Ot?Ot+"(100% / "+a+")":100/a+"%"}return i="width:"+i,"inner"===Xt?i+" !important;":i+";"}function te(e){var t="";if(!1!==e){var n=on?"padding-":"margin-",i=on?"right":"bottom";t=n+i+": "+e+"px;"}return t}function ne(e,t){var n=e.substring(0,e.length-t).toLowerCase();return n&&(n="-"+n+"-"),n}function ie(e){return ne(Pt,18)+"transition-duration:"+e/1e3+"s;"}function ae(e){return ne(Wt,17)+"animation-duration:"+e/1e3+"s;"}function oe(){var e="tns-outer",t="tns-inner",n=U("gutter");if(sn.className="tns-outer",rn.className="tns-inner",sn.id=gi+"-ow",rn.id=gi+"-iw",""===ln.id&&(ln.id=gi),hi+=Rt||xn?" tns-subpixel":" tns-no-subpixel",hi+=Ot?" tns-calc":" tns-no-calc",xn&&(hi+=" tns-autowidth"),hi+=" tns-"+a.axis,ln.className+=hi,Kt?(nn=Et.createElement("div"),nn.id=gi+"-mw",nn.className="tns-ovh",sn.appendChild(nn),nn.appendChild(rn)):sn.appendChild(rn),On){var i=nn?nn:rn;i.className+=" tns-ah"}if(dn.insertBefore(sn,ln),rn.appendChild(ln),y(cn,function(e,t){F(e,"tns-item"),e.id||(e.id=gi+"-item"+t),!Kt&&tn&&F(e,tn),b(e,{"aria-hidden":"true",tabindex:"-1"}),C(e,{tabindex:"-1"})}),Kn){for(var o=Et.createDocumentFragment(),s=Et.createDocumentFragment(),r=Kn;r--;){var l=r%pn,d=cn[l].cloneNode(!0);if(T(d,"id"),s.insertBefore(d,s.firstChild),Kt){var u=cn[pn-1-l].cloneNode(!0);T(u,"id"),o.appendChild(u)}}ln.insertBefore(o,ln.firstChild),ln.appendChild(s),cn=ln.children}}function se(){if(U("autoHeight")||xn||!on){var e=ln.querySelectorAll("img");y(e,function(e){var t=e.src;Gn||(t&&0>t.indexOf("data:image")?(e.src="",B(e,Mi),F(e,"loading"),e.src=t):Ie(e))}),M(function(){Oe(A(e),function(){fn=!0})}),U("autoHeight")&&(e=De(ii,Math.min(ii+En-1,Un-1))),Gn?re():M(function(){Oe(A(e),re)})}else Kt&&Je(),ue(),ce()}function re(){if(xn){var e=Bn?ii:pn-1;(function t(){var n=cn[e].getBoundingClientRect().left,i=cn[e-1].getBoundingClientRect().right;1>=Math.abs(n-i)?le():setTimeout(function(){t()},16)})()}else le()}function le(){(!on||xn)&&(Pe(),xn?(Jn=Ue(),vi&&(xi=ge()),ri=ni(),s(yi||xi)):Ct()),Kt&&Je(),ue(),ce()}function de(){if(!Kt)for(var e,t=ii,n=ii+Math.min(pn,En);t<n;t++)e=cn[t],e.style.left=100*(t-ii)/En+"%",F(e,Zt),Y(e,tn);if(on&&(Rt||xn?(c(Vn,"#"+gi+" > .tns-item","font-size:"+wt.getComputedStyle(cn[0]).fontSize+";",m(Vn)),c(Vn,"#"+gi,"font-size:0;",m(Vn))):Kt&&y(cn,function(e,t){e.style.marginLeft=J(t)})),Ht){if(Pt){var o=nn&&a.autoHeight?ie(a.speed):"";c(Vn,"#"+gi+"-mw",o,m(Vn))}o=Z(a.edgePadding,a.gutter,a.fixedWidth,a.speed,a.autoHeight),c(Vn,"#"+gi+"-iw",o,m(Vn)),Kt&&(o=on&&!xn?"width:"+$(a.fixedWidth,a.gutter,a.items)+";":"",Pt&&(o+=ie(Sn)),c(Vn,"#"+gi,o,m(Vn))),o=on&&!xn?ee(a.fixedWidth,a.gutter,a.items):"",a.gutter&&(o+=te(a.gutter)),Kt||(Pt&&(o+=ie(Sn)),Wt&&(o+=ae(Sn))),o&&c(Vn,"#"+gi+" > .tns-item",o,m(Vn))}else{He(),rn.style.cssText=Z(Cn,Tn,bn,On),Kt&&on&&!xn&&(ln.style.width=$(bn,Tn,En));var o=on&&!xn?ee(bn,Tn,En):"";Tn&&(o+=te(Tn)),o&&c(Vn,"#"+gi+" > .tns-item",o,m(Vn))}if(Qt&&Ht)for(var s in Qt){s=parseInt(s);var r=Qt[s],o="",l="",d="",u="",p="",h=xn?null:_("items",s),g=_("fixedWidth",s),f=_("speed",s),v=_("edgePadding",s),x=_("autoHeight",s),b=_("gutter",s);Pt&&nn&&_("autoHeight",s)&&"speed"in r&&(l="#"+gi+"-mw{"+ie(f)+"}"),("edgePadding"in r||"gutter"in r)&&(d="#"+gi+"-iw{"+Z(v,b,g,f,x)+"}"),Kt&&on&&!xn&&("fixedWidth"in r||"items"in r||bn&&"gutter"in r)&&(u="width:"+$(g,b,h)+";"),Pt&&"speed"in r&&(u+=ie(f)),u&&(u="#"+gi+"{"+u+"}"),("fixedWidth"in r||bn&&"gutter"in r||!Kt&&"items"in r)&&(p+=ee(g,b,h)),"gutter"in r&&(p+=te(b)),!Kt&&"speed"in r&&(Pt&&(p+=ie(f)),Wt&&(p+=ae(f))),p&&(p="#"+gi+" > .tns-item{"+p+"}"),o=l+d+u+p,o&&Vn.insertRule("@media (min-width: "+s/16+"em) {"+o+"}",Vn.cssRules.length)}}function ue(){if(ze(),sn.insertAdjacentHTML("afterbegin","<div class=\"tns-liveregion tns-visually-hidden\" aria-live=\"polite\" aria-atomic=\"true\">slide <span class=\"current\">"+Ae()+"</span>  of "+pn+"</div>"),vn=sn.querySelector(".tns-liveregion .current"),Bi){var e=Wn?"stop":"start";da?b(da,{"data-action":e}):a.autoplayButtonOutput&&(sn.insertAdjacentHTML(G(a.autoplayPosition),"<button type=\"button\" data-action=\""+e+"\">"+ca[0]+e+ca[1]+jn[0]+"</button>"),da=sn.querySelector("[data-action]")),da&&B(da,{click:ut}),Wn&&(lt(),Fn&&B(ln,Ni),Yn&&B(ln,Ai))}if(Si){var t=Kt?Kn:0;if(Xi)b(Xi,{"aria-label":"Carousel Pagination"}),Qi=Xi.children,y(Qi,function(e,t){b(e,{"data-nav":t,tabindex:"-1","aria-label":ta+(t+1),"aria-controls":gi})});else{for(var n="",o=Di?"":"style=\"display:none\"",s=0;s<pn;s++)n+="<button type=\"button\" data-nav=\""+s+"\" tabindex=\"-1\" aria-controls=\""+gi+"\" "+o+" aria-label=\""+ta+(s+1)+"\"></button>";n="<div class=\"tns-nav\" aria-label=\"Carousel Pagination\">"+n+"</div>",sn.insertAdjacentHTML(G(a.navPosition),n),Xi=sn.querySelector(".tns-nav"),Qi=Xi.children}if(Nt(),Pt){var r=Pt.substring(0,Pt.length-18).toLowerCase(),l="transition: all "+Sn/1e3+"s";r&&(l="-"+r+"-"+l),c(Vn,"[aria-controls^="+gi+"-item]",l,m(Vn))}b(Qi[Zi],{"aria-label":ta+(Zi+1)+na}),T(Qi[Zi],"tabindex"),F(Qi[Zi],ea),B(Xi,Ti)}Li&&(!qi&&(!Fi||!Yi)&&(sn.insertAdjacentHTML(G(a.controlsPosition),"<div class=\"tns-controls\" aria-label=\"Carousel Navigation\" tabindex=\"0\"><button type=\"button\" data-controls=\"prev\" tabindex=\"-1\" aria-controls=\""+gi+"\">"+Hn[0]+"</button><button type=\"button\" data-controls=\"next\" tabindex=\"-1\" aria-controls=\""+gi+"\">"+Hn[1]+"</button></div>"),qi=sn.querySelector(".tns-controls")),(!Fi||!Yi)&&(Fi=qi.children[0],Yi=qi.children[1]),a.controlsContainer&&b(qi,{"aria-label":"Carousel Navigation",tabindex:"0"}),(a.controlsContainer||a.prevButton&&a.nextButton)&&b([Fi,Yi],{"aria-controls":gi,tabindex:"-1"}),(a.controlsContainer||a.prevButton&&a.nextButton)&&(b(Fi,{"data-controls":"prev"}),b(Yi,{"data-controls":"next"})),zi=Fe(Fi),Wi=Fe(Yi),Ge(),qi?B(qi,Ci):(B(Fi,Ci),B(Yi,Ci))),fe()}function ce(){if(Kt&&jt){var e={};e[jt]=nt,B(ln,e)}Pn&&B(ln,wi,a.preventScrollOnTouch),zn&&B(ln,Ii),Ln&&B(Et,Ei),"inner"===Xt?mi.on("outerResized",function(){he(),mi.emit("innerLoaded",At())}):(Qt||bn||xn||On||!on)&&B(wt,{resize:me}),On&&("outer"===Xt?mi.on("innerLoaded",Be):!yi&&Be()),we(),yi?Ce():xi&&xe(),mi.on("indexChanged",Re),"inner"===Xt&&mi.emit("innerLoaded",At()),"function"==typeof pi&&pi(At()),hn=!0}function pe(){if(Vn.disabled=!0,Vn.ownerNode&&Vn.ownerNode.remove(),O(wt,{resize:me}),Ln&&O(Et,Ei),qi&&O(qi,Ci),Xi&&O(Xi,Ti),O(ln,Ni),O(ln,Ai),da&&O(da,{click:ut}),Wn&&clearInterval(ia),Kt&&jt){var e={};e[jt]=nt,O(ln,e)}Pn&&O(ln,wi),zn&&O(ln,Ii);var t=[un,ji,Vi,Gi,Ki,ua];for(var n in Vt.forEach(function(e,n){var i="container"===e?sn:a[e];if("object"==typeof i&&i){var o=!!i.previousElementSibling&&i.previousElementSibling,s=i.parentNode;i.outerHTML=t[n],a[e]=o?o.nextElementSibling:s.firstElementChild}}),Vt=Zt=$t=en=tn=on=sn=rn=ln=dn=un=cn=pn=an=mn=xn=bn=Cn=Tn=Nn=En=wn=In=Ln=Sn=Dn=Bn=On=Vn=Gn=gn=Xn=Kn=Un=_n=Jn=Zn=$n=ei=ti=ni=ii=ai=si=ri=yn=di=ui=ci=pi=mi=hi=gi=yi=fi=vi=xi=bi=Ci=Ti=Ni=Ai=Ei=wi=Ii=Li=Si=Di=Bi=Oi=Ri=Hi=ki=Mi=fn=Rn=Hn=qi=ji=Fi=Yi=zi=Wi=Mn=Xi=Ki=Qi=Ui=_i=Ji=Zi=$i=ea=ta=na=Wn=qn=la=jn=Fn=da=ua=Yn=ca=ia=aa=oa=sa=ra=ya=fa=pa=ma=ha=va=ga=xa=Pn=zn=null,this)"rebuild"!=n&&(this[n]=null);hn=!1}function me(t){M(function(){he(pt(t))})}function he(t){if(hn){"outer"===Xt&&mi.emit("outerResized",At(t)),mn=V();var e,n=an,o=!1;Qt&&(ye(),e=n!==an,e&&mi.emit("newBreakpointStart",At(t)));var r,l,d=En,u=yi,h=xi,g=Ln,y=Rn,f=Mn,v=Pn,x=zn,b=Wn,C=Fn,T=Yn,N=ii;if(e){var A=bn,I=On,L=Hn,S=An,D=jn;if(!Ht)var R=Tn,H=Cn}if(Ln=_("arrowKeys"),Rn=_("controls"),Mn=_("nav"),Pn=_("touch"),An=_("center"),zn=_("mouseDrag"),Wn=_("autoplay"),Fn=_("autoplayHoverPause"),Yn=_("autoplayResetOnVisibility"),e&&(yi=_("disable"),bn=_("fixedWidth"),Sn=_("speed"),On=_("autoHeight"),Hn=_("controlsText"),jn=_("autoplayText"),qn=_("autoplayTimeout"),!Ht&&(Cn=_("edgePadding"),Tn=_("gutter"))),s(yi),Nn=K(),on&&!xn||yi||(Pe(),!on&&(Ct(),o=!0)),(bn||xn)&&(Jn=Ue(),ri=ni()),(e||bn)&&(En=_("items"),wn=_("slideBy"),l=En!==d,l&&(!bn&&!xn&&(ri=ni()),ba())),e&&yi!==u&&(yi?Ce():Te()),vi&&(e||bn||xn)&&(xi=ge(),xi!==h&&(xi?(Ze(_e(k(0))),xe()):(be(),o=!0))),s(yi||xi),Wn||(Fn=Yn=!1),Ln!==g&&(Ln?B(Et,Ei):O(Et,Ei)),Rn!==y&&(Rn?qi?w(qi):(Fi&&w(Fi),Yi&&w(Yi)):qi?E(qi):(Fi&&E(Fi),Yi&&E(Yi))),Mn!==f&&(Mn?w(Xi):E(Xi)),Pn!==v&&(Pn?B(ln,wi,a.preventScrollOnTouch):O(ln,wi)),zn!==x&&(zn?B(ln,Ii):O(ln,Ii)),Wn!==b&&(Wn?(da&&w(da),!aa&&!sa&&lt()):(da&&E(da),aa&&dt())),Fn!==C&&(Fn?B(ln,Ni):O(ln,Ni)),Yn!==T&&(Yn?B(Et,Ai):O(Et,Ai)),!e)An&&(bn||xn)&&(o=!0);else if((bn!==A||An!==S)&&(o=!0),On===I||On||(rn.style.height=""),Rn&&Hn!==L&&(Fi.innerHTML=Hn[0],Yi.innerHTML=Hn[1]),da&&jn!==D){var M=Wn?1:0,i=da.innerHTML,P=i.length-D[M].length;i.substring(P)===D[M]&&(da.innerHTML=i.substring(0,P)+jn[M])}if((l||bn&&!xn)&&(Ui=Tt(),Nt()),r=ii!==N,r?(mi.emit("indexChanged",At()),o=!0):l?!r&&Re():(bn||xn)&&(we(),ze(),Ne()),l&&!Kt&&We(),!yi&&!xi){if(e&&!Ht&&((Cn!==H||Tn!==R)&&(rn.style.cssText=Z(Cn,Tn,bn,Sn,On)),on)){Kt&&(ln.style.width=$(bn,Tn,En));var z=ee(bn,Tn,En)+te(Tn);p(Vn,m(Vn)-1),c(Vn,"#"+gi+" > .tns-item",z,m(Vn))}On&&Be(),o&&(Je(),ai=ii)}e&&mi.emit("newBreakpointEnd",At(t))}}function ge(){if(!bn&&!xn){var e=An?En-(En-1)/2:En;return pn<=e}var t=bn?(bn+Tn)*pn:gn[pn],n=Cn?Nn+2*Cn:Nn+Tn;return An&&(n-=bn?(Nn-bn)/2:(Nn-(gn[ii+1]-gn[ii]-Tn))/2),t<=n}function ye(){for(var e in an=0,Qt)e=parseInt(e),mn>=e&&(an=e)}function fe(){!Wn&&da&&E(da),!Mn&&Xi&&E(Xi),Rn||(qi?E(qi):(Fi&&E(Fi),Yi&&E(Yi)))}function ve(){Wn&&da&&w(da),Mn&&Xi&&w(Xi),Rn&&(qi?w(qi):(Fi&&w(Fi),Yi&&w(Yi)))}function xe(){if(!bi){if(Cn&&(rn.style.margin="0px"),Kn)for(var e="tns-transparent",t=Kn;t--;)Kt&&F(cn[t],e),F(cn[Un-t-1],e);fe(),bi=!0}}function be(){if(bi){if(Cn&&Ht&&(rn.style.margin=""),Kn)for(var e="tns-transparent",t=Kn;t--;)Kt&&Y(cn[t],e),Y(cn[Un-t-1],e);ve(),bi=!1}}function Ce(){if(!fi){if(Vn.disabled=!0,ln.className=ln.className.replace(hi.substring(1),""),T(ln,["style"]),Bn)for(var e=Kn;e--;)Kt&&E(cn[e]),E(cn[Un-e-1]);if(on&&Kt||T(rn,["style"]),!Kt)for(var t,n=ii,a=ii+pn;n<a;n++)t=cn[n],T(t,["style"]),Y(t,Zt),Y(t,tn);fe(),fi=!0}}function Te(){if(fi){if(Vn.disabled=!1,ln.className+=hi,Je(),Bn)for(var e=Kn;e--;)Kt&&w(cn[e]),w(cn[Un-e-1]);if(!Kt)for(var t=ii,n=ii+pn;t<n;t++){var a=cn[t],o=t<ii+En?Zt:tn;a.style.left=100*(t-ii)/En+"%",F(a,o)}ve(),fi=!1}}function Ne(){var e=Ae();vn.innerHTML!==e&&(vn.innerHTML=e)}function Ae(){var e=Ee(),t=e[0]+1,n=e[1]+1;return t===n?t+"":t+" to "+n}function Ee(e){null==e&&(e=_e());var t,n,o,s=ii;if(An||Cn?(xn||bn)&&(n=-(parseFloat(e)+Cn),o=n+Nn+2*Cn):xn&&(n=gn[ii],o=n+Nn),xn)gn.forEach(function(e,a){a<Un&&((An||Cn)&&e<=n+.5&&(s=a),.5<=o-e&&(t=a))});else{if(bn){var r=bn+Tn;An||Cn?(s=Math.floor(n/r),t=Math.ceil(o/r-1)):t=s+Math.ceil(Nn/r)-1}else if(An||Cn){var l=En-1;if(An?(s-=l/2,t=ii+l/2):t=ii+l,Cn){var i=Cn*En/Nn;s-=i,t+=i}s=Math.floor(s),t=Math.ceil(t)}else t=s+En-1;s=Math.max(s,0),t=Math.min(t,Un-1)}return[s,t]}function we(){if(Gn&&!yi){var e=Ee();e.push(Qn),De.apply(null,e).forEach(function(e){if(!j(e,ki)){var t={};t[jt]=function(t){t.stopPropagation()},B(e,t),B(e,Mi),e.src=v(e,"data-src");var n=v(e,"data-srcset");n&&(e.srcset=n),F(e,"loading")}})}}function Ie(e){F(e,"loaded"),Se(e)}function Le(e){F(e,"failed"),Se(e)}function Se(e){F(e,ki),Y(e,"loading"),O(e,Mi)}function De(e,t,n){var i=[];for(n||(n="img");e<=t;)y(cn[e].querySelectorAll(n),function(e){i.push(e)}),e++;return i}function Be(){var e=De.apply(null,Ee());M(function(){Oe(e,Me)})}function Oe(e,t){return fn?t():(e.forEach(function(t,n){!Gn&&t.complete&&Se(t),j(t,ki)&&e.splice(n,1)}),e.length?void M(function(){Oe(e,t)}):t())}function Re(){we(),ze(),Ne(),Ge(),qe()}function He(){Kt&&On&&(nn.style[Pt]=Sn/1e3+"s")}function ke(e,t){for(var n=[],a=e,o=Math.min(e+t,Un);a<o;a++)n.push(cn[a].offsetHeight);return Math.max.apply(null,n)}function Me(){var e=On?ke(ii,En):ke(Kn,pn),t=nn?nn:rn;t.style.height!==e&&(t.style.height=e+"px")}function Pe(){gn=[0];var e=on?"left":"top",t=on?"right":"bottom",n=cn[0].getBoundingClientRect()[e];y(cn,function(a,o){o&&gn.push(a.getBoundingClientRect()[e]-n),o===Un-1&&gn.push(a.getBoundingClientRect()[t]-n)})}function ze(){var e=Ee(),t=e[0],n=e[1];y(cn,function(e,a){a>=t&&a<=n?f(e,"aria-hidden")&&(T(e,["aria-hidden","tabindex"]),F(e,Hi),N(e,["tabindex"])):!f(e,"aria-hidden")&&(b(e,{"aria-hidden":"true",tabindex:"-1"}),C(e,{tabindex:"-1"}),Y(e,Hi))})}function We(){for(var e,t=ii+Math.min(pn,En),n=Un;n--;)e=cn[n],n>=ii&&n<t?(F(e,"tns-moving"),e.style.left=100*(n-ii)/En+"%",F(e,Zt),Y(e,tn)):e.style.left&&(e.style.left="",F(e,tn),Y(e,Zt)),Y(e,$t);setTimeout(function(){y(cn,function(e){Y(e,"tns-moving")})},300)}function qe(){if(Mn&&(Zi=0<=Ji?Ji:W(),Ji=-1,Zi!==$i)){var e=Qi[$i],t=Qi[Zi];b(e,{tabindex:"-1","aria-label":ta+($i+1)}),C(e,{tabindex:"-1"}),Y(e,ea),b(t,{"aria-label":ta+(Zi+1)+na}),T(t,"tabindex"),N(t,"tabindex"),F(t,ea),$i=Zi}}function je(e){return e.nodeName.toLowerCase()}function Fe(e){return"button"===je(e)}function Ye(e){return"true"===e.getAttribute("aria-disabled")}function Ve(e,t,n){e?t.disabled=n:t.setAttribute("aria-disabled",n.toString())}function Ge(){if(!(!Rn||Dn||Bn)){var e=zi?Fi.disabled:Ye(Fi),t=Wi?Yi.disabled:Ye(Yi),n=!!(ii<=si),i=!Dn&&ii>=ri;n&&!e&&Ve(zi,Fi,!0),!n&&e&&Ve(zi,Fi,!1),i&&!t&&Ve(Wi,Yi,!0),!i&&t&&Ve(Wi,Yi,!1)}}function Qe(e,t){Pt&&(e.style[Pt]=t)}function Xe(){return bn?(bn+Tn)*Un:gn[Un]}function Ke(e){null==e&&(e=ii);var t=Cn?Tn:0;return xn?(Nn-t-(gn[e+1]-gn[e]-Tn))/2:bn?(Nn-bn)/2:(En-1)/2}function Ue(){var e=Cn?Tn:0,t=Nn+e-Xe();return An&&!Bn&&(t=bn?-(bn+Tn)*(Un-1)-Ke():Ke(Un-1)-gn[Un-1]),0<t&&(t=0),t}function _e(e){null==e&&(e=ii);var t;if(!on||xn)t=-gn[e],An&&xn&&(t+=Ke());else if(bn)t=-(bn+Tn)*e,An&&(t+=Ke());else{var n=kt?Un:En;An&&(e-=Ke()),t=100*-e/n}return _n&&(t=Math.max(t,Jn)),t+=!on||xn||bn?"px":"%",t}function Je(e){Qe(ln,"0s"),Ze(e)}function Ze(e){null==e&&(e=_e()),"rtl"===kn&&"-"===e.charAt(0)&&(e=e.substr(1)),ln.style[$n]=ei+e+ti}function $e(e,t,n,a){var o=e+En;Bn||(o=Math.min(o,Un));for(var s,r=e;r<o;r++)s=cn[r],a||(s.style.left=100*(r-ii)/En+"%"),en&&zt&&(s.style[zt]=s.style[qt]=en*(r-e)/1e3+"s"),Y(s,t),F(s,n),a&&Xn.push(s)}function et(t,e){Zn&&ba(),(ii!==ai||e)&&(mi.emit("indexChanged",At()),mi.emit("transitionStart",At()),On&&Be(),aa&&t&&0<=["click","keydown"].indexOf(t.type)&&dt(),ci=!0,Ca())}function tt(e){return e.toLowerCase().replace(/-/g,"")}function nt(e){if(Kt||ci){if(mi.emit("transitionEnd",At(e)),!Kt&&0<Xn.length)for(var t,n=0;n<Xn.length;n++)t=Xn[n],t.style.left="",qt&&zt&&(t.style[qt]="",t.style[zt]=""),Y(t,$t),F(t,tn);if(!e||!Kt&&e.target.parentNode===ln||e.target===ln&&tt(e.propertyName)===tt($n)){if(!Zn){var a=ii;ba(),ii!==a&&(mi.emit("indexChanged",At()),Je())}"inner"===Xt&&mi.emit("innerLoaded",At()),ci=!1,ai=ii}}}function it(t,n){if(!xi)if("prev"===t)at(n,-1);else if("next"===t)at(n,1);else{if(ci){if(li)return;nt()}var e=P(),i=0;if("first"===t?i=-e:"last"===t?i=Kt?pn-En-e:pn-1-e:("number"!=typeof t&&(t=parseInt(t)),!isNaN(t)&&(!n&&(t=Math.max(0,Math.min(pn-1,t))),i=t-e)),!Kt&&i&&Math.abs(i)<En){var a=0<i?1:-1;i+=ii+i-pn>=si?pn*a:-1*(2*pn*a)}ii+=i,Kt&&Bn&&(ii<si&&(ii+=pn),ii>ri&&(ii-=pn)),P(ii)!==P(ai)&&et(n)}}function at(t,n){if(ci){if(li)return;nt()}var i;if(!n){t=pt(t);for(var a=mt(t);a!==qi&&0>[Fi,Yi].indexOf(a);)a=a.parentNode;var o=[Fi,Yi].indexOf(a);0<=o&&(i=!0,n=0===o?-1:1)}if(Dn){if(ii===si&&-1===n)return void it("last",t);if(ii===ri&&1===n)return void it("first",t)}n&&(ii+=wn*n,xn&&(ii=Math.floor(ii)),et(i||t&&"keydown"===t.type?t:null))}function ot(){ia=setInterval(function(){at(null,la)},qn),aa=!0}function st(){clearInterval(ia),aa=!1}function rt(e,t){b(da,{"data-action":e}),da.innerHTML=ca[0]+e+ca[1]+t}function lt(){ot(),da&&rt("stop",jn[1])}function dt(){st(),da&&rt("start",jn[0])}function ut(){aa?(dt(),sa=!0):(lt(),sa=!1)}function ct(e){e.focus()}function pt(t){return t=t||wt.event,ht(t)?t.changedTouches[0]:t}function mt(t){return t.target||wt.event.srcElement}function ht(t){return 0<=t.type.indexOf("touch")}function gt(t){t.preventDefault?t.preventDefault():t.returnValue=!1}function yt(){return g(h(fa.y-ya.y,fa.x-ya.x),di)===a.axis}function ft(t){if(ci){if(li)return;nt()}Wn&&aa&&st(),va=!0,ga&&(z(ga),ga=null);var e=pt(t);mi.emit(ht(t)?"touchStart":"dragStart",At(t)),!ht(t)&&0<=["img","a"].indexOf(je(mt(t)))&&gt(t),fa.x=ya.x=e.clientX,fa.y=ya.y=e.clientY,Kt&&(pa=parseFloat(ln.style[$n].replace(ei,"")),Qe(ln,"0s"))}function vt(t){if(va){var e=pt(t);fa.x=e.clientX,fa.y=e.clientY,Kt?!ga&&(ga=M(function(){xt(t)})):("?"===ui&&(ui=yt()),ui&&(Pi=!0)),("boolean"!=typeof t.cancelable||t.cancelable)&&Pi&&t.preventDefault()}}function xt(t){if(!ui)return void(va=!1);if(z(ga),va&&(ga=M(function(){xt(t)})),"?"===ui&&(ui=yt()),ui){!Pi&&ht(t)&&(Pi=!0);try{t.type&&mi.emit(ht(t)?"touchMove":"dragMove",At(t))}catch(e){}var e=pa,n=xa(fa,ya);if(!on||bn||xn)e+=n,e+="px";else{var i=kt?100*(n*En)/((Nn+Tn)*Un):100*n/(Nn+Tn);e+=i,e+="%"}ln.style[$n]=ei+e+ti}}function bt(t){if(va){ga&&(z(ga),ga=null),Kt&&Qe(ln,""),va=!1;var e=pt(t);fa.x=e.clientX,fa.y=e.clientY;var n=xa(fa,ya);if(Math.abs(n)){if(!ht(t)){var i=mt(t);B(i,{click:function e(t){gt(t),O(i,{click:e})}})}Kt?ga=M(function(){if(on&&!xn){var e=-n*En/(Nn+Tn);e=0<n?Math.floor(e):Math.ceil(e),ii+=e,"rtl"===kn&&(ii+=-1*e)}else{var a=-(pa+n);if(0>=a)ii=si;else if(a>=gn[Un-1])ii=ri;else for(var o=0;o<Un&&a>=gn[o];)ii=o,a>gn[o]&&0>n&&(ii+=1),o++}et(t,n),mi.emit(ht(t)?"touchEnd":"dragEnd",At(t))}):ui&&at(t,0<n?-1:1)}}"auto"===a.preventScrollOnTouch&&(Pi=!1),di&&(ui="?"),Wn&&!aa&&ot()}function Ct(){var e=nn?nn:rn;e.style.height=gn[ii+En]-gn[ii]+"px"}function Tt(){var e=bn?(bn+Tn)*pn/Nn:pn/En;return Math.min(Math.ceil(e),pn)}function Nt(){if(Mn&&!Di&&Ui!==_i){var e=_i,t=Ui,n=w;for(_i>Ui&&(e=Ui,t=_i,n=E);e<t;)n(Qi[e]),e++;_i=Ui}}function At(t){return{container:ln,slideItems:cn,navContainer:Xi,navItems:Qi,controlsContainer:qi,hasControls:Li,prevButton:Fi,nextButton:Yi,items:En,slideBy:wn,cloneCount:Kn,slideCount:pn,slideCountNew:Un,index:ii,indexCached:ai,displayIndex:x(),navCurrentIndex:Zi,navCurrentIndexCached:$i,pages:Ui,pagesCached:_i,sheet:Vn,isOn:hn,event:t||{}}}a=e({container:".slider",mode:"carousel",axis:"horizontal",items:1,gutter:0,edgePadding:0,fixedWidth:!1,autoWidth:!1,viewportMax:!1,slideBy:1,center:!1,controls:!0,controlsPosition:"top",controlsText:["prev","next"],controlsContainer:!1,prevButton:!1,nextButton:!1,nav:!0,navPosition:"top",navContainer:!1,navAsThumbnails:!1,arrowKeys:!1,speed:300,autoplay:!1,autoplayPosition:"top",autoplayTimeout:5e3,autoplayDirection:"forward",autoplayText:["start","stop"],autoplayHoverPause:!1,autoplayButton:!1,autoplayButtonOutput:!0,autoplayResetOnVisibility:!0,animateIn:"tns-fadeIn",animateOut:"tns-fadeOut",animateNormal:"tns-normal",animateDelay:!1,loop:!0,rewind:!1,autoHeight:!1,responsive:!1,lazyload:!1,lazyloadSelector:".tns-lazy-img",touch:!0,mouseDrag:!1,swipeAngle:15,nested:!1,preventActionWhenRunning:!1,preventScrollOnTouch:!1,freezable:!0,onInit:!1,useLocalStorage:!0,textDirection:"ltr"},a||{});var Et=document,wt=window,It={ENTER:13,SPACE:32,LEFT:37,RIGHT:39},Lt={},St=a.useLocalStorage;if(St){var Dt=navigator.userAgent,Bt=new Date;try{Lt=wt.localStorage,Lt?(Lt.setItem(Bt,Bt),St=Lt.getItem(Bt)==Bt,Lt.removeItem(Bt)):St=!1,St||(Lt={})}catch(t){St=!1}St&&(Lt.tnsApp&&Lt.tnsApp!==Dt&&["tC","tPL","tMQ","tTf","t3D","tTDu","tTDe","tADu","tADe","tTE","tAE"].forEach(function(e){Lt.removeItem(e)}),localStorage.tnsApp=Dt)}var Ot=Lt.tC?t(Lt.tC):n(Lt,"tC",r(),St),Rt=Lt.tPL?t(Lt.tPL):n(Lt,"tPL",l(),St),Ht=Lt.tMQ?t(Lt.tMQ):n(Lt,"tMQ",d(),St),kt=Lt.tTf?t(Lt.tTf):n(Lt,"tTf",L("transform"),St),Mt=Lt.t3D?t(Lt.t3D):n(Lt,"t3D",S(kt),St),Pt=Lt.tTDu?t(Lt.tTDu):n(Lt,"tTDu",L("transitionDuration"),St),zt=Lt.tTDe?t(Lt.tTDe):n(Lt,"tTDe",L("transitionDelay"),St),Wt=Lt.tADu?t(Lt.tADu):n(Lt,"tADu",L("animationDuration"),St),qt=Lt.tADe?t(Lt.tADe):n(Lt,"tADe",L("animationDelay"),St),jt=Lt.tTE?t(Lt.tTE):n(Lt,"tTE",D(Pt,"Transition"),St),Ft=Lt.tAE?t(Lt.tAE):n(Lt,"tAE",D(Wt,"Animation"),St),Yt=wt.console&&"function"==typeof wt.console.warn,Vt=["container","controlsContainer","prevButton","nextButton","navContainer","autoplayButton"],Gt={};if(Vt.forEach(function(e){if("string"==typeof a[e]){var t=a[e],n=Et.querySelector(t);if(Gt[e]=t,n&&n.nodeName)a[e]=n;else return void(Yt&&console.warn("Can't find",a[e]))}}),1>a.container.children.length)return void(Yt&&console.warn("No slides found in",a.container));var Qt=a.responsive,Xt=a.nested,Kt="carousel"===a.mode;if(Qt){0 in Qt&&(a=e(a,Qt[0]),delete Qt[0]);var Ut={};for(var _t in Qt){var Jt=Qt[_t];Jt="number"==typeof Jt?{items:Jt}:Jt,Ut[_t]=Jt}Qt=Ut,Ut=null}if(Kt||o(a),!Kt){a.axis="horizontal",a.slideBy="page",a.edgePadding=!1;var Zt=a.animateIn,$t=a.animateOut,en=a.animateDelay,tn=a.animateNormal}var nn,an,on="horizontal"===a.axis,sn=Et.createElement("div"),rn=Et.createElement("div"),ln=a.container,dn=ln.parentNode,un=ln.outerHTML,cn=ln.children,pn=cn.length,mn=V(),hn=!1;Qt&&ye(),Kt&&(ln.className+=" tns-vpfix");var gn,yn,fn,vn,xn=a.autoWidth,bn=_("fixedWidth"),Cn=_("edgePadding"),Tn=_("gutter"),Nn=K(),An=_("center"),En=xn?1:Math.floor(_("items")),wn=_("slideBy"),In=a.viewportMax||a.fixedWidthViewportWidth,Ln=_("arrowKeys"),Sn=_("speed"),Dn=a.rewind,Bn=!Dn&&a.loop,On=_("autoHeight"),Rn=_("controls"),Hn=_("controlsText"),kn=_("textDirection"),Mn=_("nav"),Pn=_("touch"),zn=_("mouseDrag"),Wn=_("autoplay"),qn=_("autoplayTimeout"),jn=_("autoplayText"),Fn=_("autoplayHoverPause"),Yn=_("autoplayResetOnVisibility"),Vn=u(),Gn=a.lazyload,Qn=a.lazyloadSelector,Xn=[],Kn=Bn?function e(){var t=q(),n=Kt?Math.ceil((5*t-pn)/2):4*t-pn;return n=Math.max(t,n),U("edgePadding")?n+1:n}():0,Un=Kt?pn+2*Kn:pn+Kn,_n=!!((bn||xn)&&!Bn),Jn=bn?Ue():null,Zn=!(Kt&&Bn),$n=on?"left":"top",ei="",ti="",ni=function(){return bn?function(){return An&&!Bn?pn-1:Math.ceil(-Jn/(bn+Tn))}:xn?function(){for(var e=Un;e--;)if(gn[e]>=-Jn)return e}:function(){return An&&Kt&&!Bn?pn-1:Bn||Kt?Math.max(0,Un-Math.ceil(En)):Un-1}}(),ii=k(_("startIndex")),ai=ii,oi=x(),si=0,ri=xn?null:ni(),li=a.preventActionWhenRunning,di=a.swipeAngle,ui=!di||"?",ci=!1,pi=a.onInit,mi=new R,hi=" tns-slider tns-"+a.mode,gi=ln.id||i(),yi=_("disable"),fi=!1,vi=a.freezable,xi=vi&&!xn&&ge(),bi=!1,Ci={click:at,keydown:function n(t){t=pt(t);var i=[It.LEFT,It.RIGHT].indexOf(t.keyCode);0<=i&&(0===i?!Fi.disabled&&at(t,-1):!Yi.disabled&&at(t,1))}},Ti={click:function n(t){if(ci){if(li)return;nt()}t=pt(t);for(var i,a=mt(t);a!==Xi&&!f(a,"data-nav");)a=a.parentNode;if(f(a,"data-nav")){var i=Ji=+v(a,"data-nav"),o=bn||xn?i*pn/Ui:i*En,s=Di?i:Math.min(Math.ceil(o),pn-1);it(s,t),Zi===i&&(aa&&dt(),Ji=-1)}},keydown:function n(t){t=pt(t);var i=Et.activeElement;if(f(i,"data-nav")){var a=[It.LEFT,It.RIGHT,It.ENTER,It.SPACE].indexOf(t.keyCode),o=+v(i,"data-nav");0<=a&&(0===a?0<o&&ct(Qi[o-1]):1===a?o<Ui-1&&ct(Qi[o+1]):(Ji=o,it(o,t)))}}},Ni={mouseover:function e(){aa&&(st(),oa=!0)},mouseout:function e(){oa&&(ot(),oa=!1)}},Ai={visibilitychange:function e(){Et.hidden?aa&&(st(),ra=!0):ra&&(ot(),ra=!1)}},Ei={keydown:function n(t){t=pt(t);var i=[It.LEFT,It.RIGHT].indexOf(t.keyCode);0<=i&&at(t,0===i?-1:1)}},wi={touchstart:ft,touchmove:vt,touchend:bt,touchcancel:bt},Ii={mousedown:ft,mousemove:vt,mouseup:bt,mouseleave:bt},Li=U("controls"),Si=U("nav"),Di=!!xn||a.navAsThumbnails,Bi=U("autoplay"),Oi=U("touch"),Ri=U("mouseDrag"),Hi="tns-slide-active",ki="tns-complete",Mi={load:function e(t){Ie(mt(t))},error:function e(t){Le(mt(t))}},Pi="force"===a.preventScrollOnTouch;if(Li)var zi,Wi,qi=a.controlsContainer,ji=a.controlsContainer?a.controlsContainer.outerHTML:"",Fi=a.prevButton,Yi=a.nextButton,Vi=a.prevButton?a.prevButton.outerHTML:"",Gi=a.nextButton?a.nextButton.outerHTML:"";if(Si)var Qi,Xi=a.navContainer,Ki=a.navContainer?a.navContainer.outerHTML:"",Ui=xn?pn:Tt(),_i=0,Ji=-1,Zi=W(),$i=Zi,ea="tns-nav-active",ta="Carousel Page ",na=" (Current Slide)";if(Bi)var ia,aa,oa,sa,ra,la="forward"===a.autoplayDirection?1:-1,da=a.autoplayButton,ua=a.autoplayButton?a.autoplayButton.outerHTML:"",ca=["<span class='tns-visually-hidden'>"," animation</span>"];if(Oi||Ri)var pa,ma,ha,ga,ya={},fa={},va=!1,xa=on?function(e,t){return e.x-t.x}:function(e,t){return e.y-t.y};xn||s(yi||xi),kt&&($n=kt,ei="translate",Mt?(ei+=on?"3d(":"3d(0px, ",ti=on?", 0px, 0px)":", 0px)"):(ei+=on?"X(":"Y(",ti=")")),Kt&&(ln.className=ln.className.replace("tns-vpfix","")),oe(),de(),se();var ba=function(){return Bn?Kt?function(){var e=si,t=ri;e+=wn,t-=wn,Cn?(e+=1,t-=1):bn&&(Nn+Tn)%(bn+Tn)&&(t-=1),Kn&&(ii>t?ii-=pn:ii<e&&(ii+=pn))}:function(){if(ii>ri)for(;ii>=si+pn;)ii-=pn;else if(ii<si)for(;ii<=ri-pn;)ii+=pn}:function(){ii=Math.max(si,Math.min(ri,ii))}}(),Ca=function(){return Kt?function(){Qe(ln,""),Pt||!Sn?(Ze(),(!Sn||!I(ln))&&nt()):H(ln,$n,ei,ti,_e(),Sn,nt),on||Ct()}:function(){Xn=[];var e={};e[jt]=e[Ft]=nt,O(cn[ai],e),B(cn[ii],e),$e(ai,Zt,$t,!0),$e(ii,tn,Zt),jt&&Ft&&Sn&&I(ln)||nt()}}();return{version:"2.9.2",getInfo:At,events:mi,goTo:it,play:function e(){Wn&&!aa&&(lt(),sa=!1)},pause:function e(){aa&&(dt(),sa=!0)},isOn:hn,updateSliderHeight:Me,refresh:se,destroy:pe,rebuild:function(){return X(e(a,Gt))}}};return X}();