1import{$ as f,ah as r,W as p}from"./B3DH6OY8.js";const c="$s";function l(...t){const a=typeof t[t.length-1]=="string"?t.pop():void 0;typeof t[0]!="string"&&t.unshift(a);const[o,e]=t;if(!o||typeof o!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+o);if(e!==void 0&&typeof e!="function")throw new Error("[nuxt] [useState] init must be a function: "+e);const s=c+o,n=f(),u=r(n.payload.state,s);if(u.value===void 0&&e){const i=e();if(p(i))return n.payload.state[s]=i,i;u.value=i}return u}let y=0;const h=()=>{const t=l("toast-messages",()=>[]);return{toasts:t,showToast:(o,e=4e3)=>{const s=++y;t.value.push({id:s,message:o}),setTimeout(()=>{t.value=t.value.filter(n=>n.id!==s)},e)}}};export{h as u};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.