https://www.rookvrijegeneratie.nl/wp-content/themes/rookvrijegeneratie/dist/assets/index-Bq0bBPTV.js
1var r=Object.defineProperty;var l=(i,t,e)=>t in i?r(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e;var s=(i,t,e)=>l(i,typeof t!="symbol"?t+"":t,e);import{g as o,S as a}from"./main-BThlQzEG.js";import"./_commonjsHelpers-D6Ya60D-.js";class u{constructor(t){s(this,"init",()=>{this.setDefaults(),this.createScrollTrigger()});s(this,"setDefaults",()=>{o.set(this.textHoverEls,{yPercent:100,clipPath:"inset(0% 0% 100% 0%)"}),o.set(this.socialIcons,{scale:.9,yPercent:50,autoAlpha:0})});s(this,"createScrollTrigger",()=>{this.scrollTrigger=a.create({trigger:this.section,start:"center 60%",end:"bottom top",onEnter:()=>this.show(),onEnterBack:()=>this.show(),onLeave:()=>this.hide(),onLeaveBack:()=>this.hide()})});s(this,"show",()=>{var t;(t=this.tl)==null||t.kill(),this.tl=o.timeline(),this.tl.to(this.textEls,{yPercent:-100,clipPath:"inset(100% 0% 0% 0%)",ease:"power4.out",duration:.65}).to(this.textHoverEls,{yPercent:0,clipPath:"inset(0% 0% 0% 0%)",ease:"power4.out",duration:.65},0).to(this.socialIcons,{yPercent:0,scale:1,autoAlpha:1,ease:"expo.out",duration:.85,stagger:{from:"center",amount:.07}},0),this.backdrop&&this.tl.to(this.backdrop,{autoAlpha:1,ease:"power4.out",duration:.65},0)});s(this,"hide",()=>{var t;(t=this.tl)==null||t.kill(),this.tl=o.timeline(),this.tl.to(this.textEls,{yPercent:0,clipPath:"inset(0% 0% 0% 0%)",ease:"power4.out",duration:.65},0).to(this.textHoverEls,{yPercent:100,clipPath:"inset(0% 0% 100% 0%)",ease:"power4.out",duration:.65},0).to(this.socialIcons,{scale:.9,yPercent:50,autoAlpha:0,ease:"power4.out",duration:.65},0),this.backdrop&&this.tl.to(this.backdrop,{autoAlpha:0,ease:"power4.out",duration:.65},0)});s(this,"destroy",()=>{var t,e;(t=this.scrollTrigger)==null||t.kill(),(e=this.tl)==null||e.kill()});this.section=t,this.textEls=[...this.section.querySelectorAll(".js-text")],this.textHoverEls=[...this.section.querySelectorAll(".js-text-hover")],this.socialIcons=[...this.section.querySelectorAll(".js-social-icon")],this.backdrop=this.section.querySelector(".js-backdrop"),this.init()}}export{u as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.