PageSourceSearch

https://shadcn-svelte.com/_app/immutable/chunks/NrzE2TuI.js

js shadcn-svelte.com collected 2026-09-24 10:33:45 UTC 1,332 bytes, 1 lines download raw bytes

1import{Aa as e,Oa as t,aa as n}from"./giuxF_U9.js";import{a as r,i,t as a}from"./CwGpn_28.js";import{o}from"./BxnDnCW2.js";var s=`scn_user_config`,c=i({layout:a([`fixed`,`full`]).default(`full`),installationType:a([`cli`,`manual`]).default(`cli`),packageManager:a([`npm`,`yarn`,`pnpm`,`bun`]).default(`pnpm`),colorFormat:a([`class`,`hex`,`rgb`,`hsl`,`oklch`,`var`]).default(`oklch`),activeTheme:r().default(`default`)}).default({layout:`full`,installationType:`cli`,packageManager:`npm`,colorFormat:`hsl`,activeTheme:`default`});function l(e){let t=c.safeParse(e);return t.success?t.data:c.parse({})}function u(e){if(!e)return l({});try{return l(JSON.parse(e))}catch{return l({})}}function d(e){let t=e.split(`;`),n={};for(let e of t){let[t,r]=e.split(`=`);n[t.trim()]=decodeURIComponent(r)}return n}function f(e){let t=d(e)[s];return u(t)}var p=class{#e;constructor(t){this.#e=e(t)}get current(){return n(this.#e)}setConfig(e){t(this.#e,{...n(this.#e),...e}),document.cookie=`${s}=${encodeURIComponent(JSON.stringify(n(this.#e)))}; path=/; max-age=31536000; SameSite=Lax;`,e.layout&&m(n(this.#e).layout)}};function m(e){typeof document>`u`||(document.documentElement.classList.remove(`layout-fixed`,`layout-full`),document.documentElement.classList.add(`layout-${e}`))}var h=new o(`UserConfigContext`);export{h as n,f as r,p 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.