import{$ as r,H as o,aA as u,a7 as n}from"./index-6f5315ad.js";var _=(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))(_||{});function L(E){return r(E)&&E.type===o}function D(E){return r(E)&&E.type===u}function m(E){return r(E)&&!L(E)&&!D(E)}const A=E=>{const N=n(E)?E:[E],T=[];return N.forEach(e=>{var S;n(e)?T.push(...A(e)):r(e)&&n(e.children)?T.push(...A(e.children)):(T.push(e),r(e)&&((S=e.component)!=null&&S.subTree)&&T.push(...A(e.component.subTree)))}),T};export{_ as P,m as a,A as f,L as i};
