Файловый менеджер - Редактировать - /home/lmsyaran/public_html/media/smartslider3/src/SmartSlider3Pro/Application/Frontend/Assets/dist/shapedivider.min.js
Назад
this.stages.done("ResizeFirst",function(){var i=document.documentElement,n=this.sliderElement.querySelectorAll(".n2-ss-shape-divider");n.length&&n.forEach(function(n){var t=n.querySelector(".n2-ss-shape-divider-inner");if(+n.dataset.ssSdAnimate){var s=n.querySelector("svg");this.visible((function(){var i=s.querySelectorAll("*"),t=100/(n.dataset.ssSdSpeed||100),o={};s.dataset.yoyo&&(o={onComplete:function(){this.reverse()},onReverseComplete:function(){this.restart()}});for(var r=0;r<i.length;r++)_N2.J.to(i[r],parseFloat(i[r].getAttribute("duration"))*t,Object.assign({attr:{d:i[r].getAttribute("to-d")},delay:0,ease:"easeOutCubic"},o,{delay:i[r].getAttribute("delay"),ease:i[r].getAttribute("ease")}))}))}var o=n.dataset.ssSdScroll;if("shrink"===o||"grow"===o)if(IntersectionObserver){var r,a,d=n.dataset.ssSdSide,h=function(n,s){var o,a,d=(a=0,window.matchMedia&&/Android|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent||navigator.vendor||window.opera)?(o=n2const.isIOS?i.clientHeight:window.innerHeight,a=window.matchMedia("(orientation: landscape)").matches?Math.min(screen.width,o):Math.min(screen.height,o)):a=window.n2Height||i.clientHeight,a),h=this.sliderElement.getBoundingClientRect().top+n;r=Math.max(0,Math.min(100,Math.abs(s-h/d*100))),t.style.transform="scaleY("+r/100+")"}.bind(this);"shrink"===o?(r=100,a=function(){h("bottom"===d?this.responsive.resizeContext.sliderHeight:0,0)}.bind(this)):"grow"===o&&(r=0,a=function(){h("bottom"===d?this.responsive.resizeContext.sliderHeight:0,100)}.bind(this)),new IntersectionObserver((function(i){i[0].isIntersecting?(window.addEventListener("scroll",a),window.addEventListener("resize",a)):(window.removeEventListener("scroll",a),window.removeEventListener("resize",a)),a()})).observe(this.sliderElement)}else t.style.transform="scaleY(1)"}.bind(this))}.bind(this));
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0.03 |
proxy
|
phpinfo
|
Настройка