import{C as c,N as u,o as a,j as f,l,V as r}from"./index-CNZMR1GT.js";let m=0;const s={},i=t=>{const e=(m++).toString(),o=[];for(const n in s)s[n]&&(o.push(n),s[n]=!1);s[e]=!0,typeof t=="function"?c(()=>{s[e]&&(document.title=t())}):document.title=t,u(()=>{delete s[e];for(const n in o)s[n]=!0})},p=()=>{const t=a(),{pathname:e}=f();i(()=>"".concat(e()==="/"?t("manage.sidemenu.home"):l(e())," | ").concat(r("site_title")))},g=t=>{const e=a();i(()=>"".concat(e(t)," | ").concat(e("manage.title")))};export{i as a,g as b,p as u};
