HEX
Server: LiteSpeed
System: Linux linux31.centraldnserver.com 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
User: salamatk (1501)
PHP: 8.1.33
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open
Upload Files
File: /home/salamatk/takarzan.ir/wp-content/themes/xts-luman/js/scripts/parallax3d.min.js
(m=>{XTSThemeModule.$document.on("xtsPortfolioLoadMoreSuccess",function(){XTSThemeModule.parallax3d()}),m.each(["frontend/element_ready/xts_banner_carousel.default","frontend/element_ready/xts_banner.default","frontend/element_ready/xts_portfolio.default"],function(e,a){XTSThemeModule.xtsElementorAddAction(a,function(){XTSThemeModule.parallax3d()})}),XTSThemeModule.parallax3d=function(){var e=m(".xts-hover-parallax, .xts-portfolio-design-parallax .xts-project"),x=0;e.each(function(){var e=m(this);e.hasClass("xts-parallax3d-init")||(e.addClass("xts-parallax3d-init"),e.on("mousemove",function(e){var a,t,o,d,l,n,r,u,i,s=Date.now();s<x+30||(x=s,s=(a=m(this)).outerWidth(),t=(e.pageX-a.offset().left)/s,e=(e.pageY-a.offset().top)/a.outerHeight(),o=XTSThemeModule.$body.data("parallax-index")?XTSThemeModule.$body.data("parallax-index"):1,d=XTSThemeModule.$body.data("parallax-timeout")?XTSThemeModule.$body.data("parallax-timeout"):0,clearTimeout(d),l=-12*(.5-(e=(e=1<e?1:e)<0?0:e)),n=12*(.5-(t=(t=1<t?1:t)<0?0:t)),r=2*t*2-2,u=2*e*2-2,i=3*s,window.requestAnimationFrame(function(){a.css({transform:"perspective("+i+"px) rotateX("+l+"deg) rotateY("+n+"deg) translateY("+u+"px) translateX("+r+"px) scale(1.05, 1.05)",zIndex:o})}))}),e.on("mouseleave",function(){var e=m(this),a=e.outerWidth(),t=XTSThemeModule.$body.data("parallax-index")?XTSThemeModule.$body.data("parallax-index"):1,o=3*a,a=(window.requestAnimationFrame(function(){e.css({transform:"perspective("+o+"px) rotateX(0deg) rotateY(0deg) translateZ(0px)"})}),setTimeout(function(){e.css({zIndex:1})},250));XTSThemeModule.$body.data("parallax-index",t+1),XTSThemeModule.$body.data("parallax-timeout",a)}))})},m(document).ready(function(){XTSThemeModule.parallax3d()})})(jQuery);