import{am as A,$ as r}from"./index-25eb6331.js";var o=(E=>(E[E.TEXT=1]="TEXT",E[E.CLASS=2]="CLASS",E[E.STYLE=4]="STYLE",E[E.PROPS=8]="PROPS",E[E.FULL_PROPS=16]="FULL_PROPS",E[E.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",E[E.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",E[E.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",E[E.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",E[E.NEED_PATCH=512]="NEED_PATCH",E[E.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",E[E.HOISTED=-1]="HOISTED",E[E.BAIL=-2]="BAIL",E))(o||{});const S=E=>{const _=A(E)?E:[E],e=[];return _.forEach(T=>{var N;A(T)?e.push(...S(T)):r(T)&&((N=T.component)!=null&&N.subTree)?e.push(T,...S(T.component.subTree)):r(T)&&A(T.children)?e.push(...S(T.children)):r(T)&&T.shapeFlag===2?e.push(...S(T.type())):e.push(T)}),e};export{o as P,S as f};
