function GSrevealinit(e,a=!1,t=!1,r=""){let l=e.querySelector(".gs-reveal-block"),s=e.querySelector(".gs-reveal-cont"),g=s.getAttribute("data-revealclip"),d=gsr_get_dataset(e,"ease"),o="";if(d){if("none"==d)o="none";else{let n=d.split("-");o=n[0]+"."+n[1]}}e.getAttribute("data-prehidden")&&e.removeAttribute("data-prehidden");let v;if(a)v=gsap.timeline();else{let f={trigger:e,start:"top 80%"};t&&(f.scroller=".interface-interface-skeleton__content"),r&&(f.id="gsreveal"+r),v=gsap.timeline({scrollTrigger:f})}if(g){if(gsr_get_dataset(s,"reveal-speed"))var c=parseFloat(gsr_get_dataset(s,"reveal-speed"));else var c=.5;if(gsr_get_dataset(s,"reveal-delay"))var p=parseFloat(gsr_get_dataset(s,"reveal-delay"));else var p=0;v.to(s,{duration:c,"clip-path":"inset(0% 0% 0% 0%)",delay:p,ease:o})}else{if(gsr_get_dataset(l,"reveal-bgimage")?l.style.backgroundImage=gsr_get_dataset(l,"reveal-bgimage"):gsr_get_dataset(l,"reveal-bg")?l.style.backgroundColor=gsr_get_dataset(l,"reveal-bg"):l.style.backgroundColor="lightgrey",gsr_get_dataset(l,"reveal-speed"))var c=parseFloat(gsr_get_dataset(l,"reveal-speed"));else var c=.5;if(gsr_get_dataset(l,"reveal-delay"))var p=parseFloat(gsr_get_dataset(l,"reveal-delay"));else var p=0;"lr"==gsr_get_dataset(l,"reveal-dir")?(v.from(l,{duration:c,scaleX:0,transformOrigin:"left",delay:p,ease:o}),v.to(l,{duration:c,scaleX:0,transformOrigin:"right"},"reveal")):"rl"==gsr_get_dataset(l,"reveal-dir")?(v.from(l,{duration:c,scaleX:0,transformOrigin:"right",delay:p,ease:o}),v.to(l,{duration:c,scaleX:0,transformOrigin:"left"},"reveal")):"tb"==gsr_get_dataset(l,"reveal-dir")?(v.from(l,{duration:c,scaleY:0,transformOrigin:"top",delay:p,ease:o}),v.to(l,{duration:c,scaleY:0,transformOrigin:"bottom"},"reveal")):"bt"==gsr_get_dataset(l,"reveal-dir")&&(v.from(l,{duration:c,scaleY:0,transformOrigin:"bottom",delay:p,ease:o}),v.to(l,{duration:c,scaleY:0,transformOrigin:"top"},"reveal")),v.from(s,{duration:1,autoAlpha:0},"reveal")}a&&v.play()}let gs_reveal_wrapper=document.getElementsByClassName("gs-reveal-wrap");if(gs_reveal_wrapper.length>0)for(let i=0;i<gs_reveal_wrapper.length;i++)GSrevealinit(gs_reveal_wrapper[i]);function gsr_get_dataset(e,a){return e.getAttribute("data-"+a)}