1import{a as r,d as y}from"/build/_shared/chunk-X7KDVMAY.js";import{c as m}from"/build/_shared/chunk-7OOGFDHZ.js";import{a as u}from"/build/_shared/chunk-DEVQKMWM.js";import{a as D}from"/build/_shared/chunk-H6S7FWVP.js";import{d as L}from"/build/_shared/chunk-T36URGAI.js";var p=L(D());var U=()=>{let{translations:o,commonTranslations:T,locale:f}=y(),n=(0,p.useContext)(u),{isLocal:l}=m(),g=(t,e)=>{let a=r(o,t,e);return l&&(n!=null&&n.enableLocalTranslationDebug)&&(a=`t(${a})`),a};return{translate:g,translateWithLocale:(t,e,a)=>{let s=T[e];if(s&&Object.prototype.hasOwnProperty.call(s,t)){let c=r(s,t,a);return l&&(n!=null&&n.enableLocalTranslationDebug)&&(c=`t(${c})`),c}let i=r(o,t,a);return l&&(n!=null&&n.enableLocalTranslationDebug)&&(i=`t(${i})`),i},unsafeTranslate:(t,e,a)=>Object.prototype.hasOwnProperty.call(o,t)?g(t,e):a!=null?a:t}};export{U as a};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.