@kozou/svelte-ui 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -5
- package/build/client/_app/immutable/assets/0.B45CfnXC.css +2 -0
- package/build/client/_app/immutable/assets/0.B45CfnXC.css.br +0 -0
- package/build/client/_app/immutable/assets/0.B45CfnXC.css.gz +0 -0
- package/build/client/_app/immutable/chunks/{BpIM_fT8.js → 1PNfJiP5.js} +1 -1
- package/build/client/_app/immutable/chunks/1PNfJiP5.js.br +0 -0
- package/build/client/_app/immutable/chunks/1PNfJiP5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DdEzykkf.js → BGlZ6pi5.js} +1 -1
- package/build/client/_app/immutable/chunks/BGlZ6pi5.js.br +0 -0
- package/build/client/_app/immutable/chunks/BGlZ6pi5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{Dq0SIjgq.js → BtuhG-H4.js} +3 -3
- package/build/client/_app/immutable/chunks/BtuhG-H4.js.br +0 -0
- package/build/client/_app/immutable/chunks/BtuhG-H4.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cj8LiudX.js +1 -0
- package/build/client/_app/immutable/chunks/Cj8LiudX.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cj8LiudX.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DBEFBeMj.js +4 -0
- package/build/client/_app/immutable/chunks/DBEFBeMj.js.br +0 -0
- package/build/client/_app/immutable/chunks/DBEFBeMj.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.Bvag4tCl.js +2 -0
- package/build/client/_app/immutable/entry/app.Bvag4tCl.js.br +0 -0
- package/build/client/_app/immutable/entry/app.Bvag4tCl.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.LblF-EQS.js +1 -0
- package/build/client/_app/immutable/entry/start.LblF-EQS.js.br +0 -0
- package/build/client/_app/immutable/entry/start.LblF-EQS.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.DAriStmJ.js +1 -0
- package/build/client/_app/immutable/nodes/0.DAriStmJ.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.DAriStmJ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.BsPFUf94.js +1 -0
- package/build/client/_app/immutable/nodes/1.BsPFUf94.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.BsPFUf94.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.C3ChRVrO.js +1 -0
- package/build/client/_app/immutable/nodes/2.C3ChRVrO.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.C3ChRVrO.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.CL9ksnmY.js +1 -0
- package/build/client/_app/immutable/nodes/3.CL9ksnmY.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.CL9ksnmY.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.DtLS6k2o.js +1 -0
- package/build/client/_app/immutable/nodes/4.DtLS6k2o.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.DtLS6k2o.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.KZ-_jwmy.js +1 -0
- package/build/client/_app/immutable/nodes/5.KZ-_jwmy.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.KZ-_jwmy.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.CU--nLo8.js +1 -0
- package/build/client/_app/immutable/nodes/6.CU--nLo8.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.CU--nLo8.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.zir-jrfl.js +1 -0
- package/build/client/_app/immutable/nodes/7.zir-jrfl.js.br +4 -0
- package/build/client/_app/immutable/nodes/7.zir-jrfl.js.gz +0 -0
- package/build/client/_app/version.json +1 -1
- package/build/client/_app/version.json.br +0 -0
- package/build/client/_app/version.json.gz +0 -0
- package/build/server/chunks/{0-Cpki24QE.js → 0-D3i8OEah.js} +4 -4
- package/build/server/chunks/{0-Cpki24QE.js.map → 0-D3i8OEah.js.map} +1 -1
- package/build/server/chunks/{1-C_Zl16E8.js → 1-DzxHUU9X.js} +3 -3
- package/build/server/chunks/{1-C_Zl16E8.js.map → 1-DzxHUU9X.js.map} +1 -1
- package/build/server/chunks/{2-Bb7ROZP0.js → 2-CE6m9qid.js} +3 -3
- package/build/server/chunks/{2-Bb7ROZP0.js.map → 2-CE6m9qid.js.map} +1 -1
- package/build/server/chunks/{3-dXQmFZGn.js → 3-C50aWcyD.js} +6 -7
- package/build/server/chunks/3-C50aWcyD.js.map +1 -0
- package/build/server/chunks/4-CemFHSpb.js +103 -0
- package/build/server/chunks/4-CemFHSpb.js.map +1 -0
- package/build/server/chunks/{5-CKRn1yVS.js → 5-7pEUMjiC.js} +11 -11
- package/build/server/chunks/5-7pEUMjiC.js.map +1 -0
- package/build/server/chunks/{6-C7PGuXlN.js → 6-D9GQm8YW.js} +11 -11
- package/build/server/chunks/6-D9GQm8YW.js.map +1 -0
- package/build/server/chunks/{7-BtKcX-UD.js → 7-BAhFrC8Z.js} +5 -5
- package/build/server/chunks/7-BAhFrC8Z.js.map +1 -0
- package/build/server/chunks/ListTable-BxIw_RVF.js +117 -0
- package/build/server/chunks/ListTable-BxIw_RVF.js.map +1 -0
- package/build/server/chunks/{_layout.svelte-DcwZs9VT.js → _layout.svelte-ClzaQTuQ.js} +2 -2
- package/build/server/chunks/{_layout.svelte-DcwZs9VT.js.map → _layout.svelte-ClzaQTuQ.js.map} +1 -1
- package/build/server/chunks/{_page.svelte-BywGr3Tk.js → _page.svelte-BN1au56r.js} +2 -2
- package/build/server/chunks/{_page.svelte-BywGr3Tk.js.map → _page.svelte-BN1au56r.js.map} +1 -1
- package/build/server/chunks/_page.svelte-CRH5Ib1y.js +23 -0
- package/build/server/chunks/_page.svelte-CRH5Ib1y.js.map +1 -0
- package/build/server/chunks/_page.svelte-CUhqt56V.js +22 -0
- package/build/server/chunks/_page.svelte-CUhqt56V.js.map +1 -0
- package/build/server/chunks/{_page.svelte-ClFWSFQK.js → _page.svelte-Cb1PRFXV.js} +8 -8
- package/build/server/chunks/{_page.svelte-ClFWSFQK.js.map → _page.svelte-Cb1PRFXV.js.map} +1 -1
- package/build/server/chunks/{_page.svelte-69okwN_x.js → _page.svelte-DZ1za0Cu.js} +8 -8
- package/build/server/chunks/{_page.svelte-69okwN_x.js.map → _page.svelte-DZ1za0Cu.js.map} +1 -1
- package/build/server/chunks/{_page.svelte-7DhzytBp.js → _page.svelte-HcBHNRCj.js} +11 -4
- package/build/server/chunks/_page.svelte-HcBHNRCj.js.map +1 -0
- package/build/server/chunks/{adapter-DSZ-_PM_.js → adapter-BGid8Q1v.js} +202 -26
- package/build/server/chunks/adapter-BGid8Q1v.js.map +1 -0
- package/build/server/chunks/{app-C1bzfcjj.js → app-DST8OmzT.js} +2 -2
- package/build/server/chunks/{app-C1bzfcjj.js.map → app-DST8OmzT.js.map} +1 -1
- package/build/server/chunks/{client-nr13Vsqj.js → client-C1WmpErn.js} +4 -4
- package/build/server/chunks/{client-nr13Vsqj.js.map → client-C1WmpErn.js.map} +1 -1
- package/build/server/chunks/{dev-yRSoS_kM.js → dev-yFiAtg5l.js} +29 -29
- package/build/server/chunks/{dev-yRSoS_kM.js.map → dev-yFiAtg5l.js.map} +1 -1
- package/build/server/chunks/{error.svelte-B8LolEv3.js → error.svelte-19koGrze.js} +7 -7
- package/build/server/chunks/{error.svelte-B8LolEv3.js.map → error.svelte-19koGrze.js.map} +1 -1
- package/build/server/chunks/{hooks.server-BgTiHdgV.js → hooks.server-CDtUSdHp.js} +13056 -10697
- package/build/server/chunks/hooks.server-CDtUSdHp.js.map +1 -0
- package/build/server/chunks/index-5kYmxIr9.js.map +1 -1
- package/build/server/chunks/index-DBqjc0Yf.js.map +1 -1
- package/build/server/chunks/{internal-Dtmf8fV4.js → internal-BE2MZeJV.js} +22 -24
- package/build/server/chunks/internal-BE2MZeJV.js.map +1 -0
- package/build/server/chunks/{list-params-DjWk7B1o.js → list-params-Cw6PMHbk.js} +2 -3
- package/build/server/chunks/list-params-Cw6PMHbk.js.map +1 -0
- package/build/server/chunks/{widget-registry-Bfc0OPDn.js → widget-registry-CYJ6dCZP.js} +2 -2
- package/build/server/chunks/{widget-registry-Bfc0OPDn.js.map → widget-registry-CYJ6dCZP.js.map} +1 -1
- package/build/server/chunks/{zod-from-table-HRMJdgEv.js → zod-from-table-Cy0Gx9lc.js} +120 -1133
- package/build/server/chunks/zod-from-table-Cy0Gx9lc.js.map +1 -0
- package/build/server/index.js +32 -32
- package/build/server/index.js.map +1 -1
- package/build/server/manifest.js +9 -9
- package/build/server/manifest.js.map +1 -1
- package/package.json +15 -7
- package/build/client/_app/immutable/assets/0.Cg4B63gQ.css +0 -2
- package/build/client/_app/immutable/assets/0.Cg4B63gQ.css.br +0 -0
- package/build/client/_app/immutable/assets/0.Cg4B63gQ.css.gz +0 -0
- package/build/client/_app/immutable/chunks/BpIM_fT8.js.br +0 -0
- package/build/client/_app/immutable/chunks/BpIM_fT8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D4orYVgu.js +0 -4
- package/build/client/_app/immutable/chunks/D4orYVgu.js.br +0 -0
- package/build/client/_app/immutable/chunks/D4orYVgu.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DdEzykkf.js.br +0 -0
- package/build/client/_app/immutable/chunks/DdEzykkf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dq0SIjgq.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dq0SIjgq.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.B2E2jsYG.js +0 -2
- package/build/client/_app/immutable/entry/app.B2E2jsYG.js.br +0 -0
- package/build/client/_app/immutable/entry/app.B2E2jsYG.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.Ccv3-hR2.js +0 -1
- package/build/client/_app/immutable/entry/start.Ccv3-hR2.js.br +0 -0
- package/build/client/_app/immutable/entry/start.Ccv3-hR2.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.C77vZJGR.js +0 -1
- package/build/client/_app/immutable/nodes/0.C77vZJGR.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.C77vZJGR.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.9-mDK_1B.js +0 -1
- package/build/client/_app/immutable/nodes/1.9-mDK_1B.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.9-mDK_1B.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.DKSRkbg2.js +0 -1
- package/build/client/_app/immutable/nodes/2.DKSRkbg2.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.DKSRkbg2.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.BRseKH3J.js +0 -1
- package/build/client/_app/immutable/nodes/3.BRseKH3J.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.BRseKH3J.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.D1ErMjLn.js +0 -1
- package/build/client/_app/immutable/nodes/4.D1ErMjLn.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.D1ErMjLn.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.U1CG0AZz.js +0 -1
- package/build/client/_app/immutable/nodes/5.U1CG0AZz.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.U1CG0AZz.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.BqfsXcpL.js +0 -1
- package/build/client/_app/immutable/nodes/6.BqfsXcpL.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.BqfsXcpL.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.Bfhyc_gZ.js +0 -1
- package/build/client/_app/immutable/nodes/7.Bfhyc_gZ.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.Bfhyc_gZ.js.gz +0 -0
- package/build/server/chunks/3-dXQmFZGn.js.map +0 -1
- package/build/server/chunks/4-Dn5qQ29L.js +0 -54
- package/build/server/chunks/4-Dn5qQ29L.js.map +0 -1
- package/build/server/chunks/5-CKRn1yVS.js.map +0 -1
- package/build/server/chunks/6-C7PGuXlN.js.map +0 -1
- package/build/server/chunks/7-BtKcX-UD.js.map +0 -1
- package/build/server/chunks/_page.svelte-7DhzytBp.js.map +0 -1
- package/build/server/chunks/_page.svelte-BpS5HgaB.js +0 -78
- package/build/server/chunks/_page.svelte-BpS5HgaB.js.map +0 -1
- package/build/server/chunks/_page.svelte-Dfaz3pC_.js +0 -86
- package/build/server/chunks/_page.svelte-Dfaz3pC_.js.map +0 -1
- package/build/server/chunks/adapter-DSZ-_PM_.js.map +0 -1
- package/build/server/chunks/hooks.server-BgTiHdgV.js.map +0 -1
- package/build/server/chunks/internal-Dtmf8fV4.js.map +0 -1
- package/build/server/chunks/list-params-DjWk7B1o.js.map +0 -1
- package/build/server/chunks/zod-from-table-HRMJdgEv.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-5kYmxIr9.js","sources":["../../../../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_vite@8.0.14_@type_260c3daced0e24b679dd557260bbc4f1/node_modules/@sveltejs/kit/src/runtime/utils.js","../../../../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_vite@8.0.14_@type_260c3daced0e24b679dd557260bbc4f1/node_modules/@sveltejs/kit/src/exports/index.js"],"sourcesContent":["import { BROWSER } from 'esm-env';\n\nexport const text_encoder = new TextEncoder();\n\n/**\n * Like node's path.relative, but without using node\n * @param {string} from\n * @param {string} to\n */\nexport function get_relative_path(from, to) {\n\tconst from_parts = from.split(/[/\\\\]/);\n\tconst to_parts = to.split(/[/\\\\]/);\n\tfrom_parts.pop(); // get dirname\n\n\twhile (from_parts[0] === to_parts[0]) {\n\t\tfrom_parts.shift();\n\t\tto_parts.shift();\n\t}\n\n\tlet i = from_parts.length;\n\twhile (i--) from_parts[i] = '..';\n\n\treturn from_parts.concat(to_parts).join('/');\n}\n\n/**\n * @param {Uint8Array} bytes\n * @returns {string}\n */\nexport function base64_encode(bytes) {\n\t// Using `Buffer` is faster than iterating\n\tif (!BROWSER && globalThis.Buffer) {\n\t\treturn globalThis.Buffer.from(bytes).toString('base64');\n\t}\n\n\tlet binary = '';\n\n\tfor (let i = 0; i < bytes.length; i++) {\n\t\tbinary += String.fromCharCode(bytes[i]);\n\t}\n\n\treturn btoa(binary);\n}\n\n/**\n * @param {string} encoded\n * @returns {Uint8Array}\n */\nexport function base64_decode(encoded) {\n\t// Using `Buffer` is faster than iterating\n\tif (!BROWSER && globalThis.Buffer) {\n\t\tconst buffer = globalThis.Buffer.from(encoded, 'base64');\n\t\treturn new Uint8Array(buffer);\n\t}\n\n\tconst binary = atob(encoded);\n\tconst bytes = new Uint8Array(binary.length);\n\n\tfor (let i = 0; i < binary.length; i++) {\n\t\tbytes[i] = binary.charCodeAt(i);\n\t}\n\n\treturn bytes;\n}\n","/** @import { StandardSchemaV1 } from '@standard-schema/spec' */\n\nimport { HttpError, Redirect, ActionFailure, ValidationError } from './internal/index.js';\nimport { BROWSER, DEV } from 'esm-env';\nimport {\n\tadd_data_suffix,\n\tadd_resolution_suffix,\n\thas_data_suffix,\n\thas_resolution_suffix,\n\tstrip_data_suffix,\n\tstrip_resolution_suffix\n} from '../runtime/pathname.js';\nimport { text_encoder } from '../runtime/utils.js';\n\nexport { VERSION } from '../version.js';\n\n// TODO 3.0: remove these types as they are not used anymore (we can't remove them yet because that would be a breaking change)\n/**\n * @template {number} TNumber\n * @template {any[]} [TArray=[]]\n * @typedef {TNumber extends TArray['length'] ? TArray[number] : LessThan<TNumber, [...TArray, TArray['length']]>} LessThan\n */\n\n/**\n * @template {number} TStart\n * @template {number} TEnd\n * @typedef {Exclude<TEnd | LessThan<TEnd>, LessThan<TStart>>} NumericRange\n */\n\n// Keep the status codes as `number` because restricting to certain numbers makes it unnecessarily hard to use compared to the benefits\n// (we have runtime errors already to check for invalid codes). Also see https://github.com/sveltejs/kit/issues/11780\n\n// we have to repeat the JSDoc because the display for function overloads is broken\n// see https://github.com/microsoft/TypeScript/issues/55056\n\n/**\n * Throws an error with a HTTP status code and an optional message.\n * When called during request handling, this will cause SvelteKit to\n * return an error response without invoking `handleError`.\n * Make sure you're not catching the thrown error, which would prevent SvelteKit from handling it.\n * @param {number} status The [HTTP status code](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#client_error_responses). Must be in the range 400-599.\n * @param {App.Error} body An object that conforms to the App.Error type. If a string is passed, it will be used as the message property.\n * @overload\n * @param {number} status\n * @param {App.Error} body\n * @return {never}\n * @throws {HttpError} This error instructs SvelteKit to initiate HTTP error handling.\n * @throws {Error} If the provided status is invalid (not between 400 and 599).\n */\n/**\n * Throws an error with a HTTP status code and an optional message.\n * When called during request handling, this will cause SvelteKit to\n * return an error response without invoking `handleError`.\n * Make sure you're not catching the thrown error, which would prevent SvelteKit from handling it.\n * @param {number} status The [HTTP status code](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#client_error_responses). Must be in the range 400-599.\n * @param {{ message: string } extends App.Error ? App.Error | string | undefined : never} [body] An object that conforms to the App.Error type. If a string is passed, it will be used as the message property.\n * @overload\n * @param {number} status\n * @param {{ message: string } extends App.Error ? App.Error | string | undefined : never} [body]\n * @return {never}\n * @throws {HttpError} This error instructs SvelteKit to initiate HTTP error handling.\n * @throws {Error} If the provided status is invalid (not between 400 and 599).\n */\n/**\n * Throws an error with a HTTP status code and an optional message.\n * When called during request handling, this will cause SvelteKit to\n * return an error response without invoking `handleError`.\n * Make sure you're not catching the thrown error, which would prevent SvelteKit from handling it.\n * @param {number} status The [HTTP status code](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#client_error_responses). Must be in the range 400-599.\n * @param {{ message: string } extends App.Error ? App.Error | string | undefined : never} body An object that conforms to the App.Error type. If a string is passed, it will be used as the message property.\n * @return {never}\n * @throws {HttpError} This error instructs SvelteKit to initiate HTTP error handling.\n * @throws {Error} If the provided status is invalid (not between 400 and 599).\n */\nexport function error(status, body) {\n\tif ((!BROWSER || DEV) && (isNaN(status) || status < 400 || status > 599)) {\n\t\tthrow new Error(`HTTP error status codes must be between 400 and 599 — ${status} is invalid`);\n\t}\n\n\tthrow new HttpError(status, body);\n}\n\n/**\n * Checks whether this is an error thrown by {@link error}.\n * @template {number} T\n * @param {unknown} e\n * @param {T} [status] The status to filter for.\n * @return {e is (HttpError & { status: T extends undefined ? never : T })}\n */\nexport function isHttpError(e, status) {\n\tif (!(e instanceof HttpError)) return false;\n\treturn !status || e.status === status;\n}\n\n/**\n * Redirect a request. When called during request handling, SvelteKit will return a redirect response.\n * Make sure you're not catching the thrown redirect, which would prevent SvelteKit from handling it.\n *\n * Most common status codes:\n * * `303 See Other`: redirect as a GET request (often used after a form POST request)\n * * `307 Temporary Redirect`: redirect will keep the request method\n * * `308 Permanent Redirect`: redirect will keep the request method, SEO will be transferred to the new page\n *\n * [See all redirect status codes](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#redirection_messages)\n *\n * @param {300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | ({} & number)} status The [HTTP status code](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#redirection_messages). Must be in the range 300-308.\n * @param {string | URL} location The location to redirect to.\n * @throws {Redirect} This error instructs SvelteKit to redirect to the specified location.\n * @throws {Error} If the provided status is invalid or the location cannot be used as a header value.\n * @return {never}\n */\nexport function redirect(status, location) {\n\tif ((!BROWSER || DEV) && (isNaN(status) || status < 300 || status > 308)) {\n\t\tthrow new Error('Invalid status code');\n\t}\n\n\tthrow new Redirect(\n\t\t// @ts-ignore\n\t\tstatus,\n\t\tlocation.toString()\n\t);\n}\n\n/**\n * Checks whether this is a redirect thrown by {@link redirect}.\n * @param {unknown} e The object to check.\n * @return {e is Redirect}\n */\nexport function isRedirect(e) {\n\treturn e instanceof Redirect;\n}\n\n/**\n * Create a JSON `Response` object from the supplied data.\n * @param {any} data The value that will be serialized as JSON.\n * @param {ResponseInit} [init] Options such as `status` and `headers` that will be added to the response. `Content-Type: application/json` and `Content-Length` headers will be added automatically.\n */\nexport function json(data, init) {\n\t// TODO deprecate this in favour of `Response.json` when it's\n\t// more widely supported\n\tconst body = JSON.stringify(data);\n\n\t// we can't just do `text(JSON.stringify(data), init)` because\n\t// it will set a default `content-type` header. duplicated code\n\t// means less duplicated work\n\tconst headers = new Headers(init?.headers);\n\tif (!headers.has('content-length')) {\n\t\theaders.set('content-length', text_encoder.encode(body).byteLength.toString());\n\t}\n\n\tif (!headers.has('content-type')) {\n\t\theaders.set('content-type', 'application/json');\n\t}\n\n\treturn new Response(body, {\n\t\t...init,\n\t\theaders\n\t});\n}\n\n/**\n * Create a `Response` object from the supplied body.\n * @param {string} body The value that will be used as-is.\n * @param {ResponseInit} [init] Options such as `status` and `headers` that will be added to the response. A `Content-Length` header will be added automatically.\n */\nexport function text(body, init) {\n\tconst headers = new Headers(init?.headers);\n\tif (!headers.has('content-length')) {\n\t\tconst encoded = text_encoder.encode(body);\n\t\theaders.set('content-length', encoded.byteLength.toString());\n\t\treturn new Response(encoded, {\n\t\t\t...init,\n\t\t\theaders\n\t\t});\n\t}\n\n\treturn new Response(body, {\n\t\t...init,\n\t\theaders\n\t});\n}\n\n/**\n * Create an `ActionFailure` object. Call when form submission fails.\n * @param {number} status The [HTTP status code](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#client_error_responses). Must be in the range 400-599.\n * @overload\n * @param {number} status\n * @returns {import('./public.js').ActionFailure<undefined>}\n */\n/**\n * Create an `ActionFailure` object. Call when form submission fails.\n * @template [T=undefined]\n * @param {number} status The [HTTP status code](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#client_error_responses). Must be in the range 400-599.\n * @param {T} data Data associated with the failure (e.g. validation errors)\n * @overload\n * @param {number} status\n * @param {T} data\n * @returns {import('./public.js').ActionFailure<T>}\n */\n/**\n * Create an `ActionFailure` object. Call when form submission fails.\n * @param {number} status\n * @param {any} [data]\n * @returns {import('./public.js').ActionFailure<any>}\n */\nexport function fail(status, data) {\n\t// @ts-expect-error unique symbol missing\n\treturn new ActionFailure(status, data);\n}\n\n/**\n * Checks whether this is an action failure thrown by {@link fail}.\n * @param {unknown} e The object to check.\n * @return {e is import('./public.js').ActionFailure}\n */\nexport function isActionFailure(e) {\n\treturn e instanceof ActionFailure;\n}\n\n/**\n * Use this to throw a validation error to imperatively fail form validation.\n * Can be used in combination with `issue` passed to form actions to create field-specific issues.\n *\n * @example\n * ```ts\n * import { invalid } from '@sveltejs/kit';\n * import { form } from '$app/server';\n * import { tryLogin } from '$lib/server/auth';\n * import * as v from 'valibot';\n *\n * export const login = form(\n * v.object({ name: v.string(), _password: v.string() }),\n * async ({ name, _password }) => {\n * const success = tryLogin(name, _password);\n * if (!success) {\n * invalid('Incorrect username or password');\n * }\n *\n * // ...\n * }\n * );\n * ```\n * @param {...(StandardSchemaV1.Issue | string)} issues\n * @returns {never}\n * @since 2.47.3\n */\nexport function invalid(...issues) {\n\tthrow new ValidationError(\n\t\tissues.map((issue) => (typeof issue === 'string' ? { message: issue } : issue))\n\t);\n}\n\n/**\n * Checks whether this is an validation error thrown by {@link invalid}.\n * @param {unknown} e The object to check.\n * @return {e is import('./public.js').ActionFailure}\n * @since 2.47.3\n */\nexport function isValidationError(e) {\n\treturn e instanceof ValidationError;\n}\n\n/**\n * Strips possible SvelteKit-internal suffixes and trailing slashes from the URL pathname.\n * Returns the normalized URL as well as a method for adding the potential suffix back\n * based on a new pathname (possibly including search) or URL.\n * ```js\n * import { normalizeUrl } from '@sveltejs/kit';\n *\n * const { url, denormalize } = normalizeUrl('/blog/post/__data.json');\n * console.log(url.pathname); // /blog/post\n * console.log(denormalize('/blog/post/a')); // /blog/post/a/__data.json\n * ```\n * @param {URL | string} url\n * @returns {{ url: URL, wasNormalized: boolean, denormalize: (url?: string | URL) => URL }}\n * @since 2.18.0\n */\nexport function normalizeUrl(url) {\n\turl = new URL(url, 'a://a');\n\n\tconst is_route_resolution = has_resolution_suffix(url.pathname);\n\tconst is_data_request = has_data_suffix(url.pathname);\n\tconst has_trailing_slash = url.pathname !== '/' && url.pathname.endsWith('/');\n\n\tif (is_route_resolution) {\n\t\turl.pathname = strip_resolution_suffix(url.pathname);\n\t} else if (is_data_request) {\n\t\turl.pathname = strip_data_suffix(url.pathname);\n\t} else if (has_trailing_slash) {\n\t\turl.pathname = url.pathname.slice(0, -1);\n\t}\n\n\treturn {\n\t\turl,\n\t\twasNormalized: is_data_request || is_route_resolution || has_trailing_slash,\n\t\tdenormalize: (new_url = url) => {\n\t\t\tnew_url = new URL(new_url, url);\n\t\t\tif (is_route_resolution) {\n\t\t\t\tnew_url.pathname = add_resolution_suffix(new_url.pathname);\n\t\t\t} else if (is_data_request) {\n\t\t\t\tnew_url.pathname = add_data_suffix(new_url.pathname);\n\t\t\t} else if (has_trailing_slash && !new_url.pathname.endsWith('/')) {\n\t\t\t\tnew_url.pathname += '/';\n\t\t\t}\n\t\t\treturn new_url;\n\t\t}\n\t};\n}\n"],"names":[],"mappings":"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","x_google_ignoreList":[0,1]}
|
|
1
|
+
{"version":3,"file":"index-5kYmxIr9.js","sources":["../../../../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_692b2477997906027053802989c8d7b8/node_modules/@sveltejs/kit/src/runtime/utils.js","../../../../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_692b2477997906027053802989c8d7b8/node_modules/@sveltejs/kit/src/exports/index.js"],"sourcesContent":["import { BROWSER } from 'esm-env';\n\nexport const text_encoder = new TextEncoder();\n\n/**\n * Like node's path.relative, but without using node\n * @param {string} from\n * @param {string} to\n */\nexport function get_relative_path(from, to) {\n\tconst from_parts = from.split(/[/\\\\]/);\n\tconst to_parts = to.split(/[/\\\\]/);\n\tfrom_parts.pop(); // get dirname\n\n\twhile (from_parts[0] === to_parts[0]) {\n\t\tfrom_parts.shift();\n\t\tto_parts.shift();\n\t}\n\n\tlet i = from_parts.length;\n\twhile (i--) from_parts[i] = '..';\n\n\treturn from_parts.concat(to_parts).join('/');\n}\n\n/**\n * @param {Uint8Array} bytes\n * @returns {string}\n */\nexport function base64_encode(bytes) {\n\t// Using `Buffer` is faster than iterating\n\tif (!BROWSER && globalThis.Buffer) {\n\t\treturn globalThis.Buffer.from(bytes).toString('base64');\n\t}\n\n\tlet binary = '';\n\n\tfor (let i = 0; i < bytes.length; i++) {\n\t\tbinary += String.fromCharCode(bytes[i]);\n\t}\n\n\treturn btoa(binary);\n}\n\n/**\n * @param {string} encoded\n * @returns {Uint8Array}\n */\nexport function base64_decode(encoded) {\n\t// Using `Buffer` is faster than iterating\n\tif (!BROWSER && globalThis.Buffer) {\n\t\tconst buffer = globalThis.Buffer.from(encoded, 'base64');\n\t\treturn new Uint8Array(buffer);\n\t}\n\n\tconst binary = atob(encoded);\n\tconst bytes = new Uint8Array(binary.length);\n\n\tfor (let i = 0; i < binary.length; i++) {\n\t\tbytes[i] = binary.charCodeAt(i);\n\t}\n\n\treturn bytes;\n}\n","/** @import { StandardSchemaV1 } from '@standard-schema/spec' */\n\nimport { HttpError, Redirect, ActionFailure, ValidationError } from './internal/index.js';\nimport { BROWSER, DEV } from 'esm-env';\nimport {\n\tadd_data_suffix,\n\tadd_resolution_suffix,\n\thas_data_suffix,\n\thas_resolution_suffix,\n\tstrip_data_suffix,\n\tstrip_resolution_suffix\n} from '../runtime/pathname.js';\nimport { text_encoder } from '../runtime/utils.js';\n\nexport { VERSION } from '../version.js';\n\n// TODO 3.0: remove these types as they are not used anymore (we can't remove them yet because that would be a breaking change)\n/**\n * @template {number} TNumber\n * @template {any[]} [TArray=[]]\n * @typedef {TNumber extends TArray['length'] ? TArray[number] : LessThan<TNumber, [...TArray, TArray['length']]>} LessThan\n */\n\n/**\n * @template {number} TStart\n * @template {number} TEnd\n * @typedef {Exclude<TEnd | LessThan<TEnd>, LessThan<TStart>>} NumericRange\n */\n\n// Keep the status codes as `number` because restricting to certain numbers makes it unnecessarily hard to use compared to the benefits\n// (we have runtime errors already to check for invalid codes). Also see https://github.com/sveltejs/kit/issues/11780\n\n// we have to repeat the JSDoc because the display for function overloads is broken\n// see https://github.com/microsoft/TypeScript/issues/55056\n\n/**\n * Throws an error with a HTTP status code and an optional message.\n * When called during request handling, this will cause SvelteKit to\n * return an error response without invoking `handleError`.\n * Make sure you're not catching the thrown error, which would prevent SvelteKit from handling it.\n * @param {number} status The [HTTP status code](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#client_error_responses). Must be in the range 400-599.\n * @param {App.Error} body An object that conforms to the App.Error type. If a string is passed, it will be used as the message property.\n * @overload\n * @param {number} status\n * @param {App.Error} body\n * @return {never}\n * @throws {HttpError} This error instructs SvelteKit to initiate HTTP error handling.\n * @throws {Error} If the provided status is invalid (not between 400 and 599).\n */\n/**\n * Throws an error with a HTTP status code and an optional message.\n * When called during request handling, this will cause SvelteKit to\n * return an error response without invoking `handleError`.\n * Make sure you're not catching the thrown error, which would prevent SvelteKit from handling it.\n * @param {number} status The [HTTP status code](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#client_error_responses). Must be in the range 400-599.\n * @param {{ message: string } extends App.Error ? App.Error | string | undefined : never} [body] An object that conforms to the App.Error type. If a string is passed, it will be used as the message property.\n * @overload\n * @param {number} status\n * @param {{ message: string } extends App.Error ? App.Error | string | undefined : never} [body]\n * @return {never}\n * @throws {HttpError} This error instructs SvelteKit to initiate HTTP error handling.\n * @throws {Error} If the provided status is invalid (not between 400 and 599).\n */\n/**\n * Throws an error with a HTTP status code and an optional message.\n * When called during request handling, this will cause SvelteKit to\n * return an error response without invoking `handleError`.\n * Make sure you're not catching the thrown error, which would prevent SvelteKit from handling it.\n * @param {number} status The [HTTP status code](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#client_error_responses). Must be in the range 400-599.\n * @param {{ message: string } extends App.Error ? App.Error | string | undefined : never} body An object that conforms to the App.Error type. If a string is passed, it will be used as the message property.\n * @return {never}\n * @throws {HttpError} This error instructs SvelteKit to initiate HTTP error handling.\n * @throws {Error} If the provided status is invalid (not between 400 and 599).\n */\nexport function error(status, body) {\n\tif ((!BROWSER || DEV) && (isNaN(status) || status < 400 || status > 599)) {\n\t\tthrow new Error(`HTTP error status codes must be between 400 and 599 — ${status} is invalid`);\n\t}\n\n\tthrow new HttpError(status, body);\n}\n\n/**\n * Checks whether this is an error thrown by {@link error}.\n * @template {number} T\n * @param {unknown} e\n * @param {T} [status] The status to filter for.\n * @return {e is (HttpError & { status: T extends undefined ? never : T })}\n */\nexport function isHttpError(e, status) {\n\tif (!(e instanceof HttpError)) return false;\n\treturn !status || e.status === status;\n}\n\n/**\n * Redirect a request. When called during request handling, SvelteKit will return a redirect response.\n * Make sure you're not catching the thrown redirect, which would prevent SvelteKit from handling it.\n *\n * Most common status codes:\n * * `303 See Other`: redirect as a GET request (often used after a form POST request)\n * * `307 Temporary Redirect`: redirect will keep the request method\n * * `308 Permanent Redirect`: redirect will keep the request method, SEO will be transferred to the new page\n *\n * [See all redirect status codes](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#redirection_messages)\n *\n * @param {300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | ({} & number)} status The [HTTP status code](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#redirection_messages). Must be in the range 300-308.\n * @param {string | URL} location The location to redirect to.\n * @throws {Redirect} This error instructs SvelteKit to redirect to the specified location.\n * @throws {Error} If the provided status is invalid or the location cannot be used as a header value.\n * @return {never}\n */\nexport function redirect(status, location) {\n\tif ((!BROWSER || DEV) && (isNaN(status) || status < 300 || status > 308)) {\n\t\tthrow new Error('Invalid status code');\n\t}\n\n\tthrow new Redirect(\n\t\t// @ts-ignore\n\t\tstatus,\n\t\tlocation.toString()\n\t);\n}\n\n/**\n * Checks whether this is a redirect thrown by {@link redirect}.\n * @param {unknown} e The object to check.\n * @return {e is Redirect}\n */\nexport function isRedirect(e) {\n\treturn e instanceof Redirect;\n}\n\n/**\n * Create a JSON `Response` object from the supplied data.\n * @param {any} data The value that will be serialized as JSON.\n * @param {ResponseInit} [init] Options such as `status` and `headers` that will be added to the response. `Content-Type: application/json` and `Content-Length` headers will be added automatically.\n */\nexport function json(data, init) {\n\t// TODO deprecate this in favour of `Response.json` when it's\n\t// more widely supported\n\tconst body = JSON.stringify(data);\n\n\t// we can't just do `text(JSON.stringify(data), init)` because\n\t// it will set a default `content-type` header. duplicated code\n\t// means less duplicated work\n\tconst headers = new Headers(init?.headers);\n\tif (!headers.has('content-length')) {\n\t\theaders.set('content-length', text_encoder.encode(body).byteLength.toString());\n\t}\n\n\tif (!headers.has('content-type')) {\n\t\theaders.set('content-type', 'application/json');\n\t}\n\n\treturn new Response(body, {\n\t\t...init,\n\t\theaders\n\t});\n}\n\n/**\n * Create a `Response` object from the supplied body.\n * @param {string} body The value that will be used as-is.\n * @param {ResponseInit} [init] Options such as `status` and `headers` that will be added to the response. A `Content-Length` header will be added automatically.\n */\nexport function text(body, init) {\n\tconst headers = new Headers(init?.headers);\n\tif (!headers.has('content-length')) {\n\t\tconst encoded = text_encoder.encode(body);\n\t\theaders.set('content-length', encoded.byteLength.toString());\n\t\treturn new Response(encoded, {\n\t\t\t...init,\n\t\t\theaders\n\t\t});\n\t}\n\n\treturn new Response(body, {\n\t\t...init,\n\t\theaders\n\t});\n}\n\n/**\n * Create an `ActionFailure` object. Call when form submission fails.\n * @param {number} status The [HTTP status code](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#client_error_responses). Must be in the range 400-599.\n * @overload\n * @param {number} status\n * @returns {import('./public.js').ActionFailure<undefined>}\n */\n/**\n * Create an `ActionFailure` object. Call when form submission fails.\n * @template [T=undefined]\n * @param {number} status The [HTTP status code](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#client_error_responses). Must be in the range 400-599.\n * @param {T} data Data associated with the failure (e.g. validation errors)\n * @overload\n * @param {number} status\n * @param {T} data\n * @returns {import('./public.js').ActionFailure<T>}\n */\n/**\n * Create an `ActionFailure` object. Call when form submission fails.\n * @param {number} status\n * @param {any} [data]\n * @returns {import('./public.js').ActionFailure<any>}\n */\nexport function fail(status, data) {\n\t// @ts-expect-error unique symbol missing\n\treturn new ActionFailure(status, data);\n}\n\n/**\n * Checks whether this is an action failure thrown by {@link fail}.\n * @param {unknown} e The object to check.\n * @return {e is import('./public.js').ActionFailure}\n */\nexport function isActionFailure(e) {\n\treturn e instanceof ActionFailure;\n}\n\n/**\n * Use this to throw a validation error to imperatively fail form validation.\n * Can be used in combination with `issue` passed to form actions to create field-specific issues.\n *\n * @example\n * ```ts\n * import { invalid } from '@sveltejs/kit';\n * import { form } from '$app/server';\n * import { tryLogin } from '$lib/server/auth';\n * import * as v from 'valibot';\n *\n * export const login = form(\n * v.object({ name: v.string(), _password: v.string() }),\n * async ({ name, _password }) => {\n * const success = tryLogin(name, _password);\n * if (!success) {\n * invalid('Incorrect username or password');\n * }\n *\n * // ...\n * }\n * );\n * ```\n * @param {...(StandardSchemaV1.Issue | string)} issues\n * @returns {never}\n * @since 2.47.3\n */\nexport function invalid(...issues) {\n\tthrow new ValidationError(\n\t\tissues.map((issue) => (typeof issue === 'string' ? { message: issue } : issue))\n\t);\n}\n\n/**\n * Checks whether this is an validation error thrown by {@link invalid}.\n * @param {unknown} e The object to check.\n * @return {e is import('./public.js').ActionFailure}\n * @since 2.47.3\n */\nexport function isValidationError(e) {\n\treturn e instanceof ValidationError;\n}\n\n/**\n * Strips possible SvelteKit-internal suffixes and trailing slashes from the URL pathname.\n * Returns the normalized URL as well as a method for adding the potential suffix back\n * based on a new pathname (possibly including search) or URL.\n * ```js\n * import { normalizeUrl } from '@sveltejs/kit';\n *\n * const { url, denormalize } = normalizeUrl('/blog/post/__data.json');\n * console.log(url.pathname); // /blog/post\n * console.log(denormalize('/blog/post/a')); // /blog/post/a/__data.json\n * ```\n * @param {URL | string} url\n * @returns {{ url: URL, wasNormalized: boolean, denormalize: (url?: string | URL) => URL }}\n * @since 2.18.0\n */\nexport function normalizeUrl(url) {\n\turl = new URL(url, 'a://a');\n\n\tconst is_route_resolution = has_resolution_suffix(url.pathname);\n\tconst is_data_request = has_data_suffix(url.pathname);\n\tconst has_trailing_slash = url.pathname !== '/' && url.pathname.endsWith('/');\n\n\tif (is_route_resolution) {\n\t\turl.pathname = strip_resolution_suffix(url.pathname);\n\t} else if (is_data_request) {\n\t\turl.pathname = strip_data_suffix(url.pathname);\n\t} else if (has_trailing_slash) {\n\t\turl.pathname = url.pathname.slice(0, -1);\n\t}\n\n\treturn {\n\t\turl,\n\t\twasNormalized: is_data_request || is_route_resolution || has_trailing_slash,\n\t\tdenormalize: (new_url = url) => {\n\t\t\tnew_url = new URL(new_url, url);\n\t\t\tif (is_route_resolution) {\n\t\t\t\tnew_url.pathname = add_resolution_suffix(new_url.pathname);\n\t\t\t} else if (is_data_request) {\n\t\t\t\tnew_url.pathname = add_data_suffix(new_url.pathname);\n\t\t\t} else if (has_trailing_slash && !new_url.pathname.endsWith('/')) {\n\t\t\t\tnew_url.pathname += '/';\n\t\t\t}\n\t\t\treturn new_url;\n\t\t}\n\t};\n}\n"],"names":[],"mappings":"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","x_google_ignoreList":[0,1]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-DBqjc0Yf.js","sources":["../../../../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.
|
|
1
|
+
{"version":3,"file":"index-DBqjc0Yf.js","sources":["../../../../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_692b2477997906027053802989c8d7b8/node_modules/@sveltejs/kit/src/exports/internal/index.js"],"sourcesContent":["/** @import { StandardSchemaV1 } from '@standard-schema/spec' */\n\nexport class HttpError {\n\t/**\n\t * @param {number} status\n\t * @param {{message: string} extends App.Error ? (App.Error | string | undefined) : App.Error} body\n\t */\n\tconstructor(status, body) {\n\t\tthis.status = status;\n\t\tif (typeof body === 'string') {\n\t\t\tthis.body = { message: body };\n\t\t} else if (body) {\n\t\t\tthis.body = body;\n\t\t} else {\n\t\t\tthis.body = { message: `Error: ${status}` };\n\t\t}\n\t}\n\n\ttoString() {\n\t\treturn JSON.stringify(this.body);\n\t}\n}\n\nexport class Redirect {\n\t/**\n\t * @param {300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308} status\n\t * @param {string} location\n\t */\n\tconstructor(status, location) {\n\t\ttry {\n\t\t\tnew Headers({ location });\n\t\t} catch {\n\t\t\tthrow new Error(\n\t\t\t\t`Invalid redirect location ${JSON.stringify(location)}: ` +\n\t\t\t\t\t'this string contains characters that cannot be used in HTTP headers'\n\t\t\t);\n\t\t}\n\n\t\tthis.status = status;\n\t\tthis.location = location;\n\t}\n}\n\n/**\n * An error that was thrown from within the SvelteKit runtime that is not fatal and doesn't result in a 500, such as a 404.\n * `SvelteKitError` goes through `handleError`.\n * @extends Error\n */\nexport class SvelteKitError extends Error {\n\t/**\n\t * @param {number} status\n\t * @param {string} text\n\t * @param {string} message\n\t */\n\tconstructor(status, text, message) {\n\t\tsuper(message);\n\t\tthis.status = status;\n\t\tthis.text = text;\n\t}\n}\n\n/**\n * @template [T=undefined]\n */\nexport class ActionFailure {\n\t/**\n\t * @param {number} status\n\t * @param {T} data\n\t */\n\tconstructor(status, data) {\n\t\tthis.status = status;\n\t\tthis.data = data;\n\t}\n}\n\n/**\n * Error thrown when form validation fails imperatively\n */\nexport class ValidationError extends Error {\n\t/**\n\t * @param {StandardSchemaV1.Issue[]} issues\n\t */\n\tconstructor(issues) {\n\t\tsuper('Validation failed');\n\t\tthis.name = 'ValidationError';\n\t\tthis.issues = issues;\n\t}\n}\n\nexport { init_remote_functions } from './remote-functions.js';\n"],"names":[],"mappings":"AAAA;;AAEO,MAAM,SAAS,CAAC;AACvB;AACA;AACA;AACA;AACA,CAAC,WAAW,CAAC,MAAM,EAAE,IAAI,EAAE;AAC3B,EAAE,IAAI,CAAC,MAAM,GAAG,MAAM;AACtB,EAAE,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;AAChC,GAAG,IAAI,CAAC,IAAI,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE;AAChC,EAAE,CAAC,MAAM,IAAI,IAAI,EAAE;AACnB,GAAG,IAAI,CAAC,IAAI,GAAG,IAAI;AACnB,EAAE,CAAC,MAAM;AACT,GAAG,IAAI,CAAC,IAAI,GAAG,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,EAAE;AAC9C,EAAE;AACF,CAAC;;AAED,CAAC,QAAQ,GAAG;AACZ,EAAE,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;AAClC,CAAC;AACD;;AAEO,MAAM,QAAQ,CAAC;AACtB;AACA;AACA;AACA;AACA,CAAC,WAAW,CAAC,MAAM,EAAE,QAAQ,EAAE;AAC/B,EAAE,IAAI;AACN,GAAG,IAAI,OAAO,CAAC,EAAE,QAAQ,EAAE,CAAC;AAC5B,EAAE,CAAC,CAAC,MAAM;AACV,GAAG,MAAM,IAAI,KAAK;AAClB,IAAI,CAAC,0BAA0B,EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC;AAC7D,KAAK;AACL,IAAI;AACJ,EAAE;;AAEF,EAAE,IAAI,CAAC,MAAM,GAAG,MAAM;AACtB,EAAE,IAAI,CAAC,QAAQ,GAAG,QAAQ;AAC1B,CAAC;AACD;;AAEA;AACA;AACA;AACA;AACA;AACO,MAAM,cAAc,SAAS,KAAK,CAAC;AAC1C;AACA;AACA;AACA;AACA;AACA,CAAC,WAAW,CAAC,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE;AACpC,EAAE,KAAK,CAAC,OAAO,CAAC;AAChB,EAAE,IAAI,CAAC,MAAM,GAAG,MAAM;AACtB,EAAE,IAAI,CAAC,IAAI,GAAG,IAAI;AAClB,CAAC;AACD;;AAEA;AACA;AACA;AACO,MAAM,aAAa,CAAC;AAC3B;AACA;AACA;AACA;AACA,CAAC,WAAW,CAAC,MAAM,EAAE,IAAI,EAAE;AAC3B,EAAE,IAAI,CAAC,MAAM,GAAG,MAAM;AACtB,EAAE,IAAI,CAAC,IAAI,GAAG,IAAI;AAClB,CAAC;AACD;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createRequire } from 'node:module';
|
|
2
|
-
import { a5 as ssr_context, _ as run$1, a0 as setContext, U as noop$1, C as hasContext, x as getContext, w as getAllContexts, v as getAbortSignal, j as createContext, S as lifecycle_function_unavailable, r as experimental_async_required, A as get_render_context, aa as uneval, E as hydratable_serialization_failed, D as DevalueError, P as is_primitive, B as get_type, O as is_plain_object, p as enumerable_symbols, a8 as stringify_key, a9 as stringify_string, ac as valid_array_indices, R as is_valid_array_len, M as MAX_ARRAY_INDEX, Q as is_valid_array_index, Z as render, $ as set, L as LEGACY_PROPS, t as get, s as flushSync, l as define_property, T as mutable_source, K as init_operations, y as get_first_child, z as get_next_sibling, H as HYDRATION_ERROR, a4 as set_hydrating, a3 as set_hydrate_node, I as hydration_failed, g as clear_text_content, i as component_root, F as hydrate_node, k as create_text, f as boundary, c as array_from, N as is_passive_event, a2 as set_active_reaction, a1 as set_active_effect, b as active_reaction, a as active_effect, m as derived, G as hydrating, W as push, h as component_context, J as hydration_mismatch, V as pop } from './dev-
|
|
2
|
+
import { a5 as ssr_context, _ as run$1, a0 as setContext, U as noop$1, C as hasContext, x as getContext, w as getAllContexts, v as getAbortSignal, j as createContext, S as lifecycle_function_unavailable, r as experimental_async_required, A as get_render_context, aa as uneval, E as hydratable_serialization_failed, D as DevalueError, P as is_primitive, B as get_type, O as is_plain_object, p as enumerable_symbols, a8 as stringify_key, a9 as stringify_string, ac as valid_array_indices, R as is_valid_array_len, M as MAX_ARRAY_INDEX, Q as is_valid_array_index, Z as render, $ as set, L as LEGACY_PROPS, t as get, s as flushSync, l as define_property, T as mutable_source, K as init_operations, y as get_first_child, z as get_next_sibling, H as HYDRATION_ERROR, a4 as set_hydrating, a3 as set_hydrate_node, I as hydration_failed, g as clear_text_content, i as component_root, F as hydrate_node, k as create_text, f as boundary, c as array_from, N as is_passive_event, a2 as set_active_reaction, a1 as set_active_effect, b as active_reaction, a as active_effect, m as derived, G as hydrating, W as push, h as component_context, J as hydration_mismatch, V as pop } from './dev-yFiAtg5l.js';
|
|
3
3
|
import { H as HttpError, S as SvelteKitError } from './index-DBqjc0Yf.js';
|
|
4
4
|
import 'clsx';
|
|
5
5
|
|
|
@@ -10,7 +10,6 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
10
10
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
11
11
|
var __getProtoOf = Object.getPrototypeOf;
|
|
12
12
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
13
|
-
var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
14
13
|
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
15
14
|
var __exportAll = (all, no_symbols) => {
|
|
16
15
|
let target = {};
|
|
@@ -35,10 +34,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
35
34
|
value: mod,
|
|
36
35
|
enumerable: true
|
|
37
36
|
}) , mod));
|
|
38
|
-
var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
39
37
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
40
38
|
|
|
41
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.
|
|
39
|
+
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_692b2477997906027053802989c8d7b8/node_modules/@sveltejs/kit/src/runtime/app/paths/internal/server.js
|
|
42
40
|
var base = "";
|
|
43
41
|
var assets = base;
|
|
44
42
|
var app_dir = "_app";
|
|
@@ -69,7 +67,7 @@ function set_public_env(environment) {
|
|
|
69
67
|
public_env = environment;
|
|
70
68
|
}
|
|
71
69
|
//#endregion
|
|
72
|
-
//#region ../../node_modules/.pnpm/svelte@5.55.
|
|
70
|
+
//#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.60.0/node_modules/svelte/src/internal/server/hydratable.js
|
|
73
71
|
/** @import { HydratableLookupEntry } from '#server' */
|
|
74
72
|
/**
|
|
75
73
|
* @template T
|
|
@@ -130,7 +128,7 @@ function serialization_stack(root_stack, uneval_stack) {
|
|
|
130
128
|
return out || "<missing stack trace>";
|
|
131
129
|
}
|
|
132
130
|
//#endregion
|
|
133
|
-
//#region ../../node_modules/.pnpm/svelte@5.55.
|
|
131
|
+
//#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.60.0/node_modules/svelte/src/internal/server/blocks/snippet.js
|
|
134
132
|
/** @import { Snippet } from 'svelte' */
|
|
135
133
|
/** @import { Renderer } from '../renderer' */
|
|
136
134
|
/** @import { Getters } from '#shared' */
|
|
@@ -150,7 +148,7 @@ function createRawSnippet(fn) {
|
|
|
150
148
|
};
|
|
151
149
|
}
|
|
152
150
|
//#endregion
|
|
153
|
-
//#region ../../node_modules/.pnpm/svelte@5.55.
|
|
151
|
+
//#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.60.0/node_modules/svelte/src/index-server.js
|
|
154
152
|
/** @import { SSRContext } from '#server' */
|
|
155
153
|
/** @import { Renderer } from './internal/server/renderer.js' */
|
|
156
154
|
var index_server_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -198,7 +196,7 @@ function fork() {
|
|
|
198
196
|
async function tick() {}
|
|
199
197
|
async function settled() {}
|
|
200
198
|
|
|
201
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.
|
|
199
|
+
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_692b2477997906027053802989c8d7b8/node_modules/@sveltejs/kit/src/utils/functions.js
|
|
202
200
|
function noop() {}
|
|
203
201
|
/**
|
|
204
202
|
* @template T
|
|
@@ -629,7 +627,7 @@ function stringify_primitive(thing) {
|
|
|
629
627
|
return String(thing);
|
|
630
628
|
}
|
|
631
629
|
//#endregion
|
|
632
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.
|
|
630
|
+
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_692b2477997906027053802989c8d7b8/node_modules/@sveltejs/kit/src/runtime/utils.js
|
|
633
631
|
var text_encoder = new TextEncoder();
|
|
634
632
|
/**
|
|
635
633
|
* Like node's path.relative, but without using node
|
|
@@ -673,7 +671,7 @@ function base64_decode(encoded) {
|
|
|
673
671
|
return bytes;
|
|
674
672
|
}
|
|
675
673
|
//#endregion
|
|
676
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.
|
|
674
|
+
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_692b2477997906027053802989c8d7b8/node_modules/@sveltejs/kit/src/utils/error.js
|
|
677
675
|
/**
|
|
678
676
|
* @param {unknown} err
|
|
679
677
|
* @return {Error}
|
|
@@ -819,7 +817,7 @@ function with_request_store(store, fn) {
|
|
|
819
817
|
}
|
|
820
818
|
}
|
|
821
819
|
|
|
822
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.
|
|
820
|
+
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_692b2477997906027053802989c8d7b8/node_modules/@sveltejs/kit/src/utils/array.js
|
|
823
821
|
/**
|
|
824
822
|
* Removes nullish values from an array.
|
|
825
823
|
*
|
|
@@ -833,7 +831,7 @@ function compact(arr) {
|
|
|
833
831
|
);
|
|
834
832
|
}
|
|
835
833
|
//#endregion
|
|
836
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.
|
|
834
|
+
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_692b2477997906027053802989c8d7b8/node_modules/@sveltejs/kit/src/runtime/pathname.js
|
|
837
835
|
var DATA_SUFFIX = "/__data.json";
|
|
838
836
|
var HTML_DATA_SUFFIX = ".html__data.json";
|
|
839
837
|
/** @param {string} pathname */
|
|
@@ -874,7 +872,7 @@ function strip_resolution_suffix(pathname) {
|
|
|
874
872
|
return pathname.slice(0, -11);
|
|
875
873
|
}
|
|
876
874
|
//#endregion
|
|
877
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.
|
|
875
|
+
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_692b2477997906027053802989c8d7b8/node_modules/@sveltejs/kit/src/runtime/telemetry/noop.js
|
|
878
876
|
/**
|
|
879
877
|
* @type {Span}
|
|
880
878
|
*/
|
|
@@ -1034,7 +1032,7 @@ function allow_nodejs_console_log(url) {
|
|
|
1034
1032
|
};
|
|
1035
1033
|
}
|
|
1036
1034
|
//#endregion
|
|
1037
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.
|
|
1035
|
+
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_692b2477997906027053802989c8d7b8/node_modules/@sveltejs/kit/src/utils/hash.js
|
|
1038
1036
|
/**
|
|
1039
1037
|
* Hash using djb2
|
|
1040
1038
|
* @param {import('types').StrictBody[]} values
|
|
@@ -1052,7 +1050,7 @@ function hash(...values) {
|
|
|
1052
1050
|
return (hash >>> 0).toString(36);
|
|
1053
1051
|
}
|
|
1054
1052
|
//#endregion
|
|
1055
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.
|
|
1053
|
+
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_692b2477997906027053802989c8d7b8/node_modules/@sveltejs/kit/src/utils/routing.js
|
|
1056
1054
|
/**
|
|
1057
1055
|
* @param {RegExpMatchArray} match
|
|
1058
1056
|
* @param {import('types').RouteParam[]} params
|
|
@@ -1111,7 +1109,7 @@ function find_route(path, routes, matchers) {
|
|
|
1111
1109
|
return null;
|
|
1112
1110
|
}
|
|
1113
1111
|
//#endregion
|
|
1114
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.
|
|
1112
|
+
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_692b2477997906027053802989c8d7b8/node_modules/@sveltejs/kit/src/utils/exports.js
|
|
1115
1113
|
/**
|
|
1116
1114
|
* @param {Set<string>} expected
|
|
1117
1115
|
*/
|
|
@@ -1185,7 +1183,7 @@ function set_read_implementation(fn) {
|
|
|
1185
1183
|
read_implementation = fn;
|
|
1186
1184
|
}
|
|
1187
1185
|
//#endregion
|
|
1188
|
-
//#region ../../node_modules/.pnpm/svelte@5.55.
|
|
1186
|
+
//#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.60.0/node_modules/svelte/src/internal/client/dom/elements/events.js
|
|
1189
1187
|
/**
|
|
1190
1188
|
* Used on elements, as a map of event type -> event handler,
|
|
1191
1189
|
* and on events themselves to track which element handled an event
|
|
@@ -1268,7 +1266,7 @@ function handle_event_propagation(event) {
|
|
|
1268
1266
|
}
|
|
1269
1267
|
}
|
|
1270
1268
|
//#endregion
|
|
1271
|
-
//#region ../../node_modules/.pnpm/svelte@5.55.
|
|
1269
|
+
//#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.60.0/node_modules/svelte/src/internal/client/dom/template.js
|
|
1272
1270
|
/**
|
|
1273
1271
|
* @param {TemplateNode} start
|
|
1274
1272
|
* @param {TemplateNode | null} end
|
|
@@ -1458,7 +1456,7 @@ function unmount(component, options) {
|
|
|
1458
1456
|
return Promise.resolve();
|
|
1459
1457
|
}
|
|
1460
1458
|
//#endregion
|
|
1461
|
-
//#region ../../node_modules/.pnpm/svelte@5.55.
|
|
1459
|
+
//#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.60.0/node_modules/svelte/src/legacy/legacy-client.js
|
|
1462
1460
|
/** @import { ComponentConstructorOptions, ComponentType, SvelteComponent, Component } from 'svelte' */
|
|
1463
1461
|
/**
|
|
1464
1462
|
* Takes the component function and returns a Svelte 4 compatible component constructor.
|
|
@@ -1583,7 +1581,7 @@ var Svelte4Component = class {
|
|
|
1583
1581
|
}
|
|
1584
1582
|
};
|
|
1585
1583
|
//#endregion
|
|
1586
|
-
//#region ../../node_modules/.pnpm/svelte@5.55.
|
|
1584
|
+
//#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.60.0/node_modules/svelte/src/legacy/legacy-server.js
|
|
1587
1585
|
/** @import { SvelteComponent } from '../index.js' */
|
|
1588
1586
|
/** @import { Csp } from '#server' */
|
|
1589
1587
|
/** @typedef {{ head: string, html: string, css: { code: string, map: null }; hashes?: { script: `sha256-${string}`[] } }} LegacyRenderResult */
|
|
@@ -1733,7 +1731,7 @@ var options = {
|
|
|
1733
1731
|
app: ({ head, body, assets, nonce, env }) => "<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"utf-8\" />\n <link rel=\"icon\" href=\"" + assets + "/favicon.png\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n " + head + "\n </head>\n <body data-sveltekit-preload-data=\"hover\">\n <div style=\"display: contents\">" + body + "</div>\n </body>\n</html>\n",
|
|
1734
1732
|
error: ({ status, message }) => "<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"utf-8\" />\n <title>" + message + "</title>\n\n <style>\n body {\n --bg: white;\n --fg: #222;\n --divider: #ccc;\n background: var(--bg);\n color: var(--fg);\n font-family:\n system-ui,\n -apple-system,\n BlinkMacSystemFont,\n 'Segoe UI',\n Roboto,\n Oxygen,\n Ubuntu,\n Cantarell,\n 'Open Sans',\n 'Helvetica Neue',\n sans-serif;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100vh;\n margin: 0;\n }\n\n .error {\n display: flex;\n align-items: center;\n max-width: 32rem;\n margin: 0 1rem;\n }\n\n .status {\n font-weight: 200;\n font-size: 3rem;\n line-height: 1;\n position: relative;\n top: -0.05rem;\n }\n\n .message {\n border-left: 1px solid var(--divider);\n padding: 0 0 0 1rem;\n margin: 0 0 0 1rem;\n min-height: 2.5rem;\n display: flex;\n align-items: center;\n }\n\n .message h1 {\n font-weight: 400;\n font-size: 1em;\n margin: 0;\n }\n\n @media (prefers-color-scheme: dark) {\n body {\n --bg: #222;\n --fg: #ddd;\n --divider: #666;\n }\n }\n </style>\n </head>\n <body>\n <div class=\"error\">\n <span class=\"status\">" + status + "</span>\n <div class=\"message\">\n <h1>" + message + "</h1>\n </div>\n </div>\n </body>\n</html>\n"
|
|
1735
1733
|
},
|
|
1736
|
-
version_hash: "
|
|
1734
|
+
version_hash: "t3bfrr"
|
|
1737
1735
|
};
|
|
1738
1736
|
async function get_hooks() {
|
|
1739
1737
|
let handle;
|
|
@@ -1741,7 +1739,7 @@ async function get_hooks() {
|
|
|
1741
1739
|
let handleError;
|
|
1742
1740
|
let handleValidationError;
|
|
1743
1741
|
let init;
|
|
1744
|
-
({handle, handleFetch, handleError, handleValidationError, init} = await import('./hooks.server-
|
|
1742
|
+
({handle, handleFetch, handleError, handleValidationError, init} = await import('./hooks.server-CDtUSdHp.js'));
|
|
1745
1743
|
let reroute;
|
|
1746
1744
|
let transport;
|
|
1747
1745
|
return {
|
|
@@ -1755,5 +1753,5 @@ async function get_hooks() {
|
|
|
1755
1753
|
};
|
|
1756
1754
|
}
|
|
1757
1755
|
|
|
1758
|
-
export {
|
|
1759
|
-
//# sourceMappingURL=internal-
|
|
1756
|
+
export { validate_page_exports as $, normalize_error as A, normalize_path as B, onDestroy as C, once as D, options as E, override as F, parse as G, parse_remote_arg as H, INVALIDATED_PARAM as I, public_env as J, read_implementation as K, reset as L, resolve as M, set_private_env as N, set_public_env as O, set_read_implementation as P, split_remote_key as Q, stringify as R, stringify$1 as S, TRAILING_SLASH_PARAM as T, strip_data_suffix as U, strip_resolution_suffix as V, text_encoder as W, tick as X, validate_layout_exports as Y, validate_layout_server_exports as Z, __commonJSMin as _, __exportAll as a, validate_page_server_exports as a0, with_request_store as a1, __require as b, __toESM as c, add_data_suffix as d, add_resolution_suffix as e, app_dir as f, assets as g, base as h, base64_encode as i, coalesce_to_error as j, compact as k, create_remote_key as l, decode_pathname as m, disable_search as n, find_route as o, get_hooks as p, get_message as q, get_relative_path as r, get_status as s, has_data_suffix as t, has_resolution_suffix as u, hash as v, index_server_exports as w, make_trackable as x, noop as y, noop_span as z };
|
|
1757
|
+
//# sourceMappingURL=internal-BE2MZeJV.js.map
|