try{let e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`c65192c1-a83a-431b-8f58-7dc57827220f`,e._sentryDebugIdIdentifier=`sentry-dbid-c65192c1-a83a-431b-8f58-7dc57827220f`)}catch{}import{o as e}from"./rolldown-runtime-eb2nym32.js";import{Ag as t,Fg as n,Ig as r}from"./entry.client-dr7r6s9a.js";var i=n(),a=e(r(),1),o=t(),s=(0,a.memo)(e=>{let t=(0,i.c)(5),{text:n,priority:r}=e,a=r??`polite`,s;t[0]===a?s=t[1]:(s={"aria-live":a},t[0]=a,t[1]=s);let c;return t[2]!==s||t[3]!==n?(c=(0,o.jsx)(`div`,{className:`fixed start-[-10000px] top-[-10000px] h-0 w-0 opacity-0`,role:`alert`,...s,children:n}),t[2]=s,t[3]=n,t[4]=c):c=t[4],c});s.displayName=`Announcement`;var c=e=>{let t=(0,i.c)(4),{announcements:n}=e,r;t[0]===n?r=t[1]:(r=Object.entries(n).map(l),t[0]=n,t[1]=r);let a;return t[2]===r?a=t[3]:(a=(0,o.jsx)(o.Fragment,{children:r}),t[2]=r,t[3]=a),a};c.displayName=`Announcer`;function l(e){let[t,n]=e;return(0,o.jsx)(s,{...n},t)}export{c as t};