token-usage-dashboard 1.0.19 → 1.0.21
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/build/adapter-node.js +1 -1
- package/build/client/_app/immutable/chunks/C1sJReAz.js +3 -0
- package/build/client/_app/immutable/chunks/C1sJReAz.js.br +0 -0
- package/build/client/_app/immutable/chunks/C1sJReAz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{C2_oK6Yg.js → CY61d4eO.js} +1 -1
- package/build/client/_app/immutable/chunks/CY61d4eO.js.br +0 -0
- package/build/client/_app/immutable/chunks/CY61d4eO.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DkRfJXwX.js → DqDXC22T.js} +1 -1
- package/build/client/_app/immutable/chunks/DqDXC22T.js.br +0 -0
- package/build/client/_app/immutable/chunks/DqDXC22T.js.gz +0 -0
- package/build/client/_app/immutable/chunks/MCCUCfWF.js +1 -0
- package/build/client/_app/immutable/chunks/MCCUCfWF.js.br +1 -0
- package/build/client/_app/immutable/chunks/MCCUCfWF.js.gz +0 -0
- package/build/client/_app/immutable/entry/{app.DGKqaBO1.js → app.c-l2PDnA.js} +2 -2
- package/build/client/_app/immutable/entry/app.c-l2PDnA.js.br +0 -0
- package/build/client/_app/immutable/entry/app.c-l2PDnA.js.gz +0 -0
- package/build/client/_app/immutable/entry/{start.BPslY-3R.js → start.Ch_y930O.js} +2 -2
- package/build/client/_app/immutable/entry/start.Ch_y930O.js.br +3 -0
- package/build/client/_app/immutable/entry/start.Ch_y930O.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.C6Tx-XmR.js +1 -0
- package/build/client/_app/immutable/nodes/0.C6Tx-XmR.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.C6Tx-XmR.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{1.CArPcl3H.js → 1.Be7Mrr0U.js} +1 -1
- package/build/client/_app/immutable/nodes/1.Be7Mrr0U.js.br +3 -0
- package/build/client/_app/immutable/nodes/1.Be7Mrr0U.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.ByGQ00I8.js +2 -0
- package/build/client/_app/immutable/nodes/2.ByGQ00I8.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.ByGQ00I8.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/adapter-index.js +1 -2
- package/build/server/adapter-node-env.js +1 -2
- package/build/server/adapter-node-handler.js +4 -8
- package/build/server/chunks/config.js +1 -2
- package/build/server/chunks/functions.js +1 -2
- package/build/server/chunks/instance.js +33 -63
- package/build/server/chunks/internal.js +33 -65
- package/build/server/chunks/navigation.js +1 -2
- package/build/server/chunks/queries.js +10 -20
- package/build/server/chunks/range.js +3 -6
- package/build/server/chunks/refresh.js +2 -4
- package/build/server/chunks/request.js +1 -2
- package/build/server/chunks/server-errors.js +2 -4
- package/build/server/chunks/server.js +0 -1
- package/build/server/chunks/server2.js +17 -38
- package/build/server/chunks/shared.js +1 -2
- package/build/server/chunks/uneval.js +3 -6
- package/build/server/entries/endpoints/api/refresh/_server.ts.js +1 -2
- package/build/server/entries/endpoints/api/settings/_server.ts.js +1 -2
- package/build/server/entries/endpoints/api/usage/_server.ts.js +1 -2
- package/build/server/entries/fallbacks/error.svelte.js +2 -4
- package/build/server/entries/hooks.server.js +1 -2
- package/build/server/entries/pages/_layout.svelte.js +1 -2
- package/build/server/entries/pages/_page.server.ts.js +1 -2
- package/build/server/entries/pages/_page.svelte.js +24 -44
- package/build/server/index.js +1 -2
- package/build/server/manifest-full.js +1 -1
- package/build/server/manifest.js +1 -1
- package/build/server/nodes/0.js +1 -1
- package/build/server/nodes/1.js +1 -1
- package/build/server/nodes/2.js +1 -1
- package/build/server/remote-entry.js +7 -14
- package/build/server/server.js +1 -1
- package/package.json +1 -1
- package/build/client/_app/immutable/chunks/BLLqPIda.js +0 -3
- package/build/client/_app/immutable/chunks/BLLqPIda.js.br +0 -0
- package/build/client/_app/immutable/chunks/BLLqPIda.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C2_oK6Yg.js.br +0 -0
- package/build/client/_app/immutable/chunks/C2_oK6Yg.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ChHPZo_0.js +0 -1
- package/build/client/_app/immutable/chunks/ChHPZo_0.js.br +0 -1
- package/build/client/_app/immutable/chunks/ChHPZo_0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DkRfJXwX.js.br +0 -0
- package/build/client/_app/immutable/chunks/DkRfJXwX.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.DGKqaBO1.js.br +0 -0
- package/build/client/_app/immutable/entry/app.DGKqaBO1.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.BPslY-3R.js.br +0 -2
- package/build/client/_app/immutable/entry/start.BPslY-3R.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.yxxqRuA2.js +0 -1
- package/build/client/_app/immutable/nodes/0.yxxqRuA2.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.yxxqRuA2.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.CArPcl3H.js.br +0 -1
- package/build/client/_app/immutable/nodes/1.CArPcl3H.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.tImriDO_.js +0 -2
- package/build/client/_app/immutable/nodes/2.tImriDO_.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.tImriDO_.js.gz +0 -0
|
@@ -7,7 +7,7 @@ import process from "node:process";
|
|
|
7
7
|
import { Readable, pipeline } from "node:stream";
|
|
8
8
|
import { app_path, assets, base, dir, env_prefix, mime_types, origin, prerendered_assets, server } from "../adapter-node.js";
|
|
9
9
|
import { format } from "node:url";
|
|
10
|
-
|
|
10
|
+
// node_modules/@sveltejs/kit/src/exports/node/index.js
|
|
11
11
|
/** @type {WeakMap<import('http').IncomingMessage, (chunk: Buffer) => void>} */
|
|
12
12
|
var body_data_listeners = /* @__PURE__ */ new WeakMap();
|
|
13
13
|
/**
|
|
@@ -239,8 +239,7 @@ function setResponse(res, response) {
|
|
|
239
239
|
function createReadableStream(file) {
|
|
240
240
|
return Readable.toWeb(createReadStream(file));
|
|
241
241
|
}
|
|
242
|
-
|
|
243
|
-
//#region node_modules/@sveltejs/adapter-node/src/utils.js
|
|
242
|
+
// node_modules/@sveltejs/adapter-node/src/utils.js
|
|
244
243
|
/**
|
|
245
244
|
* Parses the given value into number of bytes.
|
|
246
245
|
*
|
|
@@ -277,8 +276,7 @@ function format_listening_address(path, host, port, address) {
|
|
|
277
276
|
port: String(port)
|
|
278
277
|
});
|
|
279
278
|
}
|
|
280
|
-
|
|
281
|
-
//#region node_modules/@sveltejs/adapter-node/src/static.js
|
|
279
|
+
// node_modules/@sveltejs/adapter-node/src/static.js
|
|
282
280
|
/** @import { IncomingMessage, ServerResponse } from 'node:http' */
|
|
283
281
|
/**
|
|
284
282
|
* @typedef {(req: IncomingMessage, res: ServerResponse, next: () => void | Promise<void>) => void | Promise<void>} Middleware
|
|
@@ -477,8 +475,7 @@ function serve_static(files) {
|
|
|
477
475
|
pipeline(fs.createReadStream(file, range), res, () => {});
|
|
478
476
|
};
|
|
479
477
|
}
|
|
480
|
-
|
|
481
|
-
//#region node_modules/@sveltejs/adapter-node/src/handler.js
|
|
478
|
+
// node_modules/@sveltejs/adapter-node/src/handler.js
|
|
482
479
|
/** @import { IncomingHttpHeaders } from 'node:http' */
|
|
483
480
|
/** @import { Middleware } from './static.js' */
|
|
484
481
|
var xff_depth = parseInt(env("XFF_DEPTH", "1"));
|
|
@@ -578,7 +575,6 @@ var serve = serve_static(create_file_map({
|
|
|
578
575
|
}));
|
|
579
576
|
/** @type {Middleware} */
|
|
580
577
|
var handler = (req, res, next) => serve(req, res, () => ssr(req, res, next));
|
|
581
|
-
//#endregion
|
|
582
578
|
export { format_listening_address as n, handler as t };
|
|
583
579
|
|
|
584
580
|
//# sourceMappingURL=adapter-node-handler.js.map
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
// .svelte-kit/generated/build/env/config.js
|
|
2
2
|
var variables = {};
|
|
3
3
|
var dynamic_private_env = {};
|
|
4
4
|
var explicit_public_env = {};
|
|
5
5
|
var rendered_env = {};
|
|
6
6
|
function set_env(env) {}
|
|
7
|
-
//#endregion
|
|
8
7
|
export { variables as a, set_env as i, explicit_public_env as n, rendered_env as r, dynamic_private_env as t };
|
|
9
8
|
|
|
10
9
|
//# sourceMappingURL=config.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { G as server_api_unavailable } from "./server-errors.js";
|
|
2
|
-
|
|
2
|
+
// node_modules/@sveltejs/kit/src/utils/functions.js
|
|
3
3
|
function noop() {}
|
|
4
4
|
/**
|
|
5
5
|
* @template T
|
|
@@ -24,7 +24,6 @@ function disallow_on_server(name, parens = "(...)") {
|
|
|
24
24
|
server_api_unavailable({ name: `${name}${parens}` });
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
|
-
//#endregion
|
|
28
27
|
export { noop as n, once as r, disallow_on_server as t };
|
|
29
28
|
|
|
30
29
|
//# sourceMappingURL=functions.js.map
|
|
@@ -6,7 +6,7 @@ import { n as noop, r as once } from "./functions.js";
|
|
|
6
6
|
import { i as set_env, n as explicit_public_env, r as rendered_env } from "./config.js";
|
|
7
7
|
import { c as render, i as derived, p as escape_html$1 } from "./server2.js";
|
|
8
8
|
import { t as afterNavigate } from "./navigation.js";
|
|
9
|
-
|
|
9
|
+
// node_modules/@sveltejs/kit/src/runtime/server/endpoint.js
|
|
10
10
|
/**
|
|
11
11
|
* @param {import('@sveltejs/kit').RequestEvent} event
|
|
12
12
|
* @param {import('types').RequestState} state
|
|
@@ -77,8 +77,7 @@ function is_endpoint_request(event) {
|
|
|
77
77
|
const accept = event.request.headers.get("accept") ?? "*/*";
|
|
78
78
|
return negotiate(accept, ["*", "text/html"]) !== "text/html";
|
|
79
79
|
}
|
|
80
|
-
|
|
81
|
-
//#region node_modules/@sveltejs/kit/src/utils/array.js
|
|
80
|
+
// node_modules/@sveltejs/kit/src/utils/array.js
|
|
82
81
|
/**
|
|
83
82
|
* Removes nullish values from an array.
|
|
84
83
|
*
|
|
@@ -91,8 +90,7 @@ function compact(arr) {
|
|
|
91
90
|
(val) => val != null
|
|
92
91
|
);
|
|
93
92
|
}
|
|
94
|
-
|
|
95
|
-
//#region node_modules/@sveltejs/kit/src/runtime/pathname.js
|
|
93
|
+
// node_modules/@sveltejs/kit/src/runtime/pathname.js
|
|
96
94
|
var ROUTES_PREFIX = "/routes";
|
|
97
95
|
/**
|
|
98
96
|
* The pathname of the route-ID-keyed resolution module for a given route ID,
|
|
@@ -122,8 +120,7 @@ function is_route_id_resolution_path(pathname) {
|
|
|
122
120
|
function extract_route_id(pathname) {
|
|
123
121
|
return pathname.slice(`/_app${ROUTES_PREFIX}`.length) || "/";
|
|
124
122
|
}
|
|
125
|
-
|
|
126
|
-
//#region node_modules/@sveltejs/kit/src/runtime/error-chain.js
|
|
123
|
+
// node_modules/@sveltejs/kit/src/runtime/error-chain.js
|
|
127
124
|
/** @import { Component } from 'svelte'; */
|
|
128
125
|
/**
|
|
129
126
|
* Resolves the `+error.svelte` component that guards each node of `branch`, aligned to the
|
|
@@ -173,8 +170,7 @@ function* nearest_error_pages(i, branch, errors) {
|
|
|
173
170
|
}
|
|
174
171
|
}
|
|
175
172
|
}
|
|
176
|
-
|
|
177
|
-
//#region node_modules/@sveltejs/kit/src/utils/streaming.js
|
|
173
|
+
// node_modules/@sveltejs/kit/src/utils/streaming.js
|
|
178
174
|
/**
|
|
179
175
|
* Create an async iterator and a function to push values into it
|
|
180
176
|
* @template T
|
|
@@ -203,8 +199,7 @@ function create_async_iterator() {
|
|
|
203
199
|
}
|
|
204
200
|
};
|
|
205
201
|
}
|
|
206
|
-
|
|
207
|
-
//#region node_modules/@sveltejs/kit/src/runtime/server/page/data_serializer.js
|
|
202
|
+
// node_modules/@sveltejs/kit/src/runtime/server/page/data_serializer.js
|
|
208
203
|
/**
|
|
209
204
|
* If the serialized data contains promises, `chunks` will be an
|
|
210
205
|
* async iterable containing their resolutions
|
|
@@ -216,7 +211,7 @@ function server_data_serializer(event, state) {
|
|
|
216
211
|
let promise_id = 1;
|
|
217
212
|
let max_nodes = -1;
|
|
218
213
|
const iterator = create_async_iterator();
|
|
219
|
-
const global = "
|
|
214
|
+
const global = "__sveltekit_898juf";
|
|
220
215
|
/** @param {number} index */
|
|
221
216
|
function get_replacer(index) {
|
|
222
217
|
/** @param {any} thing */
|
|
@@ -360,8 +355,7 @@ function server_data_serializer_json(event, state) {
|
|
|
360
355
|
}
|
|
361
356
|
};
|
|
362
357
|
}
|
|
363
|
-
|
|
364
|
-
//#region node_modules/@sveltejs/kit/src/runtime/server/constants.js
|
|
358
|
+
// node_modules/@sveltejs/kit/src/runtime/server/constants.js
|
|
365
359
|
var NULL_BODY_STATUS = [
|
|
366
360
|
101,
|
|
367
361
|
103,
|
|
@@ -369,8 +363,7 @@ var NULL_BODY_STATUS = [
|
|
|
369
363
|
205,
|
|
370
364
|
304
|
|
371
365
|
];
|
|
372
|
-
|
|
373
|
-
//#region node_modules/@sveltejs/kit/src/runtime/server/page/load_data.js
|
|
366
|
+
// node_modules/@sveltejs/kit/src/runtime/server/page/load_data.js
|
|
374
367
|
/**
|
|
375
368
|
* Calls the user's server `load` function.
|
|
376
369
|
* @param {{
|
|
@@ -649,8 +642,7 @@ function create_universal_fetch(event, prerendering, fetched, csr, resolve_opts)
|
|
|
649
642
|
return response;
|
|
650
643
|
};
|
|
651
644
|
}
|
|
652
|
-
|
|
653
|
-
//#region node_modules/@sveltejs/kit/src/utils/hash.js
|
|
645
|
+
// node_modules/@sveltejs/kit/src/utils/hash.js
|
|
654
646
|
/**
|
|
655
647
|
* Hash using djb2
|
|
656
648
|
* @param {import('types').StrictBody[]} values
|
|
@@ -680,11 +672,9 @@ function hash_request(headers, body) {
|
|
|
680
672
|
if (body) values.push(body);
|
|
681
673
|
return hash(...values);
|
|
682
674
|
}
|
|
683
|
-
|
|
684
|
-
//#region node_modules/@sveltejs/kit/src/utils/misc.js
|
|
675
|
+
// node_modules/@sveltejs/kit/src/utils/misc.js
|
|
685
676
|
var s = JSON.stringify;
|
|
686
|
-
|
|
687
|
-
//#region node_modules/@sveltejs/kit/src/utils/escape.js
|
|
677
|
+
// node_modules/@sveltejs/kit/src/utils/escape.js
|
|
688
678
|
/**
|
|
689
679
|
* When inside a double-quoted attribute value, only `&` and `"` hold special meaning.
|
|
690
680
|
* @see https://html.spec.whatwg.org/multipage/parsing.html#attribute-value-(double-quoted)-state
|
|
@@ -718,8 +708,7 @@ function escape_html(str, is_attr) {
|
|
|
718
708
|
const dict = is_attr ? escape_html_attr_dict : escape_html_dict;
|
|
719
709
|
return str.replace(is_attr ? escape_html_attr_regex : escape_html_regex, (match) => dict[match] ?? `&#${match.charCodeAt(0)};`);
|
|
720
710
|
}
|
|
721
|
-
|
|
722
|
-
//#region node_modules/@sveltejs/kit/src/runtime/server/page/serialize_data.js
|
|
711
|
+
// node_modules/@sveltejs/kit/src/runtime/server/page/serialize_data.js
|
|
723
712
|
/**
|
|
724
713
|
* Inside a script element, only `<\/script` and `<!--` hold special meaning to the HTML parser.
|
|
725
714
|
*
|
|
@@ -792,8 +781,7 @@ function serialize_data(fetched, filter, prerendering = false) {
|
|
|
792
781
|
}
|
|
793
782
|
return `<script ${attrs.join(" ")}>${safe_payload}<\/script>`;
|
|
794
783
|
}
|
|
795
|
-
|
|
796
|
-
//#region node_modules/@sveltejs/kit/src/runtime/server/page/csp.js
|
|
784
|
+
// node_modules/@sveltejs/kit/src/runtime/server/page/csp.js
|
|
797
785
|
var array = /* @__PURE__ */ new Uint8Array(16);
|
|
798
786
|
function generate_nonce() {
|
|
799
787
|
crypto.getRandomValues(array);
|
|
@@ -1004,8 +992,7 @@ var Csp = class {
|
|
|
1004
992
|
this.report_only_provider.add_style(source);
|
|
1005
993
|
}
|
|
1006
994
|
};
|
|
1007
|
-
|
|
1008
|
-
//#region node_modules/@sveltejs/kit/src/runtime/server/page/server_routing.js
|
|
995
|
+
// node_modules/@sveltejs/kit/src/runtime/server/page/server_routing.js
|
|
1009
996
|
/** @import { ParamValue } from '@sveltejs/kit/params' */
|
|
1010
997
|
/** @import { SSRManifest } from 'types' */
|
|
1011
998
|
/**
|
|
@@ -1149,8 +1136,7 @@ function create_css_import(route, url, client) {
|
|
|
1149
1136
|
if (!css) return "";
|
|
1150
1137
|
return `${create_client_import(client.start, paths)}.then(x => x.load_css([${css}]));\n`;
|
|
1151
1138
|
}
|
|
1152
|
-
|
|
1153
|
-
//#region node_modules/@sveltejs/kit/src/runtime/components/root.svelte
|
|
1139
|
+
// node_modules/@sveltejs/kit/src/runtime/components/root.svelte
|
|
1154
1140
|
function Root($$renderer, $$props) {
|
|
1155
1141
|
$$renderer.component(($$renderer) => {
|
|
1156
1142
|
const { page, components, onerror, tree, form, error } = $$props;
|
|
@@ -1228,8 +1214,7 @@ function Root($$renderer, $$props) {
|
|
|
1228
1214
|
$$renderer.push(`<!--]-->`);
|
|
1229
1215
|
});
|
|
1230
1216
|
}
|
|
1231
|
-
|
|
1232
|
-
//#region node_modules/@sveltejs/kit/src/runtime/props.svelte.js
|
|
1217
|
+
// node_modules/@sveltejs/kit/src/runtime/props.svelte.js
|
|
1233
1218
|
var Props = class {
|
|
1234
1219
|
/** @type {Page} */
|
|
1235
1220
|
page;
|
|
@@ -1285,8 +1270,7 @@ var RenderNode = class {
|
|
|
1285
1270
|
this.error = error;
|
|
1286
1271
|
}
|
|
1287
1272
|
};
|
|
1288
|
-
|
|
1289
|
-
//#region node_modules/@sveltejs/kit/src/runtime/server/page/render.js
|
|
1273
|
+
// node_modules/@sveltejs/kit/src/runtime/server/page/render.js
|
|
1290
1274
|
/** @import { Component } from 'svelte'; */
|
|
1291
1275
|
/** @import { SyncRenderOutput } from 'svelte/server' */
|
|
1292
1276
|
/**
|
|
@@ -1457,7 +1441,7 @@ async function render_response({ branch, fetched, page_config, status, error = n
|
|
|
1457
1441
|
"crossorigin"
|
|
1458
1442
|
]);
|
|
1459
1443
|
}
|
|
1460
|
-
const global = "
|
|
1444
|
+
const global = "__sveltekit_898juf";
|
|
1461
1445
|
const { data, chunks } = data_serializer.get_data(csp);
|
|
1462
1446
|
if (page_config.ssr && page_config.csr) body += `\n\t\t\t${fetched.map((item) => serialize_data(item, resolve_opts.filterSerializedResponseHeaders, !!(state.prerendering || state.prerender_default === true))).join("\n ")}`;
|
|
1463
1447
|
if (page_config.csr && client) {
|
|
@@ -1481,7 +1465,7 @@ async function render_response({ branch, fetched, page_config, status, error = n
|
|
|
1481
1465
|
}
|
|
1482
1466
|
}
|
|
1483
1467
|
const blocks = [];
|
|
1484
|
-
const properties = [`base: ${base_expression}`, `version: ${s("
|
|
1468
|
+
const properties = [`base: ${base_expression}`, `version: ${s("1793232173383")}`];
|
|
1485
1469
|
if (assets) properties.push(`assets: ${s(assets)}`);
|
|
1486
1470
|
if (client.uses_env_dynamic_public) properties.push(`env: ${load_env_eagerly ? "null" : uneval$1(rendered_env)}`);
|
|
1487
1471
|
if (chunks) {
|
|
@@ -1653,8 +1637,7 @@ var Head = class {
|
|
|
1653
1637
|
this.#http_equiv.push(tag);
|
|
1654
1638
|
}
|
|
1655
1639
|
};
|
|
1656
|
-
|
|
1657
|
-
//#region node_modules/@sveltejs/kit/src/utils/format.js
|
|
1640
|
+
// node_modules/@sveltejs/kit/src/utils/format.js
|
|
1658
1641
|
/**
|
|
1659
1642
|
* Joins a list as `a`, `a or b` or `a, b or c`, for use in diagnostics
|
|
1660
1643
|
* @param {string[]} items
|
|
@@ -1662,8 +1645,7 @@ var Head = class {
|
|
|
1662
1645
|
function join_or(items) {
|
|
1663
1646
|
return items.length > 1 ? `${items.slice(0, -1).join(", ")} or ${items.at(-1)}` : items[0];
|
|
1664
1647
|
}
|
|
1665
|
-
|
|
1666
|
-
//#region node_modules/@sveltejs/kit/src/utils/exports.js
|
|
1648
|
+
// node_modules/@sveltejs/kit/src/utils/exports.js
|
|
1667
1649
|
/**
|
|
1668
1650
|
* @param {Set<string>} expected
|
|
1669
1651
|
*/
|
|
@@ -1740,8 +1722,7 @@ var validate_layout_exports = validator(valid_layout_exports);
|
|
|
1740
1722
|
var validate_page_exports = validator(valid_page_exports);
|
|
1741
1723
|
var validate_layout_server_exports = validator(valid_layout_server_exports);
|
|
1742
1724
|
var validate_page_server_exports = validator(valid_page_server_exports);
|
|
1743
|
-
|
|
1744
|
-
//#region node_modules/@sveltejs/kit/src/utils/page_nodes.js
|
|
1725
|
+
// node_modules/@sveltejs/kit/src/utils/page_nodes.js
|
|
1745
1726
|
/** @import { UniversalNode, ServerNode } from 'types' */
|
|
1746
1727
|
var PageNodes = class {
|
|
1747
1728
|
/** All layout nodes and the page node, if any */
|
|
@@ -1809,8 +1790,7 @@ var PageNodes = class {
|
|
|
1809
1790
|
return this.data.some((node) => node?.server?.load || node?.server?.trailingSlash !== void 0);
|
|
1810
1791
|
}
|
|
1811
1792
|
};
|
|
1812
|
-
|
|
1813
|
-
//#region node_modules/@sveltejs/kit/src/runtime/server/page/respond_with_error.js
|
|
1793
|
+
// node_modules/@sveltejs/kit/src/runtime/server/page/respond_with_error.js
|
|
1814
1794
|
/**
|
|
1815
1795
|
* @typedef {import('./types.js').Loaded} Loaded
|
|
1816
1796
|
*/
|
|
@@ -1916,8 +1896,7 @@ async function handle_fatal_error(event, state, error) {
|
|
|
1916
1896
|
if (event.isDataRequest || type === "application/json") return Response.json(body, { status });
|
|
1917
1897
|
return static_error_page(status, body.message);
|
|
1918
1898
|
}
|
|
1919
|
-
|
|
1920
|
-
//#region node_modules/@sveltejs/kit/src/runtime/server/page/index.js
|
|
1899
|
+
// node_modules/@sveltejs/kit/src/runtime/server/page/index.js
|
|
1921
1900
|
/** @import { RequestEvent } from '@sveltejs/kit' */
|
|
1922
1901
|
/** @import { PageNodeIndexes, RequestState, RequiredResolveOptions, ServerDataNode, SSRNode } from 'types' */
|
|
1923
1902
|
/**
|
|
@@ -2145,8 +2124,7 @@ function load_error_components(ssr, branch, page) {
|
|
|
2145
2124
|
if (!ssr) return void 0;
|
|
2146
2125
|
return build_error_chain(branch, page.errors, (idx) => manifest.nodes[idx]?.().then((e) => e.component?.()));
|
|
2147
2126
|
}
|
|
2148
|
-
|
|
2149
|
-
//#region node_modules/@sveltejs/kit/src/runtime/server/csrf.js
|
|
2127
|
+
// node_modules/@sveltejs/kit/src/runtime/server/csrf.js
|
|
2150
2128
|
var mutating_form_methods = /* @__PURE__ */ new Set([
|
|
2151
2129
|
"POST",
|
|
2152
2130
|
"PUT",
|
|
@@ -2207,8 +2185,7 @@ function is_csrf_forbidden({ request, request_origin, self_origin, trusted_origi
|
|
|
2207
2185
|
function is_remote_forbidden({ request, request_origin, self_origin }) {
|
|
2208
2186
|
return request.method !== "GET" && request_origin !== self_origin;
|
|
2209
2187
|
}
|
|
2210
|
-
|
|
2211
|
-
//#region node_modules/@sveltejs/kit/src/runtime/server/data/index.js
|
|
2188
|
+
// node_modules/@sveltejs/kit/src/runtime/server/data/index.js
|
|
2212
2189
|
/**
|
|
2213
2190
|
* @param {import('@sveltejs/kit').RequestEvent} event
|
|
2214
2191
|
* @param {import('types').RequestState} state
|
|
@@ -2307,8 +2284,7 @@ function redirect_json_response(redirect) {
|
|
|
2307
2284
|
location: redirect.location
|
|
2308
2285
|
});
|
|
2309
2286
|
}
|
|
2310
|
-
|
|
2311
|
-
//#region node_modules/cookie/dist/index.js
|
|
2287
|
+
// node_modules/cookie/dist/index.js
|
|
2312
2288
|
/**
|
|
2313
2289
|
* RegExp to match cookie-name in RFC 6265 sec 4.1.1
|
|
2314
2290
|
* This refers out to the obsoleted definition of token in RFC 2616 sec 2.2
|
|
@@ -2778,8 +2754,7 @@ function add_cookies_to_headers(headers, cookies) {
|
|
|
2778
2754
|
}
|
|
2779
2755
|
}
|
|
2780
2756
|
}
|
|
2781
|
-
|
|
2782
|
-
//#region node_modules/@sveltejs/kit/src/runtime/server/state.js
|
|
2757
|
+
// node_modules/@sveltejs/kit/src/runtime/server/state.js
|
|
2783
2758
|
/** @import { InternalRequestOptions, RequestState } from 'types' */
|
|
2784
2759
|
/** Per-request caches and context flags — never carried into a fork. */
|
|
2785
2760
|
function transient_fields() {
|
|
@@ -2831,8 +2806,7 @@ function fork_state_for_subrequest(state) {
|
|
|
2831
2806
|
depth: state.depth + 1
|
|
2832
2807
|
};
|
|
2833
2808
|
}
|
|
2834
|
-
|
|
2835
|
-
//#region node_modules/@sveltejs/kit/src/runtime/server/fetch.js
|
|
2809
|
+
// node_modules/@sveltejs/kit/src/runtime/server/fetch.js
|
|
2836
2810
|
/**
|
|
2837
2811
|
* @param {{
|
|
2838
2812
|
* event: import('@sveltejs/kit').RequestEvent;
|
|
@@ -2947,8 +2921,7 @@ async function internal_fetch(request, state) {
|
|
|
2947
2921
|
});
|
|
2948
2922
|
return Promise.race([respond$1(request, subrequest_state), abort_promise]).finally(remove_abort_listener);
|
|
2949
2923
|
}
|
|
2950
|
-
|
|
2951
|
-
//#region node_modules/@sveltejs/kit/src/runtime/server/env_module.js
|
|
2924
|
+
// node_modules/@sveltejs/kit/src/runtime/server/env_module.js
|
|
2952
2925
|
/** @type {string} */
|
|
2953
2926
|
var payload;
|
|
2954
2927
|
/** @type {string} */
|
|
@@ -2972,8 +2945,7 @@ function get_public_env(request) {
|
|
|
2972
2945
|
});
|
|
2973
2946
|
return new Response(`export const env=${payload}`, { headers });
|
|
2974
2947
|
}
|
|
2975
|
-
|
|
2976
|
-
//#region node_modules/@sveltejs/kit/src/runtime/server/respond.js
|
|
2948
|
+
// node_modules/@sveltejs/kit/src/runtime/server/respond.js
|
|
2977
2949
|
/** @import { SSRNode } from 'types' */
|
|
2978
2950
|
/** @type {import('types').RequiredResolveOptions['transformPageChunk']} */
|
|
2979
2951
|
var default_transform = ({ html }) => html;
|
|
@@ -3485,8 +3457,7 @@ function denormalise_url({ request_url, resolved_path, is_data_request, is_route
|
|
|
3485
3457
|
url.pathname = is_data_request ? add_data_suffix(resolved_path) : is_route_resolution_request ? add_resolution_suffix(resolved_path) : resolved_path;
|
|
3486
3458
|
return url;
|
|
3487
3459
|
}
|
|
3488
|
-
|
|
3489
|
-
//#region node_modules/@sveltejs/kit/src/runtime/server/instance.js
|
|
3460
|
+
// node_modules/@sveltejs/kit/src/runtime/server/instance.js
|
|
3490
3461
|
/** @type {Promise<any>} */
|
|
3491
3462
|
var init_promise;
|
|
3492
3463
|
/**
|
|
@@ -3553,7 +3524,6 @@ function serialise(fn) {
|
|
|
3553
3524
|
};
|
|
3554
3525
|
}
|
|
3555
3526
|
var respond = IN_WEBCONTAINER ? serialise(respond_to) : respond_to;
|
|
3556
|
-
//#endregion
|
|
3557
3527
|
export { init, respond, set_env };
|
|
3558
3528
|
|
|
3559
3529
|
//# sourceMappingURL=instance.js.map
|