import{r as a,R as o}from"./vendor-react-BUCujlKS.js";const s={display:"none"};function d(e){let{id:n,value:t}=e;return o.createElement("div",{id:n,style:s},t)}function l(e){let{id:n,announcement:t,ariaLiveType:i="assertive"}=e;const r={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return o.createElement("div",{id:n,style:r,role:"status","aria-live":i,"aria-atomic":!0},t)}function u(){const[e,n]=a.useState("");return{announce:a.useCallback(i=>{i!=null&&n(i)},[]),announcement:e}}export{d as H,l as L,u};
