1import{aI as h,aJ as $}from"./lZnVDAjw.js";const P={number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},Q={fallbackLocale:"",initialLocale:"",loadingDelay:200,formats:P,warnOnMissingMessages:!0},F=Q;let w;function g(){return w}function S(e){return w=e}function y(){return F}function v(e){return e.split("-").map((t,n,r)=>r.slice(0,n+1).join("-")).reverse()}function a(e,t=y().fallbackLocale){const n=v(e);return t?[...new Set([...n,...v(t)])]:n}let p;const f=h({});function T(e){return p[e]||null}function L(e){return e in p}function N(e,t){if(L(e)){const n=T(e);if(t in n)return n[t];const r=t.split(".");let o=n;for(let i=0;i<r.length;i++){if(typeof o[r[i]]!="object")return o[r[i]]||null;o=o[r[i]]}return o}return null}function O(e){if(e==null)return null;const t=a(e);for(let n=0;n<t.length;n++){const r=t[n];if(L(r))return r}return null}function q(e,...t){f.update(n=>(n[e]=Object.assign(n[e]||{},...t),n))}const z=$([f],([e])=>Object.keys(e));f.subscribe(e=>p=e);const D=h(!1),M={};function x(e){delete M[e]}function j(e){return M[e]}function A(e){return a(e).reverse().map(t=>{const n=j(t);return[t,n?[...n]:[]]}).filter(([,t])=>t.length>0)}function b(e){return a(e).reverse().some(j)}const c={};function E(e){if(!b(e))return Promise.resolve();if(e in c)return c[e];const t=A(e);if(t.length===0)return Promise.resolve();const n=setTimeout(()=>D.set(!0),y().loadingDelay);return c[e]=Promise.all(t.map(([r,o])=>Promise.all(o.map(i=>i())).then(i=>{x(r),i=i.map(s=>s.default||s),q(r,...i)}))).then(()=>{clearTimeout(n),D.set(!1),delete c[e]}),c[e]}const l=h("");l.subscribe(e=>{S(e),typeof window<"u"&&e!==""&&document.documentElement.setAttribute("lang",e)});const d=l.set;l.set=e=>O(e)&&b(e)?E(e).then(()=>d(e)):d(e);l.update=e=>{let t=g();e(t),d(t)};const u={},Z=(e,t,n)=>n&&(t in u||(u[t]={}),e in u[t]||(u[t][e]=n),n),J=(e,t)=>{if(t==null)return;if(t in u&&e in u[t])return u[t][e];const n=a(t);for(let r=0;r<n.length;r++){const o=n[r],i=N(o,e);if(i)return Z(e,t,i)}},V=(e,t,n={})=>{const r=typeof t=="string"?t:t.id,o=typeof t=="string"?n:t,{values:i,locale:s=e||g(),default:k}=o;if(s==null)throw new Error("[svelte-intl-precompile] Cannot format a message without first setting the initial locale.");let m=J(r,s);return typeof m=="string"?m:typeof m=="function"?m(...Object.keys(o.values||{}).sort().map(C=>(o.values||{})[C])):(y().warnOnMissingMessages&&console.warn(`[svelte-intl-precompile] The message "${r}" was not found in "${a(s).join('", "')}".${b(g())?` 2 3Note: there are at least one loader still registered to this locale that wasn't executed.`:""}`),k||r)},B=$([l,f],([e])=>V.bind(null,e));export{l as $,B as a,g as b,q as c,z as d,y as g};
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.