1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="6d475852-963a-5738-acbd-39b1ce732d70")}catch(e){}}(); 3import{o as e}from"./rolldown-runtime-CMxvf4Kt.js";import{Ta as t}from"./frosted-ui-IuunJNEA.js";import{t as n}from"./useRouter-By-0xqVW.js";import{n as r,t as i}from"./i18n-BeUvcUWS.js";import{t as a}from"./js.cookie-B3BuCjeo.js";import{a as o}from"./react-BBpLUrWf.js";var s=e(t(),1);function c(e){return`DisplayNames`in Intl&&new Intl.DisplayNames(e,{type:`language`,languageDisplay:`dialect`}).of(e)||e.toUpperCase()}function l(){let e=o(),t=n(),l=(0,s.useMemo)(()=>r.map(e=>({value:e,label:c(e)})),[]),u=(0,s.useCallback)(e=>()=>{(0,s.startTransition)(()=>{a.set(i,e,{sameSite:`lax`,secure:window.location.protocol===`https:`,expires:365}),t.invalidate()})},[t]);return{currentLanguage:(0,s.useMemo)(()=>l.find(t=>t.value===e),[l,e]),languages:l,setLanguage:u}}export{l as t}; 4//# debugId=6d475852-963a-5738-acbd-39b1ce732d70
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.