PageSourceSearch

https://merginit.com/_app/immutable/chunks/L-e-FooV.js

js merginit.com collected 2026-10-01 13:55:35 UTC 2,597 bytes, 1 lines download raw bytes

1const U={};const L=["en","de"],b="PARAGLIDE_LOCALE";const g=["cookie","globalVariable","baseLocale"],w=[];let p,m;function _(e){if(w.length===0)return;const t=typeof e=="string"?e:e.href;if(p===t)return m;const o=new URL(t,"http://dummy.com");let n;for(const r of w)if(new U(r.match,o.href).exec(o.href)){n=r;break}return p=t,m=n,n}function S(e){const t=_(e);return t&&t.exclude!==!0&&Array.isArray(t.strategy)?t.strategy:g}globalThis.__paraglide=globalThis.__paraglide??{};globalThis.__paraglide.ssr=globalThis.__paraglide.ssr??{};let f,y=!1,v=()=>{var o;let e=g;typeof window<"u"&&((o=window.location)!=null&&o.href)&&(e=S(window.location.href));const t=x(e);if(t)return y||(f=t,y=!0,$(t,{reload:!1})),t;throw new Error("No locale found. Read the docs https://paraglidejs.com/errors#no-locale-found")};function x(e,t){let o;for(const n of e){if(n==="cookie")o=P();else if(n==="baseLocale")o="en";else if(n==="globalVariable"&&f!==void 0)o=f;else if(k(n)&&u.has(n)){const i=u.get(n);if(i){const l=i.getLocale();if(l instanceof Promise)continue;if(l!==void 0)return E(l)}}const r=d(o);if(r)return r}}const A=e=>{window.location.reload()};let $=(e,t)=>{var h;const o={reload:!0,...t};let n;try{n=v()}catch{}const r=[];let i=g;typeof window<"u"&&((h=window.location)!=null&&h.href)&&(i=S(window.location.href));for(const a of i)if(a==="globalVariable")f=e;else if(a==="cookie"){if(typeof document>"u"||typeof window>"u")continue;const c=`${b}=${e}; path=/; max-age=34560000`;document.cookie=c}else{if(a==="baseLocale")continue;if(k(a)&&u.has(a)){const c=u.get(a);if(c){let s=c.setLocale(e);s instanceof Promise&&(s=s.catch(R=>{throw new Error(`Custom strategy "${a}" setLocale failed.`,{cause:R})}),r.push(s))}}}const l=()=>{o.reload&&window.location&&e!==n&&A()};if(r.length)return Promise.all(r).then(()=>{l()});l()},C=()=>typeof window<"u"?window.location.origin:"http://fallback.com";function d(e){if(typeof e!="string")return;const t=e.toLowerCase();for(const o of L)if(o.toLowerCase()===t)return o}function E(e){const t=d(e);if(t)return t;throw new Error(`Invalid locale: ${e}. Expected one of: ${L.join(", ")}`)}function P(){if(typeof document>"u"||!document.cookie)return;const e=document.cookie.match(new RegExp(`(^| )${b}=([^;]+)`)),t=e==null?void 0:e[2];return d(t)}function j(e){return T(e)}function T(e){const t=typeof e=="string"?new URL(e,C()):new URL(e),o=t.pathname.split("/").filter(Boolean);return o.length>0&&d(o[0])&&(t.pathname="/"+o.slice(1).join("/")),t}const u=new Map;function k(e){return typeof e=="string"&&/^custom-[A-Za-z0-9_-]+$/.test(e)}export{j as d,v as g,$ as s};

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.