!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,r=t.document,o=r.documentElement,h=t.setTimeout,a=t.clearTimeout,u=i._N2,c=(t.requestAnimationFrame,function(t,i=null,n=null,s=null){const o=r.createElement(t);return i&&("string"==typeof i?g(o,i):b(o,i)),n&&v(o,n),s&&m(o,s),o}),f=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},m=function(t,i){for(let n in i)p(t,n,i[n])},g=function(t,i){t.classList.add(i)},b=function(t,i){i.forEach((function(i){t.classList.add(i)}))},w=function(t,i){return t.dispatchEvent(i)},y=function(t,i,n){return n=f({bubbles:!0,cancelable:!0},n),w(t,new Event(i,n))},M=function(t,i,n,s){return s=s||{},t.addEventListener(i,n,s),t.removeEventListener.bind(t,i,n,s)},x=function(t){if("complete"===r.readyState||"interactive"===r.readyState)t();else if(Document&&Document.prototype&&Document.prototype.addEventListener&&Document.prototype.addEventListener!==r.addEventListener){const i=()=>{t(),t=()=>{}};r.addEventListener("DOMContentLoaded",i),r.addEventListener("readystatechange",(()=>{"complete"!==r.readyState&&"interactive"!==r.readyState||i()})),Document.prototype.addEventListener.call(r,"DOMContentLoaded",i)}else r.addEventListener("DOMContentLoaded",t)},_=navigator.userAgent.indexOf("+http://www.google.com/bot.html")>-1?function(t){t()}:i.requestIdleCallback||function(t){return h(t,1)};i.cancelIdleCallback;x((function(){n=r.body})),function(){"use strict";var t={},n={};i.n2Slow=navigator.userAgent.indexOf("Chrome-Lighthouse")>-1&&navigator.userAgent.indexOf("Android")>-1;var r=[],o=!1;function a(){var t=performance.now(),n=r;r=[];for(var s=n.length-1;s>=0&&(n.pop().call(),!(performance.now()-t>7));s--);!i.n2Slow&&n.length&&(i.n2Slow=!0),n.unshift.apply(n,r),(r=n).length?_(a,{timeout:2e3}):o=!1}function f(t){r.unshift(t),o||(o=!0,_(a,{timeout:2e3}))}var l=new Date,v=function(){if(i.jQuery){var $=i.jQuery;u.d("$",(function(){return $}))}else{if(h(v,20),(new Date).getTime()-l.getTime()>1e3)c("script").src=u._jQueryFallback}};function d(i){return!(!i||t[i]!==s)&&(t[i]=new Promise((function(t){n[i]=t})),"$"===i&&v(),!0)}function p(i,s,r){var o=[];if(d(i)||n[i]){if("function"==typeof s?(r=s,s=[]):"string"==typeof s&&(s=[s]),(s=s||[]).length)for(var h=0;h0&&-1===o.indexOf("Chrome")&&(s=setInterval((function(){"interactive"!==r.readyState&&"complete"!==r.readyState||(u.d("windowLoad"),clearInterval(s))}),2e3)),t="load",n=function(){u.d("windowLoad"),clearInterval(s)},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,s){return t[0]===i&&(n=s,!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),s=this.__entries__[n];return s&&s[1]},i.prototype.set=function(i,n){var s=t(this.__entries__,i);~s?this.__entries__[s][1]=n:this.__entries__.push([i,n])},i.prototype.delete=function(i){var n=this.__entries__,s=t(n,i);~s&&n.splice(s,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,s=this.__entries__;n0},t.prototype.connect_=function(){n&&!this.connected_&&(r.addEventListener("transitionend",this.onTransitionEnd_),i.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(r,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(r.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){n&&this.connected_&&(r.removeEventListener("transitionend",this.onTransitionEnd_),i.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&r.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;f.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,s=Object.keys(i);n0},i}(),C="undefined"!=typeof WeakMap?new WeakMap:new t,D=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(),s=new A(i,n,this);C.set(this,s)}return t}();return["observe","unobserve","disconnect"].forEach((function(t){D.prototype[t]=function(){var i;return(i=C.get(this))[t].apply(i,arguments)}})),void 0!==s.ResizeObserver?s.ResizeObserver:D}()),u.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(){}};u.B=u.B||i;var n,r=new class{constructor(){this.t=!1,this.X=new Set,this._=this.V.bind(this)}add(t){this.X.add(t),this.t||(this.t=!0,u.B.add(this._))}V(){for(let t of this.X)t.render?t.render():t();this.X.clear(),this.t=!1,u.B.remove(this._)}},o={};n=/Safari/i.test(navigator.userAgent)&&!/Chrom[ei]/i.test(navigator.userAgent)?function(t,i,n,s){var r="";return s&&(t||i||n)?"translate3d("+(t||0)+"px, "+(i||0)+"px, "+(n||0)+"px) ":((t||i)&&(r+="translate("+(t||0)+"px, "+(i||0)+"px) "),n&&(r+="translateZ("+n+"px) "),r)}:function(t,i,n,s){return t||i||n?"translate3d("+(t||0)+"px, "+(i||0)+"px, "+(n||0)+"px) ":""};class h{constructor(i,n){t(i)?this.J=Array.from(i):this.J=[i],this.tt=f({},n),this.it=new Set}get scale(){return this.scaleX}set scale(t){this.scaleX=t,this.scaleY=t}render(){for(let i of this.it){var t=this.tt[i];switch(i){case"transform":t=this.nt();break;case"filter":t=this.et();break;case"n2AutoAlpha":0===this.opacity?this.st||(this.st=!0,this.rt("data-force-hidden","")):this.st&&(this.st=!1,this.ot("data-force-hidden"));continue;case"opacity":this.tt.n2AutoAlpha&&(0===t?this.st||(this.st=!0,this.rt("data-force-hidden","")):this.st&&(this.st=!1,this.ot("data-force-hidden")));break;case"width":case"height":case"perspective":"number"==typeof t&&(t+="px")}for(let n of this.J)n.style.setProperty(i,t)}this.it.clear()}nt(){let{xP:t,yP:i,x:r,y:o,z:h,xAbs:a,yAbs:u,xPAbs:c,yPAbs:f,parallaxX:l,parallaxY:v,parallaxRotationX:d,parallaxRotationY:p,layerRotation:m,rotationZ:g,rotationY:b,rotationX:w,scaleX:y,scaleY:M,scaleZ:x,skewX:_,skewY:O,transformPerspective:P,force3D:k}=this.tt,S="";return P&&(S+="perspective("+P+"px) "),(t||i)&&(S+="translate("+(t||0)+"%, "+(i||0)+"%) "),(a||u)&&(S+="translate("+(a||0)+"px, "+(u||0)+"px) "),(c||f)&&(S+="translate("+(c||0)+"%, "+(f||0)+"%) "),S+=n(r,o,h,k),_&&(S+="skewX("+_+"deg) "),O&&(S+="skewY("+O+"deg) "),m&&(S+="rotate("+m+"deg) "),g&&(S+="rotate("+g+"deg) "),b&&(S+="rotateY("+b+"deg) "),w&&(S+="rotateX("+w+"deg) "),y===s&&(y=1),M===s&&(M=1),1===y&&1===M||(S+="scale("+y+", "+M+") "),x===s&&(x=1),1!==x&&(S+="scaleZ("+x+") "),S||"translate3d(0, 0, 0)"}et(){let{n2blur:t}=this.tt,i="";return t>.1&&(i="blur("+t+"px) "),i||"none"}rt(t,i){for(let n of this.J)(n.relatedLayer||n).setAttribute(t,i)}ot(t){for(let i of this.J)(i.relatedLayer||i).removeAttribute(t)}setValues(t){for(var i in t)this[i]=t[i]}}class a{constructor(t,i){this.ht=[];for(var n=0;n0?s:n.clientWidth,u=i.getComputedStyle(this.parentNode);o=this.bt?a-this.parentNode.getBoundingClientRect().right-parseInt(u.getPropertyValue("padding-right"))-parseInt(u.getPropertyValue("border-right-width"))+t:-this.parentNode.getBoundingClientRect().left-parseInt(u.getPropertyValue("padding-left"))-parseInt(u.getPropertyValue("border-left-width"))+t,o+=h=o%1,a-=Math.floor(h),(this._width-a<=0||this._width-a>1||this._offset-o<-1||this._offset-o>=0)&&(this._offset!==o&&(this.wt.x=o,this._offset=o,0!==o&&this.classList.add("n2-ss-no-bga-fixed")),this._width!==a&&(this.wt.width=a,this._width=a)),this.setVisible&&this.setVisible()}setVisible(){this.wt.opacity=1,delete this.setVisible}}),customElements.define("ss3-loader",class extends HTMLElement{connectedCallback(){this.yt=[]}set display(t){this.Mt!==t&&(this.Mt=t,this.style.display=t)}show(){this.display="grid"}addPromise(t){this.yt.push(t),this.syncStyle(),t.finally(this.removePromise.bind(this,t))}removePromise(t){var i=this.yt.indexOf(t);i>-1&&(this.yt.splice(i,1),this.syncStyle())}syncStyle(){this.yt.length?this.xt||(this.xt=h(this.show.bind(this),100)):(this.xt&&(a(this.xt),delete this.xt),this.display="")}});var O,P="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)||P,isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini|Silk/i.test(navigator.userAgent)||P,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 c("video")||"webkit-playsinline"in c("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(){r.activeElement&&r.activeElement.blur()},getScrollbarSize:function(){var t,i,s,r=c("div",t,i,s);r.style.visibility="hidden",r.style.overflow="scroll",n.appendChild(r);var o=r.offsetHeight-r.clientHeight;return n.removeChild(r),n2const.getScrollbarSize=function(){return o},o},fonts:new Promise((function(t){if("fonts"in r){r.fonts.ready.then(t);const i=navigator.userAgent;i.indexOf("Safari")>0&&-1===i.indexOf("Chrome")&&u.r("windowLoad",t)}else u.r("windowLoad",t)}))},i.n2const.isTablet=!i.n2const.isPhone&&(/Android|iPad|tablet|Silk/i.test(navigator.userAgent)||P),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}),u._triggerResize=(O=null,function(){O&&a(O),O=h((function(){y(i,"resize"),O=null}),100)}),u._shouldPreventClick=!1,u._preventClick=function(){u._shouldPreventClick||(u._shouldPreventClick=!0,h((function(){u._shouldPreventClick=!1}),300))},u.d("ImagesLoaded",(function(){return function(t){var i,n=[];i="IMG"===t.tagName?[t]:t.querySelectorAll("img");for(var s=0;s1||e.scale&&1!==e.scale},function(e){return!e.isPrimary||e.buttons&&1!==e.buttons||!c.mouse&&"touch"!==e.pointerType&&"pen"!==e.pointerType},function(e){return e.buttons&&1!==e.buttons}],k=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 E(t){b={x:(p?t.clientX:t.touches[0].clientX)-g.x,y:(p?t.clientY:t.touches[0].clientY)-g.y,time:Date.now()}}function A(e,t){if((e.isPrimary===s||e.isPrimary)&&!o&&(l=[],x=!0,!P[p=t](e)&&!k(e.target)))if("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&&y(e.target,"n2click")}));h(i,2e3)}else o=!0,0!==p&&l.push(M(r,O[p][1],C,{passive:!1,capture:!0})),l.push(M(r,O[p][2],R,{passive:!1,capture:!0})),l.push(M(r,O[p][3],R,{passive:!1,capture:!0})),l.push(M(n,O[p][4],D,{passive:!1,capture:!0})),g={x:p?e.clientX:e.touches[0].clientX,y:p?e.clientY:e.touches[0].clientY,time:Date.now()},v=s,d=!1,b={x:0,y:0},c.start(e,g),C(e)}function C(t){(t.isPrimary===s||t.isPrimary)&&("x"===c.axis&&(!c.preventScroll&&v||P[p](t))||k(t.target)||(E(t),(Math.abs(b.x)>10||Math.abs(b.y)>10)&&(x=!1),v===s&&2!==p&&(v=Math.abs(b.x)=0;i--)l[i]();l=null,n2const.isFirefox&&(d=!1),c.end(t,g,b,d),d=!1,o=!1}}return w.push(M(r,"scroll",(function(){i.nextendScrollFocus!==s&&i.nextendScrollFocus||(d=!0)}))),1===_&&(a.style.touchAction="y"===c.axis?"pan-x":"pan-y"),w.push(M(a,O[_][0],(function(e){A(e,_)}),{passive:!1,capture:!0})),0===_&&w.push(M(a,O[0][1],(function(e){C(e)}),{passive:!1,capture:!0})),w.push(M(a,"dragstart",S)),c.mouse&&0===_&&w.push(M(a,O[2][0],(function(e){A(e,2)}))),w.push(M(a,"click",(function(t){x?c.click(t):S(t)}))),{supportsPointerEvents:m.pointerEvents,getClicksAllowed:function(){return x},kill:function(){for(var t=w.length-1;t>=0;t--)w[t]()}}}})),function(){var t,n=!1,s=-1,r=new Set,o=new Set,a=i.requestAnimationFrame||(t=0,function(i){var n=(new Date).getTime(),s=Math.max(0,16-(n-t));return t=n+s,h((function(){i(n+s)}),s)});function c(t){s=t,n&&(s=t,a(f))}function f(t){if(n&&0===r.size&&0===o.size)s=-1,n=!1;else if(-1!==s){var i=(t-s)/1e3;0!==i&&(r.forEach((function(t){t(i)})),o.forEach((function(t){t()})))}!function(t){n&&(s=t,a(f))}(t)}u.B={addP:function(t){r.add(t),n||(n=!0,a(c))},removeP:function(t){r.delete(t)},add:function(t){o.add(t),n||(n=!0,a(c))},remove:function(t){o.delete(t)}}}(),u.d("Animation",(function(){function t(t){this._tickCallback=null,this._progress=0,this._delayTimeout=!1,this._delay=0,this._duration=4,this._timeScale=1,this._isPlaying=!1,this._startTime=0,this._eventCallbacks={},this._immediateRender=!0,this._timeline=null,this._isCompleted=!1,this._isStarted=!1,this._isReversed=!1,this.toParams=t,this.initParameters()}return t.prototype.initParameters=function(){this.parseParameters(this.toParams),"object"!=typeof this.toParams&&this.paused(!1)},t.prototype.parseParameters=function(t){t&&(t.delay&&(this.delay(t.delay),delete t.delay),t.duration!==s&&(this.duration(t.duration),delete t.duration),t.onComplete&&(this.eventCallback("onComplete",t.onComplete),delete t.onComplete),t.onStart&&(this.eventCallback("onStart",t.onStart),delete t.onStart),t.onUpdate&&(this.eventCallback("onUpdate",t.onUpdate),delete t.onUpdate),t.immediateRender&&(this._immediateRender=t.immediateRender,delete t.immediateRender),t.paused&&(this.paused(!0),delete t.paused))},t.prototype.setTimeline=function(t){this._timeline=t},t.prototype._tick=function(t){var i=this._progress;this._isReversed?(this._progress-=t/this._duration*this._timeScale,1!=i&&this._isStarted?this._progress<=0?(this._progress=0,this._isPlaying=!1,u.B.removeP(this.getTickCallback()),this._onUpdate(),this._onReverseComplete()):this._onUpdate():this._onReverseStart()):(this._progress+=t/this._duration*this._timeScale,0!=i&&this._isStarted?this._progress>=1?(this._progress=1,this._isPlaying=!1,u.B.removeP(this.getTickCallback()),this._onUpdate(),this._onComplete()):this._onUpdate():this._onStart())},t.prototype._onStart=function(){this._isStarted=!0,this._isCompleted=!1,this._dispatch("onStart"),this._onUpdate()},t.prototype._onUpdate=function(){this._dispatch("onUpdate")},t.prototype._onComplete=function(){this._isCompleted=!0,this._onUpdate(),this._dispatch("onComplete")},t.prototype._onReverseComplete=function(){this._isCompleted=!0,this._isReversed=!1,this._onUpdate(),this._dispatch("onReverseComplete")},t.prototype._onReverseStart=function(){this._isStarted=!0,this._isCompleted=!1,this._dispatch("onReverseStart"),this._onUpdate()},t.prototype.getTickCallback=function(){if(!this._tickCallback){var t=this;this._tickCallback=function(){t._tick.apply(t,arguments)}}return this._tickCallback},t.prototype._clearDelayTimeout=function(){this._delayTimeout&&(a(this._delayTimeout),this._delayTimeout=!1)},t.prototype._timeToProgress=function(t){return t/this._duration*this._timeScale},t.prototype.delay=function(){if(arguments.length>0){var t=parseFloat(arguments[0]);return!isNaN(t)&&t!=1/0&&t||(t=0),this._delay=Math.max(0,t),this}return this._delay},t.prototype.duration=function(){if(arguments.length>0){var t=parseFloat(arguments[0]);return!isNaN(t)&&t!=1/0&&t||(t=0),this._duration=Math.max(0,t),this}return this._duration},t.prototype.eventCallback=function(t){return arguments.length>3?this._eventCallbacks[t]=[arguments[1],arguments[2],arguments[3]]:arguments.length>2?this._eventCallbacks[t]=[arguments[1],arguments[2],this]:arguments.length>1&&(this._eventCallbacks[t]=[arguments[1],[],this]),this._eventCallbacks[t]},t.prototype.pause=function(){return this._isPlaying=!1,u.B.removeP(this.getTickCallback()),arguments.length>0&&null!=arguments[0]&&this.progress(this._timeToProgress(arguments[0])),this},t.prototype.paused=function(){return arguments.length>0?(arguments[0]?this._isPlaying&&this.pause():this._isPlaying||this.play(),this):!this._isPlaying},t.prototype.play=function(){var t=!0;arguments.length>0&&null!=arguments[0]&&(t=!1,this._progress=this._timeToProgress(arguments[0])),this._play(t)},t.prototype._play=function(t){if(this._progress<1)if(0==this._progress&&t&&this._delay>0){if(!this._delayTimeout){var i=this;this._delayTimeout=h((function(){i.__play.apply(i,arguments)}),1e3*this._delay)}}else this.__play();else this._isCompleted||(this._isReversed?this._onReverseComplete():this._onComplete())},t.prototype.__play=function(){this._clearDelayTimeout(),this._isPlaying||(u.B.addP(this.getTickCallback()),this._isPlaying=!0)},t.prototype.progress=function(){if(arguments.length>0){var t=parseFloat(arguments[0]);return isNaN(t)&&(t=0),t=Math.min(1,Math.max(0,t)),this._progress=t,this._isPlaying||(this._isStarted||this._onStart(),this._onUpdate()),this}return this._progress},t.prototype.reverse=function(){this._isReversed=!0,0!=this.progress()&&this.play()},t.prototype.restart=function(){return arguments.length>0&&arguments[0]?(this.pause(0),this.play(),this):(this.play(0),this)},t.prototype.seek=function(t){null!=t&&(this._progress=this._timeToProgress(arguments[0]),this._isPlaying||this._onUpdate())},t.prototype.startTime=function(){if(arguments.length>0){var t=parseFloat(arguments[0]);return isNaN(t)&&(t=0),this._startTime=Math.max(0,t),this}return this._startTime},t.prototype.timeScale=function(){if(arguments.length>0){var t=parseFloat(arguments[0]);return isNaN(t)&&(t=1),t=Math.max(.01,t),this._timeScale!=t&&(this._timeScale=t),this}return this._timeScale},t.prototype._dispatch=function(t){"object"==typeof this._eventCallbacks[t]&&this._eventCallbacks[t][0].apply(this._eventCallbacks[t][2],this._eventCallbacks[t][1])},t.prototype.totalDuration=function(){if(arguments.length>0){var t=parseFloat(arguments[0]);return isNaN(t)&&(t=0),t=Math.max(0,t),this.timeScale(this._duration/t),this}return this._duration*this._timeScale},t.prototype.reset=function(){this._isCompleted=!1,this._isStarted=!1,this.progress(0)},t})),u.d("Tween",(function(){var t=2,i=3,n=function(t){return Symbol.iterator in Object(t)};function r(s,r){var o,h;switch(this.ease="linear",this._tweenContainer=null,this._setContainer=null,this._roundProps={},arguments.length){case 4:o=arguments[2],h=arguments[3],this._mode=t;break;default:this._mode=i,o={},h=arguments[2]}if(n(s)||(s=[s]),this._target=s,this.fromParams=o,u.Animation.call(this,h),this.parseParameters({duration:r}),this._mode===t&&this._immediateRender){for(var a in null===this._tweenContainer&&this._makeTweenContainer(this.fromParams,this.toParams),this._tweenContainer){var c=this._tweenContainer[a];this._target.forEach((function(t){t[a]=c.unit?c.startValue+c.unit:c.startValue}))}for(var a in this._setContainer){c=this._setContainer[a];this._target.forEach((function(t){t[a]=c.unit?c.endValue+c.unit:c.endValue}))}}}function o(t){var i=[t,""];t=String(t);var n=parseFloat(t);return isNaN(n)||(i[0]=n,i[1]=t.match(/[\d.\-\+]*\s*(.*)/)[1]||""),i}function h(t,i,n,r){n===s&&(n=t[0][i]),r===s&&(r=t[0][i]),n=o(n);var h=0;return""!==(r=o(r))[1]&&n[1]!==r[1]&&(n[0]=0,n[1]=r[1]),"number"==typeof n[0]&&"number"==typeof r[0]&&(h=r[0]-n[0]),{startValue:n[0],endValue:r[0],unit:r[1],range:h}}return r.prototype=Object.create(u.Animation.prototype),r.prototype.constructor=r,r.prototype.initParameters=function(){this.parseParameters(this.fromParams),u.Animation.prototype.initParameters.apply(this,arguments)},r.prototype.parseParameters=function(t){t&&(t.ease&&(this.ease=t.ease,delete t.ease),u.Animation.prototype.parseParameters.apply(this,arguments))},r.prototype._onStart=function(){for(var t in null===this._tweenContainer&&this._makeTweenContainer(this.fromParams,this.toParams),this._setContainer){var i=this._setContainer[t];this._target.forEach((function(n){n[t]=i.unit?i.endValue+i.unit:i.endValue}))}u.Animation.prototype._onStart.call(this)},r.prototype._onUpdate=function(){for(var t in this._tweenContainer){var i=this._tweenContainer[t],n=u.Easings[this.ease]?u.Easings[this.ease](this._progress):this._progress,s=i.startValue+i.range*n;this._roundProps[t]&&(s=Math.round((10*s|0)/10)),this._target.forEach((function(n){n[t]=i.unit?s+i.unit:s}))}u.Animation.prototype._onUpdate.call(this)},r.prototype.initRoundProps=function(t){for(var i=t.split(","),n=0;n=0&&0==i.tween.progress()&&i.tween._onStart(),i.tween._isStarted&&(1!=n||i.tween._isCompleted?n>=0&&n<1?i.tween.progress(n):n<0&&0!=i.tween.progress()&&i.tween.progress(0):(i.tween.progress(n),i.tween._onComplete()))}u.Animation.prototype._onUpdate.call(this)},t.prototype.addTween=function(t){t.pause(),t.setTimeline(this);var i=0;i=arguments.length>1?this._parsePosition(arguments[1]):this._parsePosition();var n=t.delay();n>0&&(i+=n,t.delay(0)),t.startTime(i),this._tweens.push(t);var s=t.totalDuration()+i;s>this._duration&&(this._duration=s),this.makeCache()},t.prototype.clear=function(){this.paused()||this.pause(),t.call(this,this.originalParams)},t.prototype.add=function(t,i){this.addTween(t,i)},t.prototype.set=function(t,i,n){this.addTween(u.P.to(t,.05,i),n)},t.prototype.to=function(t,i,n,s){n.paused=!0,this.addTween(u.P.to(t,i,n),s)},t.prototype.fromTo=function(t,i,n,s,r){s.paused=!0,this.addTween(u.P.fromTo(t,i,n,s),r)},t.prototype._play=function(){if(0==this._progress)for(var t=0;t0&&arguments[0]!==s&&!isNaN(arguments[0])&&(t=arguments[0]);var i=0;switch(typeof t){case"string":switch(t.substr(0,2)){case"+=":i=this.duration()+parseFloat(t.substr(2));break;case"-=":i=this.duration()-parseFloat(t.substr(2))}break;default:i=parseFloat(t)}return Math.max(0,i)},t.prototype.makeCache=function(){var t=this.totalDuration();this.tweensContainer=[];for(var i=0;i{t(),t=()=>{}};h.addEventListener("DOMContentLoaded",i),h.addEventListener("readystatechange",(()=>{"complete"!==h.readyState&&"interactive"!==h.readyState||i()})),Document.prototype.addEventListener.call(h,"DOMContentLoaded",i)}else h.addEventListener("DOMContentLoaded",t)},W=function(t,i,s,n){if(Math.abs(t.scrollTop-i)<1)n&&n();else{s=Math.max(300,s||300);var h=t.scrollTop,o=i-h,r=performance.now(),a=function(i){var u=Math.min(1,(i-r)/s);u<.5?u*=2*u:u=(4-2*u)*u-1,t.scrollTop=h+u*o,u<1?requestAnimationFrame(a):n&&n()};a(r)}},H=function(t){return t.charAt(0).toUpperCase()+t.slice(1)},N=navigator.userAgent.indexOf("+http://www.google.com/bot.html")>-1?function(t){t()}:i.requestIdleCallback||function(t){return r(t,1)};i.cancelIdleCallback;function Y(t){var i=h.getElementById(t);if(i&&i.sheet){var s,n=i.sheet;for(s=n.cssRules.length-1;s>=0;s--)n.cssRules[s].selectorText&&n.cssRules[s].selectorText.includes("div#n2-ss-")&&n.deleteRule(s)}}j((function(){s=h.body})),u.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.7*i,h=!0;"partly-visible"===t.mode?(n&&(s.bottom<0||s.top>=s.height)||!n&&(s.bottom-s.height<0||s.top-i+s.height>=0))&&(h=!1):"not-visible"===t.mode&&(h=s.top-i<0&&s.top+s.height>0),!1===h?"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})),u.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]!==n)for(var s=0;s=0;s--)this.eventListeners[t][s]===i&&this.eventListeners[t].splice(s,1)},t.prototype.dispatch=function(t,i){if(this.eventListeners[t]!==n&&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(","),n=t.closest(".n2-ss-slide,.n2-ss-static-slide"),h=n.ssLastEvent;t.ssResetEvents||(t.ssResetEvents=1,O(n,"layerAnimationPlayIn",function(t){t.ssLastEvent=""}.bind(this,n)));for(var o=s.length-1,r=0;r=0&&r.element(s[n])},element:function(t){"string"==typeof t&&(t=h.querySelector(t)),r.to(B(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})),u.d("SmartSliderAbstract",(function(){function t(h,o){if(this.editor=null,this.elementID=h,i[h]&&i[h]instanceof t)if(i[h].__sliderElement&&!s.contains(i[h].__sliderElement));else{if(i[h].sliderElement===n)return void console.error("Slider [#"+h+"] inited multiple times");if(s.contains(i[h].sliderElement))return void console.error("Slider [#"+h+"] embedded multiple times")}this.stages=new u.Stages,u.d("#"+h,function(){return this}.bind(this)),this.isAdmin=!!o.admin,u.SmartSliderPlugins.addSlider(this),this.id=parseInt(h.replace("n2-ss-","")),i[h]=this,o.isDelayed!==n&&o.isDelayed?j(function(){this.waitForExists(h,o)}.bind(this)):this.waitForExists(h,o)}t.prototype.kill=function(){this.killed=!0;var t=this.sliderElement.closest(".n2-ss-margin");t?x(t):u.r("documentReady",function(){x(this.sliderElement.closest(".n2-ss-margin"))}.bind(this));var i=this.sliderElement.closest(".n2-ss-align");i?x(i):u.r("documentReady",function(){x(this.sliderElement.closest(".n2-ss-align"))}.bind(this)),n2ss.makeReady(this.id,this)},t.prototype.waitForExists=function(t,i){new Promise((function(i){var s=function(){var n=h.getElementById(t)||h.getElementById(t+"_t");n?i(n):r(s,500)};s()})).then(this.onSliderExists.bind(this,t,i))};var c=[];function l(t,s){if(i.IntersectionObserver)new IntersectionObserver(function(t,i){for(var n=0;nthis.realSlides.length-1?0:t+1]);this.widgets=new u.SmartSliderWidgets(this);var s;if(new u.UniversalEnter(this.sliderElement,function(e){e.target.closest(".n2-full-screen-widget")||(a(s),!0,A(this.sliderElement,"n2-hover"),this.widgets.setState("hover",!0),T(this.sliderElement,"universalleave",function(e){e.stopPropagation(),s=r(function(){!1,I(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.parameters.blockrightclick&&O(this.sliderElement,"contextmenu",(function(e){e.preventDefault()})),this.initMainAnimation(),this.initResponsiveMode(),!this.killed){if(O(this.sliderElement,"touchstart",function(){I(this.sliderElement,"n2-has-hover")}.bind(this),{passive:!0,once:!0}),this.initControls(),this.stages.resolve("UIReady"),!this.isAdmin){var n="click";this.hasTouch()&&(n="n2click"),this.sliderElement.querySelectorAll('[data-n2click="url"]').forEach((function(t){O(t,n,(function(e){n2ss.openUrl(e)})),O(t,"mousedown",(function(e){1===e.button&&(e.preventDefault(),n2ss.openUrl(e,"_blank"))})),O(t,"keydown",(function(e){n2ss.openUrlKeyDown(e)}))}))}this.load.start(),O(this.sliderElement,"keydown",(function(t){"Space"!==t.code&&"Enter"!==t.code&&"NumpadEnter"!==t.code||t.target.matches('[role="button"],[tabindex]')&&t.target.matches(":not(a,input,select,textarea)")&&(t.preventDefault(),t.target.click(),R(t.target,"n2Activate"))})),O(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;t0&&c>0||(u<0?l="top"===f?"top":"bottom"===f?"bottom":-u<=c?"top":"bottom":c<0&&(l="top"===f?"top":"bottom"===f||-c<=u?"bottom":"top"));var d=n;if("top"===l?d=n-h+a.top:"bottom"===l&&(d=n+o+a.bottom-r),(d=Math.round(d))!==n)return this._scrollTo(d,Math.abs(n-d))}return!0},t.prototype._scrollTo=function(t,s){var n=!1;return"smooth"===w(o,"scroll-behavior")&&(y(o,"scroll-behavior",""),n=!0),i.nextendScrollFocus=!0,new Promise((function(i){W(h.scrollingElement,t,s,i)})).then((function(){n&&y(o,"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),O(this.sliderElement,"SliderResize",function(){t(this.currentSlide)}.bind(this))}.bind(this)),O(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 n=this.currentSlide.getPrevious();n&&(i=n.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;ithis.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.l("SlideWillChange",{targetSlide:this.slides[t]}),this.l("SlideLoading");var o=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=0)},t.prototype.findSlideByElement=function(t){var i;for(i=0;i=0&&tt?this.changeTo(t,!0,s):this.changeTo(t,!1,s):this.changeTo(t,!i,s))},t.prototype.hide=function(){this.isVisible&&(A(this.responsive.alignElement,"n2-ss-slider-has-no-slide"),this.load.placeholder&&A(this.load.placeholder,"n2-ss-slider-has-no-slide"),this.isVisible=!1)},t.prototype.show=function(){this.isVisible||(A(this.responsive.alignElement,"n2-ss-slider-has-no-slide"),this.load.placeholder&&I(this.load.placeholder,"n2-ss-slider-has-no-slide"),F(i,"scroll"),this.isVisible=!0)},t.prototype.startAutoplay=function(){return this.controlAutoplay!==n&&(this.controlAutoplay.setState("pausedSecondary",0),!0)},t.prototype.pauseAutoplay=function(){return this.controlAutoplay!==n&&(this.controlAutoplay.setState("pausedSecondary",1),!0)},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})),u.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]===n&&(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 n=[],h=0;h=0;o--){var r=h[o].split("-");if(2===r.length){var a=parseInt(r[0]),u=parseInt(r[1]);if(a<=u)for(var c=a;c<=u;c++)h.push(c)}else h[o]=parseInt(h[o])}if(h.length>0){for(o=0;o0&&(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 n=t.totalDuration(),h=Math.max(n/3,Math.min(n,s/Math.abs(i)/1e3));h!==n&&t.totalDuration(h)},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,n){this._initAnimation(t,i,s),this.state="initAnimation",this.timeline.paused(!0),this.timeline.eventCallback("onStart",this.onChangeToStart.bind(this),[t,i,n]),this.timeline.eventCallback("onComplete",this.onChangeToComplete.bind(this),[t,i,n]),this.timeline.eventCallback("onReverseComplete",null),this.revertCB=function(s){s.eventCallback("onReverseComplete",this.onReverseChangeToComplete.bind(this),[i,t,n])}.bind(this),this.isTouch||this.timeline.play()},t.prototype.willRevertTo=function(t,i){D(this.slider.sliderElement,"mainAnimationWillRevertTo",{slideIndex:t,originalNextSlideIndex:i}),T(this.sliderElement,"mainAnimationComplete",this.revertTo.bind(this,t,i))},t.prototype.revertTo=function(t,i){this.slider.revertTo(t,i),R(this.slider.slides[i].element,"mainAnimationStartInCancel")},t.prototype.willCleanSlideIndex=function(t){T(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 n={mainAnimation:this,previousSlideIndex:t.index,currentSlideIndex:i.index,isSystem:s};this.slider.l("mainAnimationStart",n),t.l("mainAnimationStartOut",n),i.l("mainAnimationStartIn",n)},t.prototype.onChangeToComplete=function(t,i,s){var n={mainAnimation:this,previousSlideIndex:t.index,currentSlideIndex:i.index,isSystem:s};this.clearTimelines(),this.disableReverseMode(),t.l("mainAnimationCompleteOut",n),i.l("mainAnimationCompleteIn",n),this.state="ended",this.slider.updateInsideSlides([i]),s||i.focus(),this.slider.l("mainAnimationComplete",n)},t.prototype.onReverseChangeToComplete=function(i,s,n){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})),u.d("SmartSliderControlAlias",(function(){"use strict";function t(t,s){this.m=t,this.S=t.sliderElement,this.g=t.o,this.k=m(this.g,"alias"),this.C=f({id:0,smoothScroll:0,slideSwitch:0,scroll:1},s),this.k&&(this.C.smoothScroll&&y(o,"scroll-behavior","smooth"),this.C.slideSwitch&&(this.switchOnLoad(),O(i,"hashchange",function(){var t=this.getAnchor();t&&Number.isInteger(t)&&t>0&&(1===this.m.responsive.parameters.focusUser?(this.m.responsive.parameters.focusUser=0,this.switchToSlide(t-1),this.m.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.k)return!0;if(this.C.slideSwitch&&0===t.indexOf(this.k)){var s=+t.substr(this.k.length+1);if(s>0)return s}}return!1},t.prototype.switchOnLoad=function(){var t=this.getAnchor();if(t&&Number.isInteger(t)&&t>0){var s=t-1,h=i["n2-ss-"+this.m.id];h&&h.stages.resolved("StarterSlide")?h.stages.done("BeforeShow",function(){this.switchToSlide(s)}.bind(this)):i["ss"+this.m.id]=s,this.m.parameters.maintainSession&&i.localStorage!==n&&s<=this.m.visibleSlides.length&&i.localStorage.setItem("ss-"+this.m.id,s),this.replaceHash()}},t.prototype.replaceHash=function(){var t="#"+this.k;history.replaceState?history.replaceState(null,null,t):location.hash=t},t.prototype.switchToSlide=function(t){this.m.slide(t)},t})),u.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 u.SmartSliderControlAutoplayWait(this),this._currentCount=1,this.autoplayToSlide=0,this.autoplayToSlideIndex=-1,this.parameters=f({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.A=!0;this.timeline=u.P.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(L(t,"SlideLoading",function(){this.wait.add("load")}.bind(this))),this._listeners.push(L(t,"SlideLoaded",function(e){this.wait.resolve("load")}.bind(this))),this._listeners.push(L(t,"BeforeCurrentSlideChange",function(){this.wait.resolveWeak(),this.setState("mainAnimationPlaying",1)}.bind(this))),this._listeners.push(L(t,"mainAnimationStart",function(){this._currentCount++,this.setState("mainAnimationPlaying",1),this.wait.resolveWeak()}.bind(this))),this._listeners.push(L(t,"mainAnimationComplete",function(e){this.timeline.duration(this.getSlideDuration(e.detail.currentSlideIndex)),this.A=!0,this.timeline.pause(0,!1),this.setState("mainAnimationPlaying",0)}.bind(this))),this._listeners.push(L(t,"autoplayPause",function(e){this.setState("paused",1)}.bind(this))),this._listeners.push(L(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!==n&&this.timeline.progress(t)}.bind(this))),this._listeners.push(L(t,"CurrentSlideChanged",function(e){this.timeline.duration(this.getSlideDuration(e.detail.currentSlide.index)),this.A=!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.l("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!==n&&(!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!==n&&this.isPaused||(this.isPaused=!0,this.slider.l("autoplayPaused"))):(this.timeline.paused()&&this.timeline.play(),(this.isPaused===n||this.isPaused)&&(this.isPaused=!1,this.slider.l("autoplayStarted")))))},t.prototype.initClick=function(t,i){(t||i)&&(this.universalClick=new u.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(L(this.slider.sliderElement,"touchend",(function(){s=!0,r((function(){s=!1}),300)}))),this._listeners.push(L(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(L(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(L(s,"mediaStarted",function(e){this.wait.add(e.detail.id)}.bind(this))),this._listeners.push(L(s,"mediaEnded",function(e){this.wait.resolve(e.detail.id)}.bind(this)))):i&&this._listeners.push(L(s,"mediaEnded",function(){this.setState("pausedSecondary",0)}.bind(this)))},t.prototype.enableProgress=function(){this.timeline&&this.timeline.eventCallback("onUpdate",function(){this.slider.l("autoplay",{progress:this.timeline.progress()})}.bind(this))},t.prototype.next=function(){if(this.A){if(this.A=!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),z(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})),u.d("SmartSliderControlFullscreen",(function(){"use strict";function t(i,s,n){this.slider=i,this.responsive=this.slider.responsive,this._type=this.responsive.parameters.type,this._upscale=this.responsive.parameters.upscale,this.I=!1,this.S=this.slider.sliderElement,this.M=this.S.closest(".n2-section-smartslider"),O(h,t.event,this.fullScreenChange.bind(this))}return t.isSupported=!(!h.exitFullscreen&&!h.webkitExitFullscreen),t.isSupported&&(t.requestFullscreen=o.requestFullscreen||o.webkitRequestFullscreen,t.exitFullscreen=h.exitFullscreen||h.webkitExitFullscreen,t.event=o.requestFullscreen?"fullscreenchange":o.webkitRequestFullscreen?"webkitfullscreenchange":null),t.prototype.switchState=function(){this.I=!this.I,this.I?this._fullScreen():this._normalScreen()},t.prototype.requestFullscreen=function(){return!this.I&&(this.I=!0,this._fullScreen(),!0)},t.prototype.exitFullscreen=function(){return!!this.I&&(this.I=!1,this._normalScreen(),!0)},t.prototype._fullScreen=function(){this.responsive.I=!0,this.responsive.parameters.type="fullpage",this.S.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,g(this.responsive.containerElement,{marginLeft:0,marginRight:0}),g(this.M,{width:"100%",height:"100%","background-color":i.getComputedStyle(s).backgroundColor}),t.requestFullscreen.call(this.M)},t.prototype._normalScreen=function(){t.exitFullscreen.call(h)},t.prototype.fullScreenChange=function(){this.isDocumentInFullScreenMode()?(this.slider.l("n2FullScreen"),A(o,"n2-in-fullscreen"),A(this.slider.sliderElement,"n2-ss-slider--fullscreen"),this.I=!0,"auto"===this._type&&y(this.slider.responsive.alignElement,"max-width","none"),F(i,"resize")):(this.responsive.I=!1,this.responsive.parameters.type=this._type,this.S.dataset.responsive=this._type,this.responsive.parameters.upscale=this._upscale,g(this.responsive.containerElement,{marginLeft:this._marginLeft,marginRight:this._marginRight}),g(this.M,{width:"",height:"","background-color":""}),I(this.slider.sliderElement,"n2-ss-slider--fullscreen"),I(o,"n2-in-fullscreen"),"auto"===this._type&&k(this.slider.responsive.alignElement,"max-width"),F(i,"resize"),this.I=!1,this.slider.l("n2ExitFullScreen"))},t.prototype.isDocumentInFullScreenMode=function(){return h.fullscreenElement||h.webkitIsFullScreen},t})),u.d("SmartSliderControlKeyboard",(function(){"use strict";var t;function n(){this.controls=[],h.addEventListener("keydown",this.onKeyDown.bind(this)),h.addEventListener("mousemove",this.onMouseMove.bind(this),{capture:!0})}function o(i,s,h){this.slider=i,this.parameters=f({},h),this.parseEvent="vertical"===s?o.prototype.parseEventVertical:o.prototype.parseEventHorizontal,t||(t=new n),t.addControl(this),O(this.slider.sliderElement,"SliderKeyDown",function(e){this.onKeyDown(e.detail.e)}.bind(this)),i.controls.keyboard=this}return n.prototype.onMouseMove=function(e){this.mouseEvent=e},n.prototype.addControl=function(t){this.controls.push(t)},n.prototype.onKeyDown=function(e){if(e.target.tagName.match(/BODY|DIV|IMG/)&&!e.target.isContentEditable){var t;if(this.mouseEvent&&(t=this.findSlider(h.elementFromPoint(this.mouseEvent.clientX,this.mouseEvent.clientY))))return void D(t,"SliderKeyDown",{e:e});if(h.activeElement!==s&&(t=this.findSlider(h.activeElement)))return void D(t,"SliderKeyDown",{e:e});for(var i=0;i=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})),u.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.F=2===i?"deltaX":"deltaY",h.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 n=i.getComputedStyle(s).overflowY;if("scroll"===n||"auto"===n)if(t){if(s.scrollTop>0)return!0}else if(s.scrollTop+s.clientHeightt.offsetWidth)return!0;t=t.parentNode}return!1},t.prototype.onGlobalMouseWheel=function(e){e.target.closest(".n2-ss-slider")&&0!==e[this.F]&&(this.onCurveEvent(e),this.preventScroll.local||this.preventScroll.curve||Math.abs(e[this.F])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.F],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.F]||(this.lastDelta=e[this.F],this.dynamicDelta=!0);var t=Math.abs(e[this.F]);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})),u.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)),O(t.sliderElement,"visibleSlidesChanged",this.onVisibleSlidesChanged.bind(this))}return t.prototype.onStarterSlide=function(){this.initTouch(),O(this.slider.sliderElement,"sliderChangeCurrentSlide",this.updatePanDirections.bind(this))},t.prototype.onVisibleSlidesChanged=function(){var t;this.slider.visibleSlides.length>1?g(this.swipeElement,{cursor:"grab",userSelect:"none"}):(t=this.swipeElement,["cursor","userSelect"].forEach((function(i){k(t,i)})))},t.prototype.initTouch=function(){this._animation.isNoAnimation&&(this.interactiveDrag=!1),this.eventBurrito=u.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:f({},this.state),action:"unknown",distance:[],distanceY:[],percent:0,progress:0,scrollTop:_(),animationStartDirection:"unknown",hadDirection:!1,startDistance:0},this.logDistance(0,0)},t.prototype._move=function(t,i,s,n){if(!n||"unknown"!==this.currentInteraction.action){this.currentInteraction.direction=this.measure(s);var h=this.get(s);if((this.currentInteraction.hadDirection||Math.abs(h)>10||Math.abs(s.y)>10)&&(this.logDistance(h,s.y),this.currentInteraction.percent<1&&this.setTouchProgress(h,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,n){if("switch"===this.currentInteraction.action){var h=n?0:this.measureRealDirection();if(this.interactiveDrag)this._animation.timeline.progress()<1&&this._animation.setTouchEnd(h,this.currentInteraction.progress,s.time),this._animation.setTouch(!1);else h&&this.callAction(this.currentInteraction.animationStartDirection);I(this.swipeElement,"n2-grabbing")}this.onEnd(),delete this.currentInteraction,Math.abs(s.x)<10&&Math.abs(s.y)<10?this.onTap(t):u._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],s=(t.d-i.d)/(i.t-t.t)*10,n=Date.now(),o=function(){requestAnimationFrame(function(){var t,i;if(!this.kineticScrollCancelled&&s&&(t=Date.now()-n,(i=s*Math.exp(-t/325))>1||i<-1))return V(_()+i),void o();this.onEndKineticScroll()}.bind(this))}.bind(this);this.kineticScrollCancelled=!1,o(),h.addEventListener("pointerdown",this.cancelKineticScroll)}},t.prototype.onEndKineticScroll=function(){delete this.kineticScrollCancelled,h.removeEventListener("pointerdown",this.cancelKineticScroll),y(o,"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,n=this.getPercent(t-this.currentInteraction.startDistance);if(this.currentInteraction.percent=n,"switch"===this.currentInteraction.action){if(this.interactiveDrag){switch(this.currentInteraction.animationStartDirection){case"up":s=-1*n;break;case"down":s=n;break;case"left":s=-1*n;break;case"right":s=n}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.I||(this.currentInteraction.action="scroll","pointer"===this.currentInteraction.type&&(y(o,"scroll-behavior","auto"),V(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",A(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=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":"";y(this.swipeElement,"touch-action",t),i.PointerEventsPolyfill&&d(this.swipeElement,"touch-action",t)},t})),u.d("SmartSliderControlTouchVertical","SmartSliderControlTouch",(function(){"use strict";function t(){this.state={up:!1,down:!1},this.action={up:"next",down:"previous"},this.axis="vertical",u.SmartSliderControlTouch.prototype.constructor.apply(this,arguments)}return t.prototype=Object.create(u.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) .n2-ss-layer-mask");switch(i&&(this.wraps.mask=i),m(this.layer,"pm")){case"absolute":this.placement=new u.FrontendPlacementAbsolute(this);break;case"normal":this.placement=new u.FrontendPlacementNormal(this);break;case"content":this.placement=new u.FrontendPlacementContent(this);break;default:this.placement=new u.FrontendPlacementDefault(this)}u.FrontendComponent.prototype.init.call(this,t)},t.prototype.setState=function(t,i){this.state[t]=i;for(var s=0;s0)&&this.focusableElements.push(i),this.disableFocus(),this.background=!1,t.parameters.admin?this.minimumSlideDuration=0:(this.minimumSlideDuration=+m(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"]'),O(t.sliderElement,"SliderDeviceOrientation",function(){this.slider.visibleRealSlides.push(this),this.isVisible=!0,this.slider.responsive.visibleRealSlidesChanged=!0,this.l("Visible")}.bind(this))):(this.component=new u.FrontendComponentSectionSlide(this,t,i.querySelector('.n2-ss-layer[data-sstype="slide"]')),this.layer=this.component.layer)}t.prototype=Object.create(u.FrontendSliderSlideAbstract.prototype),t.prototype.constructor=t,t.prototype._setInside=function(t){this.isInside!==t&&(this.isInside=t)};var i=!1;try{c("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;t0},t.prototype.hasBackgroundVideo=function(){return this.background.hasVideo()},t.prototype.hasLink=function(){return!!m(this.element,"haslink")},t})),u.d("FrontendSliderSlideAbstract",["FrontendSlideControls"],(function(){function t(t,i,s){u.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 u.FrontendSlideControls.prototype)t.prototype[i]=u.FrontendSlideControls.prototype[i];return t.prototype.setIndex=function(t){for(var i=0;i .n2-ss-layer"))}return t.prototype=Object.create(u.FrontendComponentCommon.prototype),t.prototype.constructor=t,t.prototype.getContents=function(){return[this.content]},t})),u.d("FrontendComponentContent",["FrontendComponentCommon"],(function(){function t(t,i,s){this.content=s.querySelector(".n2-ss-section-main-content"),u.FrontendComponentCommon.prototype.constructor.call(this,t,i,s,this.content.querySelectorAll(":scope > .n2-ss-layer"))}return t.prototype=Object.create(u.FrontendComponentCommon.prototype),t.prototype.constructor=t,t.prototype.getContents=function(){return[this.content]},t})),u.d("FrontendComponentLayer",["FrontendComponentCommon"],(function(){function t(t,i,s){u.FrontendComponentCommon.prototype.constructor.call(this,t,i,s);var n=s;this.wraps.mask&&(n=this.wraps.mask),this.item=n.querySelectorAll(":scope > *")}return t.prototype=Object.create(u.FrontendComponentCommon.prototype),t.prototype.constructor=t,t.prototype.getContents=function(){return this.item},t})),u.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"),u.FrontendComponentCommon.prototype.constructor.call(this,t,i,s,this.rowInner.querySelectorAll(":scope > .n2-ss-layer"))}return t.prototype=Object.create(u.FrontendComponentCommon.prototype),t.prototype.constructor=t,t.prototype.getContents=function(){return[this.row]},t})),u.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(),u.FrontendComponent.prototype.constructor.call(this,this,this,s,s.querySelectorAll(":scope > .n2-ss-layer")),O(i.sliderElement,"SliderDeviceOrientation",function(e){this.onDeviceChange(e.detail.device.toLowerCase())}.bind(this)),O(i.sliderElement,"SliderResize",function(e){this.onResize(e.detail.ratios,e.detail.responsive.resizeContext)}.bind(this)),this.start()}return t.prototype=Object.create(u.FrontendComponent.prototype),t.prototype.constructor=t,t.prototype.onDeviceChange=function(t){u.FrontendComponent.prototype.onDeviceChange.call(this,t);for(var i=0;i0&&t<100)return}this.q=this.N,this.U=this.Y;var t=this.identifyDeviceID();if(this.parameters.hideOn[l._DeviceMode[t]])return A(this.o,"n2-section-smartslider--hidden"),!1;if(I(this.o,"n2-section-smartslider--hidden"),!this.isVisible)return!1;var i=!1,s=this.device;if(this.deviceID!==t&&(this.setDeviceID(t),s&&I(this.sliderElement,"n2-ss-"+s),b(this.sliderElement,"deviceMode",this.device),A(this.sliderElement,"n2-ss-"+this.device),this.slider.l("SliderDevice",{lastDevice:s,device:this.device,group:l._DeviceGroup[this.device]}),i=!0,this.slider.stages.resolve("Device")),i&&(this.slider.visibleRealSlides=[],this.slider.publicDispatchEvent("SliderDeviceOrientation",{slider:this.slider,lastDevice:s,device:this.device,group:l._DeviceGroup[this.device]}),this.slider.stages.resolve("DeviceOrientation"),this.finalizeVisibleSlidesStage1()),!this.slider.visibleRealSlides.length)return this.parameters.hideOn[l._DeviceMode[t]]=!0,A(this.o,"n2-section-smartslider--hidden"),!1;if(this.slider.isVisible||this.visibleRealSlidesChanged){for(var n=0;n .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;t0){var i=t||this.slider.currentRealSlide;i.isVisible||(i=i.getNext())||(i=this.slider.currentSlide.getPrevious()),this.resetActiveRealSlide(i)}},l.prototype.resetActiveRealSlide=function(t){var i,s;t&&t!==this.slider.currentRealSlide?(this.slider.l("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.l("SlideForceChange",{oldSlide:i,currentSlide:s})):s=this.slider.currentSlide,this.slider.updateInsideSlides([s])},l.prototype.finalizeVisibleSlidesStage2=function(){this.visibleRealSlidesChanged&&(this.visibleRealSlidesChanged=!1,this.isResetActiveSlideEarly||this.calibrateActiveSlide(),this.triggerVisibleSlidesChanged(),this.targetCurrentSlide!==n&&(this.slider.l("SlideWillChange",{targetSlide:this.targetCurrentSlide}),this.slider.l("CurrentSlideChanged",{currentSlide:this.targetCurrentSlide}),this.slider.stages.resolved("Visible")&&this.slider.playSlide(this.targetCurrentSlide),delete this.targetCurrentSlide))},l.prototype.triggerVisibleSlidesChanged=function(){this.slider.l("visibleSlidesChanged"),this.slider.stages.resolve("VisibleSlides"),this.slider.visibleRealSlides.length?this.slider.isVisible||this.slider.show():this.slider.isVisible&&this.slider.hide()},l.prototype.getNormalizedModeString=function(){return l._DeviceMode[this.deviceID]},l.prototype.triggerResize=function(){this.slider.publicDispatchEvent("SliderResize",{ratios:this.ratios,responsive:this}),this.slider.stages.resolve("Resized")},l.prototype.getVerticalOffsetHeight=function(){return this.I?0:this.slider.widgets.getVerticalsHeight()},l.prototype.addHorizontalSpacingControl=function(t,i){this.horizontalSpacingControls[t].push(i),this.slider.stages.resolved("ResizeFirst")&&this.doNormalizedResize()},l.prototype.filterSliderWidthHorizontalSpacing=function(t){for(var i in this.horizontalSpacing={right:0,left:0},this.horizontalSpacingControls)for(var s=this.horizontalSpacingControls[i],n=s.length-1;n>=0;n--){var h=s[n];h.isVisible()&&(h.refreshSliderSize(t),this.horizontalSpacing[i]+=h.getSize())}return g(this.containerElementPadding,{paddingLeft:this.horizontalSpacing.left+"px",paddingRight:this.horizontalSpacing.right+"px"}),t-this.horizontalSpacing.left-this.horizontalSpacing.right},l.prototype.addFilter=function(t,i){this.filters[t].push(i)},l.prototype.removeFilter=function(t,i){this.filters[t].push(i)},l.prototype.applyFilter=function(t,i){for(var s=0;s-1)this.parameters.volume=0;else if(n2const.isIOS){this.parameters.autoplay=0;try{"playsInline"in c("video")&&(this.parameters.autoplay=1,this.parameters.volume=0)}catch(t){}}n2const.isLighthouse||u.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){z(i),e.preventDefault(),e.stopPropagation(),this.initVimeoPlayer(),this.safePlay()}.bind(this),i=[L(this.playerElement,"click",t),L(this.playerElement,"n2click",t)]}.bind(this))},t.prototype.ready=function(t){i||(i=new Promise((function(t){var i=c("script");i.onload=t,i.src="https://player.vimeo.com/api/player.js",h.head.appendChild(i)}))),i.then(t)},t.prototype.initVimeoPlayer=function(){var t=c("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,this.parameters["iframe-title"]!==n&&""!==this.parameters["iframe-title"]&&(t.title=this.parameters["iframe-title"]),g(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),O(this.slide.element,"Hidden",function(){var t=this.state.play;this.setState("slideVisible",!1,!0),t&&this.setState("continuePlay",!0)}.bind(this)),O(this.slide.element,"Visible",function(){this.setState("slideVisible",!0,!0)}.bind(this)),this.cover&&(n2const.isMobile&&T(this.cover,"click",this.safePlay.bind(this)),T(i,"n2play",function(){u.P.to(u.MW.D(this.cover),.3,{opacity:0,onComplete:function(){x(this.cover)}.bind(this)})}.bind(this))),this.player.on("play",function(){this.isStatic||D(this.slider.sliderElement,"mediaStarted",{id:this.playerId}),R(i,"n2play")}.bind(this)),this.player.on("pause",function(){R(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||D(this.slider.sliderElement,"mediaEnded",{id:this.playerId}),R(i,"n2stop"),this.setState("play",!1),"next"===this.parameters.ended&&0==this.parameters.loop&&((h.fullscreenElement||h.webkitFullscreenElement)&&(h.exitFullscreen||h.webkitExitFullscreen).call(h),this.slider.next(!0))}.bind(this)),this.isStatic||(O(this.slider.sliderElement,"CurrentSlideChanged",function(e){this.onCurrentSlideChange(e.detail.currentSlide)}.bind(this)),O(this.slider.sliderElement,"mainAnimationStart",function(e){this.onCurrentSlideChange(this.slider.slides[e.detail.currentSlideIndex])}.bind(this))),""!==this.parameters["scroll-pause"]?u.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.setState("InComplete",!0,!0),this.isStatic?(this.setState("play",!0),this.setState("slide",!0,!0)):(O(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?p(this.player.element,"tabindex"):d(this.player.element,"tabindex","-1"))},t.prototype.play=function(){D(this.slider.sliderElement,"mediaStarted",{id:this.playerId}),0!=this.start&&this.safeSetCurrentTime(this.start),this.safePlay(),this.player.getCurrentTime().then(function(t){t{this.shouldPlayWhenReady=!0,z(this.listeners.play)}))),this.slide=this.slider.findSlideByElement(this.playerElement),this.isStatic=this.slide.isStatic();var s={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 c("video")&&(this.parameters.autoplay=1,this.parameters.volume=0,s.playsinline=1)}catch(t){}}for(var n in n2const.isIOS&&this.parameters.controls&&(s.use_native_controls=1),1==this.parameters.center&&(s.controls=0),1!=this.parameters.controls&&(s.autohide=1,s.controls=0),+(navigator.platform.toUpperCase().indexOf("MAC")>=0&&navigator.userAgent.search("Firefox")>-1)&&(s.html5=1),this.parameters.query)this.parameters.query.hasOwnProperty(n)&&(s[n]=this.parameters.query[n]);var o={videoId:this.parameters.youtubecode,wmode:"opaque",playerVars:s,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)&&D(this.slider.sliderElement,"mediaStarted",{id:this.playerId}),R(t,"n2play");break;case YT.PlayerState.PAUSED:R(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||D(this.slider.sliderElement,"mediaEnded",{id:this.playerId}),R(t,"n2stop"),this.setState("play",!1),"next"===this.parameters.ended&&((h.fullscreenElement||h.webkitFullscreenElement)&&(h.exitFullscreen||h.webkitExitFullscreen).call(h),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&&(y(this.playerElement.parentNode,"overflow","hidden"),this.onResize(),O(this.slider.sliderElement,"SliderResize",this.onResize.bind(this)))},t.prototype.onReady=function(){this.cover&&(n2const.isMobile&&T(this.cover,"click",this.play.bind(this)),T(this.layerElement,"n2play",this.fadeOutCover.bind(this))),z(this.listeners.play),this.shouldPlayWhenReady&&this.play(),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),O(this.slide.element,"Hidden",function(){var t=this.state.play;this.setState("slideVisible",!1,!0),t&&this.setState("continuePlay",!0)}.bind(this)),O(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||(O(this.slider.sliderElement,"CurrentSlideChanged",function(e){this.onCurrentSlideChange(e.detail.currentSlide)}.bind(this)),O(this.slider.sliderElement,"mainAnimationStart",function(e){this.onCurrentSlideChange(this.slider.slides[e.detail.currentSlideIndex])}.bind(this)),parseInt(this.parameters.reset)&&O(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"]?u.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,n=16/9,h={width:i+"px",height:s+"px","margin-top":0};h[n2const.rtl["margin-left"]]=0,i/s>n?(h.height=i*n+"px",h["margin-top"]=(s-i*n)/2+"px"):(h.width=s*n+"px",h[n2const.rtl["margin-left"]]=(i-s*n)/2+"px"),g(this.playerElement,h)},t.prototype.initAutoplay=function(){this.setState("InComplete",!0,!0),this.isStatic?(this.setState("play",!0),this.setState("slide",!0,!0)):(O(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===n&&r(this.fadeOutCover.bind(this),200),D(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})),u.d("smartslider-frontend")}(window); !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,t.setTimeout),n=t.clearTimeout,a=i._N2,o=(t.requestAnimationFrame,Object.assign),r=function(t,i){return t.dispatchEvent(i)},c=function(t,i){return r(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=o({delay:0,type:"horizontal",shiftedBackgroundAnimation:"auto"},i)).delay/=1e3,i.duration<300&&(i.type="no"),a.SmartSliderMainAnimationAbstract.prototype.constructor.call(this,t,i),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,h){this.postBackgroundAnimation&&this.postBackgroundAnimation.prepareToSwitchSlide(t,i),a.SmartSliderMainAnimationAbstract.prototype.changeTo.apply(this,arguments)},t.prototype.setActiveSlide=function(t){for(var i=0;i0&&this.timeline.shiftChildren(o),this._currentBackgroundAnimation.shiftedPreSetup&&this._currentBackgroundAnimation._preSetup()}else n&&(s.extraDelay>0&&this.timeline.shiftChildren(s.extraDelay),this._currentBackgroundAnimation.shiftedPreSetup&&this._currentBackgroundAnimation._preSetup())}else!1!==this._currentBackgroundAnimation&&(s.outDelay+=.1);var r=[t.SMWs[0]];!this._currentBackgroundAnimation&&t.SMWs[1]&&r.push(t.SMWs[1]),this.timeline.fromTo(r,s.outDuration,{opacity:1},{opacity:0,ease:this.getEase()},s.outDelay);var c=a.MW.D(i.element);this.timeline.fromTo(c,s.inDuration,{opacity:0},{opacity:1,ease:this.getEase()},s.inDelay),!this._currentBackgroundAnimation&&i.background&&(a.MW.D(i.background.element).opacity=1),u(this.sliderElement,"mainAnimationComplete",function(e){var t=this.slider.slides[e.detail.previousSlideIndex];a.MW.ft(t.SMWs,{zIndex:"",opacity:1})}.bind(this)),this.slider.updateInsideSlides([t,i])},t.prototype._mainAnimationCrossFade=function(t,i){a.MW.ft(t.SMWs,{zIndex:23}),this.showSlide(i),t.unsetActive(),i.setActive();var s=this.adjustMainAnimation();if(0!=this.parameters.shiftedBackgroundAnimation){var h=!1,n=!1;if("auto"==this.parameters.shiftedBackgroundAnimation?t.hasLayers()?h=!0:n=!0:h=!0,this._currentBackgroundAnimation&&h){var o=s.outDuration-s.extraDelay;o>0&&this.timeline.shiftChildren(o),this._currentBackgroundAnimation.shiftedPreSetup&&this._currentBackgroundAnimation._preSetup()}else n&&(s.extraDelay>0&&this.timeline.shiftChildren(s.extraDelay),this._currentBackgroundAnimation.shiftedPreSetup&&this._currentBackgroundAnimation._preSetup())}else!1!==this._currentBackgroundAnimation&&(s.outDelay+=.1);var r=[t.SMWs[0]];!this._currentBackgroundAnimation&&t.SMWs[1]&&r.push(t.SMWs[1]),this.timeline.fromTo(r,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.ft(t.SMWs,{zIndex:"",opacity:1}),a.MW.ft(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,h){var n=t.SMWs,o=i.SMWs,r=[t,i],c="",l=0;"horizontal"===s?(c="x",l=Math.floor(this.slider.responsive.resizeContext.slideOuterWidth),n2const.rtl.isRtl&&(h=!h)):"vertical"===s&&(c="y",l=Math.floor(this.slider.responsive.resizeContext.slideOuterHeight)),h&&(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.ft(n,{zIndex:23});var m={zIndex:23};m[c]=l,a.MW.ft(o,m),t.unsetActive(),i.setActive();var p,S=this.adjustMainAnimation();if(v[c]=0,this.timeline.fromTo(o,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())}else!1!==this._currentBackgroundAnimation&&(S.outDelay+=.1);if(this.timeline.to(n,S.outDuration,d,S.outDelay),this.isTouch&&this.isReverseAllowed)if(h?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(),r.push(p),"vertical"===s&&this.showSlide(p);var D=p.SMWs,z={};z[c]=l,a.MW.ft(D,z);var A={},I={snap:"x,y",ease:this.getEase()},w={},C={snap:"x,y",ease:this.getEase()};I[c]=0,A[c]=-l,C[c]=l,w[c]=0,p.l("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,A,I,S.inDelay),this.reverseTimeline.fromTo(n,S.inDuration,w,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.ft(t.SMWs,{zIndex:""}),a.MW.ft(i.SMWs,{zIndex:""})}.bind(this)),this.slider.updateInsideSlides(r)},t.prototype.getExtraDelay=function(){return 0},t.prototype.adjustMainAnimation=function(){var t=this.parameters.duration,i=this.parameters.delay,s=this.timeline.totalDuration(),h=this.getExtraDelay();if(s>0){var n=t+i;if(!(n>(s-=.05)))return{inDuration:t,outDuration:t,inDelay:s-t,outDelay:h,extraDelay:h};t=t*s/n,(i=i*s/n)-1||n.requestIdleCallback,n.cancelIdleCallback;!function(t){if("complete"===i.readyState||"interactive"===i.readyState)t();else if(Document&&Document.prototype&&Document.prototype.addEventListener&&Document.prototype.addEventListener!==i.addEventListener){const n=()=>{t(),t=()=>{}};i.addEventListener("DOMContentLoaded",n),i.addEventListener("readystatechange",(()=>{"complete"!==i.readyState&&"interactive"!==i.readyState||n()})),Document.prototype.addEventListener.call(i,"DOMContentLoaded",n)}else i.addEventListener("DOMContentLoaded",t)}((function(){i.body})),r.d("SmartSliderWidgetArrowImage","SmartSliderWidget",(function(){function t(t,n,i){this.tn=i,r.SmartSliderWidget.prototype.constructor.call(this,n,t,"#"+n.elementID+"-arrow-"+t)}return t.prototype=Object.create(r.SmartSliderWidget.prototype),t.prototype.constructor=t,t.prototype.onStart=function(){var t,n,i,o;t=this.widget,n="click",i=function(e){e.stopPropagation(),this.slider[this.tn]()}.bind(this),o=o||{},t.addEventListener(n,i,o)},function(n){this.key="arrow",this.previous=new t("previous",n,"previousWithDirection"),this.next=new t("next",n,"nextWithDirection")}}))}(window); function sgr_2(){console.log('SGR_2 loaded!');let recaptcha=document.getElementsByClassName('sgr-main');for(let i=0;i\x20\t\r\n\f]*)[^>]*)\/>/gi;s.UNSAFE_restoreLegacyHtmlPrefilter=function(){s.migrateEnablePatches("self-closed-tags")},i(s,"htmlPrefilter",function(e){var t,r;return(r=(t=e).replace(F,"<$1>"))!==t&&T(t)!==T(r)&&u("self-closed-tags","HTML tags must be properly nested and closed: "+t),e.replace(F,"<$1>")},"self-closed-tags"),s.migrateDisablePatches("self-closed-tags");var D,W,_,I=s.fn.offset;return i(s.fn,"offset",function(){var e=this[0];return!e||e.nodeType&&e.getBoundingClientRect?I.apply(this,arguments):(u("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length?this:void 0)},"offset-valid-elem"),s.ajax&&(D=s.param,i(s,"param",function(e,t){var r=s.ajaxSettings&&s.ajaxSettings.traditional;return void 0===t&&r&&(u("param-ajax-traditional","jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),t=r),D.call(this,e,t)},"param-ajax-traditional")),c(s.fn,"andSelf",s.fn.addBack,"andSelf","jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),s.Deferred&&(W=s.Deferred,_=[["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),"rejected"],["notify","progress",s.Callbacks("memory"),s.Callbacks("memory")]],i(s,"Deferred",function(e){var a=W(),i=a.promise();function t(){var o=arguments;return s.Deferred(function(n){s.each(_,function(e,t){var r="function"==typeof o[e]&&o[e];a[t[1]](function(){var e=r&&r.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===i?n.promise():this,r?[e]:arguments)})}),o=null}).promise()}return c(a,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),c(i,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),e&&e.call(a,a),a},"deferred-pipe"),s.Deferred.exceptionHook=W.exceptionHook),s}); (function($){'use strict';})(jQuery); if(typeof Object.create!=="function"){Object.create=function(obj){function F(){} F.prototype=obj;return new F();};} (function($,window,document){var Carousel={init:function(options,el){var base=this;base.$elem=$(el);base.options=$.extend({},$.fn.owlCarousel.options,base.$elem.data(),options);base.userOptions=options;base.loadContent();},loadContent:function(){var base=this,url;function getData(data){var i,content="";if(typeof base.options.jsonSuccess==="function"){base.options.jsonSuccess.apply(this,[data]);}else{for(i in data.owl){if(data.owl.hasOwnProperty(i)){content+=data.owl[i].item;}} base.$elem.html(content);} base.logIn();} if(typeof base.options.beforeInit==="function"){base.options.beforeInit.apply(this,[base.$elem]);} if(typeof base.options.jsonPath==="string"){url=base.options.jsonPath;$.getJSON(url,getData);}else{base.logIn();}},logIn:function(){var base=this;base.$elem.data("owl-originalStyles",base.$elem.attr("style")).data("owl-originalClasses",base.$elem.attr("class"));base.$elem.css({opacity:0});base.orignalItems=base.options.items;base.checkBrowser();base.wrapperWidth=0;base.checkVisible=null;base.setVars();},setVars:function(){var base=this;if(base.$elem.children().length===0){return false;} base.baseClass();base.eventTypes();base.$userItems=base.$elem.children();base.itemsAmount=base.$userItems.length;base.wrapItems();base.$owlItems=base.$elem.find(".owl-item");base.$owlWrapper=base.$elem.find(".owl-wrapper");base.playDirection="next";base.prevItem=0;base.prevArr=[0];base.currentItem=0;base.customEvents();base.onStartup();},onStartup:function(){var base=this;base.updateItems();base.calculateAll();base.buildControls();base.updateControls();base.response();base.moveEvents();base.stopOnHover();base.owlStatus();if(base.options.transitionStyle!==false){base.transitionTypes(base.options.transitionStyle);} if(base.options.autoPlay===true){base.options.autoPlay=5000;} base.play();base.$elem.find(".owl-wrapper").css("display","block");if(!base.$elem.is(":visible")){base.watchVisibility();}else{base.$elem.css("opacity",1);} base.onstartup=false;base.eachMoveUpdate();if(typeof base.options.afterInit==="function"){base.options.afterInit.apply(this,[base.$elem]);}},eachMoveUpdate:function(){var base=this;if(base.options.lazyLoad===true){base.lazyLoad();} if(base.options.autoHeight===true){base.autoHeight();} base.onVisibleItems();if(typeof base.options.afterAction==="function"){base.options.afterAction.apply(this,[base.$elem]);}},updateVars:function(){var base=this;if(typeof base.options.beforeUpdate==="function"){base.options.beforeUpdate.apply(this,[base.$elem]);} base.watchVisibility();base.updateItems();base.calculateAll();base.updatePosition();base.updateControls();base.eachMoveUpdate();if(typeof base.options.afterUpdate==="function"){base.options.afterUpdate.apply(this,[base.$elem]);}},reload:function(){var base=this;window.setTimeout(function(){base.updateVars();},0);},watchVisibility:function(){var base=this;if(base.$elem.is(":visible")===false){base.$elem.css({opacity:0});window.clearInterval(base.autoPlayInterval);window.clearInterval(base.checkVisible);}else{return false;} base.checkVisible=window.setInterval(function(){if(base.$elem.is(":visible")){base.reload();base.$elem.animate({opacity:1},200);window.clearInterval(base.checkVisible);}},500);},wrapItems:function(){var base=this;base.$userItems.wrapAll("
").wrap("
");base.$elem.find(".owl-wrapper").wrap("
");base.wrapperOuter=base.$elem.find(".owl-wrapper-outer");base.$elem.css("display","block");},baseClass:function(){var base=this,hasBaseClass=base.$elem.hasClass(base.options.baseClass),hasThemeClass=base.$elem.hasClass(base.options.theme);if(!hasBaseClass){base.$elem.addClass(base.options.baseClass);} if(!hasThemeClass){base.$elem.addClass(base.options.theme);}},updateItems:function(){var base=this,width,i;if(base.options.responsive===false){return false;} if(base.options.singleItem===true){base.options.items=base.orignalItems=1;base.options.itemsCustom=false;base.options.itemsDesktop=false;base.options.itemsDesktopSmall=false;base.options.itemsTablet=false;base.options.itemsTabletSmall=false;base.options.itemsMobile=false;return false;} width=$(base.options.responsiveBaseWidth).width();if(width>(base.options.itemsDesktop[0]||base.orignalItems)){base.options.items=base.orignalItems;} if(base.options.itemsCustom!==false){base.options.itemsCustom.sort(function(a,b){return a[0]-b[0];});for(i=0;ibase.itemsAmount&&base.options.itemsScaleUp===true){base.options.items=base.itemsAmount;}},response:function(){var base=this,smallDelay,lastWindowWidth;if(base.options.responsive!==true){return false;} lastWindowWidth=$(window).width();base.resizer=function(){if($(window).width()!==lastWindowWidth){if(base.options.autoPlay!==false){window.clearInterval(base.autoPlayInterval);} window.clearTimeout(smallDelay);smallDelay=window.setTimeout(function(){lastWindowWidth=$(window).width();base.updateVars();},base.options.responsiveRefreshRate);}};$(window).resize(base.resizer);},updatePosition:function(){var base=this;base.jumpTo(base.currentItem);if(base.options.autoPlay!==false){base.checkAp();}},appendItemsSizes:function(){var base=this,roundPages=0,lastItem=base.itemsAmount-base.options.items;base.$owlItems.each(function(index){var $this=$(this);$this.css({"width":base.itemWidth}).data("owl-item",Number(index));if(index%base.options.items===0||index===lastItem){if(!(index>lastItem)){roundPages+=1;}} $this.data("owl-roundPages",roundPages);});},appendWrapperSizes:function(){var base=this,width=base.$owlItems.length*base.itemWidth;base.$owlWrapper.css({"width":width*2,"left":0});base.appendItemsSizes();},calculateAll:function(){var base=this;base.calculateWidth();base.appendWrapperSizes();base.loops();base.max();},calculateWidth:function(){var base=this;base.itemWidth=Math.round(base.$elem.width()/base.options.items);},max:function(){var base=this,maximum=((base.itemsAmount*base.itemWidth)-base.options.items*base.itemWidth)*-1;if(base.options.items>base.itemsAmount){base.maximumItem=0;maximum=0;base.maximumPixels=0;}else{base.maximumItem=base.itemsAmount-base.options.items;base.maximumPixels=maximum;} return maximum;},min:function(){return 0;},loops:function(){var base=this,prev=0,elWidth=0,i,item,roundPageNum;base.positionsInArray=[0];base.pagesInArray=[];for(i=0;i").toggleClass("clickable",!base.browser.isTouch).appendTo(base.$elem);} if(base.options.pagination===true){base.buildPagination();} if(base.options.navigation===true){base.buildButtons();}},buildButtons:function(){var base=this,buttonsWrapper=$("
");base.owlControls.append(buttonsWrapper);base.buttonPrev=$("
",{"class":"owl-prev","html":base.options.navigationText[0]||""});base.buttonNext=$("
",{"class":"owl-next","html":base.options.navigationText[1]||""});buttonsWrapper.append(base.buttonPrev).append(base.buttonNext);buttonsWrapper.on("touchstart.owlControls mousedown.owlControls","div[class^=\"owl\"]",function(event){event.preventDefault();});buttonsWrapper.on("touchend.owlControls mouseup.owlControls","div[class^=\"owl\"]",function(event){event.preventDefault();if($(this).hasClass("owl-next")){base.next();}else{base.prev();}});},buildPagination:function(){var base=this;base.paginationWrapper=$("
");base.owlControls.append(base.paginationWrapper);base.paginationWrapper.on("touchend.owlControls mouseup.owlControls",".owl-page",function(event){event.preventDefault();if(Number($(this).data("owl-page"))!==base.currentItem){base.goTo(Number($(this).data("owl-page")),true);}});},updatePagination:function(){var base=this,counter,lastPage,lastItem,i,paginationButton,paginationButtonInner;if(base.options.pagination===false){return false;} base.paginationWrapper.html("");counter=0;lastPage=base.itemsAmount-base.itemsAmount%base.options.items;for(i=0;i",{"class":"owl-page"});paginationButtonInner=$("",{"text":base.options.paginationNumbers===true?counter:"","class":base.options.paginationNumbers===true?"owl-numbers":""});paginationButton.append(paginationButtonInner);paginationButton.data("owl-page",lastPage===i?lastItem:i);paginationButton.data("owl-roundPages",counter);base.paginationWrapper.append(paginationButton);}} base.checkPagination();},checkPagination:function(){var base=this;if(base.options.pagination===false){return false;} base.paginationWrapper.find(".owl-page").each(function(){if($(this).data("owl-roundPages")===$(base.$owlItems[base.currentItem]).data("owl-roundPages")){base.paginationWrapper.find(".owl-page").removeClass("active");$(this).addClass("active");}});},checkNavigation:function(){var base=this;if(base.options.navigation===false){return false;} if(base.options.rewindNav===false){if(base.currentItem===0&&base.maximumItem===0){base.buttonPrev.addClass("disabled");base.buttonNext.addClass("disabled");}else if(base.currentItem===0&&base.maximumItem!==0){base.buttonPrev.addClass("disabled");base.buttonNext.removeClass("disabled");}else if(base.currentItem===base.maximumItem){base.buttonPrev.removeClass("disabled");base.buttonNext.addClass("disabled");}else if(base.currentItem!==0&&base.currentItem!==base.maximumItem){base.buttonPrev.removeClass("disabled");base.buttonNext.removeClass("disabled");}}},updateControls:function(){var base=this;base.updatePagination();base.checkNavigation();if(base.owlControls){if(base.options.items>=base.itemsAmount){base.owlControls.hide();}else{base.owlControls.show();}}},destroyControls:function(){var base=this;if(base.owlControls){base.owlControls.remove();}},next:function(speed){var base=this;if(base.isTransition){return false;} base.currentItem+=base.options.scrollPerPage===true?base.options.items:1;if(base.currentItem>base.maximumItem+(base.options.scrollPerPage===true?(base.options.items-1):0)){if(base.options.rewindNav===true){base.currentItem=0;speed="rewind";}else{base.currentItem=base.maximumItem;return false;}} base.goTo(base.currentItem,speed);},prev:function(speed){var base=this;if(base.isTransition){return false;} if(base.options.scrollPerPage===true&&base.currentItem>0&&base.currentItem=base.maximumItem){position=base.maximumItem;}else if(position<=0){position=0;} base.currentItem=base.owl.currentItem=position;if(base.options.transitionStyle!==false&&drag!=="drag"&&base.options.items===1&&base.browser.support3d===true){base.swapSpeed(0);if(base.browser.support3d===true){base.transition3d(base.positionsInArray[position]);}else{base.css2slide(base.positionsInArray[position],1);} base.afterGo();base.singleItemTransition();return false;} goToPixel=base.positionsInArray[position];if(base.browser.support3d===true){base.isCss3Finish=false;if(speed===true){base.swapSpeed("paginationSpeed");window.setTimeout(function(){base.isCss3Finish=true;},base.options.paginationSpeed);}else if(speed==="rewind"){base.swapSpeed(base.options.rewindSpeed);window.setTimeout(function(){base.isCss3Finish=true;},base.options.rewindSpeed);}else{base.swapSpeed("slideSpeed");window.setTimeout(function(){base.isCss3Finish=true;},base.options.slideSpeed);} base.transition3d(goToPixel);}else{if(speed===true){base.css2slide(goToPixel,base.options.paginationSpeed);}else if(speed==="rewind"){base.css2slide(goToPixel,base.options.rewindSpeed);}else{base.css2slide(goToPixel,base.options.slideSpeed);}} base.afterGo();},jumpTo:function(position){var base=this;if(typeof base.options.beforeMove==="function"){base.options.beforeMove.apply(this,[base.$elem]);} if(position>=base.maximumItem||position===-1){position=base.maximumItem;}else if(position<=0){position=0;} base.swapSpeed(0);if(base.browser.support3d===true){base.transition3d(base.positionsInArray[position]);}else{base.css2slide(base.positionsInArray[position],1);} base.currentItem=base.owl.currentItem=position;base.afterGo();},afterGo:function(){var base=this;base.prevArr.push(base.currentItem);base.prevItem=base.owl.prevItem=base.prevArr[base.prevArr.length-2];base.prevArr.shift(0);if(base.prevItem!==base.currentItem){base.checkPagination();base.checkNavigation();base.eachMoveUpdate();if(base.options.autoPlay!==false){base.checkAp();}} if(typeof base.options.afterMove==="function"&&base.prevItem!==base.currentItem){base.options.afterMove.apply(this,[base.$elem]);}},stop:function(){var base=this;base.apStatus="stop";window.clearInterval(base.autoPlayInterval);},checkAp:function(){var base=this;if(base.apStatus!=="stop"){base.play();}},play:function(){var base=this;base.apStatus="play";if(base.options.autoPlay===false){return false;} window.clearInterval(base.autoPlayInterval);base.autoPlayInterval=window.setInterval(function(){base.next(true);},base.options.autoPlay);},swapSpeed:function(action){var base=this;if(action==="slideSpeed"){base.$owlWrapper.css(base.addCssSpeed(base.options.slideSpeed));}else if(action==="paginationSpeed"){base.$owlWrapper.css(base.addCssSpeed(base.options.paginationSpeed));}else if(typeof action!=="string"){base.$owlWrapper.css(base.addCssSpeed(action));}},addCssSpeed:function(speed){return{"-webkit-transition":"all "+speed+"ms ease","-moz-transition":"all "+speed+"ms ease","-o-transition":"all "+speed+"ms ease","transition":"all "+speed+"ms ease"};},removeTransition:function(){return{"-webkit-transition":"","-moz-transition":"","-o-transition":"","transition":""};},doTranslate:function(pixels){return{"-webkit-transform":"translate3d("+pixels+"px, 0px, 0px)","-moz-transform":"translate3d("+pixels+"px, 0px, 0px)","-o-transform":"translate3d("+pixels+"px, 0px, 0px)","-ms-transform":"translate3d("+pixels+"px, 0px, 0px)","transform":"translate3d("+pixels+"px, 0px,0px)"};},transition3d:function(value){var base=this;base.$owlWrapper.css(base.doTranslate(value));},css2move:function(value){var base=this;base.$owlWrapper.css({"left":value});},css2slide:function(value,speed){var base=this;base.isCssFinish=false;base.$owlWrapper.stop(true,true).animate({"left":value},{duration:speed||base.options.slideSpeed,complete:function(){base.isCssFinish=true;}});},checkBrowser:function(){var base=this,translate3D="translate3d(0px, 0px, 0px)",tempElem=document.createElement("div"),regex,asSupport,support3d,isTouch;tempElem.style.cssText=" -moz-transform:"+translate3D+"; -ms-transform:"+translate3D+"; -o-transform:"+translate3D+"; -webkit-transform:"+translate3D+"; transform:"+translate3D;regex=/translate3d\(0px, 0px, 0px\)/g;asSupport=tempElem.style.cssText.match(regex);support3d=(asSupport!==null&&asSupport.length===1);isTouch="ontouchstart"in window||window.navigator.msMaxTouchPoints;base.browser={"support3d":support3d,"isTouch":isTouch};},moveEvents:function(){var base=this;if(base.options.mouseDrag!==false||base.options.touchDrag!==false){base.gestures();base.disabledEvents();}},eventTypes:function(){var base=this,types=["s","e","x"];base.ev_types={};if(base.options.mouseDrag===true&&base.options.touchDrag===true){types=["touchstart.owl mousedown.owl","touchmove.owl mousemove.owl","touchend.owl touchcancel.owl mouseup.owl"];}else if(base.options.mouseDrag===false&&base.options.touchDrag===true){types=["touchstart.owl","touchmove.owl","touchend.owl touchcancel.owl"];}else if(base.options.mouseDrag===true&&base.options.touchDrag===false){types=["mousedown.owl","mousemove.owl","mouseup.owl"];} base.ev_types.start=types[0];base.ev_types.move=types[1];base.ev_types.end=types[2];},disabledEvents:function(){var base=this;base.$elem.on("dragstart.owl",function(event){event.preventDefault();});base.$elem.on("mousedown.disableTextSelect",function(e){return $(e.target).is('input, textarea, select, option');});},gestures:function(){var base=this,locals={offsetX:0,offsetY:0,baseElWidth:0,relativePos:0,position:null,minSwipe:null,maxSwipe:null,sliding:null,dargging:null,targetElement:null};base.isCssFinish=true;function getTouches(event){if(event.touches!==undefined){return{x:event.touches[0].pageX,y:event.touches[0].pageY};} if(event.touches===undefined){if(event.pageX!==undefined){return{x:event.pageX,y:event.pageY};} if(event.pageX===undefined){return{x:event.clientX,y:event.clientY};}}} function swapEvents(type){if(type==="on"){$(document).on(base.ev_types.move,dragMove);$(document).on(base.ev_types.end,dragEnd);}else if(type==="off"){$(document).off(base.ev_types.move);$(document).off(base.ev_types.end);}} function dragStart(event){var ev=event.originalEvent||event||window.event,position;if(ev.which===3){return false;} if(base.itemsAmount<=base.options.items){return;} if(base.isCssFinish===false&&!base.options.dragBeforeAnimFinish){return false;} if(base.isCss3Finish===false&&!base.options.dragBeforeAnimFinish){return false;} if(base.options.autoPlay!==false){window.clearInterval(base.autoPlayInterval);} if(base.browser.isTouch!==true&&!base.$owlWrapper.hasClass("grabbing")){base.$owlWrapper.addClass("grabbing");} base.newPosX=0;base.newRelativeX=0;$(this).css(base.removeTransition());position=$(this).position();locals.relativePos=position.left;locals.offsetX=getTouches(ev).x-position.left;locals.offsetY=getTouches(ev).y-position.top;swapEvents("on");locals.sliding=false;locals.targetElement=ev.target||ev.srcElement;} function dragMove(event){var ev=event.originalEvent||event||window.event,minSwipe,maxSwipe;base.newPosX=getTouches(ev).x-locals.offsetX;base.newPosY=getTouches(ev).y-locals.offsetY;base.newRelativeX=base.newPosX-locals.relativePos;if(typeof base.options.startDragging==="function"&&locals.dragging!==true&&base.newRelativeX!==0){locals.dragging=true;base.options.startDragging.apply(base,[base.$elem]);} if((base.newRelativeX>8||base.newRelativeX<-8)&&(base.browser.isTouch===true)){if(ev.preventDefault!==undefined){ev.preventDefault();}else{ev.returnValue=false;} locals.sliding=true;} if((base.newPosY>10||base.newPosY<-10)&&locals.sliding===false){$(document).off("touchmove.owl");} minSwipe=function(){return base.newRelativeX/5;};maxSwipe=function(){return base.maximumPixels+base.newRelativeX/5;};base.newPosX=Math.max(Math.min(base.newPosX,minSwipe()),maxSwipe());if(base.browser.support3d===true){base.transition3d(base.newPosX);}else{base.css2move(base.newPosX);}} function dragEnd(event){var ev=event.originalEvent||event||window.event,newPosition,handlers,owlStopEvent;ev.target=ev.target||ev.srcElement;locals.dragging=false;if(base.browser.isTouch!==true){base.$owlWrapper.removeClass("grabbing");} if(base.newRelativeX<0){base.dragDirection=base.owl.dragDirection="left";}else{base.dragDirection=base.owl.dragDirection="right";} if(base.newRelativeX!==0){newPosition=base.getNewPosition();base.goTo(newPosition,false,"drag");if(locals.targetElement===ev.target&&base.browser.isTouch!==true){$(ev.target).on("click.disable",function(ev){ev.stopImmediatePropagation();ev.stopPropagation();ev.preventDefault();$(ev.target).off("click.disable");});handlers=$._data(ev.target,"events").click;owlStopEvent=handlers.pop();handlers.splice(0,0,owlStopEvent);}} swapEvents("off");} base.$elem.on(base.ev_types.start,".owl-wrapper",dragStart);},getNewPosition:function(){var base=this,newPosition=base.closestItem();if(newPosition>base.maximumItem){base.currentItem=base.maximumItem;newPosition=base.maximumItem;}else if(base.newPosX>=0){newPosition=0;base.currentItem=0;} return newPosition;},closestItem:function(){var base=this,array=base.options.scrollPerPage===true?base.pagesInArray:base.positionsInArray,goal=base.newPosX,closest=null;$.each(array,function(i,v){if(goal-(base.itemWidth/20)>array[i+1]&&goal-(base.itemWidth/20)(array[i+1]||array[i]-base.itemWidth)&&base.moveDirection()==="right"){if(base.options.scrollPerPage===true){closest=array[i+1]||array[array.length-1];base.currentItem=$.inArray(closest,base.positionsInArray);}else{closest=array[i+1];base.currentItem=i+1;}}});return base.currentItem;},moveDirection:function(){var base=this,direction;if(base.newRelativeX<0){direction="right";base.playDirection="next";}else{direction="left";base.playDirection="prev";} return direction;},customEvents:function(){var base=this;base.$elem.on("owl.next",function(){base.next();});base.$elem.on("owl.prev",function(){base.prev();});base.$elem.on("owl.play",function(event,speed){base.options.autoPlay=speed;base.play();base.hoverStatus="play";});base.$elem.on("owl.stop",function(){base.stop();base.hoverStatus="stop";});base.$elem.on("owl.goTo",function(event,item){base.goTo(item);});base.$elem.on("owl.jumpTo",function(event,item){base.jumpTo(item);});},stopOnHover:function(){var base=this;if(base.options.stopOnHover===true&&base.browser.isTouch!==true&&base.options.autoPlay!==false){base.$elem.on("mouseover",function(){base.stop();});base.$elem.on("mouseout",function(){if(base.hoverStatus!=="stop"){base.play();}});}},lazyLoad:function(){var base=this,i,$item,itemNumber,$lazyImg,follow;if(base.options.lazyLoad===false){return false;} for(i=0;i=base.currentItem;}else{follow=true;} if(follow&&itemNumber=base.$userItems.length||position===-1){base.$userItems.eq(-1).after(htmlString);}else{base.$userItems.eq(position).before(htmlString);} base.setVars();},removeItem:function(targetPosition){var base=this,position;if(base.$elem.children().length===0){return false;} if(targetPosition===undefined||targetPosition===-1){position=-1;}else{position=targetPosition;} base.unWrap();base.$userItems.eq(position).remove();base.setVars();}};$.fn.owlCarousel=function(options){return this.each(function(){if($(this).data("owl-init")===true){return false;} $(this).data("owl-init",true);var carousel=Object.create(Carousel);carousel.init(options,this);$.data(this,"owlCarousel",carousel);});};$.fn.owlCarousel.options={items:5,itemsCustom:false,itemsDesktop:[1199,4],itemsDesktopSmall:[979,3],itemsTablet:[768,2],itemsTabletSmall:false,itemsMobile:[479,1],singleItem:false,itemsScaleUp:false,slideSpeed:200,paginationSpeed:800,rewindSpeed:1000,autoPlay:false,stopOnHover:false,navigation:false,navigationText:["prev","next"],rewindNav:true,scrollPerPage:false,pagination:true,paginationNumbers:false,responsive:true,responsiveRefreshRate:200,responsiveBaseWidth:window,baseClass:"owl-carousel",theme:"owl-theme",lazyLoad:false,lazyFollow:true,lazyEffect:"fade",autoHeight:false,jsonPath:false,jsonSuccess:false,dragBeforeAnimFinish:true,mouseDrag:true,touchDrag:true,addClassActive:false,transitionStyle:false,beforeUpdate:false,afterUpdate:false,beforeInit:false,afterInit:false,beforeMove:false,afterMove:false,afterAction:false,startDragging:false,afterLazyLoad:false};}(jQuery,window,document)); jQuery(document).ready(function($){var carouselIds=new Array();$(".owl-carousel").each(function(){carouselIds.push($(this).attr("id"));});for(var i in carouselIds){var params={};var datas=$(document.getElementById(carouselIds[i])).data();for(var paramName in datas){var data=$(document.getElementById(carouselIds[i])).data(paramName);if(data!==""){if(String(data).indexOf(",")>-1){data=data.split(",");} if(paramName=="random"){params[owlCarouselParamName("beforeInit")]=function(elem){random(elem);};}else{params[owlCarouselParamName(paramName)]=data;}}} $(document.getElementById(carouselIds[i])).owlCarousel(params);} function random(owlSelector){owlSelector.children().sort(function(){return Math.round(Math.random())-0.5;}).each(function(){$(this).appendTo(owlSelector);});}});function owlCarouselParamName(paramName){var parameterArray={ADDCLASSACTIVE:"addClassActive",AFTERACTION:"afterAction",AFTERINIT:"afterInit",AFTERLAZYLOAD:"afterLazyLoad",AFTERMOVE:"afterMove",AFTERUPDATE:"afterUpdate",AUTOHEIGHT:"autoHeight",AUTOPLAY:"autoPlay",BASECLASS:"baseClass",BEFOREINIT:"beforeInit",BEFOREMOVE:"beforeMove",BEFOREUPDATE:"beforeUpdate",DRAGBEFOREANIMFINISH:"dragBeforeAnimFinish",ITEMS:"items",ITEMSCUSTOM:"itemsCustom",ITEMSDESKTOP:"itemsDesktop",ITEMSDESKTOPSMALL:"itemsDesktopSmall",ITEMSMOBILE:"itemsMobile",ITEMSSCALEUP:"itemsScaleUp",ITEMSTABLET:"itemsTablet",ITEMSTABLETSMALL:"itemsTabletSmall",JSONPATH:"jsonPath",JSONSUCCESS:"jsonSuccess",LAZYLOAD:"lazyLoad",LAZYFOLLOW:"lazyFollow",LAZYEFFECT:"lazyEffect",MOUSEDRAG:"mouseDrag",NAVIGATION:"navigation",NAVIGATIONTEXT:"navigationText",PAGINATION:"pagination",PAGINATIONNUMBERS:"paginationNumbers",PAGINATIONSPEED:"paginationSpeed",RESPONSIVE:"responsive",RESPONSIVEBASEWIDTH:"responsiveBaseWidth",RESPONSIVEREFRESHRATE:"responsiveRefreshRate",REWINDNAV:"rewindNav",REWINDSPEED:"rewindSpeed",SCROLLPERPAGE:"scrollPerPage",SINGLEITEM:"singleItem",SLIDESPEED:"slideSpeed",STARTDRAGGING:"startDragging",STOPONHOVER:"stopOnHover",THEME:"theme",TOUCHDRAG:"touchDrag",TRANSITIONSTYLE:"transitionStyle",};return parameterArray[paramName.toUpperCase()];}; /*! This file is auto-generated */ !function(e,t){if("function"==typeof define&&define.amd)define("hoverintent",["module"],t);else if("undefined"!=typeof exports)t(module);else{var n={exports:{}};t(n),e.hoverintent=n.exports}}(this,function(e){"use strict";var t=Object.assign||function(e){for(var t=1;t{"use strict";var t={d:(e,i)=>{for(var s in i)t.o(i,s)&&!t.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:i[s]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};function i(t){if(this.formData={},this.tree={},!(t instanceof FormData))return this;this.formData=t;const e=()=>{const t=new Map;return t.largestIndex=0,t.set=function(e,i){""===e?e=t.largestIndex++:/^[0-9]+$/.test(e)&&(e=parseInt(e),t.largestIndex<=e&&(t.largestIndex=e+1)),Map.prototype.set.call(t,e,i)},t};this.tree=e();const i=/^(?[a-z][-a-z0-9_:]*)(?(?:\[(?:[a-z][-a-z0-9_:]*|[0-9]*)\])*)/i;for(const[t,s]of this.formData){const o=t.match(i);if(o)if(""===o.groups.array)this.tree.set(o.groups.name,s);else{const t=[...o.groups.array.matchAll(/\[([a-z][-a-z0-9_:]*|[0-9]*)\]/gi)].map((([t,e])=>e));t.unshift(o.groups.name);const i=t.pop();t.reduce(((t,i)=>{if(/^[0-9]+$/.test(i)&&(i=parseInt(i)),t.get(i)instanceof Map)return t.get(i);const s=e();return t.set(i,s),s}),this.tree).set(i,s)}}}t.r(e),t.d(e,{all:()=>D,any:()=>M,date:()=>m,dayofweek:()=>u,email:()=>r,enum:()=>h,file:()=>d,maxdate:()=>z,maxfilesize:()=>j,maxitems:()=>v,maxlength:()=>x,maxnumber:()=>y,mindate:()=>A,minfilesize:()=>$,minitems:()=>w,minlength:()=>g,minnumber:()=>b,number:()=>c,required:()=>n,requiredfile:()=>a,stepnumber:()=>I,tel:()=>l,time:()=>f,url:()=>p}),i.prototype.entries=function(){return this.tree.entries()},i.prototype.get=function(t){return this.tree.get(t)},i.prototype.getAll=function(t){if(!this.has(t))return[];const e=t=>{const i=[];if(t instanceof Map)for(const[s,o]of t)i.push(...e(o));else""!==t&&i.push(t);return i};return e(this.get(t))},i.prototype.has=function(t){return this.tree.has(t)},i.prototype.keys=function(){return this.tree.keys()},i.prototype.values=function(){return this.tree.values()};const s=i;function o({rule:t,field:e,error:i,...s}){this.rule=t,this.field=e,this.error=i,this.properties=s}const n=function(t){if(0===t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).length)throw new o(this)},a=function(t){if(0===t.getAll(this.field).length)throw new o(this)},r=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>{if(t.length<6)return!1;if(-1===t.indexOf("@",1))return!1;if(t.indexOf("@")!==t.lastIndexOf("@"))return!1;const[e,i]=t.split("@",2);if(!/^[a-zA-Z0-9!#$%&\'*+\/=?^_`{|}~\.-]+$/.test(e))return!1;if(/\.{2,}/.test(i))return!1;if(/(?:^[ \t\n\r\0\x0B.]|[ \t\n\r\0\x0B.]$)/.test(i))return!1;const s=i.split(".");if(s.length<2)return!1;for(const t of s){if(/(?:^[ \t\n\r\0\x0B-]|[ \t\n\r\0\x0B-]$)/.test(t))return!1;if(!/^[a-z0-9-]+$/i.test(t))return!1}return!0})))throw new o(this)},p=function(t){const e=t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t));if(!e.every((t=>{try{return(t=>-1!==["http","https","ftp","ftps","mailto","news","irc","irc6","ircs","gopher","nntp","feed","telnet","mms","rtsp","sms","svn","tel","fax","xmpp","webcal","urn"].indexOf(t))(new URL(t).protocol.replace(/:$/,""))}catch{return!1}})))throw new o(this)},l=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>(((t=(t=t.replace(/[#*].*$/,"")).replaceAll(/[()/.*#\s-]+/g,"")).startsWith("+")||t.startsWith("00"))&&(t=`+${t.replace(/^[+0]+/,"")}`),!!/^[+]?[0-9]+$/.test(t)&&5t.trim())).filter((t=>""!==t)).every((t=>!!/^[-]?[0-9]+(?:[eE][+-]?[0-9]+)?$/.test(t)||!!/^[-]?(?:[0-9]+)?[.][0-9]+(?:[eE][+-]?[0-9]+)?$/.test(t))))throw new o(this)},m=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>{if(!/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(t))return!1;const e=new Date(t);return!Number.isNaN(e.valueOf())})))throw new o(this)},f=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>{const e=t.match(/^([0-9]{2})\:([0-9]{2})(?:\:([0-9]{2}))?$/);if(!e)return!1;const i=parseInt(e[1]),s=parseInt(e[2]),o=e[3]?parseInt(e[3]):0;return 0<=i&&i<=23&&0<=s&&s<=59&&0<=o&&o<=59})))throw new o(this)},d=function(t){if(!t.getAll(this.field).every((t=>t instanceof File&&this.accept?.some((e=>/^\.[a-z0-9]+$/i.test(e)?t.name.toLowerCase().endsWith(e.toLowerCase()):(t=>{const e=[],i=t.match(/^(?[a-z]+)\/(?[*]|[a-z0-9.+-]+)$/i);if(i){const t=i.groups.toplevel.toLowerCase(),s=i.groups.sub.toLowerCase();for(const[o,n]of(()=>{const t=new Map;return t.set("jpg|jpeg|jpe","image/jpeg"),t.set("gif","image/gif"),t.set("png","image/png"),t.set("bmp","image/bmp"),t.set("tiff|tif","image/tiff"),t.set("webp","image/webp"),t.set("ico","image/x-icon"),t.set("heic","image/heic"),t.set("asf|asx","video/x-ms-asf"),t.set("wmv","video/x-ms-wmv"),t.set("wmx","video/x-ms-wmx"),t.set("wm","video/x-ms-wm"),t.set("avi","video/avi"),t.set("divx","video/divx"),t.set("flv","video/x-flv"),t.set("mov|qt","video/quicktime"),t.set("mpeg|mpg|mpe","video/mpeg"),t.set("mp4|m4v","video/mp4"),t.set("ogv","video/ogg"),t.set("webm","video/webm"),t.set("mkv","video/x-matroska"),t.set("3gp|3gpp","video/3gpp"),t.set("3g2|3gp2","video/3gpp2"),t.set("txt|asc|c|cc|h|srt","text/plain"),t.set("csv","text/csv"),t.set("tsv","text/tab-separated-values"),t.set("ics","text/calendar"),t.set("rtx","text/richtext"),t.set("css","text/css"),t.set("htm|html","text/html"),t.set("vtt","text/vtt"),t.set("dfxp","application/ttaf+xml"),t.set("mp3|m4a|m4b","audio/mpeg"),t.set("aac","audio/aac"),t.set("ra|ram","audio/x-realaudio"),t.set("wav","audio/wav"),t.set("ogg|oga","audio/ogg"),t.set("flac","audio/flac"),t.set("mid|midi","audio/midi"),t.set("wma","audio/x-ms-wma"),t.set("wax","audio/x-ms-wax"),t.set("mka","audio/x-matroska"),t.set("rtf","application/rtf"),t.set("js","application/javascript"),t.set("pdf","application/pdf"),t.set("swf","application/x-shockwave-flash"),t.set("class","application/java"),t.set("tar","application/x-tar"),t.set("zip","application/zip"),t.set("gz|gzip","application/x-gzip"),t.set("rar","application/rar"),t.set("7z","application/x-7z-compressed"),t.set("exe","application/x-msdownload"),t.set("psd","application/octet-stream"),t.set("xcf","application/octet-stream"),t.set("doc","application/msword"),t.set("pot|pps|ppt","application/vnd.ms-powerpoint"),t.set("wri","application/vnd.ms-write"),t.set("xla|xls|xlt|xlw","application/vnd.ms-excel"),t.set("mdb","application/vnd.ms-access"),t.set("mpp","application/vnd.ms-project"),t.set("docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"),t.set("docm","application/vnd.ms-word.document.macroEnabled.12"),t.set("dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"),t.set("dotm","application/vnd.ms-word.template.macroEnabled.12"),t.set("xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"),t.set("xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"),t.set("xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"),t.set("xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"),t.set("xltm","application/vnd.ms-excel.template.macroEnabled.12"),t.set("xlam","application/vnd.ms-excel.addin.macroEnabled.12"),t.set("pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"),t.set("pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"),t.set("ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"),t.set("ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"),t.set("potx","application/vnd.openxmlformats-officedocument.presentationml.template"),t.set("potm","application/vnd.ms-powerpoint.template.macroEnabled.12"),t.set("ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"),t.set("sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"),t.set("sldm","application/vnd.ms-powerpoint.slide.macroEnabled.12"),t.set("onetoc|onetoc2|onetmp|onepkg","application/onenote"),t.set("oxps","application/oxps"),t.set("xps","application/vnd.ms-xpsdocument"),t.set("odt","application/vnd.oasis.opendocument.text"),t.set("odp","application/vnd.oasis.opendocument.presentation"),t.set("ods","application/vnd.oasis.opendocument.spreadsheet"),t.set("odg","application/vnd.oasis.opendocument.graphics"),t.set("odc","application/vnd.oasis.opendocument.chart"),t.set("odb","application/vnd.oasis.opendocument.database"),t.set("odf","application/vnd.oasis.opendocument.formula"),t.set("wp|wpd","application/wordperfect"),t.set("key","application/vnd.apple.keynote"),t.set("numbers","application/vnd.apple.numbers"),t.set("pages","application/vnd.apple.pages"),t})())("*"===s&&n.startsWith(t+"/")||n===i[0])&&e.push(...o.split("|"))}return e})(e).some((e=>(e="."+e.trim(),t.name.toLowerCase().endsWith(e.toLowerCase())))))))))throw new o(this)},h=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>this.accept?.some((e=>t===String(e))))))throw new o(this)},u=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>{const e=0===(i=new Date(t).getDay())?7:i;var i;return this.accept?.some((t=>e===parseInt(t)))})))throw new o(this)},w=function(t){if(t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).lengtht.trim())).filter((t=>""!==t));if(parseInt(this.threshold)t.trim())).filter((t=>""!==t));let i=0;if(e.forEach((t=>{"string"==typeof t&&(i+=t.length)})),0!==i&&it.trim())).filter((t=>""!==t));let i=0;if(e.forEach((t=>{"string"==typeof t&&(i+=t.length)})),parseInt(this.threshold)t.trim())).filter((t=>""!==t)).every((t=>!(parseFloat(t)t.trim())).filter((t=>""!==t)).every((t=>!(parseFloat(this.threshold)t.trim())).filter((t=>""!==t)).every((t=>!(/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(t)&&/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(this.threshold)&&tt.trim())).filter((t=>""!==t)).every((t=>!(/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(t)&&/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(this.threshold)&&this.threshold{t instanceof File&&(i+=t.size)})),i{t instanceof File&&(i+=t.size)})),parseInt(this.threshold)t.trim())).filter((t=>""!==t)),i=parseFloat(this.base),s=parseFloat(this.interval);if(!(0{const e=(parseFloat(t)-i)%s;return"0.000000"===Math.abs(e).toFixed(6)||"0.000000"===Math.abs(e-s).toFixed(6)})))throw new o(this)},O=({ruleObj:t,options:i})=>{const{rule:s,...o}=t;return"function"==typeof e[s]&&("function"!=typeof e[s].matches||e[s].matches(o,i))},E=({ruleObj:t,formDataTree:i,options:s})=>{const{rule:o}=t;e[o].call(t,i,s)},k=[],F=t=>[...k].reduce(((t,e)=>i=>e(i,t)),t),D=function(t,e={}){const i=(this.rules??[]).filter((t=>O({ruleObj:t,options:e}))),s=F(E);if(!i.every((i=>{try{s({ruleObj:i,formDataTree:t,options:e})}catch(t){if(!(t instanceof o))throw t;if(void 0!==t.error)throw t;return!1}return!0})))throw new o(this)},M=function(t,e={}){const i=(this.rules??[]).filter((t=>O({ruleObj:t,options:e}))),s=F(E);if(!i.some((i=>{try{s({ruleObj:i,formDataTree:t,options:e})}catch(t){if(!(t instanceof o))throw t;return!1}return!0})))throw new o(this)};var L;window.swv={validators:e,validate:(t,e,i={})=>{const n=(t.rules??[]).filter((t=>O({ruleObj:t,options:i})));if(!n.length)return new Map;const a=F(E),r=new s(e),p=n.reduce(((t,e)=>{try{a({ruleObj:e,formDataTree:r,options:i})}catch(e){if(!(e instanceof o))throw e;if(void 0!==e.field&&!t.has(e.field)&&void 0!==e.error)return t.set(e.field,e)}return t}),new Map);for(const t of r.keys())p.has(t)||p.set(t,{validInputs:r.getAll(t)});return p},use:t=>{k.push(t)},...null!==(L=window.swv)&&void 0!==L?L:{}}})(); (()=>{"use strict";const e=window.wp.i18n,t=e=>Math.abs(parseInt(e,10)),a=(e,t,a)=>{const n=new CustomEvent(`wpcf7${t}`,{bubbles:!0,detail:a});"string"==typeof e&&(e=document.querySelector(e)),e.dispatchEvent(n)},n=(e,t)=>{const n=new Map([["init","init"],["validation_failed","invalid"],["acceptance_missing","unaccepted"],["spam","spam"],["aborted","aborted"],["mail_sent","sent"],["mail_failed","failed"],["submitting","submitting"],["resetting","resetting"],["validating","validating"],["payment_required","payment-required"]]);n.has(t)&&(t=n.get(t)),Array.from(n.values()).includes(t)||(t=`custom-${t=(t=t.replace(/[^0-9a-z]+/i," ").trim()).replace(/\s+/,"-")}`);const r=e.getAttribute("data-status");if(e.wpcf7.status=t,e.setAttribute("data-status",t),e.classList.add(t),r&&r!==t){e.classList.remove(r);const t={contactFormId:e.wpcf7.id,pluginVersion:e.wpcf7.pluginVersion,contactFormLocale:e.wpcf7.locale,unitTag:e.wpcf7.unitTag,containerPostId:e.wpcf7.containerPost,status:e.wpcf7.status,prevStatus:r};a(e,"statuschanged",t)}return t},r=e=>{const{root:t,namespace:a="contact-form-7/v1"}=wpcf7.api;return c.reduceRight(((e,t)=>a=>t(a,e)),(e=>{let n,r,{url:c,path:o,endpoint:s,headers:i,body:l,data:p,...d}=e;"string"==typeof s&&(n=a.replace(/^\/|\/$/g,""),r=s.replace(/^\//,""),o=r?n+"/"+r:n),"string"==typeof o&&(-1!==t.indexOf("?")&&(o=o.replace("?","&")),o=o.replace(/^\//,""),c=t+o),i={Accept:"application/json, */*;q=0.1",...i},delete i["X-WP-Nonce"],p&&(l=JSON.stringify(p),i["Content-Type"]="application/json");const f={code:"fetch_error",message:"You are probably offline."},u={code:"invalid_json",message:"The response is not a valid JSON response."};return window.fetch(c||o||window.location.href,{...d,headers:i,body:l}).then((e=>Promise.resolve(e).then((e=>{if(e.status>=200&&e.status<300)return e;throw e})).then((e=>{if(204===e.status)return null;if(e&&e.json)return e.json().catch((()=>{throw u}));throw u}))),(()=>{throw f}))}))(e)},c=[];function o(e,t={}){const{target:a,scope:r=e,...c}=t;if(void 0===e.wpcf7?.schema)return;const o={...e.wpcf7.schema};if(void 0!==a){if(!e.contains(a))return;if(!a.closest(".wpcf7-form-control-wrap[data-name]"))return;if(a.closest(".novalidate"))return}const p=r.querySelectorAll(".wpcf7-form-control-wrap"),d=Array.from(p).reduce(((e,t)=>(t.closest(".novalidate")||t.querySelectorAll(":where( input, textarea, select ):enabled").forEach((t=>{if(t.name)switch(t.type){case"button":case"image":case"reset":case"submit":break;case"checkbox":case"radio":t.checked&&e.append(t.name,t.value);break;case"select-multiple":for(const a of t.selectedOptions)e.append(t.name,a.value);break;case"file":for(const a of t.files)e.append(t.name,a);break;default:e.append(t.name,t.value)}})),e)),new FormData),f=e.getAttribute("data-status");Promise.resolve(n(e,"validating")).then((n=>{if(void 0!==swv){const n=swv.validate(o,d,t);for(const t of p){if(void 0===t.dataset.name)continue;const c=t.dataset.name;if(n.has(c)){const{error:t,validInputs:a}=n.get(c);i(e,c),void 0!==t&&s(e,c,t,{scope:r}),l(e,c,null!=a?a:[])}if(t.contains(a))break}}})).finally((()=>{n(e,f)}))}r.use=e=>{c.unshift(e)};const s=(e,t,a,n)=>{const{scope:r=e,...c}=null!=n?n:{},o=`${e.wpcf7?.unitTag}-ve-${t}`.replaceAll(/[^0-9a-z_-]+/gi,""),s=e.querySelector(`.wpcf7-form-control-wrap[data-name="${t}"] .wpcf7-form-control`);(()=>{const t=document.createElement("li");t.setAttribute("id",o),s&&s.id?t.insertAdjacentHTML("beforeend",`${a}`):t.insertAdjacentText("beforeend",a),e.wpcf7.parent.querySelector(".screen-reader-response ul").appendChild(t)})(),r.querySelectorAll(`.wpcf7-form-control-wrap[data-name="${t}"]`).forEach((e=>{const t=document.createElement("span");t.classList.add("wpcf7-not-valid-tip"),t.setAttribute("aria-hidden","true"),t.insertAdjacentText("beforeend",a),e.appendChild(t),e.querySelectorAll("[aria-invalid]").forEach((e=>{e.setAttribute("aria-invalid","true")})),e.querySelectorAll(".wpcf7-form-control").forEach((e=>{e.classList.add("wpcf7-not-valid"),e.setAttribute("aria-describedby",o),"function"==typeof e.setCustomValidity&&e.setCustomValidity(a),e.closest(".use-floating-validation-tip")&&(e.addEventListener("focus",(e=>{t.setAttribute("style","display: none")})),t.addEventListener("click",(e=>{t.setAttribute("style","display: none")})))}))}))},i=(e,t)=>{const a=`${e.wpcf7?.unitTag}-ve-${t}`.replaceAll(/[^0-9a-z_-]+/gi,"");e.wpcf7.parent.querySelector(`.screen-reader-response ul li#${a}`)?.remove(),e.querySelectorAll(`.wpcf7-form-control-wrap[data-name="${t}"]`).forEach((e=>{e.querySelector(".wpcf7-not-valid-tip")?.remove(),e.querySelectorAll("[aria-invalid]").forEach((e=>{e.setAttribute("aria-invalid","false")})),e.querySelectorAll(".wpcf7-form-control").forEach((e=>{e.removeAttribute("aria-describedby"),e.classList.remove("wpcf7-not-valid"),"function"==typeof e.setCustomValidity&&e.setCustomValidity("")}))}))},l=(e,t,a)=>{e.querySelectorAll(`[data-reflection-of="${t}"]`).forEach((e=>{if("output"===e.tagName.toLowerCase()){const t=e;0===a.length&&a.push(t.dataset.default),a.slice(0,1).forEach((e=>{e instanceof File&&(e=e.name),t.textContent=e}))}else e.querySelectorAll("output").forEach((e=>{e.hasAttribute("data-default")?0===a.length?e.removeAttribute("hidden"):e.setAttribute("hidden","hidden"):e.remove()})),a.forEach((a=>{a instanceof File&&(a=a.name);const n=document.createElement("output");n.setAttribute("name",t),n.textContent=a,e.appendChild(n)}))}))};function p(e,t={}){if(wpcf7.blocked)return d(e),void n(e,"submitting");const c=new FormData(e);t.submitter&&t.submitter.name&&c.append(t.submitter.name,t.submitter.value);const o={contactFormId:e.wpcf7.id,pluginVersion:e.wpcf7.pluginVersion,contactFormLocale:e.wpcf7.locale,unitTag:e.wpcf7.unitTag,containerPostId:e.wpcf7.containerPost,status:e.wpcf7.status,inputs:Array.from(c,(e=>{const t=e[0],a=e[1];return!t.match(/^_/)&&{name:t,value:a}})).filter((e=>!1!==e)),formData:c};r({endpoint:`contact-forms/${e.wpcf7.id}/feedback`,method:"POST",body:c,wpcf7:{endpoint:"feedback",form:e,detail:o}}).then((t=>{const r=n(e,t.status);return o.status=t.status,o.apiResponse=t,["invalid","unaccepted","spam","aborted"].includes(r)?a(e,r,o):["sent","failed"].includes(r)&&a(e,`mail${r}`,o),a(e,"submit",o),t})).then((t=>{t.posted_data_hash&&(e.querySelector('input[name="_wpcf7_posted_data_hash"]').value=t.posted_data_hash),"mail_sent"===t.status&&(e.reset(),e.wpcf7.resetOnMailSent=!0),t.invalid_fields&&t.invalid_fields.forEach((t=>{s(e,t.field,t.message)})),e.wpcf7.parent.querySelector('.screen-reader-response [role="status"]').insertAdjacentText("beforeend",t.message),e.querySelectorAll(".wpcf7-response-output").forEach((e=>{e.innerText=t.message}))})).catch((e=>console.error(e)))}r.use(((e,t)=>{if(e.wpcf7&&"feedback"===e.wpcf7.endpoint){const{form:t,detail:r}=e.wpcf7;d(t),a(t,"beforesubmit",r),n(t,"submitting")}return t(e)}));const d=e=>{e.querySelectorAll(".wpcf7-form-control-wrap").forEach((t=>{t.dataset.name&&i(e,t.dataset.name)})),e.wpcf7.parent.querySelector('.screen-reader-response [role="status"]').innerText="",e.querySelectorAll(".wpcf7-response-output").forEach((e=>{e.innerText=""}))};function f(e){const t=new FormData(e),c={contactFormId:e.wpcf7.id,pluginVersion:e.wpcf7.pluginVersion,contactFormLocale:e.wpcf7.locale,unitTag:e.wpcf7.unitTag,containerPostId:e.wpcf7.containerPost,status:e.wpcf7.status,inputs:Array.from(t,(e=>{const t=e[0],a=e[1];return!t.match(/^_/)&&{name:t,value:a}})).filter((e=>!1!==e)),formData:t};r({endpoint:`contact-forms/${e.wpcf7.id}/refill`,method:"GET",wpcf7:{endpoint:"refill",form:e,detail:c}}).then((t=>{e.wpcf7.resetOnMailSent?(delete e.wpcf7.resetOnMailSent,n(e,"mail_sent")):n(e,"init"),c.apiResponse=t,a(e,"reset",c)})).catch((e=>console.error(e)))}r.use(((e,t)=>{if(e.wpcf7&&"refill"===e.wpcf7.endpoint){const{form:t,detail:a}=e.wpcf7;d(t),n(t,"resetting")}return t(e)}));const u=(e,t)=>{for(const a in t){const n=t[a];e.querySelectorAll(`input[name="${a}"]`).forEach((e=>{e.value=""})),e.querySelectorAll(`img.wpcf7-captcha-${a.replaceAll(":","")}`).forEach((e=>{e.setAttribute("src",n)}));const r=/([0-9]+)\.(png|gif|jpeg)$/.exec(n);r&&e.querySelectorAll(`input[name="_wpcf7_captcha_challenge_${a}"]`).forEach((e=>{e.value=r[1]}))}},m=(e,t)=>{for(const a in t){const n=t[a][0],r=t[a][1];e.querySelectorAll(`.wpcf7-form-control-wrap[data-name="${a}"]`).forEach((e=>{e.querySelector(`input[name="${a}"]`).value="",e.querySelector(".wpcf7-quiz-label").textContent=n,e.querySelector(`input[name="_wpcf7_quiz_answer_${a}"]`).value=r}))}};function w(e){const a=new FormData(e);e.wpcf7={id:t(a.get("_wpcf7")),status:e.getAttribute("data-status"),pluginVersion:a.get("_wpcf7_version"),locale:a.get("_wpcf7_locale"),unitTag:a.get("_wpcf7_unit_tag"),containerPost:t(a.get("_wpcf7_container_post")),parent:e.closest(".wpcf7"),get schema(){return wpcf7.schemas.get(this.id)}},wpcf7.schemas.set(e.wpcf7.id,void 0),e.querySelectorAll(".has-spinner").forEach((e=>{e.insertAdjacentHTML("afterend",'')})),(e=>{e.querySelectorAll(".wpcf7-exclusive-checkbox").forEach((t=>{t.addEventListener("change",(t=>{const a=t.target.getAttribute("name");e.querySelectorAll(`input[type="checkbox"][name="${a}"]`).forEach((e=>{e!==t.target&&(e.checked=!1)}))}))}))})(e),(e=>{e.querySelectorAll(".has-free-text").forEach((t=>{const a=t.querySelector("input.wpcf7-free-text"),n=t.querySelector('input[type="checkbox"], input[type="radio"]');a.disabled=!n.checked,e.addEventListener("change",(e=>{a.disabled=!n.checked,e.target===n&&n.checked&&a.focus()}))}))})(e),(e=>{e.querySelectorAll(".wpcf7-validates-as-url").forEach((e=>{e.addEventListener("change",(t=>{let a=e.value.trim();a&&!a.match(/^[a-z][a-z0-9.+-]*:/i)&&-1!==a.indexOf(".")&&(a=a.replace(/^\/+/,""),a="http://"+a),e.value=a}))}))})(e),(e=>{if(!e.querySelector(".wpcf7-acceptance")||e.classList.contains("wpcf7-acceptance-as-validation"))return;const t=()=>{let t=!0;e.querySelectorAll(".wpcf7-acceptance").forEach((e=>{if(!t||e.classList.contains("optional"))return;const a=e.querySelector('input[type="checkbox"]');(e.classList.contains("invert")&&a.checked||!e.classList.contains("invert")&&!a.checked)&&(t=!1)})),e.querySelectorAll(".wpcf7-submit").forEach((e=>{e.disabled=!t}))};t(),e.addEventListener("change",(e=>{t()})),e.addEventListener("wpcf7reset",(e=>{t()}))})(e),(e=>{const a=(e,a)=>{const n=t(e.getAttribute("data-starting-value")),r=t(e.getAttribute("data-maximum-value")),c=t(e.getAttribute("data-minimum-value")),o=e.classList.contains("down")?n-a.value.trim().length:a.value.trim().length;e.setAttribute("data-current-value",o),e.innerText=o,r&&r{t={init:!1,...t},e.querySelectorAll(".wpcf7-character-count").forEach((n=>{const r=n.getAttribute("data-target-name"),c=e.querySelector(`[name="${r}"]`);c&&(c.value=c.defaultValue,a(n,c),t.init&&c.addEventListener("keyup",(e=>{a(n,c)})))}))};n({init:!0}),e.addEventListener("wpcf7reset",(e=>{n()}))})(e),window.addEventListener("load",(t=>{wpcf7.cached&&e.reset()})),e.addEventListener("reset",(t=>{wpcf7.reset(e)})),e.addEventListener("submit",(t=>{wpcf7.submit(e,{submitter:t.submitter}),t.preventDefault()})),e.addEventListener("wpcf7submit",(t=>{t.detail.apiResponse.captcha&&u(e,t.detail.apiResponse.captcha),t.detail.apiResponse.quiz&&m(e,t.detail.apiResponse.quiz)})),e.addEventListener("wpcf7reset",(t=>{t.detail.apiResponse.captcha&&u(e,t.detail.apiResponse.captcha),t.detail.apiResponse.quiz&&m(e,t.detail.apiResponse.quiz)})),e.addEventListener("change",(t=>{t.target.closest(".wpcf7-form-control")&&wpcf7.validate(e,{target:t.target})})),e.addEventListener("wpcf7statuschanged",(t=>{const a=t.detail.status;e.querySelectorAll(".active-on-any").forEach((e=>{e.removeAttribute("inert"),e.classList.remove("active-on-any")})),e.querySelectorAll(`.inert-on-${a}`).forEach((e=>{e.setAttribute("inert","inert"),e.classList.add("active-on-any")}))}))}document.addEventListener("DOMContentLoaded",(t=>{var a;if("undefined"!=typeof wpcf7)if(void 0!==wpcf7.api)if("function"==typeof window.fetch)if("function"==typeof window.FormData)if("function"==typeof NodeList.prototype.forEach)if("function"==typeof String.prototype.replaceAll){wpcf7={init:w,submit:p,reset:f,validate:o,schemas:new Map,...null!==(a=wpcf7)&&void 0!==a?a:{}},document.querySelectorAll("form .wpcf7[data-wpcf7-id]").forEach((t=>{const a=document.createElement("p");a.setAttribute("class","wpcf7-form-in-wrong-place");const n=document.createElement("strong");n.append((0,e.__)("Error:","contact-form-7"));const r=(0,e.__)("This contact form is placed in the wrong place.","contact-form-7");a.append(n," ",r),t.replaceWith(a)})),document.querySelectorAll(".wpcf7 > form").forEach((e=>{wpcf7.init(e),e.closest(".wpcf7").classList.replace("no-js","js")}));for(const e of wpcf7.schemas.keys())r({endpoint:`contact-forms/${e}/feedback/schema`,method:"GET"}).then((t=>{wpcf7.schemas.set(e,t)}))}else console.error("Your browser does not support String.replaceAll().");else console.error("Your browser does not support NodeList.forEach().");else console.error("Your browser does not support window.FormData().");else console.error("Your browser does not support window.fetch().");else console.error("wpcf7.api is not defined.");else console.error("wpcf7 is not defined.")}))})(); !function(){var e,t=document.createElement("link");if(t.relList&&t.relList.supports&&t.relList.supports("prefetch")){var r=navigator.connection||{};if(!(r.saveData||/2g/.test(r.effectiveType))){var a=new Set;document.addEventListener("mouseover",function t(r){var a=r.target.closest("a");a&&a.href&&(e=setTimeout(function(){n(a.href)},50))},{capture:!0,passive:!0}),document.addEventListener("mouseout",function t(r){var a=r.target.closest("a");a&&a.href&&clearTimeout(e)},{capture:!0,passive:!0}),document.addEventListener("touchstart",function e(t){var r=t.target.closest("a");r&&r.href&&n(r.href)},{capture:!0,passive:!0})}}function n(e){if(!(a.has(e)||e.includes("?"))&&e!==window.location.href){var t=document.createElement("link");t.rel="prefetch",t.href=e,document.head.appendChild(t),a.add(e)}}}(); var Hammer,cff_init,hashRegex,tagRegex,cff_js_exists=void 0!==cff_js_exists;function cffAddMasonry(t){var e,i=jQuery.Event("cffbeforemasonry");i.$self=t,jQuery(window).trigger(i),"function"==typeof t.masonry&&(e=!1,800<(i=jQuery(window).width())?t.hasClass("masonry-1-desktop")||(e=!0,t.addClass("cff-masonry cff-masonry-js").removeClass("cff-disable-masonry")):400'+t+""}function cffReplaceTags(t){t=jQuery.trim(t);return''+t+""}function cffEncodeHTML(t){if(void 0===t)return"";t=t.replace(/(>)/g,">");return t=(t=(t=t.replace(/(<)/g,"<")).replace(/(<br\/>)/g,"
")).replace(/(<br>)/g,"
")}function cffLoadCommentReplies(e){var t="",i="",n=jQuery("#cff_"+e.parent().attr("data-id")).closest("#cff");n.hasClass("cff-group")&&(t="&usegrouptoken=true"),"true"==n.attr("data-own-token")&&(i="&useowntoken=true");var a=(void 0!==e.closest(".cff-item").attr("data-page-id")?e.closest(".cff-item"):jQuery(".cff-lightbox-wrapper")).attr("data-page-id"),o=cffGetShortcodeToken(n),s=e.parent(),r=s.siblings(".cff-comment-replies-box");cffsiteurl,s.attr("data-id");s.hasClass("cff-hide")?(r.hide(),s.removeClass("cff-hide")):(r.show(),s.addClass("cff-hide"),r.hasClass("cff-empty")&&((i=s.find("a")).append('
'),s.find(".cff-loader").css("background-color",i.css("color")),a={action:"cff_comments",id:s.attr("data-id"),pageid:a},n.hasClass("cff-group")&&(a.usegrouptoken=!0),"true"==n.attr("data-own-token")&&(a.useowntoken=!0),""!==o&&(o=o.split("="),a.at=o[1]),cffAjax(a,function(t){s.find(".cff-loader").remove();var t=JSON.parse(t),o="";void 0!==t.comments&&jQuery.each(t.comments.data,function(t,e){var i=void 0===window.cff||void 0===window.cff.feeds||window.cff.feeds[0].settings.consentGiven,n=!0;cff_comment_from_id=void 0!==e.from?e.from.id:(n=!1,""),o+='
'+e.from.name+"":o+=''+e.from.name+"");var a=cffEncodeHTML(e.message);o+=a,0'+e.like_count+""),o+="

",void 0!==e.attachment&&(o+=i?''+e.attachment.title+'':''),o+="
",n&&(o+=i?'
Avatar
':'
'),o+="
"}),r.html(o).removeClass("cff-empty"),!e.closest("#cff").hasClass("cff-masonry-js")||e.closest("#cff").hasClass("cff-masonry-css")||e.closest("#cff").hasClass("cff-opaque-comments")||cffAddMasonry(e.closest("#cff"))})))}function cffLightbox(){function x(){return document.createElement("video").canPlayType}(function(){var w=jQuery,e=(t.prototype.albumLabel=function(t,e){return t+" / "+e},t);function t(){this.fadeDuration=300,this.fitImagesInViewport=!0,this.resizeDuration=400,this.positionFromTop=50,this.showImageNumberLabel=!0,this.alwaysShowNavOnTouchDevices=!1,this.wrapAround=!1}var i=function(){function t(t){this.options=t,this.album=[],this.currentImageIndex=void 0,this.init()}t.prototype.init=function(){this.enable(),this.build()},t.prototype.enable=function(){var e=this;w("body").on("click","a[data-cff-lightbox], area[data-cff-lightbox]",function(t){return window.cffCurrentLightboxPostID=w(t.currentTarget).attr("data-id"),e.start(w(t.currentTarget)),!1})},t.prototype.build=function(){var t="";w(".cff.cff-no-svgs").length&&(t="cff-no-svgs");var e,n=this;w("
").appendTo(w("body")),jQuery("#cff").attr("data-cff-theme")&&"default_theme"!==jQuery("#cff").attr("data-cff-theme")&&(e=jQuery("#cff").attr("data-cff-theme"),jQuery("#cff-lightbox-wrapper").addClass("cff-theme cff-"+e)),"function"!=typeof jQuery("#cff-lightbox-wrapper").find(".cff-lightbox-dataContainer").hammer&&(t={Manager:{prototype:{}}},e=function(i,t){var n;i.fn.hammer=function(t){return this.each(function(){})},t.Manager.prototype.emit=(n=t.Manager.prototype.emit,function(t,e){n.call(this,t,e),i(this.element).trigger({type:t,gesture:e})})},"function"==typeof define&&define.amd?define(["jquery","hammerjs"],e):"object"==typeof exports?e(require("jquery"),require("hammerjs")):e(jQuery,t)),this.$lightbox=w("#cff-lightbox-wrapper"),this.$overlay=w("#cff-lightbox-overlay"),this.$outerContainer=this.$lightbox.find(".cff-lightbox-outerContainer"),this.$container=this.$lightbox.find(".cff-lightbox-container"),this.containerTopPadding=parseInt(this.$container.css("padding-top"),10),this.containerRightPadding=parseInt(this.$container.css("padding-right"),10),this.containerBottomPadding=parseInt(this.$container.css("padding-bottom"),10),this.containerLeftPadding=parseInt(this.$container.css("padding-left"),10),this.$overlay.hide().on("click",function(){return n.end(),x()&&w("#cff-lightbox-wrapper video.cff-lightbox-video").length&&w("#cff-lightbox-wrapper video.cff-lightbox-video")[0].pause(),w("#cff-lightbox-wrapper iframe").attr("src",""),w("body").length&&w("body").removeClass("cff_no_scroll"),!1}),this.$lightbox.hide().on("click",function(t){return n.album.length=0,"cff-lightbox-wrapper"===w(t.target).attr("id")&&(n.end(),x()&&w("#cff-lightbox-wrapper video.cff-lightbox-video").length&&w("#cff-lightbox-wrapper video.cff-lightbox-video")[0].pause(),w("#cff-lightbox-wrapper iframe").attr("src",""),w("body").length&&w("body").removeClass("cff_no_scroll")),!1}),this.$outerContainer.on("click",function(t){return"cff-lightbox-wrapper"===w(t.target).attr("id")&&(n.album.length=0,n.end(),x()&&w("#cff-lightbox-wrapper video.cff-lightbox-video").length&&w("#cff-lightbox-wrapper video.cff-lightbox-video")[0].pause(),w("#cff-lightbox-wrapper iframe").attr("src","")),!1}),this.$lightbox.find(".cff-lightbox-prev").on("click",function(){return 0===n.currentImageIndex?n.changeImage(n.album.length-1):n.changeImage(n.currentImageIndex-1),x()&&w("#cff-lightbox-wrapper video.cff-lightbox-video").length&&w("#cff-lightbox-wrapper video.cff-lightbox-video")[0].pause(),w("#cff-lightbox-wrapper iframe").attr("src",""),!1}),this.$lightbox.find(".cff-lightbox-next").on("click",function(){return n.currentImageIndex===n.album.length-1?n.changeImage(0):n.changeImage(n.currentImageIndex+1),x()&&w("#cff-lightbox-wrapper video.cff-lightbox-video").length&&w("#cff-lightbox-wrapper video.cff-lightbox-video")[0].pause(),w("#cff-lightbox-wrapper iframe").attr("src",""),!1}),this.$lightbox.find(".cff-lightbox-outerContainer").hammer().on("swipeleft",function(){return n.currentImageIndex===n.album.length-1?n.changeImage(0):n.changeImage(n.currentImageIndex+1),x()&&w("#cff-lightbox-wrapper video.cff-lightbox-video").length&&w("#cff-lightbox-wrapper video.cff-lightbox-video")[0].pause(),w("#cff-lightbox-wrapper iframe").attr("src",""),!1}),this.$lightbox.find(".cff-lightbox-outerContainer").hammer().on("swiperight",function(){return 0===n.currentImageIndex?n.changeImage(n.album.length-1):n.changeImage(n.currentImageIndex-1),x()&&w("#cff-lightbox-wrapper video.cff-lightbox-video").length&&w("#cff-lightbox-wrapper video.cff-lightbox-video")[0].pause(),w("#cff-lightbox-wrapper iframe").attr("src",""),!1}),w(".cff-lightbox-thumbs").on("click",".cff-lightbox-attachment",function(){var t=w(this),e=t.find("img"),i=t.attr("data-caption");return""!=i&&"undefined"!=i||(i=t.attr("orig-caption")),n.changeImage(parseInt(t.attr("data-cff-lightbox-order")),t.attr("href"),e.attr("width"),e.attr("height"),t.attr("data-facebook"),i),!1}),this.$lightbox.find(".cff-lightbox-loader, .cff-lightbox-close").on("click",function(){return n.album.length=0,n.end(),x()&&w("#cff-lightbox-wrapper video.cff-lightbox-video").length&&w("#cff-lightbox-wrapper video.cff-lightbox-video")[0].pause(),w("#cff-lightbox-wrapper iframe").attr("src",""),w("body").length&&w("body").removeClass("cff_no_scroll"),!1})},t.prototype.start=function(i){var r=this,t=w(window);t.on("resize",w.proxy(this.sizeOverlay,this)),w("body").length&&w("body").addClass("cff_no_scroll"),w("select, object, embed").css({visibility:"hidden"}),this.sizeOverlay(),0==this.album.length&&(this.album=[]);var n=0;function e(i){o=(i.closest(".cff-posts-wrap").hasClass("cff_owl-carousel")?i.closest(".cff-posts-wrap .cff_owl-item"):i.closest(".cff-posts-wrap")).children("div").attr("class"),linkParentPostID="",void 0!==o&&(linkParentPostID=i.closest("."+o.split(" ")[0]).attr("id"),linkParentPostID="undefined"!==linkParentPostID?linkParentPostID.replace("cff_",""):linkParentPostID);var t,e,n,a,o,s=!1;w.each(r.album,function(t,e){e.link==i.attr("href")&&e.postid==linkParentPostID&&(s=!0)}),!w(".cff-duplicate-video-thumbnails").length&&1==s||(t=parseInt(i.closest(".cff").attr("data-cff-index")-1),e=i.attr("data-video"),n=i.attr("data-iframe"),a=i.attr("href"),void(o=0)===window.cff||void 0===window.cff.feeds||window.cff.feeds[0].settings.consentGiven||(""!==n&&(n="link"),""!==e&&(e="link"),i.closest(".cff-album-item").length&&void 0!==i.closest(".cff-album-item").attr("data-count")&&(o=i.closest(".cff-album-item").attr("data-count"))),r.album.push({link:a,title:i.attr("data-title")||i.attr("title"),postid:i.attr("data-id"),showthumbs:i.attr("data-thumbs"),facebookurl:i.attr("data-url"),video:e,iframe:n,type:i.attr("data-type"),cffgroupalbums:i.attr("data-cffgroupalbums"),isthumbnail:i.attr("data-cff-isthumbnail"),pagename:i.parent().attr("data-cff-page-name"),posttime:i.parent().attr("data-cff-post-time"),lbcomments:i.attr("data-lb-comments"),feedIndex:t,count:o}))}var a,o=i.attr("data-cff-lightbox");if(w(".cff-lightbox-wrapper").attr("data-page-id",i.parents(".cff-item").attr("data-page-id")),o){a=w(i.prop("tagName")+'[data-cff-lightbox="'+o+'"]');for(var s=0;so||p.height>i)&&(p.width/o>p.height/i?(e=o,t=parseInt(p.height/(p.width/e),10)):(t=i,e=parseInt(p.width/(p.height/t),10)),m.width(e),m.height(t))),d.sizeContainer(m.width(),m.height())},p.src=this.album[imageNumber].link,this.currentImageIndex=imageNumber},t.prototype.sizeOverlay=function(){this.$overlay.width(w(window).width()).height(w(document).height())},t.prototype.sizeContainer=function(t,e){var i=this,n=this.$outerContainer.outerWidth(),a=this.$outerContainer.outerHeight(),o=t+this.containerLeftPadding+this.containerRightPadding,s=e+this.containerTopPadding+this.containerBottomPadding;function r(){i.$lightbox.find(".cff-lightbox-dataContainer").width(o),i.$lightbox.find(".cff-lightbox-prevLink").height(s),i.$lightbox.find(".cff-lightbox-nextLink").height(s),i.showImage()}n!==o||a!==s?this.$outerContainer.animate({width:o,height:s},this.options.resizeDuration,"swing",function(){r()}):r()},t.prototype.showImage=function(){this.$lightbox.find(".cff-lightbox-loader").hide(),this.$lightbox.find(".cff-lightbox-image").fadeIn("slow"),this.updateNav(),this.updateDetails(),this.preloadNeighboringImages(),this.enableKeyboardNav()},t.prototype.updateNav=function(){var t=!1;try{document.createEvent("TouchEvent"),t=!!this.options.alwaysShowNavOnTouchDevices}catch(t){}this.$lightbox.find(".cff-lightbox-nav").show(),1');var a,o,e,i,n,s,t="true"==this.album[this.currentImageIndex].lbcomments&&"false"!=w("#cff_"+this.album[this.currentImageIndex].postid+" .cff-lightbox-link").attr("data-lb-comments");w(window).width()<=640&&(t=!1),t?(t=this.album[this.currentImageIndex].postid.split("_")[0],a=this.album[this.currentImageIndex].pagename,o=this.album[this.currentImageIndex].posttime,e=w(".cff-lightbox-container .cff-lightbox-sidebar"),i=w(".cff-lightbox-thumbs-holder"),v=w("#cff_"+this.album[this.currentImageIndex].postid).attr("data-cff-from"),w(".cff-lightbox-wrapper").addClass("cff-enable-lb-comments"),w(".cff-lightbox-dataContainer").css("width",w(".cff-lightbox-dataContainer").innerWidth()+300),e.css("display","block"),m="",m=(void 0===window.cff||void 0===window.cff.feeds||window.cff.feeds[0].settings.consentGiven)&&void 0!==v?(r=v!=t?w("#cff_"+this.album[this.currentImageIndex].postid).find(".cff-author-img").find(".cff-feed-image").attr("src"):"https://graph.facebook.com/"+v+"/picture?type=square","

"+o+"

"+a+"
"):"

"+o+"

",w(".cff-lightbox-dataContainer .cff-lightbox-close").remove(),e.html("
"+m+"

"+w(".cff-lightbox-caption-text").html()+"

"+w("#cff_"+this.album[this.currentImageIndex].postid+" .cff-comments-box")[0].outerHTML),this.$lightbox.find(".cff-lightbox-close").on("click",function(){return c.end(),c.album.length=0,x()&&w("#cff-lightbox-wrapper video.cff-lightbox-video").length&&w("#cff-lightbox-wrapper video.cff-lightbox-video")[0].pause(),w("#cff-lightbox-wrapper iframe").attr("src",""),w("body").length&&w("body").removeClass("cff_no_scroll"),!1}),setTimeout(function(){1')}),e.find(".cff-comment-replies a").on("click",function(){cffLoadCommentReplies(w(this))}),e.find(".cff-show-more-comments a").attr("href",e.find(".cff-comment-on-facebook a").attr("href"))):(w(".cff-lightbox-wrapper .cff-lightbox-sidebar").html(""),w(".cff-lightbox-wrapper").removeClass("cff-enable-lb-comments")),w("#cff-lightbox-wrapper").removeClass("cff-has-iframe cff-fb-player cff-has-thumbs"),void 0!==this.album[this.currentImageIndex].iframe&&this.album[this.currentImageIndex].iframe.length&&"link"!==this.album[this.currentImageIndex].iframe&&(n=this.album[this.currentImageIndex].iframe,w("#cff-lightbox-wrapper").addClass("cff-has-iframe"),-1!=n.indexOf("https://www.facebook.com/v2.3/plugins/video.php?")&&w("#cff-lightbox-wrapper").addClass("cff-fb-player"),s=-1',0'+d+"
").addClass("cff-animate"),w(".cff-lightbox-wrapper").addClass("cff-has-thumbs"),jQuery(".cff-lightbox-thumbs-holder a").imgLiquid({fill:!0,useBackgroundSize:!0}),w(".cff-loader").hide(),w(".cff-lightbox-thumbs-holder").css("min-height",0)):("undefined"!=typeof cffsiteurl&&""!=cffsiteurl||(cffsiteurl=window.location.host+"/wp-content/plugins"),r=w("#cff_"+l).closest(".cff"),g=w("#cff_"+l).attr("data-page-id"),m=cffGetShortcodeToken(r),p="","true"==r.attr("data-own-token")&&(p="&useowntoken=true"),v=cffsiteurl+"/custom-facebook-feed-pro/thumbs.php?id="+l+"&pageid="+g+p+m,h=[],u&&(v+="&albumsonly=true",void 0!==window.cff&&void 0!==window.cff.feeds&&!window.cff.feeds[0].settings.consentGiven||w(".cff-lightbox-thumbs-holder").css("min-height",45).after('
')),(p=this.album[this.currentImageIndex].cffgroupalbums)&&(v=v+"&usegrouptoken="+p),g={action:"cff_thumbs",id:l,pageid:g},""!==m&&(m=m.split("="),g.at=m[1]),"true"==r.attr("data-own-token")&&(g.useowntoken=!0),p&&(g.usegrouptoken=p),u&&(g.albumsonly=!0),w(".cff-gdpr-more-link").remove(),window.cff.feeds[this.album[this.currentImageIndex].feedIndex].settings.consentGiven?(u&&(jQuery(".cff-lightbox-container").addClass("cff-album-loading"),jQuery(".cff-lightbox-prev, .cff-lightbox-next").hide()),cffAjax(g,function(t){t&&(t=JSON.parse(t),u?w.each(t.data,function(t,e){var i="";e.name&&(i=e.name),i=(i=cffLinkify(i)).replace(hashRegex,cffReplaceHashtags),i=String(i).replace(/& /g,"& ").replace(//g,">").replace(/"/g,""").replace(/\n/g,"
"),f=String(f).replace(/& /g,"& ").replace(//g,">").replace(/"/g,""").replace(/\n/g,"
");var n,a=parseInt(c.currentImageIndex)+parseInt(t),o=e.source,s=e.width,r=e.height;void 0!==e.images[0]&&(o=e.images[0].source,s=e.images[0].width,r=e.images[0].height),n=void 0!==e.images[e.images.length-2]?e.images[e.images.length-2].source:o,d+='',h.push([o,s,r,"https://facebook.com/"+e.id,i,f,void 0,void 0,n]),0/g,">").replace(/"/g,""").replace(/\n/g,"
");var n=parseInt(c.currentImageIndex)+parseInt(t);d+='',h.push([e.media.image.src,e.media.image.width,e.media.image.height,e.url,i,f,a,o]),0'+d+"
").addClass("cff-animate"),w(".cff-lightbox-wrapper").addClass("cff-has-thumbs")),jQuery(".cff-lightbox-thumbs-holder .cff-lightbox-attachment").imgLiquid({fill:!0,useBackgroundSize:!0}),w(".cff-loader").hide(),w(".cff-lightbox-thumbs-holder").css("min-height",0),y[l]=h,u&&(jQuery(".cff-lightbox-container").removeClass("cff-album-loading"),jQuery(".cff-lightbox-prev, .cff-lightbox-next").show()))})):0
+'+this.album[this.currentImageIndex].count+''),w(".cff-gdpr-more-link").imgLiquid({fill:!0,useBackgroundSize:!0}),setTimeout(function(){w(".cff-gdpr-more-link span").css({"margin-top":"-"+w(".cff-gdpr-more-link span").height()/2+"px","margin-right":"-"+w(".cff-gdpr-more-link span").width()/2+"px",display:"block"})},200)))):w(".cff-lightbox-thumbs").hide(),w(".cff-lightbox-attachment").removeClass("cff-selected"),w(".cff-lightbox-attachment[href='"+w(".cff-lightbox-image").attr("src")+"']").addClass("cff-selected"),this.$lightbox.find(".cff-lightbox-caption").fadeIn("fast"),void 0!==this.album[this.currentImageIndex].title&&""!==this.album[this.currentImageIndex].title?(f=(f=this.album[this.currentImageIndex].title).replace(hashRegex,cffReplaceHashtags),f=String(f).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"'),g=(p=this.$lightbox.find(".cff-lightbox-caption")).find(".cff-lightbox-caption-text"),this.album[this.currentImageIndex].link==w(".cff-lightbox-image").attr("src")&&g.html(f.includes("")?f:cffLinkify(f))," "==g.text()||""==g.text()?p.addClass("cff-no-caption"):p.removeClass("cff-no-caption")):(!u&&void 0!==this.album[this.currentImageIndex].title||this.$lightbox.find(".cff-lightbox-caption-text").html(""),this.$lightbox.find(".cff-lightbox-caption .cff-lightbox-caption-text").text().length<1&&this.$lightbox.find(".cff-lightbox-caption").addClass("cff-no-caption").find(".cff-lightbox-caption-text").html("")),this.$lightbox.find(".cff-lightbox-facebook, .cff-lightbox-caption-text a, .cff-lightbox-sidebar a:not(.cff-comment-replies-a), .cff_gdpr_notice, .cff-gdpr-more-link").off("click").on("click",function(t){window.open(w(this).attr("href"),"_blank")}),1this.currentImageIndex+1&&((new Image).src=this.album[this.currentImageIndex+1].link),0\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",t=a.console&&(a.console.warn||a.console.log);return t&&t.call(a.console,n,e),i.apply(this,arguments)}}function e(t,e,i){var n=e.prototype,e=t.prototype=Object.create(n);e.constructor=t,e._super=n,i&&it(e,i)}function n(t,e){return function(){return t.apply(e,arguments)}}function f(t,e){return typeof t==Z?t.apply(e&&e[0]||c,e):t}function l(t,e){return t===c?e:t}function d(e,t,i){s(p(t),function(t){e.addEventListener(t,i,!1)})}function u(e,t,i){s(p(t),function(t){e.removeEventListener(t,i,!1)})}function h(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function m(t,e){return-1e[i]}):n.sort()),n}function y(t,e){for(var i,n=e[0].toUpperCase()+e.slice(1),a=0;att(a.y)?a.x:a.y,e.scale=s?function(t,e){return z(e[0],e[1],_t)/z(t[0],t[1],_t)}(s.pointers,n):1,e.rotation=s?function(t,e){return E(e[1],e[0],_t)+E(t[1],t[0],_t)}(s.pointers,n):0,e.maxPointers=!i.prevInput||e.pointers.length>i.prevInput.maxPointers?e.pointers.length:i.prevInput.maxPointers,function(t,e){var i,n,a,o,s,r=t.lastInterval||e,f=e.timeStamp-r.timeStamp;e.eventType!=mt&&(dttt(s.y)?s.x:s.y,o=A(a,o),t.lastInterval=e):(s=r.velocity,i=r.velocityX,n=r.velocityY,o=r.direction),e.velocity=s,e.velocityX=i,e.velocityY=n,e.direction=o}(i,e),t=t.element,h(e.srcEvent.target,t)&&(t=e.srcEvent.target),e.target=t}(t,i),t.emit("hammer.input",i),t.recognize(i),t.session.prevInput=i}function k(t){for(var e=[],i=0;i=tt(e)?t<0?gt:vt:e<0?bt:yt}function z(t,e,i){var n=e[(i=i||kt)[0]]-t[i[0]],i=e[i[1]]-t[i[1]];return Math.sqrt(n*n+i*i)}function E(t,e,i){var n=e[(i=i||kt)[0]]-t[i[0]],i=e[i[1]]-t[i[1]];return 180*Math.atan2(i,n)/Math.PI}function j(){this.evEl=At,this.evWin=zt,this.pressed=!1,x.apply(this,arguments)}function T(){this.evEl=Tt,this.evWin=Ft,x.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function F(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,x.apply(this,arguments)}function D(){this.evTarget=St,this.targetIds={},x.apply(this,arguments)}function B(){x.apply(this,arguments);var t=n(this.handler,this);this.touch=new D(this.manager,t),this.mouse=new j(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function S(t){var e,i,t=t.changedPointers[0];t.identifier===this.primaryTouch&&(e={x:t.clientX,y:t.clientY},this.lastTouches.push(e),i=this.lastTouches,setTimeout(function(){var t=i.indexOf(e);-1e.threshold&&a&e.direction},attrTest:function(t){return q.prototype.attrTest.call(this,t)&&(2&this.state||!(2&this.state)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=R(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),e(N,q,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[qt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||2&this.state)},emit:function(t){var e;1!==t.scale&&(e=t.scale<1?"in":"out",t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),e(W,Q,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(t){var e=this.options,i=t.pointers.length===e.pointers,n=t.distancee.time;if(this._input=t,!n||!i||t.eventType&(ht|mt)&&!a)this.reset();else if(t.eventType&ut)this.reset(),this._timer=o(function(){this.state=8,this.tryEmit()},e.time,this);else if(t.eventType&ht)return 8;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){8===this.state&&(t&&t.eventType&ht?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=et(),this.manager.emit(this.options.event,this._input)))}}),e($,q,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[qt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||2&this.state)}}),e(G,q,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:wt|xt,pointers:1},getTouchAction:function(){return P.prototype.getTouchAction.call(this)},attrTest:function(t){var e,i=this.options.direction;return i&(wt|xt)?e=t.overallVelocity:i&wt?e=t.overallVelocityX:i&xt&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&i&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&tt(e)>this.options.velocity&&t.eventType&ht},emit:function(t){var e=R(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),e(H,Q,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Mt]},process:function(t){var e=this.options,i=t.pointers.length===e.pointers,n=t.distance
'),k.find(".cff-loader").css("background-color",k.css("color"))):(k.hide(),_(v,k));var d,u,h,m,p=!1;if(v.attr("data-timeline-pag")&&(p=!0),1!=p)for(var l in c)c.hasOwnProperty(l)&&"latest_record_date"!=l&&(u=I("until",d=c[l]),m=v.find(a+".cff-"+l).last(),h=(parseInt(m.attr("data-cff-timestamp"))-1).toString(),void 0!==m.attr("data-cff-backdated")&&(h=(parseInt(m.attr("data-cff-backdated"))-1).toString()),isNaN(parseFloat(h))&&(m=v.find(a).last(),h=(parseInt(m.attr("data-cff-timestamp"))-1).toString(),void 0!==m.attr("data-cff-backdated")&&(h=(parseInt(m.attr("data-cff-backdated"))-1).toString())),m=d,"true"==k.attr("data-cff-no-posts-added")||".cff-album-item"!==a&&-1<(m=-1!==d.indexOf("until=")?d.replace("until="+u,"until="+h):d+"&until="+h).indexOf("&after=")&&(m=m.replace("&after="+I("after",m),"")),".cff-album-item"!==a&&((-1