PWA
CI / build (push) Has been skipped
CI / deploy (push) Successful in 1m31s

This commit is contained in:
eewing
2026-02-18 11:45:07 -06:00
parent 6167c760a1
commit f6d0c065a4
11032 changed files with 875000 additions and 134771 deletions
+11 -10
View File
@@ -1,12 +1,13 @@
import { D as DEV } from "./chunks/false.js";
import { b as browser } from "./chunks/false.js";
import { json, text, error } from "@sveltejs/kit";
import { Redirect, SvelteKitError, ActionFailure, HttpError } from "@sveltejs/kit/internal";
import { with_request_store, merge_tracing, try_get_request_store } from "@sveltejs/kit/internal/server";
import { e as assets, c as base, d as app_dir, r as relative, o as override, f as reset } from "./chunks/environment.js";
import { E as ENDPOINT_METHODS, P as PAGE_METHODS, g as negotiate, m as method_not_allowed, h as handle_error_and_jsonify, i as get_status, j as is_form_content_type, k as normalize_error, l as get_global_name, o as serialize_uses, p as clarify_devalue_error, q as get_node_type, r as escape_html, S as SVELTE_KIT_ASSETS, e as create_remote_key, t as static_error_page, u as redirect_response, v as parse_remote_arg, b as stringify, w as deserialize_binary_form, x as has_prerendered_path, T as TRAILING_SLASH_PARAM, I as INVALIDATED_PARAM, y as handle_fatal_error, z as format_server_error } from "./chunks/shared.js";
import * as devalue from "devalue";
import { m as make_trackable, d as disable_search, a as decode_params, S as SCHEME, w as writable, r as readable, v as validate_layout_server_exports, b as validate_layout_exports, c as validate_page_server_exports, e as validate_page_exports, n as normalize_path, f as resolve, g as decode_pathname, h as validate_server_exports } from "./chunks/exports.js";
import { b as base64_encode, t as text_decoder, c as text_encoder, g as get_relative_path } from "./chunks/utils.js";
import { m as make_trackable, d as disable_search, a as decode_params, S as SCHEME, v as validate_layout_server_exports, b as validate_layout_exports, c as validate_page_server_exports, e as validate_page_exports, n as normalize_path, r as resolve, f as decode_pathname, g as validate_server_exports } from "./chunks/exports.js";
import { b as base64_encode, t as text_decoder, c as text_encoder, g as get_relative_path } from "./chunks/utils2.js";
import { w as writable, r as readable } from "./chunks/index.js";
import { p as public_env, r as read_implementation, o as options, s as set_private_env, a as set_public_env, g as get_hooks, b as set_read_implementation } from "./chunks/internal.js";
import { parse, serialize } from "cookie";
import * as set_cookie_parser from "set-cookie-parser";
@@ -207,7 +208,7 @@ async function handle_action_json_request(event, event_state, options2, server)
check_named_default_separate(actions);
try {
const data = await call_action(event, event_state, actions);
if (DEV) ;
if (browser) ;
if (data instanceof ActionFailure) {
return action_json({
type: "failure",
@@ -292,7 +293,7 @@ async function handle_action_request(event, event_state, server) {
check_named_default_separate(actions);
try {
const data = await call_action(event, event_state, actions);
if (DEV) ;
if (browser) ;
if (data instanceof ActionFailure) {
return {
type: "failure",
@@ -1592,7 +1593,7 @@ async function render_response({
};
const fetch2 = globalThis.fetch;
try {
if (DEV) ;
if (browser) ;
rendered = await with_request_store({ event, state: event_state }, async () => {
if (relative) override({ base: base$1, assets: assets$1 });
const maybe_promise = options2.root.render(props, render_opts);
@@ -2458,7 +2459,7 @@ async function render_page(event, event_state, page, options2, manifest, state,
const ssr = nodes.ssr();
const csr = nodes.csr();
if (ssr === false && !(state.prerendering && should_prerender_data)) {
if (DEV && action_result && !event.request.headers.has("x-sveltekit-action")) ;
if (browser && action_result && !event.request.headers.has("x-sveltekit-action")) ;
return await render_response({
branch: [],
fetched,
@@ -3312,12 +3313,12 @@ async function internal_respond(request, options2, manifest, state) {
if (url.pathname === base || url.pathname === base + "/") {
trailing_slash = "always";
} else if (page_nodes) {
if (DEV) ;
if (browser) ;
trailing_slash = page_nodes.trailing_slash();
} else if (route.endpoint) {
const node = await route.endpoint();
trailing_slash = node.trailingSlash ?? "never";
if (DEV) ;
if (browser) ;
}
if (!is_data_request) {
const normalized = normalize_path(url.pathname, trailing_slash);
@@ -3577,7 +3578,7 @@ async function internal_respond(request, options2, manifest, state) {
});
}
if (state.depth === 0) {
if (DEV && event2.url.pathname === "/.well-known/appspecific/com.chrome.devtools.json") ;
if (browser && event2.url.pathname === "/.well-known/appspecific/com.chrome.devtools.json") ;
return await respond_with_error({
event: event2,
event_state,