";return o.innerHTML=r,s.appendChild(o),i.appendChild(s),t=Math.abs(s.getBoundingClientRect().left-o.children[67].getBoundingClientRect().left)<2,i.fake?p(i,n):s.remove(),t}(),h),I=o.tMQ?l(o.tMQ):c(o,"tMQ",function(){if(window.matchMedia||window.msMatchMedia)return!0;var t,e=document,i=u(),n=d(i),s=e.createElement("div"),o=e.createElement("style"),r="@media all and (min-width:1px){.tns-mq-test{position:absolute}}";return o.type="text/css",s.className="tns-mq-test",i.appendChild(o),i.appendChild(s),o.styleSheet?o.styleSheet.cssText=r:o.appendChild(e.createTextNode(r)),t=window.getComputedStyle?window.getComputedStyle(s).position:s.currentStyle.position,i.fake?p(i,n):s.remove(),"absolute"===t}(),h),z=o.tTf?l(o.tTf):c(o,"tTf",P("transform"),h),R=o.t3D?l(o.t3D):c(o,"t3D",function(t){if(!t)return!1;if(!window.getComputedStyle)return!1;var e,i=document,n=u(),s=d(n),o=i.createElement("p"),r=t.length>9?"-"+t.slice(0,-9).toLowerCase()+"-":"";return r+="transform",n.insertBefore(o,null),o.style[t]="translate3d(1px,1px,1px)",e=window.getComputedStyle(o).getPropertyValue(r),n.fake?p(n,s):o.remove(),void 0!==e&&e.length>0&&"none"!==e}(z),h),B=o.tTDu?l(o.tTDu):c(o,"tTDu",P("transitionDuration"),h),$=o.tTDe?l(o.tTDe):c(o,"tTDe",P("transitionDelay"),h),q=o.tADu?l(o.tADu):c(o,"tADu",P("animationDuration"),h),W=o.tADe?l(o.tADe):c(o,"tADe",P("animationDelay"),h),V=o.tTE?l(o.tTE):c(o,"tTE",O(B,"Transition"),h),U=o.tAE?l(o.tAE):c(o,"tAE",O(q,"Animation"),h),Y=i.console&&"function"==typeof i.console.warn,Q=["container","controlsContainer","prevButton","nextButton","navContainer","autoplayButton"],K={};if(Q.forEach((function(i){if("string"==typeof t[i]){var n=t[i],s=e.querySelector(n);if(K[i]=n,!s||!s.nodeName)return void(Y&&console.warn("Can't find",t[i]));t[i]=s}})),!(t.container.children.length<1)){var X=t.responsive,G=t.nested,J="carousel"===t.mode;if(X){0 in X&&(t=a(t,X[0]),delete X[0]);var Z={};for(var tt in X){var et=X[tt];et="number"==typeof et?{items:et}:et,Z[tt]=et}X=Z,Z=null}if(J||function t(e){for(var i in e)J||("slideBy"===i&&(e[i]="page"),"edgePadding"===i&&(e[i]=!1),"autoHeight"===i&&(e[i]=!1)),"responsive"===i&&t(e[i])}(t),!J){t.axis="horizontal",t.slideBy="page",t.edgePadding=!1;var it=t.animateIn,nt=t.animateOut,st=t.animateDelay,ot=t.animateNormal}var rt,at,lt="horizontal"===t.axis,ct=e.createElement("div"),ut=e.createElement("div"),ht=t.container,dt=ht.parentNode,pt=ht.outerHTML,ft=ht.children,mt=ft.length,gt=Oi(),yt=!1;X&&Ji(),J&&(ht.className+=" tns-vpfix");var vt,bt,wt,_t,Et,xt,kt,Tt,Ct=t.autoWidth,St=ji("fixedWidth"),At=ji("edgePadding"),Lt=ji("gutter"),Pt=Ii(),Ot=ji("center"),Mt=Ct?1:Math.floor(ji("items")),Nt=ji("slideBy"),It=t.viewportMax||t.fixedWidthViewportWidth,Dt=ji("arrowKeys"),jt=ji("speed"),Ht=t.rewind,Ft=!Ht&&t.loop,zt=ji("autoHeight"),Rt=ji("controls"),Bt=ji("controlsText"),$t=ji("nav"),qt=ji("touch"),Wt=ji("mouseDrag"),Vt=ji("autoplay"),Ut=ji("autoplayTimeout"),Yt=ji("autoplayText"),Qt=ji("autoplayHoverPause"),Kt=ji("autoplayResetOnVisibility"),Xt=(null,kt=ji("nonce"),Tt=document.createElement("style"),kt&&Tt.setAttribute("nonce",kt),document.querySelector("head").appendChild(Tt),Tt.sheet?Tt.sheet:Tt.styleSheet),Gt=t.lazyload,Jt=t.lazyloadSelector,Zt=[],te=Ft?(Et=function(){if(Ct||St&&!It)return mt-1;var e=St?"fixedWidth":"items",i=[];if((St||t[e]=-ne)return t}:function(){return Ot&&J&&!Ft?mt-1:Ft||J?Math.max(0,ee-Math.ceil(Mt)):ee-1},ce=Ai(ji("startIndex")),ue=ce,he=(Si(),0),de=Ct?null:le(),pe=t.preventActionWhenRunning,fe=t.swipeAngle,me=!fe||"?",ge=!1,ye=t.onInit,ve=new H,be=" tns-slider tns-"+t.mode,we=ht.id||(_t=window.tnsId,window.tnsId=_t?_t+1:1,"tns"+window.tnsId),_e=ji("disable"),Ee=!1,xe=t.freezable,ke=!(!xe||Ct)&&Gi(),Te=!1,Ce={click:In,keydown:function(t){t=$n(t);var e=[n.LEFT,n.RIGHT].indexOf(t.keyCode);e>=0&&(0===e?Qe.disabled||In(t,-1):Ke.disabled||In(t,1))}},Se={click:function(t){if(ge){if(pe)return;Mn()}for(var e=qn(t=$n(t));e!==Ze&&!_(e,"data-nav");)e=e.parentNode;if(_(e,"data-nav")){var i=ni=Number(E(e,"data-nav")),n=St||Ct?i*mt/ei:i*Mt;Nn(De?i:Math.min(Math.ceil(n),mt-1),t),si===i&&(ui&&zn(),ni=-1)}},keydown:function(t){t=$n(t);var i=e.activeElement;if(_(i,"data-nav")){var s=[n.LEFT,n.RIGHT,n.ENTER,n.SPACE].indexOf(t.keyCode),o=Number(E(i,"data-nav"));s>=0&&(0===s?o>0&&Bn(Je[o-1]):1===s?o=0&&In(t,0===e?-1:1)}},Oe={touchstart:Yn,touchmove:Qn,touchend:Xn,touchcancel:Xn},Me={mousedown:Yn,mousemove:Qn,mouseup:Xn,mouseleave:Xn},Ne=Di("controls"),Ie=Di("nav"),De=!!Ct||t.navAsThumbnails,je=Di("autoplay"),He=Di("touch"),Fe=Di("mouseDrag"),ze="tns-slide-active",Re="tns-slide-cloned",Be="tns-complete",$e={load:function(t){ln(qn(t))},error:function(t){var e;e=qn(t),b(e,"failed"),cn(e)}},qe="force"===t.preventScrollOnTouch;if(Ne)var We,Ve,Ue=t.controlsContainer,Ye=t.controlsContainer?t.controlsContainer.outerHTML:"",Qe=t.prevButton,Ke=t.nextButton,Xe=t.prevButton?t.prevButton.outerHTML:"",Ge=t.nextButton?t.nextButton.outerHTML:"";if(Ie)var Je,Ze=t.navContainer,ti=t.navContainer?t.navContainer.outerHTML:"",ei=Ct?mt:Jn(),ii=0,ni=-1,si=Pi(),oi=si,ri="tns-nav-active",ai="Carousel Page ",li=" (Current Slide)";if(je)var ci,ui,hi,di,pi,fi="forward"===t.autoplayDirection?1:-1,mi=t.autoplayButton,gi=t.autoplayButton?t.autoplayButton.outerHTML:"",yi=[""," animation"];if(He||Fe)var vi,bi,wi={},_i={},Ei=!1,xi=lt?function(t,e){return t.x-e.x}:function(t,e){return t.y-e.y};Ct||Ci(_e||ke),z&&(oe=z,re="translate",R?(re+=lt?"3d(":"3d(0px, ",ae=lt?", 0px, 0px)":", 0px)"):(re+=lt?"X(":"Y(",ae=")")),J&&(ht.className=ht.className.replace("tns-vpfix","")),function(){if(Di("gutter"),ct.className="tns-outer",ut.className="tns-inner",ct.id=we+"-ow",ut.id=we+"-iw",""===ht.id&&(ht.id=we),be+=N||Ct?" tns-subpixel":" tns-no-subpixel",be+=M?" tns-calc":" tns-no-calc",Ct&&(be+=" tns-autowidth"),be+=" tns-"+t.axis,ht.className+=be,J?((rt=e.createElement("div")).id=we+"-mw",rt.className="tns-ovh",ct.appendChild(rt),rt.appendChild(ut)):ct.appendChild(ut),zt&&((rt||ut).className+=" tns-ah"),dt.insertBefore(ct,ht),ut.appendChild(ht),g(ft,(function(t,e){b(t,"tns-item"),t.id||(t.id=we+"-item"+e),!J&&ot&&b(t,ot),k(t,{"aria-hidden":"true",tabindex:"-1"})})),te){for(var i=e.createDocumentFragment(),n=e.createDocumentFragment(),s=te;s--;){var o=s%mt,r=ft[o].cloneNode(!0);if(b(r,Re),T(r,"id"),n.insertBefore(r,n.firstChild),J){var a=ft[mt-1-o].cloneNode(!0);b(a,Re),T(a,"id"),i.appendChild(a)}}ht.insertBefore(i,ht.firstChild),ht.appendChild(n),ft=ht.children}}(),function(){if(!J)for(var e=ce,n=ce+Math.min(mt,Mt);e .tns-item","font-size:"+i.getComputedStyle(ft[0]).fontSize+";",m(Xt)),f(Xt,"#"+we,"font-size:0;",m(Xt))):J&&g(ft,(function(t,e){t.style.marginLeft=function(t){return M?M+"("+100*t+"% / "+ee+")":100*t/ee+"%"}(e)}))),I){if(B){var o=rt&&t.autoHeight?$i(t.speed):"";f(Xt,"#"+we+"-mw",o,m(Xt))}o=Hi(t.edgePadding,t.gutter,t.fixedWidth,t.speed,t.autoHeight),f(Xt,"#"+we+"-iw",o,m(Xt)),J&&(o=lt&&!Ct?"width:"+Fi(t.fixedWidth,t.gutter,t.items)+";":"",B&&(o+=$i(jt)),f(Xt,"#"+we,o,m(Xt))),o=lt&&!Ct?zi(t.fixedWidth,t.gutter,t.items):"",t.gutter&&(o+=Ri(t.gutter)),J||(B&&(o+=$i(jt)),q&&(o+=qi(jt))),o&&f(Xt,"#"+we+" > .tns-item",o,m(Xt))}else J&&zt&&(rt.style[B]=jt/1e3+"s"),ut.style.cssText=Hi(At,Lt,St,zt),J&<&&!Ct&&(ht.style.width=Fi(St,Lt,Mt)),o=lt&&!Ct?zi(St,Lt,Mt):"",Lt&&(o+=Ri(Lt)),o&&f(Xt,"#"+we+" > .tns-item",o,m(Xt));if(X&&I)for(var r in X){r=parseInt(r);var a=X[r],l=(o="",""),c="",u="",h="",d=Ct?null:ji("items",r),p=ji("fixedWidth",r),y=ji("speed",r),v=ji("edgePadding",r),_=ji("autoHeight",r),E=ji("gutter",r);B&&rt&&ji("autoHeight",r)&&"speed"in a&&(l="#"+we+"-mw{"+$i(y)+"}"),("edgePadding"in a||"gutter"in a)&&(c="#"+we+"-iw{"+Hi(v,E,p,y,_)+"}"),J&<&&!Ct&&("fixedWidth"in a||"items"in a||St&&"gutter"in a)&&(u="width:"+Fi(p,E,d)+";"),B&&"speed"in a&&(u+=$i(y)),u&&(u="#"+we+"{"+u+"}"),("fixedWidth"in a||St&&"gutter"in a||!J&&"items"in a)&&(h+=zi(p,E,d)),"gutter"in a&&(h+=Ri(E)),!J&&"speed"in a&&(B&&(h+=$i(y)),q&&(h+=qi(y))),h&&(h="#"+we+" > .tns-item{"+h+"}"),(o=l+c+u+h)&&Xt.insertRule("@media (min-width: "+r/16+"em) {"+o+"}",Xt.cssRules.length)}}(),Wi();var ki=Ft?J?function(){var t=he,e=de;t+=Nt,e-=Nt,At?(t+=1,e-=1):St&&(Pt+Lt)%(St+Lt)&&(e-=1),te&&(ce>e?ce-=mt:cede)for(;ce>=he+mt;)ce-=mt;else if(ce=0?"%":"px",s=s.replace(l,""),c=Number(t.style[e].replace(i,"").replace(n,"").replace(l,"")),u=(s-c)/o*a,setTimeout((function s(){o-=a,c+=u,t.style[e]=i+c+l+n,o>0?setTimeout(s,a):r()}),a)),lt||Gn()}:function(){Zt=[];var t={};t[V]=t[U]=Mn,j(ft[ue],t),D(ft[ce],t),Ln(ue,it,nt,!0),Ln(ce,ot,it),V&&U&&jt&&L(ht)||Mn()};return{version:"2.9.3",getInfo:ts,events:ve,goTo:Nn,play:function(){Vt&&!ui&&(Fn(),di=!1)},pause:function(){ui&&(zn(),di=!0)},isOn:yt,updateSliderHeight:mn,refresh:Wi,destroy:function(){if(Xt.disabled=!0,Xt.ownerNode&&Xt.ownerNode.remove(),j(i,{resize:Ki}),Dt&&j(e,Pe),Ue&&j(Ue,Ce),Ze&&j(Ze,Se),j(ht,Ae),j(ht,Le),mi&&j(mi,{click:Rn}),Vt&&clearInterval(ci),J&&V){var n={};n[V]=Mn,j(ht,n)}qt&&j(ht,Oe),Wt&&j(ht,Me);var s=[pt,Ye,Xe,Ge,ti,gi];for(var o in Q.forEach((function(e,i){var n="container"===e?ct:t[e];if("object"==typeof n&&n){var o=!!n.previousElementSibling&&n.previousElementSibling,r=n.parentNode;n.outerHTML=s[i],t[e]=o?o.nextElementSibling:r.firstElementChild}})),Q=it=nt=st=ot=lt=ct=ut=ht=dt=pt=ft=mt=at=gt=Ct=St=At=Lt=Pt=Mt=Nt=It=Dt=jt=Ht=Ft=zt=Xt=Gt=vt=Zt=te=ee=ie=ne=se=oe=re=ae=le=ce=ue=he=de=fe=me=ge=ye=ve=be=we=_e=Ee=xe=ke=Te=Ce=Se=Ae=Le=Pe=Oe=Me=Ne=Ie=De=je=He=Fe=ze=Be=$e=bt=Rt=Bt=Ue=Ye=Qe=Ke=We=Ve=$t=Ze=ti=Je=ei=ii=ni=si=oi=ri=ai=li=Vt=Ut=fi=Yt=Qt=mi=gi=Kt=yi=ci=ui=hi=di=pi=wi=_i=vi=Ei=bi=xi=qt=Wt=null,this)"rebuild"!==o&&(this[o]=null);yt=!1},rebuild:function(){return F(a(t,K))}}}function Ci(t){t&&(Rt=$t=qt=Wt=Dt=Vt=Qt=Kt=!1)}function Si(){for(var t=J?ce-te:ce;t<0;)t+=mt;return t%mt+1}function Ai(t){return t=t?Math.max(0,Math.min(Ft?mt-1:mt-Mt,t)):0,J?t+te:t}function Li(t){for(null==t&&(t=ce),J&&(t-=te);t<0;)t+=mt;return Math.floor(t%mt)}function Pi(){var t,e=Li();return t=De?e:St||Ct?Math.ceil((e+1)*ei/mt-1):Math.floor(e/Mt),!Ft&&J&&ce===de&&(t=ei-1),t}function Oi(){return i.innerWidth||e.documentElement.clientWidth||e.body.clientWidth}function Mi(t){return"top"===t?"afterbegin":"beforeend"}function Ni(t){if(null!=t){var i,n,s=e.createElement("div");return t.appendChild(s),n=(i=s.getBoundingClientRect()).right-i.left,s.remove(),n||Ni(t.parentNode)}}function Ii(){var t=At?2*At-Lt:0;return Ni(dt)-t}function Di(e){if(t[e])return!0;if(X)for(var i in X)if(X[i][e])return!0;return!1}function ji(e,i){if(null==i&&(i=gt),"items"===e&&St)return Math.floor((Pt+Lt)/(St+Lt))||1;var n=t[e];if(X)for(var s in X)i>=parseInt(s)&&e in X[s]&&(n=X[s][e]);return"slideBy"===e&&"page"===n&&(n=ji("items")),J||"slideBy"!==e&&"items"!==e||(n=Math.floor(n)),n}function Hi(t,e,i,n,s){var o="";if(void 0!==t){var r=t;e&&(r-=e),o=lt?"margin: 0 "+r+"px 0 "+t+"px;":"margin: "+t+"px 0 "+r+"px 0;"}else if(e&&!i){var a="-"+e+"px";o="margin: 0 "+(lt?a+" 0 0":"0 "+a+" 0")+";"}return!J&&s&&B&&n&&(o+=$i(n)),o}function Fi(t,e,i){return t?(t+e)*ee+"px":M?M+"("+100*ee+"% / "+i+")":100*ee/i+"%"}function zi(t,e,i){var n;if(t)n=t+e+"px";else{J||(i=Math.floor(i));var s=J?ee:i;n=M?M+"(100% / "+s+")":100/s+"%"}return n="width:"+n,"inner"!==G?n+";":n+" !important;"}function Ri(t){var e="";return!1!==t&&(e=(lt?"padding-":"margin-")+(lt?"right":"bottom")+": "+t+"px;"),e}function Bi(t,e){var i=t.substring(0,t.length-e).toLowerCase();return i&&(i="-"+i+"-"),i}function $i(t){return Bi(B,18)+"transition-duration:"+t/1e3+"s;"}function qi(t){return Bi(q,17)+"animation-duration:"+t/1e3+"s;"}function Wi(){if(Di("autoHeight")||Ct||!lt){var t=ht.querySelectorAll("img");g(t,(function(t){var e=t.src;Gt||(e&&e.indexOf("data:image")<0?(t.src="",D(t,$e),b(t,"loading"),t.src=e):ln(t))})),s((function(){dn(C(t),(function(){bt=!0}))})),Di("autoHeight")&&(t=un(ce,Math.min(ce+Mt-1,ee-1))),Gt?Vi():s((function(){dn(C(t),Vi)}))}else J&&Sn(),Yi(),Qi()}function Vi(){if(Ct&&mt>1){var t=Ft?ce:mt-1;!function e(){var i=ft[t].getBoundingClientRect().left,n=ft[t-1].getBoundingClientRect().right;Math.abs(i-n)<=1?Ui():setTimeout((function(){e()}),16)}()}else Ui()}function Ui(){lt&&!Ct||(gn(),Ct?(ne=Tn(),xe&&(ke=Gi()),de=le(),Ci(_e||ke)):Gn()),J&&Sn(),Yi(),Qi()}function Yi(){if(yn(),ct.insertAdjacentHTML("afterbegin",'slide '+on()+" of "+mt+"
"),wt=ct.querySelector(".tns-liveregion .current"),je){var e=Vt?"stop":"start";mi?k(mi,{"data-action":e}):t.autoplayButtonOutput&&(ct.insertAdjacentHTML(Mi(t.autoplayPosition),'"),mi=ct.querySelector("[data-action]")),mi&&D(mi,{click:Rn}),Vt&&(Fn(),Qt&&D(ht,Ae),Kt&&D(ht,Le))}if(Ie){if(Ze)k(Ze,{"aria-label":"Carousel Pagination"}),g(Je=Ze.children,(function(t,e){k(t,{"data-nav":e,tabindex:"-1","aria-label":ai+(e+1),"aria-controls":we})}));else{for(var i="",n=De?"":'style="display:none"',s=0;s';i=''+i+"
",ct.insertAdjacentHTML(Mi(t.navPosition),i),Ze=ct.querySelector(".tns-nav"),Je=Ze.children}if(Zn(),B){var o=B.substring(0,B.length-18).toLowerCase(),r="transition: all "+jt/1e3+"s";o&&(r="-"+o+"-"+r),f(Xt,"[aria-controls^="+we+"-item]",r,m(Xt))}k(Je[si],{"aria-label":ai+(si+1)+li}),T(Je[si],"tabindex"),b(Je[si],ri),D(Ze,Se)}Ne&&(Ue||Qe&&Ke||(ct.insertAdjacentHTML(Mi(t.controlsPosition),'"),Ue=ct.querySelector(".tns-controls")),Qe&&Ke||(Qe=Ue.children[0],Ke=Ue.children[1]),t.controlsContainer&&k(Ue,{"aria-label":"Carousel Navigation",tabindex:"0"}),(t.controlsContainer||t.prevButton&&t.nextButton)&&k([Qe,Ke],{"aria-controls":we,tabindex:"-1"}),(t.controlsContainer||t.prevButton&&t.nextButton)&&(k(Qe,{"data-controls":"prev"}),k(Ke,{"data-controls":"next"})),We=bn(Qe),Ve=bn(Ke),En(),Ue?D(Ue,Ce):(D(Qe,Ce),D(Ke,Ce))),Zi()}function Qi(){if(J&&V){var n={};n[V]=Mn,D(ht,n)}qt&&D(ht,Oe,t.preventScrollOnTouch),Wt&&D(ht,Me),Dt&&D(e,Pe),"inner"===G?ve.on("outerResized",(function(){Xi(),ve.emit("innerLoaded",ts())})):(X||St||Ct||zt||!lt)&&D(i,{resize:Ki}),zt&&("outer"===G?ve.on("innerLoaded",hn):_e||hn()),an(),_e?nn():ke&&en(),ve.on("indexChanged",pn),"inner"===G&&ve.emit("innerLoaded",ts()),"function"==typeof ye&&ye(ts()),yt=!0}function Ki(t){s((function(){Xi($n(t))}))}function Xi(i){if(yt){"outer"===G&&ve.emit("outerResized",ts(i)),gt=Oi();var n,s=at,o=!1;X&&(Ji(),(n=s!==at)&&ve.emit("newBreakpointStart",ts(i)));var r,a,l=Mt,c=_e,u=ke,h=Dt,d=Rt,p=$t,y=qt,v=Wt,_=Vt,E=Qt,x=Kt,k=ce;if(n){var T=St,C=zt,L=Bt,P=Ot,O=Yt;if(!I)var M=Lt,N=At}if(Dt=ji("arrowKeys"),Rt=ji("controls"),$t=ji("nav"),qt=ji("touch"),Ot=ji("center"),Wt=ji("mouseDrag"),Vt=ji("autoplay"),Qt=ji("autoplayHoverPause"),Kt=ji("autoplayResetOnVisibility"),n&&(_e=ji("disable"),St=ji("fixedWidth"),jt=ji("speed"),zt=ji("autoHeight"),Bt=ji("controlsText"),Yt=ji("autoplayText"),Ut=ji("autoplayTimeout"),I||(At=ji("edgePadding"),Lt=ji("gutter"))),Ci(_e),Pt=Ii(),lt&&!Ct||_e||(gn(),lt||(Gn(),o=!0)),(St||Ct)&&(ne=Tn(),de=le()),(n||St)&&(Mt=ji("items"),Nt=ji("slideBy"),(a=Mt!==l)&&(St||Ct||(de=le()),ki())),n&&_e!==c&&(_e?nn():function(){if(Ee){if(Xt.disabled=!1,ht.className+=be,Sn(),Ft)for(var t=te;t--;)J&&A(ft[t]),A(ft[ee-t-1]);if(!J)for(var e=ce,i=ce+mt;e=ce&&e .tns-item",R,m(Xt))}zt&&hn(),o&&(Sn(),ue=ce)}n&&ve.emit("newBreakpointEnd",ts(i))}}function Gi(){if(!St&&!Ct)return mt<=(Ot?Mt-(Mt-1)/2:Mt);var t=St?(St+Lt)*mt:vt[mt],e=At?Pt+2*At:Pt+Lt;return Ot&&(e-=St?(Pt-St)/2:(Pt-(vt[ce+1]-vt[ce]-Lt))/2),t<=e}function Ji(){for(var t in at=0,X)t=parseInt(t),gt>=t&&(at=t)}function Zi(){!Vt&&mi&&S(mi),!$t&&Ze&&S(Ze),Rt||(Ue?S(Ue):(Qe&&S(Qe),Ke&&S(Ke)))}function tn(){Vt&&mi&&A(mi),$t&&Ze&&A(Ze),Rt&&(Ue?A(Ue):(Qe&&A(Qe),Ke&&A(Ke)))}function en(){if(!Te){if(At&&(ut.style.margin="0px"),te)for(var t="tns-transparent",e=te;e--;)J&&b(ft[e],t),b(ft[ee-e-1],t);Zi(),Te=!0}}function nn(){if(!Ee){if(Xt.disabled=!0,ht.className=ht.className.replace(be.substring(1),""),T(ht,["style"]),Ft)for(var t=te;t--;)J&&S(ft[t]),S(ft[ee-t-1]);if(lt&&J||T(ut,["style"]),!J)for(var e=ce,i=ce+mt;e=.5&&(e=o))}));else{if(St){var o=St+Lt;Ot||At?(s=Math.floor(i/o),e=Math.ceil(n/o-1)):e=s+Math.ceil(Pt/o)-1}else if(Ot||At){var r=Mt-1;if(Ot?(s-=r/2,e=ce+r/2):e=ce+r,At){var a=At*Mt/Pt;s-=a,e+=a}s=Math.floor(s),e=Math.ceil(e)}else e=s+Mt-1;s=Math.max(s,0),e=Math.min(e,ee-1)}return[s,e]}function an(){if(Gt&&!_e){var t=rn();t.push(Jt),un.apply(null,t).forEach((function(t){if(!v(t,Be)){var e={};e[V]=function(t){t.stopPropagation()},D(t,e),D(t,$e),t.src=E(t,"data-src");var i=E(t,"data-srcset");i&&(t.srcset=i),b(t,"loading")}}))}}function ln(t){b(t,"loaded"),cn(t)}function cn(t){b(t,Be),w(t,"loading"),j(t,$e)}function un(t,e,i){var n=[];for(i||(i="img");t<=e;)g(ft[t].querySelectorAll(i),(function(t){n.push(t)})),t++;return n}function hn(){var t=un.apply(null,rn());s((function(){dn(t,mn)}))}function dn(t,e){return bt?e():(t.forEach((function(e,i){!Gt&&e.complete&&cn(e),v(e,Be)&&t.splice(i,1)})),t.length?void s((function(){dn(t,e)})):e())}function pn(){an(),yn(),sn(),En(),function(){if($t&&(si=ni>=0?ni:Pi(),ni=-1,si!==oi)){var t=Je[oi],e=Je[si];k(t,{tabindex:"-1","aria-label":ai+(oi+1)}),w(t,ri),k(e,{"aria-label":ai+(si+1)+li}),T(e,"tabindex"),b(e,ri),oi=si}}()}function fn(t,e){for(var i=[],n=t,s=Math.min(t+e,ee);n=e&&n<=i?_(t,"aria-hidden")&&(T(t,["aria-hidden","tabindex"]),b(t,ze)):_(t,"aria-hidden")||(k(t,{"aria-hidden":"true",tabindex:"-1"}),w(t,ze))}))}function vn(t){return t.nodeName.toLowerCase()}function bn(t){return"button"===vn(t)}function wn(t){return"true"===t.getAttribute("aria-disabled")}function _n(t,e,i){t?e.disabled=i:e.setAttribute("aria-disabled",i.toString())}function En(){if(Rt&&!Ht&&!Ft){var t=We?Qe.disabled:wn(Qe),e=Ve?Ke.disabled:wn(Ke),i=ce<=he,n=!Ht&&ce>=de;i&&!t&&_n(We,Qe,!0),!i&&t&&_n(We,Qe,!1),n&&!e&&_n(Ve,Ke,!0),!n&&e&&_n(Ve,Ke,!1)}}function xn(t,e){B&&(t.style[B]=e)}function kn(t){return null==t&&(t=ce),Ct?(Pt-(At?Lt:0)-(vt[t+1]-vt[t]-Lt))/2:St?(Pt-St)/2:(Mt-1)/2}function Tn(){var t=Pt+(At?Lt:0)-(St?(St+Lt)*ee:vt[ee]);return Ot&&!Ft&&(t=St?-(St+Lt)*(ee-1)-kn():kn(ee-1)-vt[ee-1]),t>0&&(t=0),t}function Cn(t){var e;if(null==t&&(t=ce),lt&&!Ct)if(St)e=-(St+Lt)*t,Ot&&(e+=kn());else{var i=z?ee:Mt;Ot&&(t-=kn()),e=100*-t/i}else e=-vt[t],Ot&&Ct&&(e+=kn());return ie&&(e=Math.max(e,ne)),e+(!lt||Ct||St?"px":"%")}function Sn(t){xn(ht,"0s"),An(t)}function An(t){null==t&&(t=Cn()),ht.style[oe]=re+t+ae}function Ln(t,e,i,n){var s=t+Mt;Ft||(s=Math.min(s,ee));for(var o=t;o=0&&zn(),ge=!0,Ti())}function On(t){return t.toLowerCase().replace(/-/g,"")}function Mn(t){if(J||ge){if(ve.emit("transitionEnd",ts(t)),!J&&Zt.length>0)for(var e=0;e0?1:-1;n+=ce+n-mt>=he?mt*s:2*mt*s*-1}ce+=n,J&&Ft&&(cede&&(ce-=mt)),Li(ce)!==Li(ue)&&Pn(e)}}function In(t,e){if(ge){if(pe)return;Mn()}var i;if(!e){for(var n=qn(t=$n(t));n!==Ue&&[Qe,Ke].indexOf(n)<0;)n=n.parentNode;var s=[Qe,Ke].indexOf(n);s>=0&&(i=!0,e=0===s?-1:1)}if(Ht){if(ce===he&&-1===e)return void Nn("last",t);if(ce===de&&1===e)return void Nn("first",t)}e&&(ce+=Nt*e,Ct&&(ce=Math.floor(ce)),Pn(i||t&&"keydown"===t.type?t:null))}function Dn(){ci=setInterval((function(){In(null,fi)}),Ut),ui=!0}function jn(){clearInterval(ci),ui=!1}function Hn(t,e){k(mi,{"data-action":t}),mi.innerHTML=yi[0]+t+yi[1]+e}function Fn(){Dn(),mi&&Hn("stop",Yt[1])}function zn(){jn(),mi&&Hn("start",Yt[0])}function Rn(){ui?(zn(),di=!0):(Fn(),di=!1)}function Bn(t){t.focus()}function $n(t){return Wn(t=t||i.event)?t.changedTouches[0]:t}function qn(t){return t.target||i.event.srcElement}function Wn(t){return t.type.indexOf("touch")>=0}function Vn(t){t.preventDefault?t.preventDefault():t.returnValue=!1}function Un(){return o=_i.y-wi.y,r=_i.x-wi.x,e=Math.atan2(o,r)*(180/Math.PI),i=fe,n=!1,(s=Math.abs(90-Math.abs(e)))>=90-i?n="horizontal":s<=i&&(n="vertical"),n===t.axis;var e,i,n,s,o,r}function Yn(t){if(ge){if(pe)return;Mn()}Vt&&ui&&jn(),Ei=!0,bi&&(r(bi),bi=null);var e=$n(t);ve.emit(Wn(t)?"touchStart":"dragStart",ts(t)),!Wn(t)&&["img","a"].indexOf(vn(qn(t)))>=0&&Vn(t),_i.x=wi.x=e.clientX,_i.y=wi.y=e.clientY,J&&(vi=parseFloat(ht.style[oe].replace(re,"")),xn(ht,"0s"))}function Qn(t){if(Ei){var e=$n(t);_i.x=e.clientX,_i.y=e.clientY,J?bi||(bi=s((function(){Kn(t)}))):("?"===me&&(me=Un()),me&&(qe=!0)),("boolean"!=typeof t.cancelable||t.cancelable)&&qe&&t.preventDefault()}}function Kn(t){if(me){if(r(bi),Ei&&(bi=s((function(){Kn(t)}))),"?"===me&&(me=Un()),me){!qe&&Wn(t)&&(qe=!0);try{t.type&&ve.emit(Wn(t)?"touchMove":"dragMove",ts(t))}catch(t){}var e=vi,i=xi(_i,wi);!lt||St||Ct?(e+=i,e+="px"):(e+=z?i*Mt*100/((Pt+Lt)*ee):100*i/(Pt+Lt),e+="%"),ht.style[oe]=re+e+ae}}else Ei=!1}function Xn(e){if(Ei){bi&&(r(bi),bi=null),J&&xn(ht,""),Ei=!1;var i=$n(e);_i.x=i.clientX,_i.y=i.clientY;var n=xi(_i,wi);if(Math.abs(n)){if(!Wn(e)){var o=qn(e);D(o,{click:function t(e){Vn(e),j(o,{click:t})}})}J?bi=s((function(){if(lt&&!Ct){var t=-n*Mt/(Pt+Lt);t=n>0?Math.floor(t):Math.ceil(t),ce+=t}else{var i=-(vi+n);if(i<=0)ce=he;else if(i>=vt[ee-1])ce=de;else for(var s=0;s=vt[s];)ce=s,i>vt[s]&&n<0&&(ce+=1),s++}Pn(e,n),ve.emit(Wn(e)?"touchEnd":"dragEnd",ts(e))})):me&&In(e,n>0?-1:1)}}"auto"===t.preventScrollOnTouch&&(qe=!1),fe&&(me="?"),Vt&&!ui&&Dn()}function Gn(){(rt||ut).style.height=vt[ce+Mt]-vt[ce]+"px"}function Jn(){var t=St?(St+Lt)*mt/Pt:mt/Mt;return Math.min(Math.ceil(t),mt)}function Zn(){if($t&&!De&&ei!==ii){var t=ii,e=ei,i=A;for(ii>ei&&(t=ei,e=ii,i=S);tt.length)););var l=t.substring(0,e),c=t.substring(l.length+1,e+s),u=t.substring(e+s+1);t=l+c+u,s--}i.timeout=setTimeout((function(){i.toggleBlinking(!1),e>=t.length?i.doneTyping(t,e):i.keepTyping(t,e,s),i.temporaryPause&&(i.temporaryPause=!1,i.options.onTypingResumed(i.arrayPos,i))}),n)}),n):this.setPauseStatus(t,e,!0)}},{key:"keepTyping",value:function(t,e,i){0===e&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this)),e+=i;var n=t.substr(0,e);this.replaceText(n),this.typewrite(t,e)}},{key:"doneTyping",value:function(t,e){var i=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.arrayPos===this.strings.length-1&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=setTimeout((function(){i.backspace(t,e)}),this.backDelay))}},{key:"backspace",value:function(t,e){var i=this;if(!0!==this.pause.status){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var n=this.humanizer(this.backSpeed);this.timeout=setTimeout((function(){e=o.htmlParser.backSpaceHtmlChars(t,e,i);var n=t.substr(0,e);if(i.replaceText(n),i.smartBackspace){var s=i.strings[i.arrayPos+1];s&&n===s.substr(0,e)?i.stopNum=e:i.stopNum=0}e>i.stopNum?(e--,i.backspace(t,e)):e<=i.stopNum&&(i.arrayPos++,i.arrayPos===i.strings.length?(i.arrayPos=0,i.options.onLastStringBackspaced(),i.shuffleStringsIfNeeded(),i.begin()):i.typewrite(i.strings[i.sequence[i.arrayPos]],e))}),n)}else this.setPauseStatus(t,e,!1)}},{key:"complete",value:function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0}},{key:"setPauseStatus",value:function(t,e,i){this.pause.typewrite=i,this.pause.curString=t,this.pause.curStrPos=e}},{key:"toggleBlinking",value:function(t){this.cursor&&(this.pause.status||this.cursorBlinking!==t&&(this.cursorBlinking=t,t?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))}},{key:"humanizer",value:function(t){return Math.round(Math.random()*t/2)+t}},{key:"shuffleStringsIfNeeded",value:function(){this.shuffle&&(this.sequence=this.sequence.sort((function(){return Math.random()-.5})))}},{key:"initFadeOut",value:function(){var t=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout((function(){t.arrayPos++,t.replaceText(""),t.strings.length>t.arrayPos?t.typewrite(t.strings[t.sequence[t.arrayPos]],0):(t.typewrite(t.strings[0],0),t.arrayPos=0)}),this.fadeOutDelay)}},{key:"replaceText",value:function(t){this.attr?this.el.setAttribute(this.attr,t):this.isInput?this.el.value=t:"html"===this.contentType?this.el.innerHTML=t:this.el.textContent=t}},{key:"bindFocusEvents",value:function(){var t=this;this.isInput&&(this.el.addEventListener("focus",(function(e){t.stop()})),this.el.addEventListener("blur",(function(e){t.el.value&&0!==t.el.value.length||t.start()})))}},{key:"insertCursor",value:function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.setAttribute("aria-hidden",!0),this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))}}]),t}();e.default=r,t.exports=e.default},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,s=Object.assign||function(t){for(var e=1;e":";";t.substr(e+1).charAt(0)!==s&&!(1+ ++e>t.length););e++}return e}},{key:"backSpaceHtmlChars",value:function(t,e,i){if("html"!==i.contentType)return e;var n=t.substr(e).charAt(0);if(">"===n||";"===n){var s;for(s=">"===n?"<":"&";t.substr(e-1).charAt(0)!==s&&!(--e<0););e--}return e}}]),t}();e.default=n;var s=new n;e.htmlParser=s}])},t.exports=e()}}]);
//# sourceMappingURL=vendor.bundle.js.map