import{w as a}from"./index.C6iEUy_w.js";import{R as s,S as l}from"./scheduler.VqJF7Vna.js";const n="modalStore";function f(){const t=s(n);if(!t)throw new Error("modalStore is not initialized. Please ensure that `initializeStores()` is invoked in the root layout file of this app!");return t}function h(){const t=u();return l(n,t)}function u(){const{subscribe:t,set:i,update:o}=a([]);return{subscribe:t,set:i,update:o,trigger:e=>o(r=>(r.push(e),r)),close:()=>o(e=>(e.length>0&&e.shift(),e)),clear:()=>i([])}}export{f as g,h as i};
//# sourceMappingURL=stores.Ikc-vCv3.js.map
