function GSpagescrollX(a,j=!1,d=""){let k=a.querySelectorAll(":scope > .gspb_row, :scope > .gspb_container"),l=gsap.utils.toArray(k),e=a.offsetWidth+500,f=1,g=a.parentNode.getAttribute("data-pause")?parseInt(a.parentNode.getAttribute("data-pause"))/100:null,c=a.parentNode.getAttribute("id");d&&(c=d),a.parentNode.getAttribute("data-end")&&(e=a.parentNode.getAttribute("data-end")),a.parentNode.getAttribute("data-ratio")&&(f=a.parentNode.getAttribute("data-ratio"));let b={trigger:a,start:"top top",end:"+="+e,pin:!0,anticipatePin:1,scrub:f};if(a.parentNode.getAttribute("data-snap")&&(b.snap=1/(l.length-1)),j){let m=".interface-interface-skeleton__content";b.scroller=m,a.parentNode.getAttribute("data-pinpreview")&&(b.pinType="fixed")}c&&(b.id="gspagescrollx"+c);let h=gsap.timeline({scrollTrigger:b});h.to(a,{x:()=>-(a.scrollWidth-document.documentElement.clientWidth)+"px",ease:"none",id:c}),g&&h.set({},{},"+="+g)}let gs_scrollx_wrapper=document.getElementsByClassName("gs-gsap-scrollx-wrap");if(gs_scrollx_wrapper.length>0)for(let i=0;i<gs_scrollx_wrapper.length;i++)GSpagescrollX(gs_scrollx_wrapper[i])