class LiquidDrawShapeBehavior extends LiquidBehavior{static behaviorName="liquidDrawShape";options(){return{drawSVG:"0% 0%",duration:5,stagger:1,delay:0,start:"top bottom",end:"center center",scrub:!0,ease:"linear"}}get ui(){return{svgEl:"svg"}}initialize(){if(this.isDestroyed)return;const t=this.getOption("drawSVG"),i=this.getOption("duration"),s=this.getOption("stagger"),o=this.getOption("delay"),r=this.getOption("ease"),n=this.getOption("start"),a=this.getOption("end"),d=this.getOption("scrub"),e=this.getUI("svgEl");e.length&&(this.timeline=gsap.from(e[0].querySelectorAll(":scope > *"),{drawSVG:t,duration:i,delay:o,stagger:s,ease:r,scrollTrigger:{trigger:this.view.el,start:n,end:a,scrub:d}}))}destroy(){this.timeline?.revert(),super.destroy()}}typeof window<"u"&&(window.liquid?.app?window.liquid?.app?.model?.set("loadedBehaviors",[...window.liquid.app.model.get("loadedBehaviors"),LiquidDrawShapeBehavior]):window.liquid?.loadedBehaviors?.push(LiquidDrawShapeBehavior));
