// source --> https://itancia.com/wp-content/plugins/nextend-smart-slider3-pro/Public/SmartSlider3/Application/Frontend/Assets/dist/n2.min.js?ver=4e06d1a7 
!function(t){var i=t;i._N2=i._N2||{_r:[],_d:[],r:function(){this._r.push(arguments)},d:function(){this._d.push(arguments)}};var n,r,s=t.document,o=s.documentElement,u=t.setTimeout,a=t.clearTimeout,h=i._N2,f=(t.requestAnimationFrame,function(t,i=null,n=null,r=null){const o=s.createElement(t);return i&&("string"==typeof i?m(o,i):w(o,i)),n&&v(o,n),r&&g(o,r),o}),c=Object.assign,l=function(t,i,n){t.setAttribute(i,n)},v=function(t,i){for(var n in i)l(t,n,i[n])},d=function(t,i){return t.dataset[i]},p=function(t,i,n){t.dataset[i]=n},g=function(t,i){for(let n in i)p(t,n,i[n])},m=function(t,i){t.classList.add(i)},w=function(t,i){i.forEach((function(i){t.classList.add(i)}))},y=function(t,i){return t.dispatchEvent(i)},b=function(t,i,n){return n=c({bubbles:!0,cancelable:!0},n),y(t,new Event(i,n))},M=function(t,i,n,r){return r=r||{},t.addEventListener(i,n,r),t.removeEventListener.bind(t,i,n,r)},x=function(t){if("complete"===s.readyState||"interactive"===s.readyState)t();else if(Document&&Document.prototype&&Document.prototype.addEventListener&&Document.prototype.addEventListener!==s.addEventListener){const i=()=>{t(),t=()=>{}};s.addEventListener("DOMContentLoaded",i),s.addEventListener("readystatechange",(()=>{"complete"!==s.readyState&&"interactive"!==s.readyState||i()})),Document.prototype.addEventListener.call(s,"DOMContentLoaded",i)}else s.addEventListener("DOMContentLoaded",t)},_=navigator.userAgent.indexOf("+http://www.google.com/bot.html")>-1?function(t){t()}:i.requestIdleCallback||function(t){return u(t,1)};i.cancelIdleCallback;x((function(){n=s.body})),function(){"use strict";var t={},n={};i.n2Slow=navigator.userAgent.indexOf("Chrome-Lighthouse")>-1&&navigator.userAgent.indexOf("Android")>-1;var s=[],o=!1;function a(){var t=performance.now(),n=s;s=[];for(var r=n.length-1;r>=0&&(n.pop().call(),!(performance.now()-t>7));r--);!i.n2Slow&&n.length&&(i.n2Slow=!0),n.unshift.apply(n,s),(s=n).length?_(a,{timeout:2e3}):o=!1}function c(t){s.unshift(t),o||(o=!0,_(a,{timeout:2e3}))}var l=new Date,v=function(){if(i.jQuery){var $=i.jQuery;h.d("$",(function(){return $}))}else{if(u(v,20),(new Date).getTime()-l.getTime()>1e3)f("script").src=h._jQueryFallback}};function d(i){return!(!i||t[i]!==r)&&(t[i]=new Promise((function(t){n[i]=t})),"$"===i&&v(),!0)}function p(i,r,s){var o=[];if(d(i)||n[i]){if("function"==typeof r?(s=r,r=[]):"string"==typeof r&&(r=[r]),(r=r||[]).length)for(var u=0;u<r.length;u++)d(r[u]),o.push(t[r[u]]);Promise.all(o).then(function(t){h[i]="function"!=typeof s||s.call(h),t()}.bind(this,n[i])),delete n[i]}}function g(i,n){var s=[];if(n===r?(n=i,i=[]):"string"==typeof i&&(i=[i]),i=i||[])for(var o=0;o<i.length;o++)d(i[o]),s.push(t[i[o]]);Promise.all(s).then((function(){n.call(h)}))}i.N2DISABLESCHEDULER?(h.d=p,h.r=g):(h.d=function(t,i,n){c(p.bind(this,t,i,n))},h.r=function(t,i){c(g.bind(this,t,i))});for(var m=0;m<this._N2._d.length;m++)h.d.apply(this,this._N2._d[m]);for(var w=0;w<this._N2._r.length;w++)h.r.apply(this,this._N2._r[w])}.call(i),i.NextendThrottle=function(t,i){var n,r;return i||(i=250),function(){var s=this,o=+new Date,h=arguments;n&&o<n+i?(a(r),r=u((function(){n=o,t.apply(s,h)}),i)):(n=o,t.apply(s,h))}},i.NextendDeBounce=function(t,i,n){var r;return function(){var s=this,o=arguments,h=function(){r=null,n||t.apply(s,o)},f=n&&!r;a(r),r=u(h,i),f&&t.apply(s,o)}},h.r("nextend-frontend",(function(){if(x((function(){h.d("documentReady")})),"complete"===s.readyState)h.d("windowLoad");else{let r;const o=navigator.userAgent;o.indexOf("Safari")>0&&-1===o.indexOf("Chrome")&&(r=setInterval((function(){"interactive"!==s.readyState&&"complete"!==s.readyState||(h.d("windowLoad"),clearInterval(r))}),2e3)),t="load",n=function(){h.d("windowLoad"),clearInterval(r)},i.addEventListener(t,n,{once:!0})}var t,n})),i.ResizeObserver||(i.ResizeObserver=function(){"use strict";var t=function(){if("undefined"!=typeof Map)return Map;function t(t,i){var n=-1;return t.some((function(t,r){return t[0]===i&&(n=r,!0)})),n}return function(){function i(){this.__entries__=[]}return Object.defineProperty(i.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),i.prototype.get=function(i){var n=t(this.__entries__,i),r=this.__entries__[n];return r&&r[1]},i.prototype.set=function(i,n){var r=t(this.__entries__,i);~r?this.__entries__[r][1]=n:this.__entries__.push([i,n])},i.prototype.delete=function(i){var n=this.__entries__,r=t(n,i);~r&&n.splice(r,1)},i.prototype.has=function(i){return!!~t(this.__entries__,i)},i.prototype.clear=function(){this.__entries__.splice(0)},i.prototype.forEach=function(t,i){void 0===i&&(i=null);for(var n=0,r=this.__entries__;n<r.length;n++){var s=r[n];t.call(i,s[1],s[0])}},i}()}(),n=void 0!==i&&void 0!==s&&i.document===s,r="undefined"!=typeof global&&global.Math===Math?global:"undefined"!=typeof self&&self.Math===Math?self:void 0!==i&&i.Math===Math?i:Function("return this")(),o="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(r):function(t){return u((function(){return t(Date.now())}),1e3/60)},a=2;function h(t,i){var n=!1,r=!1,s=0;function h(){n&&(n=!1,t()),r&&c()}function f(){o(h)}function c(){var t=Date.now();if(n){if(t-s<a)return;r=!0}else n=!0,r=!1,u(f,i);s=t}return c}var f=20,c=["top","right","bottom","left","width","height","size","weight"],l="undefined"!=typeof MutationObserver,v=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=h(this.refresh.bind(this),f)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var i=this.observers_,n=i.indexOf(t);~n&&i.splice(n,1),!i.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){n&&!this.connected_&&(s.addEventListener("transitionend",this.onTransitionEnd_),i.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(s,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(s.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){n&&this.connected_&&(s.removeEventListener("transitionend",this.onTransitionEnd_),i.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&s.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var i=t.propertyName,n=void 0===i?"":i;c.some((function(t){return!!~n.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),d=function(t,i){for(var n=0,r=Object.keys(i);n<r.length;n++){var s=r[n];Object.defineProperty(t,s,{value:i[s],enumerable:!1,writable:!1,configurable:!0})}return t},p=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||r},g=P(0,0,0,0);function m(t){return parseFloat(t)||0}function w(t){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];return i.reduce((function(i,n){return i+m(t["border-"+n+"-width"])}),0)}function y(t){for(var i={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var s=r[n],o=t["padding-"+s];i[s]=m(o)}return i}function b(t){var i=t.getBBox();return P(0,0,i.width,i.height)}function M(t){var i=t.clientWidth,n=t.clientHeight;if(!i&&!n)return g;var r=p(t).getComputedStyle(t),s=y(r),o=s.left+s.right,u=s.top+s.bottom,a=m(r.width),h=m(r.height);if("border-box"===r.boxSizing&&(Math.round(a+o)!==i&&(a-=w(r,"left","right")+o),Math.round(h+u)!==n&&(h-=w(r,"top","bottom")+u)),!_(t)){var f=Math.round(a+o)-i,c=Math.round(h+u)-n;1!==Math.abs(f)&&(a-=f),1!==Math.abs(c)&&(h-=c)}return P(s.left,s.top,a,h)}var x="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof p(t).SVGGraphicsElement}:function(t){return t instanceof p(t).SVGElement&&"function"==typeof t.getBBox};function _(t){return t===p(t).document.documentElement}function O(t){return n?x(t)?b(t):M(t):g}function k(t){var i=t.x,n=t.y,r=t.width,s=t.height,o="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,u=Object.create(o.prototype);return d(u,{x:i,y:n,width:r,height:s,top:n,right:i+r,bottom:s+n,left:i}),u}function P(t,i,n,r){return{x:t,y:i,width:n,height:r}}var S=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=P(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=O(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),C=function(){function t(t,i){var n=k(i);d(this,{target:t,contentRect:n})}return t}(),F=function(){function i(i,n,r){if(this.activeObservations_=[],this.observations_=new t,"function"!=typeof i)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=i,this.controller_=n,this.callbackCtx_=r}return i.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof p(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var i=this.observations_;i.has(t)||(i.set(t,new S(t)),this.controller_.addObserver(this),this.controller_.refresh())}},i.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof p(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var i=this.observations_;i.has(t)&&(i.delete(t),i.size||this.controller_.removeObserver(this))}},i.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},i.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(i){i.isActive()&&t.activeObservations_.push(i)}))},i.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,i=this.activeObservations_.map((function(t){return new C(t.target,t.broadcastRect())}));this.callback_.call(t,i,t),this.clearActive()}},i.prototype.clearActive=function(){this.activeObservations_.splice(0)},i.prototype.hasActive=function(){return this.activeObservations_.length>0},i}(),A="undefined"!=typeof WeakMap?new WeakMap:new t,I=function(){function t(i){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=v.getInstance(),r=new F(i,n,this);A.set(this,r)}return t}();return["observe","unobserve","disconnect"].forEach((function(t){I.prototype[t]=function(){var i;return(i=A.get(this))[t].apply(i,arguments)}})),void 0!==r.ResizeObserver?r.ResizeObserver:I}()),h.StringHelper={capitalize:function(t){return t.charAt(0).toUpperCase()+t.slice(1)}},function(){var t=function(t){return Symbol.iterator in Object(t)},i={add:function(t){requestAnimationFrame(t)},remove:function(){}};h.l=h.l||i;var n,s=new class{constructor(){this.g=!1,this.M=new Set,this._=this.O.bind(this)}add(t){this.M.add(t),this.g||(this.g=!0,h.l.add(this._))}O(){for(let t of this.M)t.render?t.render():t();this.M.clear(),this.g=!1,h.l.remove(this._)}},o={};n=/Safari/i.test(navigator.userAgent)&&!/Chrom[ei]/i.test(navigator.userAgent)?function(t,i,n,r){var s="";return r&&(t||i||n)?"translate3d("+(t||0)+"px, "+(i||0)+"px, "+(n||0)+"px) ":((t||i)&&(s+="translate("+(t||0)+"px, "+(i||0)+"px) "),n&&(s+="translateZ("+n+"px) "),s)}:function(t,i,n,r){return t||i||n?"translate3d("+(t||0)+"px, "+(i||0)+"px, "+(n||0)+"px) ":""};class u{constructor(i,n){t(i)?this.k=Array.from(i):this.k=[i],this.P=c({},n),this.S=new Set}get scale(){return this.scaleX}set scale(t){this.scaleX=t,this.scaleY=t}render(){for(let i of this.S){var t=this.P[i];switch(i){case"transform":t=this.C();break;case"filter":t=this.F();break;case"n2AutoAlpha":0===this.opacity?this.A||(this.A=!0,this.I("data-force-hidden","")):this.A&&(this.A=!1,this.R("data-force-hidden"));continue;case"opacity":this.P.n2AutoAlpha&&(0===t?this.A||(this.A=!0,this.I("data-force-hidden","")):this.A&&(this.A=!1,this.R("data-force-hidden")));break;case"width":case"height":case"perspective":"number"==typeof t&&(t+="px")}for(let n of this.k)n.style.setProperty(i,t)}this.S.clear()}C(){let{xP:t,yP:i,x:s,y:o,z:u,xAbs:a,yAbs:h,xPAbs:f,yPAbs:c,parallaxX:l,parallaxY:v,parallaxRotationX:d,parallaxRotationY:p,layerRotation:g,rotationZ:m,rotationY:w,rotationX:y,scaleX:b,scaleY:M,scaleZ:x,skewX:_,skewY:O,transformPerspective:k,force3D:P}=this.P,S="";return k&&(S+="perspective("+k+"px) "),(t||i)&&(S+="translate("+(t||0)+"%, "+(i||0)+"%) "),(a||h)&&(S+="translate("+(a||0)+"px, "+(h||0)+"px) "),(f||c)&&(S+="translate("+(f||0)+"%, "+(c||0)+"%) "),S+=n(s,o,u,P),_&&(S+="skewX("+_+"deg) "),O&&(S+="skewY("+O+"deg) "),(l||v)&&(S+="translate("+(l||0)+"px, "+(v||0)+"px) "),g&&(S+="rotate("+g+"deg) "),m&&(S+="rotate("+m+"deg) "),(w||p)&&(S+="rotateY("+((w||0)+(p||0))+"deg) "),(y||d)&&(S+="rotateX("+((y||0)+(d||0))+"deg) "),b===r&&(b=1),M===r&&(M=1),1===b&&1===M||(S+="scale("+b+", "+M+") "),x===r&&(x=1),1!==x&&(S+="scaleZ("+x+") "),S||"translate3d(0, 0, 0)"}F(){let{n2blur:t}=this.P,i="";return t>.1&&(i="blur("+t+"px) "),i||"none"}I(t,i){for(let n of this.k)(n.relatedLayer||n).setAttribute(t,i)}R(t){for(let i of this.k)(i.relatedLayer||i).removeAttribute(t)}setValues(t){for(var i in t)this[i]=t[i]}}class a{constructor(t,i){this.T=[];for(var n=0;n<t.length;n++)t[n]&&this.T.push(w.i(t[n],i))}setValues(t){for(var i=0;i<this.T.length;i++)this.T[i].setValues(t)}}var f={},l=function(t){Object.defineProperty(a.prototype,t,{get:function(){return this.T[0][t]},set:function(i){i instanceof Function&&(i=i());for(var n=0;n<this.T.length;n++)this.T[n][t]=i}})},v=function(t,i,n){Object.getOwnPropertyDescriptor(u.prototype,t)||(i===r&&(i=""),n===r&&(n=t),f[n]===r&&(f[n]=[]),f[n].push(t),o[t]=i,Object.defineProperty(u.prototype,t,{get:function(){return this.P[t]===r&&(this.P[t]=o[t]),this.P[t]},set:function(i){i instanceof Function&&(i=i()),this.P[t]!==i&&(this.P[t]=i,this.S.add(n),s.add(this))}}),l(t))},d=function(t,i){Object.defineProperty(u.prototype,t,{get:function(){return this[i]},set:function(t){this[i]=t}}),l(t)};v("property"),v("display"),v("z-index",1),v("overflow","visible"),v("overflow-x","visible"),v("backface-visibility","visible"),v("transform-origin","50% 50% 0"),v("opacity",1),v("width",0),v("height",0),v("justify-content"),v("background"),v("color"),v("will-change",""),v("stroke-dasharray",""),v("visibility"),v("perspective",0),v("transform-style"),v("cursor",""),v("top"),v("right"),v("bottom"),v("left");var p="transform";v("force3D",0,p),v("transformPerspective",0,p),v("xP",0,p),v("yP",0,p),v("x",0,p),v("y",0,p),v("z",0,p),v("xAbs",0,p),v("yAbs",0,p),v("xPAbs",0,p),v("yPAbs",0,p),v("scaleX",1,p),v("scaleY",1,p),v("scaleZ",1,p),v("rotationZ",0,p),v("rotationX",0,p),v("rotationY",0,p),v("skewX",0,p),v("skewY",0,p),v("layerRotation",0,p),v("parallaxX",0,p),v("parallaxY",0,p),v("parallaxRotationX",0,p),v("parallaxRotationY",0,p),v("clip-path","none"),v("--ss-clip-path","none"),v("n2blur",0,"filter"),v("n2AutoAlpha",0),d("zIndex","z-index"),d("backfaceVisibility","backface-visibility"),d("transformOrigin","transform-origin"),d("justifyContent","justify-content"),d("transformStyle","transform-style"),d("overflowX","overflow-x"),d("clipPath","clip-path");var g={0:function(t){this.classList.add(t)},1:function(t){this.classList.remove(t)}};class m{constructor(i){t(i)?this.k=Array.from(i):this.k=[i],this.D=[]}addClass(t){this.D.push([0,t]),s.add(this)}removeClass(t){this.D.push([1,t]),s.add(this)}render(){for(var t=0;t<this.D.length;t++){var i=this.D[t];for(let t of this.k)g[i[0]].apply(t,i.splice(1))}this.D=[]}}var w=h.MW={L:v,i:function(t,i){return t.smw||(t.smw=new u(t,i)),t.smw},B:function(t,i){for(var n=[],r=0;r<t.length;r++)n.push(w.i(t[r],i));return n},X:function(t,i){return new a(t,i)},t:function(t,i){t.forEach((function(t){t.setValues(i)}))},Y:function(t,i){i.forEach((function(i){f[i]&&f[i].forEach((function(i){t[i]=o[i]}))}))},j:function(t,i){s.add((function(){t.className.add(i)}))},N:function(t,i){s.add((function(){t.className.remove(i)}))},U:function(t){s.add(t)},W:function(t){return t.umw||(t.umw=new m(t)),t.umw},flush(){s.O()}}}(),customElements.define("ss3-force-full-width",class extends HTMLElement{connectedCallback(){if(this.isConnected){n=n||s.body,this.Z="rtl"===o.getAttribute("dir"),this._width=0,this._offset=Number.MAX_SAFE_INTEGER,this.V=h.MW.i(this,{x:Number.MAX_SAFE_INTEGER,opacity:0});var t=d(this,"overflowX");t&&"none"!==t&&s.querySelectorAll(t).forEach((function(t){h.MW.i(t).overflowX="hidden"}));var r=n;if(i.ssForceFullHorizontalSelector)r=i.ssForceFullHorizontalSelector;else{var u=d(this,"horizontalSelector");if(u&&"body"!==u)try{r=this.closest(u)}catch(t){}}if(r===n)for(var a=[".elementor-section-stretched",'.siteorigin-panels-stretch[data-stretch-type="full-stretched"]','.siteorigin-panels-stretch[data-stretch-type="full-stretched-padded"]',".themify_builder_row.fullwidth",'.vce-row[data-vce-stretch-content="true"]'],f=0;f<a.length;f++){var c=this.closest(a[f]);if(c){r=c;break}}this.fullWidthTo=r,this.resizeObserver=new ResizeObserver(this.doResize.bind(this)),this.resizeObserver.observe(this.parentNode),i.addEventListener("resize",this.doResize.bind(this))}}doResize(){var t=0,r=0;if(this.fullWidthTo){var s=this.fullWidthTo.getBoundingClientRect();r=s.width,t=this.Z?-r+s.right:s.left}var o,u,a=r>0?r:n.clientWidth,h=i.getComputedStyle(this.parentNode);o=this.Z?a-this.parentNode.getBoundingClientRect().right-parseInt(h.getPropertyValue("padding-right"))-parseInt(h.getPropertyValue("border-right-width"))+t:-this.parentNode.getBoundingClientRect().left-parseInt(h.getPropertyValue("padding-left"))-parseInt(h.getPropertyValue("border-left-width"))+t,o+=u=o%1,a-=Math.floor(u),(this._width-a<=0||this._width-a>1||this._offset-o<-1||this._offset-o>=0)&&(this._offset!==o&&(this.V.x=o,this._offset=o,0!==o&&this.classList.add("n2-ss-no-bga-fixed")),this._width!==a&&(this.V.width=a,this._width=a)),this.setVisible&&this.setVisible()}setVisible(){this.V.opacity=1,delete this.setVisible}}),customElements.define("ss3-loader",class extends HTMLElement{connectedCallback(){this.q=[]}set display(t){this.G!==t&&(this.G=t,this.style.display=t)}show(){this.display="grid"}addPromise(t){this.q.push(t),this.syncStyle(),t.finally(this.removePromise.bind(this,t))}removePromise(t){var i=this.q.indexOf(t);i>-1&&(this.q.splice(i,1),this.syncStyle())}syncStyle(){this.q.length?this.H||(this.H=u(this.show.bind(this),100)):(this.H&&(a(this.H),delete this.H),this.display="")}});var O,k="MacIntel"===navigator.platform&&navigator.maxTouchPoints>1;i.n2const={devicePixelRatio:i.devicePixelRatio||1,isFirefox:/Firefox/i.test(navigator.userAgent),isIOS:/iPad|iPhone|iPod/.test(navigator.platform)||k,isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini|Silk/i.test(navigator.userAgent)||k,isPhone:/Android/i.test(navigator.userAgent)&&/mobile/i.test(navigator.userAgent)||/webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),isSamsungBrowser:navigator.userAgent.match(/SamsungBrowser/i),isBot:/bot|googlebot|crawler|spider|robot|crawling|Google Search Console/i.test(navigator.userAgent),isLighthouse:navigator.userAgent.indexOf("Chrome-Lighthouse")>-1,lightboxMobileNewTab:1,isVideoAutoplayAllowed:function(){var t=!!(navigator.platform.match(/(Win|Mac)/)||!/Mobi/.test(navigator.userAgent)||"playsInline"in f("video")||"webkit-playsinline"in f("video")||navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./)&&parseInt(navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./)[2])>=53||navigator.userAgent.match(/Android.*(Firefox|Edge|Opera)/));return i.n2const.isVideoAutoplayAllowed=function(){return t},t},isWaybackMachine:function(){var t=void 0!==i.__wm;return i.n2const.isWaybackMachine=function(){return t},t},setLocation:function(t){"function"==typeof i.zajax_goto?i.zajax_goto(t):i.location=t},isParentSameOrigin:function(){try{return parent.document,!0}catch(t){}return!1},activeElementBlur:function(){s.activeElement&&s.activeElement.blur()},getScrollbarSize:function(){var t,i,r,s=f("div",t,i,r);s.style.visibility="hidden",s.style.overflow="scroll",n.appendChild(s);var o=s.offsetHeight-s.clientHeight;return n.removeChild(s),n2const.getScrollbarSize=function(){return o},o},fonts:new Promise((function(t){if("fonts"in s){s.fonts.ready.then(t);const i=navigator.userAgent;i.indexOf("Safari")>0&&-1===i.indexOf("Chrome")&&h.r("windowLoad",t)}else h.r("windowLoad",t)}))},i.n2const.isTablet=!i.n2const.isPhone&&(/Android|iPad|tablet|Silk/i.test(navigator.userAgent)||k),i.n2const.rtl=(i.n2const.isRTL=function(){return i.n2const.rtl.isRtl},"rtl"===o.getAttribute("dir")?{isRtl:!0,marginLeft:"marginRight",marginRight:"marginLeft","margin-left":"margin-right","margin-right":"margin-left",left:"right",right:"left",modifier:-1}:{isRtl:!1,marginLeft:"marginLeft",marginRight:"marginRight","margin-left":"margin-left","margin-right":"margin-right",left:"left",right:"right",modifier:1}),h._triggerResize=(O=null,function(){O&&a(O),O=u((function(){b(i,"resize"),O=null}),100)}),h._shouldPreventClick=!1,h._preventClick=function(){h._shouldPreventClick||(h._shouldPreventClick=!0,u((function(){h._shouldPreventClick=!1}),300))},h.d("ImagesLoaded",(function(){return function(t){var i,n=[];i="IMG"===t.tagName?[t]:t.querySelectorAll("img");for(var r=0;r<i.length;r++){var s=i[r];s.loading="eager",s.complete?s.naturalWidth||n.push(new Promise(function(t){u(t,16)}.bind(s))):n.push(new Promise(function(t,i){this.addEventListener("load",(function(){t()})),this.addEventListener("error",(function(){i()}))}.bind(s)))}return Promise.all(n)}})),h.d("UniversalPointer",(function(){var t=!!i.PointerEvent,n=!!i.TouchEvent;function s(t,i){this.el=t,this.handler=i,this.preventMouse=!1,this.timeouts=[],this.localListeners=[],this.globalListeners=[]}function f(i,r,u){var a=this.context=new s(i,r);a.addGlobalEventListener("click",(function(e){a.preventMouse||a.click(e)})),t?a.addGlobalEventListener("pointerdown",(function(t){t.isPrimary&&(a.startComplexInteraction(t.currentTarget),a.addLocalEventListener(o,"pointerup",(function(i){i.isPrimary&&t.pointerId===i.pointerId&&(Math.abs(i.clientX-t.clientX)<10&&Math.abs(i.clientY-t.clientY)<10?a.click(i):a.clear(),a.endComplexInteraction())})))})):n&&a.addGlobalEventListener("touchstart",(function(t){a.clearTimeouts(),a.startComplexInteraction(t.currentTarget),a.addLocalEventListener(o,"touchend",(function(i){Math.abs(i.changedTouches[0].clientX-t.changedTouches[0].clientX)<10&&Math.abs(i.changedTouches[0].clientY-t.changedTouches[0].clientY)<10?a.click(i):a.clear(),a.endComplexInteraction()}),{passive:!0})}),{passive:!0})}function l(t,i,n){this.el=t,this.handler=i,this.leaveOnSecond=n,this.preventMouse=!1,this.isActive=!1,this.timeouts=[],this.localListeners=[],this.globalListeners=[]}function v(i,r,s){s=c({leaveOnSecond:!1},s);var a=this.context=new l(i,r,s.leaveOnSecond);t?(a.addGlobalEventListener("pointerenter",(function(e){e.isPrimary&&(a.clearTimeouts(),a.enter(e)&&"mouse"!==e.pointerType&&(a.addLocalEventListener(o,"pointerdown",(function(e){e.isPrimary&&a.testLeave(e.target)})),a.addTimeout(u((function(){a.leave()}),5e3))))})),a.addGlobalEventListener("pointerleave",(function(e){e.isPrimary&&"mouse"===e.pointerType&&a.leave()}))):(a.addGlobalEventListener("mouseenter",(function(e){a.preventMouse||a.enter(e)})),a.addGlobalEventListener("mouseleave",(function(){a.preventMouse||a.leave()})),n&&a.addGlobalEventListener("touchstart",(function(e){a.preventMouse=!0,a.clearTimeouts(),a.enter(e)&&(a.addLocalEventListener(o,"touchstart",(function(e){a.testLeave(e.target)})),a.addTimeout(u((function(){a.leave(),a.preventMouse=!1}),5e3)))}),{passive:!0}))}s.prototype.addTimeout=function(t){this.timeouts.push(t)},s.prototype.clearTimeouts=function(){for(var t=0;t<this.timeouts.length;t++)a(this.timeouts[t]);this.timeouts=[]},s.prototype.click=function(e){this.currentTarget!==r&&(e={currentTarget:this.currentTarget,target:this.el}),this.handler.call(this.el,e),this.clear()},s.prototype.clear=function(){for(var t=0;t<this.localListeners.length;t++)this.localListeners[t][0].removeEventListener(this.localListeners[t][1],this.localListeners[t][2],this.localListeners[t][3])},s.prototype.addGlobalEventListener=function(t,i,n){this.globalListeners.push(M(this.el,t,i,n))},s.prototype.addLocalEventListener=function(t,i,n,r){this.localListeners.push([t,i,n,r]),t.addEventListener(i,n,r)},s.prototype.remove=function(){this.clear(),this.clearTimeouts();for(var t=0;t<this.globalListeners.length;t++)this.globalListeners[t]();delete this.globalListeners},s.prototype.startComplexInteraction=function(t){this.clearTimeouts(),this.preventMouse=!0,this.currentTarget=t},s.prototype.endComplexInteraction=function(){delete this.currentTarget,this.addTimeout(u(function(){this.preventMouse=!1}.bind(this),1e3))},f.prototype.remove=function(){this.context.remove(),delete this.context},h.UniversalClick=f,l.prototype.enter=function(e){return this.leaveOnSecond&&this.isActive?(this.leave(),!1):(this.handler.apply(this.el,arguments),this.isActive=!0,!0)},l.prototype.leave=function(){this.clearTimeouts();for(var t=0;t<this.localListeners.length;t++)this.localListeners[t][0].removeEventListener(this.localListeners[t][1],this.localListeners[t][2],this.localListeners[t][3]);var i;this.isActive=!1,i=this.el,y(i,new Event("universalleave",{bubbles:!1,cancelable:!1}))},l.prototype.testLeave=function(t){!this.el===t&&this.el.contains(t)&&this.leave()},l.prototype.addTimeout=function(t){this.timeouts.push(t)},l.prototype.clearTimeouts=function(){for(var t=0;t<this.timeouts.length;t++)a(this.timeouts[t]);this.timeouts=[]},l.prototype.addGlobalEventListener=function(t,i,n){this.globalListeners.push(M(this.el,t,i,n))},l.prototype.remove=function(){this.isActive&&this.leave(),this.clearTimeouts();for(var t=0;t<this.globalListeners.length;t++)this.globalListeners[t]();delete this.globalListeners},l.prototype.addLocalEventListener=function(t,i,n,r){this.localListeners.push([t,i,n,r]),t.addEventListener(i,n,r)},v.prototype.remove=function(){this.context.remove(),delete this.context},h.UniversalEnter=v})),h.d("EventBurrito",(function(){var t=function(){return!0},o=!1;return function(a,h){var f={preventDefault:!0,preventScroll:!1,mouse:!0,axis:"x",start:t,move:t,end:t,click:t};c(f,h);var l,v,d,p,g={pointerEvents:!(n2const.isIOS&&i.TouchEvent||!i.PointerEvent&&!i.PointerEventsPolyfill)},m={},w={},y=[],x=!0,_=g.pointerEvents?1:0,O=[["touchstart","touchmove","touchend","touchcancel"],["pointerdown","pointermove","pointerup","pointercancel","pointerleave"],["mousedown","mousemove","mouseup","","mouseleave"]],k=[function(e){return e.touches&&e.touches.length>1||e.scale&&1!==e.scale},function(e){return!e.isPrimary||e.buttons&&1!==e.buttons||!f.mouse&&"touch"!==e.pointerType&&"pen"!==e.pointerType},function(e){return e.buttons&&1!==e.buttons}],P=function(t,i){var n=t.tagName;return"INPUT"===n||"TEXTAREA"===n||"SELECT"===n||"BUTTON"===n||"VIDEO"===n||t.classList.contains("n2_container_scrollable")||t.closest(".n2_container_scrollable")};function S(t){t.preventDefault?t.preventDefault():t.returnValue=!1}function C(t){w={x:(p?t.clientX:t.touches[0].clientX)-m.x,y:(p?t.clientY:t.touches[0].clientY)-m.y,time:Date.now()}}function F(e,t){if((e.isPrimary===r||e.isPrimary)&&!o&&(l=[],x=!0,!k[p=t](e)&&!P(e.target)))if(("mousedown"===e.type||"pointerdown"===e.type&&"mouse"===e.pointerType)&&e.target.closest(".n2-ss-text")){var i=M(e.target,"click",(function(t){i(),Math.abs(e.clientX-t.clientX)<10&&Math.abs(e.clientY-t.clientY)<10&&b(e.target,"n2click")}));u(i,2e3)}else o=!0,0!==p&&l.push(M(s,O[p][1],A,{passive:!1,capture:!0})),l.push(M(s,O[p][2],R,{passive:!1,capture:!0})),l.push(M(s,O[p][3],R,{passive:!1,capture:!0})),l.push(M(n,O[p][4],I,{passive:!1,capture:!0})),m={x:p?e.clientX:e.touches[0].clientX,y:p?e.clientY:e.touches[0].clientY,time:Date.now()},v=r,d=!1,w={x:0,y:0},f.start(e,m),A(e)}function A(t){(t.isPrimary===r||t.isPrimary)&&("x"===f.axis&&(!f.preventScroll&&v||k[p](t))||P(t.target)||(C(t),(Math.abs(w.x)>10||Math.abs(w.y)>10)&&(x=!1),v===r&&2!==p&&(v=Math.abs(w.x)<Math.abs(w.y)&&!f.preventScroll)||f.move(t,m,w,d)&&f.preventDefault&&S(t)))}function I(t){t.target===t.currentTarget&&R(t)}function R(t){if(t.isPrimary===r||t.isPrimary){p&&C(t),!x&&t.target&&t.target.blur&&t.target.blur();for(var i=l.length-1;i>=0;i--)l[i]();l=null,n2const.isFirefox&&(d=!1),f.end(t,m,w,d),d=!1,o=!1}}return y.push(M(s,"scroll",(function(){i.nextendScrollFocus!==r&&i.nextendScrollFocus||(d=!0)}))),1===_&&(a.style.touchAction="y"===f.axis?"pan-x":"pan-y"),y.push(M(a,O[_][0],(function(e){F(e,_)}),{passive:!1,capture:!0})),0===_&&y.push(M(a,O[0][1],(function(e){A(e)}),{passive:!1,capture:!0})),y.push(M(a,"dragstart",S)),f.mouse&&0===_&&y.push(M(a,O[2][0],(function(e){F(e,2)}))),y.push(M(a,"click",(function(t){x?f.click(t):S(t)}))),{supportsPointerEvents:g.pointerEvents,getClicksAllowed:function(){return x},kill:function(){for(var t=y.length-1;t>=0;t--)y[t]()}}}})),h.d("GSAP",(function(){var t=i.GreenSockGlobals,n=i.GreenSockGlobals={};!function(e){"use strict";function t(t,e){t.prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e}function n(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function r(t){return"string"==typeof t}function s(t){return"function"==typeof t}function o(t){return"number"==typeof t}function h(t){return void 0===t}function f(t){return"object"==typeof t}function c(t){return!1!==t}function l(){return void 0!==i}function v(t){return s(t)||r(t)}function d(t){return(xt=mi(t,ai))&&gn}function p(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")}function g(t,e){return!e&&console.warn(t)}function m(t,e){return t&&(ai[t]=e)&&xt&&(xt[t]=e)||ai}function w(){return 0}function $(t){var e,i,n=t[0];if(f(n)||s(n)||(t=[t]),!(e=(n._gsap||{}).harness)){for(i=pi.length;i--&&!pi[i].targetTest(n););e=pi[i]}for(i=t.length;i--;)t[i]&&(t[i]._gsap||(t[i]._gsap=new Xi(t[i],e)))||t.splice(i,1);return t}function y(t){return t._gsap||$(xi(t))[0]._gsap}function b(t,e,i){return(i=t[e])&&s(i)?t[e]():h(i)&&t.getAttribute&&t.getAttribute(e)||i}function M(t,e){return(t=t.split(",")).forEach(e)||t}function x(t){return Math.round(1e5*t)/1e5||0}function _(t,e){for(var i=e.length,n=0;t.indexOf(e[n])<0&&++n<i;);return n<i}function O(e,t,i){var n,r=o(e[1]),s=(r?2:1)+(t<2?0:1),u=e[s];if(r&&(u.duration=e[1]),u.parent=i,t){for(n=u;i&&!("immediateRender"in n);)n=i.vars.defaults||{},i=c(i.vars.inherit)&&i.parent;u.immediateRender=c(n.immediateRender),t<2?u.runBackwards=1:u.startAt=e[s-1]}return u}function k(){var t,e,i=fi.length,n=fi.slice(0);for(ci={},t=fi.length=0;t<i;t++)(e=n[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)}function P(t,e,i,n){fi.length&&k(),t.render(e,i,n),fi.length&&k()}function S(t){var e=parseFloat(t);return(e||0===e)&&(t+"").match(oi).length<2?e:r(t)?t.trim():t}function C(t){return t}function F(t,e){for(var i in e)i in t||(t[i]=e[i]);return t}function A(t,e){for(var i in e)i in t||"duration"===i||"ease"===i||(t[i]=e[i])}function I(t,e){for(var i in e)"__proto__"!==i&&"constructor"!==i&&"prototype"!==i&&(t[i]=f(e[i])?I(t[i]||(t[i]={}),e[i]):e[i]);return t}function R(t,e){var i,n={};for(i in t)i in e||(n[i]=t[i]);return n}function E(e){var t=e.parent||wt,i=e.keyframes?A:F;if(c(e.inherit))for(;t;)i(e,t.vars.defaults),t=t.parent||t._dp;return e}function T(t,e,i,n){void 0===i&&(i="_first"),void 0===n&&(n="_last");var r=e._prev,s=e._next;r?r._next=s:t[i]===e&&(t[i]=s),s?s._prev=r:t[n]===e&&(t[n]=r),e._next=e._prev=e.parent=null}function z(t,e){!t.parent||e&&!t.parent.autoRemoveChildren||t.parent.remove(t),t._act=0}function D(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var i=t;i;)i._dirty=1,i=i.parent;return t}function L(t){return t._repeat?wi(t._tTime,t=t.duration()+t._rDelay)*t:0}function B(t,e){return(t-e._start)*e._ts+(0<=e._ts?0:e._dirty?e.totalDuration():e._tDur)}function X(t){return t._end=x(t._start+(t._tDur/Math.abs(t._ts||t._rts||Zt)||0))}function Y(t,e){var i=t._dp;return i&&i.smoothChildTiming&&t._ts&&(t._start=x(i._time-(0<t._ts?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),X(t),i._dirty||D(i,t)),t}function j(t,e){var i;if((e._time||e._initted&&!e._dur)&&(i=B(t.rawTime(),e),(!e._dur||bi(0,e.totalDuration(),i)-e._tTime>Zt)&&e.render(i,!0)),D(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(i=t;i._dp;)0<=i.rawTime()&&i.totalTime(i._tTime),i=i._dp;t._zTime=-Zt}}function N(t,e,i,n){return e.parent&&z(e),e._start=x(i+e._delay),e._end=x(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),function(t,e,i,n,r){void 0===i&&(i="_first"),void 0===n&&(n="_last");var s,o=t[n];if(r)for(s=e[r];o&&o[r]>s;)o=o._prev;o?(e._next=o._next,o._next=e):(e._next=t[i],t[i]=e),e._next?e._next._prev=e:t[n]=e,e._prev=o,e.parent=e._dp=t}(t,e,"_first","_last",t._sort?"_start":0),t._recent=e,n||j(t,e),t}function Q(t,e){return(ai.ScrollTrigger||p("scrollTrigger",e))&&ai.ScrollTrigger.create(e,t)}function U(t,e,i,n){return Zi(t,e),t._initted?!i&&t._pt&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&Ot!==Fi.frame?(fi.push(t),t._lazy=[e,n],1):void 0:1}function W(t,e,i,n){var r=t._repeat,s=x(e)||0,o=t._tTime/t._tDur;return o&&!n&&(t._time*=s/t._dur),t._dur=s,t._tDur=r?r<0?1e10:x(s*(r+1)+t._rDelay*r):s,o&&!n?Y(t,t._tTime=t._tDur*o):t.parent&&X(t),i||D(t.parent,t),t}function Z(t){return t instanceof Ni?D(t):W(t,t._dur)}function V(t,e){var i,n,s=t.labels,o=t._recent||yi,u=t.duration()>=Wt?o.endTime(!1):t._dur;return r(e)&&(isNaN(e)||e in s)?"<"===(i=e.charAt(0))||">"===i?("<"===i?o._start:o.endTime(0<=o._repeat))+(parseFloat(e.substr(1))||0):(i=e.indexOf("="))<0?(e in s||(s[e]=u),s[e]):(n=+(e.charAt(i-1)+e.substr(i+1)),1<i?V(t,e.substr(0,i-1))+n:u+n):null==e?u:+e}function q(t,e){return t||0===t?e(t):e}function G(t){if("string"!=typeof t)return"";var e=ui.exec(t);return e?t.substr(e.index+e[0].length):""}function H(t,e){return t&&f(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&f(t[0]))&&!t.nodeType&&t!==yt}function J(t){return t.sort((function(){return.5-Math.random()}))}function K(t){if(s(t))return t;var i=f(t)?t:{each:t},n=zi(i.ease),o=i.from||0,u=parseFloat(i.base)||0,a={},e=0<o&&o<1,h=isNaN(o)||e,c=i.axis,l=o,v=o;return r(o)?l=v={center:.5,edges:.5,end:1}[o]||0:!e&&h&&(l=o[0],v=o[1]),function(t,e,r){var s,f,d,p,g,m,w,y,b,M=(r||i).length,_=a[M];if(!_){if(!(b="auto"===i.grid?0:(i.grid||[1,Wt])[1])){for(w=-Wt;w<(w=r[b++].getBoundingClientRect().left)&&b<M;);b--}for(_=a[M]=[],s=h?Math.min(b,M)*l-.5:o%b,f=h?M*v/b-.5:o/b|0,y=Wt,m=w=0;m<M;m++)d=m%b-s,p=f-(m/b|0),_[m]=g=c?Math.abs("y"===c?p:d):Ht(d*d+p*p),w<g&&(w=g),g<y&&(y=g);"random"===o&&J(_),_.max=w-y,_.min=y,_.v=M=(parseFloat(i.amount)||parseFloat(i.each)*(M<b?M-1:c?"y"===c?M/b:b:Math.max(b,M/b))||0)*("edges"===o?-1:1),_.b=M<0?u-M:u,_.u=G(i.amount||i.each)||0,n=n&&M<0?Ti(n):n}return M=(_[t]-_.min)/_.max||0,x(_.b+(n?n(M):M)*_.v)+_.u}}function tt(t){var i=t<1?Math.pow(10,(t+"").length-2):1;return function(n){var e=Math.round(parseFloat(n)/t)*t*i;return(e-e%1)/i+(o(n)?0:G(n))}}function it(t,i){var n,r,e=ti(t);return!e&&f(t)&&(n=e=t.radius||Wt,t.values?(t=xi(t.values),(r=!o(t[0]))&&(n*=n)):t=tt(t.increment)),q(i,e?s(t)?function(i){return r=t(i),Math.abs(r-i)<=n?r:i}:function(i){for(var e,s,u=parseFloat(r?i.x:i),a=parseFloat(r?i.y:0),h=Wt,f=0,c=t.length;c--;)(e=r?(e=t[c].x-u)*e+(s=t[c].y-a)*s:Math.abs(t[c]-u))<h&&(h=e,f=c);return f=!n||h<=n?t[f]:i,r||f===i||o(i)?f:f+G(i)}:tt(t))}function nt(t,e,i,n){return q(ti(t)?!e:!0===i?!!(i=0):!n,(function(){return ti(t)?t[~~(Math.random()*t.length)]:(i=i||1e-5)&&(n=i<1?Math.pow(10,(i+"").length-2):1)&&Math.floor(Math.round((t-i/2+Math.random()*(e-t+.99*i))/i)*i*n)/n}))}function rt(e,t,i){return q(i,(function(i){return e[~~t(i)]}))}function et(t){for(var e,i,n,r,s=0,o="";~(e=t.indexOf("random(",s));)n=t.indexOf(")",e),r="["===t.charAt(e+7),i=t.substr(e+7,n-e-7).match(r?oi:ii),o+=t.substr(s,e-s)+nt(r?i:+i[0],r?0:+i[1],+i[2]||1e-5),s=n+1;return o+t.substr(s,t.length-s)}function st(t,e,i){var n,r,s,o=t.labels,u=Wt;for(n in o)(r=o[n]-e)<0==!!i&&r&&u>(r=Math.abs(r))&&(s=n,u=r);return s}function ot(t){return z(t),t.scrollTrigger&&t.scrollTrigger.kill(!1),t.progress()<1&&Oi(t,"onInterrupt"),t}function ut(t,e,i){return(6*(t=t<0?t+1:1<t?t-1:t)<1?e+(i-e)*t*6:t<.5?i:3*t<2?e+(i-e)*(2/3-t)*6:e)*ki+.5|0}function at(t,e,i){var n,r,s,u,a,h,f,c,l,v,d=t?o(t)?[t>>16,t>>8&ki,t&ki]:0:Pi.black;if(!d){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),Pi[t])d=Pi[t];else if("#"===t.charAt(0)){if(t.length<6&&(t="#"+(n=t.charAt(1))+n+(r=t.charAt(2))+r+(s=t.charAt(3))+s+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(d=parseInt(t.substr(1,6),16))>>16,d>>8&ki,d&ki,parseInt(t.substr(7),16)/255];d=[(t=parseInt(t.substr(1),16))>>16,t>>8&ki,t&ki]}else if("hsl"===t.substr(0,3))if(d=v=t.match(ii),e){if(~t.indexOf("="))return d=t.match(ni),i&&d.length<4&&(d[3]=1),d}else u=+d[0]%360/360,a=d[1]/100,n=2*(h=d[2]/100)-(r=h<=.5?h*(a+1):h+a-h*a),3<d.length&&(d[3]*=1),d[0]=ut(u+1/3,n,r),d[1]=ut(u,n,r),d[2]=ut(u-1/3,n,r);else d=t.match(ii)||Pi.transparent;d=d.map(Number)}return e&&!v&&(n=d[0]/ki,r=d[1]/ki,s=d[2]/ki,h=((f=Math.max(n,r,s))+(c=Math.min(n,r,s)))/2,f===c?u=a=0:(l=f-c,a=.5<h?l/(2-f-c):l/(f+c),u=f===n?(r-s)/l+(r<s?6:0):f===r?(s-n)/l+2:(n-r)/l+4,u*=60),d[0]=~~(u+.5),d[1]=~~(100*a+.5),d[2]=~~(100*h+.5)),i&&d.length<4&&(d[3]=1),d}function ht(t){var i=[],n=[],r=-1;return t.split(Si).forEach((function(t){var e=t.match(ri)||[];i.push.apply(i,e),n.push(r+=e.length+1)})),i.c=n,i}function ft(t,e,i){var n,r,s,o,u="",a=(t+u).match(Si),h=e?"hsla(":"rgba(",f=0;if(!a)return t;if(a=a.map((function(t){return(t=at(t,e,1))&&h+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"})),i&&(s=ht(t),(n=i.c).join(u)!==s.c.join(u)))for(o=(r=t.replace(Si,"1").split(ri)).length-1;f<o;f++)u+=r[f]+(~n.indexOf(f)?a.shift()||h+"0,0,0,0)":(s.length?s:a.length?a:i).shift());if(!r)for(o=(r=t.split(Si)).length-1;f<o;f++)u+=r[f]+a[f];return u+r[o]}function ct(t){var e,i=t.join(" ");if(Si.lastIndex=0,Si.test(i))return e=Ci.test(i),t[1]=ft(t[1],e),t[0]=ft(t[0],e,ht(t[1])),!0}function lt(t,e){for(var i,n=t._first;n;)n instanceof Ni?lt(n,e):!n.vars.yoyoEase||n._yoyo&&n._repeat||n._yoyo===e||(n.timeline?lt(n.timeline,e):(i=n._ease,n._ease=n._yEase,n._yEase=i,n._yoyo=e)),n=n._next}function vt(t,e,i,n){void 0===i&&(i=function(t){return 1-e(1-t)}),void 0===n&&(n=function(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var r,s={easeIn:e,easeOut:i,easeInOut:n};return M(t,(function(t){for(var e in Ii[t]=ai[t]=s,Ii[r=t.toLowerCase()]=i,s)Ii[r+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=Ii[t+"."+e]=s[e]})),s}function dt(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e(2*(t-.5))/2}}function pt(t,i,e){function n(t){return 1===t?1:r*Math.pow(2,-10*t)*Jt((t-o)*s)+1}var r=1<=i?i:1,s=(e||(t?.3:.45))/(i<1?i:1),o=s/Vt*(Math.asin(1/r)||0),u="out"===t?n:"in"===t?function(t){return 1-n(1-t)}:dt(n);return s=Vt/s,u.config=function(i,e){return pt(t,i,e)},u}function gt(e,t){function i(i){return i?--i*i*((t+1)*i+t)+1:0}void 0===t&&(t=1.70158);var n="out"===e?i:"in"===e?function(t){return 1-i(1-t)}:dt(i);return n.config=function(t){return gt(e,t)},n}var mt,wt,yt,bt,Mt,xt,_t,Ot,kt,Pt,St,Ct,Ft,At,It,Rt,Et,Tt,zt,Dt,Lt,Bt,Xt,Yt,jt,Nt,Qt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Ut={duration:.5,overwrite:!1,delay:0},Wt=1e8,Zt=1/Wt,Vt=2*Math.PI,qt=Vt/4,Gt=0,Ht=Math.sqrt,$t=Math.cos,Jt=Math.sin,Kt="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},ti=Array.isArray,ii=/(?:-?\.?\d|\.)+/gi,ni=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ri=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,ei=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,si=/[+-]=-?[.\d]+/,oi=/[#\-+.]*\b[a-z\d-=+%.]+/gi,ui=/[\d.+\-=]+(?:e[-+]\d*)*/i,ai={},hi={},fi=[],ci={},li={},vi={},di=30,pi=[],gi="",mi=function(t,e){for(var i in e)t[i]=e[i];return t},wi=function(t,e){var i=Math.floor(t/=e);return t&&i===t?i-1:i},yi={_start:0,endTime:w},bi=function(t,e,i){return i<t?t:e<i?e:i},Mi=[].slice,xi=function(t,e){return!r(t)||e||!bt&&Ai()?ti(t)?function(t,e,i){return void 0===i&&(i=[]),t.forEach((function(t){return r(t)&&!e||H(t,1)?i.push.apply(i,xi(t)):i.push(t)}))||i}(t,e):H(t)?Mi.call(t,0):t?[t]:[]:Mi.call(Mt.querySelectorAll(t),0)},_i=function(e,t,i,n,r){var s=t-e,o=n-i;return q(r,(function(t){return i+((t-e)/s*o||0)}))},Oi=function(t,e,i){var n,r,s=t.vars,o=s[e];if(o)return n=s[e+"Params"],r=s.callbackScope||t,i&&fi.length&&k(),n?o.apply(r,n):o.call(r)},ki=255,Pi={aqua:[0,ki,ki],lime:[0,ki,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,ki],navy:[0,0,128],white:[ki,ki,ki],olive:[128,128,0],yellow:[ki,ki,0],orange:[ki,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[ki,0,0],pink:[ki,192,203],cyan:[0,ki,ki],transparent:[ki,ki,ki,0]},Si=function(){var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(t in Pi)e+="|"+t+"\\b";return new RegExp(e+")","gi")}(),Ci=/hsl[a]?\(/,Fi=(Et=Date.now,Tt=500,zt=33,Dt=Et(),Lt=Dt,Xt=Bt=1e3/240,At={time:0,frame:0,tick:function(){Di(!0)},deltaRatio:function(t){return It/(1e3/(t||60))},wake:function(){_t&&(!bt&&l()&&(yt=bt=i,Mt=yt.document||{},ai.gsap=gn,(yt.gsapVersions||(yt.gsapVersions=[])).push(gn.version),d(xt||yt.GreenSockGlobals||!yt.gsap&&yt||{}),Ft=yt.requestAnimationFrame),St&&At.sleep(),Ct=Ft||function(t){return u(t,Xt-1e3*At.time+1|0)},Pt=1,Di(2))},sleep:function(){(Ft?yt.cancelAnimationFrame:a)(St),Pt=0,Ct=w},lagSmoothing:function(t,e){Tt=t||1e8,zt=Math.min(e,Tt,0)},fps:function(t){Bt=1e3/(t||240),Xt=1e3*At.time+Bt},add:function(t){Yt.indexOf(t)<0&&Yt.push(t),Ai()},remove:function(t){var e;~(e=Yt.indexOf(t))&&Yt.splice(e,1)&&e<=Rt&&Rt--},_listeners:Yt=[]}),Ai=function(){return!Pt&&Fi.wake()},Ii={},Ri=/^[\d.\-M][\d.\-,\s]/,Ei=/["']/g,Ti=function(e){return function(t){return 1-e(1-t)}},zi=function(t,e){return t&&(s(t)?t:Ii[t]||function(t){var e=(t+"").split("("),i=Ii[e[0]];return i&&1<e.length&&i.config?i.config.apply(null,~t.indexOf("{")?[function(t){for(var e,i,n,r={},s=t.substr(1,t.length-3).split(":"),o=s[0],u=1,a=s.length;u<a;u++)i=s[u],e=u!==a-1?i.lastIndexOf(","):i.length,n=i.substr(0,e),r[o]=isNaN(n)?n.replace(Ei,"").trim():+n,o=i.substr(e+1).trim();return r}(e[1])]:function(t){var e=t.indexOf("(")+1,i=t.indexOf(")"),n=t.indexOf("(",e);return t.substring(e,~n&&n<i?t.indexOf(")",i+1):i)}(t).split(",").map(S)):Ii._CE&&Ri.test(t)?Ii._CE("",t):i}(t))||e};function Di(t){var e,i,n,r,s=Et()-Lt,o=!0===t;if(Tt<s&&(Dt+=s-zt),(0<(e=(n=(Lt+=s)-Dt)-Xt)||o)&&(r=++At.frame,It=n-1e3*At.time,At.time=n/=1e3,Xt+=e+(Bt<=e?4:Bt-e),i=1),o||(St=Ct(Di)),i)for(Rt=0;Rt<Yt.length;Rt++)Yt[Rt](n,It,r,t)}function Li(t){return t<Nt?jt*t*t:t<.7272727272727273?jt*Math.pow(t-1.5/2.75,2)+.75:t<.9090909090909092?jt*(t-=2.25/2.75)*t+.9375:jt*Math.pow(t-2.625/2.75,2)+.984375}M("Linear,Quad,Cubic,Quart,Quint,Strong",(function(t,e){var i=e<5?e+1:e;vt(t+",Power"+(i-1),e?function(t){return Math.pow(t,i)}:function(t){return t},(function(t){return 1-Math.pow(1-t,i)}),(function(t){return t<.5?Math.pow(2*t,i)/2:1-Math.pow(2*(1-t),i)/2}))})),Ii.Linear.easeNone=Ii.none=Ii.Linear.easeIn,vt("Elastic",pt("in"),pt("out"),pt()),jt=7.5625,Nt=1/2.75,vt("Bounce",(function(t){return 1-Li(1-t)}),Li),vt("Expo",(function(t){return t?Math.pow(2,10*(t-1)):0})),vt("Circ",(function(t){return-(Ht(1-t*t)-1)})),vt("Sine",(function(t){return 1===t?1:1-$t(t*qt)})),vt("Back",gt("in"),gt("out"),gt()),Ii.SteppedEase=Ii.steps=ai.SteppedEase={config:function(t,e){void 0===t&&(t=1);var i=1/t,n=t+(e?0:1),r=e?1:0;return function(t){return((n*bi(0,.99999999,t)|0)+r)*i}}},Ut.ease=Ii["quad.out"],M("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",(function(t){return gi+=t+","+t+"Params,"}));var Bi,Xi=function(t,e){this.id=Gt++,(t._gsap=this).target=t,this.harness=e,this.get=e?e.get:b,this.set=e?e.getSetter:rn},Yi=((Bi=ji.prototype).delay=function(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},Bi.duration=function(t){return arguments.length?this.totalDuration(0<this._repeat?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},Bi.totalDuration=function(t){return arguments.length?(this._dirty=0,W(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},Bi.totalTime=function(t,e){if(Ai(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(Y(this,t),!i._dp||i.parent||j(i,this);i.parent;)i.parent._time!==i._start+(0<=i._ts?i._tTime/i._ts:(i.totalDuration()-i._tTime)/-i._ts)&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&(0<this._ts&&t<this._tDur||this._ts<0&&0<t||!this._tDur&&!t)&&N(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===Zt||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),P(this,t,e)),this},Bi.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+L(this))%this._dur||(t?this._dur:0),e):this._time},Bi.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},Bi.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+L(this),e):this.duration()?Math.min(1,this._time/this._dur):this.ratio},Bi.iteration=function(t,e){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*i,e):this._repeat?wi(this._tTime,i)+1:1},Bi.timeScale=function(t){if(!arguments.length)return this._rts===-Zt?0:this._rts;if(this._rts===t)return this;var e=this.parent&&this._ts?B(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||t===-Zt?0:this._rts,function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(this.totalTime(bi(-this._delay,this._tDur,e),!0))},Bi.paused=function(t){return arguments.length?(this._ps!==t&&((this._ps=t)?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Ai(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&(this._tTime-=Zt)&&Math.abs(this._zTime)!==Zt))),this):this._ps},Bi.startTime=function(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return!e||!e._sort&&this.parent||N(e,this,t-this._delay),this}return this._start},Bi.endTime=function(e){return this._start+(c(e)?this.totalDuration():this.duration())/Math.abs(this._ts)},Bi.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?B(e.rawTime(t),this):this._tTime:this._tTime},Bi.globalTime=function(t){for(var e=this,i=arguments.length?t:e.rawTime();e;)i=e._start+i/(e._ts||1),e=e._dp;return i},Bi.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,Z(this)):-2===this._repeat?1/0:this._repeat},Bi.repeatDelay=function(t){return arguments.length?(this._rDelay=t,Z(this)):this._rDelay},Bi.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},Bi.seek=function(e,t){return this.totalTime(V(this,e),c(t))},Bi.restart=function(e,t){return this.play().totalTime(e?-this._delay:0,c(t))},Bi.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},Bi.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},Bi.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},Bi.resume=function(){return this.paused(!1)},Bi.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-Zt:0)),this):this._rts<0},Bi.invalidate=function(){return this._initted=this._act=0,this._zTime=-Zt,this},Bi.isActive=function(){var t,e=this.parent||this._dp,i=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=i&&t<this.endTime(!0)-Zt))},Bi.eventCallback=function(t,e,i){var n=this.vars;return 1<arguments.length?(e?(n[t]=e,i&&(n[t+"Params"]=i),"onUpdate"===t&&(this._onUpdate=e)):delete n[t],this):n[t]},Bi.then=function(t){var i=this;return new Promise((function(e){function n(){var t=i.then;i.then=null,s(r)&&(r=r(i))&&(r.then||r===i)&&(i.then=t),e(r),i.then=t}var r=s(t)?t:C;i._initted&&1===i.totalProgress()&&0<=i._ts||!i._tTime&&i._ts<0?n():i._prom=n}))},Bi.kill=function(){ot(this)},ji);function ji(t,e){var i=t.parent||wt;this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,W(this,+t.duration,1,1),this.data=t.data,Pt||Fi.wake(),i&&N(i,this,e||0===e?e:i._time,1),t.reversed&&this.reverse(),t.paused&&this.paused(!0)}F(Yi.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-Zt,_prom:0,_ps:!1,_rts:1});var Ni=function(i){function u(e,t){var r;return void 0===e&&(e={}),(r=i.call(this,e,t)||this).labels={},r.smoothChildTiming=!!e.smoothChildTiming,r.autoRemoveChildren=!!e.autoRemoveChildren,r._sort=c(e.sortChildren),r.parent&&j(r.parent,n(r)),e.scrollTrigger&&Q(n(r),e.scrollTrigger),r}t(u,i);var e=u.prototype;return e.to=function(t,e,i,n){return new Hi(t,O(arguments,0,this),V(this,o(e)?n:i)),this},e.from=function(t,e,i,n){return new Hi(t,O(arguments,1,this),V(this,o(e)?n:i)),this},e.fromTo=function(t,e,i,n,r){return new Hi(t,O(arguments,2,this),V(this,o(e)?r:n)),this},e.set=function(t,e,i){return e.duration=0,e.parent=this,E(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new Hi(t,e,V(this,i),1),this},e.call=function(t,e,i){return N(this,Hi.delayedCall(0,t,e),V(this,i))},e.staggerTo=function(t,e,i,n,r,s,o){return i.duration=e,i.stagger=i.stagger||n,i.onComplete=s,i.onCompleteParams=o,i.parent=this,new Hi(t,i,V(this,r)),this},e.staggerFrom=function(e,t,i,n,r,s,o){return i.runBackwards=1,E(i).immediateRender=c(i.immediateRender),this.staggerTo(e,t,i,n,r,s,o)},e.staggerFromTo=function(e,t,i,n,r,s,o,u){return n.startAt=i,E(n).immediateRender=c(n.immediateRender),this.staggerTo(e,t,n,r,s,o,u)},e.render=function(t,e,i){var n,r,s,o,u,a,h,f,c,l,v,d,p=this._time,g=this._dirty?this.totalDuration():this._tDur,m=this._dur,w=this!==wt&&g-Zt<t&&0<=t?g:t<Zt?0:t,y=this._zTime<0!=t<0&&(this._initted||!m);if(w!==this._tTime||i||y){if(p!==this._time&&m&&(w+=this._time-p,t+=this._time-p),n=w,c=this._start,a=!(f=this._ts),y&&(m||(p=this._zTime),!t&&e||(this._zTime=t)),this._repeat){if(v=this._yoyo,u=m+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*u+t,e,i);if(n=x(w%u),w===g?(o=this._repeat,n=m):((o=~~(w/u))&&o===w/u&&(n=m,o--),m<n&&(n=m)),l=wi(this._tTime,u),!p&&this._tTime&&l!==o&&(l=o),v&&1&o&&(n=m-n,d=1),o!==l&&!this._lock){var b=v&&1&l,M=b===(v&&1&o);if(o<l&&(b=!b),p=b?0:m,this._lock=1,this.render(p||(d?0:x(o*u)),e,!m)._lock=0,!e&&this.parent&&Oi(this,"onRepeat"),this.vars.repeatRefresh&&!d&&(this.invalidate()._lock=1),p&&p!==this._time||a!=!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(m=this._dur,g=this._tDur,M&&(this._lock=2,p=b?m:-1e-4,this.render(p,!0)),this._lock=0,!this._ts&&!a)return this;lt(this,d)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(h=function(t,e,i){var n;if(e<i)for(n=t._first;n&&n._start<=i;){if(!n._dur&&"isPause"===n.data&&n._start>e)return n;n=n._next}else for(n=t._last;n&&n._start>=i;){if(!n._dur&&"isPause"===n.data&&n._start<e)return n;n=n._prev}}(this,x(p),x(n)))&&(w-=n-(n=h._start)),this._tTime=w,this._time=n,this._act=!f,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,p=0),p||!n||e||Oi(this,"onStart"),p<=n&&0<=t)for(r=this._first;r;){if(s=r._next,(r._act||n>=r._start)&&r._ts&&h!==r){if(r.parent!==this)return this.render(t,e,i);if(r.render(0<r._ts?(n-r._start)*r._ts:(r._dirty?r.totalDuration():r._tDur)+(n-r._start)*r._ts,e,i),n!==this._time||!this._ts&&!a){h=0,s&&(w+=this._zTime=-Zt);break}}r=s}else{r=this._last;for(var _=t<0?t:n;r;){if(s=r._prev,(r._act||_<=r._end)&&r._ts&&h!==r){if(r.parent!==this)return this.render(t,e,i);if(r.render(0<r._ts?(_-r._start)*r._ts:(r._dirty?r.totalDuration():r._tDur)+(_-r._start)*r._ts,e,i),n!==this._time||!this._ts&&!a){h=0,s&&(w+=this._zTime=_?-Zt:Zt);break}}r=s}}if(h&&!e&&(this.pause(),h.render(p<=n?0:-Zt)._zTime=p<=n?1:-1,this._ts))return this._start=c,X(this),this.render(t,e,i);this._onUpdate&&!e&&Oi(this,"onUpdate",!0),(w===g&&g>=this.totalDuration()||!w&&p)&&(c!==this._start&&Math.abs(f)===Math.abs(this._ts)||this._lock||(!t&&m||!(w===g&&0<this._ts||!w&&this._ts<0)||z(this,1),e||t<0&&!p||!w&&!p||(Oi(this,w===g?"onComplete":"onReverseComplete",!0),!this._prom||w<g&&0<this.timeScale()||this._prom())))}return this},e.add=function(t,e){var i=this;if(o(e)||(e=V(this,e)),!(t instanceof Yi)){if(ti(t))return t.forEach((function(t){return i.add(t,e)})),this;if(r(t))return this.addLabel(t,e);if(!s(t))return this;t=Hi.delayedCall(0,t)}return this!==t?N(this,t,e):this},e.getChildren=function(t,e,i,n){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===i&&(i=!0),void 0===n&&(n=-Wt);for(var r=[],s=this._first;s;)s._start>=n&&(s instanceof Hi?e&&r.push(s):(i&&r.push(s),t&&r.push.apply(r,s.getChildren(!0,e,i)))),s=s._next;return r},e.getById=function(t){for(var e=this.getChildren(1,1,1),i=e.length;i--;)if(e[i].vars.id===t)return e[i]},e.remove=function(t){return r(t)?this.removeLabel(t):s(t)?this.killTweensOf(t):(T(this,t),t===this._recent&&(this._recent=this._last),D(this))},e.totalTime=function(t,e){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=x(Fi.time-(0<this._ts?t/this._ts:(this.totalDuration()-t)/-this._ts))),i.prototype.totalTime.call(this,t,e),this._forcing=0,this):this._tTime},e.addLabel=function(t,e){return this.labels[t]=V(this,e),this},e.removeLabel=function(t){return delete this.labels[t],this},e.addPause=function(t,e,i){var n=Hi.delayedCall(0,e||w,i);return n.data="isPause",this._hasPause=1,N(this,n,V(this,t))},e.removePause=function(t){var e=this._first;for(t=V(this,t);e;)e._start===t&&"isPause"===e.data&&z(e),e=e._next},e.killTweensOf=function(t,e,i){for(var n=this.getTweensOf(t,i),r=n.length;r--;)Ui!==n[r]&&n[r].kill(t,e);return this},e.getTweensOf=function(t,e){for(var i,n=[],r=xi(t),s=this._first,u=o(e);s;)s instanceof Hi?_(s._targets,r)&&(u?(!Ui||s._initted&&s._ts)&&s.globalTime(0)<=e&&s.globalTime(s.totalDuration())>e:!e||s.isActive())&&n.push(s):(i=s.getTweensOf(r,e)).length&&n.push.apply(n,i),s=s._next;return n},e.tweenTo=function(t,e){e=e||{};var i=this,n=V(i,t),r=e.startAt,s=e.onStart,o=e.onStartParams,u=e.immediateRender,a=Hi.to(i,F({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:n,overwrite:"auto",duration:e.duration||Math.abs((n-(r&&"time"in r?r.time:i._time))/i.timeScale())||Zt,onStart:function(){i.pause();var t=e.duration||Math.abs((n-i._time)/i.timeScale());a._dur!==t&&W(a,t,0,1).render(a._time,!0,!0),s&&s.apply(a,o||[])}},e));return u?a.render(0):a},e.tweenFromTo=function(t,e,i){return this.tweenTo(e,F({startAt:{time:V(this,t)}},i))},e.recent=function(){return this._recent},e.nextLabel=function(t){return void 0===t&&(t=this._time),st(this,V(this,t))},e.previousLabel=function(t){return void 0===t&&(t=this._time),st(this,V(this,t),1)},e.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+Zt)},e.shiftChildren=function(t,e,i){void 0===i&&(i=0);for(var n,r=this._first,s=this.labels;r;)r._start>=i&&(r._start+=t,r._end+=t),r=r._next;if(e)for(n in s)s[n]>=i&&(s[n]+=t);return D(this)},e.invalidate=function(){var t=this._first;for(this._lock=0;t;)t.invalidate(),t=t._next;return i.prototype.invalidate.call(this)},e.clear=function(t){void 0===t&&(t=!0);for(var e,i=this._first;i;)e=i._next,this.remove(i),i=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),D(this)},e.totalDuration=function(t){var e,i,n,r=0,s=this,o=s._last,u=Wt;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-t:t));if(s._dirty){for(n=s.parent;o;)e=o._prev,o._dirty&&o.totalDuration(),u<(i=o._start)&&s._sort&&o._ts&&!s._lock?(s._lock=1,N(s,o,i-o._delay,1)._lock=0):u=i,i<0&&o._ts&&(r-=i,(!n&&!s._dp||n&&n.smoothChildTiming)&&(s._start+=i/s._ts,s._time-=i,s._tTime-=i),s.shiftChildren(-i,!1,-1/0),u=0),o._end>r&&o._ts&&(r=o._end),o=e;W(s,s===wt&&s._time>r?s._time:r,1,1),s._dirty=0}return s._tDur},u.updateRoot=function(t){if(wt._ts&&(P(wt,B(t,wt)),Ot=Fi.frame),Fi.frame>=di){di+=Qt.autoSleep||120;var e=wt._first;if((!e||!e._ts)&&Qt.autoSleep&&Fi._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||Fi.sleep()}}},u}(Yi);function Qi(t,e,i,n,o,u){var a,h,c,l;if(li[t]&&!1!==(a=new li[t]).init(o,a.rawVars?e[t]:function(t,e,i,n,o){if(s(t)&&(t=Vi(t,o,e,i,n)),!f(t)||t.style&&t.nodeType||ti(t)||Kt(t))return r(t)?Vi(t,o,e,i,n):t;var u,a={};for(u in t)a[u]=Vi(t[u],o,e,i,n);return a}(e[t],n,o,u,i),i,n,u)&&(i._pt=h=new cn(i._pt,o,t,0,1,a.render,a,0,a.priority),i!==kt))for(c=i._ptLookup[i._targets.indexOf(o)],l=a._props.length;l--;)c[a._props[l]]=h;return a}F(Ni.prototype,{_lock:0,_hasPause:0,_forcing:0});var Ui,Wi=function(t,e,i,n,o,u,a,h,f){s(n)&&(n=n(o||0,t,u));var c,l=t[e],v="get"!==i?i:s(l)?f?t[e.indexOf("set")||!s(t["get"+e.substr(3)])?e:"get"+e.substr(3)](f):t[e]():l,d=s(l)?f?nn:tn:Ki;if(r(n)&&(~n.indexOf("random(")&&(n=et(n)),"="===n.charAt(1)&&(n=parseFloat(v)+parseFloat(n.substr(2))*("-"===n.charAt(0)?-1:1)+(G(v)||0))),v!==n)return isNaN(v*n)?(l||e in t||p(e,n),function(t,e,i,n,r,s,o){var u,a,h,f,c,l,v,d,p=new cn(this._pt,t,e,0,1,on,null,r),g=0,m=0;for(p.b=i,p.e=n,i+="",(v=~(n+="").indexOf("random("))&&(n=et(n)),s&&(s(d=[i,n],t,e),i=d[0],n=d[1]),a=i.match(ei)||[];u=ei.exec(n);)f=u[0],c=n.substring(g,u.index),h?h=(h+1)%5:"rgba("===c.substr(-5)&&(h=1),f!==a[m++]&&(l=parseFloat(a[m-1])||0,p._pt={_next:p._pt,p:c||1===m?c:",",s:l,c:"="===f.charAt(1)?parseFloat(f.substr(2))*("-"===f.charAt(0)?-1:1):parseFloat(f)-l,m:h&&h<4?Math.round:0},g=ei.lastIndex);return p.c=g<n.length?n.substring(g,n.length):"",p.fp=o,(si.test(n)||v)&&(p.e=0),this._pt=p}.call(this,t,e,v,n,d,h||Qt.stringFilter,f)):(c=new cn(this._pt,t,e,+v||0,n-(v||0),"boolean"==typeof l?sn:en,0,d),f&&(c.fp=f),a&&c.modifier(a,this,t),this._pt=c)},Zi=function t(e,i){var n,r,s,o,u,a,h,f,l,v,d,p,g,m=e.vars,w=m.ease,b=m.startAt,M=m.immediateRender,x=m.lazy,_=m.onUpdate,O=m.onUpdateParams,P=m.callbackScope,S=m.runBackwards,C=m.yoyoEase,A=m.keyframes,I=m.autoRevert,E=e._dur,T=e._startAt,D=e._targets,L=e.parent,B=L&&"nested"===L.data?L.parent._targets:D,X="auto"===e._overwrite&&!mt,Y=e.timeline;if(!Y||A&&w||(w="none"),e._ease=zi(w,Ut.ease),e._yEase=C?Ti(zi(!0===C?w:C,Ut.ease)):0,C&&e._yoyo&&!e._repeat&&(C=e._yEase,e._yEase=e._ease,e._ease=C),!Y){if(p=(f=D[0]?y(D[0]).harness:0)&&m[f.prop],n=R(m,hi),T&&T.render(-1,!0).kill(),b)if(z(e._startAt=Hi.set(D,F({data:"isStart",overwrite:!1,parent:L,immediateRender:!0,lazy:c(x),startAt:null,delay:0,onUpdate:_,onUpdateParams:O,callbackScope:P,stagger:0},b))),M){if(0<i)I||(e._startAt=0);else if(E&&!(i<0&&T))return void(i&&(e._zTime=i))}else!1===I&&(e._startAt=0);else if(S&&E)if(T)I||(e._startAt=0);else if(i&&(M=!1),s=F({overwrite:!1,data:"isFromStart",lazy:M&&c(x),immediateRender:M,stagger:0,parent:L},n),p&&(s[f.prop]=p),z(e._startAt=Hi.set(D,s)),M){if(!i)return}else t(e._startAt,Zt);for(e._pt=0,x=E&&c(x)||x&&!E,r=0;r<D.length;r++){if(h=(u=D[r])._gsap||$(D)[r]._gsap,e._ptLookup[r]=v={},ci[h.id]&&fi.length&&k(),d=B===D?r:B.indexOf(u),f&&!1!==(l=new f).init(u,p||n,e,d,B)&&(e._pt=o=new cn(e._pt,u,l.name,0,1,l.render,l,0,l.priority),l._props.forEach((function(t){v[t]=o})),l.priority&&(a=1)),!f||p)for(s in n)li[s]&&(l=Qi(s,n,e,d,u,B))?l.priority&&(a=1):v[s]=o=Wi.call(e,u,s,"get",n[s],d,B,0,m.stringFilter);e._op&&e._op[r]&&e.kill(u,e._op[r]),X&&e._pt&&(Ui=e,wt.killTweensOf(u,v,e.globalTime(0)),g=!e.parent,Ui=0),e._pt&&x&&(ci[h.id]=1)}a&&fn(e),e._onInit&&e._onInit(e)}e._from=!Y&&!!m.runBackwards,e._onUpdate=_,e._initted=(!e._op||e._pt)&&!g},Vi=function(t,e,i,n,o){return s(t)?t.call(e,i,n,o):r(t)&&~t.indexOf("random(")?et(t):t},qi=gi+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase",Gi=(qi+",id,stagger,delay,duration,paused,scrollTrigger").split(","),Hi=function(i){function s(e,t,r,s){var u;"number"==typeof t&&(r.duration=t,t=r,r=null);var a,h,l,d,p,m,y,b,M=(u=i.call(this,s?t:E(t),r)||this).vars,_=M.duration,O=M.delay,k=M.immediateRender,P=M.stagger,S=M.overwrite,C=M.keyframes,A=M.defaults,I=M.scrollTrigger,R=M.yoyoEase,T=u.parent,z=(ti(e)||Kt(e)?o(e[0]):"length"in t)?[e]:xi(e);if(u._targets=z.length?$(z):g("GSAP target "+e+" not found. https://greensock.com",!Qt.nullTargetWarn)||[],u._ptLookup=[],u._overwrite=S,C||P||v(_)||v(O)){if(t=u.vars,(a=u.timeline=new Ni({data:"nested",defaults:A||{}})).kill(),a.parent=a._dp=n(u),a._start=0,C)F(a.vars.defaults,{ease:"none"}),C.forEach((function(t){return a.to(z,t,">")}));else{if(d=z.length,y=P?K(P):w,f(P))for(p in P)~qi.indexOf(p)&&((b=b||{})[p]=P[p]);for(h=0;h<d;h++){for(p in l={},t)Gi.indexOf(p)<0&&(l[p]=t[p]);l.stagger=0,R&&(l.yoyoEase=R),b&&mi(l,b),m=z[h],l.duration=+Vi(_,n(u),h,m,z),l.delay=(+Vi(O,n(u),h,m,z)||0)-u._delay,!P&&1===d&&l.delay&&(u._delay=O=l.delay,u._start+=O,l.delay=0),a.to(m,l,y(h,m,z))}a.duration()?_=O=0:u.timeline=0}_||u.duration(_=a.duration())}else u.timeline=0;return!0!==S||mt||(Ui=n(u),wt.killTweensOf(z),Ui=0),T&&j(T,n(u)),(k||!_&&!C&&u._start===x(T._time)&&c(k)&&function t(i){return!i||i._ts&&t(i.parent)}(n(u))&&"nested"!==T.data)&&(u._tTime=-Zt,u.render(Math.max(0,-O))),I&&Q(n(u),I),u}t(s,i);var e=s.prototype;return e.render=function(t,e,i){var n,r,s,o,u,a,h,f,c,l=this._time,v=this._tDur,d=this._dur,p=v-Zt<t&&0<=t?v:t<Zt?0:t;if(d){if(p!==this._tTime||!t||i||!this._initted&&this._tTime||this._startAt&&this._zTime<0!=t<0){if(n=p,f=this.timeline,this._repeat){if(o=d+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*o+t,e,i);if(n=x(p%o),p===v?(s=this._repeat,n=d):((s=~~(p/o))&&s===p/o&&(n=d,s--),d<n&&(n=d)),(a=this._yoyo&&1&s)&&(c=this._yEase,n=d-n),u=wi(this._tTime,o),n===l&&!i&&this._initted)return this;s!==u&&(f&&this._yEase&&lt(f,a),!this.vars.repeatRefresh||a||this._lock||(this._lock=i=1,this.render(x(o*s),!0).invalidate()._lock=0))}if(!this._initted){if(U(this,t<0?t:n,i,e))return this._tTime=0,this;if(d!==this._dur)return this.render(t,e,i)}for(this._tTime=p,this._time=n,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=h=(c||this._ease)(n/d),this._from&&(this.ratio=h=1-h),!n||l||e||Oi(this,"onStart"),r=this._pt;r;)r.r(h,r.d),r=r._next;f&&f.render(t<0?t:!n&&a?-Zt:f._dur*h,e,i)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(t<0&&this._startAt&&this._startAt.render(t,!0,i),Oi(this,"onUpdate")),this._repeat&&s!==u&&this.vars.onRepeat&&!e&&this.parent&&Oi(this,"onRepeat"),p!==this._tDur&&p||this._tTime!==p||(t<0&&this._startAt&&!this._onUpdate&&this._startAt.render(t,!0,!0),!t&&d||!(p===this._tDur&&0<this._ts||!p&&this._ts<0)||z(this,1),e||t<0&&!l||!p&&!l||(Oi(this,p===v?"onComplete":"onReverseComplete",!0),!this._prom||p<v&&0<this.timeScale()||this._prom()))}}else!function(t,e,i,n){var r,s,o,u=t.ratio,a=e<0||!e&&(!t._start&&function t(i){var e=i.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||t(e))}(t)||(t._ts<0||t._dp._ts<0)&&"isFromStart"!==t.data&&"isStart"!==t.data)?0:1,h=t._rDelay,f=0;if(h&&t._repeat&&(f=bi(0,t._tDur,e),s=wi(f,h),o=wi(t._tTime,h),t._yoyo&&1&s&&(a=1-a),s!==o&&(u=1-a,t.vars.repeatRefresh&&t._initted&&t.invalidate())),a!==u||n||t._zTime===Zt||!e&&t._zTime){if(!t._initted&&U(t,e,n,i))return;for(o=t._zTime,t._zTime=e||(i?Zt:0),i=i||e&&!o,t.ratio=a,t._from&&(a=1-a),t._time=0,t._tTime=f,r=t._pt;r;)r.r(a,r.d),r=r._next;t._startAt&&e<0&&t._startAt.render(e,!0,!0),t._onUpdate&&!i&&Oi(t,"onUpdate"),f&&t._repeat&&!i&&t.parent&&Oi(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===a&&(a&&z(t,1),i||(Oi(t,a?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,i);return this},e.targets=function(){return this._targets},e.invalidate=function(){return this._pt=this._op=this._startAt=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(),i.prototype.invalidate.call(this)},e.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?ot(this):this;if(this.timeline){var i=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Ui&&!0!==Ui.vars.overwrite)._first||ot(this),this.parent&&i!==this.timeline.totalDuration()&&W(this,this._dur*this.timeline._tDur/i,0,1),this}var n,s,o,u,a,h,f,c=this._targets,l=t?xi(t):c,v=this._ptLookup,d=this._pt;if((!e||"all"===e)&&function(t,e){for(var i=t.length,n=i===e.length;n&&i--&&t[i]===e[i];);return i<0}(c,l))return"all"===e&&(this._pt=0),ot(this);for(n=this._op=this._op||[],"all"!==e&&(r(e)&&(a={},M(e,(function(t){return a[t]=1})),e=a),e=function(t,e){var i,n,r,s,o=t[0]?y(t[0]).harness:0,u=o&&o.aliases;if(!u)return e;for(n in i=mi({},e),u)if(n in i)for(r=(s=u[n].split(",")).length;r--;)i[s[r]]=i[n];return i}(c,e)),f=c.length;f--;)if(~l.indexOf(c[f]))for(a in s=v[f],"all"===e?(n[f]=e,u=s,o={}):(o=n[f]=n[f]||{},u=e),u)(h=s&&s[a])&&("kill"in h.d&&!0!==h.d.kill(a)||T(this,h,"_pt"),delete s[a]),"all"!==o&&(o[a]=1);return this._initted&&!this._pt&&d&&ot(this),this},s.to=function(t,e,i){return new s(t,e,i)},s.from=function(t,e){return new s(t,O(arguments,1))},s.delayedCall=function(t,e,i,n){return new s(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:i,onReverseCompleteParams:i,callbackScope:n})},s.fromTo=function(t,e,i){return new s(t,O(arguments,2))},s.set=function(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new s(t,e)},s.killTweensOf=function(t,e,i){return wt.killTweensOf(t,e,i)},s}(Yi);function $i(t,e,i){return t.setAttribute(e,i)}function Ji(t,e,i,n){n.mSet(t,e,n.m.call(n.tween,i,n.mt),n)}F(Hi.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),M("staggerTo,staggerFrom,staggerFromTo",(function(t){Hi[t]=function(){var i=new Ni,e=Mi.call(arguments,0);return e.splice("staggerFromTo"===t?5:4,0,0),i[t].apply(i,e)}}));var Ki=function(t,e,i){return t[e]=i},tn=function(t,e,i){return t[e](i)},nn=function(t,e,i,n){return t[e](n.fp,i)},rn=function(t,e){return s(t[e])?tn:h(t[e])&&t.setAttribute?$i:Ki},en=function(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4,e)},sn=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},on=function(t,e){var i=e._pt,n="";if(!t&&e.b)n=e.b;else if(1===t&&e.e)n=e.e;else{for(;i;)n=i.p+(i.m?i.m(i.s+i.c*t):Math.round(1e4*(i.s+i.c*t))/1e4)+n,i=i._next;n+=e.c}e.set(e.t,e.p,n,e)},un=function(t,e){for(var i=e._pt;i;)i.r(t,i.d),i=i._next},an=function(t,e,i,n){for(var r,s=this._pt;s;)r=s._next,s.p===n&&s.modifier(t,e,i),s=r},hn=function(t){for(var e,i,n=this._pt;n;)i=n._next,n.p===t&&!n.op||n.op===t?T(this,n,"_pt"):n.dep||(e=1),n=i;return!e},fn=function(t){for(var e,i,n,r,s=t._pt;s;){for(e=s._next,i=n;i&&i.pr>s.pr;)i=i._next;(s._prev=i?i._prev:r)?s._prev._next=s:n=s,(s._next=i)?i._prev=s:r=s,s=e}t._pt=n},cn=(ln.prototype.modifier=function(t,e,i){this.mSet=this.mSet||this.set,this.set=Ji,this.m=t,this.mt=i,this.tween=e},ln);function ln(t,e,i,n,r,s,o,u,a){this.t=e,this.s=n,this.c=r,this.p=i,this.r=s||en,this.d=o||this,this.set=u||Ki,this.pr=a||0,(this._next=t)&&(t._prev=this)}M(gi+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(t){return hi[t]=1})),ai.TweenMax=ai.TweenLite=Hi,ai.TimelineLite=ai.TimelineMax=Ni,wt=new Ni({sortChildren:!1,defaults:Ut,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),Qt.stringFilter=ct;var vn={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];e.forEach((function(t){return function(t){var e=(t=!t.name&&t.default||t).name,i=s(t),n=e&&!i&&t.init?function(){this._props=[]}:t,r={init:w,render:un,add:Wi,kill:hn,modifier:an,rawVars:0},o={targetTest:0,get:0,getSetter:rn,aliases:{},register:0};if(Ai(),t!==n){if(li[e])return;F(n,F(R(t,r),o)),mi(n.prototype,mi(r,R(t,o))),li[n.prop=e]=n,t.targetTest&&(pi.push(n),hi[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}m(e,n),t.register&&t.register(gn,n,cn)}(t)}))},timeline:function(t){return new Ni(t)},getTweensOf:function(t,e){return wt.getTweensOf(t,e)},getProperty:function(t,i,e,n){r(t)&&(t=xi(t)[0]);var s=y(t||{}).get,o=e?C:S;return"native"===e&&(e=""),t?i?o((li[i]&&li[i].get||s)(t,i,e,n)):function(i,e,n){return o((li[i]&&li[i].get||s)(t,i,e,n))}:t},quickSetter:function(t,e,i){if(1<(t=xi(t)).length){var n=t.map((function(t){return gn.quickSetter(t,e,i)})),r=n.length;return function(t){for(var e=r;e--;)n[e](t)}}t=t[0]||{};var s=li[e],o=y(t),u=o.harness&&(o.harness.aliases||{})[e]||e,a=s?function(n){var e=new s;kt._pt=0,e.init(t,i?n+i:n,kt,0,[t]),e.render(1,e),kt._pt&&un(1,kt)}:o.set(t,u);return s?a:function(n){return a(t,u,i?n+i:n,o,1)}},isTweening:function(t){return 0<wt.getTweensOf(t,!0).length},defaults:function(t){return t&&t.ease&&(t.ease=zi(t.ease,Ut.ease)),I(Ut,t||{})},config:function(t){return I(Qt,t||{})},registerEffect:function(t){var i=t.name,n=t.effect,e=t.plugins,r=t.defaults,s=t.extendTimeline;(e||"").split(",").forEach((function(t){return t&&!li[t]&&!ai[t]&&g(i+" effect requires "+t+" plugin.")})),vi[i]=function(t,e,i){return n(xi(t),F(e||{},r),i)},s&&(Ni.prototype[i]=function(t,e,n){return this.add(vi[i](t,f(e)?e:(n=e)&&{},this),n)})},registerEase:function(t,e){Ii[t]=zi(e)},parseEase:function(t,e){return arguments.length?zi(t,e):Ii},getById:function(t){return wt.getById(t)},exportRoot:function(e,t){void 0===e&&(e={});var i,n,r=new Ni(e);for(r.smoothChildTiming=c(e.smoothChildTiming),wt.remove(r),r._dp=0,r._time=r._tTime=wt._time,i=wt._first;i;)n=i._next,!t&&!i._dur&&i instanceof Hi&&i.vars.onComplete===i._targets[0]||N(r,i,i._start-i._delay),i=n;return N(wt,r,0),r},utils:{wrap:function t(e,i,n){var r=i-e;return ti(e)?rt(e,t(0,e.length),i):q(n,(function(t){return(r+(t-e)%r)%r+e}))},wrapYoyo:function t(e,i,n){var r=i-e,s=2*r;return ti(e)?rt(e,t(0,e.length-1),i):q(n,(function(t){return e+(r<(t=(s+(t-e)%s)%s||0)?s-t:t)}))},distribute:K,random:nt,snap:it,normalize:function(t,e,i){return _i(t,e,0,1,i)},getUnit:G,clamp:function(e,t,i){return q(i,(function(i){return bi(e,t,i)}))},splitColor:at,toArray:xi,mapRange:_i,pipe:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(t){return e.reduce((function(t,e){return e(t)}),t)}},unitize:function(e,t){return function(i){return e(parseFloat(i))+(t||G(i))}},interpolate:function t(e,i,n,s){var o=isNaN(e+i)?0:function(t){return(1-t)*e+t*i};if(!o){var u,a,h,f,c,l=r(e),v={};if(!0===n&&(s=1)&&(n=null),l)e={p:e},i={p:i};else if(ti(e)&&!ti(i)){for(h=[],f=e.length,c=f-2,a=1;a<f;a++)h.push(t(e[a-1],e[a]));f--,o=function(t){t*=f;var e=Math.min(c,~~t);return h[e](t-e)},n=i}else s||(e=mi(ti(e)?[]:{},e));if(!h){for(u in i)Wi.call(v,e,u,"get",i[u]);o=function(t){return un(t,v)||(l?e.p:e)}}}return q(n,o)},shuffle:J},install:d,effects:vi,ticker:Fi,updateRoot:Ni.updateRoot,plugins:li,globalTimeline:wt,core:{PropTween:cn,globals:m,Tween:Hi,Timeline:Ni,Animation:Yi,getCache:y,_removeLinkedListItem:T,suppressOverwrites:function(t){return mt=t}}};function dn(t,e){for(var i=t._pt;i&&i.p!==e&&i.op!==e&&i.fp!==e;)i=i._next;return i}function pn(t,i){return{name:t,rawVars:1,init:function(t,n,e){e._onInit=function(t){var e,s;if(r(n)&&(e={},M(n,(function(t){return e[t]=1})),n=e),i){for(s in e={},n)e[s]=i(n[s]);n=e}!function(t,e){var i,n,r,s=t._targets;for(i in e)for(n=s.length;n--;)(r=(r=t._ptLookup[n][i])&&r.d)&&(r._pt&&(r=dn(r,i)),r&&r.modifier&&r.modifier(e[i],t,s[n],i))}(t,n)}}}}M("to,from,fromTo,delayedCall,set,killTweensOf",(function(t){return vn[t]=Hi[t]})),Fi.add(Ni.updateRoot),kt=vn.to({},{duration:0});var gn=vn.registerPlugin({name:"attr",init:function(t,e,i,n,r){var s,o;for(s in e)(o=this.add(t,"setAttribute",(t.getAttribute(s)||0)+"",e[s],n,r,0,0,s))&&(o.op=s),this._props.push(s)}},{name:"endArray",init:function(t,e){for(var i=e.length;i--;)this.add(t,i,t[i]||0,e[i])}},pn("roundProps",tt),pn("modifiers"),pn("snap",it))||vn;function mn(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function wn(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function yn(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)}function bn(t,e){var i=e.s+e.c*t;e.set(e.t,e.p,~~(i+(i<0?-.5:.5))+e.u,e)}function Mn(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)}function xn(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)}function _n(t,e,i){return t.style[e]=i}function On(t,e,i){return t.style.setProperty(e,i)}function kn(t,e,i){return t._gsap[e]=i}function Pn(t,e,i){return t._gsap.scaleX=t._gsap.scaleY=i}function Sn(t,e,i,n,r){var s=t._gsap;s.scaleX=s.scaleY=i,s.renderTransform(r,s)}function Cn(t,e,i,n,r){var s=t._gsap;s[e]=i,s.renderTransform(r,s)}function Fn(t,e){var i=$n.createElementNS?$n.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):$n.createElement(t);return i.style?i:$n.createElement(t)}function An(t,e,i){var n=getComputedStyle(t);return n[e]||n.getPropertyValue(e.replace(kr,"-$1").toLowerCase())||n.getPropertyValue(e)||!i&&An(t,Rr(e)||e,1)||""}function In(){void 0!==i&&i.document&&($n=i.document,Jn=$n.documentElement,tr=Fn("div")||{style:{}},Fn("div"),Fr=Rr(Fr),Ar=Fr+"Origin",tr.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",nr=!!Rr("perspective"),Kn=1)}function Rn(t){var e,i=Fn("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,r=this.nextSibling,s=this.style.cssText;if(Jn.appendChild(i),i.appendChild(this),this.style.display="block",t)try{e=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=Rn}catch(t){}else this._gsapBBox&&(e=this._gsapBBox());return n&&(r?n.insertBefore(this,r):n.appendChild(this)),Jn.removeChild(i),this.style.cssText=s,e}function En(t,e){for(var i=e.length;i--;)if(t.hasAttribute(e[i]))return t.getAttribute(e[i])}function Tn(e){var t;try{t=e.getBBox()}catch(i){t=Rn.call(e,!0)}return t&&(t.width||t.height)||e.getBBox===Rn||(t=Rn.call(e,!0)),!t||t.width||t.x||t.y?t:{x:+En(e,["x","cx","x1"])||0,y:+En(e,["y","cy","y1"])||0,width:0,height:0}}function zn(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Tn(t))}function Dn(t,e){if(e){var i=t.style;e in Mr&&e!==Ar&&(e=Fr),i.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),i.removeProperty(e.replace(kr,"-$1").toLowerCase())):i.removeAttribute(e)}}function Ln(t,e,i,n,r,s){var o=new cn(t._pt,e,i,0,1,s?xn:Mn);return(t._pt=o).b=n,o.e=r,t._props.push(i),o}function Bn(t,e,i,n){var r,s,o,u,a=parseFloat(i)||0,h=(i+"").trim().substr((a+"").length)||"px",f=tr.style,c=Pr.test(e),l="svg"===t.tagName.toLowerCase(),v=(l?"client":"offset")+(c?"Width":"Height"),d="px"===n,p="%"===n;return n===h||!a||Er[n]||Er[h]?a:("px"===h||d||(a=Bn(t,e,i,"px")),u=t.getCTM&&zn(t),!p&&"%"!==h||!Mr[e]&&!~e.indexOf("adius")?(f[c?"width":"height"]=100+(d?h:n),s=~e.indexOf("adius")||"em"===n&&t.appendChild&&!l?t:t.parentNode,u&&(s=(t.ownerSVGElement||{}).parentNode),s&&s!==$n&&s.appendChild||(s=$n.body),(o=s._gsap)&&p&&o.width&&c&&o.time===Fi.time?x(a/o.width*100):(!p&&"%"!==h||(f.position=An(t,"position")),s===t&&(f.position="static"),s.appendChild(tr),r=tr[v],s.removeChild(tr),f.position="absolute",c&&p&&((o=y(s)).time=Fi.time,o.width=s[v]),x(d?r*a/100:r&&a?100/r*a:0))):(r=u?t.getBBox()[c?"width":"height"]:t[v],x(p?a/r*100:a/100*r)))}function Xn(t,e,i,n){var r;return Kn||In(),e in Cr&&"transform"!==e&&~(e=Cr[e]).indexOf(",")&&(e=e.split(",")[0]),Mr[e]&&"transform"!==e?(r=Br(t,n),r="transformOrigin"!==e?r[e]:Xr(An(t,Ar))+" "+r.zOrigin+"px"):(r=t.style[e])&&"auto"!==r&&!n&&!~(r+"").indexOf("calc(")||(r=zr[e]&&zr[e](t,e,i)||An(t,e)||b(t,e)||("opacity"===e?1:0)),i&&!~(r+"").trim().indexOf(" ")?Bn(t,e,r,i)+i:r}function Yn(t,e,i,n){if(!i||"none"===i){var r=Rr(e,t,1),s=r&&An(t,r,1);s&&s!==i?(e=r,i=s):"borderColor"===e&&(i=An(t,"borderTopColor"))}var o,u,a,h,f,c,l,v,d,p,g,m,w=new cn(this._pt,t.style,e,0,1,on),y=0,b=0;if(w.b=i,w.e=n,i+="","auto"==(n+="")&&(t.style[e]=n,n=An(t,e)||n,t.style[e]=i),ct(o=[i,n]),n=o[1],a=(i=o[0]).match(ri)||[],(n.match(ri)||[]).length){for(;u=ri.exec(n);)l=u[0],d=n.substring(y,u.index),f?f=(f+1)%5:"rgba("!==d.substr(-5)&&"hsla("!==d.substr(-5)||(f=1),l!==(c=a[b++]||"")&&(h=parseFloat(c)||0,g=c.substr((h+"").length),(m="="===l.charAt(1)?+(l.charAt(0)+"1"):0)&&(l=l.substr(2)),v=parseFloat(l),p=l.substr((v+"").length),y=ri.lastIndex-p.length,p||(p=p||Qt.units[e]||g,y===n.length&&(n+=p,w.e+=p)),g!==p&&(h=Bn(t,e,c,p)||0),w._pt={_next:w._pt,p:d||1===b?d:",",s:h,c:m?m*v:v-h,m:f&&f<4||"zIndex"===e?Math.round:0});w.c=y<n.length?n.substring(y,n.length):""}else w.r="display"===e&&"none"===n?xn:Mn;return si.test(n)&&(w.e=0),this._pt=w}function jn(t){var e=t.split(" "),i=e[0],n=e[1]||"50%";return"top"!==i&&"bottom"!==i&&"left"!==n&&"right"!==n||(t=i,i=n,n=t),e[0]=Tr[i]||i,e[1]=Tr[n]||n,e.join(" ")}function Nn(t,e){if(e.tween&&e.tween._time===e.tween._dur){var i,n,r,s=e.t,o=s.style,u=e.u,a=s._gsap;if("all"===u||!0===u)o.cssText="",n=1;else for(r=(u=u.split(",")).length;-1<--r;)i=u[r],Mr[i]&&(n=1,i="transformOrigin"===i?Ar:Fr),Dn(s,i);n&&(Dn(s,Fr),a&&(a.svg&&s.removeAttribute("transform"),Br(s,1),a.uncache=1))}}function Qn(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t}function Un(t){var e=An(t,Fr);return Qn(e)?Dr:e.substr(7).match(ni).map(x)}function Wn(t,e){var i,n,r,s,o=t._gsap||y(t),u=t.style,a=Un(t);return o.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(a=[(r=t.transform.baseVal.consolidate().matrix).a,r.b,r.c,r.d,r.e,r.f]).join(",")?Dr:a:(a!==Dr||t.offsetParent||t===Jn||o.svg||(r=u.display,u.display="block",(i=t.parentNode)&&t.offsetParent||(s=1,n=t.nextSibling,Jn.appendChild(t)),a=Un(t),r?u.display=r:Dn(t,"display"),s&&(n?i.insertBefore(t,n):i?i.appendChild(t):Jn.removeChild(t))),e&&6<a.length?[a[0],a[1],a[4],a[5],a[12],a[13]]:a)}function Zn(t,e,i,n,r,s){var o,u,a,h=t._gsap,f=r||Wn(t,!0),c=h.xOrigin||0,l=h.yOrigin||0,v=h.xOffset||0,d=h.yOffset||0,p=f[0],g=f[1],m=f[2],w=f[3],y=f[4],b=f[5],M=e.split(" "),x=parseFloat(M[0])||0,_=parseFloat(M[1])||0;i?f!==Dr&&(u=p*w-g*m)&&(a=x*(-g/u)+_*(p/u)-(p*b-g*y)/u,x=x*(w/u)+_*(-m/u)+(m*b-w*y)/u,_=a):(x=(o=Tn(t)).x+(~M[0].indexOf("%")?x/100*o.width:x),_=o.y+(~(M[1]||M[0]).indexOf("%")?_/100*o.height:_)),n||!1!==n&&h.smooth?(y=x-c,b=_-l,h.xOffset=v+(y*p+b*m)-y,h.yOffset=d+(y*g+b*w)-b):h.xOffset=h.yOffset=0,h.xOrigin=x,h.yOrigin=_,h.smooth=!!n,h.origin=e,h.originIsAbsolute=!!i,t.style[Ar]="0px 0px",s&&(Ln(s,h,"xOrigin",c,x),Ln(s,h,"yOrigin",l,_),Ln(s,h,"xOffset",v,h.xOffset),Ln(s,h,"yOffset",d,h.yOffset)),t.setAttribute("data-svg-origin",x+" "+_)}function Vn(t,e,i){var n=G(e);return x(parseFloat(e)+parseFloat(Bn(t,"x",i+"px",n)))+n}function qn(t,e,i,n,s,o){var u,a,h=360,f=r(s),c=parseFloat(s)*(f&&~s.indexOf("rad")?xr:1),l=o?c*o:c-n,v=n+l+"deg";return f&&("short"===(u=s.split("_")[1])&&(l%=h)!=l%180&&(l+=l<0?h:-h),"cw"===u&&l<0?l=(l+36e9)%h-~~(l/h)*h:"ccw"===u&&0<l&&(l=(l-36e9)%h-~~(l/h)*h)),t._pt=a=new cn(t._pt,e,i,n,l,wn),a.e=v,a.u="deg",t._props.push(i),a}function Gn(t,e){for(var i in e)t[i]=e[i];return t}function Hn(t,e,i){var n,r,s,o,u,a,h,f=Gn({},i._gsap),c=i.style;for(r in f.svg?(s=i.getAttribute("transform"),i.setAttribute("transform",""),c[Fr]=e,n=Br(i,1),Dn(i,Fr),i.setAttribute("transform",s)):(s=getComputedStyle(i)[Fr],c[Fr]=e,n=Br(i,1),c[Fr]=s),Mr)(s=f[r])!==(o=n[r])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(r)<0&&(u=G(s)!==(h=G(o))?Bn(i,r,s,h):parseFloat(s),a=parseFloat(o),t._pt=new cn(t._pt,n,r,u,a-u,mn),t._pt.u=h||0,t._props.push(r));Gn(n,f)}Hi.version=Ni.version=gn.version="3.6.1",_t=1,l()&&Ai();var $n,Jn,Kn,tr,ir,nr,rr=Ii.Power0,er=Ii.Power1,sr=Ii.Power2,or=Ii.Power3,ur=Ii.Power4,ar=Ii.Linear,hr=Ii.Quad,fr=Ii.Cubic,cr=Ii.Quart,lr=Ii.Quint,vr=Ii.Strong,dr=Ii.Elastic,pr=Ii.Back,gr=Ii.SteppedEase,mr=Ii.Bounce,wr=Ii.Sine,yr=Ii.Expo,br=Ii.Circ,Mr={},xr=180/Math.PI,_r=Math.PI/180,Or=Math.atan2,kr=/([A-Z])/g,Pr=/(?:left|right|width|margin|padding|x)/i,Sr=/[\s,\(]\S/,Cr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Fr="transform",Ar=Fr+"Origin",Ir="O,Moz,ms,Ms,Webkit".split(","),Rr=function(t,e,i){var n=(e||tr).style,r=5;if(t in n&&!i)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);r--&&!(Ir[r]+t in n););return r<0?null:(3===r?"ms":0<=r?Ir[r]:"")+t},Er={deg:1,rad:1,turn:1},Tr={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},zr={clearProps:function(t,e,i,n,r){if("isFromStart"!==r.data){var s=t._pt=new cn(t._pt,e,i,0,0,Nn);return s.u=n,s.pr=-10,s.tween=r,t._props.push(i),1}}},Dr=[1,0,0,1,0,0],Lr={},Br=function(t,e){var i=t._gsap||new Xi(t);if("x"in i&&!e&&!i.uncache)return i;var n,r,s,o,u,a,h,f,c,l,v,d,p,g,m,w,y,b,M,_,O,k,P,S,C,F,A,I,R,E,T,z,D=t.style,L=i.scaleX<0,B="deg",X=An(t,Ar)||"0";return n=r=s=a=h=f=c=l=v=0,o=u=1,i.svg=!(!t.getCTM||!zn(t)),g=Wn(t,i.svg),i.svg&&(S=!i.uncache&&!e&&t.getAttribute("data-svg-origin"),Zn(t,S||X,!!S||i.originIsAbsolute,!1!==i.smooth,g)),d=i.xOrigin||0,p=i.yOrigin||0,g!==Dr&&(b=g[0],M=g[1],_=g[2],O=g[3],n=k=g[4],r=P=g[5],6===g.length?(o=Math.sqrt(b*b+M*M),u=Math.sqrt(O*O+_*_),a=b||M?Or(M,b)*xr:0,(c=_||O?Or(_,O)*xr+a:0)&&(u*=Math.abs(Math.cos(c*_r))),i.svg&&(n-=d-(d*b+p*_),r-=p-(d*M+p*O))):(z=g[6],E=g[7],A=g[8],I=g[9],R=g[10],T=g[11],n=g[12],r=g[13],s=g[14],h=(m=Or(z,R))*xr,m&&(S=k*(w=Math.cos(-m))+A*(y=Math.sin(-m)),C=P*w+I*y,F=z*w+R*y,A=k*-y+A*w,I=P*-y+I*w,R=z*-y+R*w,T=E*-y+T*w,k=S,P=C,z=F),f=(m=Or(-_,R))*xr,m&&(w=Math.cos(-m),T=O*(y=Math.sin(-m))+T*w,b=S=b*w-A*y,M=C=M*w-I*y,_=F=_*w-R*y),a=(m=Or(M,b))*xr,m&&(S=b*(w=Math.cos(m))+M*(y=Math.sin(m)),C=k*w+P*y,M=M*w-b*y,P=P*w-k*y,b=S,k=C),h&&359.9<Math.abs(h)+Math.abs(a)&&(h=a=0,f=180-f),o=x(Math.sqrt(b*b+M*M+_*_)),u=x(Math.sqrt(P*P+z*z)),m=Or(k,P),c=2e-4<Math.abs(m)?m*xr:0,v=T?1/(T<0?-T:T):0),i.svg&&(S=t.getAttribute("transform"),i.forceCSS=t.setAttribute("transform","")||!Qn(An(t,Fr)),S&&t.setAttribute("transform",S))),90<Math.abs(c)&&Math.abs(c)<270&&(L?(o*=-1,c+=a<=0?180:-180,a+=a<=0?180:-180):(u*=-1,c+=c<=0?180:-180)),i.x=n-((i.xPercent=n&&(i.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-n)?-50:0)))?t.offsetWidth*i.xPercent/100:0)+"px",i.y=r-((i.yPercent=r&&(i.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-r)?-50:0)))?t.offsetHeight*i.yPercent/100:0)+"px",i.z=s+"px",i.scaleX=x(o),i.scaleY=x(u),i.rotation=x(a)+B,i.rotationX=x(h)+B,i.rotationY=x(f)+B,i.skewX=c+B,i.skewY=l+B,i.transformPerspective=v+"px",(i.zOrigin=parseFloat(X.split(" ")[2])||0)&&(D[Ar]=Xr(X)),i.xOffset=i.yOffset=0,i.force3D=Qt.force3D,i.renderTransform=i.svg?Wr:nr?Ur:Yr,i.uncache=0,i},Xr=function(t){return(t=t.split(" "))[0]+" "+t[1]},Yr=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Ur(t,e)},jr="0deg",Nr="0px",Qr=") ",Ur=function(t,e){var i=e||this,n=i.xPercent,r=i.yPercent,s=i.x,o=i.y,u=i.z,a=i.rotation,h=i.rotationY,f=i.rotationX,c=i.skewX,l=i.skewY,v=i.scaleX,d=i.scaleY,p=i.transformPerspective,g=i.force3D,m=i.target,w=i.zOrigin,y="",b="auto"===g&&t&&1!==t||!0===g;if(w&&(f!==jr||h!==jr)){var M,x=parseFloat(h)*_r,_=Math.sin(x),O=Math.cos(x);x=parseFloat(f)*_r,s=Vn(m,s,_*(M=Math.cos(x))*-w),o=Vn(m,o,-Math.sin(x)*-w),u=Vn(m,u,O*M*-w+w)}p!==Nr&&(y+="perspective("+p+Qr),(n||r)&&(y+="translate("+n+"%, "+r+"%) "),!b&&s===Nr&&o===Nr&&u===Nr||(y+=u!==Nr||b?"translate3d("+s+", "+o+", "+u+") ":"translate("+s+", "+o+Qr),a!==jr&&(y+="rotate("+a+Qr),h!==jr&&(y+="rotateY("+h+Qr),f!==jr&&(y+="rotateX("+f+Qr),c===jr&&l===jr||(y+="skew("+c+", "+l+Qr),1===v&&1===d||(y+="scale("+v+", "+d+Qr),m.style[Fr]=y||"translate(0, 0)"},Wr=function(t,e){var i,n,r,s,o,u=e||this,a=u.xPercent,h=u.yPercent,f=u.x,c=u.y,l=u.rotation,v=u.skewX,d=u.skewY,p=u.scaleX,g=u.scaleY,m=u.target,w=u.xOrigin,y=u.yOrigin,b=u.xOffset,M=u.yOffset,_=u.forceCSS,O=parseFloat(f),k=parseFloat(c);l=parseFloat(l),v=parseFloat(v),(d=parseFloat(d))&&(v+=d=parseFloat(d),l+=d),l||v?(l*=_r,v*=_r,i=Math.cos(l)*p,n=Math.sin(l)*p,r=Math.sin(l-v)*-g,s=Math.cos(l-v)*g,v&&(d*=_r,o=Math.tan(v-d),r*=o=Math.sqrt(1+o*o),s*=o,d&&(o=Math.tan(d),i*=o=Math.sqrt(1+o*o),n*=o)),i=x(i),n=x(n),r=x(r),s=x(s)):(i=p,s=g,n=r=0),(O&&!~(f+"").indexOf("px")||k&&!~(c+"").indexOf("px"))&&(O=Bn(m,"x",f,"px"),k=Bn(m,"y",c,"px")),(w||y||b||M)&&(O=x(O+w-(w*i+y*r)+b),k=x(k+y-(w*n+y*s)+M)),(a||h)&&(O=x(O+a/100*(o=m.getBBox()).width),k=x(k+h/100*o.height)),o="matrix("+i+","+n+","+r+","+s+","+O+","+k+")",m.setAttribute("transform",o),_&&(m.style[Fr]=o)};M("padding,margin,Width,Radius",(function(e,t){var i="Right",n="Bottom",r="Left",s=(t<3?["Top",i,n,r]:["Top"+r,"Top"+i,n+i,n+r]).map((function(i){return t<2?e+i:"border"+i+e}));zr[1<t?"border"+e:e]=function(e,t,i,n,r){var o,u;if(arguments.length<4)return o=s.map((function(t){return Xn(e,t,i)})),5===(u=o.join(" ")).split(o[0]).length?o[0]:u;o=(n+"").split(" "),u={},s.forEach((function(t,e){return u[t]=o[e]=o[e]||o[(e-1)/2|0]})),e.init(t,u,r)}}));var Zr,Vr,qr={name:"css",register:In,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,i,n,r){var s,o,u,a,h,f,c,l,v,d,g,m,w,y,b,M=this._props,x=t.style,_=i.vars.startAt;for(c in Kn||In(),e)if("autoRound"!==c&&(o=e[c],!li[c]||!Qi(c,e,i,n,t,r)))if(h=typeof o,f=zr[c],"function"===h&&(h=typeof(o=o.call(i,n,t,r))),"string"===h&&~o.indexOf("random(")&&(o=et(o)),f)f(this,t,c,o,i)&&(b=1);else if("--"===c.substr(0,2))s=(getComputedStyle(t).getPropertyValue(c)+"").trim(),o+="",Si.lastIndex=0,Si.test(s)||(l=G(s),v=G(o)),v?l!==v&&(s=Bn(t,c,s,v)+v):l&&(o+=l),this.add(x,"setProperty",s,o,n,r,0,0,c);else if("undefined"!==h){if(_&&c in _?(s="function"==typeof _[c]?_[c].call(i,n,t,r):_[c],c in Qt.units&&!G(s)&&(s+=Qt.units[c]),"="===(s+"").charAt(1)&&(s=Xn(t,c))):s=Xn(t,c),a=parseFloat(s),(d="string"===h&&"="===o.charAt(1)?+(o.charAt(0)+"1"):0)&&(o=o.substr(2)),u=parseFloat(o),c in Cr&&("autoAlpha"===c&&(1===a&&"hidden"===Xn(t,"visibility")&&u&&(a=0),Ln(this,x,"visibility",a?"inherit":"hidden",u?"inherit":"hidden",!u)),"scale"!==c&&"transform"!==c&&~(c=Cr[c]).indexOf(",")&&(c=c.split(",")[0])),g=c in Mr)if(m||((w=t._gsap).renderTransform&&!e.parseTransform||Br(t,e.parseTransform),y=!1!==e.smoothOrigin&&w.smooth,(m=this._pt=new cn(this._pt,x,Fr,0,1,w.renderTransform,w,0,-1)).dep=1),"scale"===c)this._pt=new cn(this._pt,w,"scaleY",w.scaleY,d?d*u:u-w.scaleY),M.push("scaleY",c),c+="X";else{if("transformOrigin"===c){o=jn(o),w.svg?Zn(t,o,0,y,0,this):((v=parseFloat(o.split(" ")[2])||0)!==w.zOrigin&&Ln(this,w,"zOrigin",w.zOrigin,v),Ln(this,x,c,Xr(s),Xr(o)));continue}if("svgOrigin"===c){Zn(t,o,1,y,0,this);continue}if(c in Lr){qn(this,w,c,a,o,d);continue}if("smoothOrigin"===c){Ln(this,w,"smooth",w.smooth,o);continue}if("force3D"===c){w[c]=o;continue}if("transform"===c){Hn(this,o,t);continue}}else c in x||(c=Rr(c)||c);if(g||(u||0===u)&&(a||0===a)&&!Sr.test(o)&&c in x)u=u||0,(l=(s+"").substr((a+"").length))!==(v=G(o)||(c in Qt.units?Qt.units[c]:l))&&(a=Bn(t,c,s,v)),this._pt=new cn(this._pt,g?w:x,c,a,d?d*u:u-a,g||"px"!==v&&"zIndex"!==c||!1===e.autoRound?mn:bn),this._pt.u=v||0,l!==v&&(this._pt.b=s,this._pt.r=yn);else if(c in x)Yn.call(this,t,c,s,o);else{if(!(c in t)){p(c,o);continue}this.add(t,c,t[c],o,n,r)}M.push(c)}b&&fn(this)},get:Xn,aliases:Cr,getSetter:function(t,e,i){var n=Cr[e];return n&&n.indexOf(",")<0&&(e=n),e in Mr&&e!==Ar&&(t._gsap.x||Xn(t,"x"))?i&&ir===i?"scale"===e?Pn:kn:(ir=i||{})&&("scale"===e?Sn:Cn):t.style&&!h(t.style[e])?_n:~e.indexOf("-")?On:rn(t,e)},core:{_removeProperty:Dn,_getMatrix:Wn}};gn.utils.checkPrefix=Rr,Vr=M("x,y,z,scale,scaleX,scaleY,xPercent,yPercent"+","+(Zr="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(t){Mr[t]=1})),M(Zr,(function(t){Qt.units[t]="deg",Lr[t]=1})),Cr[Vr[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+Zr,M("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(t){var e=t.split(":");Cr[e[1]]=Vr[e[0]]})),M("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){Qt.units[t]="px"})),gn.registerPlugin(qr);var Gr=gn.registerPlugin(qr)||gn,Hr=Gr.core.Tween;e.Back=pr,e.Bounce=mr,e.CSSPlugin=qr,e.Circ=br,e.Cubic=fr,e.Elastic=dr,e.Expo=yr,e.Linear=ar,e.Power0=rr,e.Power1=er,e.Power2=sr,e.Power3=or,e.Power4=ur,e.Quad=hr,e.Quart=cr,e.Quint=lr,e.Sine=wr,e.SteppedEase=gr,e.Strong=vr,e.TimelineLite=Ni,e.TimelineMax=Ni,e.TweenLite=Hi,e.TweenMax=Hr,e.default=Gr,e.gsap=Hr}({});var r=n.gsap;return i.GreenSockGlobals=t,h.J=r.timeline,h.l=r.ticker,h.K=r,h.K})),h.d("EASE","GSAP",(function(){var t=h.K,i={easeInQuad:"power1.in",easeOutQuad:"power1.out",easeInOutQuad:"power1.inOut",easeInCubic:"power2.in",easeOutCubic:"power2.out",easeInOutCubic:"power2.inOut",easeInQuart:"power3.in",easeOutQuart:"power3.out",easeInOutQuart:"power3.inOut",easeInQuint:"power4.in",easeOutQuint:"power4.out",easeInOutQuint:"power4.inOut",easeInSine:"sine.in",easeOutSine:"sine.out",easeInOutSine:"sine.inOut",easeInExpo:"expo.in",easeOutExpo:"expo.out",easeInOutExpo:"expo.inOut",easeInCirc:"circ.in",easeOutCirc:"circ.out",easeInOutCirc:"circ.inOut",easeInElastic:"elastic.in",easeOutElastic:"elastic.out",easeInOutElastic:"elastic.inOut",easeInBack:"back.in",easeOutBack:"back.out",easeInOutBack:"back.inOut",easeInBounce:"bounce.in",easeOutBounce:"bounce.out",easeInOutBounce:"bounce.inOut"};for(var n in i)t.registerEase(n,t.parseEase(i[n]))})),h.tt=function(t,i){i=i||0;var n=t.innerHTML,r=!1,s=!1,o="",u="",a="";function h(){o.length&&(a+="<ss-word>"+o+"</ss-word>",o="")}function f(){u.length&&(o+=i?"<ss-char>"+u+"</ss-char>":u,u="")}function c(){r&&(a=a.substring(0,r)+" "+a.substr(r),r=!1)}for(var l=0;l<n.length;l++){var v=n[l],d=n[l+1];if(s)a+=v,">"===v&&(s=!1);else if("<"!==v)if(/\s/.test(v))h(),!1===r&&(r=a.length);else{if(c(),u+=v,"&"===v){var p;p="#"===d?/[0-9]/:/[0-9a-zA-Z]/;for(var g,m="",w=1;g=n[l+w];){if(";"===g){m+=g;break}if(!p.exec(g)){m="";break}m+=g,w++}if(m){u+=m,l+=w,f();continue}}else if(u.length>1){if(65039===d.charCodeAt(0)){u+=d,u+=n[l+2],u+=n[l+3],u+=n[l+4],l+=4,f();continue}if(55356===d.charCodeAt(0)){u+=d,u+=n[l+2],l+=2,f();continue}}55296<=v.charCodeAt(0)&&v.charCodeAt(0)<=56319&&56320<=d.charCodeAt(0)&&d.charCodeAt(0)<=57343||f()}else"/"!==d?(c(),h(),r=!1):h(),s=!0,a+=v}return h(),t.innerHTML=a,{words:Array.from(t.querySelectorAll("ss-word")),chars:Array.from(t.querySelectorAll("ss-char")),revert:function(t,i){t.innerHTML=i}.bind(null,t,n)}},h.d("nextend-frontend"),h.d("n2")}(window);
// source --> https://itancia.com/wp-content/plugins/nextend-smart-slider3-pro/Public/SmartSlider3/Application/Frontend/Assets/dist/smartslider-frontend.min.js?ver=4e06d1a7 
(function(t){var i=t;i._N2=i._N2||{_r:[],_d:[],r:function(){this._r.push(arguments)},d:function(){this._d.push(arguments)}};var s=t.document,h=s.documentElement,n,o,r=t.setTimeout,a=t.clearTimeout,c=i._N2,u=t.requestAnimationFrame,f=function(t,i=null,h=null,n=null){const o=s.createElement(t);return i&&("string"==typeof i?j(o,i):G(o,i)),h&&k(o,h),n&&_(o,n),o},l=function(t,i,s,h,n){const o=f(i,s,h,n);return t&&t.appendChild(o),o},d=function(t,i,s,h,n){const o=f(t,s,h,n);return o.innerHTML=i,o},m=function(t,i,s,h,n,o){const r=l(t,i,h,n,o);return r.innerHTML=s,r},v=function(t,i,s){return f("div",t,i,s)},p=function(t,i,s,h){return l(t,"div",i,s,h)},b=function(t,i,s,h){return d("div",t,i,s,h)},y=function(t,i,s,h,n){return m(t,"div",i,s,h,n)},w=function(t,i,s,h,n){const o=f("a",s,h,n);return P(o,"href",i),o.innerHTML=t,o},g=function(t,i,s,h,n,o){const r=l(t,"a",h,n,o);return P(r,"href",s),r.innerHTML=i,r},S=Object.assign,I=function(t,i){for(var s=Object(t),h=1;h<arguments.length;h++){var n=arguments[h];if(null!==n&&n!==o)for(var r in n)null!==n[r]&&Object.prototype.hasOwnProperty.call(n,r)&&("object"==typeof n[r]&&(n[r].constructor===Object||Array.isArray(n[r]))?(Array.isArray(n[r])?s[r]=[]:("object"!=typeof s[r]||Array.isArray(s[r]))&&(s[r]={}),s[r]=I(s[r],n[r])):s[r]=n[r])}return s},A=function(t,i){return t.getAttribute(i)},P=function(t,i,s){t.setAttribute(i,s)},k=function(t,i){for(var s in i)P(t,s,i[s])},O=function(t,i){t.removeAttribute(i)},C=function(t,i,s){t.forEach((function(t){P(t,i,s)}))},x=function(t,i){t.forEach((function(t){k(t,i)}))},L=function(t,i){t.forEach((function(t){j(t,i)}))},M=function(t,i){t.forEach((function(t){X(t,i)}))},D=function(t,i){return t.dataset[i]},E=function(t,i,s){t.dataset[i]=s},_=function(t,i){for(let s in i)E(t,s,i[s])},R=function(t,i){delete t.dataset[i]},T=function(t,s){return i.getComputedStyle(t).getPropertyValue(s)},F=function(t,i,s){t.style.setProperty(i,s)},N=function(t,i){for(var s in i)F(t,s,i[s])},z=function(t,i){t.style.removeProperty(i)},W=function(t,i){i.forEach((function(i){z(t,i)}))},Y=function(t,i,s){t.forEach((function(t){F(t,i,s)}))},Z=function(t,i){t.forEach((function(t){N(t,i)}))},V=function(t,i){t.forEach((function(t){z(t,i)}))},B=function(t){t&&t.parentNode&&t.parentNode.removeChild(t)},U=function(t){t.forEach((function(t){B(t)}))},j=function(t,i){t.classList.add(i)},G=function(t,i){i.forEach((function(i){t.classList.add(i)}))},X=function(t,i){t.classList.remove(i)},H=function(t,i){i.forEach((function(i){t.classList.remove(i)}))},q=function(t,i,s){s?j(t,i):X(t,i)},Q=function(t,i){i.appendChild(t)},J=function(t,i){i.childNodes.length?tt(t,i.childNodes[0]):i.appendChild(t)},K=function(t,i){i.nextSibling?tt(t,i.nextSibling):i.parentNode.appendChild(t)},tt=function(t,i){i.parentNode.insertBefore(t,i)},it=function(t,i){return t.dispatchEvent(i)},st=function(t,i,s){return s=S({bubbles:!0,cancelable:!0},s),it(t,new Event(i,s))},ht=function(t,i){return it(t,new Event(i,{bubbles:!1,cancelable:!1}))},nt=function(t,i,s){return it(t,new CustomEvent(i,{bubbles:!1,cancelable:!1,detail:s}))},et=function(t,i,s,h){t.removeEventListener(i,s,h)},ot=function(t){t.forEach((function(t){t()})),t.splice(0,t.length)},rt=function(t,i,s,h){return h=h||{},t.addEventListener(i,s,h),t.removeEventListener.bind(t,i,s,h)},at=function(t,i,s,h){h=h||{},t.addEventListener(i,s,h)},ct=function(t,i,s){t.addEventListener(i,s,{once:!0})},ut=function(t,i,s){t.ssEvent&&t.ssEvent[i]&&t.ssEvent[i].forEach((function(t){t(s)}))},ft=function(t,i,s){t.ssEvent||(t.ssEvent={}),t.ssEvent[i]||(t.ssEvent[i]=[]),t.ssEvent[i].push(s)},lt=function(t,i,s){return ft(t,i,s),dt.bind(t,i,s)},dt=function(t,i){if(this.ssEvent&&this.ssEvent[t])for(var s=this.ssEvent[t],h=s.length-1;h>=0;h--)s[h]===i&&s.splice(h,1)},mt=function(){return h.scrollTop},vt=function(t){h.scrollTop=t},pt=function(){return h.scrollLeft},bt=function(t){return t.getBoundingClientRect().width},yt=function(t){return t.getBoundingClientRect().height},wt=function(t){return s.scrollingElement.scrollTop+t.getBoundingClientRect().top},gt=function(t){if("complete"===s.readyState||"interactive"===s.readyState)t();else if(Document&&Document.prototype&&Document.prototype.addEventListener&&Document.prototype.addEventListener!==s.addEventListener){const i=()=>{t(),t=()=>{}};s.addEventListener("DOMContentLoaded",i),s.addEventListener("readystatechange",(()=>{"complete"!==s.readyState&&"interactive"!==s.readyState||i()})),Document.prototype.addEventListener.call(s,"DOMContentLoaded",i)}else s.addEventListener("DOMContentLoaded",t)},St=function(t,i,s,h){if(Math.abs(t.scrollTop-i)<1)h&&h();else{s=Math.max(300,s||300);var n=t.scrollTop,o=i-n,r=performance.now(),a=function(i){var c=Math.min(1,(i-r)/s);c<.5?c*=2*c:c=(4-2*c)*c-1,t.scrollTop=n+c*o,c<1?requestAnimationFrame(a):h&&h()};a(r)}},It=function(t,i,h){var n=s.createElementNS("http://www.w3.org/2000/svg",t);return i&&(Pt(n,i),h&&h.appendChild(n)),n},At=function(t,i,s){t.setAttributeNS(null,i,s)},Pt=function(t,i){for(var s in i)At(t,s,i[s])},kt=function(t){return t.charAt(0).toUpperCase()+t.slice(1)},Ot=navigator.userAgent.indexOf("+http://www.google.com/bot.html")>-1?function(t){t()}:i.requestIdleCallback||function(t){return r(t,1)},Ct=i.cancelIdleCallback||function(t){a(t)},xt=function(t,i){i=(((i||"")+"").toLowerCase().match(/<[a-z][a-z0-9]*>/g)||[]).join("");return(t+"").replace(/<!--[\s\S]*?-->|<\?(?:php)?[\s\S]*?\?>/gi,"").replace(/<\/?([a-z][a-z0-9]*)\b[^>]*>/gi,(function(t,s){return i.indexOf("<"+s.toLowerCase()+">")>-1?t:""}))},Lt=function(t,i=""){return Mt(xt(t,"<a><span><sub><sup><em><i><var><cite><b><strong><small><bdo><br><img><picture><source><u><del><bdi><ins>"+i))},Mt=function(t){var i=new RegExp(["onclick","onfocus","ondrag","onmouse","onwheel","onscroll","ontouch","onload","onerror"].join("|"),"gi");return t.replace(i,"not-allowed")};function Dt(t){var i=s.getElementById(t);if(i&&i.sheet){var h,n=i.sheet;for(h=n.cssRules.length-1;h>=0;h--)n.cssRules[h].selectorText&&n.cssRules[h].selectorText.includes("div#n2-ss-")&&n.deleteRule(h)}}gt((function(){n=s.body})),c.d("SmartSliderBackgrounds",(function(){function t(t){this.device=null,this.slider=t,this.hasFixed=!1,this.lazyLoad=parseInt(t.parameters.lazyLoad),this.lazyLoadNeighbor=parseInt(t.parameters.lazyLoadNeighbor),this.promise=new Promise(function(t){this.resolve=t}.bind(this)),this.slider.stages.done("Resized",this.onResized.bind(this)),this.slider.stages.done("StarterSlide",this.onStarterSlide.bind(this))}return t.prototype.preLoad=function(t){Promise.all(t).then(this.resolve)},t.prototype.getBackgroundImages=function(){for(var t=[],i=0;i<this.slider.realSlides.length;i++)t.push(this.slider.realSlides[i].background);return t},t.prototype.onResized=function(){this.onSlideDeviceChanged(this.slider.responsive.getDeviceMode()),at(this.slider.sliderElement,"SliderDevice",function(e){this.onSlideDeviceChanged(e.detail.device)}.bind(this))},t.prototype.onStarterSlide=function(){1===this.lazyLoad?(this.preLoadSlides=this.preloadSlidesLazyNeighbor,this.preLoad(this.preLoadSlides(this.slider.getVisibleSlides(this.slider.currentSlide)))):2===this.lazyLoad?(this.preLoadSlides=this._preLoadSlides,this.slider.stages.done("SlidesReady",function(){c.r("windowLoad",this.preLoadAll.bind(this))}.bind(this)),this.preLoad(this.preLoadSlides(this.slider.getVisibleSlides(this.slider.currentSlide)))):(this.preLoadSlides=this._preLoadSlides,this.preLoad(this.preLoadAll())),at(this.slider.sliderElement,"visibleSlidesChanged",this.onVisibleSlidesChanged.bind(this))},t.prototype.onVisibleSlidesChanged=function(){1!==this.lazyLoad&&2!==this.lazyLoad||this.preLoadSlides(this.slider.getVisibleSlides())},t.prototype.onSlideDeviceChanged=function(t){this.device=t;for(var i=0;i<this.slider.visibleRealSlides.length;i++)this.slider.visibleRealSlides[i].background&&this.slider.visibleRealSlides[i].background.onSlideDeviceChanged(t)},t.prototype.preLoadAll=function(){for(var t=[],i=0;i<this.slider.visibleRealSlides.length;i++)t.push(this.slider.visibleRealSlides[i].preLoad());return t},t.prototype._preLoadSlides=function(t){for(var i=[],s=0;s<t.length;s++)i.push(t[s].preLoad());return i},t.prototype.preloadSlidesLazyNeighbor=function(t){var i=this._preLoadSlides(t);if(this.lazyLoadNeighbor)for(var s=0,h=t[0].getPrevious(),n=t[t.length-1].getNext();s<this.lazyLoadNeighbor;)h&&(i.push(h.preLoad()),h=h.getPrevious()),n&&(i.push(n.preLoad()),n=n.getNext()),s++;if(this.slider.stages.resolved("Visible"))for(var o=0;o<i.length;o++)this.slider.m.addPromise(i[o]);return i},t})),Dt("litespeed-optm-css-rules"),Dt("rocket-critical-css"),c.d("SmartSliderLoad",(function(){var t=performance.now();function s(t){this.slider=t}return s.prototype.start=function(){this.showSlider()},s.prototype.loadLayerImages=function(){var t=[];return this.slider.sliderElement.querySelectorAll(".n2-ss-layers-container").forEach((function(i){c.ImagesLoaded(i),t.push(c.ImagesLoaded(i))})),Promise.all(t)},s.prototype.showSlider=function(){this.slider.stages.done("ResizeFirst",this.stage1.bind(this))},s.prototype.stage1=function(){this.slider.responsive.isReadyToResize=!0,this.stage2()},s.prototype.stage2=function(){requestAnimationFrame(function(){this.slider.responsive.doResize(),this.slider.finalizeStarterSlide();var i=Promise.all([this.slider.backgrounds.promise,this.loadLayerImages(),this.slider.stages.get("Fonts").getPromise()]).finally(this.stage3.bind(this)),s=r(function(){this.slider.m.addPromise(i)}.bind(this),Math.max(1,this.slider.parameters.loadingTime-(performance.now()-t)));i.finally(a.bind(null,s))}.bind(this))},s.prototype.stage3=function(){this.slider.responsive.doResize(),requestAnimationFrame(function(){this.slider.initLayerAnimations(),this.slider.stages.resolve("LayerAnimations")}.bind(this)),this.slider.stages.done("LayerAnimations",this.stage4.bind(this))},s.prototype.stage4=function(){this.slider.stages.resolve("BeforeShow"),this.slider.widgets.onReady(),c.MW.U(function(){j(this.slider.responsive.alignElement,"n2-ss-align-visible"),j(this.slider.sliderElement,"n2-ss-loaded"),X(this.slider.sliderElement,"n2notransition"),requestAnimationFrame((function(){st(i,"scroll")})),Ot(this.slider.startVisibilityCheck.bind(this.slider),{timeout:2e3})}.bind(this)),this.slider.stages.resolve("Show")},s})),c.d("SmartSliderPlugins",(function(){function t(t){this.slider=t,this.plugins={}}t.prototype.add=function(t,i){this.plugins[t]=new i(this.slider)},t.prototype.get=function(t){return this.plugins[t]||!1};var i={},s=[];return{addPlugin:function(t,h){for(var n=0;n<s.length;n++)s[n].plugins.add(t,h);i[t]=h},addSlider:function(h){if(h.plugins===o)for(var n in h.plugins=new t(h),i)h.plugins.add(n,i[n]);s.push(h)}}})),c.d("ScrollTracker",(function(){function t(){this.started=!1,this.items=[],this.onScrollCallback=this.onScroll.bind(this)}return t.prototype.add=function(t,s,n,o){var r={el:t,mode:s,onVisible:n,onHide:o,state:"unknown"};this.items.push(r),this._onScroll(r,Math.max(h.clientHeight,i.innerHeight)),this.started||this.start()},t.prototype.start=function(){this.started||(i.addEventListener("scroll",this.onScrollCallback,{capture:!0,passive:!0}),this.started=!0)},t.prototype.onScroll=function(e){for(var t=Math.max(h.clientHeight,i.innerHeight),s=0;s<this.items.length;s++)this._onScroll(this.items[s],t)},t.prototype._onScroll=function(t,i){var s=t.el.closest(".n2-section-smartslider").getBoundingClientRect(),h=s.height>.7*i,n=!0;"partly-visible"===t.mode?(h&&(s.bottom<0||s.top>=s.height)||!h&&(s.bottom-s.height<0||s.top-i+s.height>=0))&&(n=!1):"not-visible"===t.mode&&(n=s.top-i<0&&s.top+s.height>0),!1===n?"hidden"!==t.state&&("function"==typeof t.onHide&&t.onHide(),t.state="hidden"):"visible"!==t.state&&("function"==typeof t.onVisible&&t.onVisible(),t.state="visible")},new t})),c.d("SmartSliderApi",(function(){function t(){this.sliders={},this.readys={},this.eventListeners={}}t.prototype.makeReady=function(t,i){if(this.sliders[t]=i,this.readys[t]!==o)for(var s=0;s<this.readys[t].length;s++)this.readys[t][s].call(i,i,i.sliderElement)},t.prototype.ready=function(t,i){this.sliders[t]!==o?i.call(this.sliders[t],this.sliders[t],this.sliders[t].sliderElement):(this.readys[t]===o&&(this.readys[t]=[]),this.readys[t].push(i))},t.prototype.on=function(t,i){this.eventListeners[t]===o&&(this.eventListeners[t]=[]),this.eventListeners[t].push(i)},t.prototype.off=function(t,i){if(this.eventListeners[t]!==o)for(var s=this.eventListeners[t].length-1;s>=0;s--)this.eventListeners[t][s]===i&&this.eventListeners[t].splice(s,1)},t.prototype.dispatch=function(t,i){if(this.eventListeners[t]!==o&&this.eventListeners[t].length)for(var s=this.eventListeners[t].length-1;s>=0;s--)this.eventListeners[t][s]&&this.eventListeners[t][s].call(i,i)},t.prototype.trigger=function(t,i,e){e&&e.preventDefault();var s=i.split(","),h=t.closest(".n2-ss-slide,.n2-ss-static-slide"),n=h.ssLastEvent;t.ssResetEvents||(t.ssResetEvents=1,at(h,"layerAnimationPlayIn",function(t){t.ssLastEvent=""}.bind(this,h)));for(var o=s.length-1,r=0;r<s.length;r++)s[r]===n&&(o=r);i=o===s.length-1?s[0]:s[o+1],h.ssLastEvent=i,ht(h,"ss"+i)},t.prototype.applyAction=function(e,t){if(this.isClickAllowed(e)){var i=e.currentTarget,s=this.findSliderByElement(i);s[t].apply(s,Array.prototype.slice.call(arguments,2))}},t.prototype.applyActionWithClick=function(e){this.isClickAllowed(e)&&(c._shouldPreventClick||(e.preventDefault(),this.applyAction.apply(this,arguments)))},t.prototype.isClickAllowed=function(e){var t=e.target.closest('a:not([href="#"]), *[onclick]:not([onclick=""]), *[data-n2click]:not([data-n2click=""]), *[data-n2-lightbox]');return!t||e.currentTarget===t||!e.currentTarget.contains(t)},t.prototype.openUrl=function(e,t){if(this.isClickAllowed(e)){var s=D(e.currentTarget,"href");if(t===o&&(t=D(e.currentTarget,"target")),"_blank"===t){var h=i.open();h.opener=null,h.location=s}else n2const.setLocation(s)}},t.prototype.openUrlKeyDown=function(e,t){"Enter"!==e.code&&"Space"!==e.code||!e.target.matches(":not(input,select,textarea)")||this.openUrl(e,t)};var r={focusOffsetTop:0,to:function(t){var n=s.querySelector("html, body, .n2_iframe_application__content");"smooth"===T(h,"scroll-behavior")?n.scrollTop=t:St(n,t,i.n2ScrollSpeed||400)},top:function(){r.to(0)},bottom:function(){r.to(n.scrollHeight-i.innerHeight)},before:function(t){r.to(wt(t)-i.innerHeight)},after:function(t){r.to(wt(t)+yt(t)-r.focusOffsetTop)},next:function(t,i){var h=s.querySelectorAll(i),n=-1;h.forEach((function(i,s){if(t===i||i.contains(t))return n=s+1,!1})),-1!==n&&n<=h.length&&r.element(h[n])},previous:function(t,i){var h=s.querySelectorAll(i),n=-1;h.forEach((function(i,s){if(t===i||i.contains(t))return n=s-1,!1})),n>=0&&r.element(h[n])},element:function(t){"string"==typeof t&&(t=s.querySelector(t)),r.to(wt(t)-r.focusOffsetTop)}};return t.prototype.scroll=function(e,t){if(this.isClickAllowed(e)){e.preventDefault();var s=this.findSliderByElement(e.target);s&&(r.focusOffsetTop=s.responsive.focusOffsetTop,e.currentTarget.blur()),r[t].apply(i,Array.prototype.slice.call(arguments,2))}},t.prototype.findSliderByElement=function(t){return(t=t.closest(".n2-ss-slider"))?t.ss:null},i.n2ss=new t,i.n2ss})),c.d("SmartSliderAbstract",(function(){function t(s,h){if(this.editor=null,this.elementID=s,i[s]&&i[s]instanceof t)if(i[s].__sliderElement&&!n.contains(i[s].__sliderElement));else{if(i[s].sliderElement===o)return void console.error("Slider [#"+s+"] inited multiple times");if(n.contains(i[s].sliderElement))return void console.error("Slider [#"+s+"] embedded multiple times")}this.stages=new c.Stages,c.d("#"+s,function(){return this}.bind(this)),this.isAdmin=!!h.admin,c.SmartSliderPlugins.addSlider(this),this.id=parseInt(s.replace("n2-ss-","")),i[s]=this,h.isDelayed!==o&&h.isDelayed?gt(function(){this.waitForExists(s,h)}.bind(this)):this.waitForExists(s,h)}t.prototype.kill=function(){this.killed=!0;var t=this.sliderElement.closest(".n2-ss-margin");t?B(t):c.r("documentReady",function(){B(this.sliderElement.closest(".n2-ss-margin"))}.bind(this));var i=this.sliderElement.closest(".n2-ss-align");i?B(i):c.r("documentReady",function(){B(this.sliderElement.closest(".n2-ss-align"))}.bind(this)),n2ss.makeReady(this.id,this)},t.prototype.waitForExists=function(t,i){new Promise((function(i){var h=function(){var n=s.getElementById(t)||s.getElementById(t+"_t");n?i(n):r(h,500)};h()})).then(this.onSliderExists.bind(this,t,i))};var u=[];function f(t,s){if(i.IntersectionObserver)new IntersectionObserver(function(t,i){for(var h=0;h<t.length;h++){t[h].isIntersecting&&(s(),i.disconnect())}}.bind(this),{rootMargin:"200px 0px 200px 0px"}).observe(t);else if(u.push({element:t,callback:s}),1===u.length){var h=[],n=function(){for(var t=1.4*i.innerHeight,s=0;s<u.length;s++)if(u[s].element.getBoundingClientRect().y<t){var o=u[s].callback;u.splice(s,1),s--,o()}0===u.length&&(ot(h),c.SmartSliderApi.off("SliderResize",n))};h.push(rt(i,"resize",n,{capture:!0})),h.push(rt(i,"scroll",n,{capture:!0,passive:!0})),c.SmartSliderApi.on("SliderResize",n),n()}}return t.prototype.onSliderExists=function(t,s,h){if(this.__sliderElement=h,this.v=h.closest(".n2-section-smartslider"),this.m=this.v.querySelector("ss3-loader"),this.stages.resolve("Exists"),"TEMPLATE"===h.tagName){var n=h.parentNode;n.removeChild(h);var o=D(h,"loadingType"),a=h.content.children[0],u=function(){n.appendChild(a),z(this.v,"height"),this.waitForDimension(a,s),nt(i,"n2Rocket",{sliderElement:a})}.bind(this);"afterOnLoad"===o?c.r("windowLoad",f.bind(this,this.v,u)):"afterDelay"===o?r(u,D(h,"loadingDelay")):u()}else this.waitForDimension(h,s)},t.prototype.waitForDimension=function(t,i){n2const.isRTL()&&N(t,{"--ss-fs":"flex-end","--ss-fe":"flex-start","--ss-r":"row-reverse","--ss-rr":"row"});var s=new ResizeObserver(function(){s.disconnect(),this.onSliderHasDimension(t,i)}.bind(this));s.observe(t)},t.prototype.onSliderHasDimension=function(t,i){this.stages.resolve("HasDimension"),this.killed=!1,this.isVisible=!0,this.responsive=!1,this.mainAnimationLastChangeTime=0,this.currentSlide=null,this.currentRealSlide=null,this.staticSlides=[],this.slides=[],this.visibleRealSlides=[],this.visibleSlides=[],t.ss=this,this.sliderElement=t,this.needBackgroundWrap=!1,this.blockCarousel=!1,this.parameters=S({plugins:[],admin:!1,playWhenVisible:1,playWhenVisibleAt:.5,perspective:1e3,callbacks:"",autoplay:{},blockrightclick:!1,maintainSession:0,align:"normal",controls:{touch:"horizontal",keyboard:!1,mousewheel:!1,blockCarouselInteraction:1},hardwareAcceleration:!0,layerMode:{playOnce:0,playFirstLayer:1,mode:"skippable",inAnimation:"mainInEnd"},parallax:{enabled:0,mobile:0,horizontal:"mouse",vertical:"mouse",origin:"enter"},mainanimation:{},randomize:{randomize:0,randomizeFirst:0},responsive:{},lazyload:{enabled:0},postBackgroundAnimations:!1,initCallbacks:!1,titles:[],descriptions:[],alias:{id:0,smoothScroll:0,slideSwitch:0}},i),this.stages.resolve("Parameters"),this.disabled={layerAnimations:!1,layerSplitTextAnimations:!1,backgroundAnimations:!1,postBackgroundAnimations:!1},n2const.isSamsungBrowser&&(this.disabled.layerSplitTextAnimations=!0,this.disabled.postBackgroundAnimations=!0,this.parameters.postBackgroundAnimations&&X(this.sliderElement,"n2-ss-feature-post-bg-loader"));try{eval(this.parameters.callbacks)}catch(t){console.error(t)}n2ss.makeReady(this.id,this),this.isAdmin&&(this.changeTo=function(){}),this.load=new c.SmartSliderLoad(this),this.backgrounds=new c.SmartSliderBackgrounds(this),this.initSlides(),"function"==typeof this.parameters.initCallbacks&&this.parameters.initCallbacks.call(this),this.stages.done("VisibleSlides",this.onSlidesReady.bind(this)),requestAnimationFrame(this.initUI.bind(this))},t.prototype.onSlidesReady=function(){this.stages.resolve("SlidesReady")},t.prototype.initUI=function(){for(var t=0;t<this.realSlides.length;t++)this.realSlides[t].setNext(this.realSlides[t+1>this.realSlides.length-1?0:t+1]);this.widgets=new c.SmartSliderWidgets(this);var s;if(new c.UniversalEnter(this.sliderElement,function(e){e.target.closest(".n2-full-screen-widget")||(a(s),!0,j(this.sliderElement,"n2-hover"),this.widgets.setState("hover",!0),ct(this.sliderElement,"universalleave",function(e){e.stopPropagation(),s=r(function(){!1,X(this.sliderElement,"n2-hover"),this.widgets.setState("hover",!1)}.bind(this),1e3)}.bind(this)))}.bind(this)),this.parameters.carousel||this.initNotCarousel(),this.initHideArrow(),this.controls={},this.initMainAnimationWithLayerAnimation(),n2Slow||this.isAdmin||!this.parameters.parallax.enabled||!this.parameters.parallax.mobile&&(this.parameters.parallax.mobile||n2const.isMobile)||this.ready(function(){this.parallax=new c.LayerParallax(this,this.parameters.parallax),this.parallax.start(this.currentSlide),at(this.sliderElement,"SlideWillChange",function(e){this.parallax.start(e.detail.targetSlide.slides[0])}.bind(this))}.bind(this)),this.parameters.blockrightclick&&at(this.sliderElement,"contextmenu",(function(e){e.preventDefault()})),this.initMainAnimation(),this.initResponsiveMode(),!this.killed){if(at(this.sliderElement,"touchstart",function(){X(this.sliderElement,"n2-has-hover")}.bind(this),{passive:!0,once:!0}),this.initControls(),this.stages.resolve("UIReady"),!this.isAdmin){var h="click";this.hasTouch()&&(h="n2click"),this.sliderElement.querySelectorAll('[data-n2click="url"]').forEach((function(t){at(t,h,(function(e){n2ss.openUrl(e)})),at(t,"mousedown",(function(e){1===e.button&&(e.preventDefault(),n2ss.openUrl(e,"_blank"))})),at(t,"keydown",(function(e){n2ss.openUrlKeyDown(e)}))}))}this.load.start(),at(this.sliderElement,"keydown",(function(t){"Space"!==t.code&&"Enter"!==t.code||t.target.matches('[role="button"],[tabindex]')&&t.target.matches(":not(a,input,select,textarea)")&&(t.preventDefault(),t.target.click(),ht(t.target,"n2Activate"))})),at(this.sliderElement,"mouseleave",(function(e){e.currentTarget.blur()})),i.jQuery&&i.jQuery(this.sliderElement).find("[tabindex]").off("focus")}},t.prototype.initSlides=function(){var t,i=this.sliderElement.querySelectorAll(".n2-ss-slide");for(t=0;t<i.length;t++)this.slides.push(this.createSlide(i[t],t));for(t=0;t<this.slides.length;t++)this.slides[t].init(),1==+D(this.slides[t].element,"first")&&(this.originalRealStarterSlide=this.slides[t]);this.realSlides=this.slides,this.visibleSlides=this.slides,this.initSlidesEnd()},t.prototype.initSlidesEnd=function(){this.afterRawSlidesReady(),this.stages.resolve("RawSlides"),this.randomize(this.realSlides),this.stages.resolve("RawSlidesOrdered"),this.p()},t.prototype.p=function(){for(var t=this.sliderElement.querySelectorAll(".n2-ss-static-slide"),i=0;i<t.length;i++)this.staticSlides.push(new c.FrontendSliderStaticSlide(this,t[i]))},t.prototype.createSlide=function(t,i){return new c.FrontendSliderSlide(this,t,i)},t.prototype.afterRawSlidesReady=function(){},t.prototype.h=function(t,i){nt(this.sliderElement,t,i)},t.prototype.publicDispatchEvent=function(t,i){this.h(t,i),c.SmartSliderApi.dispatch(t,this)},t.prototype.getVisibleSlides=function(t){return t===o&&(t=this.currentSlide),[t]},t.prototype.getActiveSlides=function(t){return this.getVisibleSlides(t)},t.prototype.findSlideBackground=function(t){return this.sliderElement.querySelector('.n2-ss-slide-background[data-public-id="'+D(t.element,"slidePublicId")+'"]')},t.prototype.getRealIndex=function(t){return t},t.prototype.finalizeStarterSlide=function(){var t=this.originalRealStarterSlide;if(this.isAdmin)this.finalizeStarterSlideComplete(t);else if(this.parameters.randomize.randomizeFirst)t=this.visibleRealSlides[Math.floor(Math.random()*this.visibleRealSlides.length)],this.finalizeStarterSlideComplete(t);else if(i["ss"+this.id]!==o)"object"==typeof i["ss"+this.id]?i["ss"+this.id].done(this.overrideStarterSlideIndex.bind(this)):this.overrideStarterSlideIndex(i["ss"+this.id]);else if(!this.isAdmin&&this.parameters.maintainSession&&i.localStorage!==o){var s=i.localStorage.getItem("ss-"+this.id);this.overrideStarterSlideIndex(s),at(this.sliderElement,"mainAnimationComplete",function(e){i.localStorage.setItem("ss-"+this.id,e.detail.currentSlideIndex)}.bind(this))}else this.finalizeStarterSlideComplete(t)},t.prototype.overrideStarterSlideIndex=function(t){var i;null!==t&&this.realSlides[t]&&(i=this.realSlides[t]),this.finalizeStarterSlideComplete(i)},t.prototype.finalizeStarterSlideComplete=function(t){t!==o&&t.isVisible||(t=this.visibleRealSlides[0]),t!==o?this.finalizeStarterSlideComplete2(t):(this.hide(),ct(this.sliderElement,"SliderResize",function(){this.finalizeStarterSlideComplete(t)}.bind(this)))},t.prototype.finalizeStarterSlideComplete2=function(t){t!==this.originalRealStarterSlide&&this.originalRealStarterSlide!==o&&this.originalRealStarterSlide.unsetActive(),this.responsive.onStarterSlide(t),this.stages.resolve("StarterSlide")},t.prototype.randomize=function(t){this.parameters.randomize.randomize&&this.shuffleSlides(t)},t.prototype.shuffleSlides=function(t){t.sort((function(){return.5-Math.random()}));for(var i=t[0].element.parentNode,s=0;s<t.length;s++)i.appendChild(t[s].element),t[s].setIndex(s)},t.prototype.started=function(t){this.stages.done("UIReady",t.bind(this))},t.prototype.ready=function(t){this.stages.done("Show",t.bind(this))},t.prototype.startVisibilityCheck=function(){if(!this.isAdmin&&this.parameters.playWhenVisible&&i.IntersectionObserver){var t=this.parameters.playWhenVisibleAt,s=t/2,h=1-t/2,n=new IntersectionObserver(function(t){t[0].isIntersecting&&this._markVisible()}.bind(this),{rootMargin:-50*t+"% 0px"});n.observe(this.sliderElement);var o=new IntersectionObserver(function(t){t[0].isIntersecting&&this._markVisible()}.bind(this),{threshold:[s,h]});o.observe(this.sliderElement),this.it=[n.disconnect.bind(n),o.disconnect.bind(o),rt(this.sliderElement,"pointerover",this._markVisible.bind(this))]}else this.stages.resolve("Visible")},t.prototype._markVisible=function(){this.it&&ot(this.it),this.stages.resolve("Visible")},t.prototype.visible=function(t){this.stages.done("Visible",t.bind(this))},t.prototype.isPlaying=function(){return"ended"!==this.mainAnimation.getState()},t.prototype.focus=function(t){var s=!1;if(this.responsive.parameters.focusUser&&!t&&(s=!0),s){var h=mt(),n=this.responsive.focusOffsetTop,o=this.responsive.focusOffsetBottom,r=i.innerHeight,a=this.sliderElement.getBoundingClientRect(),c=a.top-n,u=r-a.bottom-o,f=this.responsive.parameters.focusEdge,l="";"top-force"===f?l="top":"bottom-force"===f?l="bottom":c<=0&&u<=0||c>0&&u>0||(c<0?l="top"===f?"top":"bottom"===f?"bottom":-c<=u?"top":"bottom":u<0&&(l="top"===f?"top":"bottom"===f||-u<=c?"bottom":"top"));var d=h;if("top"===l?d=h-n+a.top:"bottom"===l&&(d=h+o+a.bottom-r),(d=Math.round(d))!==h)return this._scrollTo(d,Math.abs(h-d))}return!0},t.prototype._scrollTo=function(t,n){var o=!1;return"smooth"===T(h,"scroll-behavior")&&(F(h,"scroll-behavior",""),o=!0),i.nextendScrollFocus=!0,new Promise((function(i){St(s.scrollingElement,t,n,i)})).then((function(){o&&F(h,"scroll-behavior","smooth"),i.nextendScrollFocus=!1}))},t.prototype.isChangeCarousel=function(t){return"next"===t?this.currentSlide.index+1>=this.slides.length:"previous"===t&&this.currentSlide.index-1<0},t.prototype.initNotCarousel=function(){this.realSlides[0].setPrevious(!1),this.realSlides[this.realSlides.length-1].setNext(!1)},t.prototype.initHideArrow=function(){var t=function(t){this.widgets.setState("nonCarouselFirst",!this.getUIPreviousSlide(t)),this.widgets.setState("nonCarouselLast",!this.getUINextSlide(t))}.bind(this);this.stages.done("StarterSlide",function(){t(this.currentSlide),at(this.sliderElement,"SliderResize",function(){t(this.currentSlide)}.bind(this))}.bind(this)),at(this.sliderElement,"SlideWillChange",(function(e){t(e.detail.targetSlide)}))},t.prototype.next=function(t,i){var s=this.currentSlide.getNext();return!(!s||!this.getUINextSlide(this.currentSlide))&&this.changeTo(s.index,!1,t,i)},t.prototype.previous=function(t,i){var s=this.getUIPreviousSlide(this.currentSlide);return!!s&&this.changeTo(s.index,!0,t,i)},t.prototype.isChangePossible=function(t){var i=!1;if("next"===t){var s=this.currentSlide.getNext();s&&(i=s.index)}else if("previous"===t){var h=this.currentSlide.getPrevious();h&&(i=h.index)}return!1!==i&&i!==this.currentSlide.index},t.prototype.nextCarousel=function(t,i){return this.parameters.carousel?!!this.next(t,i)||this.changeTo(this.getFirstSlide().index,!1,t,i):this.next(t,i)},t.prototype.getFirstSlide=function(){return this.slides[0].isVisible?this.slides[0]:this.slides[0].getNext()},t.prototype.getSlideCount=function(){for(var t=0,i=0;i<this.slides.length;i++)this.slides[i].isVisible&&t++;return t},t.prototype.directionalChangeToReal=function(t){this.directionalChangeTo(t)},t.prototype.directionalChangeTo=function(t){t>this.currentSlide.index?this.changeTo(t,!1):this.changeTo(t,!0)},t.prototype.changeTo=function(t,i,s,h){if((t=parseInt(t))!==this.currentSlide.index){if(!this.slides[t].isVisible)return console.error("this slide is not visible on this device"),!1;this.h("SlideWillChange",{targetSlide:this.slides[t]}),this.h("SlideLoading");var n=performance.now();return Promise.all([Promise.all(this.backgrounds.preLoadSlides(this.getVisibleSlides(this.slides[t]))),this.focus(s)]).then(function(){if(t!==this.currentSlide.index){if(this.mainAnimationLastChangeTime<n){this.mainAnimationLastChangeTime=n;var r=this.mainAnimation.getState();if("ended"===r){s===o&&(s=!1);var a=this.mainAnimation;h!==o&&(a=h),this._changeTo(t,i,s,h),a.changeTo(this.currentSlide,this.slides[t],i,s),this._changeCurrentSlide(t)}else"initAnimation"!==r&&"playing"!==r||(this.__fastChangeRemoveCallback&&this.__fastChangeRemoveCallback(),this.__fastChangeRemoveCallback=rt(this.sliderElement,"mainAnimationComplete",function(){this.changeTo.call(this,t,i,s,h)}.bind(this),{once:!0}),this.mainAnimation.timeScale(2*this.mainAnimation.timeScale()))}this.h("SlideLoaded")}}.bind(this)),!0}return!1},t.prototype.setCurrentRealSlide=function(t){this.currentRealSlide=this.currentSlide=t},t.prototype._changeCurrentSlide=function(t){this.setCurrentRealSlide(this.slides[t]),this.h("sliderChangeCurrentSlide")},t.prototype._changeTo=function(t,i,s,h){},t.prototype.revertTo=function(t,i){this.slides[i].unsetActive(),this.slides[t].setActive(),this._changeCurrentSlide(t),this.h("SlideWillChange",{targetSlide:this.slides[t]})},t.prototype.forceSetActiveSlide=function(t){t.setActive()},t.prototype.forceUnsetActiveSlide=function(t){t.unsetActive()},t.prototype.updateInsideSlides=function(t){for(var i=0;i<this.slides.length;i++)this.slides[i].setInside(t.indexOf(this.slides[i])>=0)},t.prototype.playSlide=function(t){t.playIn()},t.prototype.initMainAnimationWithLayerAnimation=function(){"forced"===this.parameters.layerMode.mode&&at(this.sliderElement,"preChangeToPlay",function(e){var t=e.detail.currentSlide;e.detail.resolveHandled.handled=!0,ct(t.element,"layerAnimationCompleteOut",e.detail.resolve),t.playOut()}.bind(this)),at(this.sliderElement,"mainAnimationStart",this.onMainAnimationStartSyncLayers.bind(this,this.parameters.layerMode)),at(this.sliderElement,"reverseModeEnabled",this.onMainAnimationStartSyncLayersReverse.bind(this,this.parameters.layerMode))},t.prototype.onMainAnimationStartSyncLayers=function(t,e){var i=this.slides[e.detail.currentSlideIndex],s=[],h=function(){ot(s)};"mainInStart"===t.inAnimation?s.push(rt(i.element,"mainAnimationStartIn",function(){h(),this.playSlide(i)}.bind(this))):"mainInEnd"===t.inAnimation&&s.push(rt(i.element,"mainAnimationCompleteIn",function(){h(),this.playSlide(i)}.bind(this))),s.push(rt(i.element,"mainAnimationStartInCancel",h))},t.prototype.onMainAnimationStartSyncLayersReverse=function(t,e){var i=this.slides[e.detail.reverseSlideIndex],s=[],h=function(){ot(s)};"mainInStart"===t.inAnimation?s.push(rt(i.element,"mainAnimationStartIn",function(){h(),this.playSlide(i)}.bind(this))):"mainInEnd"===t.inAnimation&&s.push(rt(i.element,"mainAnimationCompleteIn",function(){h(),this.playSlide(i)}.bind(this))),s.push(rt(this.sliderElement,"mainAnimationComplete",h))},t.prototype.findSlideByElement=function(t){var i;for(i=0;i<this.realSlides.length;i++)if(this.realSlides[i].element.contains(t))return this.realSlides[i];for(i=0;i<this.staticSlides.length;i++)if(this.staticSlides[i].element.contains(t))return this.staticSlides[i];return null},t.prototype.findSlideIndexByElement=function(t){var i=this.findSlideByElement(t);return i||-1},t.prototype.initMainAnimation=function(){this.mainAnimation=!1},t.prototype.initResponsiveMode=function(){},t.prototype.hasTouch=function(){return"0"!=this.parameters.controls.touch},t.prototype.initControls=function(){if(!this.parameters.admin){if(this.hasTouch())switch(this.parameters.controls.touch){case"vertical":new c.SmartSliderControlTouchVertical(this);break;case"horizontal":new c.SmartSliderControlTouchHorizontal(this)}this.parameters.controls.keyboard&&(this.controls.touch!==o?new c.SmartSliderControlKeyboard(this,this.controls.touch.axis):new c.SmartSliderControlKeyboard(this,"horizontal")),this.parameters.controls.mousewheel&&new c.SmartSliderControlMouseWheel(this,this.parameters.controls.mousewheel),this.controlAutoplay=new c.SmartSliderControlAutoplay(this,this.parameters.autoplay),c.SmartSliderControlFullscreen.isSupported&&(this.controlFullscreen=new c.SmartSliderControlFullscreen(this)),this.parameters.alias.id&&new c.SmartSliderControlAlias(this,this.parameters.alias)}},t.prototype.getSlideIndex=function(t){return t},t.prototype.slideToID=function(t,i,h){for(var n=0;n<this.realSlides.length;n++)if(+this.realSlides[n].id===t)return this.slide(this.getSlideIndex(n),i,h);var o=s.querySelector('[data-id="'+t+'"]');if(o&&(o=o.closest(".n2-ss-slider")),o)return this.id===o.ss.id||(St(s.scrollingElement,wt(o),400),o.ss.slideToID(t,i,!0))},t.prototype.slide=function(t,i,s){return t>=0&&t<this.slides.length&&(i===o?this.parameters.carousel&&this.currentSlide.index===this.slides.length-1&&0===t?this.next(s):this.currentSlide.index>t?this.changeTo(t,!0,s):this.changeTo(t,!1,s):this.changeTo(t,!i,s))},t.prototype.hide=function(){this.isVisible&&(j(this.responsive.alignElement,"n2-ss-slider-has-no-slide"),this.load.placeholder&&j(this.load.placeholder,"n2-ss-slider-has-no-slide"),this.isVisible=!1)},t.prototype.show=function(){this.isVisible||(j(this.responsive.alignElement,"n2-ss-slider-has-no-slide"),this.load.placeholder&&X(this.load.placeholder,"n2-ss-slider-has-no-slide"),st(i,"scroll"),this.isVisible=!0)},t.prototype.startAutoplay=function(){return this.controlAutoplay!==o&&(this.controlAutoplay.setState("pausedSecondary",0),!0)},t.prototype.pauseAutoplay=function(){return this.controlAutoplay!==o&&(this.controlAutoplay.setState("pausedSecondary",1),!0)},t.prototype.initLayerAnimations=function(){for(var t=0;t<this.staticSlides.length;t++)this.staticSlides[t].initLayerAnimations();for(var i=0;i<this.realSlides.length;i++)this.realSlides[i].initLayerAnimations();at(this.sliderElement,"SliderDeviceOrientation",this._deviceSlides.bind(this)),at(this.sliderElement,"SliderResize",this._resizeSlides.bind(this)),this.isAdmin||(this.parameters.layerMode.playFirstLayer||this.currentSlide.playSpecialEventOnlySetToZero(),this.visible(function(){this.parameters.layerMode.playFirstLayer?this.currentSlide.playIn():this.currentSlide.playSpecialEventOnly()}.bind(this)))},t.prototype._deviceSlides=function(e){for(var t=e.detail.device,i=0;i<this.staticSlides.length;i++)this.staticSlides[i].setDevice(t);for(var s=0;s<this.realSlides.length;s++)this.realSlides[s].setDevice(t)},t.prototype._resizeSlides=function(e){for(var t=e.detail.ratios,i=0;i<this.staticSlides.length;i++)this.staticSlides[i].resize(t);for(var s=0;s<this.realSlides.length;s++)this.realSlides[s].resize(t)},t.prototype.getSlideBackgroundContainer=function(){},t.prototype.getPerspective=function(){return this.parameters.perspective},t.prototype.getAnimationAxis=function(){return"horizontal"},t.prototype.getDirectionPrevious=function(){return n2const.isRTL()&&"horizontal"===this.getAnimationAxis()?"next":"previous"},t.prototype.getDirectionNext=function(){return n2const.isRTL()&&"horizontal"===this.getAnimationAxis()?"previous":"next"},t.prototype.previousWithDirection=function(){return this[this.getDirectionPrevious()]()},t.prototype.nextWithDirection=function(){return this[this.getDirectionNext()]()},t.prototype.getUIPreviousSlide=function(t){return t.getPrevious()},t.prototype.getUINextSlide=function(t){return t.getNext()},t.prototype.getHorizontalTouchDimension=function(){return this.responsive.resizeContext.sliderWidth},t.prototype.getVerticalTouchDimension=function(){return this.responsive.resizeContext.sliderHeight},t})),c.d("Stages",(function(){function t(){this.stages={}}function i(t){this.n=t,this._isResolved=!1,this._promise=new Promise(function(t,i){this._resolve=t,this._reject=i}.bind(this)),this._promise.then(function(){this._isResolved=!0}.bind(this))}return t.prototype.get=function(t){return this.stages[t]===o&&(this.stages[t]=new i(t)),this.stages[t]},t.prototype.resolve=function(t){this.get(t).resolve()},t.prototype.done=function(t,i){var s;if("string"==typeof t)s=this.get(t).getPromise();else{for(var h=[],n=0;n<t.length;n++)h.push(this.get(t[n]).getPromise());s=Promise.all(h)}s.then(i)},t.prototype.resolved=function(t){return this.get(t).resolved()},i.prototype.getPromise=function(){return this._promise},i.prototype.resolve=function(){this.resolved()||this._resolve()},i.prototype.done=function(t){this._promise.then(t)},i.prototype.resolved=function(){return this._isResolved},t})),c.d("SmartSliderWidget",(function(){"use strict";function t(t,i,s){this.slider=t,this.key=i,this.selector=s,this.slider.started(this.register.bind(this))}return t.prototype.register=function(){this.slider.widgets.has(this.key)||(this.widget=this.slider.sliderElement.querySelector(this.selector),this.widget&&(this.slider.widgets.register(this.key,this),this.onStart()))},t.prototype.onStart=function(){},t.prototype.isVisible=function(){var t=this.widget.getBoundingClientRect();return!(!t.width||!t.height)},t.prototype.getWidth=function(){return this.widget.getBoundingClientRect().width},t.prototype.getHeight=function(){return this.widget.getBoundingClientRect().height},t})),c.d("SmartSliderWidgets",(function(){function t(t){this.slider=t,this.sliderElement=t.sliderElement,this.controls={previous:o,next:o,bullet:o,autoplay:o,indicator:o,bar:o,thumbnail:o,shadow:o,fullscreen:o,html:o},this._controlDimensionRegexp=new RegExp("^("+Object.keys(this.controls).join("|")+")(width|height)$","i"),this.excludedSlides={},this.states={hover:!1,nonCarouselFirst:!1,nonCarouselLast:!1,currentSlideIndex:-1,singleSlide:!1}}return t.prototype.register=function(t,i){this.controls[t]=i},t.prototype.has=function(t){return this.controls[t]!==o},t.prototype.setState=function(t,i){if(this.states[t]!=i){this.states[t]=i;var s=t.split(".");switch(s[0]){case"hide":this.onStateChangeSingle(s[1]);break;case"nonCarouselFirst":this.onStateChangeSingle(this.slider.getDirectionPrevious());break;case"nonCarouselLast":this.onStateChangeSingle(this.slider.getDirectionNext());break;default:this.onStateChangeAll()}}},t.prototype.onStateChangeAll=function(){for(var t in this.controls)this.onStateChangeSingle(t)},t.prototype.onStateChangeSingle=function(t){if(this.controls[t]){var i=!0;if(this.controls[t].widget.classList.contains("n2-ss-widget-display-hover")&&(i=this.states.hover),i&&(t===this.slider.getDirectionPrevious()&&this.states.nonCarouselFirst||t===this.slider.getDirectionNext()&&this.states.nonCarouselLast)&&(i=!1),i){var s=t+"-"+(this.states.currentSlideIndex+1);this.excludedSlides[s]&&(i=!1)}i&&this.states["hide."+t]!==o&&this.states["hide."+t]&&(i=!1),i&&this.states.singleSlide&&("previous"!==t&&"next"!==t&&"bullet"!==t&&"autoplay"!==t&&"indicator"!==t||(i=!1)),this.controls[t].widget.classList.toggle("n2-ss-widget-hidden",!i)}},t.prototype.getVerticalsHeight=function(){var t=0;if(this._verticals)for(var i=0;i<this._verticals.length;i++)t+=this._verticals[i].offsetHeight;return t},t.prototype.onReady=function(){this.advancedElement=this.slider.sliderElement.querySelector(".n2-ss-slider-controls-advanced"),this.requiredVariables=this.advancedElement?(D(this.advancedElement,"variables")||"").split(","):[],at(this.slider.sliderElement,"visibleSlidesChanged",function(){this.setState("singleSlide",this.slider.visibleSlides.length<=1)}.bind(this)),this.setState("singleSlide",this.slider.visibleSlides.length<=1),this._verticals=this.sliderElement.querySelectorAll('.n2-ss-widget[data-position="above"]:not(.nextend-shadow),.n2-ss-widget[data-position="below"]:not(.nextend-shadow)');var t=!1;for(var i in this.controls)if(this.controls[i]!==o){var s=D(this.controls[i].widget,"excludeSlides");if(s!==o){for(var h=s.split(","),n=h.length-1;n>=0;n--){var r=h[n].split("-");if(2===r.length){var a=parseInt(r[0]),c=parseInt(r[1]);if(a<=c)for(var u=a;u<=c;u++)h.push(u)}else h[n]=parseInt(h[n])}if(h.length>0){for(n=0;n<h.length;n++)this.excludedSlides[i+"-"+h[n]]=!0;t=!0}}}if(t){var f=function(e){this.setState("currentSlideIndex",e.detail.targetSlide.index)}.bind(this);f({detail:{targetSlide:this.slider.currentRealSlide}}),at(this.slider.sliderElement,"SlideWillChange",f)}this.requiredVariables.length&&this.advancedElement&&(this.flushAdvancedVariables(),at(this.slider.sliderElement,"SliderResize",this.flushAdvancedVariables.bind(this))),this.onStateChangeAll(),this.slider.stages.resolve("WidgetsReady"),this.advancedElement&&this.slider.stages.done("BeforeShow",function(){j(this.advancedElement,"n2-ss-slider-controls-advanced--ready")}.bind(this))},t.prototype.flushAdvancedVariables=function(){for(var t={},i=0;i<this.requiredVariables.length;i++)t[this.requiredVariables[i]]=this.getAdvancedVariable(this.requiredVariables[i]);for(var s in t)F(this.advancedElement,"--"+s,parseInt(t[s]))},t.prototype.getAdvancedVariable=function(t){var i=this.slider.responsive.resizeContext;switch(t){case"outerwidth":return bt(this.sliderElement.parentNode);case"outerheight":return yt(this.sliderElement.parentNode);case"width":return i.sliderWidth;case"height":return i.sliderHeight;case"canvaswidth":return i.slideWidth;case"canvasheight":return i.slideHeight;case"panewidth":case"paneWidth":if(i.paneWidth||i.panewidth)return i.paneWidth||i.panewidth}var s=t.match(this._controlDimensionRegexp);if(s){var h=this.controls[s[1]];if(h)switch(s[2]){case"width":return h.getWidth();case"height":return h.getHeight()}}return 0},t.prototype.onAdvancedVariableWidgetChanged=function(t){this.advancedElement&&(D(this.advancedElement,"variables")||"").match(t)&&this.slider.stages.done("BeforeShow",function(){this.flushAdvancedVariables()}.bind(this))},t})),c.d("SmartSliderPluginLightbox",["SmartSliderPlugins","litebox"],(function(){function t(t){t.isAdmin||(this.slider=t,t.stages.done("Visible",this.onVisible.bind(this)))}t.prototype.onVisible=function(){if(this.slider.parameters.plugins.lightbox!==o){this.parameters=S({label:""},this.slider.parameters.plugins.lightbox),this.onVisibleRealSlidesChanged(),at(this.slider.sliderElement,"visibleRealSlidesChanged",this.onVisibleRealSlidesChanged.bind(this));var t="click";this.slider.hasTouch()&&(t="n2click");for(var i=0;i<this.slider.realSlides.length;i++)if(this.slider.realSlides[i].getLightboxImage()){var s=this.slider.realSlides[i].element;P(s,"data-force-pointer","zoom-in"),at(s,t,function(t,e){n2ss.isClickAllowed(e)&&!e.target.classList.contains("smart-slider-overlay")&&r(function(){"ended"===this.slider.mainAnimation.state&&this.openLightbox(t)}.bind(this),10)}.bind(this,this.slider.realSlides[i]))}}},t.prototype.onVisibleRealSlidesChanged=function(){this.lightboxes!==o&&this.lightboxes.forEach((function(t){B(t)})),this.lightboxes=[];for(var t=0,i=0;t<this.slider.visibleRealSlides.length;t++){var s=this.slider.visibleRealSlides[t],h=s.getLightboxImage();if(h){var n=f("a");switch(n.href=h,n.className="nolightbox no-lightbox",n.style.display="none",n.slide=s,E(n,"n2Lightbox",""),E(n,"liteboxGroup",this.slider.id),E(n,"index",i),this.parameters.label){case"name":E(n,"title",s.getTitle());break;case"namemore":E(n,"title",s.getTitle()),E(n,"description",s.getDescription())}s.element.appendChild(n),at(n,"click",(function(e){e.stopPropagation()})),s.element.lightbox=n,this.lightboxes.push(n),i++}}n2LightboxSingle(this.lightboxes,{blockrightclick:this.slider.parameters.blockrightclick,callbackPrev:function(){var t=+D(this.currentLightboxedImage,"index")-1;t<0&&(t=this.lightboxes.length-1),this.currentLightboxedImage=this.lightboxes[t];var i=this.currentLightboxedImage.slide;this.slider.directionalChangeTo(i.group.index)}.bind(this),callbackNext:function(){var t=+D(this.currentLightboxedImage,"index")+1;t===this.lightboxes.length&&(t=0),this.currentLightboxedImage=this.lightboxes[t];var i=this.currentLightboxedImage.slide;this.slider.directionalChangeTo(i.group.index)}.bind(this)})},t.prototype.openLightbox=function(t){this.currentLightboxedImage=t.element.lightbox,st(this.currentLightboxedImage,"click")},c.SmartSliderPlugins.addPlugin("lightbox",t)})),c.d("SmartSliderPluginParticleJS",["SmartSliderPlugins","particlesJS"],(function(){function t(t){this.slider=t,t.stages.done("Parameters",function(){this.slider.parameters.particlejs&&t.stages.done("BeforeShow",this.onBeforeShow.bind(this))}.bind(this))}t.prototype.onBeforeShow=function(){this.start(this.slider.parameters.particlejs)},t.prototype.start=function(t){if(this.pJS&&(this._removeListener&&this._removeListener(),this.pJS.pJS.fn.vendors.destroypJS()),t){if(!t.mobile&&n2const.isPhone)return;t.interactivity=t.interactivity||{},t.interactivity.detect_on=this.slider.sliderElement,this.pJS=c.particlesJS(this.slider.getSlideBackgroundContainer(),t),this._removeListener=rt(this.slider.sliderElement,"SliderResize",function(){this.pJS.pJS.fn.resize()}.bind(this))}},c.SmartSliderPlugins.addPlugin("particleJS",t)})),c.d("SmartSliderMainAnimationAbstract",(function(){function t(t,i){this.state="ended",this.isTouch=!1,this.isReverseAllowed=!0,this.isReverseEnabled=!1,this.reverseSlideIndex=null,this.isNoAnimation=!1,this.slider=t,this.parameters=S({duration:1500,ease:"easeInOutQuint"},i),this.parameters.duration=Math.max(.01,this.parameters.duration/1e3),this.sliderElement=t.sliderElement,this.timeline=new c.J({paused:!0}),at(this.sliderElement,"mainAnimationStart",function(e){this._revertCurrentSlideIndex=e.detail.previousSlideIndex,this._revertNextSlideIndex=e.detail.currentSlideIndex}.bind(this)),this.slider.stages.done("ResponsiveStart",this.init.bind(this))}return t.prototype.init=function(){this.responsive=this.slider.responsive},t.prototype.enableReverseMode=function(){this.isReverseEnabled=!0,this.reverseTimeline=new c.J({paused:!0}),nt(this.slider.sliderElement,"reverseModeEnabled",{reverseSlideIndex:this.reverseSlideIndex})},t.prototype.disableReverseMode=function(){this.isReverseEnabled=!1},t.prototype.setTouch=function(t){this.isTouch=t},t.prototype.setTouchProgress=function(t){this.parameters.duration<.3&&(t<0?t=-1:t>0&&(t=1)),"ended"!==this.state&&(this.isReverseEnabled?0===t?(this.reverseTimeline.progress(0),this.timeline.progress(t,!1)):t>=0&&t<=1?(this.reverseTimeline.progress(0),this.timeline.progress(t)):t<0&&t>=-1&&(this.timeline.progress(0),this.reverseTimeline.progress(Math.abs(t))):t<=0?this.timeline.progress(Math.max(t,1e-6),!1):t>=0&&t<=1&&this.timeline.progress(t))},t.prototype.setTouchEnd=function(t,i,s){"ended"!==this.state&&(this.isReverseEnabled?this._setTouchEndWithReverse(t,i,s):this._setTouchEnd(t,i,s))},t.prototype._setTouchEnd=function(t,i,s){t&&i>0?(this.fixTouchDuration(this.timeline,i,s),this.timeline.play()):(this.revertCB(this.timeline),this.fixTouchDuration(this.timeline,1-i,s),this.timeline.reverse(),this.willRevertTo(this._revertCurrentSlideIndex,this._revertNextSlideIndex))},t.prototype._setTouchEndWithReverse=function(t,i,s){t?i<0&&this.reverseTimeline.totalDuration()>0?(this.fixTouchDuration(this.reverseTimeline,i,s),this.reverseTimeline.play(),this.willRevertTo(this.reverseSlideIndex,this._revertNextSlideIndex)):(this.willCleanSlideIndex(this.reverseSlideIndex),this.fixTouchDuration(this.timeline,i,s),this.timeline.play()):(i<0?(this.revertCB(this.reverseTimeline),this.fixTouchDuration(this.reverseTimeline,1-i,s),this.reverseTimeline.reverse()):(this.revertCB(this.timeline),this.fixTouchDuration(this.timeline,1-i,s),this.timeline.reverse()),this.willCleanSlideIndex(this.reverseSlideIndex),this.willRevertTo(this._revertCurrentSlideIndex,this._revertNextSlideIndex))},t.prototype.fixTouchDuration=function(t,i,s){var h=t.totalDuration(),n=Math.max(h/3,Math.min(h,s/Math.abs(i)/1e3));n!==h&&t.totalDuration(n)},t.prototype.getState=function(){return this.state},t.prototype.timeScale=function(){return arguments.length>0?(this.timeline.timeScale(arguments[0]),this):this.timeline.timeScale()},t.prototype.changeTo=function(t,i,s,h){if(this._initAnimation(t,i,s),this.state="initAnimation",this.timeline.paused(!0),this.timeline.eventCallback("onStart",this.onChangeToStart.bind(this),[t,i,h]),this.timeline.eventCallback("onComplete",this.onChangeToComplete.bind(this),[t,i,h]),this.timeline.eventCallback("onReverseComplete",null),this.revertCB=function(s){s.eventCallback("onReverseComplete",this.onReverseChangeToComplete.bind(this),[i,t,h])}.bind(this),this.isTouch)t.onOutAnimationsPlayed();else{var n={handled:!1};new Promise(function(s){nt(this.slider.sliderElement,"preChangeToPlay",{resolve:s,resolveHandled:n,currentSlide:t,nextSlide:i}),n.handled||s()}.bind(this)).then(function(){this.play()}.bind(this.timeline))}},t.prototype.willRevertTo=function(t,i){nt(this.slider.sliderElement,"mainAnimationWillRevertTo",{slideIndex:t,originalNextSlideIndex:i}),ct(this.sliderElement,"mainAnimationComplete",this.revertTo.bind(this,t,i))},t.prototype.revertTo=function(t,i){this.slider.revertTo(t,i),ht(this.slider.slides[i].element,"mainAnimationStartInCancel")},t.prototype.willCleanSlideIndex=function(t){ct(this.sliderElement,"mainAnimationComplete",this.cleanSlideIndex.bind(this,t))},t.prototype.cleanSlideIndex=function(){},t.prototype._initAnimation=function(t,i,s){this.slider.updateInsideSlides([t,i])},t.prototype.onChangeToStart=function(t,i,s){this.state="playing";var h={mainAnimation:this,previousSlideIndex:t.index,currentSlideIndex:i.index,isSystem:s};this.slider.h("mainAnimationStart",h),t.h("mainAnimationStartOut",h),i.h("mainAnimationStartIn",h)},t.prototype.onChangeToComplete=function(t,i,s){var h={mainAnimation:this,previousSlideIndex:t.index,currentSlideIndex:i.index,isSystem:s};this.clearTimelines(),this.disableReverseMode(),t.h("mainAnimationCompleteOut",h),i.h("mainAnimationCompleteIn",h),this.state="ended",this.slider.updateInsideSlides([i]),s||i.focus(),this.slider.h("mainAnimationComplete",h)},t.prototype.onReverseChangeToComplete=function(i,s,h){t.prototype.onChangeToComplete.apply(this,arguments)},t.prototype.clearTimelines=function(){this.revertCB=function(){},this.timeline.clear(),this.timeline.timeScale(1)},t.prototype.getEase=function(){return this.isTouch?"linear":this.parameters.ease},t})),c.d("SmartSliderPostBackgroundAnimation",(function(){var t={default:5,superSlow:20,slow:10,normal:5,fast:3,superFast:1.5},i={default:1,superSoft:.3,soft:.6,normal:1,strong:1.5,superStrong:2};function s(t,i){this.tween=null,this.lastTween=null,this.slider=t,this.mainAnimation=i,this.isFirst=!0,this.visibleAddedButNotPlayed=!1,this.parameters=S({data:0,speed:"default",strength:"default"},t.parameters.postBackgroundAnimations),this.slider.stages.done("StarterSlide",this.init.bind(this))}return s.prototype.init=function(){this.ratios=S({slideW:1,slideH:1},this.slider.responsive.ratios),this.backgrounds=this.slider.backgrounds,this.images=this.backgrounds.getBackgroundImages();for(var t=0;t<this.images.length;t++)this.images[t].onReady(this.initImage.bind(this,t,this.images[t]));this.playOnce=this.slider.parameters.layerMode.playOnce,this.playFirst=this.slider.parameters.layerMode.playFirstLayer;var i=this.slider.currentSlide.index;this.tween=this.images[i].postBGTween,this.playFirst?this.addVisiblePlay():this.tween&&this.tween.progress(1,!1),at(this.slider.sliderElement,"mainAnimationStart",this.onMainAnimationStart.bind(this)),at(this.slider.sliderElement,"mainAnimationComplete",this.stop.bind(this)),at(this.slider.sliderElement,"SliderResize",this.onResize.bind(this)),at(this.slider.sliderElement,"mainAnimationWillRevertTo",this.onMainAnimationWillRevertTo.bind(this)),at(this.slider.sliderElement,"SlideForceChange",function(e){this.prepareToSwitchSlide(e.detail.oldSlide,e.detail.currentSlide)}.bind(this)),X(this.slider.sliderElement,"n2-ss-feature-post-bg-loader")},s.prototype.initImage=function(t,i){i.hasImage()?i.postBGTween=this.getAnimation(t,i):i.postBGTween=!1},s.prototype.addVisiblePlay=function(){this.visibleAddedButNotPlayed||(this.visibleAddedButNotPlayed=!0,this.slider.visible(this.play.bind(this)))},s.prototype.onMainAnimationStart=function(){this.isFirst=!1,this.mainAnimation.hasBackgroundAnimation()||this.mainAnimation.isTouch?ct(this.slider.sliderElement,"mainAnimationComplete",this.play.bind(this)):this.play()},s.prototype.onMainAnimationWillRevertTo=function(){this.lastTween=this.tween,this.tween=!1},s.prototype.onResize=function(e){this.ratios=S({},e.detail.ratios);for(var t=0;t<this.images.length;t++){var i=this.images[t].postBGTween;i&&i.invalidate&&i.invalidate()}},s.prototype.getAnimation=function(s,h){if(!h.elements.image)return!1;var n=this.parameters.data,r=this.parameters.speed,a=this.parameters.strength;if(this.slider.slides[s].postBackgroundAnimation){var u=this.slider.slides[s].postBackgroundAnimation;n=u.data,r=u.speed,a=u.strength}if(!n)return!1;var f=I({},n.animations[Math.floor(Math.random()*n.animations.length)]);f.from.transformOrigin===o&&(f.from.transformOrigin=n.transformOrigin);const l=c.MW.B(h.elements.image.imageElements);c.MW.t(l,{transformOrigin:f.from.transformOrigin,backfaceVisibility:"hidden",transformStyle:"flat",overflow:"hidden","will-change":"transform"}),f.to.paused=!0;for(var d=0;d<f.strength.length;d++){var m=f.strength[d];"scale"===m?(f.from.scale=1+(f.from.scale-1)*i[a],f.to.scale=1+(f.to.scale-1)*i[a]):(f.from[m]*=i[a],f.to[m]*=i[a])}return f.from.x!==o&&(f.from.x=function(t){return this.ratios.slideW*t}.bind(this,f.from.x)),f.from.y!==o&&(f.from.y=function(t){return this.ratios.slideH*t}.bind(this,f.from.y)),f.to.x!==o&&(f.to.x=function(t){return this.ratios.slideW*t}.bind(this,f.to.x)),f.to.y!==o&&(f.to.y=function(t){return this.ratios.slideH*t}.bind(this,f.to.y)),n2const.isFirefox&&(f.from.rotationZ=.1,f.to.rotationZ=.1),c.MW.t(l,f.from),c.MW.flush(),c.K.fromTo(l,t[r],f.from,f.to)},s.prototype.prepareToSwitchSlide=function(t,i){t&&this.images[t.index].postBGTween?(this.mainAnimation.hasBackgroundAnimation()&&this.images[t.index].postBGTween.pause(),this.lastTween=this.images[t.index].postBGTween):this.lastTween=!1,this.images[i.index].postBGTween?this.tween=this.images[i.index].postBGTween:this.tween=!1},s.prototype.play=function(){this.visibleAddedButNotPlayed=!1,!this.tween||this.playOnce&&0!==this.tween.progress()||this.tween.play()},s.prototype.stop=function(){!this.playOnce&&this.lastTween&&this.lastTween.pause(0)},s})),c.d("SmartSliderControlAlias",(function(){"use strict";function t(t,s){this.st=t,this.ht=t.sliderElement,this.nt=t.v,this.et=D(this.nt,"alias"),this.ot=S({id:0,smoothScroll:0,slideSwitch:0,scroll:1},s),this.et&&(this.ot.smoothScroll&&F(h,"scroll-behavior","smooth"),this.ot.slideSwitch&&(this.switchOnLoad(),at(i,"hashchange",function(){var t=this.getAnchor();t>0&&(1===this.st.responsive.parameters.focusUser?(this.st.responsive.parameters.focusUser=0,this.switchToSlide(t-1),this.st.responsive.parameters.focusUser=1):this.switchToSlide(t-1),this.replaceHash())}.bind(this))))}return t.prototype.getAnchor=function(){var t=i.location.hash.substr(1);if(t){if(t===this.et)return!0;if(this.ot.slideSwitch&&0===t.indexOf(this.et)){var s=+t.substr(this.et.length+1);if(s>0)return s}}return!1},t.prototype.switchOnLoad=function(){var t=this.getAnchor();if(t>0){var s=t-1,h=i["n2-ss-"+this.st.id];h&&h.stages.resolved("StarterSlide")?h.stages.done("BeforeShow",function(){this.switchToSlide(s)}.bind(this)):i["ss"+this.st.id]=s,this.replaceHash()}},t.prototype.replaceHash=function(){var t="#"+this.et;history.replaceState?history.replaceState(null,null,t):location.hash=t},t.prototype.switchToSlide=function(t){this.st.slide(t)},t})),c.d("SmartSliderControlAutoplay",(function(){"use strict";function t(t,i){this.slider=t,this.state={enabled:1,paused:1,pausedSecondary:0,mainAnimationPlaying:0,wait:0},this._listeners=[],this.wait=new c.SmartSliderControlAutoplayWait(this),this._currentCount=1,this.autoplayToSlide=0,this.autoplayToSlideIndex=-1,this.parameters=S({enabled:0,start:1,duration:8e3,autoplayLoop:0,allowReStart:0,pause:{mouse:"enter",click:!0,mediaStarted:!0},resume:{click:0,mouse:0,mediaEnded:!0},interval:1,intervalModifier:"loop",intervalSlide:"current"},i),this.clickHandled=!1,t.controls.autoplay=this,this.parameters.enabled?(this.parameters.duration/=1e3,this.slider.visible(this.onReady.bind(this))):this.disable()}return t.prototype.preventClickHandle=function(){this.clickHandled=!0,r(function(){this.clickHandled=!1}.bind(this),300)},t.prototype.onReady=function(){this.rt=!0;this.timeline=c.K.to({_progress:0},this.getSlideDuration(this.slider.currentSlide.index),{_progress:1,paused:!0,onComplete:this.next.bind(this)});var t=this.slider.sliderElement;this._listeners.push(rt(t,"SlideLoading",function(){this.wait.add("load")}.bind(this))),this._listeners.push(rt(t,"SlideLoaded",function(e){this.wait.resolve("load")}.bind(this))),this._listeners.push(rt(t,"BeforeCurrentSlideChange",function(){this.wait.resolveWeak(),this.setState("mainAnimationPlaying",1)}.bind(this))),this._listeners.push(rt(t,"mainAnimationStart",function(){this._currentCount++,this.setState("mainAnimationPlaying",1),this.wait.resolveWeak()}.bind(this))),this._listeners.push(rt(t,"mainAnimationComplete",function(e){this.timeline.duration(this.getSlideDuration(e.detail.currentSlideIndex)),this.rt=!0,this.timeline.pause(0,!1),this.setState("mainAnimationPlaying",0)}.bind(this))),this._listeners.push(rt(t,"autoplayPause",function(e){this.setState("paused",1)}.bind(this))),this._listeners.push(rt(t,"autoplayResume",function(e){(this.state.paused||0===parseInt(this.parameters.start)&&0===parseInt(this.state.paused))&&(this._currentCount=1),this.setState("pausedSecondary",0),this.setState("paused",0);var t=e.detail.progress;t!==o&&this.timeline.progress(t)}.bind(this))),this._listeners.push(rt(t,"CurrentSlideChanged",function(e){this.timeline.duration(this.getSlideDuration(e.detail.currentSlide.index)),this.rt=!0,this.timeline.pause(0,!1),this.setState("mainAnimationPlaying",0)}.bind(this))),this.initClick(this.parameters.pause.click,this.parameters.resume.click),this.initHover(this.parameters.pause.mouse,this.parameters.resume.mouse),this.initMedia(this.parameters.pause.mediaStarted,this.parameters.resume.mediaEnded),this.slider.stages.resolve("AutoplayReady"),this.slider.h("autoplay",{progress:0}),this.parameters.start||this.setState("pausedSecondary",1),this.setState("paused",0)},t.prototype.setState=function(t,i){this.state[t]!==i&&(this.state[t]=i,this.timeline!==o&&(!this.state.enabled||this.state.paused||this.state.pausedSecondary||this.state.wait||this.state.mainAnimationPlaying?(this.timeline.paused()||this.timeline.pause(),this.state.mainAnimationPlaying||this.isPaused!==o&&this.isPaused||(this.isPaused=!0,this.slider.h("autoplayPaused"))):(this.timeline.paused()&&this.timeline.play(),(this.isPaused===o||this.isPaused)&&(this.isPaused=!1,this.slider.h("autoplayStarted")))))},t.prototype.initClick=function(t,i){(t||i)&&(this.universalClick=new c.UniversalClick(this.slider.sliderElement,function(e){this.clickHandled||(this.state.pausedSecondary?i&&this.setState("pausedSecondary",0):t&&this.setState("pausedSecondary",1))}.bind(this)))},t.prototype.initHover=function(t,i){if(t||i){var s=!1;this._listeners.push(rt(this.slider.sliderElement,"touchend",(function(){s=!0,r((function(){s=!1}),300)}))),this._listeners.push(rt(this.slider.sliderElement,"mouseenter",function(e){this.state.pausedSecondary?"enter"===i&&this.setState("pausedSecondary",0):s||"enter"!==t||this.setState("pausedSecondary",1)}.bind(this))),this._listeners.push(rt(this.slider.sliderElement,"mouseleave",function(e){this.state.pausedSecondary?"leave"===i&&this.setState("pausedSecondary",0):"leave"===t&&this.setState("pausedSecondary",1)}.bind(this)))}},t.prototype.initMedia=function(t,i){var s=this.slider.sliderElement;t?(this._listeners.push(rt(s,"mediaStarted",function(e){this.wait.add(e.detail.id)}.bind(this))),this._listeners.push(rt(s,"mediaEnded",function(e){this.wait.resolve(e.detail.id)}.bind(this)))):i&&this._listeners.push(rt(s,"mediaEnded",function(){this.setState("pausedSecondary",0)}.bind(this)))},t.prototype.enableProgress=function(){this.timeline&&this.timeline.eventCallback("onUpdate",function(){this.slider.h("autoplay",{progress:this.timeline.progress()})}.bind(this))},t.prototype.next=function(){if(this.rt){if(this.rt=!1,this.timeline.pause(),!this.parameters.autoplayLoop){switch(this.parameters.intervalModifier){case"slide":this.slideSwitchingSlideCount();break;case"slideindex":this.slideSwitchingIndex();break;default:this.slideSwitchingLoop()}this.autoplayToSlide>0&&this._currentCount>=this.autoplayToSlide&&this.limitAutoplay(),this.autoplayToSlideIndex>=0&&this.slider.slides.length===this.slider.visibleSlides.length&&(this.autoplayToSlideIndex===this.slider.currentRealSlide.index+2||1===this.autoplayToSlideIndex&&this.slider.currentRealSlide.index+this.autoplayToSlideIndex===this.slider.slides.length)&&this.limitAutoplay()}this.slider.nextCarousel(!0)}},t.prototype.slideSwitchingLoop=function(){this.autoplayToSlide=this.parameters.interval*this.slider.visibleSlides.length-1,"next"===this.parameters.intervalSlide&&this.autoplayToSlide++},t.prototype.slideSwitchingSlideCount=function(){this.autoplayToSlide=this.parameters.interval},t.prototype.slideSwitchingIndex=function(){var t=Math.max(1,this.parameters.interval);t>this.slider.slides.length&&(t=1),this.autoplayToSlideIndex=t},t.prototype.limitAutoplay=function(){this.parameters.allowReStart?(this._currentCount=0,this.setState("paused",1)):this.disable()},t.prototype.disable=function(){this.setState("enabled",0),ot(this._listeners),this.universalClick&&(this.universalClick.remove(),delete this.universalClick),this.slider.stages.resolve("AutoplayDestroyed")},t.prototype.getSlideDuration=function(t){var i=this.slider.realSlides[this.slider.getRealIndex(t)],s=i.minimumSlideDuration;return 0===parseFloat(i.minimumSlideDuration)&&(s=this.parameters.duration),s},t})),c.d("SmartSliderControlFullscreen",(function(){"use strict";function t(i,h,n){this.slider=i,this.responsive=this.slider.responsive,this._type=this.responsive.parameters.type,this._upscale=this.responsive.parameters.upscale,this.at=!1,this.ht=this.slider.sliderElement,this.ct=this.ht.closest(".n2-section-smartslider"),at(s,t.event,this.fullScreenChange.bind(this))}return t.isSupported=!(!s.exitFullscreen&&!s.webkitExitFullscreen),t.isSupported&&(t.requestFullscreen=h.requestFullscreen||h.webkitRequestFullscreen,t.exitFullscreen=s.exitFullscreen||s.webkitExitFullscreen,t.event=h.requestFullscreen?"fullscreenchange":h.webkitRequestFullscreen?"webkitfullscreenchange":null),t.prototype.switchState=function(){this.at=!this.at,this.at?this._fullScreen():this._normalScreen()},t.prototype.requestFullscreen=function(){return!this.at&&(this.at=!0,this._fullScreen(),!0)},t.prototype.exitFullscreen=function(){return!!this.at&&(this.at=!1,this._normalScreen(),!0)},t.prototype._fullScreen=function(){this.responsive.at=!0,this.responsive.parameters.type="fullpage",this.ht.dataset.responsive=this.responsive.parameters.type,this.responsive.parameters.upscale=!0,this._marginLeft=this.responsive.containerElement.style.marginLeft,this._marginRight=this.responsive.containerElement.style.marginRight,N(this.responsive.containerElement,{marginLeft:0,marginRight:0}),N(this.ct,{width:"100%",height:"100%","background-color":i.getComputedStyle(n).backgroundColor}),t.requestFullscreen.call(this.ct)},t.prototype._normalScreen=function(){t.exitFullscreen.call(s)},t.prototype.fullScreenChange=function(){this.isDocumentInFullScreenMode()?(this.slider.h("n2FullScreen"),j(h,"n2-in-fullscreen"),j(this.slider.sliderElement,"n2-ss-slider--fullscreen"),this.at=!0,"auto"===this._type&&F(this.slider.responsive.alignElement,"max-width","none"),st(i,"resize")):(this.responsive.at=!1,this.responsive.parameters.type=this._type,this.ht.dataset.responsive=this._type,this.responsive.parameters.upscale=this._upscale,N(this.responsive.containerElement,{marginLeft:this._marginLeft,marginRight:this._marginRight}),N(this.ct,{width:"",height:"","background-color":""}),X(this.slider.sliderElement,"n2-ss-slider--fullscreen"),X(h,"n2-in-fullscreen"),"auto"===this._type&&z(this.slider.responsive.alignElement,"max-width"),st(i,"resize"),this.at=!1,this.slider.h("n2ExitFullScreen"))},t.prototype.isDocumentInFullScreenMode=function(){return s.fullscreenElement||s.webkitIsFullScreen},t})),c.d("SmartSliderControlKeyboard",(function(){"use strict";var t;function h(){this.controls=[],s.addEventListener("keydown",this.onKeyDown.bind(this)),s.addEventListener("mousemove",this.onMouseMove.bind(this),{capture:!0})}function o(i,s,n){this.slider=i,this.parameters=S({},n),this.parseEvent="vertical"===s?o.prototype.parseEventVertical:o.prototype.parseEventHorizontal,t||(t=new h),t.addControl(this),at(this.slider.sliderElement,"SliderKeyDown",function(e){this.onKeyDown(e.detail.e)}.bind(this)),i.controls.keyboard=this}return h.prototype.onMouseMove=function(e){this.mouseEvent=e},h.prototype.addControl=function(t){this.controls.push(t)},h.prototype.onKeyDown=function(e){if(e.target.tagName.match(/BODY|DIV|IMG/)&&!e.target.isContentEditable){var t;if(this.mouseEvent&&(t=this.findSlider(s.elementFromPoint(this.mouseEvent.clientX,this.mouseEvent.clientY))))return void nt(t,"SliderKeyDown",{e:e});if(s.activeElement!==n&&(t=this.findSlider(s.activeElement)))return void nt(t,"SliderKeyDown",{e:e});for(var i=0;i<this.controls.length;i++)this.controls[i].onKeyDown(e)}},h.prototype.findSlider=function(t){return t?t.classList.contains("n2-ss-slider")?t:t.closest(".n2-ss-slider"):null},o.prototype.isSliderOnScreen=function(){var t=this.slider.sliderElement.getBoundingClientRect(),s=t.height/2;return t.top+s>=0&&t.top+s<=i.innerHeight},o.prototype.onKeyDown=function(e){!e.defaultPrevented&&this.isSliderOnScreen()&&this.parseEvent.call(this,e)&&e.preventDefault()},o.prototype.parseEventHorizontal=function(e){switch(e.code){case"ArrowRight":return n2const.activeElementBlur(),this.slider[n2const.isRTL()?"previous":"next"](),!0;case"ArrowLeft":return n2const.activeElementBlur(),this.slider[n2const.isRTL()?"next":"previous"](),!0;default:return!1}},o.prototype.parseEventVertical=function(e){switch(e.code){case"ArrowDown":return(!this.slider.isChangeCarousel("next")||!this.slider.parameters.controls.blockCarouselInteraction)&&(n2const.activeElementBlur(),this.slider.next(),!0);case"ArrowUp":return(!this.slider.isChangeCarousel("previous")||!this.slider.parameters.controls.blockCarouselInteraction)&&(n2const.activeElementBlur(),this.slider.previous(),!0);default:return!1}},o})),c.d("SmartSliderControlMouseWheel",(function(){"use strict";function t(t,i){this.preventScroll={local:!1,curve:!1,curveGlobal:!1,global:!1,localTimeout:!1,curveTimeout:!1,curveGlobalTimeout:!1,globalTimeout:!1},this.maxDelta=0,this.slider=t,this.ut=2===i?"deltaX":"deltaY",s.addEventListener("wheel",this.onGlobalMouseWheel.bind(this),{passive:!1}),t.controls.mouseWheel=this}return t.prototype.hasScrollableParentVertical=function(t,s){for(;s&&s!==this.slider.sliderElement;){if(s.scrollHeight>s.clientHeight){var h=i.getComputedStyle(s).overflowY;if("scroll"===h||"auto"===h)if(t){if(s.scrollTop>0)return!0}else if(s.scrollTop+s.clientHeight<s.scrollHeight)return!0}s=s.parentNode}return!1},t.prototype.hasScrollableParentHorizontal=function(t){for(;t&&t!==this.slider.sliderElement;){var s=i.getComputedStyle(t).overflowX;if(("scroll"===s||"auto"===s)&&t.scrollWidth>t.offsetWidth)return!0;t=t.parentNode}return!1},t.prototype.onGlobalMouseWheel=function(e){e.target.closest(".n2-ss-slider")&&0!==e[this.ut]&&(this.onCurveEvent(e),this.preventScroll.local||this.preventScroll.curve||Math.abs(e[this.ut])<this.maxDelta/2?e.preventDefault():(this.preventScroll.global&&e.preventDefault(),(this.slider.sliderElement===e.target||this.slider.sliderElement.contains(e.target))&&("deltaY"===this.ut?e.shiftKey||this.hasScrollableParentVertical(e.deltaY<0,e.target)||this.onMouseWheel(e):"deltaX"===this.ut&&(this.hasScrollableParentHorizontal(e.target)||this.onMouseWheel(e)))))},t.prototype.onMouseWheel=function(e){e[this.ut]<0?this.slider.isChangeCarousel("previous")&&this.slider.parameters.controls.blockCarouselInteraction||(this.slider.previous(),e.preventDefault(),this.startCurveWatcher(e),this.local(),this.global()):e[this.ut]>0&&(this.slider.isChangeCarousel("next")&&this.slider.parameters.controls.blockCarouselInteraction||(this.slider.next(),e.preventDefault(),this.startCurveWatcher(e),this.local(),this.global()))},t.prototype.startCurveWatcher=function(e){!1!==this.preventScroll.curve&&a(this.preventScroll.curveTimeout),this.preventScroll.curveGlobal||(this.dynamicDelta=!1,this.lastDelta=e[this.ut],this.preventScroll.curveGlobal=!0,this.preventScroll.curveGlobalTimeout=r(function(){this.preventScroll.curveGlobal=!1,this.maxDelta=0}.bind(this),500)),this.preventScroll.curve=!0,this.preventScroll.curveTimeout=r(this.releaseCurveLock.bind(this),1500)},t.prototype.onCurveEvent=function(e){if(this.preventScroll.curveGlobal){this.dynamicDelta||this.lastDelta===e[this.ut]||(this.lastDelta=e[this.ut],this.dynamicDelta=!0);var t=Math.abs(e[this.ut]);this.preventScroll.curve&&this.maxDelta/2>t&&this.releaseCurveLock(),this.maxDelta=Math.max(this.maxDelta,t),this.preventScroll.curveGlobalTimeout&&a(this.preventScroll.curveGlobalTimeout),this.preventScroll.curveGlobalTimeout=r(function(){this.preventScroll.curveGlobal=!1,this.maxDelta=0}.bind(this),500)}},t.prototype.releaseCurveLock=function(){this.preventScroll.curve=!1,a(this.preventScroll.curveTimeout)},t.prototype.local=function(){!1!==this.preventScroll.local&&a(this.preventScroll.localTimeout),this.preventScroll.local=!0,this.preventScroll.localTimeout=r(function(){this.preventScroll.local=!1,this.dynamicDelta||this.releaseCurveLock()}.bind(this),1e3)},t.prototype.global=function(){!1!==this.preventScroll.global&&a(this.preventScroll.globalTimeout),this.preventScroll.global=!0,this.preventScroll.globalTimeout=r(function(){this.preventScroll.global=!1}.bind(this),1e3)},t})),c.d("SmartSliderControlTouch",(function(){"use strict";function t(t){this.slider=t,this.interactiveDrag=!0,this.preventMultipleTap=!1,this._animation=t.mainAnimation,this.swipeElement=this.slider.sliderElement.querySelector(".n2_ss__touch_element"),t.controls.touch=this,t.stages.done("StarterSlide",this.onStarterSlide.bind(this)),at(t.sliderElement,"visibleSlidesChanged",this.onVisibleSlidesChanged.bind(this))}return t.prototype.onStarterSlide=function(){this.initTouch(),at(this.slider.sliderElement,"sliderChangeCurrentSlide",this.updatePanDirections.bind(this))},t.prototype.onVisibleSlidesChanged=function(){this.slider.visibleSlides.length>1?N(this.swipeElement,{cursor:"grab",userSelect:"none"}):W(this.swipeElement,["cursor","userSelect"])},t.prototype.initTouch=function(){this._animation.isNoAnimation&&(this.interactiveDrag=!1),this.eventBurrito=c.EventBurrito(this.swipeElement,{mouse:!0,axis:"horizontal"===this.axis?"x":"y",start:this._start.bind(this),move:this._move.bind(this),end:this._end.bind(this)}),this.updatePanDirections(),this.cancelKineticScroll=function(){this.kineticScrollCancelled=!0}.bind(this)},t.prototype._start=function(t){this.currentInteraction={type:"pointerdown"===t.type?"pointer":"touchstart"===t.type?"touch":"mouse",state:S({},this.state),action:"unknown",distance:[],distanceY:[],percent:0,progress:0,scrollTop:mt(),animationStartDirection:"unknown",hadDirection:!1,startDistance:0},this.logDistance(0,0)},t.prototype._move=function(t,i,s,h){if(!h||"unknown"!==this.currentInteraction.action){this.currentInteraction.direction=this.measure(s);var n=this.get(s);if((this.currentInteraction.hadDirection||Math.abs(n)>10||Math.abs(s.y)>10)&&(this.logDistance(n,s.y),this.currentInteraction.percent<1&&this.setTouchProgress(n,s.y),"touch"===this.currentInteraction.type&&t.cancelable&&("switch"!==this.currentInteraction.action&&"hold"!==this.currentInteraction.action||(this.currentInteraction.hadDirection=!0))),"switch"===this.currentInteraction.action)return!0}return!1},t.prototype._end=function(t,i,s,h){if("switch"===this.currentInteraction.action){var n=h?0:this.measureRealDirection();if(this.interactiveDrag)this._animation.timeline.progress()<1&&this._animation.setTouchEnd(n,this.currentInteraction.progress,s.time),this._animation.setTouch(!1);else n&&this.callAction(this.currentInteraction.animationStartDirection);X(this.swipeElement,"n2-grabbing")}this.onEnd(),delete this.currentInteraction,Math.abs(s.x)<10&&Math.abs(s.y)<10?this.onTap(t):c._preventClick()},t.prototype.onEnd=function(){if("scroll"===this.currentInteraction.action&&"pointer"===this.currentInteraction.type){var t=this.currentInteraction.distanceY[0],i=this.currentInteraction.distanceY[this.currentInteraction.distanceY.length-1],h=(t.d-i.d)/(i.t-t.t)*10,n=Date.now(),o=function(){requestAnimationFrame(function(){var t,i;if(!this.kineticScrollCancelled&&h&&(t=Date.now()-n,(i=h*Math.exp(-t/325))>1||i<-1))return vt(mt()+i),void o();this.onEndKineticScroll()}.bind(this))}.bind(this);this.kineticScrollCancelled=!1,o(),s.addEventListener("pointerdown",this.cancelKineticScroll)}},t.prototype.onEndKineticScroll=function(){delete this.kineticScrollCancelled,s.removeEventListener("pointerdown",this.cancelKineticScroll),F(h,"scroll-behavior","")},t.prototype.setTouchProgress=function(t,i){this.recognizeSwitchInteraction(),0===this.currentInteraction.startDistance&&(this.currentInteraction.startDistance=t<0?t+1:t-1);var s,h=this.getPercent(t-this.currentInteraction.startDistance);if(this.currentInteraction.percent=h,"switch"===this.currentInteraction.action){if(this.interactiveDrag){switch(this.currentInteraction.animationStartDirection){case"up":s=-1*h;break;case"down":s=h;break;case"left":s=-1*h;break;case"right":s=h}this.currentInteraction.progress=s,this._animation.setTouchProgress(s)}}else"unknown"!==this.currentInteraction.action&&"scroll"!==this.currentInteraction.action||this.startScrollInteraction(i)},t.prototype.startScrollInteraction=function(t){"vertical"===this.axis&&(this.slider.controlFullscreen&&this.slider.controlFullscreen.at||(this.currentInteraction.action="scroll","pointer"===this.currentInteraction.type&&(F(h,"scroll-behavior","auto"),vt(Math.max(0,this.currentInteraction.scrollTop-t)))))},t.prototype.recognizeSwitchInteraction=function(){if("unknown"===this.currentInteraction.action&&this.slider.visibleSlides.length>1)if("ended"===this._animation.state){var t=this.currentInteraction.direction;if("unknown"!==t&&this.currentInteraction.state[t]){if(this.currentInteraction.animationStartDirection=t,this.interactiveDrag){this._animation.setTouch(this.axis);this.callAction(t,!1)}this.currentInteraction.action="switch",j(this.swipeElement,"n2-grabbing")}}else"playing"===this._animation.state&&(this.currentInteraction.action="hold")},t.prototype.logDistance=function(t,i){this.currentInteraction.distance.length>3&&(this.currentInteraction.distance.shift(),this.currentInteraction.distanceY.shift()),this.currentInteraction.distance.push({d:t,t:Date.now()}),this.currentInteraction.distanceY.push({d:i,t:Date.now()})},t.prototype.measureRealDirection=function(){var t=this.currentInteraction.distance[0],i=this.currentInteraction.distance[this.currentInteraction.distance.length-1];return i.d>=0&&t.d>i.d||i.d<0&&t.d<i.d?0:1},t.prototype.onTap=function(e){this.preventMultipleTap||(st(e.target,"n2click"),this.preventMultipleTap=!0,r(function(){this.preventMultipleTap=!1}.bind(this),500))},t.prototype.updatePanDirections=function(){},t.prototype.setState=function(t,i){"object"!=typeof arguments[0]&&((t={})[arguments[0]]=arguments[1],i=arguments[2]);var s=!1;for(var h in t)this.state[h]!==t[h]&&(this.state[h]=t[h],s=!0);s&&i&&this.eventBurrito.supportsPointerEvents&&this.syncTouchAction()},t})),c.d("SmartSliderControlTouchHorizontal","SmartSliderControlTouch",(function(){"use strict";function t(){this.state={left:!1,right:!1},this.axis="horizontal",c.SmartSliderControlTouch.prototype.constructor.apply(this,arguments)}return t.prototype=Object.create(c.SmartSliderControlTouch.prototype),t.prototype.constructor=t,t.prototype.callAction=function(t,i){switch(t){case"left":return this.slider[n2const.isRTL()?"previous":"next"].call(this.slider,i);case"right":return this.slider[n2const.isRTL()?"next":"previous"].call(this.slider,i)}return!1},t.prototype.measure=function(t){return!this.currentInteraction.hadDirection&&Math.abs(t.x)<10||0===t.x||Math.abs(t.x)<Math.abs(t.y)?"unknown":t.x<0?"left":"right"},t.prototype.get=function(t){return t.x},t.prototype.getPercent=function(t){return Math.max(-.99999,Math.min(.99999,t/this.slider.getHorizontalTouchDimension()))},t.prototype.updatePanDirections=function(){var t=this.slider.currentSlide.index,i=t+1<this.slider.slides.length,s=t-1>=0;this.slider.parameters.carousel&&(i=!0,s=!0),n2const.isRTL()&&"vertical"!==this.slider.getAnimationAxis()?this.setState({right:i,left:s},!0):this.setState({right:s,left:i},!0)},t.prototype.syncTouchAction=function(){var t=this.state.left||this.state.right?"pan-y":"";F(this.swipeElement,"touch-action",t),i.PointerEventsPolyfill&&P(this.swipeElement,"touch-action",t)},t})),c.d("SmartSliderControlTouchVertical","SmartSliderControlTouch",(function(){"use strict";function t(){this.state={up:!1,down:!1},this.action={up:"next",down:"previous"},this.axis="vertical",c.SmartSliderControlTouch.prototype.constructor.apply(this,arguments)}return t.prototype=Object.create(c.SmartSliderControlTouch.prototype),t.prototype.constructor=t,t.prototype.callAction=function(t,i){switch(t){case"up":return this.slider.next.call(this.slider,i);case"down":return this.slider.previous.call(this.slider,i)}return!1},t.prototype.measure=function(t){return!this.currentInteraction.hadDirection&&Math.abs(t.y)<1||0==t.y||Math.abs(t.y)<Math.abs(t.x)?"unknown":t.y<0?"up":"down"},t.prototype.get=function(t){return t.y},t.prototype.getPercent=function(t){return Math.max(-.99999,Math.min(.99999,t/this.slider.getVerticalTouchDimension()))},t.prototype.updatePanDirections=function(){this.setState({down:!this.slider.isChangeCarousel("previous")||!this.slider.parameters.controls.blockCarouselInteraction,up:!this.slider.isChangeCarousel("next")||!this.slider.parameters.controls.blockCarouselInteraction},!0)},t.prototype.syncTouchAction=function(){var t=this.state.up||this.state.down?"pan-x":"";F(this.swipeElement,"touch-action",t),i.PointerEventsPolyfill&&P(this.swipeElement,"touch-action",t)},t.prototype._start=function(t){this.slider.blockCarousel=!0,c.SmartSliderControlTouch.prototype._start.apply(this,arguments)},t.prototype.onEnd=function(t){c.SmartSliderControlTouch.prototype.onEnd.apply(this,arguments),this.slider.blockCarousel=!1},t})),c.d("SmartSliderControlAutoplayWait",(function(){"use strict";function t(t){this.autoplay=t,this.waits={}}return t.Strong=["lightbox","load"],t.prototype.add=function(t){this.waits[t]=1,this._refresh()},t.prototype.resolve=function(t){delete this.waits[t],this._refresh()},t.prototype.resolveWeak=function(){var i={};for(var s in this.waits)1===this.waits[s]&&-1!==t.Strong.indexOf(s)&&(i[s]=1);this.waits=i,this._refresh()},t.prototype.resolveAll=function(){this.waits={},this._refresh()},t.prototype._refresh=function(){var t=!1;for(var i in this.waits)if(this.waits[i]){t=!0;break}this.autoplay.setState("wait",t)},t})),c.d("SmartSliderSlideBackgroundColor",(function(){function t(t,i){this.el=i}return t.prototype.getLoadPromise=function(){return!0},t})),c.d("SmartSliderSlideBackgroundImage",(function(){function t(t,i,s,h){this.slide=t,this.manager=i,this.background=s,this._promise=new Promise(function(t){this._resolve=t}.bind(this)),this.imageElements=Array.from(h)}return t.prototype.getLoadPromise=function(){return this._promise},t.prototype.preLoad=function(){this.blur=D(this.imageElements[0],"blur");const t=D(this.imageElements[0].parentElement,"mode"),i=[];this.blur&&i.push({item:this.imageElements[this.imageElements.length-1],blur:this.blur}),"blurfit"===t&&(this.blurFitMode=D(this.imageElements[0],"blurfitmode"),this.globalBlurFit=D(this.imageElements[0],"globalblur"),this.editorBlur=D(this.imageElements[0],"bgblur"),i.push({item:this.imageElements[0],blur:this.blurFitMode?this.globalBlurFit:this.editorBlur})),i.length&&i.forEach((function(t){N(t.item,{margin:-2*t.blur+"px",padding:2*t.blur+"px"}),F(t.item.children[0],"filter","blur("+t.blur+"px)")}));var s=this.imageElements[0].querySelector("img");s.loading="eager",s.complete?this.onImageLoaded(s):(s.addEventListener("load",this.onImageLoaded.bind(this,s)),s.addEventListener("error",this.onImageLoaded.bind(this,s)))},t.prototype.onImageLoaded=function(t){"function"==typeof t.decode?(t.decode().then(this._resolve.bind(this)).catch(function(t){console.error(t),this._resolve()}.bind(this)),r(this._resolve.bind(this),50)):this._resolve()},t.prototype.fadeOut=function(){c.K.to(c.MW.B(this.imageElements),.3,{opacity:0})},t.prototype.onSlideDeviceChanged=function(){},t})),c.d("SmartSliderSlideBackgroundVideo",(function(){function t(t,i,s){!t.slider.parameters["background.video.mobile"]&&n2const.isPhone?B(s):n2const.isVideoAutoplayAllowed()?(this.slide=t,this.slider=t.slider,this.background=i,this.video=s,this.isReady=!1,this.state={ready:!1,scroll:!1,slide:!1,ended:!1},this.promise=!1,i.elements.image?this.slider.visible(this.load.bind(this)):this.load()):B(s)}return t.prototype.load=function(){if(this.video.videoWidth>0)this.onReady();else{at(this.video,"error",this.onError.bind(this)),at(this.video,"canplay",this.onReady.bind(this)),at(this.video,"loadedmetadata",this.onReady.bind(this)),this.video.loop||at(this.video,"ended",this.onEnded.bind(this));var t=function(){r(function(){0===this.video.networkState&&this.onError()}.bind(this),100)}.bind(this);this.video.n2LoadStarted===o?at(this.video,"loadstart",t):t(),this.video.load(),this.safePlay()}},t.prototype.getLoadPromise=function(){return!0},t.prototype.onReady=function(e){this.isReady||(this.isReady=!0,this.safePause(),this.slider.ready(function(){this.setState("ready",!0,!0)}.bind(this)),this.slider.stages.done("BeforeShow",function(){this.slide.isActiveWhen()&&this.setState("slide",!0,!0)}.bind(this)),at(this.slider.sliderElement,"mainAnimationStart",function(e){this.setState("slide",this.slide.isActiveWhen(this.slider.slides[e.detail.currentSlideIndex]),!0)}.bind(this)),at(this.slider.sliderElement,"mainAnimationComplete",function(e){this.setState("slide",this.slide.isActiveWhen(this.slider.slides[e.detail.currentSlideIndex]),!0)}.bind(this)),at(this.slider.sliderElement,"CurrentSlideChanged",function(e){this.setState("slide",this.slide.isActiveWhen(e.detail.currentSlide),!0)}.bind(this)),D(this.video,"resetSlideChange")&&at(this.slider.sliderElement,"mainAnimationComplete",function(e){this.video.currentTime>0&&-1===this.slider.getVisibleSlides(this.slider.slides[e.detail.currentSlideIndex]).indexOf(this.slide)&&(this.video.currentTime=0,this.setState("ended",!1,!0))}.bind(this)),c.ScrollTracker.add(this.slide.element,"not-visible",function(){this.setState("scroll",!0,!0)}.bind(this),function(){this.setState("scroll",!1,!0)}.bind(this))),e&&"canplay"!==e.type||this.background.fadeOut()},t.prototype.onError=function(){B(video)},t.prototype.safeCallback=function(t){this.promise&&Promise!==o?this.promise.then(t).catch(t):t()},t.prototype.safePlay=function(){this.safeCallback(function(){this.promise=this.video.play(),this.promise&&Promise!==o&&this.promise.catch(function(e){if("NotAllowedError"===e.name)var t=function(){ot(i),!1!==this.promise&&this.safePlay()}.bind(this),i=[rt(n,"click",t),rt(n,"touchend",t)]}.bind(this))}.bind(this))},t.prototype.safePause=function(){this.safeCallback(function(){this.video.pause(),this.promise=!1}.bind(this))},t.prototype.onEnded=function(){this.setState("ended",!0,!0)},t.prototype.setState=function(t,i,s){s=s||!1,this.state[t]=i,s&&(this.state.ready&&!this.state.ended&&this.state.slide&&this.state.scroll?(this.safePlay(),ht(this.video,"n2playvideo")):this.safePause())},t})),c.d("SmartSliderSlideBackground",(function(){function t(t,i,s){this.types=this.types||{color:"SmartSliderSlideBackgroundColor",image:"SmartSliderSlideBackgroundImage",video:"SmartSliderSlideBackgroundVideo"},this.width=0,this.height=0,this.slide=t,this.element=i,this.manager=s,this.readyPromise=new Promise(function(t){this.readyPromiseResolve=t}.bind(this)),this.promise=new Promise(function(t){this.resolve=function(){t(),delete this.resolve}.bind(this)}.bind(this))}return t.prototype.preloadOnce=function(){if(!this.elements){this.elements={color:!1,image:!1,video:!1},this.currentSrc="",this.mode=D(this.element,"mode"),this.opacity=D(this.element,"opacity");var t=this.element.querySelectorAll(".n2-ss-slide-background-image");t.length&&(this.elements.image=new c[this.types.image](this.slide,this.manager,this,t),this.elements.image.preLoad());var i=this.element.querySelector(".n2-ss-slide-background-color");i&&(this.elements.color=new c[this.types.color](this,i));var s=this.element.querySelector(".n2-ss-slide-background-video");s&&(this.elements.video=new c[this.types.video](this.slide,this,s));var h=this.slide.slider.parameters.backgroundParallax;h&&h.strength>0&&!(n2const.isPhone&&!h.mobile||n2const.isTablet&&!h.tablet)&&this.hasBackground()&&(this.slide.slider.stages.done("BeforeShow",function(){this.startFixed(h)}.bind(this)),this.manager.hasFixed=!0),this.readyPromiseResolve(),delete this.readyPromiseResolve,delete this.readyPromise;var n=[];for(var o in this.elements)this.elements[o]&&n.push(this.elements[o].getLoadPromise());Promise.all(n).then(this.resolve)}},t.prototype.onReady=function(t){this.readyPromise?this.readyPromise.then(t):t()},t.prototype.preLoad=function(){return this.preloadOnce(),this.promise},t.prototype.fadeOut=function(){this.hasImage()&&this.elements.image.fadeOut()},t.prototype.hasColor=function(){return this.elements&&this.elements.color},t.prototype.hasImage=function(){return this.elements&&this.elements.image},t.prototype.hasVideo=function(){return this.elements&&this.elements.video},t.prototype.hasBackground=function(){return this.elements&&(this.elements.color||this.elements.image||this.elements.video)},t.prototype.onSlideDeviceChanged=function(t){this.hasImage()&&this.elements.image.onSlideDeviceChanged(t)},t.prototype.startFixed=function(t){this.slide.slider.started(function(){navigator.userAgent.match(/^((?!chrome|android).)*safari/i)||c.FixedBackground.addElement(this.element,t)}.bind(this))},t})),c.d("FrontendComponentCommon",["FrontendComponent"],(function(){function t(t,i,s,h){this.wraps={},this.skipSelfAnimation=!1,c.FrontendComponent.prototype.constructor.apply(this,arguments)}return t.prototype=Object.create(c.FrontendComponent.prototype),t.prototype.constructor=t,t.prototype.init=function(t){this.stateCBs=[],this.state={InComplete:!1};var i=this.layer.querySelector(":scope > .n2-ss-layer-mask");switch(i&&(this.wraps.mask=i),D(this.layer,"pm")){case"absolute":this.placement=new c.FrontendPlacementAbsolute(this);break;case"normal":this.placement=new c.FrontendPlacementNormal(this);break;case"content":this.placement=new c.FrontendPlacementContent(this);break;default:this.placement=new c.FrontendPlacementDefault(this)}this.animations=D(this.layer,"animv2"),c.FrontendComponent.prototype.init.call(this,t)},t.prototype.setState=function(t,i){this.state[t]=i;for(var s=0;s<this.stateCBs.length;s++)this.stateCBs[s].call(this,this.state)},t.prototype.addStateCallback=function(t){this.stateCBs.push(t),t.call(this,this.state)},t.prototype.start=function(){this.placement.start(),c.FrontendComponent.prototype.start.call(this);var t=parseFloat(this.get("rotation"));t&&(c.MW.i(this.layer).layerRotation=t)},t.prototype.onDeviceChange=function(t){c.FrontendComponent.prototype.onDeviceChange.call(this,t);for(var i=0;i<this.children.length;i++)this.children[i].onDeviceChange(t);this.placement.onDeviceChange(t),this.onAfterDeviceChange(t)},t.prototype.onAfterDeviceChange=function(t){},t.prototype.onResize=function(t,i){c.FrontendComponent.prototype.onResize.apply(this,arguments),this.placement.onResize(t,i),this.animationManager&&this.animationManager.onResize()},t.prototype.hasLayerAnimation=function(){return this.animationManager!==o},t.prototype.getAnimatableElement=function(){if(!this.ft){this.ft=this.layer;var t=D(this.layer,"animatableselector");t&&(this.ft=this.ft.querySelector(t),this.ft.relatedLayer=this.ft)}return this.ft},t.prototype.createLayerAnimations=function(t,i){var s=[];if(!n2const.isBot){if(!this.skipSelfAnimation){var h=new c.FrontendLayerAnimationManager(this,this.layer,this.getAnimatableElement(),this.slide.getPerspective());h.setEventBased(this.slide.realSlide,t,i),h.hasAnimation()?(this.animationManager=h,s.push(h)):this.setState("InComplete",!0)}s.push.apply(s,c.FrontendComponent.prototype.createLayerAnimations.call(this,t,i))}return s},t.prototype.getParallaxNodes=function(){var t=[];return this.isVisible&&(D(this.layer,"ssparallax")&&t.push(this.layer),t.push.apply(t,c.FrontendComponent.prototype.getParallaxNodes.call(this))),t},t.prototype.addWrap=function(t,i){return this.wraps[t]===o&&(this.wraps[t]=i),i},t.prototype.getContents=function(){return[]},t})),c.d("FrontendComponent",(function(){function t(t,i,s,h){this.device="",this.children=[],this.slide=t,this.parent=i,this.layer=s,s.layer=this,this.isVisible=!0,this.init(h)}return t.prototype.init=function(t){if(t)for(var i=0;i<t.length;i++){var s=t[i];switch(D(s,"sstype")){case"content":this.children.push(new c.FrontendComponentContent(this.slide,this,s));break;case"row":this.children.push(new c.FrontendComponentRow(this.slide,this,s));break;case"col":this.children.push(new c.FrontendComponentCol(this.slide,this,s));break;default:this.children.push(new c.FrontendComponentLayer(this.slide,this,s))}}this.slide.slider.isAdmin||this.initEvents()},t.prototype.start=function(){for(var t=0;t<this.children.length;t++)this.children[t].start()},t.prototype.onDeviceChange=function(t){this.device=t},t.prototype.onResize=function(t,i){for(var s=0;s<this.children.length;s++)this.children[s].onResize(t,i)},t.prototype.getDevice=function(t,i){var s=D(this.layer,this.device+t);return s!==o?s:"desktopportrait"!==this.device?D(this.layer,"desktopportrait"+t):i!==o?i:0},t.prototype.get=function(t){return D(this.layer,t)},t.prototype.initEvents=function(){this.initEvent("click","click"),this.initEvent("mouseenter","mouseenter"),this.initEvent("mouseleave","mouseleave"),this.initEvent("play","n2play"),this.initEvent("pause","n2pause"),this.initEvent("stop","n2stop")},t.prototype.initEvent=function(t,i){var s=this.layer,h=D(s,t);if(h){var n=D(s,"animatableselector");n&&(s=s.querySelector(n)),s.addEventListener(i,function(t,e){eval(t)}.bind(this,h)),"click"===i&&(s.style.cursor="pointer")}},t.prototype.getAnimatableElement=function(){return null},t.prototype.createLayerAnimations=function(t,i){for(var s=[],h=0;h<this.children.length;h++)s.push.apply(s,this.children[h].createLayerAnimations(t,i));return s},t.prototype.getParallaxNodes=function(){for(var t=[],i=0;i<this.children.length;i++)t.push.apply(t,this.children[i].getParallaxNodes());return t},t})),c.d("FrontendSlideControls",(function(){function t(t,i){this.slider=t,this.element=i,this.element.ssSlide=this,this.status=new c.SlideStatus}return t.prototype.isCurrentlyEdited=function(){return this._isCurrentlyEdited},t.prototype.is=function(t){return this===t},t.prototype.h=function(t,i){nt(this.element,t,i)},t.prototype.isVisibleWhen=function(t){return!0},t.prototype.isActiveWhen=function(t){return!0},t.prototype.isStatic=function(){return!1},t.prototype.initLayerAnimations=function(){this.isCurrentlyEdited()||(this.status.set("INITIALIZED"),this.playOnce=!this.slider.isAdmin&&this.slider.parameters.layerMode.playOnce,this.refreshTimelines(),this.isStatic()?this.slider.visible(function(){this.playIn()}.bind(this)):this.playOnce||at(this.element,"mainAnimationStartInCancel",this.reset.bind(this)))},t.prototype.setDevice=function(t){if(!this.isCurrentlyEdited())for(var i=0;i<this.layerAnimations.length;i++)this.layerAnimations[i].setDevice(t)},t.prototype.resize=function(t){this.isCurrentlyEdited()||this.animationsRefreshRatios(t)},t.prototype.animationsRefreshRatios=function(t){for(var i=0;i<this.layerAnimations.length;i++)this.layerAnimations[i].refreshRatio(t.slideW,t.slideH)},t.prototype.refreshTimelines=function(){this.slider.isAdmin||!1===this.slider.disabled.layerAnimations?this.layerAnimations=this.component.createLayerAnimations(this.slider.responsive.ratios.slideW,this.slider.responsive.ratios.slideH):this.layerAnimations=[]},t.prototype.playIn=function(){if(this.status.is("INITIALIZED")){this.status.set("PLAYING"),this.onPlay();for(var t=0;t<this.layerAnimations.length;t++)this.layerAnimations[t].play();ht(this.element,"layerAnimationPlayIn")}else this.status.is("SUSPENDED")&&this.unsuspend()},t.prototype.onPlay=function(){},t.prototype.playSpecialEventOnlySetToZero=function(){if(this.status.is("INITIALIZED"))for(var t=0;t<this.layerAnimations.length;t++)this.layerAnimations[t].playSpecialEventOnlySetToZero()},t.prototype.playSpecialEventOnly=function(){if(this.status.is("INITIALIZED")){this.status.set("PLAYING");for(var t=0;t<this.layerAnimations.length;t++)this.layerAnimations[t].playSpecialEventOnly();ht(this.element,"layerAnimationPlayIn")}},t.prototype.playOut=function(){if(this.status.is("PLAYING")){for(var t=[],i=0;i<this.layerAnimations.length;i++)this.layerAnimations[i].beforeMainSwitch(t);Promise.all(t).then(this.onOutAnimationsPlayed.bind(this))}else this.onOutAnimationsPlayed()},t.prototype.onOutAnimationsPlayed=function(){this.playOnce?this.status.set("ENDED"):this.status.set("INITIALIZED"),ht(this.element,"layerAnimationCompleteOut")},t.prototype.suspend=function(){for(var t=0;t<this.layerAnimations.length;t++)this.layerAnimations[t].suspend();this.status.set("SUSPENDED")},t.prototype.unsuspend=function(){if(this.status.is("SUSPENDED")){for(var t=0;t<this.layerAnimations.length;t++)this.layerAnimations[t].unsuspend();this.status.set("PLAYING")}},t.prototype.reset=function(){if(this.layerAnimations){for(var t=0;t<this.layerAnimations.length;t++)this.layerAnimations[t].reset();this.status.set("INITIALIZED")}},t.prototype.getPerspective=function(){return this.slider.getPerspective()},t})),c.d("FixedBackground",(function(){var t=function(){if(!navigator.userAgent.match(/iphone|ipod|ipad|android/i))return(t=function(){return i.innerHeight})();var s,n=Math.abs(i.orientation),o={w:0,h:0};return(s=v()).style.position="fixed",s.style.height="100vh",s.style.width=0,s.style.top=0,h.appendChild(s),o.w=90===n?s.offsetHeight:i.innerWidth,o.h=90===n?i.innerWidth:s.offsetHeight,h.removeChild(s),s=null,(t=function(){return 90!==Math.abs(i.orientation)?o.h:o.w})()};return{_windowHeight:0,isStarted:!1,elements:[],listeners:[],start:function(){return!this.isStarted&&(this.resize(),this.listeners.push(rt(i,"load",this.resize.bind(this))),this.listeners.push(rt(i,"resize",this.resize.bind(this))),this.listeners.push(rt(i,"orientationchange",this.resize.bind(this))),this.listeners.push(rt(s,"scroll",this.render.bind(this),{capture:!0,passive:!0})),this.isStarted=!0,!0)},end:function(){this.isStarted&&(ot(this.listeners),this.isStarted=!1)},addElement:function(t,i){var s={animated:t,animatedSMW:c.MW.i(t),parent:t.parentNode,data:i,y:0};this.elements.push(s),s.animatedSMW.backfaceVisibility="hidden",s.animatedSMW["will-change"]="transform",this.start()||this.renderElement(s)},removeElement:function(t){for(var i=0;i<this.elements.length;i++)if(this.elements[i].animated===t){this.elements.splice(i,1);break}0===this.elements.length&&this.end()},resize:function(){this.windowHeight=t(),this.render()},render:function(){for(var t=0;t<this.elements.length;t++)this.renderElement(this.elements[t])},renderElement:function(t){var i=t.parent.getBoundingClientRect(),s=0;if(i.top<0||i.height>this.windowHeight?s=i.top/i.height:i.bottom>this.windowHeight&&(s=(i.bottom-this.windowHeight)/i.height),s<=1&&s>=-1){var h=Math.round(s*(-t.data.strength*i.height))||0;t.y!==h&&(this.setY(t.animatedSMW,h),t.y=h)}},setY:function(t,i){t.y=i}}})),c.d("LayerParallax",(function(){function t(t,i){this.ticking=!1,this.active=!1,this.mouseOrigin=!1,this.parallaxedNodes=[],this.parallaxedSlideNodes=null,this._scrollCallback=!1,this._listeners=[],this.firstStart=!0,this.parameters=S({mode:"scroll",origin:"slider",is3D:!1,animate:!0,scrollmove:"both"},i),/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&(this.parameters.is3D=!1,c.MW.X(t.sliderElement.querySelectorAll(".n2-ss-layers-container")).perspective="none"),this.x=this.y=0,this.levels={1:.01,2:.02,3:.05,4:.1,5:.2,6:.3,7:.4,8:.5,9:.6,10:.7},this.parameters.is3D&&(this.rotationX=this.rotationY=0,this.levelsDeg={1:2,2:6,3:10,4:15,5:20,6:25,7:30,8:35,9:40,10:45}),this.parameters.animate&&(this.render=this.animateRender),this.slider=t,this.sliderElement=t.sliderElement,this.lt=this.draw.bind(this)}return t.prototype.resize=function(){this.refreshSliderDimension()},t.prototype.refreshSliderDimension=function(){var t=this.sliderElement.getBoundingClientRect();this.dimensions={w2:t.width/2,h2:t.height/2,x:(t.x||t.left)+t.width/2,y:(t.y||t.top)+t.height/2}},t.prototype.enable=function(){this.active=!0,requestAnimationFrame(this.resize.bind(this)),this._listeners.push(rt(this.sliderElement,"SliderResize",this.resize.bind(this)));var t=-1,s=-1;switch(this.mouseX=!1,this.mouseY=!1,this.scrollY=!1,this.parameters.horizontal){case"mouse":this.mouseX=!0;break;case"mouse-invert":this.mouseX=!0,t=1}switch(this.parameters.vertical){case"mouse":this.mouseY=!0;break;case"mouse-invert":this.mouseY=!0,s=1;break;case"scroll":this.scrollY=!0,s=1;break;case"scroll-invert":this.scrollY=!0,s=-1}if((this.mouseX||this.mouseY)&&(this._listeners.push(rt(this.sliderElement,"mouseenter",this.mouseEnter.bind(this))),this._listeners.push(rt(this.sliderElement,"mousemove",this.mouseMove.bind(this,t,s))),this._listeners.push(rt(this.sliderElement,"mouseleave",this.mouseLeave.bind(this,!1))),this.sliderElement.matches(":hover")&&this.mouseEnter(!1)),this.scrollY){var h=-1,n=1;switch(this.parameters.scrollmove){case"bottom":s>0?n=0:h=0;break;case"top":s>0?h=0:n=0}this._scrollCallback=this.scroll.bind(this,s,h,n),this._listeners.push(rt(i,"scroll",this._scrollCallback,{capture:!0,passive:!0})),this._listeners.push(rt(i,"resize",this._scrollCallback))}},t.prototype.disable=function(){ot(this._listeners),this.active=!1},t.prototype.start=function(t){if(null!==this.parallaxedSlideNodes&&this.end(),this.firstStart){if(this.parallaxedStaticSlideNodes=[],this.slider.staticSlides)for(var i=0;i<this.slider.staticSlides.length;i++)this.parallaxedStaticSlideNodes=this.parallaxedStaticSlideNodes.concat(this.slider.staticSlides[i].getParallaxNodes());this.firstStart=!1}if(this.parallaxedSlideNodes=t.getParallaxNodes(),this.parallaxedNodes=this.parallaxedSlideNodes.concat(this.parallaxedStaticSlideNodes),this.parallaxedNodes.length){if(this.dt=c.MW.B(this.parallaxedNodes),this.parameters.is3D){var s=this.slider.getPerspective();s>0&&this.parallaxedNodes.forEach((function(t){c.MW.i(t.parentNode).perspective=s}))}this.active||this.enable(),this._scrollCallback&&this._scrollCallback()}else this.parallaxedNodes=null,this.parallaxedSlideNodes=null,this.active&&this.disable()},t.prototype.end=function(){switch(this.parameters.mode){case"mouse-scroll":this.mouseLeave(!0);break;case"scroll":break;default:this.mouseLeave(!0)}this.parallaxedNodes=null},t.prototype.mouseEnter=function(e){this.ticking||(c.l.add(this.lt),this.ticking=!0),this.refreshSliderDimension(),e&&"enter"===this.parameters.origin?this.mouseOrigin={x:e.clientX,y:e.clientY}:this.mouseOrigin=this.dimensions},t.prototype.mouseMove=function(t,i,e){!1!==this.mouseOrigin&&(this.mouseX&&(this.x=t*(e.clientX-this.mouseOrigin.x),this.parameters.is3D&&(this.rotationY=-this.x/this.dimensions.w2)),this.mouseY&&(this.y=i*(e.clientY-this.mouseOrigin.y),this.parameters.is3D&&(this.rotationX=this.y/this.dimensions.h2)))},t.prototype.mouseLeave=function(t){this.ticking&&(c.l.remove(this.lt),this.ticking=!1);var i={};this.mouseX&&(i.parallaxX=0),this.mouseY&&(i.parallaxY=0),this.parameters.is3D&&(i.parallaxRotationX=i.parallaxRotationY=0),c.K.to(t?c.MW.B(this.parallaxedSlideNodes):this.dt,2,i)},t.prototype.getScrollTopRecursive=function(t,i){return null===t||t.scrollTop===o?i:(i+=t.scrollTop,this.getScrollTopRecursive(t.parentNode,i))},t.prototype.scroll=function(t,s,h){this.refreshSliderDimension();var n=i.innerHeight,o=this.getScrollTopRecursive(this.sliderElement,0);0<this.dimensions.y+this.dimensions.h2&&n>this.dimensions.y-this.dimensions.h2&&(this.y=Math.max(s,Math.min(h,2*(this.dimensions.y+this.dimensions.h2)/(n+2*this.dimensions.h2)-1)),this.dimensions.y+o<n&&(this.y=Math.min(0,this.y)),this.y*=-t*this.dimensions.h2*4,this.parameters.is3D&&(this.rotationX=this.y/this.dimensions.h2),this.draw())},t.prototype.draw=function(){if(this.parallaxedNodes)for(var t=0;t<this.parallaxedNodes.length;t++){var i=D(this.parallaxedNodes[t],"ssparallax"),s=this.levels[i],h={};if(this.parameters.is3D){var n=this.levelsDeg[i];h.parallaxRotationX=this.rotationX*n,h.parallaxRotationY=this.rotationY*n}h.parallaxX=Math.round(this.x*s),h.parallaxY=Math.round(this.y*s),this.render(this.dt[t],h)}},t.prototype.render=function(t,i){t.setValues(i)},t.prototype.animateRender=function(t,i){c.K.to(t,.6,i)},t})),c.d("FrontendPlacement",(function(){function t(t){this.layer=t,this.linked=[]}return t.prototype.start=function(){},t.prototype.onDeviceChange=function(t){},t.prototype.vt=function(){if(this.linked.length){var t=this.layer.layer;this._sizePosition={left:t.offsetLeft,top:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}}},t.prototype.onResize=function(t,i){if(this.linked.length){this.vt();for(var s=0;s<this.linked.length;s++)this.linked[s].onResizeLinked(t,i)}},t.prototype.addLinked=function(t){this.linked.push(t)},t.prototype.isVisible=function(){return 1!=+D(this.layer.layer,"hide"+this.layer.device)},t.prototype.getPositionSize=function(){return S({},this._sizePosition)},t})),c.d("FrontendSliderSlide",["FrontendSliderSlideAbstract"],(function(){function t(t,i,s){this.slides=[this],this.playCount=0,c.FrontendSliderSlideAbstract.prototype.constructor.apply(this,arguments),this.id=D(i,"id"),this._slideFocus=i.querySelector(".n2-ss-slide--focus"),this.focusableElements=Array.from(i.querySelectorAll('a[href]:not([href=""]),link,button,input:not([type="hidden"]),select,textarea,audio[controls],video[controls],[tabindex]:not([tabindex="-1"])'));var h=A(i,"tabindex");("0"===h||+h>0)&&this.focusableElements.push(i),this.disableFocus(),this.background=!1,t.parameters.admin?this.minimumSlideDuration=0:(this.minimumSlideDuration=+D(i,"slideDuration"),this.minimumSlideDuration||(this.minimumSlideDuration=0)),this._isCurrentlyEdited=this.slider.parameters.admin&&i.classList.contains("n2-ss-currently-edited-slide"),this.isCurrentlyEdited()?(this.layer=i.querySelector('.n2-ss-layer[data-sstype="slide"]'),at(t.sliderElement,"SliderDeviceOrientation",function(){this.slider.visibleRealSlides.push(this),this.isVisible=!0,this.slider.responsive.visibleRealSlidesChanged=!0,this.h("Visible")}.bind(this))):(this.component=new c.FrontendComponentSectionSlide(this,t,i.querySelector('.n2-ss-layer[data-sstype="slide"]')),this.layer=this.component.layer)}t.prototype=Object.create(c.FrontendSliderSlideAbstract.prototype),t.prototype.constructor=t,t.prototype._setInside=function(t){this.isInside!==t&&(this.isInside=t,this.isCurrentlyEdited()||(t?this.status.is("SUSPENDED")&&this.unsuspend():!this.slider.parameters.layerMode.playOnce||this.playCount<1?this.reset():"skippable"===this.slider.parameters.layerMode.mode&&this.suspend()))};var i=!1;try{f("div").focus(Object.defineProperty({},"preventScroll",{get:function(){i=!0}}))}catch(t){}return t.prototype.focus=function(){i&&this._slideFocus.focus({preventScroll:!0})},t.prototype.allowFocus=function(){for(var t=0;t<this.focusableElements.length;t++)P(this.focusableElements[t],"tabindex",0);O(this.element,"aria-hidden")},t.prototype.disableFocus=function(){for(var t=0;t<this.focusableElements.length;t++)P(this.focusableElements[t],"tabindex",-1);P(this.element,"aria-hidden","true")},t.prototype.init=function(){var t=this.slider.findSlideBackground(this);t&&(this.slider.isAdmin?this.background=new c.SmartSliderSlideBackgroundAdmin(this,t,this.slider.backgrounds):this.background=new c.SmartSliderSlideBackground(this,t,this.slider.backgrounds)),this.element.ssSlideBackground=this.background},t.prototype.onDeviceChange=function(t){D(this.element,"hide"+kt(t))?!1!==this.isVisible&&(this.isVisible=!1,this.slider.responsive.visibleRealSlidesChanged=!0,this.h("Hidden")):(this.slider.visibleRealSlides.push(this),!0!==this.isVisible&&(this.isVisible=!0,this.slider.responsive.visibleRealSlidesChanged=!0,this.h("Visible")))},t.prototype.hasLayers=function(){return this.component.children.length>0},t.prototype.getParallaxNodes=function(){return this.component.getParallaxNodes()},t.prototype.hasBackgroundVideo=function(){return this.background.hasVideo()},t.prototype.hasLink=function(){return!!D(this.element,"haslink")},t.prototype.getLightboxImage=function(){return D(this.element,"lightboxImage")},t.prototype.onPlay=function(){this.playCount++},t})),c.d("FrontendSliderSlideAbstract",["FrontendSlideControls"],(function(){function t(t,i,s){c.FrontendSlideControls.prototype.constructor.call(this,t,i),this.slides=this.slides||[],this.group=this,this.originalIndex=s,this.index=s,this.localIndex=s,this.groupIndex=0,this.isVisible=!0,this.isInside=-1}for(var i in c.FrontendSlideControls.prototype)t.prototype[i]=c.FrontendSlideControls.prototype[i];return t.prototype.setIndex=function(t){for(var i=0;i<this.slides.length;i++)this.slides[i]._setIndex(t)},t.prototype._setIndex=function(t){this.localIndex=this.index=t},t.prototype.preLoad=function(){for(var t=[],i=0;i<this.slides.length;i++)t.push(this.slides[i]._preLoad());return Promise.all(t)},t.prototype._preLoad=function(){return this.element.querySelectorAll("[data-lazysrc]").forEach((function(t){P(t,"src",D(t,"lazysrc"))})),!this.background||this.background.preLoad()},t.prototype.setPrevious=function(t){this.previousSlide=t},t.prototype.getPrevious=function(){var t=this;do{t=t.previousSlide}while(t&&t!==this&&!t.isVisible);return t},t.prototype.setNext=function(t){this.nextSlide=t,t&&t.setPrevious(this)},t.prototype.getNext=function(){var t=this;do{t=t.nextSlide}while(t&&t!==this&&!t.isVisible);return t},t.prototype.getTitle=function(){return D(this.slides[0].element,"title")||""},t.prototype.getDescription=function(){return D(this.slides[0].element,"description")||""},t.prototype.getThumbnail=function(){var t=this.slides[0].element.querySelector(".n2-ss-slide-thumbnail");return t?A(t,"src"):""},t.prototype.hasLink=function(){return!1},t.prototype.setActive=function(){this.allowFocus(),j(this.element,"n2-ss-slide-active")},t.prototype.unsetActive=function(){this.disableFocus(),X(this.element,"n2-ss-slide-active")},t.prototype.setInside=function(t){for(var i=0;i<this.slides.length;i++)this.slides[i]._setInside(t)},t.prototype._setInside=function(t){},t.prototype.focus=function(){},t.prototype.allowFocus=function(){},t.prototype.disableFocus=function(){},t.prototype.isVisibleWhen=function(t){return-1!==this.slider.getVisibleSlides(t).indexOf(this)},t.prototype.isActiveWhen=function(t){return-1!==this.slider.getActiveSlides(t).indexOf(this)},t})),c.d("SlideStatus",(function(){var t={NOT_INITIALIZED:-1,INITIALIZED:0,READY_TO_START:1,PLAYING:2,ENDED:3,SUSPENDED:4};function i(){this.status=t.NOT_INITIALIZED}return i.prototype.set=function(i){this.status=t[i]},i.prototype.is=function(i){return this.status===t[i]},i})),c.d("FrontendSliderStaticSlide",["FrontendSlideControls"],(function(){function t(t,i){c.FrontendSlideControls.prototype.constructor.call(this,t,i),this.slides=[this],this.isVisible=!0,this._isCurrentlyEdited=this.slider.parameters.admin&&i.classList.contains("n2-ss-currently-edited-slide"),this.isCurrentlyEdited()?this.layer=i.querySelector('.n2-ss-layer[data-sstype="slide"]'):(this.component=new c.FrontendComponentSectionSlide(this,t,i.querySelector('.n2-ss-layer[data-sstype="slide"]')),this.layer=this.component.layer),this.init()}for(var i in c.FrontendSlideControls.prototype)t.prototype[i]=c.FrontendSlideControls.prototype[i];return t.prototype.isStatic=function(){return!0},t.prototype.init=function(){this.isCurrentlyEdited()||this.slider.stages.done("BeforeShow",function(){this.initLayerAnimations(),this.slider.visible(function(){this.isVisible&&this.playIn()}.bind(this))}.bind(this))},t.prototype.getParallaxNodes=function(){return this.component.getParallaxNodes()},t.prototype.onDeviceChange=function(t){D(this.element,"hide"+kt(t))?!1!==this.isVisible&&(this.isVisible=!1,this.h("Hidden")):!0!==this.isVisible&&(this.isVisible=!0,this.status.is("INITIALIZED")&&this.playIn(),this.h("Visible"))},t})),c.d("FrontendPlacementAbsolute",["FrontendPlacement"],(function(){var t=new class{constructor(){this.bt=new Set,this.yt=new Set,this._=this.O.bind(this)}add(t){this.bt.add(t)}invalidate(t){this.yt.add(t),1===this.yt.size&&c.l.add(this._)}O(){for(let t of this.yt)t.vt();for(let t of this.yt)t.onResizeSize();for(let t of this.yt)t.onResizePosition();this.yt.clear(),c.l.remove(this._)}};function i(t){this.parentLayer=!1,this.parentLayerPlacement=!1,c.FrontendPlacement.prototype.constructor.apply(this,arguments)}return i.prototype=Object.create(c.FrontendPlacement.prototype),i.prototype.constructor=i,i.prototype.start=function(){var i=this.layer.get("parentid");if(i){var h=s.getElementById(i);h&&(this.parentLayer=h.layer,this.parentLayerPlacement=this.parentLayer.placement,this.parentLayerPlacement.addLinked(this),this.onResize=function(){})}t.add(this)},i.prototype.isSingleAxis=function(){if(this.layer.parent instanceof c.FrontendComponentSectionSlide){if(!this.parentLayer)return!1;if(this.parentLayer.placement instanceof c.FrontendPlacementAbsolute)return!1}return!0},i.prototype.vt=function(){c.FrontendPlacement.prototype.vt.apply(this,arguments);var t=this.layer.layer.parentNode;this.wt={width:t.offsetWidth,height:t.offsetHeight}},i.prototype.onResizeSize=function(){var t=c.MW.i(this.layer.layer),i=this.gt.slideW,s=this.gt.slideH;this.isSingleAxis()&&(s=i);var h=i,n=s;parseInt(this.layer.get("responsivesize"))||(h=n=1);var o=this.getWidth(h),r="number"==typeof o,a=this.getHeight(n),u="number"==typeof a;this._sizePosition&&(r&&(this._sizePosition.width=o,u||(F(this.layer.layer,"width",o+"px"),this._sizePosition.height=this.layer.layer.offsetHeight)),u&&(this._sizePosition.height=a)),t.width=o+(r?"px":""),t.height=a+(u?"px":"")},i.prototype.onResizePosition=function(){var t=this.gt,i=this.layer.layer,s=c.MW.i(i),h=t.slideW,n=t.slideH;this.isSingleAxis()&&(n=h),parseInt(this.layer.get("responsiveposition"))||(h=n=1);var o=this.layer.getDevice("left")*h,r=this.layer.getDevice("top")*n,a=this.layer.getDevice("align"),u=this.layer.getDevice("valign");if(this.parentLayerPlacement&&this.parentLayerPlacement.isVisible()){var f=this.parentLayerPlacement.getPositionSize(),l={left:0,top:0};if(this.parentLayerPlacement instanceof c.FrontendPlacementAbsolute){var d=c.MW.i(this.parentLayerPlacement.layer.layer);f.left+=d.xAbs+d.xPAbs/100*f.width,f.top+=d.yAbs+d.yPAbs/100*f.height}switch(this.layer.getDevice("parentalign")){case"right":l.left=f.left+f.width;break;case"center":l.left=f.left+f.width/2;break;default:l.left=f.left}switch(this.layer.getDevice("parentvalign")){case"bottom":l.top=f.top+f.height;break;case"middle":l.top=f.top+f.height/2;break;default:l.top=f.top}switch(a){case"right":s.xAbs=Math.round(l.left+o),s.xPAbs=-100;break;case"center":s.xAbs=Math.round(l.left+o),s.xPAbs=-50;break;default:s.xAbs=Math.round(l.left+o),s.xPAbs=0}switch(u){case"bottom":s.yAbs=Math.round(l.top+r),s.yPAbs=-100;break;case"middle":s.yAbs=Math.round(l.top+r),s.yPAbs=-50;break;default:s.yAbs=Math.round(l.top+r),s.yPAbs=0}}else{var m,v;switch(a){case"right":m=!this.layer.slide.isStatic&&this.layer.parent instanceof c.FrontendComponentSectionSlide?this.St.slideWidth:this.wt.width,s.xAbs=Math.round(m+o),s.xPAbs=-100;break;case"center":m=!this.layer.slide.isStatic&&this.layer.parent instanceof c.FrontendComponentSectionSlide?this.St.slideWidth:this.wt.width,s.xAbs=Math.round(m/2+o),s.xPAbs=-50;break;default:s.xAbs=Math.round(o),s.xPAbs=0}switch(u){case"bottom":v=!this.layer.slide.isStatic&&this.layer.parent instanceof c.FrontendComponentSectionSlide?this.St.slideHeight:this.wt.height,s.yAbs=Math.round(v+r),s.yPAbs=-100;break;case"middle":v=!this.layer.slide.isStatic&&this.layer.parent instanceof c.FrontendComponentSectionSlide?this.St.slideHeight:this.wt.height,s.yAbs=Math.round(v/2+r),s.yPAbs=-50;break;default:s.yAbs=Math.round(r),s.yPAbs=0}}},i.prototype.onResize=function(i,s){this.isVisible()&&(this.gt=i,this.St=s,t.invalidate(this),c.FrontendPlacement.prototype.onResize.apply(this,arguments))},i.prototype.onResizeLinked=function(t,s){i.prototype.onResize.call(this,t,s)},i.prototype.getWidth=function(t){var i=this.layer.getDevice("width");return this.isDimensionPropertyAccepted(i)?i:i*t},i.prototype.getHeight=function(t){var i=this.layer.getDevice("height");return this.isDimensionPropertyAccepted(i)?i:i*t},i.prototype.isDimensionPropertyAccepted=function(t){return(t+"").match(/[0-9]+%/)||"auto"===t},i})),c.d("FrontendPlacementContent",["FrontendPlacement"],(function(){function t(t){c.FrontendPlacement.prototype.constructor.apply(this,arguments)}return t.prototype=Object.create(c.FrontendPlacement.prototype),t.prototype.constructor=t,t})),c.d("FrontendPlacementDefault",["FrontendPlacement"],(function(){function t(t){c.FrontendPlacement.prototype.constructor.apply(this,arguments)}return t.prototype=Object.create(c.FrontendPlacement.prototype),t.prototype.constructor=t,t})),c.d("FrontendPlacementNormal",["FrontendPlacement"],(function(){function t(t){c.FrontendPlacement.prototype.constructor.apply(this,arguments)}return t.prototype=Object.create(c.FrontendPlacement.prototype),t.prototype.constructor=t,t})),c.d("FrontendComponentCol",["FrontendComponentCommon"],(function(){function t(t,i,s){this.content=s.querySelector(".n2-ss-layer-col"),c.FrontendComponentCommon.prototype.constructor.call(this,t,i,s,this.content.querySelectorAll(":scope > .n2-ss-layer"))}return t.prototype=Object.create(c.FrontendComponentCommon.prototype),t.prototype.constructor=t,t.prototype.getContents=function(){return[this.content]},t})),c.d("FrontendComponentContent",["FrontendComponentCommon"],(function(){function t(t,i,s){this.content=s.querySelector(".n2-ss-section-main-content"),c.FrontendComponentCommon.prototype.constructor.call(this,t,i,s,this.content.querySelectorAll(":scope > .n2-ss-layer"))}return t.prototype=Object.create(c.FrontendComponentCommon.prototype),t.prototype.constructor=t,t.prototype.getContents=function(){return[this.content]},t})),c.d("FrontendComponentLayer",["FrontendComponentCommon"],(function(){function t(t,i,s){c.FrontendComponentCommon.prototype.constructor.call(this,t,i,s);var h=s;this.wraps.mask&&(h=this.wraps.mask),this.item=h.querySelectorAll(":scope > *")}return t.prototype=Object.create(c.FrontendComponentCommon.prototype),t.prototype.constructor=t,t.prototype.getContents=function(){return this.item},t})),c.d("FrontendComponentRow",["FrontendComponentCommon"],(function(){function t(t,i,s){this.row=s.querySelector(".n2-ss-layer-row"),this.rowInner=s.querySelector(".n2-ss-layer-row-inner"),c.FrontendComponentCommon.prototype.constructor.call(this,t,i,s,this.rowInner.querySelectorAll(":scope > .n2-ss-layer"))}return t.prototype=Object.create(c.FrontendComponentCommon.prototype),t.prototype.constructor=t,t.prototype.getContents=function(){return[this.row]},t})),c.d("FrontendComponentSectionSlide",["FrontendComponent"],(function(){function t(t,i,s){this.realSlide=t,this.slider=i,this.element=t.element,this.layer=s,this.isStatic=t.isStatic(),c.FrontendComponent.prototype.constructor.call(this,this,this,s,s.querySelectorAll(":scope > .n2-ss-layer")),at(i.sliderElement,"SliderDeviceOrientation",function(e){this.onDeviceChange(e.detail.device.toLowerCase())}.bind(this)),at(i.sliderElement,"SliderResize",function(e){this.onResize(e.detail.ratios,e.detail.responsive.resizeContext)}.bind(this)),this.start()}return t.prototype=Object.create(c.FrontendComponent.prototype),t.prototype.constructor=t,t.prototype.onDeviceChange=function(t){c.FrontendComponent.prototype.onDeviceChange.call(this,t);for(var i=0;i<this.children.length;i++)this.children[i].onDeviceChange(t);this.realSlide.onDeviceChange(t)},t.prototype.getPerspective=function(){return this.slider.getPerspective()},t})),c.d("FrontendLayerAnimationManager",(function(){function t(s,h,n,o){this.status=new c.AnimationStatus,this.inStatus=!1,this.loopStatus=!1,this.outStatus=!1,this.namespace="n2-ss-animations-"+t.index++,this.hasSpecialEvent=!1,this.linear=!1,this.layer=s,this.layerElement=h,this.options={repeatable:0,startDelay:0,endDelay:0,loopRepeatSelfOnly:0,inPlayEvent:"",loopPlayEvent:"",loopPauseEvent:"",loopStopEvent:"",outPlayEvent:""},this.promises={in:new c.AnimationPromise(this,"IN"),loop:new c.AnimationPromise(this,"LOOP"),out:new c.AnimationPromise(this,"OUT"),reset:function(){this.in.reset(),this.loop.reset(),this.out.reset()}},this.animatableElement=n,this.perspective=o,this.perspective>0&&(c.MW.i(this.layerElement.parentNode).perspective=this.perspective),this.plugins=new i}function i(){this.keys=["basic","reveal"],this.basic=o,this.reveal=o}return t.index=1,t.optimizeFromTo=function(t,i,s,h,n,o){t.fromTo(i,s,h,n,o)},t.prototype.hasAnimation=function(){return this.inStatus||this.loopStatus||this.outStatus},t.prototype.collectRelatedAnimations=function(){this.relatedAnimations={needInvalidate:!1,setDevice:[],updateRatios:[],in:[],loop:[],out:[],other:[]};for(var t=0;t<i.keys.length;t++){var s=i.keys[t];this.options[s]&&(this.plugins[s]||this.plugins.initPlugin(s,this.layerElement,this.animatableElement),this.plugins[s].collectRelatedAnimations(this.relatedAnimations,this,this.options[s]))}ut(this.layerElement,"collectRelatedAnimations",{relatedAnimations:this.relatedAnimations})},t.prototype.needInvalidate=function(){this.relatedAnimations.needInvalidate=!0},t.prototype.onStageReached=function(t){"loop"===t&&this.loopStatus&&this.loop.play(),ht(this.layerElement,t.charAt(0).toUpperCase()+t.slice(1)+"Started")},t.prototype.setEventBased=function(t,i,s){this.slide=t,this.horizontalRatio=i,this.verticalRatio=s;var h=D(this.layerElement,"animv2");h&&("object"!=typeof h?this.setOptions(JSON.parse(h)):this.setOptions(h)),this.device=this.slide.slider.responsive.getDeviceMode(),this.collectRelatedAnimations(),this.options.repeatable&&""===this.options.inPlayEvent&&(this.options.inPlayEvent="layerAnimationPlayIn,OutComplete",""===this.options.loopPlayEvent&&(this.options.loopPlayEvent="InComplete"),""===this.options.outPlayEvent&&(this.options.outPlayEvent="LoopComplete")),""===this.options.outPlayEvent?"forced"===this.slide.slider.parameters.layerMode.mode?this.options.outPlayEvent="OutForced":this.options.outPlayEvent="LoopComplete":this.options.outPlayEvent.match(/OutForced/)?this.options.outPlayEvent="OutForced":this.options.outPlayEvent.match(/^(.*?,|.*? )?InstantOut(,.*?| .*?)?$/)&&(this.options.outPlayEvent="LoopComplete"),""===this.options.inPlayEvent&&(this.options.inPlayEvent="layerAnimationPlayIn"),""===this.options.loopPlayEvent&&(this.options.loopPlayEvent="InComplete"),this.buildTimeline()?(this.updateRatios(i,s),this.inStatus?(this.hasSpecialEvent||this.options.inPlayEvent.match("layerAnimationPlayIn")||(this.hasSpecialEvent=!0),this.options.inPlayEvent.match("OutComplete")?this.promises.in.forceResolve():this.subscribeEvent(this.options.inPlayEvent,function(){this.status.suspended()||(this.status.is("INITIALIZED_PLAYING")||this.status.is("IN_WAIT")?(this.promises.in.resolveAndCheck(),delete this.targetStage):(this.status.isLoop()||this.status.isOut()||this.targetStage!==o&&"in"!==this.targetStage)&&(this.status.isIn()?delete this.targetStage:this.targetStage="in"))}.bind(this))):(this.promises.in.forceResolve(),r(function(){ht(this.layerElement,"layerAnimationPlayLoop")}.bind(this),1)),this.loopStatus?(this.options.loopPlayEvent.match("InComplete")?this.promises.loop.forceResolve():(this.hasSpecialEvent||(this.hasSpecialEvent=!0),this.subscribeEvent(this.options.loopPlayEvent,function(){this.status.suspended()||(this.status.is("LOOP_WAIT")?this.promises.loop.resolveAndCheck():this.status.is("LOOP_PAUSED")&&this.loop.resume())}.bind(this))),""!==this.options.loopPauseEvent&&this.subscribeEvent(this.options.loopPauseEvent,this.loop.pause.bind(this.loop)),""!==this.options.loopStopEvent&&this.subscribeEvent(this.options.loopStopEvent,this.loop.requestEnd.bind(this.loop,!1))):(this.promises.loop.forceResolve(),this.subscribeEvent("InComplete",this.loopComplete.bind(this))),this.outStatus?this.options.outPlayEvent.match("LoopComplete")?this.promises.out.forceResolve():"OutForced"===this.options.outPlayEvent||(this.hasSpecialEvent=!0,this.subscribeEvent(this.options.outPlayEvent,function(){this.status.suspended()||(this.status.is("OUT_WAIT")?(this.promises.out.resolveAndCheck(),delete this.targetStage):this.status.is("LOOP_WAIT")?(this.promises.loop.resolve(),this.promises.out.resolve(),this.status.set("OUT_WAIT"),this.timeline.seek("OUT").play()):this.status.is("LOOP_PLAYING")||this.status.is("LOOP_PAUSED")?(this.promises.out.resolve(),this.loop.requestEnd(!0)):(this.status.isIn()||this.status.isLoop()||this.targetStage!==o&&"out"!==this.targetStage)&&(this.status.isOut()?delete this.targetStage:this.targetStage="out"))}.bind(this))):this.promises.out.forceResolve(),this.status.set("INITIALIZED")):this.status.set("DISABLED")},t.prototype.play=function(){!this.status.suspended()&&this.status.is("INITIALIZED")&&this.status.set("INITIALIZED_PLAYING"),this.timeline.play()},t.prototype.playSpecialEventOnlySetToZero=function(){this.hasSpecialEvent||("OutForced"===this.options.outPlayEvent?this.outStatus?(this.status.set("LOOP_WAIT"),this.timeline.seek("ZERO",!0)):(this.status.set("OUT_ENDED"),this.timeline.progress(1,!0)):(this.status.set("DISABLED"),this.timeline.progress(1,!0)))},t.prototype.playSpecialEventOnly=function(){this.hasSpecialEvent&&this.play()},t.prototype.setOptions=function(t){this.options=S(this.options,t)},t.prototype.buildTimeline=function(){if(!this.relatedAnimations.in.length&&!this.relatedAnimations.loop.length&&!this.relatedAnimations.out.length)return!1;var t;this.timeline=new c.J({paused:!0});var i=this.options.repeatable?this.options.startDelay:0;this.timeline.addLabel("IN",i),this.linear?this.timeline.set({},{},i):(this.timeline.addPause("+="+(.001+i),this.promises.in.wait.bind(this.promises.in)),this.promises.in.addPauseTween(this.timeline.recent()));var s=new c.J;for(t=0;t<this.relatedAnimations.in.length;t++)this.relatedAnimations.in[t].extendTimeline(s);s.totalDuration()?(this.linear||s.eventCallback("onComplete",this.inComplete.bind(this)),this.inStatus=!0,this.timeline.add(s)):(s.kill(),this.inStatus=!1),this.timeline.addLabel("ZERO","+=0.001"),this.loop=new c.AnimationsControllerLoop(this,this.layerElement),this.loopStatus=this.loop.buildTimeline(this.timeline);var h=new c.J;for(t=0;t<this.relatedAnimations.out.length;t++)this.relatedAnimations.out[t].extendTimeline(h);var n=this.options.repeatable?this.options.endDelay:0;return h.totalDuration()?(this.linear?h.set({},{},"+="+n):(this.timeline.addLabel("OUT","+=0.001"),this.timeline.addPause("+=0.002",this.promises.out.wait.bind(this.promises.out)),this.promises.out.addPauseTween(this.timeline.recent()),h.set({},{},"+="+n),h.eventCallback("onComplete",this.outComplete.bind(this))),this.outStatus=!0,this.timeline.add(h)):(h.kill(),this.outStatus=!1,this.timeline.addLabel("OUT","+=0.001"),this.timeline.set({},{onComplete:this.outComplete.bind(this)},"+="+n)),this.hasAnimation()},t.prototype.setDevice=function(t){if(this.device=t,this.relatedAnimations.setDevice.length>0)for(var i=0;i<this.relatedAnimations.setDevice.length;i++)this.relatedAnimations.setDevice[i].setDevice(t)},t.prototype.updateRatios=function(t,i){if(this.horizontalRatio=t,this.verticalRatio=i,this.relatedAnimations.updateRatios.length>0)for(var s=0;s<this.relatedAnimations.updateRatios.length;s++)this.relatedAnimations.updateRatios[s].updateRatios(t,i)},t.prototype.refreshRatio=function(t,i){if(this.updateRatios(t,i),this.relatedAnimations.needInvalidate){var s=this.timeline.time();this.timeline.invalidate(),this.timeline.progress(1,!0),this.timeline.time(s,!0)}},t.prototype.setLinear=function(t,i,s,h){return this.linear=!0,this.horizontalRatio=s,this.verticalRatio=h,this.setOptions(t.animations.getData()),this.device=i,this.collectRelatedAnimations(),this.buildTimeline(),this.updateRatios(s,h),!!this.relatedAnimations.other.length||this.hasAnimation()},t.prototype.resetToEditor=function(){this.plugins.resetToEditor(),ht(this.layerElement,"AnimationSetZero")},t.prototype.inComplete=function(){this.status.set("IN_ENDED"),this.layer.setState("InComplete",!0),this.outStatus&&this.targetStage!==o&&(this.promises.loop.resolve(),this.promises.out.resolve(),this.status.set("OUT_WAIT"),this.timeline.seek("OUT").play()),ht(this.layerElement,"InComplete"),r(function(){ht(this.layerElement,"layerAnimationPlayLoop")}.bind(this),1)},t.prototype.loopComplete=function(){1!==this.options.loopRepeatSelfOnly||this.status.is("LOOP_ENDING_FORCED")?(this.status.set("LOOP_ENDED"),this.targetStage!==o&&(this.promises[this.targetStage].resolve(),delete this.targetStage),ht(this.layerElement,"LoopComplete")):(this.promises.loop.reset(),this.loop.resetForReplay(),this.status.set("IN_ENDED"),this.timeline.seek("ZERO"))},t.prototype.outComplete=function(){this.options.repeatable&&this.hasAnimation()?this.status.set("INITIALIZED"):this.status.set("OUT_ENDED"),ht(this.layerElement,"OutComplete"),this.status.is("INITIALIZED")&&this.repeat()},t.prototype.repeat=function(){this.loopStatus&&this.loop.resetForReplay(),this.promises.reset(),this.targetStage!==o&&(this.promises[this.targetStage].resolve(),delete this.targetStage),this.timeline.seek("IN"),this.timeline.timeScale(1)},t.prototype.beforeMainSwitch=function(t){this.status.is("DISABLED")||this.status.is("INITIALIZED")||this.status.is("INITIALIZED_PLAYING")||this.status.is("OUT_ENDED")?this.status.set("DISABLED"):this.hasSpecialEvent?ht(this.layerElement,"OutForced"):t.push(new Promise(function(t){ct(this.layerElement,"OutComplete",function(){this.status.set("DISABLED"),t()}.bind(this)),this.forcePlayOut()}.bind(this)))},t.prototype.forcePlayOut=function(){this.status.isIn()?ct(this.layerElement,"InComplete",function(){this.promises.out.resolve(),this.outStatus&&this.timeline.seek("OUT")}.bind(this)):this.status.is("LOOP_WAIT")?(this.promises.out.resolve(),this.timeline.play("OUT")):this.status.isLoop()?(this.promises.out.resolve(),this.loop.requestEnd(!0)):this.status.is("OUT_WAIT")?this.promises.out.resolveAndCheck():this.status.is("OUT_PAUSED")&&this.timeline.play()},t.prototype.reset=function(){this.loop&&this.loop.reset(),this.layer.setState("InComplete",!1),this.promises.reset(),this.status.suspended()&&this.status.suspended(!1),this.status.set("INITIALIZED"),this.timeline.progress(0,!0).progress(1,!0).pause(0)},t.prototype.suspend=function(){this.status.suspended()||(this.status.isPlaying()&&(this.status.isLoop()&&this.loop.suspend(),this.timeline.pause()),this.status.suspended(!0))},t.prototype.unsuspend=function(){this.status.suspended()&&(this.status.suspended(!1),this.status.isPlaying()&&(this.status.isLoop()&&this.loop.unsuspend(),this.timeline.play()))},t.prototype.subscribeEvent=function(t,i){for(var s=t.split(","),h=0;h<s.length;h++)if(s[h].length){var n=s[h].replace(/\s/g,"").split("."),o=s[h];switch(n[0]){case"InComplete":case"LoopComplete":case"OutComplete":case"LoopRoundComplete":case"layerAnimationPlayLoop":case"LayerClick":case"LayerMouseEnter":case"LayerMouseLeave":o.match(/^Layer/)&&(o=o.replace(/^Layer/,"").toLowerCase()),at(this.layerElement,o,i);break;case"mainAnimationStartIn":case"layerAnimationPlayIn":case"SlideMouseEnter":case"SlideMouseLeave":case"SlideClick":o.match(/^Slide/)&&(o=o.replace(/^Slide/,"").toLowerCase()),at(this.slide.element,o,i);break;case"SliderMouseEnter":case"SliderMouseLeave":case"SliderClick":o.match(/^Slider/)&&(o=o.replace(/^Slider/,"").toLowerCase()),at(this.slide.slider.sliderElement,o,function(e){this.slide.isVisibleWhen()&&i()}.bind(this));break;case"OutForced":at(this.layerElement,o,i);break;default:var c={killed:!1,do:0,cancel:0};at(this.slide.element,"ss"+o,function(t){t.do&&a(t.do),t.do=r((function(){t.killed||i(),t.killed=!1}),50)}.bind(this,c)),at(this.slide.element,"sscancel-"+o,function(t){t.killed=!0,t.cancel&&a(t.cancel),t.cancel=r((function(){t.killed=!1}),70)}.bind(this,c))}}},t.prototype.onResize=function(){this.plugins.onResize()},i.keys=["basic","reveal"],i.prototype.initPlugin=function(t,i,s){switch(t){case"basic":this.basic=new c.FrontendLayerAnimationsBasic(i,s);break;case"reveal":this.reveal=new c.FrontendLayerAnimationsReveal(i,s)}},i.prototype.resetToEditor=function(){this.basic&&this.basic.resetToEditor(),this.reveal&&this.reveal.resetToEditor()},i.prototype.onResize=function(){this.basic&&this.basic.onResize(),this.reveal&&this.reveal.onResize()},t})),c.d("AnimationPromise",(function(){function t(t,i){this.manager=t,this.status=t.status,this.stack=i,this._done=!1,this._resolved=!1,this._forced=!1,this.pauseTween=null,this.position=null}return t.prototype.addPauseTween=function(t){t.stack=this.stack,this.pauseTween=t,Object.defineProperty(this.pauseTween,"data",{get:function(){return this._resolved?"":"isPause"}.bind(this)}),this.position=t.startTime()},t.prototype.resolve=function(){this._resolved=!0},t.prototype.forceResolve=function(){this._forced=!0,this.resolve()},t.prototype.resolved=function(){return this._resolved},t.prototype.reset=function(){this._done=!1,this._forced||(this._resolved=!1)},t.prototype.wait=function(){this._done||(this._done=!0,this._resolved?(this.status.set(this.stack+"_PLAYING"),this.manager.onStageReached(this.stack)):(this.status.set(this.stack+"_WAIT"),this.manager.timeline.seek(this.position)))},t.prototype.resolveAndCheck=function(){this.resolve(),this._done&&!this.status.suspended()&&this.status.is(this.stack+"_WAIT")&&(this.status.set(this.stack+"_PLAYING"),this.manager.onStageReached(this.stack),this.manager.timeline.paused()&&this.manager.timeline.play())},t})),c.d("AnimationsRelated",(function(){function t(t,i){this._context=t,this._extendName=i}return t.prototype.extendTimeline=function(t,i,s){this._context[this._extendName].apply(this._context,arguments)},t})),c.d("AnimationStatus",(function(){var t={DISABLED:-1,NOT_INITIALIZED:0,INITIALIZED:1,INITIALIZED_PLAYING:10,IN_WAIT:100,IN_PLAYING:110,IN_PAUSED:120,IN_ENDED:190,LOOP_WAIT:200,LOOP_PLAYING:210,LOOP_PAUSED:220,LOOP_ENDING:230,LOOP_ENDING_FORCED:240,LOOP_ENDED:290,OUT_WAIT:300,OUT_PLAYING:310,OUT_PAUSED:320,OUT_ENDED:390};function i(){this._suspended=!1,this.status=0}return i.prototype.set=function(i){this.status=t[i]},i.prototype.is=function(i){return this.status===t[i]},i.prototype.isIn=function(){return this.status>=100&&this.status<200},i.prototype.isLoop=function(){return this.status>=200&&this.status<300},i.prototype.isOut=function(){return this.status>=300&&this.status<400},i.prototype.isPlaying=function(){return this.status%100==10},i.prototype.suspended=function(){return arguments.length&&(this._suspended=arguments[0]),this._suspended},i})),c.d("FrontendLayerAnimationsAbstract",(function(){function t(t,i){this.hasAnimation=!1,this.layerElement=t,this.animatableElement=i,this.It=c.MW.i(i),this.It.n2AutoAlpha=1}return t.prototype.onResize=function(){},t.prototype.resetToEditor=function(){},t})),c.d("FrontendLayerAnimationsBasic","FrontendLayerAnimationsAbstract",(function(){var t={opacity:1,x:0,y:0,z:0,rotationX:0,rotationY:0,rotationZ:0,scaleX:1,scaleY:1,skewX:0,n2blur:0};function i(t){return t.split("|*|").join("% ")+"px"}function s(i,s){this.device="desktopPortrait",c.FrontendLayerAnimationsAbstract.prototype.constructor.call(this,i,s),this.isAbsolute="absolute"===D(i,"pm"),this.At=!1,this.startValues=S({},t),this.hadImmediateRender=!1,this.horizontalRatio=this.verticalRatio=1,this._requireUpdateRatios=!1}s.prototype=Object.create(c.FrontendLayerAnimationsAbstract.prototype),s.prototype.constructor=s,s.prototype.updateRatios=function(t,i){this.horizontalRatio=t,this.verticalRatio=i},s.prototype.optimizeFromTo=function(t,i,s,h,n,o){this.hadImmediateRender?n.immediateRender=!1:this.hadImmediateRender=!0,c.FrontendLayerAnimationManager.optimizeFromTo(t,i,s,h,n,o)},s.prototype.resetToEditor=function(){this.hasAnimation&&this.setZero()},s.prototype.setStartValues=function(t){S(this.startValues,t),delete this.startValues.duration,delete this.startValues.delay,delete this.startValues.ease},s.prototype.setZero=function(){this.hasAnimation&&this.It.setValues(S({},t))},s.prototype.collectRelatedAnimations=function(i,s,h){if(this.device=s.device,this.animationManager=s,this.hasAnimation=!0,this.currentZero=Object.assign({},t),this.options={in:S({specialZero:0,transformOrigin:"50|*|50|*|0",keyFrames:[]},h.in),loop:S({repeatCount:0,repeatStartDelay:0,transformOrigin:"50|*|50|*|0",keyFrames:[]},h.loop),out:S({transformOrigin:"50|*|50|*|0",keyFrames:[]},h.out)},this.optimizeKeyFrames(),this.At&&i.other.push(this),this.options.in.keyFrames.length&&i.in.push(new c.AnimationsRelated(this,"extendTimelineIn")),this.options.loop.keyFrames.length){var n=new c.AnimationsLayerLoop(this,s,this.layerElement,this.It,this.options.loop);i.loop.push(n)}this.options.out.keyFrames.length&&i.out.push(new c.AnimationsRelated(this,"extendTimelineOut")),i.setDevice.push(this)},s.prototype.setDevice=function(t){this.device=t},s.prototype.requireUpdateRatios=function(){this._requireUpdateRatios||(this._requireUpdateRatios=!0,this.animationManager.needInvalidate(),this.animationManager.relatedAnimations.updateRatios.push(this),this.updateRatios(this.animationManager.horizontalRatio,this.animationManager.verticalRatio))},s.prototype.optimizeKeyFrames=function(){var t,s,h=this.options.in.keyFrames,n=this.options.loop.keyFrames,o=this.options.out.keyFrames;for(this.usedProperties={opacity:!1,x:!1,y:!1,z:!1,rotationX:!1,rotationY:!1,rotationZ:!1,scaleX:!1,scaleY:!1,skewX:!1,n2blur:!1},this.options.in.specialZero&&h.length>0&&(this.currentZero=this._fillKeyFrame(h.pop()),delete this.currentZero.name,delete this.currentZero.duration,delete this.currentZero.delay,delete this.currentZero.ease,this.currentZero.transformOrigin=i(this.options.in.transformOrigin),this.currentZero.rotationX=-this.currentZero.rotationX,this.currentZero.rotationY=-this.currentZero.rotationY,this.currentZero.rotationZ=-this.currentZero.rotationZ,this.At=!0,this.prepareDeviceSpecific(this.currentZero,1),this.setCurrentZero(),this.setStartValues(this.currentZero)),s=0;s<h.length;s++)t=h[s]=this._fillKeyFrame(h[s]),this.prepareDeviceSpecific(t,-1),t.z=-t.z,t.rotationX=-t.rotationX,t.rotationY=-t.rotationY,t.rotationZ=-t.rotationZ;for(s=0;s<n.length;s++)t=n[s]=this._fillKeyFrame(n[s]),this.prepareDeviceSpecific(t,1);for(s=0;s<o.length;s++)t=o[s]=this._fillKeyFrame(o[s]),this.prepareDeviceSpecific(t,1);for(this._cleanKeyFrame(this.currentZero),s=0;s<h.length;s++)h[s]=this._cleanKeyFrame(h[s]);for(s=0;s<n.length;s++)n[s]=this._cleanKeyFrame(n[s]);for(s=0;s<o.length;s++)o[s]=this._cleanKeyFrame(o[s])};var h={opacity:1,x:0,y:0,z:0,rotationX:0,rotationY:0,rotationZ:0,scaleX:1,scaleY:1,skewX:0,n2blur:0};s.prototype._fillKeyFrame=function(t){for(var i in h)t[i]!==o&&t[i]!=h[i]&&(this.usedProperties[i]=!0);return S({duration:.8,delay:0,ease:"easeOutCubic",opacity:1,x:0,y:0,z:0,rotationX:0,rotationY:0,rotationZ:0,scaleX:1,scaleY:1,skewX:0,n2blur:0},t)},s.prototype._cleanKeyFrame=function(t){for(var i in delete t.name,this.usedProperties)this.usedProperties[i]||delete t[i];return t};var n=["desktopLandscape","desktopPortrait","tabletLandscape","tabletPortrait","mobileLandscape","mobilePortrait"];return s.prototype.prepareDeviceSpecific=function(t,i){this.prepareDeviceSpecificProp("x",t,i),this.prepareDeviceSpecificProp("y",t,i),delete t.desktopLandscape,delete t.tabletLandscape,delete t.tabletPortrait,delete t.mobileLandscape,delete t.mobilePortrait},s.prototype.prepareDeviceSpecificProp=function(t,i,s){var h,r={desktopPortrait:i[t]*s},a=!1;for(h=0;h<n.length;h++)i[n[h]]&&i[n[h]][t]!==o&&(r[n[h]]=i[n[h]][t]*s,a=!0);this.isAbsolute?(this.requireUpdateRatios(),a?(this.animationManager.needInvalidate(),i[t]=function(t){return t[this.device]===o?t.desktopPortrait*this.horizontalRatio:t[this.device]*this.horizontalRatio}.bind(this,r)):0===r.desktopPortrait?i[t]=0:i[t]=function(t){return t*this.horizontalRatio}.bind(this,r.desktopPortrait)):a?(this.animationManager.needInvalidate(),i[t]=function(t){return t[this.device]===o?t.desktopPortrait:t[this.device]}.bind(this,r)):i[t]=r.desktopPortrait},s.prototype.extendTimelineIn=function(t){this.It.transformOrigin=i(this.options.in.transformOrigin),this.buildTimelineIn(t,this.options.in.keyFrames)},s.prototype.setCurrentZero=function(){var t=S({},this.currentZero);delete t.delay,delete t.duration,this.It.setValues(t)},s.prototype.buildTimelineIn=function(t,i){var s=0;if((i=I([],i)).length>0){var h=this._buildAnimationChainIn(i);if(h.length>0)for(var n=0;n<h.length;n++)this.optimizeFromTo(t,this.It,h[n].duration,h[n].from,h[n].to,s),s+=h[n].duration+h[n].to.delay;this.setStartValues(h[0].from)}},s.prototype._buildAnimationChainIn=function(t){for(var i=[{from:this.currentZero}],s=t.length-1;s>=0;s--){var h=I({},t[s]),n=h.delay,o=h.duration,r=h.ease;delete h.delay,delete h.duration,delete h.ease;var a=i[0].from;i.unshift({duration:o,from:h,to:S({},a,{ease:r,delay:n})})}return i.pop(),i},s.prototype.extendTimelineOut=function(t){t.set(this.It,{transformOrigin:i(this.options.out.transformOrigin),immediateRender:!1}),this.buildTimelineOut(t,this.options.out.keyFrames)},s.prototype.buildTimelineOut=function(t,i){var s=0;i=I([],i);var h=this._buildAnimationChainOut(i);if(h.length>0)for(var n=0;n<h.length;n++)this.optimizeFromTo(t,this.It,h[n].duration,h[n].from,h[n].to,s),s+=h[n].duration+h[n].to.delay},s.prototype._buildAnimationChainOut=function(t){var i=[],s=S({},this.currentZero);delete s.transformOrigin,i.push({to:s});for(var h=0;h<t.length;h++){var n=I({},t[h]),o=n.duration;delete n.duration;var r=S({},i[i.length-1].to);delete r.delay,delete r.ease,i.push({duration:o,from:r,to:n})}return i.shift(),i},s})),c.d("FrontendLayerAnimationsReveal","FrontendLayerAnimationsAbstract",(function(){var t={from:"top",fromease:"easeOutCubic",to:"bottom",toease:"easeOutCubic",content:"",duration:2,delay:0,color:"ffffff"};function i(t,i){c.FrontendLayerAnimationsAbstract.prototype.constructor.call(this,t,i)}return i.prototype=Object.create(c.FrontendLayerAnimationsAbstract.prototype),i.prototype.constructor=i,i.prototype.resetToEditor=function(){this.hasAnimation&&(this.in||this.out)&&(this._destroyGroup("in"),this._destroyGroup("out"),c.MW.Y(c.MW.i(this.revealedElement),["transform","opacity","n2AutoAlpha"]))},i.prototype.setZero=function(){this.hasAnimation&&(this.in||this.out)&&(this.in&&(this.in.clipSMW.visibility="hidden"),this.out&&(this.out.clipSMW.visibility="hidden"),c.MW.Y(c.MW.i(this.revealedElement),["transform","opacity","n2AutoAlpha"]))},i.prototype.collectRelatedAnimations=function(t,i,s){this.animationManager=i,this.in=!1,this.out=!1,s.in===o&&s.out===o||(this.hasAnimation=!0,this.revealedElement=this.animatableElement.querySelector(".n2-ss-layer-content,.n2-ss-layer-row,.n2-ss-item,.n2-ss-item-content"),this.revealedElement||(this.revealedElement=v()),s.in!==o&&(this.in=this._initGroup("in",s),t.in.push(new c.AnimationsRelated(this,"extendTimelineIn"))),s.out!==o&&(this.out=this._initGroup("out",s),t.out.push(new c.AnimationsRelated(this,"extendTimelineOut"))))},i.prototype._initGroup=function(i,s){var h=v();h.className="n2-ss-reveal-clip";var n={revealedElement:this.revealedElement,revealedElementSMW:c.MW.i(this.revealedElement),options:S({},t,s[i]),clip:h,clipSMW:c.MW.i(h)};return n.revealedElementSMW.n2AutoAlpha=1,this.animatableElement.appendChild(h),n},i.prototype._destroyGroup=function(t){this[t]&&(B(this[t].clip),delete this[t])},i.prototype.extendTimelineIn=function(t,i,s){c.FrontendLayerAnimationsRevealAnimation.in(t,this.in)},i.prototype.extendTimelineOut=function(t,i,s){c.FrontendLayerAnimationsRevealAnimation.out(t,this.out)},i.prototype.onResize=function(){this.in&&ht(this.in.clip,"RevealInternalResize"),this.out&&ht(this.out.clip,"RevealInternalResize")},i})),c.d("FrontendLayerAnimationsRevealAnimation",(function(){var t=function(t,i,s){var h,n;switch(t){case"curtains-horizontal":return h=v(),N(h,{width:"50%",background:"#"+s}),n=h.cloneNode(),F(n,"left","50%"),i.appendChild(h),i.appendChild(n),[h,n];case"curtains-vertical":return h=v(),N(h,{height:"50%",background:"#"+s}),n=h.cloneNode(),F(n,"top","50%"),i.appendChild(h),i.appendChild(n),[h,n];case"curtains-diagonal-1":var o=It("svg",{width:32,height:32,viewBox:"0 0 32 32",preserveAspectRatio:"none"},i);return[It("polygon",{points:"0,0 33,0 0,33",fill:"#"+s},o),It("polygon",{points:"32,32 32,-1 -1,32",fill:"#"+s},o)];case"curtains-diagonal-2":o=It("svg",{width:32,height:32,viewBox:"0 0 32 32",preserveAspectRatio:"none"},i);return[It("polygon",{points:"0,32 33,32 0,-1",fill:"#"+s},o),It("polygon",{points:"32,0 32,33 -1,0",fill:"#"+s},o)];case"circle-top":case"circle-right":case"circle-bottom":case"circle-left":h=v(),N(h,{"border-radius":"100%",background:"#"+s}),i.appendChild(h);var r=function(t,i,s){var h;switch(i){case"circle-top":case"circle-bottom":h=2*Math.ceil(Math.sqrt(s.width*s.width/4+s.height*s.height));break;case"circle-right":case"circle-left":h=2*Math.ceil(Math.sqrt(s.width*s.width+s.height*s.height/4))}N(t,{"margin-top":-h/2+"px","margin-left":-h/2+"px",width:h+"px",height:h+"px"})}.bind(this,h,t);switch(r(i.getBoundingClientRect()),at(i,"RevealInternalResize",function(t,i){i(t.getBoundingClientRect())}.bind(this,i,r)),t){case"circle-top":F(h,"left","50%");break;case"circle-right":N(h,{left:"100%",top:"50%"});break;case"circle-bottom":N(h,{left:"50%",top:"100%"});break;case"circle-left":F(h,"top","50%")}return[h]}return h=v(),F(h,"background","#"+s),i.appendChild(h),[h]},i=function(t,i,s,n,r,a){var c=h(r,a),u=t.totalDuration();c.length===o&&(c=[c]);for(var f=0;f<c.length;f++)c[f].a.transformOrigin&&(t.set(i[f],{transformOrigin:c[f].a.transformOrigin},u),delete c[f].a.transformOrigin),c[f].b.ease=n,t.fromTo(i[f],s,c[f].a,c[f].b,u)},s=function(t,i,s,n,r,a,c){var u=h(a,c);u.length===o&&(u=[u]);for(var f=0;f<u.length;f++)u[f].a.transformOrigin&&(t.set(i[f],{transformOrigin:u[f].a.transformOrigin},n),delete u[f].a.transformOrigin),u[f].a.ease=r,t.fromTo(i[f],s,u[f].b,u[f].a,n)},h=function(t,i){var s,h,n;switch(t){case"top":return{a:{yP:-100.1},b:{yP:0}};case"right":return{a:{xP:100.1},b:{xP:0}};case"bottom":return{a:{yP:100.1},b:{yP:0}};case"left":return{a:{xP:-100.1},b:{xP:0}};case"skew-top":return s=i.getBoundingClientRect(),h=20,n=Math.cos((90-h)*Math.PI/180)*s.width,{a:{y:-1*(s.height+n),skewY:-h},b:{y:0,skewY:0}};case"skew-right":return s=i.getBoundingClientRect(),h=20,n=Math.cos((90-h)*Math.PI/180)*s.height,{a:{x:s.width+n,skewX:-h},b:{x:0,skewX:0}};case"skew-bottom":return s=i.getBoundingClientRect(),h=20,n=Math.cos((90-h)*Math.PI/180)*s.width,{a:{y:s.height+n,skewY:h},b:{y:0,skewY:0}};case"skew-left":return s=i.getBoundingClientRect(),h=20,n=Math.cos((90-h)*Math.PI/180)*s.height,{a:{x:-1*(s.width+n),skewX:h},b:{x:0,skewX:0}};case"rotate-top-left":return{a:{rotationZ:-90,transformOrigin:"0 0"},b:{rotationZ:0}};case"rotate-top-left-":return{a:{rotationZ:90,transformOrigin:"0 0"},b:{rotationZ:0}};case"rotate-top-right":return{a:{rotationZ:90,transformOrigin:"100% 0"},b:{rotationZ:0}};case"rotate-top-right-":return{a:{rotationZ:-90,transformOrigin:"100% 0"},b:{rotationZ:0}};case"rotate-bottom-left":return{a:{rotationZ:90,transformOrigin:"0 100%"},b:{rotationZ:0}};case"rotate-bottom-left-":return{a:{rotationZ:-90,transformOrigin:"0 100%"},b:{rotationZ:0}};case"rotate-bottom-right":return{a:{rotationZ:-90,transformOrigin:"100% 100%"},b:{rotationZ:0}};case"rotate-bottom-right-":return{a:{rotationZ:90,transformOrigin:"100% 100%"},b:{rotationZ:0}};case"circle-top":return{a:{scale:0,transformOrigin:"50% 50%",yP:-5},b:{yP:0,scale:1}};case"circle-right":return{a:{scale:0,transformOrigin:"50% 50%",xP:5},b:{xP:0,scale:1}};case"circle-bottom":return{a:{scale:0,transformOrigin:"50% 50%",yP:5},b:{yP:0,scale:1}};case"circle-left":return{a:{scale:0,transformOrigin:"50% 50%",xP:-5},b:{xP:0,scale:1}};case"curtains-horizontal":return[{a:{xP:-100},b:{xP:0}},{a:{xP:100},b:{xP:0}}];case"curtains-vertical":return[{a:{yP:-100},b:{yP:0}},{a:{yP:100},b:{yP:0}}];case"curtains-diagonal-1":case"curtains-diagonal-2":return[{a:{xP:-100},b:{xP:0}},{a:{xP:100},b:{xP:0}}]}},n=function(t,i){var s={},h={};switch(t){case"fade":s={opacity:0},h={opacity:1};break;case"scale-up":s={scale:.7},h={scale:1};break;case"scale-down":s={scale:1.3},h={scale:1};break;case"top":s={yP:-100.1},h={yP:0};break;case"right":s={xP:100.1},h={xP:0};break;case"bottom":s={yP:100.1},h={yP:0};break;case"left":s={xP:-100.1},h={xP:0};break;default:return!1}return"out"===i?{from:h,to:s}:{from:s,to:h}};return{in:function(h,r){"no"!==r.options.from&&(r.revealedElementSMW.opacity=0);var a=new c.J,u="no"===r.options.from?1:2,f=r.options.duration/u;h.add(a),h.set(r.clipSMW,{visibility:"visible"},0);var l=c.MW.B(t(r.options.from,r.clip,r.options.color)),d=c.MW.B(t(r.options.to,r.clip,r.options.color));c.MW.t(l,{visibility:"hidden"}),a.set({},{},r.options.delay),"no"!==r.options.from?(c.MW.t(d,{visibility:"hidden"}),a.set(l,{visibility:"visible"}),i(a,l,f,r.options.fromease,r.options.from,r.clip),a.set(l,{visibility:"hidden"}),a.set(d,{visibility:"visible"})):r.clipSMW.visibility="visible";var m=a.totalDuration(),v=n(r.options.content,"in");v?(v.from.opacity===o&&a.set(r.revealedElementSMW,{opacity:1}),v.to.ease="easeOutCubic",a.fromTo(r.revealedElementSMW,f,v.from,v.to)):a.set(r.revealedElementSMW,{opacity:1}),s(a,d,f,m,r.options.toease,r.options.to,r.clip),a.set(d,{visibility:"visible"}),a.set(r.clipSMW,{visibility:"hidden"})},out:function(h,r){var a=new c.J,u="no"===r.options.to?1:2,f=r.options.duration/u;h.add(a),h.set(r.clipSMW,{visibility:"visible"},0);var l=c.MW.B(t(r.options.from,r.clip,r.options.color)),d=c.MW.B(t(r.options.to,r.clip,r.options.color));c.MW.t(l,{visibility:"hidden"}),c.MW.t(d,{visibility:"hidden"}),a.set({},{},r.options.delay),a.set(l,{visibility:"visible"}),i(a,l,f,r.options.fromease,r.options.from,r.clip),a.set(l,{visibility:"hidden"});var m=a.totalDuration(),v=n(r.options.content,"out");v?(v.from.opacity===o&&a.set(r.revealedElementSMW,{opacity:0}),v.to.ease="easeOutCubic",a.fromTo(r.revealedElementSMW,f,v.from,v.to,m-f)):a.set(r.revealedElementSMW,{opacity:0}),m=a.totalDuration(),a.set(d,{visibility:"visible"},m),s(a,d,f,m,r.options.toease,r.options.to,r.clip),a.set(d,{visibility:"hidden"}),a.set(r.clipSMW,{visibility:"hidden"})}}})),c.d("AnimationsControllerLoop","FrontendLayerAnimationManager",(function(){function t(t,i){this.animationManager=t,this.status=this.animationManager.status,this.layerElement=i}return t.prototype.reset=function(){for(var t=0;t<this.animations.length;t++)this.animations[t].reset()},t.prototype.play=function(){if(!this.status.suspended()&&this.status.is("LOOP_PLAYING"))for(var t=0;t<this.animations.length;t++)this.animations[t].play()},t.prototype.resume=function(){for(var t=0;t<this.animations.length;t++)this.animations[t].resume();this.status.set("LOOP_PLAYING")},t.prototype.pause=function(){if(!this.status.suspended()&&this.status.is("LOOP_PLAYING")){for(var t=0;t<this.animations.length;t++)this.animations[t].pause();this.status.set("LOOP_PAUSED")}},t.prototype.suspend=function(){if(!this.status.suspended()&&this.status.is("LOOP_PLAYING"))for(var t=1;t<this.animations.length;t++)this.animations[t].suspend()},t.prototype.unsuspend=function(){if(!this.status.suspended()&&this.status.is("LOOP_PLAYING"))for(var t=1;t<this.animations.length;t++)this.animations[t].unsuspend()},t.prototype.requestEnd=function(t){if(!this.status.suspended()&&(this.status.is("LOOP_PLAYING")||this.status.is("LOOP_PAUSED"))){for(var i=0;i<this.animations.length;i++)this.animations[i].requestEnd();t?this.status.set("LOOP_ENDING_FORCED"):this.status.set("LOOP_ENDING")}},t.prototype.markSingleAnimationEnded=function(){for(var t=0;t<this.animations.length;t++)if(!this.animations[t].isEnded())return;this.ended()},t.prototype.ended=function(){this.animationManager.loopComplete()},t.prototype.resetForReplay=function(){for(var t=0;t<this.animations.length;t++)this.animations[t].resetForReplay()},t.prototype.invalidate=function(){for(var t=1;t<this.animations.length;t++)this.animations[t].invalidate()},t.prototype.buildTimeline=function(t){this.animations=[];for(var i=0;i<this.animationManager.relatedAnimations.loop.length;i++)this.animationManager.relatedAnimations.loop[i].setController(this,i),this.animations.push(this.animationManager.relatedAnimations.loop[i]);if(this.animations.length>0){this.animationManager.linear||(t.addPause("+=0.002",this.animationManager.promises.loop.wait.bind(this.animationManager.promises.loop)),this.animationManager.promises.loop.addPauseTween(t.recent()));var s=t.totalDuration();this.animations[0].buildTimeline(t,s);for(i=1;i<this.animations.length;i++)this.animations[i].buildTimeline(!!this.animationManager.linear&&t,this.animationManager.linear?s:0)}return this.animations.length},t})),c.d("AnimationsLayerLoop",["AnimationsLoopAbstract"],(function(){function t(t,i,s,h,n){this.layerAnimations=t,this.animationManager=i,this.layerElement=s,this.It=h,this.animationData=n.keyFrames,this.transformOrigin=n.transformOrigin.split("|*|").join("% ")+"px",this.repeatCount=n.repeatCount,this.repeatStartDelay=Math.max(0,n.repeatStartDelay),this.single=!1,c.AnimationsLoopAbstract.prototype.constructor.call(this,parseInt(this.repeatCount))}return t.prototype=Object.create(c.AnimationsLoopAbstract.prototype),t.prototype.constructor=t,t.prototype.playLoopAgain=function(){c.AnimationsLoopAbstract.prototype.playLoopAgain.call(this),ht(this.layerElement,"LoopRoundComplete")},t.prototype.buildTimeline=function(t,i){var s=this.animationManager.linear?"linear":"event";this.timeline=t||new c.J({paused:!0}),i+=.001,this.timeline.set(this.It,{transformOrigin:this.transformOrigin,immediateRender:!1},i),this.repeatStartDelay>0&&(i+=this.repeatStartDelay,this.timeline.set({},{},i)),this.buildTimelineLoop(i,s,I([],this.animationData)),this.animationManager.linear||this.timeline.set({},{onComplete:this.onComplete.bind(this)})},t.prototype.buildTimelineLoop=function(t,i,s){var h,n=this._buildAnimationChainLoop(s);if(this.zero=I({ease:n[0].to.ease},n[0]),!this.single){var o=this.zero.duration/2;c.FrontendLayerAnimationManager.optimizeFromTo(this.timeline,this.It,o,S({},this.layerAnimations.currentZero),S({immediateRender:!1,ease:this.zero.ease},this.zero.from),t),t+=o}if("linear"===i){var r=this.repeatCount;r<1&&(r=1);for(var a=0;a<r;a++)for(h=0;h<n.length;h++)c.FrontendLayerAnimationManager.optimizeFromTo(this.timeline,this.It,n[h].duration,S({},n[h].from),S({immediateRender:!1},n[h].to),t),t+=n[h].duration+(n[h].to.delay?n[h].to.delay:0)}else if("event"===i){for(this.timeline.addLabel("LOOP",t),h=0;h<n.length;h++)n[h].to.immediateRender=!1,c.FrontendLayerAnimationManager.optimizeFromTo(this.timeline,this.It,n[h].duration,n[h].from,n[h].to,t),t+=n[h].duration+(n[h].to.delay?n[h].to.delay:0);this.timeline.set({},{onComplete:this.repeat.bind(this)},t)}this.single||c.FrontendLayerAnimationManager.optimizeFromTo(this.timeline,this.It,this.zero.duration/2,S({},this.zero.from),S({immediateRender:!1,ease:this.zero.ease},this.layerAnimations.currentZero),t)},t.prototype._buildAnimationChainLoop=function(t){var i;if(1===t.length){this.single=!0;var s=I({},t[0]);(i=S({},this.layerAnimations.currentZero)).duration=s.duration,i.ease=s.ease,360!==Math.abs(s.rotationX)&&360!==Math.abs(s.rotationY)&&360!==Math.abs(s.rotationZ)||1!=s.opacity&&s.opacity!==o||0!=s.x&&s.x!==o||0!=s.y&&s.y!==o||0!=s.z&&s.z!==o||1!=s.scaleX&&s.scaleX!==o||1!=s.scaleY&&s.scaleY!==o||0!=s.skewX&&s.skewX!==o||0!=s.n2blur&&s.n2blur!==o?t.push(i):(360==+s.rotationX?s.rotationX="+=360":-360==+s.rotationX&&(s.rotationX="-=360"),360==+s.rotationY?s.rotationY="+=360":-360==+s.rotationY&&(s.rotationY="-=360"),360==+s.rotationZ?s.rotationZ="+=360":-360==+s.rotationZ&&(s.rotationZ="-=360"))}var h=0,n=[{duration:t[h].duration,from:S({},this.layerAnimations.currentZero),to:t[h]}];for(h++;h<t.length;h++){var r=(i=t[h]).duration;delete i.duration,delete i.name;var a=S({},n[n.length-1].to);delete a.delay,delete a.ease,n.push({duration:r,from:a,to:i})}return this.single||(n.push({duration:n[0].duration,from:S({},n[n.length-1].to),to:S({},n[0].to)}),n.shift(),delete n[0].from.duration),n},t})),c.d("AnimationsLoopTimeline",["AnimationsLoopAbstract"],(function(){c.AnimationsLoopAbstract.status;function t(t,i){this.manager=t,c.AnimationsLoopAbstract.prototype.constructor.call(this,i)}return t.prototype=Object.create(c.AnimationsLoopAbstract.prototype),t.prototype.constructor=t,t.prototype.buildTimeline=function(t,i){this.timeline=t||new c.J({paused:!0}),this.controller.animationManager.linear?this.repeatCount=0:this.timeline.addLabel("LOOP",i);var s=this.manager.getLoopTimeline();this.timeline.add(s.paused(0),i),this.controller.animationManager.linear||s.eventCallback("onComplete",function(){this.repeat()||this.onComplete()}.bind(this))},t.prototype.invalidate=function(){var t=this.timeline.time();this.timeline.invalidate().time(t,!0)},t})),c.d("AnimationsLoopAbstract",(function(){function t(t){this.controller=null,this.ending=!1,this.ended=!1,this._counter=0,this.repeatCount=t,this.timeline=null}return t.prototype.setController=function(t,i){this.controller=t,this.index=i},t.prototype.repeat=function(){return this._counter++,!!(this.isInfinite()&&!1===this.ending||this._counter<this.repeatCount)&&(this.playLoopAgain(),!0)},t.prototype.playLoopAgain=function(){this.timeline.seek("LOOP")},t.prototype.resetCounter=function(){this._counter=0},t.prototype.isInfinite=function(){return 0===this.repeatCount},t.prototype.buildTimeline=function(t,i){},t.prototype.refresh=function(){},t.prototype.reset=function(){this.resetForReplay(),this.index>0&&this.timeline.pause(0)},t.prototype.resetForReplay=function(){this.ending=!1,this.ended=!1,this.resetCounter()},t.prototype.play=function(){this.index>0&&this.timeline.restart(!0)},t.prototype.pause=function(){this.timeline.pause()},t.prototype.resume=function(){this.timeline.play()},t.prototype.suspend=function(){this.timeline.pause()},t.prototype.unsuspend=function(){this.timeline.play()},t.prototype.onComplete=function(){this.ended=!0,this.controller.markSingleAnimationEnded()},t.prototype.isEnded=function(){return this.ended},t.prototype.requestEnd=function(){this.ended||this.ending||(this.ending=!0,this.timeline.play())},t})),customElements.define("ss3-fullpage",class extends HTMLElement{connectedCallback(){"100vh"!==this.dataset.basedOn&&(this.Pt=i.n2Height||i.innerHeight,N(this,{"--target-height":this.Pt+"px",opacity:1}),at(i,"resize",this.onResize.bind(this)))}onResize(){this.updateHeight(),requestAnimationFrame(this.updateHeight.bind(this))}updateHeight(){var t=i.n2Height||i.innerHeight;Math.abs(this.Pt-t)>(this.dataset.threshold||0)&&(F(this,"--target-height",t+"px"),this.Pt=t)}}),c.d("SmartSliderResponsive",(function(){let t,u=!1;function f(t,s){for(var h in this.state={StarterSlide:!1},this.isVisible=!0,this.isResetActiveSlideEarly=this.isResetActiveSlideEarly||!1,this.focusOffsetTop=0,this.focusOffsetBottom=0,this.minimumSlideHeight=0,this.at=!1,this.visibleRealSlidesChanged=!0,this.kt=-1,this.Ot=-1,this.Ct=-1,this.xt=-1,this.filters={SliderWidth:[],SliderHeight:[],SlideHeight:[],SliderVerticalCSS:[]},this.parameters=S({mediaQueries:{},hideOn:{desktopLandscape:0,desktopPortrait:0,tabletLandscape:0,tabletPortrait:0,mobileLandscape:0,mobilePortrait:0},onResizeEnabled:!0,type:"auto",focusUser:1,focusEdge:"auto",enabledDevices:{desktopLandscape:1,desktopPortrait:0,mobileLandscape:0,mobilePortrait:0,tabletLandscape:0,tabletPortrait:0},breakpoints:[],sizes:{desktopPortrait:{width:1200,height:600,max:1e4,min:40}},ratioToDevice:{Portrait:{tablet:0,mobile:0},Landscape:{tablet:0,mobile:0}},overflowHiddenPage:0,focus:{offsetTop:"",offsetBottom:""}},s),this.mediaQueries={},this.parameters.mediaQueries)this.parameters.mediaQueries[h]&&(this.mediaQueries[h]=i.matchMedia(this.parameters.mediaQueries[h].join(",")));this.parameters.hideOn=i.ssOverrideHideOn||this.parameters.hideOn,this.doThrottledResize=NextendThrottle(this.doResize.bind(this),50),this.slider=t,this.sliderElement=t.sliderElement,this.Lt="1"===D(this.sliderElement,"ssLegacyFontScale"),this.addFilter("SliderWidth",this.filterSliderWidthHorizontalSpacing.bind(this)),this.slider.isAdmin||"fullpage"!==this.parameters.type||this.slider.stages.done("WidgetsReady",function(){var t=this.getVerticalOffsetHeight();this.Mt!==t&&this.doResize()}.bind(this))}return s.addEventListener("scroll",(function(){t&&a(t),u=!0,t=r((function(){u=!1}),300)}),{capture:!0,passive:!0}),f.DeviceMode={unknown:0,desktoplandscape:1,desktopportrait:2,tabletlandscape:3,tabletportrait:4,mobilelandscape:5,mobileportrait:6},f._DeviceMode={0:"unknown",1:"desktopLandscape",2:"desktopPortrait",3:"tabletLandscape",4:"tabletPortrait",5:"mobileLandscape",6:"mobilePortrait"},f._DeviceGroup={desktopLandscape:"desktop",desktopPortrait:"desktop",tabletLandscape:"tablet",tabletPortrait:"tablet",mobileLandscape:"mobile",mobilePortrait:"mobile"},f.prototype.init=function(){this.base=this.parameters.base;var t=this.sliderElement.querySelector(".n2-ss-slider-background-video");t&&(n2const.isVideoAutoplayAllowed()?(t.addEventListener("error",B.bind(null,t),!0),t.load(),t.play()):B(t))},f.prototype.setDeviceID=function(t){this.deviceID=t,this.device=f._DeviceMode[t]},f.prototype.start=function(){if(this.slider.stages.done("ResizeFirst",function(){n2const.fonts.then(function(){this.slider.stages.resolve("Fonts")}.bind(this))}.bind(this)),this.normalizeTimeout=null,this.setDeviceID(f.DeviceMode.unknown),this.ratios={slideW:1,slideH:1},this.horizontalSpacingControls={right:[],left:[]},this.horizontalSpacing={right:0,left:0},this.staticSizes={paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0},this.alignElement=this.slider.sliderElement.closest(".n2-ss-align"),this.v=this.slider.v,this.containerElementPadding=this.sliderElement.parentNode,this.containerElement=this.containerElementPadding.parentNode,!this.slider.isAdmin&&this.parameters.overflowHiddenPage&&Y([h,n],"overflow","hidden"),c._smallestZoom=320,this.initFocusOffsetObserver(),this.slider.stages.resolve("ResponsiveStart"),this.init(),this.parameters.onResizeEnabled){at(i,"resize",this.onResize.bind(this)),this.lastROWidth=0;var t=this.containerElement.parentNode,s=new ResizeObserver(function(t){this.processResizeObserverRect(t[0].contentRect)}.bind(this));requestAnimationFrame(function(){this.processResizeObserverRect(t.getBoundingClientRect()),s.observe(t)}.bind(this))}else this.onResize()},f.prototype.processResizeObserverRect=function(t){this.isVisible=!!t.width,this.lastROWidth!==t.width&&(this.lastROWidth=t.width,this.internalResize())},f.prototype.internalResize=function(){this.onResize()},f.prototype.getDeviceMode=function(){return f._DeviceMode[this.deviceID]},f.prototype.getDeviceGroup=function(){return f._DeviceGroup[this.getDeviceMode()]},f.prototype.onResize=function(e){this.kt=i.innerWidth,this.Ot=i.innerHeight,this.slider.mainAnimation&&"playing"===this.slider.mainAnimation.getState()?this.Dt||(this.Dt=!0,ct(this.sliderElement,"mainAnimationComplete",this._onResize.bind(this,e))):this._onResize(e)},f.prototype._onResize=function(e){this.doResize(e),delete this.Dt},f.prototype.doNormalizedResize=function(){this.normalizeTimeout&&a(this.normalizeTimeout),this.normalizeTimeout=r(this.doResize.bind(this),10)},f.prototype.identifyDeviceID=function(){for(var t in this.mediaQueries)if(this.mediaQueries[t].matches)return f.DeviceMode[t];return f.DeviceMode.desktopportrait},f.prototype.initFocusOffsetObserver=function(){if(""!==this.parameters.focus.offsetTop){var t;try{t=s.querySelectorAll(this.parameters.focus.offsetTop)}catch(t){console.error('The Top CSS selector: "'+this.parameters.focus.offsetTop+'" used in the slider is invalid!')}if(t&&t.length)for(var i=new ResizeObserver(function(t){this.focusOffsetTop=0;for(var i=0;i<t.length;i++)this.focusOffsetTop+=t[i].target.getBoundingClientRect().height;this.Et()}.bind(this)),h=0;h<t.length;h++)i.observe(t[h])}if(""!==this.parameters.focus.offsetBottom){var n;try{n=s.querySelectorAll(this.parameters.focus.offsetBottom)}catch(t){console.error('The Bottom CSS selector: "'+this.parameters.focus.offsetBottom+'" used in the slider is invalid!')}if(n&&n.length){var o=new ResizeObserver(function(t){this.focusOffsetBottom=0;for(var i=0;i<t.length;i++)this.focusOffsetBottom+=t[i].target.getBoundingClientRect().height;this.Et()}.bind(this));for(h=0;h<n.length;h++)o.observe(n[h])}}},f.prototype.Et=function(){F(this.sliderElement,"--subtract-vertical-offset",(i.n2OffsetTop||this.focusOffsetTop)+(i.n2OffsetBottom||this.focusOffsetBottom)+"px"),this.doResize()},f.prototype.doResize=function(e){if(!this.slider.isAdmin&&u&&this.Ct===this.kt){const t=Math.abs(this.xt-this.Ot);if(t>0&&t<100)return}this.Ct=this.kt,this.xt=this.Ot;var t=this.identifyDeviceID();if(this.parameters.hideOn[f._DeviceMode[t]])return j(this.v,"n2-section-smartslider--hidden"),!1;if(X(this.v,"n2-section-smartslider--hidden"),!this.isVisible)return!1;var i=!1,s=this.device;if(this.deviceID!==t&&(this.setDeviceID(t),s&&X(this.sliderElement,"n2-ss-"+s),E(this.sliderElement,"deviceMode",this.device),j(this.sliderElement,"n2-ss-"+this.device),this.slider.h("SliderDevice",{lastDevice:s,device:this.device,group:f._DeviceGroup[this.device]}),i=!0,this.slider.stages.resolve("Device")),this.slider.isAdmin||"fullpage"===this.parameters.type&&(this.Mt=this.getVerticalOffsetHeight(),F(this.sliderElement,"--subtract-vertical-widget",this.Mt+"px")),i&&(this.slider.visibleRealSlides=[],this.slider.publicDispatchEvent("SliderDeviceOrientation",{slider:this.slider,lastDevice:s,device:this.device,group:f._DeviceGroup[this.device]}),this.slider.stages.resolve("DeviceOrientation"),this.finalizeVisibleSlidesStage1()),!this.slider.visibleRealSlides.length)return this.parameters.hideOn[f._DeviceMode[t]]=!0,j(this.v,"n2-section-smartslider--hidden"),!1;if(this.slider.isVisible||this.visibleRealSlidesChanged){for(var h=0;h<this.slider.realSlides.length;h++)c.MW.i(this.slider.realSlides[h].element).setValues({width:"",height:""}),N(this.slider.realSlides[h].element,{width:"",height:""});this.resizeStage1Width(),this.slider.h("SliderResizeHorizontal"),this.resizeStage2Height()}},f.prototype.resizeStage1Width=function(){this.resizeContext={}},f.prototype.resizeStage2Height=function(){this.finalizeVisibleSlidesStage2(),this.calculateResponsiveValues(),this.slider.stages.resolve("ResizeFirst"),this.triggerResize()},f.prototype.calculateResponsiveValues=function(){this.ratios={slideW:this.resizeContext.slideWidth/this.base.slideWidth,slideH:this.resizeContext.slideHeight/this.base.slideHeight},this.Lt&&Y(this.sliderElement.querySelectorAll('.n2-ss-layer[data-sstype="slide"] > .n2-ss-layer[data-pm="absolute"][data-adaptivefont="0"]'),"font-size","calc("+16*this.ratios.slideW+"px * var(--ssfont-scale, 1))");for(var t=0;t<this.slider.realSlides.length;t++)c.MW.i(this.slider.realSlides[t].element).setValues({width:this.resizeContext.slideSelfWidth,height:this.resizeContext.slideSelfHeight})},f.prototype.onStarterSlide=function(t){this.state.StarterSlide=!0,this.calibrateActiveSlide(t),delete this.targetCurrentSlide},f.prototype.finalizeVisibleSlidesStage1=function(){this.visibleRealSlidesChanged&&(this.slider.visibleRealSlides.sort((function(t,i){return t.index-i.index})),this.updateVisibleSlides(),this.slider.h("visibleRealSlidesChanged"),this.slider.stages.resolve("VisibleRealSlides"),this.isResetActiveSlideEarly&&this.calibrateActiveSlide())},f.prototype.updateVisibleSlides=function(){this.slider.visibleSlides=this.slider.visibleRealSlides},f.prototype.calibrateActiveSlide=function(t){if(this.state.StarterSlide&&this.slider.visibleSlides.length>0){var i=t||this.slider.currentRealSlide;i.isVisible||(i=i.getNext())||(i=this.slider.currentSlide.getPrevious()),this.resetActiveRealSlide(i)}},f.prototype.resetActiveRealSlide=function(t){var i,s;t&&t!==this.slider.currentRealSlide?(this.slider.h("BeforeCurrentSlideChange",t),(i=this.slider.currentSlide)&&this.slider.forceUnsetActiveSlide(i),this.slider.setCurrentRealSlide(t),s=this.slider.currentSlide,this.targetCurrentSlide=s,this.slider.forceSetActiveSlide(s),this.slider.h("SlideForceChange",{oldSlide:i,currentSlide:s})):s=this.slider.currentSlide,this.slider.updateInsideSlides([s])},f.prototype.finalizeVisibleSlidesStage2=function(){this.visibleRealSlidesChanged&&(this.visibleRealSlidesChanged=!1,this.isResetActiveSlideEarly||this.calibrateActiveSlide(),this.triggerVisibleSlidesChanged(),this.targetCurrentSlide!==o&&(this.slider.h("SlideWillChange",{targetSlide:this.targetCurrentSlide}),this.slider.h("CurrentSlideChanged",{currentSlide:this.targetCurrentSlide}),this.slider.stages.resolved("Visible")&&this.slider.playSlide(this.targetCurrentSlide),delete this.targetCurrentSlide))},f.prototype.triggerVisibleSlidesChanged=function(){this.slider.h("visibleSlidesChanged"),this.slider.stages.resolve("VisibleSlides"),this.slider.visibleRealSlides.length?this.slider.isVisible||this.slider.show():this.slider.isVisible&&this.slider.hide()},f.prototype.getNormalizedModeString=function(){return f._DeviceMode[this.deviceID]},f.prototype.triggerResize=function(){this.slider.publicDispatchEvent("SliderResize",{ratios:this.ratios,responsive:this}),this.slider.stages.resolve("Resized")},f.prototype.getVerticalOffsetHeight=function(){return this.at?0:this.slider.widgets.getVerticalsHeight()},f.prototype.addHorizontalSpacingControl=function(t,i){this.horizontalSpacingControls[t].push(i),this.slider.stages.resolved("ResizeFirst")&&this.doNormalizedResize()},f.prototype.filterSliderWidthHorizontalSpacing=function(t){for(var i in this.horizontalSpacing={right:0,left:0},this.horizontalSpacingControls)for(var s=this.horizontalSpacingControls[i],h=s.length-1;h>=0;h--){var n=s[h];n.isVisible()&&(n.refreshSliderSize(t),this.horizontalSpacing[i]+=n.getSize())}return N(this.containerElementPadding,{paddingLeft:this.horizontalSpacing.left+"px",paddingRight:this.horizontalSpacing.right+"px"}),t-this.horizontalSpacing.left-this.horizontalSpacing.right},f.prototype.addFilter=function(t,i){this.filters[t].push(i)},f.prototype.removeFilter=function(t,i){this.filters[t].push(i)},f.prototype.applyFilter=function(t,i){for(var s=0;s<this.filters[t].length;s++)i=this.filters[t][s].call(this,i);return i},f})),c.d("FrontendItemAnimatedHeading",(function(){var t={fade:{fn:"animateWhole",fixedWidth:!0,data:{duration:.6,overlap:0,ease:"easeInOutQuad",from:{opacity:0},current:{opacity:1},to:{opacity:0}}},slide:{fn:"animateWhole",fixedWidth:!0,data:{duration:.6,overlap:0,ease:"easeInOutQuad",from:{opacity:0,xP:100},current:{opacity:1,xP:0},to:{opacity:0,xP:-100}}},rotating:{fn:"animateWhole",fixedWidth:!0,data:{overflow:!0,duration:.6,overlap:.2,ease:"easeInOutQuad",transformOrigin:"50% 100% 0",from:{opacity:0,rotationX:-70},current:{opacity:1,rotationX:0},to:{opacity:0,rotationX:70}}},"drop-in":{fn:"animateWhole",fixedWidth:!0,data:{overflow:!0,duration:.6,overlap:.3,ease:"easeInOutQuad",from:{opacity:0,scale:1.2},current:{opacity:1,scale:1},to:{opacity:0,scale:.6}}},"slide-down":{fn:"animateWhole",fixedWidth:!0,data:{duration:.6,overlap:.6,ease:"easeInOutQuad",from:{opacity:0,yP:-100},current:{opacity:1,yP:0},to:{opacity:0,yP:100}}},typewriter1:{fn:"animateTypeWriter",data:{backspace:function(t){this.timeline.staggerFromTo(t,.1*this.speedModifier,{display:"inline-block"},{display:"none",immediateRender:!1},-.1*this.speedModifier,"+="+this.showDuration)},backspaceDuration:function(t){return this.showDuration+.1*this.speedModifier+.1*(t.length-1)*this.speedModifier}}},chars:{fn:"animateChars",fixedWidth:!0,data:{duration:.4,stagger:.05,ease:"easeOutCubic",from:{scale:0,opacity:0},current:{scale:1,opacity:1},to:{scale:0,opacity:0}}},chars2:{fn:"animateChars",fixedWidth:!0,data:{duration:.4,stagger:.05,ease:"easeOutCubic",from:{rotationY:90,opacity:0},current:{rotationY:0,opacity:1},to:{rotationY:-90,opacity:0}}}};function s(t,s){if(this._t=t,this.Rt=Array.prototype.slice.call(this._t.querySelectorAll(".n2-ss-animated-heading-i-text")),this.listeners=[],n2Slow||s.disabled.layerAnimations)U(this.Rt.slice(1));else{this.Tt=c.MW.i(t);var h=[];this.Rt.forEach((function(t){h.push(c.MW.i(t))})),this.Ft=h,this.slider=s,this.refreshJustifyContent();var n="";if(this.Rt.forEach((function(t){n+=t.innerHTML.trim()})),""!==n){if(n2const.isParentSameOrigin()&&i.parent.tpEditorApp)return Y(this.Rt,{position:"static",margin:"0 10px"}),void Y(this._t.querySelectorAll(".n2-ss-animated-heading-i2"),"white-space","normal");this.Nt=[],this.layerElement=this._t.closest(".n2-ss-layer"),this.start()}}}return s.prototype.start=function(){this.slider.started(this.started.bind(this))},s.prototype.started=function(){this.color=D(this._t,"color")||"RGBA(255,255,255,1)",this.currentType=t[D(this._t,"animationType")]||t.slide,this.currentType.fixedWidth?this.animateWidth=0==+D(this._t,"animateWidth")?0:1:this.animateWidth=0,this.delay=(+D(this._t,"delay")||0)/1e3,this.speedModifier=1/(Math.max(+D(this._t,"speed")||100,0)/100),this.showDuration=Math.max(+D(this._t,"showDuration")||1500,0)/1e3,this.loop=+D(this._t,"loop")||0,this.totalDuration=0;var i=this.currentType.data,s=this.Rt.length,h=s;switch(this.loop&&h++,this.currentType.fn){case"animateWhole":var n=0,o=0;this.animateWidth?n=.4*.8:o=i.overlap*this.speedModifier,this.totalDuration=(h-1)*this.showDuration+2*(h-1)*i.duration*this.speedModifier+(h-1)*n-(h-1)*o;break;case"animateTypeWriter":for(var r=0;r<h;r++){var a=this.getSplitTextChars(this.Rt[s===r?0:r]);r>0&&(this.totalDuration+=.8+.2*this.speedModifier+.2*this.speedModifier*(a.length-1)),r<h-1&&(this.totalDuration+=i.backspaceDuration.call(this,a))}break;case"animateChars":for(o=0,r=0;r<h;r++){a=this.getSplitTextChars(this.Rt[s===r?0:r]);r>0&&(this.totalDuration+=Math.max(o,i.duration*this.speedModifier+(a.length-1)*i.stagger)),r<h-1&&(this.totalDuration+=this.showDuration,o=i.duration*this.speedModifier+(a.length-1)*i.stagger)}}this.listeners.push(lt(this.layerElement,"collectRelatedAnimations",this.collectRelatedAnimations.bind(this))),at(this.slider.sliderElement,"SliderResizeHorizontal",function(){this.onResize()}.bind(this)),this.slider.isAdmin&&this.onResize()},s.prototype.onResize=function(){var t={height:0};this.currentType.fixedWidth&&!this.animateWidth&&(t.width=0),L(this.Rt,"n2-ss-animated-heading-measure-width");for(var i=0;i<this.Rt.length;i++){var s=this.Rt[i],h=s.offsetWidth+1,n=s.offsetHeight;E(s,"width",h),E(s,"height",n),t.height=Math.max(t.height,n),this.currentType.fixedWidth&&!this.animateWidth&&(t.width=Math.max(t.width,h))}if(M(this.Rt,"n2-ss-animated-heading-measure-width"),this.currentType.fixedWidth&&this.animateWidth){let i;i=this.slider.isAdmin||this.loop?this.Rt[0]:this.Rt[this.Rt.length-1],this.Tt.width=+D(i,"width"),this.Tt.height=t.height,this.invalidate()}else this.Tt.width=t.width,this.Tt.height=t.height;this.refreshJustifyContent()},s.prototype.invalidate=function(){if(this.timeline){var t=this.timeline.time();this.timeline.invalidate().time(t,!0)}},s.prototype.collectRelatedAnimations=function(t){var i=t.relatedAnimations;1===this.loop?(this.loopTimeline=new c.AnimationsLoopTimeline(this,0),i.loop.push(this.loopTimeline)):i.in.push(new c.AnimationsRelated(this,"extendTimeline"))},s.prototype.getTimeline=function(){return this.timeline===o?(this.timeline=new c.J({paused:1}),this[this.currentType.fn](this.currentType.data),this.timeline.delay(this.delay)):this.timeline.invalidate(),this.timeline},s.prototype.getLoopTimeline=function(){return this.getTimeline()},s.prototype.extendTimeline=function(t,i,s){var h=this.getTimeline();t.add(h,0),h.paused(!1)},s.prototype.getSplitTextChars=function(t){var i=t.splitTextChars;if(!i){var s=c.tt(t,!0);t.splitTextChars=i=Array.prototype.filter.call(s.chars,(function(t){return 0===t.children.length}))}return i},s.prototype.animateChars=function(t){this.Tt.overflow="hidden",this.animateWidth&&this.timeline.set(this.Tt,{width:function(){return D(this,"width")}.bind(this.Rt[0]),snap:"width",rotationZ:"0.00001deg"});var i=0,s=this.Rt.length,h=s;this.loop&&h++;for(var n=0;n<h;n++){var o=this.Rt[s===n?0:n],r=c.MW.B(this.getSplitTextChars(o));if(c.MW.t(r,{transformPerspective:1e3,"will-change":"transform, opacity"}),n>0){var a=this.timeline.totalDuration()-i;this.timeline.staggerFromTo(r,t.duration*this.speedModifier,S({},t.from),S({immediateRender:n<s,ease:t.ease},t.current),t.stagger,a),this.animateWidth&&this.timeline.to(this.Tt,this.timeline.recent().duration(),{width:function(){return D(this,"width")}.bind(o)},a)}n<h-1&&(this.timeline.staggerFromTo(r,t.duration*this.speedModifier,S({},t.current),S({immediateRender:0===n,ease:t.ease},t.to),t.stagger,"+="+this.showDuration),i=this.timeline.recent().duration())}this.Nt.push((function(){this.animateWidth&&(this.Tt.width=""),this.Tt.overflow=""}))},s.prototype.displayCursor=function(){var t=v(),i=c.MW.i(t);t.className="n2-ss-animated-heading-i-cursor",F(t,"background-color",this.color),this.Rt[0].parentNode.appendChild(t);var s=new c.J({onComplete:function(){this.restart()}});s.fromTo(i,.1,{opacity:0},{opacity:1},"+=0.5"),s.fromTo(i,.1,{opacity:1},{opacity:0,immediateRender:!1},"+=0.5"),this.Nt.push((function(){s.kill(),B(t)}))},s.prototype.animateTypeWriter=function(t){c.MW.t(this.Ft,{position:"relative"}),this.timeline.set(this.Ft[0],{display:"inline-block",immediateRender:!0}),c.MW.t(this.Ft.slice(1),{display:"none"}),this.timeline.set(this.Ft.slice(1),{display:"none",immediateRender:!0}),this.timeline.set(this.getSplitTextChars(this.Rt[0]),{display:"inline-block",immediateRender:!0});var i=this.Ft.length,s=i;this.loop&&s++;for(var h=0;h<s;h++){var n=c.MW.B(this.getSplitTextChars(this.Rt[i===h?0:h]));h>0&&(this.timeline.set(this.Ft[i===h?0:h],{display:"inline-block",immediateRender:i!==h}),this.timeline.staggerFromTo(n,.2*this.speedModifier,{display:"none"},{display:"inline-block",immediateRender:i!==h},.2*this.speedModifier,"+=0.8")),h<s-1&&(t.backspace.call(this,n,this.Rt[0].parentNode),this.timeline.set(this.Ft[i===h?0:h],{display:"none",immediateRender:!1}))}this.displayCursor()},s.prototype.animateWhole=function(t){t.overflow?this.Tt.overflow="":this.Tt.overflow="hidden",this.animateWidth&&this.timeline.set(this.Tt,{width:function(){return D(this,"width")}.bind(this.Rt[0]),immediateRender:!0}),t.transformOrigin=t.transformOrigin||"50% 50% 0",this.timeline.set(c.MW.X(this.Rt),{transformOrigin:t.transformOrigin,transformPerspective:1e3});var i=this.Rt.length,s=i;this.loop&&s++;for(var h=0;h<s;h++){var n=i===h?0:h,o=this.Rt[n];if(h>0){var r=this.timeline.totalDuration();if(this.animateWidth){this.timeline.to(this.Tt,.4,{width:function(){return D(this,"width")}.bind(o)},r-.4*.2),r+=.4*.8}else r-=t.overlap*this.speedModifier;this.timeline.fromTo(this.Ft[n],t.duration*this.speedModifier,S({},t.from),S({immediateRender:h<i,ease:t.ease},t.current),r)}h<s-1&&this.timeline.fromTo(this.Ft[n],t.duration*this.speedModifier,S({},t.current),S({immediateRender:0===h,ease:t.ease},t.to),"+="+this.showDuration)}this.Nt.push(function(){this.animateWidth&&(this.Tt.width=""),this.Tt.overflow=""}.bind(this))},s.prototype.refreshJustifyContent=function(){var t=this._t.parentNode,i="";switch(T(t,"text-align")){case"left":i="flex-start";break;case"center":i="center";break;case"right":i="flex-end";break;case"justify":i="space-between"}c.MW.i(t).justifyContent=i},s})),c.d("FrontendItemAudio",(function(){function t(t,i,h){this.state={slideVisible:!1,visible:!1,slide:!1,play:!1,continuePlay:!1},this.slider=t,this.id=i,this.node=s.getElementById(i),this.audio=this.node.querySelector("audio"),this.audio&&(this.layerElement=this.node.closest(".n2-ss-layer"),this.layer=this.node.closest(".n2-ss-layer").layer,this.slide=this.slider.findSlideByElement(this.node),this.isStatic=this.slide.isStatic(),this.isPaused=!1,this.lastVolume=1,this.parameters=S({autoplay:0,loop:0,reset:0,volume:1,show:1},h),at(this.audio,"play",this.onPlay.bind(this)),at(this.audio,"pause",this.onPause.bind(this)),at(this.audio,"ended",this.onEnded.bind(this)),at(this.audio,"timeupdate",this.onTimeUpdate.bind(this)),n2const.isIOS?this.prepareIOS():at(this.audio,"volumechange",this.onVolumechange.bind(this)),this.audio.duration>=0?this.onReady():this.audio.addEventListener("loadedmetadata",this.onReady.bind(this)))}return t.prototype.prepareIOS=function(){const t=this.node.querySelectorAll(".n2-ss-item-audio-volume-container,.n2-ss-item-audio-mute,.n2-ss-item-audio-unmute");U(t)},t.prototype.setState=function(t,i,s){s=s||!1,this.state[t]=i,s&&(this.state.slideVisible&&this.state.visible&&this.state.play&&this.state.slide?this.safePlay():this.safePause())},t.prototype.safePlay=function(){this.safeCallback(function(){this.promise=this.audio.play(),this.promise&&Promise!==o&&this.promise.catch(function(e){if("NotAllowedError"===e.name)var t=function(){ot(i),!1!==this.promise&&this.safePlay()}.bind(this),i=[rt(n,"click",t),rt(n,"touchend",t)]}.bind(this))}.bind(this))},t.prototype.safePause=function(){this.safeCallback(function(){this.audio.pause(),this.promise=!1}.bind(this))},t.prototype.safeCallback=function(t){this.promise&&Promise!==o?this.promise.then(t).catch(t):t()},t.prototype.initAutoplay=function(){this.isStatic?(this.setState("play",!0),this.setState("slide",!0,!0)):(at(this.slider.sliderElement,"mainAnimationComplete",function(e){this.slide.isActiveWhen(this.slider.slides[e.detail.currentSlideIndex])?(this.setState("play",!0),this.setState("slide",!0,!0)):this.setState("slide",!1,!0)}.bind(this)),this.slide.isActiveWhen()&&(this.setState("play",!0),this.setState("slide",!0,!0)))},t.prototype.onReady=function(){this.time=this.node.querySelector(".n2-ss-item-audio-time"),this.updateTime(),this.audio.volume=this.parameters.volume;var t=this.node.querySelector(".n2-ss-item-audio-play");t&&at(t,"click",function(){this.setState("play",!0,!0)}.bind(this));var i=this.node.querySelector(".n2-ss-item-audio-pause");i&&at(i,"click",function(){this.setState("play",!1,!0)}.bind(this));var s=this.node.querySelector(".n2-ss-item-audio-mute");s&&at(s,"click",function(){this.audio.volume=0}.bind(this));var h=this.node.querySelector(".n2-ss-item-audio-unmute");h&&at(h,"click",function(){this.audio.volume=this.lastVolume}.bind(this)),this.progress=this.node.querySelector(".n2-ss-item-audio-progress-container"),this.progress&&(at(this.progress,"pointerdown",function(e){e.preventDefault(),e.stopPropagation(),this.updateUITime(e);var t=[rt(n,"pointermove",function(e){e.preventDefault(),e.stopPropagation(),this.updateUITime(e)}.bind(this)),rt(n,"pointerup",function(e){e.preventDefault(),e.stopPropagation(),this.updateUITime(e),ot(t)}.bind(this)),rt(n,"pointerleave",(function(){ot(t)}))]}.bind(this)),this.playhead=this.progress.querySelector(".n2-ss-item-audio-progress-playhead")),this.volume=this.node.querySelector(".n2-ss-item-audio-volume-container"),this.volume&&(at(this.volume,"pointerdown",function(e){e.preventDefault(),e.stopPropagation(),this.updateUIVolume(e);var t=[rt(n,"pointermove",function(e){e.preventDefault(),e.stopPropagation(),this.updateUIVolume(e)}.bind(this)),rt(n,"pointerup",function(e){e.preventDefault(),e.stopPropagation(),this.updateUIVolume(e),ot(t)}.bind(this)),rt(n,"pointerleave",(function(){ot(t)}))]}.bind(this)),this.volumehead=this.volume.querySelector(".n2-ss-item-audio-volumehead")),new ResizeObserver(function(t){var i=t[0].contentRect;if(i.width&&i.height)this.state.visible||this.setState("visible",!0,!0);else if(this.state.visible){var s=this.state.play;this.setState("visible",!1,!0),s&&this.setState("continuePlay",!0)}}.bind(this)).observe(this.layer.layer),this.slide.isVisible&&this.setState("slideVisible",!0,!0),at(this.slide.element,"Hidden",function(){var t=this.state.play;this.setState("slideVisible",!1,!0),t&&this.setState("continuePlay",!0)}.bind(this)),at(this.slide.element,"Visible",function(){this.setState("slideVisible",!0,!0)}.bind(this)),this.slider.stages.done("BeforeShow",function(){this.slide.isActiveWhen()&&this.setState("slide",!0,!0)}.bind(this)),1==+this.parameters.autoplay&&this.slider.visible(this.initAutoplay.bind(this)),this.isStatic||(at(this.slider.sliderElement,"CurrentSlideChanged",function(e){this.onCurrentSlideChange(e.detail.currentSlide)}.bind(this)),at(this.slider.sliderElement,"mainAnimationStart",function(e){this.onCurrentSlideChange(this.slider.slides[e.detail.currentSlideIndex])}.bind(this)),parseInt(this.parameters.reset)&&at(this.slider.sliderElement,"mainAnimationComplete",function(e){this.audio.currentTime>0&&!this.slide.isActiveWhen(this.slider.slides[e.detail.currentSlideIndex])&&(this.audio.currentTime=0)}.bind(this)))},t.prototype.onCurrentSlideChange=function(t){var i=this.slide.isActiveWhen(t);i&&1==+this.parameters.autoplay&&this.setState("play",!0),this.setState("slide",i,!0)},t.prototype.updateTime=function(){this.time&&(this.time.innerText=this.timeFormat(this.audio.currentTime)+" / "+this.timeFormat(this.audio.duration))},t.prototype.onPlay=function(){this.isPaused=!1,P(this.node,"data-state","playing"),requestAnimationFrame(this.refreshCurrentTime.bind(this)),this.isStatic||nt(this.slider.sliderElement,"mediaStarted",{id:this.id}),ht(this.layerElement,"n2play")},t.prototype.onPause=function(){this.isPaused=!0,P(this.node,"data-state","paused"),ht(this.layerElement,"n2pause"),this.state.continuePlay?(this.setState("continuePlay",!1),this.setState("play",!0)):this.setState("play",!1)},t.prototype.onEnded=function(){1==+this.parameters.loop?(this.audio.currentTime=0,this.safePlay()):(this.isStatic||nt(this.slider.sliderElement,"mediaEnded",{id:this.id}),ht(this.layerElement,"n2stop"),this.setState("play",!1))},t.prototype.onTimeUpdate=function(){this.updateTime(),this.playhead&&F(this.playhead,"width",this.audio.currentTime/this.audio.duration*100+"%")},t.prototype.onVolumechange=function(){this.volumehead&&F(this.volumehead,"width",100*this.audio.volume+"%"),P(this.node,"data-volume",this.audio.volume),0!==this.audio.volume&&(this.lastVolume=this.audio.volume)},t.prototype.refreshCurrentTime=function(){this.playhead&&F(this.playhead,"width",this.audio.currentTime/this.audio.duration*100+"%"),this.isPaused||requestAnimationFrame(this.refreshCurrentTime.bind(this))},t.prototype.updateUITime=function(e){var t=this.progress.getBoundingClientRect();this.audio.currentTime=this.audio.duration*Math.max(0,Math.min(.99,Math.round(e.clientX-t.left)/t.width))},t.prototype.updateUIVolume=function(e){var t=this.volume.getBoundingClientRect();this.audio.volume=Math.max(0,Math.min(1,Math.round(e.clientX-t.left)/t.width))},t.prototype.timeFormat=function(t){t=parseInt(t);var i=[],s=parseInt(t/60);t-=60*s;var h=parseInt(s/60);return s-=60*h,h>0&&i.push(this.pad(h,2,0)),i.push(this.pad(s,2,0)),i.push(this.pad(t,2,0)),i.join(":")},t.prototype.pad=function(t,i,s){return s=s||"0",(t+="").length>=i?t:new Array(i-t.length+1).join(s)+t},t})),c.d("FrontendItemBeforeAfter",(function(){class t{constructor(t,i){this.zt=i.interaction,this.Wt=i.labeltype,this.Yt=i.labeltype,this.Zt=s.getElementById(t),this.Vt=this.Zt.querySelector(".n2-ss-item-ba-container"),this.Bt=this.Zt.querySelectorAll(".n2-ss-item-ba-label"),this.Ut=this.Zt.querySelector(".n2-ss-item-ba-caption"),this.jt=c.MW.i(this.Zt.querySelector(".n2-ss-item-ba-image-container--top")),this.Gt=c.MW.i(this.Zt.querySelector(".n2-ss-item-ba-image-container--bottom")),this.Xt=c.MW.i(this.Zt.querySelector(".n2-ss-item-ba-divider-container")),this.Ht(),this.qt()}qt(){let t;switch(this.zt){case"hover":t="pointerenter";break;default:t="pointerdown"}"ontouchstart"in i&&(this.Vt.classList.add("n2-ss-item-ba-container-touchaction"),t="pointerdown"),this.Vt.addEventListener(t,(e=>{if(!e.isPrimary||"drag"===this.zt&&0!==e.button)return;let t=[],s=0,h=!1;n2const.isIOS&&i.TouchEvent&&t.push(rt(this.Vt,"touchmove",(i=>{s++,s>5&&(!h&&this.__preventTouchAction(e,i)?ot(t):(i.preventDefault(),h=!0))}))),this.setMoveEvents(e),t.push(rt(n,"pointermove",(e=>{e.isPrimary&&this.setMoveEvents(e)}))),t.push(rt(n,"pointerup",(e=>{e.isPrimary&&0===e.button&&"hover"!==this.zt&&(this.Qt(e),ot(t))}))),t.push(rt(n,"pointercancel",(e=>{e.isPrimary&&(this.Qt(e),ot(t))}))),t.push(rt(this.Vt,"pointerleave",(e=>{e.isPrimary&&"drag"!==this.zt&&(this.Qt(e),ot(t))})))}))}__preventTouchAction(e,t){const i=t.touches[0].clientX-e.clientX,s=t.touches[0].clientY-e.clientY;return this.__isScrollable(i,s)}Qt(e){e&&"pointermove"===e.type?j(this.Vt,"divider-moving"):X(this.Vt,"divider-moving")}Ht(){this.Bt&&"hover"===this.Wt&&i.matchMedia("(hover: none)").matches&&this.Bt.forEach((t=>{X(t,"n2-ss-item-ba-label--show-hover"),j(t,"n2-ss-item-ba-label--show-normal")})),this.Ut&&"hover"===this.Yt&&i.matchMedia("(hover: none)").matches&&(X(this.Ut,"n2-ss-item-ba-caption--show-hover"),j(this.Ut,"n2-ss-item-ba-caption--show-normal"))}setMoveEvents(e){this.Qt(e)}}class h extends t{setMoveEvents(e){super.setMoveEvents(e);const t=this.Vt.getBoundingClientRect(),i=(e.clientX-t.left)/Math.floor(t.width)*100,s=Math.max(0,Math.min(100,i));this.Xt.xP=s,this.jt.clipPath="inset(0 0 0 "+s+"%)",this.Gt.clipPath="inset(0 calc("+(100-s)+"% - .5px) 0 0 )"}__isScrollable(t,i){return Math.abs(t)<Math.abs(i)}}class o extends t{setMoveEvents(e){super.setMoveEvents(e);const t=this.Vt.getBoundingClientRect(),i=(e.clientY-t.top)/Math.floor(t.height)*100,s=Math.max(0,Math.min(100,i));this.Xt.yP=s,this.jt.clipPath="inset("+s+"% 0 0 0)",this.Gt.clipPath="inset(0 0  calc("+(100-s)+"% - .5px) 0)"}__isScrollable(t,i){return Math.abs(t)>Math.abs(i)}}return class{constructor(t,i,s){this.Jt=s,this.Kt=i,this.st=t,this.$t()}$t(){switch(this.Jt.direction){case"vertical":return new o(this.Kt,this.Jt);case"horizontal":return new h(this.Kt,this.Jt)}}}})),c.d("FrontendItemCaption",(function(){function t(t,i,h,n,o,r){this.ut=n,this.ti=100*o,this.ii=r;var a=s.getElementById(i);a.addEventListener("pointerenter",this.si.bind(this)),a.addEventListener("pointerleave",this.hi.bind(this)),this.ni=c.MW.i(a.querySelector("img")),this.ei=a.querySelector(".n2-ss-item-caption-content"),this.oi=c.MW.i(this.ei),"Fade"===h?(this.oi.setValues({opacity:0}),this.ri=this.ai,this.ci=this.ui):(this.fi={},this.fi[this.ut]=this.ti,this.oi[this.ut]=this.ti)}return t.prototype.si=function(){this.ri(),this.ii&&this.li({scale:1.2})},t.prototype.ri=function(){var t={};t[this.ut]=0,this.di(t)},t.prototype.hi=function(){this.ci(),this.ii&&this.li({scale:1})},t.prototype.ci=function(){this.di(this.fi)},t.prototype.ai=function(){this.di({opacity:1})},t.prototype.ui=function(){this.di({opacity:0})},t.prototype.di=function(t){c.K.to(this.oi,.5,S(t))},t.prototype.li=function(t){c.K.to(this.ni,.5,S(t))},t})),c.d("FrontendItemCountdown",(function(){function t(t,i){this.slider=i,this.listeners=[],this.mi=t,this.vi=D(this.mi,"timestamp"),this.layerElement=this.mi.closest(".n2-ss-layer"),this.start()}return t.prototype.start=function(){this.slider.started(this.started.bind(this))},t.prototype.started=function(){this.listeners.push(lt(this.layerElement,"collectRelatedAnimations",this.animate.bind(this)))},t.prototype.animate=function(){this.second=this.layerElement.querySelector(".n2-ss-item-countdown_second .n2-ss-item-countdown_number"),this.minute=this.layerElement.querySelector(".n2-ss-item-countdown_minute .n2-ss-item-countdown_number"),this.hour=this.layerElement.querySelector(".n2-ss-item-countdown_hour .n2-ss-item-countdown_number"),this.day=this.layerElement.querySelector(".n2-ss-item-countdown_day .n2-ss-item-countdown_number"),u(this.onUpdate.bind(this))},t.prototype.onUpdate=function(){let t=Math.max(0,this.vi-Math.floor((new Date).getTime()/1e3));0===t?this.doAction():(this.refresh(t),this.pi=u(this.onUpdate.bind(this)))},t.prototype.doAction=function(){const t=D(this.mi,"action");if("hideLayer"===t)B(this.layerElement);else if("redirect"===t){const t=D(this.mi,"redirectUrl");""!==t&&(i.location.href=t)}},t.prototype.refresh=function(t){const i=Math.floor(t/86400);t-=86400*i;const s=Math.floor(t/3600);t-=3600*s;const h=Math.floor(t/60),n=t-=60*h;this.bi!==i&&(this.bi=i,this.day.innerText=this.formatNumber(i)),this.yi!==s&&(this.yi=s,this.hour.innerText=this.formatNumber(s)),this.wi!==h&&(this.wi=h,this.minute.innerText=this.formatNumber(h)),this.gi!==n&&(this.gi=n,this.second.innerText=this.formatNumber(n))},t.prototype.formatNumber=function(t){return t<10?"0"+t:t},t})),c.d("FrontendItemCounter",(function(){function t(t,i,h){this.slider=t,this.data=h,this.currentPercent=this.data.fromPercent,this.listeners=[];var n=s.getElementById(i);n.ssCounter=this,this.layerElement=n.closest(".n2-ss-layer"),this.data.displayMode&&(this.display=n.querySelector(this.data.display)),this.countingDiv=n.querySelector(this.data.counting),this.data.duration>0&&this.start()}return t.prototype.start=function(){this.slider.started(this.started.bind(this))},t.prototype.started=function(){this.delay=(+this.data.delay||0)/1e3,this.listeners.push(lt(this.layerElement,"collectRelatedAnimations",this.collectRelatedAnimations.bind(this))),this.timeline=new c.J({paused:1});var t=this.update.bind(this),i={_percent:this.data.fromPercent,get percent(){return this._percent},set percent(i){this._percent=i,t(i)}};this.timeline.fromTo(i,this.data.duration/1e3,{percent:this.data.fromPercent},this._animateData(this.data.toPercent))},t.prototype.collectRelatedAnimations=function(t){t.relatedAnimations.in.push(new c.AnimationsRelated(this,"extendTimeline"))},t.prototype.extendTimeline=function(t,i,s){t.add(this.timeline,this.delay),this.timeline.paused(!1)},t.prototype._animateData=function(t,i){return{percent:t,ease:i=i||"easeOutExpo"}},t.prototype.update=function(t){switch(this.currentPercent=t,this.data.displayMode){case"circle":P(this.display,"stroke-dashoffset",(1-t)*this.data.c);break;case"width":F(this.display,"width",100*t+"%")}this.countingDiv.innerHTML=this.data.pre+(this.data.min+t*(this.data.total-this.data.min)).toFixed(0)+this.data.post},t.prototype.to=function(t,i){var s=this.update.bind(this),h={_percent:this.currentPercent,get percent(){return this._percent},set percent(t){this._percent=t,s(t)}};c.K.to(h,i/1e3,this._animateData(t/100))},t})),c.d("FrontendItemHighlightedHeading",(function(){function t(t,s){this.slider=s,this.mi=t,this.wrapper=this.mi.parentNode,this.listeners=[],this.refreshJustifyContent(),at(this.slider.sliderElement,"SliderResize",this.refreshJustifyContent.bind(this)),this.layerElement=this.mi.closest(".n2-ss-layer"),this.clean(),n2Slow||s.disabled.layerAnimations||!D(this.mi,"animate")||n2const.isParentSameOrigin()&&i.parent.tpEditorApp||(this.wrapper.querySelectorAll(".n2-ss-highlighted-heading-before,.n2-ss-highlighted-heading-after").forEach((function(t){var i,s=t.innerHTML.split(" "),h=t.className,n=new DocumentFragment;"n2-ss-highlighted-heading-after"===h&&s.unshift("");for(var o=0;o<s.length;o++)(i=v()).className=h,i.innerHTML=s[o]+"&nbsp;",n.appendChild(i);t.parentNode.insertBefore(n,t),B(t)})),this.start())}return t.prototype.clean=function(){},t.prototype.start=function(){this.slider.started(this.started.bind(this))},t.prototype.started=function(){this.delay=(+D(this.mi,"delay")||0)/1e3,this.duration=Math.max(+D(this.mi,"duration")||1500,1)/1e3,this.loop=+D(this.mi,"loop")||0;var t=+D(this.mi,"loopDelay");isFinite(t)||(t=2e3),this.loopDelay=t/1e3,this.paths=this.mi.querySelectorAll("path"),this.totalDuration=.6*this.duration*(this.paths.length-1)+this.duration,this.loop&&this.loopDelay>=0&&(this.totalDuration+=this.loopDelay+.8),this.listeners.push(lt(this.layerElement,"collectRelatedAnimations",this.collectRelatedAnimations.bind(this)))},t.prototype.collectRelatedAnimations=function(t){var i=t.relatedAnimations;1===this.loop?i.loop.push(new c.AnimationsLoopTimeline(this,0)):i.in.push(new c.AnimationsRelated(this,"extendTimeline"))},t.prototype.extendTimeline=function(t){var i=this.getTimeline();t.add(i,0),i.paused(!1)},t.prototype.getTimeline=function(){if(this.timeline===o){for(var t=new c.J({paused:1}),i=0;i<this.paths.length;i++)this.animatePath(t,this.paths[i],.6*this.duration*i);this.loop&&this.loopDelay>=0&&(t.to(c.MW.B(this.paths),.4,{opacity:0},"+="+this.loopDelay),t.set({},{},"+=0.4")),t.delay(this.delay),this.timeline=t}return this.timeline},t.prototype.getLoopTimeline=function(){return this.getTimeline()},t.prototype.animatePath=function(t,i,s){var h=c.MW.i(i),n=Math.round(1.01*(i.getTotalLength()||2e3));t.fromTo(h,.1,{opacity:0},{opacity:1},s),t.fromTo(h,this.duration,{"stroke-dasharray":"0 "+n},{"stroke-dasharray":n+" "+n},s)},t.prototype.refreshJustifyContent=function(){var t="";switch(i.getComputedStyle(this.wrapper).getPropertyValue("text-align")){case"left":t="flex-start";break;case"center":t="center";break;case"right":t="flex-end";break;case"justify":t="space-between"}c.MW.i(this.wrapper).justifyContent=t},t})),c.d("FrontendItemHeadingSplitText",(function(){var t={opacity:1,x:0,y:0,rotationX:0,rotationY:0,rotationZ:0,scale:1};function i(t,i,h,n,r,a,c,u){if(!(n2Slow||t.disabled.layerAnimations||t.disabled.layerSplitTextAnimations||!r&&!c)){this.node=s.getElementById(i),this.slider=t,this.splitText=!1,this.listeners=[];var f=this.node.querySelector("a.n2-ow");f&&(this.node=f),this.layerElement=this.node.closest(".n2-ss-layer"),this.in={options:!1,totalDuration:0,timeline:o,invalidate:!1},this.out={options:!1,totalDuration:0,timeline:o,invalidate:!1},this.node&&this.start(h,n,r,a,c,u)}}return i.prototype.start=function(t,i,s,h,n,o){this.slider.started(this.started.bind(this,t,i,s,h,n,o))},i.prototype.started=function(t,i,s,h,n,o){var r,a,u={chars:0,words:0};if(s&&(this.in.options=this.optimize(s.data,h),u[this.in.options.mode]=1),n&&(this.out.options=this.optimize(n.data,o),u[this.out.options.mode]=1),this.splitText=c.tt(this.node,u.chars),this.in.options){switch(r=this.in.options,a=this.splitText[r.mode].length,r.sort){case"side":case"center":a=Math.ceil(a/2)}this.in.totalDuration=(a-1)*Math.abs(r.stagger)+r.duration}if(this.out.options){switch(r=this.out.options,a=this.splitText[r.mode].length,r.sort){case"side":case"center":a=Math.ceil(a/2)}this.out.totalDuration=(a-1)*Math.abs(r.stagger)+r.duration}for(var f in(this.in.options||this.out.options)&&this.listeners.push(lt(this.layerElement,"collectRelatedAnimations",this.collectRelatedAnimations.bind(this))),c.MW.i(this.layerElement).perspective=1e3,this.node.textRendering="auto",u)u[f]&&c.MW.X(this.splitText[f]).setValues({"transform-origin":t,"backface-visibility":i})},i.prototype.getTimelineIn=function(){this.in.timeline=new c.J({paused:1});var i=this.in.options,s={ease:i.ease};return this._animate(this.in.timeline,i.mode,i.sort,i.duration,I({},i.from),S(s,t),i.stagger),this.in.timeline},i.prototype.getTimelineOut=function(){this.out.timeline=new c.J({paused:1});var i=this.out.options,s={ease:i.ease};return this.in.timeline&&(s.immediateRender=!1),this._animate(this.out.timeline,i.mode,i.sort,i.duration,I({},t),S(s,i.from),-i.stagger),this.out.timeline},i.prototype.collectRelatedAnimations=function(t){var i=t.relatedAnimations;this.in.options&&i.in.push(new c.AnimationsRelated(this,"extendTimelineIn")),this.out.options&&i.out.push(new c.AnimationsRelated(this,"extendTimelineOut"))},i.prototype.extendTimelineIn=function(t){var i=this.getTimelineIn();t.add(i,this.in.options.delay),i.paused(!1)},i.prototype.extendTimelineOut=function(t){var i=this.getTimelineOut();t.add(i,this.out.options.delay),i.paused(!1)},i.prototype._animate=function(t,i,s,h,n,o,r){var a=S([],this.splitText[i]),u=null,f=[];switch(s){case"reversed":a.reverse();break;case"random":!function(t,i,s,h){for(s=t.length;s;)i=Math.random()*s--|0,h=t[s],t[s]=t[i],t[i]=h}(a);break;case"side":case"center":for(u=[];a.length>1;)f.push(a.shift()),u.push(a.pop());1===a.length&&f.push(a.shift()),a=f,"center"===s&&(a.reverse(),u.reverse());break;case"sideShifted":case"centerShifted":for(;a.length>1;)f.push(a.shift()),f.push(a.pop());1===a.length&&f.push(a.shift()),a=f,"centerShifted"===s&&a.reverse()}t.staggerFromTo(c.MW.B(a),h,n,o,r,0),u&&u.length&&t.staggerFromTo(c.MW.B(u),h,n,o,r,0)},i.prototype.optimize=function(t,i){"lines"===t.mode&&(t.mode="words");var s={mode:t.mode,sort:t.sort,duration:t.duration,stagger:t.stagger,delay:i,from:{},ease:t.ease};return 1!=t.opacity&&(s.from.opacity=t.opacity),1!=t.scale&&(s.from.scale=t.scale),0!=t.x&&(s.from.x=t.x),0!=t.y&&(s.from.y=t.y),0!=t.rotationX&&(s.from.rotationX=t.rotationX),0!=t.rotationY&&(s.from.rotationY=t.rotationY),0!=t.rotationZ&&(s.from.rotationZ=t.rotationZ),s},i})),c.d("FrontendItemTransition",(function(){function t(t,i,h){this.slider=t,this.animation=h;var n=s.getElementById(i);at(n,"mouseenter",this["in"+h].bind(this)),at(n,"mouseleave",this["out"+h].bind(this)),this.Si=c.MW.B(n.querySelectorAll("img")),this.Ii=c.MW.i(n.querySelector(".n2-ss-item-transition-inner")),this["init"+h]()}return t.prototype.initFade=function(){this.Si[1].opacity=0},t.prototype.inFade=function(){c.K.to(this.Si[1],.5,{opacity:1}),c.K.to(this.Si[0],.5,{opacity:0})},t.prototype.outFade=function(){c.K.to(this.Si[1],.5,{opacity:0}),c.K.to(this.Si[0],.5,{opacity:1})},t.prototype.initVerticalFlip=function(){this.Ii.perspective=1e3,this.Si[0].transformPerspective=1e3,this.Si[1].transformPerspective=1e3,this.Si[0].rotationX=0,this.Si[1].rotationX=180},t.prototype.inVerticalFlip=function(){c.K.to(this.Si[0],.5,{rotationX:-180}),c.K.to(this.Si[1],.5,{rotationX:0})},t.prototype.outVerticalFlip=function(){c.K.to(this.Si[0],.5,{rotationX:0}),c.K.to(this.Si[1],.5,{rotationX:180})},t.prototype.initHorizontalFlip=function(){this.Ii.perspective=1e3,this.Si[0].transformPerspective=1e3,this.Si[1].transformPerspective=1e3,this.Si[0].rotationY=0,this.Si[1].rotationY=180},t.prototype.inHorizontalFlip=function(){c.K.to(this.Si[0],.5,{rotationY:-180}),c.K.to(this.Si[1],.5,{rotationY:0})},t.prototype.outHorizontalFlip=function(){c.K.to(this.Si[0],.5,{rotationY:0}),c.K.to(this.Si[1],.5,{rotationY:180})},t})),c.d("FrontendItemVideo",(function(){var t=1;function i(i,h,n,o){this.state={slideVisible:!1,visible:!1,scroll:!1,slide:!1,play:!1,continuePlay:!1},this.counter=t++,this.slider=i,this.playerId=h,this.playerElement=s.getElementById(this.playerId),this.parameters=S({autoplay:0,loop:0,reset:0},n),this.slide=i.findSlideByElement(this.playerElement),this.isStatic=this.slide.isStatic(),this.cover=this.playerElement.parentNode.querySelector(".n2_ss_video_player__cover");var r=+D(this.playerElement,"volume");0===r?(this.playerElement.volume=1,this.playerElement.muted=!0):(this.playerElement.volume=r,this.playerElement.muted=!1),this.slider.stages.done("BeforeShow",this.initVideoPlayer.bind(this))}return i.prototype.fadeOutCover=function(){this.coverFadedOut===o&&this.cover&&(this.coverFadedOut=!0,c.K.to(c.MW.i(this.cover),.3,{opacity:0,onComplete:function(){B(this.cover)}.bind(this)}))},i.prototype.initVideoPlayer=function(){"fill"===D(this.playerElement.parentNode,"aspectRatio")&&this.slider.responsive.doThrottledResize();var t=this.playerElement.closest(".n2-ss-layer");this.layer=t.layer,new ResizeObserver(function(t){var i=t[0].contentRect;if(i.width&&i.height)this.state.visible||this.setState("visible",!0,!0);else if(this.state.visible){var s=this.state.play;this.setState("visible",!1,!0),s&&this.setState("continuePlay",!0)}}.bind(this)).observe(t),this.slide.isVisible&&this.setState("slideVisible",!0,!0),at(this.slide.element,"Hidden",function(){var t=this.state.play;this.setState("slideVisible",!1,!0),t&&this.setState("continuePlay",!0)}.bind(this)),at(this.slide.element,"Visible",function(){this.setState("slideVisible",!0,!0)}.bind(this)),at(this.playerElement,"playing",function(){this.isStatic||nt(this.slider.sliderElement,"mediaStarted",{id:this.playerId}),ht(t,"n2play")}.bind(this)),at(this.playerElement,"ended",function(){1!==parseInt(this.parameters.loop)&&(this.isStatic||nt(this.slider.sliderElement,"mediaEnded",{id:this.playerId}),ht(t,"n2stop"),this.setState("play",!1),"next"===this.parameters.ended&&((s.fullscreenElement||s.webkitFullscreenElement)&&(s.exitFullscreen||s.webkitExitFullscreen).call(s),this.slider.next(!0)))}.bind(this)),at(this.playerElement,"pause",function(){ht(t,"n2pause"),this.state.continuePlay?(this.setState("continuePlay",!1),this.setState("play",!0)):this.setState("play",!1)}.bind(this)),this.slide.isActiveWhen()&&this.setState("slide",!0,!0),1===parseInt(this.parameters.autoplay)&&this.slider.visible(this.initAutoplay.bind(this)),this.isStatic||(at(this.slider.sliderElement,"CurrentSlideChanged",function(e){this.onCurrentSlideChange(e.detail.currentSlide)}.bind(this)),at(this.slider.sliderElement,"mainAnimationStart",function(e){this.onCurrentSlideChange(this.slider.slides[e.detail.currentSlideIndex])}.bind(this)),parseInt(this.parameters.reset)&&at(this.slider.sliderElement,"mainAnimationComplete",function(e){this.playerElement.currentTime>0&&!this.slide.isActiveWhen(this.slider.slides[e.detail.currentSlideIndex])&&(this.playerElement.currentTime=0)}.bind(this))),""!==this.parameters["scroll-pause"]?c.ScrollTracker.add(this.playerElement,this.parameters["scroll-pause"],function(){this.setState("scroll",!0,!0)}.bind(this),function(){this.setState("continuePlay",!0),this.setState("scroll",!1,!0)}.bind(this)):this.setState("scroll",!0,!0),this.cover&&(ct(this.cover,"click",this.safePlay.bind(this)),ct(t,"n2play",this.fadeOutCover.bind(this)))},i.prototype.onCurrentSlideChange=function(t){var i=this.slide.isActiveWhen(t);i&&1==this.parameters.autoplay&&this.setState("play",!0),this.setState("slide",i,!0)},i.prototype.initAutoplay=function(){this.isStatic?(this.setState("play",!0),this.setState("slide",!0,!0)):(at(this.slider.sliderElement,"mainAnimationComplete",function(e){this.slide.isActiveWhen(this.slider.slides[e.detail.currentSlideIndex])?(this.setState("play",!0),r(function(){this.setState("slide",!0,!0)}.bind(this),100)):this.setState("slide",!1,!0)}.bind(this)),this.slide.isActiveWhen()&&(this.setState("play",!0),this.setState("slide",!0,!0)))},i.prototype.setState=function(t,i,s){s=s||!1,this.state[t]=i,s&&(this.state.slideVisible&&this.state.visible&&this.state.play&&this.state.slide&&this.state.scroll?this.safePlay():this.safePause())},i.prototype.safePlay=function(){this.safeCallback(function(){this.playerElement.readyState<4&&this.playerElement.load(),this.promise=this.playerElement.play(),this.promise&&Promise!==o&&this.promise.catch(function(e){if("NotAllowedError"===e.name)var t=function(){ot(i),!1!==this.promise&&this.safePlay()}.bind(this),i=[rt(n,"click",t),rt(n,"touchend",t)]}.bind(this))}.bind(this))},i.prototype.safePause=function(){this.safeCallback(function(){this.playerElement.pause(),this.promise=!1}.bind(this))},i.prototype.safeCallback=function(t){this.promise&&Promise!==o?this.promise.then(t).catch(t):t()},i})),c.d("FrontendItemVimeo",(function(){function t(t,i,h,n,o,r){if(this.state={slideVisible:!1,visible:!1,scroll:!1,slide:!1,InComplete:!1,play:!1,continuePlay:!1},this.promise=new Promise(function(t){this._resolve=t}.bind(this)),this.slider=t,this.playerId=i,this.playerElement=s.getElementById(this.playerId),this.cover=this.playerElement.querySelector(".n2_ss_video_player__cover"),this.hasImage=o,this.start=r,this.parameters=S({vimeourl:"//vimeo.com/144598279",privateid:"",autoplay:"0",ended:"",reset:"0",title:"1",byline:"1",portrait:"0",loop:"0",color:"00adef",volume:"-1",dnt:"0"},n),1===parseInt(this.parameters.autoplay))if(navigator.userAgent.toLowerCase().indexOf("android")>-1)this.parameters.volume=0;else if(n2const.isIOS){this.parameters.autoplay=0;try{"playsInline"in f("video")&&(this.parameters.autoplay=1,this.parameters.volume=0)}catch(t){}}n2const.isLighthouse||c.r("windowLoad",this.whenLoaded.bind(this))}var i;return t.prototype.whenLoaded=function(){1===parseInt(this.parameters.autoplay)||!this.hasImage||n2const.isMobile?this.ready(this.initVimeoPlayer.bind(this)):this.ready(function(){var t=function(e){ot(i),e.preventDefault(),e.stopPropagation(),this.initVimeoPlayer(),this.safePlay()}.bind(this),i=[rt(this.playerElement,"click",t),rt(this.playerElement,"n2click",t)]}.bind(this))},t.prototype.ready=function(t){i||(i=new Promise((function(t){var i=f("script");i.onload=t,i.src="https://player.vimeo.com/api/player.js",s.head.appendChild(i)}))),i.then(t)},t.prototype.initVimeoPlayer=function(){var t=f("iframe");t.className="intrinsic-ignore",t.allow="fullscreen; autoplay; encrypted-media",t.id=this.playerId+"-frame",t.src="https://player.vimeo.com/video/"+this.parameters.vimeocode+"?autoplay=0&_video&title="+this.parameters.title+"&byline="+this.parameters.byline+"&background="+this.parameters.background+"&portrait="+this.parameters.portrait+"&color="+this.parameters.color+"&loop="+this.parameters.loop+("-1"==this.parameters.quality?"":"&quality="+this.parameters.quality)+"&dnt="+this.parameters["privacy-enhanced"]+(""!==this.parameters.privateid?"&h="+this.parameters.privateid:"")+"&playsinline=1",t.webkitAllowFullScreen=!0,t.allowFullScreen=!0,N(t,{position:"absolute",top:0,left:0,width:"100%",height:"100%"}),this.playerElement.prepend(t),this.player=new Vimeo.Player(t,{autoplay:!1}),this.promise=this.player.ready(),this.slider.stages.done("BeforeShow",function(){this.promise.then(this.onReady.bind(this))}.bind(this))},t.prototype.onReady=function(){var t=parseFloat(this.parameters.volume);t>=0&&this.setVolume(t),this.slide=this.slider.findSlideByElement(this.playerElement),this.isStatic=this.slide.isStatic();var i=this.playerElement.closest(".n2-ss-layer");this.layer=i.layer,new ResizeObserver(function(t){var i=t[0].contentRect;if(i.width&&i.height)this.state.visible||this.setState("visible",!0,!0);else if(this.state.visible){var s=this.state.play;this.setState("visible",!1,!0),s&&this.setState("continuePlay",!0)}}.bind(this)).observe(this.layer.layer),this.slide.isVisible&&this.setState("slideVisible",!0,!0),at(this.slide.element,"Hidden",function(){var t=this.state.play;this.setState("slideVisible",!1,!0),t&&this.setState("continuePlay",!0)}.bind(this)),at(this.slide.element,"Visible",function(){this.setState("slideVisible",!0,!0)}.bind(this)),this.cover&&(n2const.isMobile&&ct(this.cover,"click",this.safePlay.bind(this)),ct(i,"n2play",function(){c.K.to(c.MW.i(this.cover),.3,{opacity:0,onComplete:function(){B(this.cover)}.bind(this)})}.bind(this))),this.player.on("play",function(){this.isStatic||nt(this.slider.sliderElement,"mediaStarted",{id:this.playerId}),ht(i,"n2play")}.bind(this)),this.player.on("pause",function(){ht(i,"n2pause"),this.state.continuePlay?(this.setState("continuePlay",!1),this.setState("play",!0)):this.setState("play",!1)}.bind(this)),this.player.on("ended",function(){this.isStatic||nt(this.slider.sliderElement,"mediaEnded",{id:this.playerId}),ht(i,"n2stop"),this.setState("play",!1),"next"===this.parameters.ended&&0==this.parameters.loop&&((s.fullscreenElement||s.webkitFullscreenElement)&&(s.exitFullscreen||s.webkitExitFullscreen).call(s),this.slider.next(!0))}.bind(this)),this.isStatic||(at(this.slider.sliderElement,"CurrentSlideChanged",function(e){this.onCurrentSlideChange(e.detail.currentSlide)}.bind(this)),at(this.slider.sliderElement,"mainAnimationStart",function(e){this.onCurrentSlideChange(this.slider.slides[e.detail.currentSlideIndex])}.bind(this))),""!==this.parameters["scroll-pause"]?c.ScrollTracker.add(this.playerElement,this.parameters["scroll-pause"],function(){this.setState("scroll",!0,!0)}.bind(this),function(){this.setState("continuePlay",!0),this.setState("scroll",!1,!0)}.bind(this)):this.setState("scroll",!0,!0),this.slide.isActiveWhen()&&this.setState("slide",!0,!0),1===parseInt(this.parameters.autoplay)&&this.slider.visible(this.initAutoplay.bind(this)),this._resolve()},t.prototype.onCurrentSlideChange=function(t){this.slide.isActiveWhen(t)?(1==this.parameters.autoplay&&this.setState("play",!0),this.setState("slide",!0,!0)):(parseInt(this.parameters.reset)&&this.reset(),this.setState("slide",!0,!0))},t.prototype.initAutoplay=function(){this.layer.addStateCallback(function(t){this.setState("InComplete",t.InComplete,!0)}.bind(this)),this.isStatic?(this.setState("play",!0),this.setState("slide",!0,!0)):(at(this.slider.sliderElement,"mainAnimationComplete",function(e){this.slide.isActiveWhen(this.slider.slides[e.detail.currentSlideIndex])?(this.setState("play",!0),this.setState("slide",!0,!0)):this.setState("slide",!1,!0)}.bind(this)),this.slide.isActiveWhen()&&(this.setState("play",!0),this.setState("slide",!0,!0)))},t.prototype.setState=function(t,i,s){s=s||!1,this.state[t]=i,s&&(this.state.slideVisible&&this.state.visible&&this.state.play&&this.state.slide&&this.state.InComplete&&this.state.scroll&&this.layer.isVisible?this.play():this.pause(),this.state.slideVisible&&this.state.visible&&this.state.slide&&this.layer.isVisible?O(this.player.element,"tabindex"):P(this.player.element,"tabindex","-1"))},t.prototype.play=function(){nt(this.slider.sliderElement,"mediaStarted",{id:this.playerId}),0!=this.start&&this.safeSetCurrentTime(this.start),this.safePlay(),this.player.getCurrentTime().then(function(t){t<this.start&&0!=this.start&&this.safeSetCurrentTime(this.start),this.safePlay()}.bind(this)).catch(function(t){this.safePlay()}.bind(this))},t.prototype.pause=function(){this.safePause()},t.prototype.reset=function(){this.safeSetCurrentTime(this.start)},t.prototype.setVolume=function(t){this.safeCallback(function(){this.promise=this.player.setVolume(t)}.bind(this))},t.prototype.safeSetCurrentTime=function(t){this.safeCallback(function(){this.promise=this.player.setCurrentTime(t)}.bind(this))},t.prototype.safePlay=function(){this.safeCallback(function(){this.promise=this.player.getPaused(),this.safeCallback(function(t){t&&(this.promise=this.player.play())}.bind(this))}.bind(this))},t.prototype.safePause=function(){this.safeCallback(function(){this.promise=this.player.getPaused(),this.safeCallback(function(t){t||(this.promise=this.player.pause())}.bind(this))}.bind(this))},t.prototype.safeCallback=function(t){this.promise&&Promise!==o?this.promise.then(t).catch(t):t()},t})),c.d("FrontendItemYouTube",(function(){function t(t,i,h,n){this.state={slideVisible:!1,visible:!1,scroll:!1,slide:!1,InComplete:!1,play:!1,continuePlay:!1},this.promise=new Promise(function(t){this._resolve=t}.bind(this)),this.slider=t,this.playerId=i,this.playerElement=s.getElementById(this.playerId),this.cover=this.playerElement.querySelector(".n2_ss_video_player__cover"),this.hasImage=n,this.parameters=S({youtubeurl:"//www.youtube.com/watch?v=3PPtkRU7D74",youtubecode:"3PPtkRU7D74",center:0,autoplay:1,ended:"",related:"1",volume:"-1",loop:0,modestbranding:1,reset:0,query:[],playsinline:1},h),n2const.isLighthouse||c.r("windowLoad",this.whenLoaded.bind(this))}var h;return t.prototype.whenLoaded=function(){if(1===parseInt(this.parameters.autoplay)||!this.hasImage||n2const.isMobile)this.ready(this.initYoutubePlayer.bind(this));else var t=function(e){ot(i),e.preventDefault(),e.stopPropagation(),this.ready(function(){this.promise.then(this.play.bind(this)),this.initYoutubePlayer()}.bind(this))}.bind(this),i=[rt(this.playerElement,"click",t),rt(this.playerElement,"n2click",t)]},t.prototype.ready=function(t){if(!h&&(h=new Promise((function(t){var s;(s=i._EPYT_!==o?function(){!0===i._EPADashboard_.initStarted?t():r(s,100)}:function(){i.YT!==o&&i.YT.loaded?t():r(s,100)})()})),i.YT===o)){var n=f("script");n.src="https://www.youtube.com/iframe_api",s.head.appendChild(n)}h.then(t)},t.prototype.fadeOutCover=function(){this.coverFadedOut===o&&this.cover&&(this.coverFadedOut=!0,c.K.to(c.MW.i(this.cover),.3,{opacity:0,onComplete:function(){B(this.cover)}.bind(this)}))},t.prototype.initYoutubePlayer=function(){var t=this.playerElement.closest(".n2-ss-layer");this.layer=t.layer,this.cover&&(n2const.isMobile&&ct(this.cover,"click",this.play.bind(this)),ct(t,"n2play",this.fadeOutCover.bind(this))),this.slide=this.slider.findSlideByElement(this.playerElement),this.isStatic=this.slide.isStatic();var h={enablejsapi:1,origin:i.location.protocol+"//"+i.location.host,wmode:"opaque",rel:1-this.parameters.related,start:this.parameters.start,end:this.parameters.end,modestbranding:this.parameters.modestbranding,playsinline:this.parameters.playsinline};if(1===parseInt(this.parameters.autoplay))if(navigator.userAgent.toLowerCase().indexOf("android")>-1)this.parameters.volume=0;else if(n2const.isIOS){this.parameters.autoplay=0;try{"playsInline"in f("video")&&(this.parameters.autoplay=1,this.parameters.volume=0,h.playsinline=1)}catch(t){}}for(var n in n2const.isIOS&&this.parameters.controls&&(h.use_native_controls=1),1==this.parameters.center&&(h.controls=0),1!=this.parameters.controls&&(h.autohide=1,h.controls=0),+(navigator.platform.toUpperCase().indexOf("MAC")>=0&&navigator.userAgent.search("Firefox")>-1)&&(h.html5=1),this.parameters.query)this.parameters.query.hasOwnProperty(n)&&(h[n]=this.parameters.query[n]);var o={videoId:this.parameters.youtubecode,wmode:"opaque",playerVars:h,events:{onReady:this.onReady.bind(this),onStateChange:function(i){switch(i.data){case YT.PlayerState.PLAYING:case YT.PlayerState.BUFFERING:this.isStatic||this.slide.isActiveWhen(this.slider.currentSlide)&&nt(this.slider.sliderElement,"mediaStarted",{id:this.playerId}),ht(t,"n2play");break;case YT.PlayerState.PAUSED:ht(t,"n2pause"),this.state.continuePlay?(this.setState("continuePlay",!1),this.setState("play",!0)):this.setState("play",!1);break;case YT.PlayerState.ENDED:1==this.parameters.loop?(this.player.seekTo(this.parameters.start),this.player.playVideo()):(this.isStatic||nt(this.slider.sliderElement,"mediaEnded",{id:this.playerId}),ht(t,"n2stop"),this.setState("play",!1),"next"===this.parameters.ended&&((s.fullscreenElement||s.webkitFullscreenElement)&&(s.exitFullscreen||s.webkitExitFullscreen).call(s),this.slider.next(!0)))}}.bind(this)}};(this.parameters["privacy-enhanced"]||i.jQuery&&i.jQuery.fn.revolution)&&(o.host="https://www.youtube-nocookie.com"),this.player=new YT.Player(this.playerId+"-frame",o),1==this.parameters.center&&(F(this.playerElement.parentNode,"overflow","hidden"),this.onResize(),at(this.slider.sliderElement,"SliderResize",this.onResize.bind(this)))},t.prototype.onReady=function(){this.slider.stages.done("BeforeShow",this.onBeforeShow.bind(this))},t.prototype.onBeforeShow=function(){var t=parseFloat(this.parameters.volume);t>0?this.setVolume(t):-1!==t&&this.player.mute(),new ResizeObserver(function(t){var i=t[0].contentRect;if(i.width&&i.height)this.state.visible||this.setState("visible",!0,!0);else if(this.state.visible){var s=this.state.play;this.setState("visible",!1,!0),s&&this.setState("continuePlay",!0)}}.bind(this)).observe(this.layer.layer),this.slide.isVisible&&this.setState("slideVisible",!0,!0),at(this.slide.element,"Hidden",function(){var t=this.state.play;this.setState("slideVisible",!1,!0),t&&this.setState("continuePlay",!0)}.bind(this)),at(this.slide.element,"Visible",function(){this.setState("slideVisible",!0,!0)}.bind(this)),this.slide.isActiveWhen()&&this.setState("slide",!0,!0),1==this.parameters.autoplay&&this.slider.visible(this.initAutoplay.bind(this)),this.isStatic||(at(this.slider.sliderElement,"CurrentSlideChanged",function(e){this.onCurrentSlideChange(e.detail.currentSlide)}.bind(this)),at(this.slider.sliderElement,"mainAnimationStart",function(e){this.onCurrentSlideChange(this.slider.slides[e.detail.currentSlideIndex])}.bind(this)),parseInt(this.parameters.reset)&&at(this.slider.sliderElement,"mainAnimationComplete",function(e){this.slide.isActiveWhen(this.slider.slides[e.detail.currentSlideIndex])||0!==this.player.getCurrentTime()&&this.player.seekTo(this.parameters.start)}.bind(this))),this._resolve(),""!==this.parameters["scroll-pause"]?c.ScrollTracker.add(this.playerElement,this.parameters["scroll-pause"],function(){this.setState("scroll",!0,!0)}.bind(this),function(){this.setState("continuePlay",!0),this.setState("scroll",!1,!0)}.bind(this)):this.setState("scroll",!0,!0)},t.prototype.onCurrentSlideChange=function(t){var i=this.slide.isActiveWhen(t);i&&1==this.parameters.autoplay&&this.setState("play",!0),this.setState("slide",i,!0)},t.prototype.onResize=function(){var t=this.playerElement.parentNode.getBoundingClientRect(),i=t.width,s=t.height+100,h=16/9,n={width:i+"px",height:s+"px","margin-top":0};n[n2const.rtl["margin-left"]]=0,i/s>h?(n.height=i*h+"px",n["margin-top"]=(s-i*h)/2+"px"):(n.width=s*h+"px",n[n2const.rtl["margin-left"]]=(i-s*h)/2+"px"),N(this.playerElement,n)},t.prototype.initAutoplay=function(){this.layer.addStateCallback(function(t){this.setState("InComplete",t.InComplete,!0)}.bind(this)),this.isStatic?(this.setState("play",!0),this.setState("slide",!0,!0)):(at(this.slider.sliderElement,"mainAnimationComplete",function(e){this.slide.isActiveWhen(this.slider.slides[e.detail.currentSlideIndex])?(this.setState("play",!0),this.setState("slide",!0,!0)):this.setState("slide",!1,!0)}.bind(this)),this.slide.isActiveWhen()&&(this.setState("play",!0),this.setState("slide",!0,!0)))},t.prototype.setState=function(t,i,s){s=s||!1,this.state[t]=i,s&&(this.state.slideVisible&&this.state.visible&&this.state.play&&this.state.slide&&this.state.InComplete&&this.state.scroll?this.play():this.pause())},t.prototype.play=function(){this.isStopped()&&(this.coverFadedOut===o&&r(this.fadeOutCover.bind(this),200),nt(this.slider.sliderElement,"mediaStarted",{id:this.playerId}),this.player.playVideo())},t.prototype.pause=function(){this.isStopped()||this.player.pauseVideo()},t.prototype.stop=function(){this.player.stopVideo()},t.prototype.isStopped=function(){switch(this.player.getPlayerState()){case-1:case 2:case 5:return!0;default:return!1}},t.prototype.setVolume=function(t){this.player.setVolume(100*t)},t})),c.d("smartslider-frontend")})(window);
// source --> https://itancia.com/wp-content/plugins/nextend-smart-slider3-pro/Public/SmartSlider3/Slider/SliderType/Simple/Assets/dist/ss-simple.min.js?ver=4e06d1a7 
!function(t){var i=t;i._N2=i._N2||{_r:[],_d:[],r:function(){this._r.push(arguments)},d:function(){this._d.push(arguments)}};var s=t.document,n=(s.documentElement,t.setTimeout),h=t.clearTimeout,a=i._N2,r=(t.requestAnimationFrame,Object.assign),o=function(t,i){return t.dispatchEvent(i)},c=function(t,i){return o(t,new Event(i,{bubbles:!1,cancelable:!1}))},u=function(t,i,s){t.addEventListener(i,s,{once:!0})};navigator.userAgent.indexOf("+http://www.google.com/bot.html")>-1||i.requestIdleCallback,i.cancelIdleCallback;!function(t){if("complete"===s.readyState||"interactive"===s.readyState)t();else if(Document&&Document.prototype&&Document.prototype.addEventListener&&Document.prototype.addEventListener!==s.addEventListener){const i=()=>{t(),t=()=>{}};s.addEventListener("DOMContentLoaded",i),s.addEventListener("readystatechange",(()=>{"complete"!==s.readyState&&"interactive"!==s.readyState||i()})),Document.prototype.addEventListener.call(s,"DOMContentLoaded",i)}else s.addEventListener("DOMContentLoaded",t)}((function(){s.body})),a.d("SmartSliderMainAnimationSimple",["SmartSliderMainAnimationAbstract"],(function(){function t(t,i){switch(this.postBackgroundAnimation=!1,this._currentBackgroundAnimation=!1,this.reverseSlideIndex=null,(i=r({delay:0,type:"horizontal",shiftedBackgroundAnimation:"auto"},i)).delay/=1e3,i.duration<300&&(i.type="no"),a.SmartSliderMainAnimationAbstract.prototype.constructor.call(this,t,i),t.isAdmin||t.disabled.postBackgroundAnimations||!this.slider.parameters.postBackgroundAnimations||(this.isReverseAllowed=!1,this.postBackgroundAnimation=new a.SmartSliderPostBackgroundAnimation(t,this)),this.parameters.type){case"no":this.animation=this._mainAnimationNo,this.isNoAnimation=!0;break;case"fade":this.animation=this._mainAnimationFade;break;case"crossfade":this.animation=this._mainAnimationCrossFade;break;case"vertical":t.backgrounds.hasFixed?this.animation=this._mainAnimationFade:this.animation=this._mainAnimationVertical;break;case"vertical-reversed":t.backgrounds.hasFixed?this.animation=this._mainAnimationFade:this.animation=this._mainAnimationVerticalReversed;break;case"horizontal-reversed":this.animation=this._mainAnimationHorizontalReversed;break;default:this.animation=this._mainAnimationHorizontal}}return t.prototype=Object.create(a.SmartSliderMainAnimationAbstract.prototype),t.prototype.constructor=t,t.prototype.changeTo=function(t,i,s,n){this.postBackgroundAnimation&&this.postBackgroundAnimation.prepareToSwitchSlide(t,i),a.SmartSliderMainAnimationAbstract.prototype.changeTo.apply(this,arguments)},t.prototype.setActiveSlide=function(t){for(var i=0;i<this.slider.slides.length;i++)this.slider.slides[i]!==t&&this.hideSlide(this.slider.slides[i])},t.prototype.hideSlide=function(t){a.MW.t(t.SMWs,{x:-1e5*n2const.rtl.modifier})},t.prototype.showSlide=function(t){a.MW.t(t.SMWs,{x:0,y:0})},t.prototype.cleanSlideIndex=function(t){this.hideSlide(this.slider.slides[t])},t.prototype.revertTo=function(t,i){a.MW.t(this.slider.slides[i].SMWs,{zIndex:""}),this.hideSlide(this.slider.slides[i]),a.SmartSliderMainAnimationAbstract.prototype.revertTo.apply(this,arguments)},t.prototype._initAnimation=function(t,i,s){this.animation(t,i,s)},t.prototype.onBackwardChangeToComplete=function(t,i,s){this.reverseSlideIndex=null,this.onChangeToComplete(t,i,s)},t.prototype.onChangeToComplete=function(t,i,s){null!==this.reverseSlideIndex&&(c(this.slider.slides[this.reverseSlideIndex].element,"mainAnimationStartInCancel"),this.reverseSlideIndex=null),this.hideSlide(t),a.SmartSliderMainAnimationAbstract.prototype.onChangeToComplete.apply(this,arguments)},t.prototype.onReverseChangeToComplete=function(t,i,s){this.hideSlide(t),a.SmartSliderMainAnimationAbstract.prototype.onReverseChangeToComplete.apply(this,arguments)},t.prototype._mainAnimationNo=function(t,i){this.parameters.delay=0,this.parameters.duration=.1,this._mainAnimationFade(t,i)},t.prototype._mainAnimationFade=function(t,i){a.MW.t(t.SMWs,{zIndex:23}),this.showSlide(i),t.unsetActive(),i.setActive();var s=this.adjustMainAnimation();if(0!==this.parameters.shiftedBackgroundAnimation){var n=!1,h=!1;if("auto"===this.parameters.shiftedBackgroundAnimation?t.hasLayers()?n=!0:h=!0:n=!0,this._currentBackgroundAnimation&&n){var r=s.outDuration-s.extraDelay;r>0&&this.timeline.shiftChildren(r),this._currentBackgroundAnimation.shiftedPreSetup&&this._currentBackgroundAnimation._preSetup()}else h&&(s.extraDelay>0&&this.timeline.shiftChildren(s.extraDelay),this._currentBackgroundAnimation.shiftedPreSetup&&this._currentBackgroundAnimation._preSetup())}var o=[t.SMWs[0]];!this._currentBackgroundAnimation&&t.SMWs[1]&&o.push(t.SMWs[1]),this.timeline.fromTo(o,s.outDuration,{opacity:1},{opacity:0,ease:this.getEase()},s.outDelay);var c=a.MW.i(i.element);this.timeline.fromTo(c,s.inDuration,{opacity:0},{opacity:1,ease:this.getEase()},s.inDelay),!this._currentBackgroundAnimation&&i.background&&(a.MW.i(i.background.element).opacity=1),u(this.sliderElement,"mainAnimationComplete",function(e){var t=this.slider.slides[e.detail.previousSlideIndex];a.MW.t(t.SMWs,{zIndex:"",opacity:1})}.bind(this)),this.slider.updateInsideSlides([t,i])},t.prototype._mainAnimationCrossFade=function(t,i){a.MW.t(t.SMWs,{zIndex:23}),this.showSlide(i),t.unsetActive(),i.setActive();var s=this.adjustMainAnimation();if(0!=this.parameters.shiftedBackgroundAnimation){var n=!1,h=!1;if("auto"==this.parameters.shiftedBackgroundAnimation?t.hasLayers()?n=!0:h=!0:n=!0,this._currentBackgroundAnimation&&n){var r=s.outDuration-s.extraDelay;r>0&&this.timeline.shiftChildren(r),this._currentBackgroundAnimation.shiftedPreSetup&&this._currentBackgroundAnimation._preSetup()}else h&&(s.extraDelay>0&&this.timeline.shiftChildren(s.extraDelay),this._currentBackgroundAnimation.shiftedPreSetup&&this._currentBackgroundAnimation._preSetup())}var o=[t.SMWs[0]];!this._currentBackgroundAnimation&&t.SMWs[1]&&o.push(t.SMWs[1]),this.timeline.fromTo(o,s.outDuration,{opacity:1},{opacity:0,ease:this.getEase()},s.outDelay);var c=[i.SMWs[0]];!this._currentBackgroundAnimation&&i.SMWs[1]&&c.push(i.SMWs[1]),this.timeline.fromTo(c,s.inDuration,{opacity:0},{opacity:1,ease:this.getEase()},s.inDelay),u(this.sliderElement,"mainAnimationComplete",function(e){var t=this.slider.slides[e.detail.previousSlideIndex],i=this.slider.slides[e.detail.currentSlideIndex];a.MW.t(t.SMWs,{zIndex:"",opacity:1}),a.MW.t(i.SMWs,{opacity:1})}.bind(this)),this.slider.updateInsideSlides([t,i])},t.prototype._mainAnimationHorizontal=function(t,i,s){this.__mainAnimationDirection(t,i,"horizontal",s)},t.prototype._mainAnimationVertical=function(t,i,s){this.showSlide(i),this.__mainAnimationDirection(t,i,"vertical",s)},t.prototype._mainAnimationHorizontalReversed=function(t,i,s){this.__mainAnimationDirection(t,i,"horizontal",!s)},t.prototype._mainAnimationVerticalReversed=function(t,i,s){this.showSlide(i),this.__mainAnimationDirection(t,i,"vertical",!s)},t.prototype.__mainAnimationDirection=function(t,i,s,n){var h=t.SMWs,r=i.SMWs,o=[t,i],c="",l=0;"horizontal"===s?(c="x",l=Math.floor(this.slider.responsive.resizeContext.slideOuterWidth),n2const.rtl.isRtl&&(n=!n)):"vertical"===s&&(c="y",l=Math.floor(this.slider.responsive.resizeContext.slideOuterHeight)),n&&(l*=-1);var f={},v={snap:"x,y",ease:this.getEase()},d={snap:"x,y",ease:this.getEase()};f[c]=l,d[c]=-l,a.MW.t(h,{zIndex:23});var m={zIndex:23};m[c]=l,a.MW.t(r,m),t.unsetActive(),i.setActive();var p,S=this.adjustMainAnimation();if(v[c]=0,this.timeline.fromTo(r,S.inDuration,f,v,S.inDelay),0!=this.parameters.shiftedBackgroundAnimation){var y=!1,x=!1;if("auto"===this.parameters.shiftedBackgroundAnimation?t.hasLayers()?y=!0:x=!0:y=!0,this._currentBackgroundAnimation&&y){var b=S.outDuration-S.extraDelay;b>0&&this.timeline.shiftChildren(b),this._currentBackgroundAnimation.shiftedPreSetup&&this._currentBackgroundAnimation._preSetup()}else x&&(S.extraDelay>0&&this.timeline.shiftChildren(S.extraDelay),this._currentBackgroundAnimation.shiftedPreSetup&&this._currentBackgroundAnimation._preSetup())}if(this.timeline.to(h,S.outDuration,d,S.outDelay),this.isTouch&&this.isReverseAllowed)if(n?this.slider.blockCarousel&&this.slider.isChangeCarousel("next")||(p=t.getNext()):this.slider.blockCarousel&&this.slider.isChangeCarousel("previous")||(p=t.getPrevious()),p&&p!==i){this.reverseSlideIndex=p.index,this.enableReverseMode(),o.push(p),"vertical"===s&&this.showSlide(p);var D=p.SMWs,z={};z[c]=l,a.MW.t(D,z);var w={},A={snap:"x,y",ease:this.getEase()},I={},C={snap:"x,y",ease:this.getEase()};A[c]=0,w[c]=-l,C[c]=l,I[c]=0,p.h("mainAnimationStartIn",{mainAnimation:this,previousSlideIndex:t.index,currentSlideIndex:p.index,isSystem:!1}),this.reverseTimeline.paused(!0),this.reverseTimeline.eventCallback("onComplete",this.onBackwardChangeToComplete.bind(this),[t,p,!1]),this.reverseTimeline.fromTo(D,S.inDuration,w,A,S.inDelay),this.reverseTimeline.fromTo(h,S.inDuration,I,C,S.inDelay)}else this.reverseSlideIndex=null;u(this.sliderElement,"mainAnimationComplete",function(e){var t=this.slider.slides[e.detail.previousSlideIndex],i=this.slider.slides[e.detail.currentSlideIndex];a.MW.t(t.SMWs,{zIndex:""}),a.MW.t(i.SMWs,{zIndex:""})}.bind(this)),this.slider.updateInsideSlides(o)},t.prototype.getExtraDelay=function(){return 0},t.prototype.adjustMainAnimation=function(){var t=this.parameters.duration,i=this.parameters.delay,s=this.timeline.totalDuration(),n=this.getExtraDelay();if(s>0){var h=t+i;if(!(h>s))return{inDuration:t,outDuration:t,inDelay:s-t,outDelay:n,extraDelay:n};t=t*s/h,(i=i*s/h)<n&&(t-=n-i,i=n)}else i+=n;return{inDuration:t,outDuration:t,inDelay:i,outDelay:i,extraDelay:n}},t.prototype.hasBackgroundAnimation=function(){return!1},t})),a.d("SmartSliderResponsiveSimple",["SmartSliderResponsive"],(function(){function t(){this.round=1,a.SmartSliderResponsive.prototype.constructor.apply(this,arguments),this.o=this.sliderElement.classList.contains("n2-ss-full-page--constrain-ratio"),this.mainAnimation=this.slider.mainAnimation}return t.prototype=Object.create(a.SmartSliderResponsive.prototype),t.prototype.constructor=t,t.prototype.init=function(){a.SmartSliderResponsive.prototype.init.call(this),this._cacheEl={slider:this.sliderElement.querySelector(".n2-ss-slider-wrapper-inside")||this.sliderElement,"n2-ss-slider-2":this.sliderElement.querySelector(".n2-ss-slider-2"),"n2-ss-slider-3":this.sliderElement.querySelector(".n2-ss-slider-3")},this._cacheEl["n2-ss-slider-3"].addEventListener("scroll",(function(e){e.currentTarget.scrollTop=0,e.currentTarget.scrollLeft=0}),{capture:!0})},t.prototype.calculateResponsiveValues=function(){var t=this.slider.visibleRealSlides[0].element,i=t.getBoundingClientRect();this.resizeContext.slideSelfWidth=i.width,this.resizeContext.slideSelfHeight=i.height;var s=t.querySelector(".n2-ss-layers-container").getBoundingClientRect();this.resizeContext.slideWidth=s.width,this.resizeContext.slideHeight=s.height;var n=this._cacheEl.slider.getBoundingClientRect();this.resizeContext.sliderWidth=n.width,this.resizeContext.sliderHeight=n.height;var h=this._cacheEl["n2-ss-slider-3"].getBoundingClientRect();if(this.resizeContext.slideOuterWidth=h.width,this.resizeContext.slideOuterHeight=h.height,a.SmartSliderResponsive.prototype.calculateResponsiveValues.call(this),this.o){var r=(this.resizeContext.sliderWidth-this.resizeContext.slideWidth)/-2+"px",o=(this.resizeContext.sliderHeight-this.resizeContext.slideHeight)/-2+"px";a.MW.i(this._cacheEl.slider)["--ss-clip-path"]="inset("+o+" "+r+" "+o+" "+r+")"}},t.prototype.onStarterSlide=function(t){this.slider.slides.forEach((function(t){t.SMWs=[a.MW.i(t.element,{x:"-10000px"})],t.background&&t.SMWs.push(a.MW.i(t.background.element,{x:"-10000px"}))})),a.SmartSliderResponsive.prototype.onStarterSlide.apply(this,arguments),this.mainAnimation.setActiveSlide(this.slider.currentSlide)},t})),a.d("SmartSliderSimple",["SmartSliderAbstract"],(function(){function t(t,i){this.type="simple",a.SmartSliderAbstract.prototype.constructor.call(this,t,r({bgAnimations:0,carousel:1},i))}return t.prototype=Object.create(a.SmartSliderAbstract.prototype),t.prototype.constructor=t,t.prototype.initResponsiveMode=function(){this.responsive=new a.SmartSliderResponsiveSimple(this,this.parameters.responsive),this.responsive.start(),a.SmartSliderAbstract.prototype.initResponsiveMode.call(this)},t.prototype.initMainAnimation=function(){!this.disabled.backgroundAnimations&&this.parameters.bgAnimations?this.mainAnimation=new a.SmartSliderFrontendBackgroundAnimation(this,this.parameters.mainanimation,this.parameters.bgAnimations):this.mainAnimation=new a.SmartSliderMainAnimationSimple(this,this.parameters.mainanimation)},t.prototype.afterRawSlidesReady=function(){if(this.parameters.postBackgroundAnimations&&this.parameters.postBackgroundAnimations.slides){for(var t=0;t<this.slides.length;t++)this.slides[t].postBackgroundAnimation=this.parameters.postBackgroundAnimations.slides[t];delete this.parameters.postBackgroundAnimations.slides}if(this.parameters.bgAnimations&&this.parameters.bgAnimations.slides){for(var i=0;i<this.slides.length;i++)this.slides[i].backgroundAnimation=this.parameters.bgAnimations.slides[i];delete this.parameters.bgAnimations.slides}},t.prototype.forceSetActiveSlide=function(t){t.setActive(),this.mainAnimation.showSlide(t)},t.prototype.forceUnsetActiveSlide=function(t){t.unsetActive(),this.mainAnimation.hideSlide(t)},t.prototype.getSlideBackgroundContainer=function(){return this.sliderElement.querySelector(".n2-ss-slider-3")},t.prototype.getAnimationAxis=function(){switch(this.mainAnimation.parameters.type){case"vertical":case"vertical-reversed":return"vertical"}return"horizontal"},t})),a.d("ss-simple",["SmartSliderSimple","SmartSliderResponsiveSimple","SmartSliderMainAnimationSimple"])}(window);
// source --> https://itancia.com/wp-content/plugins/nextend-smart-slider3-pro/Public/SmartSlider3/Widget/Bullet/Assets/dist/w-bullet.min.js?ver=4e06d1a7 
!function(t){var i=t;i._N2=i._N2||{_r:[],_d:[],r:function(){this._r.push(arguments)},d:function(){this._d.push(arguments)}};var n,s=t.document,o=(s.documentElement,t.setTimeout),a=t.clearTimeout,r=i._N2,h=(t.requestAnimationFrame,function(t,i=null,n=null,o=null){const a=s.createElement(t);return i&&("string"==typeof i?g(a,i):v(a,i)),n&&l(a,n),o&&d(a,o),a}),c=function(t,i,n){return h("div",t,i,n)},u=(Object.assign,function(t,i,n){t.setAttribute(i,n)}),l=function(t,i){for(var n in i)u(t,n,i[n])},f=function(t,i){t.removeAttribute(i)},p=function(t,i,n){t.dataset[i]=n},d=function(t,i){for(let n in i)p(t,n,i[n])},m=function(t,i,n){t.style.setProperty(i,n)},b=function(t,i){for(var n in i)m(t,n,i[n])},g=function(t,i){t.classList.add(i)},v=function(t,i){i.forEach((function(i){t.classList.add(i)}))},x=function(t,i){t.classList.remove(i)},w=function(t,i,n,s){s=s||{},t.addEventListener(i,n,s)};navigator.userAgent.indexOf("+http://www.google.com/bot.html")>-1||i.requestIdleCallback,i.cancelIdleCallback;!function(t){if("complete"===s.readyState||"interactive"===s.readyState)t();else if(Document&&Document.prototype&&Document.prototype.addEventListener&&Document.prototype.addEventListener!==s.addEventListener){const i=()=>{t(),t=()=>{}};s.addEventListener("DOMContentLoaded",i),s.addEventListener("readystatechange",(()=>{"complete"!==s.readyState&&"interactive"!==s.readyState||i()})),Document.prototype.addEventListener.call(s,"DOMContentLoaded",i)}else s.addEventListener("DOMContentLoaded",t)}((function(){s.body})),r.d("SmartSliderWidgetBulletTransition","SmartSliderWidget",(function(){function t(t,i){this.parameters=i,r.SmartSliderWidget.prototype.constructor.call(this,t,"bullet",".n2-ss-control-bullet")}return t.prototype=Object.create(r.SmartSliderWidget.prototype),t.prototype.constructor=t,t.prototype.onStart=function(){switch(this.hasDots=!0,this.axis="horizontal",this.bar=this.widget.querySelector(".nextend-bullet-bar"),this.parameters.area){case 5:case 8:this.axis="vertical"}this.slider.stages.done("BeforeShow",this.onBeforeShow.bind(this))},t.prototype.onBeforeShow=function(){if(this.onVisibleSlidesChanged(),this.hasDots){var t=this.slider.currentSlide.ssdot;g(t,"n2-active"),f(t,"tabindex"),u(t,"aria-current","true")}w(this.slider.sliderElement,"SlideWillChange",this.onSlideSwitch.bind(this)),w(this.slider.sliderElement,"visibleSlidesChanged",this.onVisibleSlidesChanged.bind(this))},t.prototype.onSlideSwitch=function(e){if(this.hasDots){for(var t,i=0;i<this._dots.length;i++)t=this._dots[i],x(t,"n2-active"),u(t,"tabindex",0),f(t,"aria-current");t=e.detail.targetSlide.ssdot||e.detail.targetSlide.group.ssdot,g(t,"n2-active"),f(t,"tabindex"),u(t,"aria-current","true")}},t.prototype.showThumbnail=function(t,e){var i,n,s,o=this.getThumbnail(t);r.K.to(r.MW.i(o),.3,{opacity:1}),i=t.ssdot,n="universalleave",s=this.hideThumbnail.bind(this,o),i.addEventListener(n,s,{once:!0})},t.prototype.hideThumbnail=function(t,e){e.stopPropagation(),r.K.to(r.MW.i(t),.3,{opacity:0,onComplete:function(){t.remove()}})},t.prototype.getThumbnail=function(t){var n=t.ssdot,s=this.slider.sliderElement.getBoundingClientRect(),o=n.getBoundingClientRect(),a=c(),h=c();h.className="n2-ss-bullet-thumbnail",b(h,{width:this.parameters.thumbnailWidth+"px",height:this.parameters.thumbnailHeight+"px","background-image":'url("'+t.getThumbnail()+'")'}),a.appendChild(h),r.MW.i(a).opacity=0,a.className=this.parameters.thumbnailStyle+" n2-ss-bullet-thumbnail-container",this.slider.sliderElement.appendChild(a);var u=i.getComputedStyle(a),l=a.getBoundingClientRect();switch(this.parameters.thumbnailPosition){case"right":b(a,{left:o.left-s.left+o.width-parseInt(u.getPropertyValue("margin-left"))-parseInt(u.getPropertyValue("margin-right"))+"px",top:o.top-s.top+o.height/2-l.height/2+"px"});break;case"left":b(a,{left:o.left-s.left-l.width-parseInt(u.getPropertyValue("margin-left"))-parseInt(u.getPropertyValue("margin-right"))+"px",top:o.top-s.top+o.height/2-l.height/2+"px"});break;case"top":b(a,{left:o.left-s.left+o.width/2-l.width/2+"px",top:o.top-s.top-l.height-parseInt(u.getPropertyValue("margin-top"))-parseInt(u.getPropertyValue("margin-bottom"))+"px"});break;case"bottom":b(a,{left:o.left-s.left+o.width/2-l.width/2+"px",top:o.top-s.top+o.height-parseInt(u.getPropertyValue("margin-top"))-parseInt(u.getPropertyValue("margin-bottom"))+"px"})}return a},t.prototype.onVisibleSlidesChanged=function(){if(this._dotsOuter!==n&&this._dotsOuter.forEach((function(t){!function(t){t&&t.parentNode&&t.parentNode.removeChild(t)}(t)})),this.bar.innerText="",this.slider.visibleSlides.length<=1)this.hasDots=!1;else{this.hasDots=!0,this._dots=[],this._dotsOuter=[];for(var t=0;t<this.slider.visibleSlides.length;t++){var i=this.slider.visibleSlides[t],s=c(),o=c();switch(o.className="n2-bullet "+this.parameters.dotClasses,l(o,{tabindex:0,role:"button","aria-label":i.getTitle()}),s.appendChild(o),this.bar.appendChild(s),"mouseenter"===this.parameters.action?new r.UniversalEnter(o,this.onDotClick.bind(this,i)):new r.UniversalClick(o,this.onDotClick.bind(this,i)),w(s,"n2Activate",this.onDotClick.bind(this,i)),this._dotsOuter.push(s),i.ssdot=o,this._dots.push(o),this.parameters.mode){case"numeric":o.innerText=t+1;break;case"title":o.innerText=i.getTitle()}if(1===this.parameters.thumbnail)i.getThumbnail()&&new r.UniversalEnter(o,this.showThumbnail.bind(this,i),{leaveOnSecond:!0})}this.onSlideSwitch({detail:{targetSlide:this.slider.currentRealSlide}})}this.slider.widgets.onAdvancedVariableWidgetChanged(this.key)},t.prototype.onDotClick=function(t,e){this.slider.directionalChangeTo(t.index)},t}))}(window);