import{u as r}from"./index.RTTH55m1.js";import{r as s}from"./index.BIRwh3HZ.js";import{a as o,d as l,t as c}from"./utils.D6Ui05B2.js";import{a as d}from"./index.3whys8t3.js";const a=d(typeof window<"u"?o(window.location.pathname):l);if(typeof document<"u"){const t=()=>a.set(o(window.location.pathname));document.addEventListener("astro:page-load",t)}function w(){const t=r(a);return{t:s.useCallback((e,n)=>c(t,e,n),[t]),locale:t}}export{w as u};
