(function(t){var y=null;const M={lerp:(e,l,n)=>(1-n)*e+n*l,norm:(e,l,n)=>(e-l)/(n-l)},N={height:window.innerHeight,width:window.innerWidth};class X{constructor(){this.bindMethods(),this.data={ease:H||.05,current:0,last:0},this.dom={el:m,content:g},this.rAF=null,this.init()}bindMethods(){["scroll","run","resize"].forEach(l=>this[l]=this[l].bind(this))}setStyles(){Object.assign(this.dom.el.style,{position:"fixed",top:0,left:0,height:"100%",width:"100%",overflow:"hidden"})}setWidth(){f=0,t("body").is(".admin-bar")&&!elementorFrontend.isEditMode()&&(f=45);var l=window.innerWidth,i=this.dom.el.offsetHeight+f,n=this.dom.el.offsetHeight+l*s.length,i=n-this.dom.el.offsetWidth;O=i,document.body.style.height=`${i}px`;var r=l*s.length;h.width(`${r}px`),s.each(function(c,d){t(this).width(l)})}setHeight(){f=0,t("body").is(".admin-bar")&&!elementorFrontend.isEditMode()&&(f=45);var l=this.dom.content.offsetHeight-f;O=l,document.body.style.height=`${l}px`}preload(){imagesLoaded(this.dom.content,l=>{o=="vertical"?this.setHeight():o=="horizontal"&&this.setWidth()})}scroll(){this.data.current=window.scrollY}run(){this.data.last=M.lerp(this.data.last,this.data.current,this.data.ease),this.data.last=Math.floor(this.data.last*100)/100,this.data.last<.1&&(this.data.last=0);const l=T,n=B,c=+((this.data.current-this.data.last)/N.width),d=1-Math.abs(c*n),_=c*l;var v=this.data.current/O*100;if(o=="vertical"){var ie=this.data.last;this.dom.content.style.transform=`translate3d(0, -${ie}px, 0) skewY(${_}deg) scaleY(${d})`,this.dom.content.style.transformOrigin=`50% ${v}% 0`}else if(o=="horizontal"){var se=this.data.last;this.dom.content.style.transform=`translate3d(-${se}px, 0, 0) skewX(${_}deg) scaleY(${d})`,this.dom.content.style.transformOrigin=`${v}% 50% 0`}this.requestAnimationFrame()}on(){this.setStyles(),o=="vertical"?this.setHeight():o=="horizontal"&&this.setWidth(),this.addEvents(),this.requestAnimationFrame()}off(){this.cancelAnimationFrame(),this.removeEvents()}requestAnimationFrame(){this.rAF=requestAnimationFrame(this.run)}cancelAnimationFrame(){cancelAnimationFrame(this.rAF)}destroy(){document.body.style.height="",this.data=null,this.removeEvents(),this.cancelAnimationFrame()}resize(){o=="vertical"?this.setHeight():o=="horizontal"&&this.setWidth(),this.scroll()}addEvents(){window.addEventListener("resize",this.resize,{passive:!0}),window.addEventListener("scroll",this.scroll,{passive:!0})}removeEvents(){window.removeEventListener("resize",this.resize,{passive:!0}),window.removeEventListener("scroll",this.scroll,{passive:!0})}init(){this.preload(),this.on()}}var a={},s=[],u="",h=null,f=0,O=0;is_pageScroll=!1;var I=!1,k="",j="default",z=!1,S,oe,re,ce,de,fe=["data-lax-opacity","data-lax-translate","data-lax-translate-x","data-lax-translate-y","data-lax-scale","data-lax-scale-x","data-lax-scale-y","data-lax-skew","data-lax-skew-x","data-lax-skew-y","data-lax-rotate","data-lax-rotate-x","data-lax-rotate-y","data-lax-brightness","data-lax-contrast","data-lax-hue-rotate","data-lax-blur","data-lax-invert","data-lax-saturate","data-lax-grayscale","data-lax-bg-pos","data-lax-bg-pos-x","data-lax-bg-pos-y","data-lax-anchor"],b=!1,o="vertical",H=.05;const ue=document.body;var m={},g={},T=20,B=0,R,q=function(){t("body").addClass("dce-scrollify dce-scrolling"),a.custom_class_section_sfy?($customClass=a.custom_class_section_sfy,a.custom_class_section_sfy[0]==="."&&($customClass=a.custom_class_section_sfy.substring(1))):$customClass="elementor-section:not(.elementor-inner-section):not(.elementor-sticky__spacer)",target_sections=".elementor-"+S,target_sections||(target_sections=""),t(".elementor-section-wrap").length||t("body .elementor").wrapInner('<div class="elementor-section-wrap"></div>'),u=target_sections+".elementor .elementor-section-wrap ."+$customClass,h=t(target_sections+".elementor .elementor-section-wrap"),t(target_sections).addClass("scroll-direction-"+a.directionScroll),t.scrollify({section:u,sectionName:"id",interstitialSection:a.interstitialSection,easing:"easeOutExpo",scrollSpeed:Number(a.scrollSpeed.size)||1100,offset:Number(a.offset.size)||0,scrollbars:!!a.scrollBars,setHeights:!!a.setHeights,overflowScroll:!!a.overflowScroll,updateHash:!!a.updateHash,touchScroll:!!a.touchScroll,before:function(e,l){var n=l[e].attr("data-id");t(".dce-scrollify-pagination .nav__item--current").removeClass("nav__item--current"),t(".dce-scrollify-pagination").find('a[href="#'+n+'"]').addClass("nav__item--current")},afterRender:function(){if(I=!0,a.enable_scrollify_nav||elementorFrontend.isEditMode()){var e="";E(a.snapscroll_nav_style),t("body").on("click",".dce-scrollify-pagination a",function(){return t.scrollify.move(t(this).attr("href")),!1}),a.enable_scrollify_nav||x(""),a.enable_scrollEffects&&Q(a.enable_scrollEffects)}}}),t.scrollify.update()},W=function(e,l=!1){k=e,l&&E(a.snapscroll_nav_style)},E=function(e){j=e,t(".dce-scrollify-pagination").length>0&&t(".dce-scrollify-pagination").remove();var l="",n,i;W(a.snapscroll_nav_title_style),l='<ul class="dce-scrollify-pagination nav--'+e+'">',e=="ayana"&&(l+='<svg class="hidden"><defs><symbol id="icon-circle" viewBox="0 0 16 16"><circle cx="8" cy="8" r="6.215"></circle></symbol></defs></svg>'),e=="desta"&&(l+='<svg class="hidden"><defs><symbol id="icon-triangle" viewBox="0 0 24 24"><path d="M4.5,19.8C4.5,19.8,4.5,19.8,4.5,19.8V4.2c0-0.3,0.2-0.5,0.4-0.7c0.2-0.1,0.5-0.1,0.8,0l13.5,7.8c0.2,0.1,0.4,0.4,0.4,0.7c0,0.3-0.2,0.5-0.4,0.7L5.7,20.4c-0.1,0.1-0.3,0.1-0.5,0.1C4.8,20.6,4.5,20.2,4.5,19.8z M6,5.6v12.8L17.2,12L6,5.6z"/></symbol></defs></svg>'),t(u).each(function(r){if(n="",r===0&&(n="nav__item--current"),k=="number"){var c="";r<9&&(c="0"),i=c+(r+1)}else k=="classid"?(i=t(this).attr("id")||"no id",i=i.replace(/_|-|\./g," ")):i="";if(e=="default")l+='<li><a class="'+n+'" href="#'+t(this).attr("data-id")+'"></a></li>';else{if($itemInner="",$itemTitle='<span class="nav__item-title">'+i+"</span>",e=="etefu")$itemInner='<span class="nav__item-inner"></span>';else if(e=="ayana")$itemTitle='<svg class="nav__icon"><use xlink:href="#icon-circle"></use></svg>';else if(e=="totit"){var d=a.scrollify_nav_icon.value;d&&($itemInner='<i class="nav__icon '+d+'" aria-hidden="true"></i>')}else e=="desta"?$itemInner='<svg class="nav__icon"><use xlink:href="#icon-triangle"></use></svg>':(e=="magool"||e=="ayana"||e=="timiro")&&($itemTitle="");l+='<li><a href="#'+t(this).attr("data-id")+'" class="'+n+' nav__item" aria-label="'+(r+1)+'">'+$itemInner+$itemTitle+"</a></li>"}}),l+="</ul>",t("body").append(l)};function C(){t("body").addClass("dce-pageScroll dce-scrolling");let e="elementor-section:not(.elementor-inner-section)";a.custom_class_section&&(e=a.custom_class_section.replace(/^\./,""));let l=".elementor-"+S;l||(l="");const n=l+" ."+e;s=t(n),t(l).addClass("scroll-direction-"+a.directionScroll),animationType=a.animation_effects||["scaleDown"];var i="";Array.isArray(animationType)&&animationType.length?i=animationType.join(" "):typeof animationType=="string"&&(i=animationType);var r=0;a.remove_first_scrollEffects&&(r=1),s.each(function(){t(this).index()>=r&&t(this).addClass("lax")}),lax.init(),lax.addDriver("scrollY",function(){return window.scrollY},{inertiaEnabled:!0,inertia:.1,frameStep:1});const c={scaleDown:{scale:[["elInY","elCenterY","elOutY"],[0,1,1],{easing:"easeOutQuad"}]},opacity:{opacity:[["elInY","elCenterY","elOutY"],[0,1,1],{easing:"easeOutQuad"}]},fixed:{translateY:[["elInY","elCenterY","elOutY"],[0,0,-window.innerHeight],{easing:"easeOutQuad"}]},rotation:{rotate:[["elInY","elCenterY","elOutY"],[30,0,0],{easing:"easeOutQuad"}]},spin:{rotate:[["elInY","elCenterY","elOutY"],[-180,0,0],{easing:"easeOutQuad"}]},spinRev:{rotate:[["elInY","elCenterY","elOutY"],[180,0,0],{easing:"easeOutQuad"}]},leftToRight:{translateX:[["elInY","elCenterY","elOutY"],[-window.innerWidth,0,0],{easing:"easeOutQuad"}]},rightToLeft:{translateX:[["elInY","elCenterY","elOutY"],[window.innerWidth,0,0],{easing:"easeOutQuad"}]},zoomInOut:{scale:[["elInY","elCenterY","elOutY"],[0,1,1],{easing:"easeOutQuad"}]},zoomIn:{scale:[["elInY","elCenterY","elOutY"],[.5,1,1],{easing:"easeOutQuad"}]},zoomOut:{scale:[["elInY","elCenterY","elOutY"],[1.5,1,1],{easing:"easeOutQuad"}]},driftLeft:{translateX:[["elInY","elCenterY","elOutY"],[100,0,0],{easing:"easeOutQuad"}]},driftRight:{translateX:[["elInY","elCenterY","elOutY"],[-100,0,0],{easing:"easeOutQuad"}]},slalom:{translateX:[["elInY","elCenterY","elOutY"],[-50,50,50],{easing:"easeInOutQuad"}]},lazy:{translateY:[["elInY","elCenterY","elOutY"],[0,0,0],{easing:"easeOutQuad"}]},eager:{translateY:[["elInY","elCenterY","elOutY"],[100,0,0],{easing:"easeOutQuad"}]},swing:{rotate:[["elInY","elCenterY","elOutY"],[-10,10,10],{easing:"easeInOutQuad"}]},speedy:{translateY:[["elInY","elCenterY","elOutY"],[-100,0,0],{easing:"easeInOutQuad"}],rotate:[["elInY","elCenterY","elOutY"],[10,0,0],{easing:"easeInOutQuad"}]}},d=(i||"").split(" ").filter(Boolean);lax.addElements(".lax",{scrollY:d.reduce((_,v)=>c[v]?{..._,...c[v]}:_,{})}),z=!0}var A=function(){a.custom_class_section?$customClass=a.custom_class_section:$customClass="elementor-top-section",typeof a.coefSpeed_inertiaScroll.size<"u"&&(H=Number(a.coefSpeed_inertiaScroll.size)),typeof a.skew_inertiaScroll.size<"u"&&(T=Number(a.skew_inertiaScroll.size)),typeof a.bounce_inertiaScroll.size<"u"&&(B=Number(a.bounce_inertiaScroll.size)),typeof a.directionScroll<"u"&&(o=a.directionScroll||"vertical"),target_sections=".elementor-"+S,target_sections||(target_sections=""),t(".elementor-section-wrap").length||t("body .elementor").wrapInner('<div class="elementor-section-wrap"></div>'),u=target_sections+".elementor .elementor-section-wrap ."+$customClass,s=t(u),h=t(target_sections+".elementor .elementor-section-wrap"),t(".elementor-template-canvas").length?(m=document.querySelector(target_sections),g=document.querySelector(target_sections+".elementor .elementor-section-wrap")):a.automatic_wrapper?(t("#outer-wrap").length||t("body .elementor").wrapInner('<div id="outer-wrap"><div id="wrap"></div></div>'),m=document.querySelector("#outer-wrap"),g=document.querySelector("#wrap")):(m=document.querySelector(a.scroll_viewport)||document.querySelector("#outer-wrap"),g=document.querySelector(a.scroll_contentScroll)||document.querySelector("#wrap")),o=="horizontal"&&h.css("display","flex"),t(target_sections).addClass("scroll-direction-"+o),s.addClass("inertia-scroll"),y&&y.destroy(),y=new X,b=!0};function D(){a.enable_dceScrolling&&(F(""),F("yes"))}function w(){t("body").removeClass("dce-pageScroll"),s.length&&s.removeClass("lax"),lax&&typeof lax<"u"&&lax.removeElements(".lax"),window.cancelAnimationFrame(R),z=!1}function Y(){t("body").removeClass("dce-inertiaScroll"),s.length&&s.removeClass("inertia-scroll"),s.each(function(e,l){t(this).removeAttr("style")}),h.removeAttr("style"),y.destroy(),b=!1,t(m).removeAttr("style"),t(g).removeAttr("style")}function F(e){is_pageScroll=!!e,a.enable_scrollEffects&&Q(e),a.enable_scrollify&&L(e),a.enable_inertiaScroll&&p(e)}function L(e){e?(I&&t.scrollify.enable(),q(),x(a.enable_scrollify_nav)):(t.scrollify.destroy(),s.length&&s.removeAttr("style"),x(""),I=!1)}function P(e){t.scrollify.setOptions({scrollSpeed:e.size})}function he(e){t.scrollify.setOptions({scrollSpeed:e})}function G(e){t.scrollify.setOptions({offset:e.size})}function J(e){t.scrollify.setOptions({easing:e})}function K(e){t.scrollify.setOptions({setHeights:!!e})}function U(e){t.scrollify.setOptions({overflowScroll:!!e})}function Z(e){t.scrollify.setOptions({updateHash:!!e})}function V(e){t.scrollify.setOptions({touchScroll:!!e})}function $(e){t.scrollify.setOptions({scrollbars:!!e})}function x(e){e?t("body").addClass("dce-scrollify").find(".dce-scrollify-pagination").show():t("body").removeClass("dce-scrollify").find(".dce-scrollify-pagination").hide()}function ee(e){e&&E(e)}function te(e){e&&W(e,!0)}function Q(e){e?(z&&w(),C()):w()}function ae(e){var l=e.join(" ");e.length&&(w(),C()),D()}function le(e){w(),C()}function p(e){e?(b&&Y(),a.enable_inertiaScroll&&A()):Y()}function ne(e){o=e,e?(b&&Y(),a.enable_inertiaScroll&&A()):Y()}t(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/global",function(){if(typeof elementorFrontendConfig.settings.page<"u"){if(a=elementorFrontendConfig.settings.page,S=elementorFrontendConfig.post.id,!a.enable_dceScrolling)return;var e=t("body").attr("data-elementor-device-mode");a.enable_scrollEffects&&a.responsive_scrollEffects&&t.inArray(e,a.responsive_scrollEffects)>=0&&C(),a.enable_scrollify&&a.responsive_snapScroll&&t.inArray(e,a.responsive_snapScroll)>=0&&q(),a.enable_inertiaScroll&&a.responsive_inertiaScroll&&t.inArray(e,a.responsive_inertiaScroll)>=0&&A(),elementorFrontend.isEditMode()&&elementor&&(a=elementor.settings.page.model.attributes,elementor.settings.page.addChangeCallback("enable_dceScrolling",F),elementor.settings.page.addChangeCallback("enable_scrollify",L),elementor.settings.page.addChangeCallback("scrollSpeed",P),elementor.settings.page.addChangeCallback("offset",G),elementor.settings.page.addChangeCallback("ease_scrollify",J),elementor.settings.page.addChangeCallback("setHeights",K),elementor.settings.page.addChangeCallback("overflowScroll",U),elementor.settings.page.addChangeCallback("updateHash",Z),elementor.settings.page.addChangeCallback("scrollBars",$),elementor.settings.page.addChangeCallback("touchScroll",V),elementor.settings.page.addChangeCallback("enable_scrollify_nav",x),elementor.settings.page.addChangeCallback("snapscroll_nav_style",ee),elementor.settings.page.addChangeCallback("snapscroll_nav_title_style",te),elementor.settings.page.addChangeCallback("enable_scrollEffects",Q),elementor.settings.page.addChangeCallback("animation_effects",ae),elementor.settings.page.addChangeCallback("remove_first_scrollEffects",le),elementor.settings.page.addChangeCallback("enable_inertiaScroll",p),elementor.settings.page.addChangeCallback("directionScroll",ne),elementor.settings.page.addChangeCallback("coefSpeed_inertiaScroll",p),elementor.settings.page.addChangeCallback("skew_inertiaScroll",p),elementor.settings.page.addChangeCallback("bounce_inertiaScroll",p))}})})})(jQuery);