import{useContext as t}from"react";import{I as o}from"./IntlContext-DoS4CDM3.js";function e(){const e=t(o);if(!e)throw new Error("No intl context found. Have you configured the provider? See https://next-intl.dev/docs/usage/configuration#client-server-components");return e}function n(){return e().locale}export{e as a,n as u};