芝麻web文件管理V1.00
');var s=e(t).prev(".vamtam-scroll-anim-wrap");e(s).append(t),a=s[0]}i[t.dataset.id]={lastScrollY:"",lastScrollPercentage:"",observeEl:a,animateEl:t},n.observe(a)})},cursorAnimation:function(){if(!("elementorFrontend"in window)||!("isEditMode"in window.elementorFrontend)||window.elementorFrontend.isEditMode()||this.utils.isTouchDevice()||e("body").filter(".no-theme-cursor").length||!("elementorFrontendConfig"in window)||!window.elementorFrontendConfig.kit.vamtam_theme_has_theme_cursor)return;e("body").append('').addClass("has-mouse-dot");var t=e("#mouseDot"),n=0,i=0,a=0,o=0;e(document).on("mousemove mouseenter pointermove",e=>(e=>{window.VAMTAM.isBelowMaxDeviceWidth()||(n=e.clientX,i=e.clientY)})(e)),window.requestAnimationFrame(function(){setInterval(function(){a+=(n-a)/6,o+=(i-o)/6,t.css({transform:"translate("+a+"px, "+o+"px)"})},20)});e(document).on("mouseover",window.VAMTAM.debounce(function(n){let i,a,o;const r=e(n.target),s=r[0];if(n.target.href)i=!0;else if("IFRAME"===n.target.tagName)a=!0;else{r.parent("a[href]").length&&(i=!0),r.closest("a.elementor-button-link[href]").length&&(i=!0);const e=r.filter(".swiper-wrapper").length,t=e?[]:r.closest(".swiper-wrapper"),n=t.length;if(e||n){const n=e?s:t[0];(n.scrollWidth>n.clientWidth||n.scrollWidth>window.innerWidth)&&(o=!0)}}i?window.requestAnimationFrame(function(){t.addClass("over-link")}):window.requestAnimationFrame(function(){t.removeClass("over-link")}),a?window.requestAnimationFrame(function(){t.addClass("over-iframe")}):window.requestAnimationFrame(function(){t.removeClass("over-iframe")}),o?window.requestAnimationFrame(function(){t.addClass("over-swiper")}):window.requestAnimationFrame(function(){t.removeClass("over-swiper")})},100))},utils:{getAdminBarHeight:function(){return window.VAMTAM.adminBarHeight},watchScrollDirection:function(){var e=function(){return this.lastScrollTop=0,this.utils=this,{init:function(){},measure:function(e){this.direction=e>this.lastScrollTop?"down":"up"}.bind(this),mutate:function(e){this.utils.getScrollDirection=function(){return this.direction},this.lastScrollTop=e<=0?0:e}.bind(this)}}.bind(this);window.VAMTAM.addScrollHandler(e())},isTouchDevice:function(){const e=" -webkit- -moz- -o- -ms- ".split(" ");return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)||function(e){return window.matchMedia(e).matches}(["(",e.join("touch-enabled),("),"heartz",")"].join(""))}}}},window.VAMTAM.CUSTOM_ANIMATIONS.init(),document.addEventListener("DOMContentLoaded",function(){window.VAMTAM.CUSTOM_ANIMATIONS.onDomReady()},!0)}(jQuery);