import{u as d,g as c,i as g,j as m,k as l,l as p,m as b,n as k,o as v}from"./runtime.CszH60Yz.js";function x(n=!1){const s=g,e=s.l.u;if(!e)return;let r=()=>k(s.s);if(n){let o=0,t={};const _=v(()=>{let i=!1;const a=s.s;for(const f in a)a[f]!==t[f]&&(t[f]=a[f],i=!0);return i&&o++,o});r=()=>p(_)}e.b.length&&d(()=>{u(s,r),l(e.b)}),c(()=>{const o=m(()=>e.m.map(b));return()=>{for(const t of o)typeof t=="function"&&t()}}),e.a.length&&c(()=>{u(s,r),l(e.a)})}function u(n,s){if(n.l.s)for(const e of n.l.s)p(e);s()}export{x as i};