function GSmousemoveinit(t){if("yes"==t.getAttribute("data-prlx-cur"))var e=t;else{var e=document.getElementById("post");null==e&&(e=document.getElementById("editor")),null==e&&(e=document.body)}e.addEventListener("mousemove",r=>{var a={},s=r.clientX/parseFloat(e.offsetWidth)-.5,o=r.clientY/parseFloat(e.offsetHeight)-.5;if(t.getAttribute("data-prlx-xy")){var l=parseFloat(t.getAttribute("data-prlx-xy")),n=parseFloat(t.getAttribute("data-prlx-x")),u=parseFloat(t.getAttribute("data-prlx-y"));a.x=s*(n||l),a.y=o*(u||l)}if(t.getAttribute("data-prlx-tilt")){var p=t.getAttribute("data-prlx-tilt");a.rotationY=s*p,a.rotationX=-o*p,gsap.set(t.parentNode,{transformPerspective:500,transformStyle:"preserve-3d"}),gsap.set(t,{transformStyle:"preserve-3d"})}a.ease=Power1.easeOut,gsap.to(t,a)}),"yes"==t.getAttribute("data-prlx-rest")&&t.addEventListener("mouseleave",function(e){gsap.to(t,{x:0,y:0,rotationY:0,rotationX:0,ease:Power1.easeOut})})}let gs_mouse_wrapper=document.getElementsByClassName("gs-prlx-mouse");if(gs_mouse_wrapper.length>0)for(let i=0;i<gs_mouse_wrapper.length;i++)GSmousemoveinit(gs_mouse_wrapper[i]);