1import{r as e}from"./rolldown-runtime-hePW80VL.js";import{t}from"./react-CwJFpaho.js";import{t as n}from"./jsx-runtime-NZYk81nU.js";import{l as r}from"./lang-Ch1tYgrq.js";var i=e(t(),1),a=n(),o=(0,i.createContext)({lang:`en`,translations:{}});function s({lang:e,translations:t,games:n,children:r}){let s=(0,i.useMemo)(()=>({lang:e,translations:t,games:n}),[e,t,n]);return(0,a.jsx)(o.Provider,{value:s,children:r})}function c(e,t,n=[]){return t?(e[t]??e[t.toLowerCase()]??t).replace(/\{\{(\d+)\}\}/g,(e,t)=>String(n[Number(t)]??``)):``}function l(){let{lang:e,translations:t,games:n}=(0,i.useContext)(o);return(0,i.useMemo)(()=>({lang:e,translations:t,games:n,t:(e,n=[])=>c(t,e,n),href:t=>r(e,t)}),[e,t,n])}export{c as n,l as r,s as t};
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.