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]=`93a3ef87-f5fd-46c6-b0c9-d385b0eebb6e`,e._sentryDebugIdIdentifier=`sentry-dbid-93a3ef87-f5fd-46c6-b0c9-d385b0eebb6e`)}catch{}import{o as e}from"./rolldown-runtime-nx40z1zs.js";import{Ag as t,jg as n}from"./entry.client-mpghtlrl.js";import{n as r}from"./AnnouncementProvider-ice67845.js";var i=t(),a=e(n(),1);function o(e,t){let n=(0,i.c)(11),o=(0,a.useId)(),{addAnnouncement:s,removeAnnouncement:c}=r(),l,u;n[0]!==e||n[1]!==s||n[2]!==o||n[3]!==t||n[4]!==c?(l=()=>{e?s(o,{text:e,priority:t}):c(o)},u=[s,c,o,e,t],n[0]=e,n[1]=s,n[2]=o,n[3]=t,n[4]=c,n[5]=l,n[6]=u):(l=n[5],u=n[6]),(0,a.useEffect)(l,u);let d,f;n[7]!==c||n[8]!==o?(d=()=>()=>{c(o)},f=[c,o],n[7]=c,n[8]=o,n[9]=d,n[10]=f):(d=n[9],f=n[10]),(0,a.useEffect)(d,f)}export{o as t};