Переглянути джерело

Add .gitignore, remove build artifacts from tracking

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
AusPrinzip 1 тиждень тому
батько
коміт
9f16189d50
100 змінених файлів з 7 додано та 11579 видалено
  1. 7 0
      .gitignore
  2. 0 410
      .svelte-kit/ambient.d.ts
  3. 0 31
      .svelte-kit/generated/client-optimized/app.js
  4. 0 1
      .svelte-kit/generated/client-optimized/matchers.js
  5. 0 3
      .svelte-kit/generated/client-optimized/nodes/0.js
  6. 0 1
      .svelte-kit/generated/client-optimized/nodes/1.js
  7. 0 1
      .svelte-kit/generated/client-optimized/nodes/2.js
  8. 0 1
      .svelte-kit/generated/client-optimized/nodes/3.js
  9. 0 31
      .svelte-kit/generated/client/app.js
  10. 0 1
      .svelte-kit/generated/client/matchers.js
  11. 0 3
      .svelte-kit/generated/client/nodes/0.js
  12. 0 1
      .svelte-kit/generated/client/nodes/1.js
  13. 0 1
      .svelte-kit/generated/client/nodes/2.js
  14. 0 1
      .svelte-kit/generated/client/nodes/3.js
  15. 0 3
      .svelte-kit/generated/root.js
  16. 0 68
      .svelte-kit/generated/root.svelte
  17. 0 54
      .svelte-kit/generated/server/internal.js
  18. 0 44
      .svelte-kit/non-ambient.d.ts
  19. 0 142
      .svelte-kit/output/client/.vite/manifest.json
  20. 0 0
      .svelte-kit/output/client/_app/immutable/assets/0.CZ29-3n4.css
  21. 0 0
      .svelte-kit/output/client/_app/immutable/assets/2.BtvKmGZk.css
  22. 0 0
      .svelte-kit/output/client/_app/immutable/assets/3.DVfGQhyw.css
  23. 0 1
      .svelte-kit/output/client/_app/immutable/chunks/0o9CXqwM.js
  24. 0 0
      .svelte-kit/output/client/_app/immutable/chunks/B52eEgfS.js
  25. 0 0
      .svelte-kit/output/client/_app/immutable/chunks/BMwnALyW.js
  26. 0 1
      .svelte-kit/output/client/_app/immutable/chunks/CTzuk7kM.js
  27. 0 1
      .svelte-kit/output/client/_app/immutable/chunks/DAD_eSlp.js
  28. 0 0
      .svelte-kit/output/client/_app/immutable/chunks/DHGsjvch.js
  29. 0 0
      .svelte-kit/output/client/_app/immutable/chunks/DP2RCIpD.js
  30. 0 1
      .svelte-kit/output/client/_app/immutable/entry/app.GsRB66E3.js
  31. 0 1
      .svelte-kit/output/client/_app/immutable/entry/start.BRiLKxkP.js
  32. 0 1
      .svelte-kit/output/client/_app/immutable/nodes/0.Dy0HAjLh.js
  33. 0 1
      .svelte-kit/output/client/_app/immutable/nodes/1.BIU0hnJi.js
  34. 0 0
      .svelte-kit/output/client/_app/immutable/nodes/2.CuA8MeGj.js
  35. 0 0
      .svelte-kit/output/client/_app/immutable/nodes/3.BkYYogoY.js
  36. 0 1
      .svelte-kit/output/client/_app/version.json
  37. 0 4
      .svelte-kit/output/client/favicon.svg
  38. BIN
      .svelte-kit/output/client/gallery/1.jpg
  39. BIN
      .svelte-kit/output/client/gallery/10.jpg
  40. BIN
      .svelte-kit/output/client/gallery/2.jpg
  41. BIN
      .svelte-kit/output/client/gallery/3.jpg
  42. BIN
      .svelte-kit/output/client/gallery/4.jpg
  43. BIN
      .svelte-kit/output/client/gallery/5.jpg
  44. BIN
      .svelte-kit/output/client/gallery/6.jpg
  45. BIN
      .svelte-kit/output/client/gallery/7.jpg
  46. BIN
      .svelte-kit/output/client/gallery/8.jpg
  47. BIN
      .svelte-kit/output/client/gallery/9.jpg
  48. BIN
      .svelte-kit/output/client/hero-bg-mobile.mp4
  49. BIN
      .svelte-kit/output/client/hero-bg.mp4
  50. BIN
      .svelte-kit/output/client/logo.png
  51. 0 1
      .svelte-kit/output/prerendered/dependencies/_app/env.js
  52. 0 45
      .svelte-kit/output/prerendered/pages/about.html
  53. 0 45
      .svelte-kit/output/prerendered/pages/index.html
  54. 0 153
      .svelte-kit/output/server/.vite/manifest.json
  55. 0 0
      .svelte-kit/output/server/_app/immutable/assets/_layout.CZ29-3n4.css
  56. 0 0
      .svelte-kit/output/server/_app/immutable/assets/_page.BUh8Ugye.css
  57. 0 0
      .svelte-kit/output/server/_app/immutable/assets/_page.n_qa3HoS.css
  58. 0 34
      .svelte-kit/output/server/chunks/environment.js
  59. 0 231
      .svelte-kit/output/server/chunks/exports.js
  60. 0 4
      .svelte-kit/output/server/chunks/false.js
  61. 0 8
      .svelte-kit/output/server/chunks/html.js
  62. 0 134
      .svelte-kit/output/server/chunks/internal.js
  63. 0 59
      .svelte-kit/output/server/chunks/render-context.js
  64. 0 1244
      .svelte-kit/output/server/chunks/renderer.js
  65. 0 2815
      .svelte-kit/output/server/chunks/root.js
  66. 0 989
      .svelte-kit/output/server/chunks/shared.js
  67. 0 43
      .svelte-kit/output/server/chunks/utils.js
  68. 0 57
      .svelte-kit/output/server/entries/fallbacks/error.svelte.js
  69. 0 6
      .svelte-kit/output/server/entries/pages/_layout.js
  70. 0 9
      .svelte-kit/output/server/entries/pages/_layout.svelte.js
  71. 0 71
      .svelte-kit/output/server/entries/pages/_page.svelte.js
  72. 0 37
      .svelte-kit/output/server/entries/pages/about/_page.svelte.js
  73. 0 3864
      .svelte-kit/output/server/index.js
  74. 0 14
      .svelte-kit/output/server/internal.js
  75. 0 47
      .svelte-kit/output/server/manifest-full.js
  76. 0 32
      .svelte-kit/output/server/manifest.js
  77. 0 13
      .svelte-kit/output/server/nodes/0.js
  78. 0 8
      .svelte-kit/output/server/nodes/1.js
  79. 0 8
      .svelte-kit/output/server/nodes/2.js
  80. 0 8
      .svelte-kit/output/server/nodes/3.js
  81. 0 730
      .svelte-kit/output/server/remote-entry.js
  82. 0 52
      .svelte-kit/tsconfig.json
  83. 0 1
      dist/_app/env.js
  84. 0 0
      dist/_app/immutable/assets/0.CZ29-3n4.css
  85. 0 0
      dist/_app/immutable/assets/2.BtvKmGZk.css
  86. 0 0
      dist/_app/immutable/assets/3.DVfGQhyw.css
  87. 0 1
      dist/_app/immutable/chunks/0o9CXqwM.js
  88. 0 0
      dist/_app/immutable/chunks/B52eEgfS.js
  89. 0 0
      dist/_app/immutable/chunks/BMwnALyW.js
  90. 0 1
      dist/_app/immutable/chunks/CTzuk7kM.js
  91. 0 1
      dist/_app/immutable/chunks/DAD_eSlp.js
  92. 0 0
      dist/_app/immutable/chunks/DHGsjvch.js
  93. 0 0
      dist/_app/immutable/chunks/DP2RCIpD.js
  94. 0 1
      dist/_app/immutable/entry/app.GsRB66E3.js
  95. 0 1
      dist/_app/immutable/entry/start.BRiLKxkP.js
  96. 0 1
      dist/_app/immutable/nodes/0.Dy0HAjLh.js
  97. 0 1
      dist/_app/immutable/nodes/1.BIU0hnJi.js
  98. 0 0
      dist/_app/immutable/nodes/2.CuA8MeGj.js
  99. 0 0
      dist/_app/immutable/nodes/3.BkYYogoY.js
  100. 0 1
      dist/_app/version.json

+ 7 - 0
.gitignore

@@ -0,0 +1,7 @@
+node_modules/
+dist/
+.svelte-kit/
+.wrangler/
+qa-screenshots/
+hero-bg.mp4
+hero-mobile/

+ 0 - 410
.svelte-kit/ambient.d.ts

@@ -1,410 +0,0 @@
-
-// this file is generated — do not edit it
-
-
-/// <reference types="@sveltejs/kit" />
-
-/**
- * This module provides access to environment variables that are injected _statically_ into your bundle at build time and are limited to _private_ access.
- * 
- * |         | Runtime                                                                    | Build time                                                               |
- * | ------- | -------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
- * | Private | [`$env/dynamic/private`](https://svelte.dev/docs/kit/$env-dynamic-private) | [`$env/static/private`](https://svelte.dev/docs/kit/$env-static-private) |
- * | Public  | [`$env/dynamic/public`](https://svelte.dev/docs/kit/$env-dynamic-public)   | [`$env/static/public`](https://svelte.dev/docs/kit/$env-static-public)   |
- * 
- * Static environment variables are [loaded by Vite](https://vitejs.dev/guide/env-and-mode.html#env-files) from `.env` files and `process.env` at build time and then statically injected into your bundle at build time, enabling optimisations like dead code elimination.
- * 
- * **_Private_ access:**
- * 
- * - This module cannot be imported into client-side code
- * - This module only includes variables that _do not_ begin with [`config.kit.env.publicPrefix`](https://svelte.dev/docs/kit/configuration#env) _and do_ start with [`config.kit.env.privatePrefix`](https://svelte.dev/docs/kit/configuration#env) (if configured)
- * 
- * For example, given the following build time environment:
- * 
- * ```env
- * ENVIRONMENT=production
- * PUBLIC_BASE_URL=http://site.com
- * ```
- * 
- * With the default `publicPrefix` and `privatePrefix`:
- * 
- * ```ts
- * import { ENVIRONMENT, PUBLIC_BASE_URL } from '$env/static/private';
- * 
- * console.log(ENVIRONMENT); // => "production"
- * console.log(PUBLIC_BASE_URL); // => throws error during build
- * ```
- * 
- * The above values will be the same _even if_ different values for `ENVIRONMENT` or `PUBLIC_BASE_URL` are set at runtime, as they are statically replaced in your code with their build time values.
- */
-declare module '$env/static/private' {
-	export const SHELL: string;
-	export const npm_command: string;
-	export const SESSION_MANAGER: string;
-	export const COREPACK_ENABLE_AUTO_PIN: string;
-	export const WINDOWID: string;
-	export const npm_config_userconfig: string;
-	export const COLORTERM: string;
-	export const XDG_CONFIG_DIRS: string;
-	export const npm_config_cache: string;
-	export const XDG_SESSION_PATH: string;
-	export const NVM_INC: string;
-	export const XDG_MENU_PREFIX: string;
-	export const ICEAUTHORITY: string;
-	export const LANGUAGE: string;
-	export const NODE: string;
-	export const LC_ADDRESS: string;
-	export const LC_NAME: string;
-	export const SHELL_SESSION_ID: string;
-	export const MEMORY_PRESSURE_WRITE: string;
-	export const COLOR: string;
-	export const npm_config_local_prefix: string;
-	export const DESKTOP_SESSION: string;
-	export const LC_MONETARY: string;
-	export const GTK_RC_FILES: string;
-	export const npm_config_globalconfig: string;
-	export const EDITOR: string;
-	export const XDG_SEAT: string;
-	export const PWD: string;
-	export const XDG_SESSION_DESKTOP: string;
-	export const LOGNAME: string;
-	export const XDG_SESSION_TYPE: string;
-	export const npm_config_init_module: string;
-	export const SYSTEMD_EXEC_PID: string;
-	export const CLAUDE_CODE_DISABLE_TELEMETRY: string;
-	export const _: string;
-	export const XAUTHORITY: string;
-	export const NoDefaultCurrentDirectoryInExePath: string;
-	export const CLAUDECODE: string;
-	export const MOTD_SHOWN: string;
-	export const GTK2_RC_FILES: string;
-	export const HOME: string;
-	export const LC_PAPER: string;
-	export const LANG: string;
-	export const _JAVA_AWT_WM_NONREPARENTING: string;
-	export const XDG_CURRENT_DESKTOP: string;
-	export const KONSOLE_DBUS_SERVICE: string;
-	export const npm_package_version: string;
-	export const MEMORY_PRESSURE_WATCH: string;
-	export const WAYLAND_DISPLAY: string;
-	export const KONSOLE_DBUS_SESSION: string;
-	export const PROFILEHOME: string;
-	export const CLAUDE_CONFIG_DIR: string;
-	export const XDG_SEAT_PATH: string;
-	export const INVOCATION_ID: string;
-	export const KONSOLE_VERSION: string;
-	export const MANAGERPID: string;
-	export const INIT_CWD: string;
-	export const KDE_SESSION_UID: string;
-	export const npm_lifecycle_script: string;
-	export const NVM_DIR: string;
-	export const XKB_DEFAULT_LAYOUT: string;
-	export const npm_config_npm_version: string;
-	export const XDG_SESSION_CLASS: string;
-	export const TERM: string;
-	export const LC_IDENTIFICATION: string;
-	export const npm_package_name: string;
-	export const KONSOLE_DBUS_ACTIVATION_COOKIE: string;
-	export const npm_config_prefix: string;
-	export const USER: string;
-	export const CUDA_PATH: string;
-	export const COLORFGBG: string;
-	export const QT_WAYLAND_RECONNECT: string;
-	export const KDE_SESSION_VERSION: string;
-	export const PAM_KWALLET5_LOGIN: string;
-	export const DISPLAY: string;
-	export const npm_lifecycle_event: string;
-	export const SHLVL: string;
-	export const NVM_CD_FLAGS: string;
-	export const GIT_EDITOR: string;
-	export const LC_TELEPHONE: string;
-	export const LC_MEASUREMENT: string;
-	export const XDG_VTNR: string;
-	export const XDG_SESSION_ID: string;
-	export const MANAGERPIDFDID: string;
-	export const npm_config_user_agent: string;
-	export const OPENCV_OPENCL_DEVICE: string;
-	export const ROCM_PATH: string;
-	export const OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE: string;
-	export const npm_execpath: string;
-	export const XDG_RUNTIME_DIR: string;
-	export const CLAUDE_CODE_ENTRYPOINT: string;
-	export const NVCC_CCBIN: string;
-	export const DEBUGINFOD_URLS: string;
-	export const npm_package_json: string;
-	export const LC_TIME: string;
-	export const FLAGS_use_cuda_managed_memory: string;
-	export const JOURNAL_STREAM: string;
-	export const KDE_FULL_SESSION: string;
-	export const CLAUDE_CODE_EXECPATH: string;
-	export const npm_config_noproxy: string;
-	export const BROWSER: string;
-	export const PATH: string;
-	export const npm_config_node_gyp: string;
-	export const DBUS_SESSION_BUS_ADDRESS: string;
-	export const npm_config_global_prefix: string;
-	export const KDE_APPLICATIONS_AS_SCOPE: string;
-	export const NVM_BIN: string;
-	export const MAIL: string;
-	export const npm_node_execpath: string;
-	export const LC_NUMERIC: string;
-	export const OLDPWD: string;
-	export const KONSOLE_DBUS_WINDOW: string;
-	export const NODE_ENV: string;
-}
-
-/**
- * This module provides access to environment variables that are injected _statically_ into your bundle at build time and are _publicly_ accessible.
- * 
- * |         | Runtime                                                                    | Build time                                                               |
- * | ------- | -------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
- * | Private | [`$env/dynamic/private`](https://svelte.dev/docs/kit/$env-dynamic-private) | [`$env/static/private`](https://svelte.dev/docs/kit/$env-static-private) |
- * | Public  | [`$env/dynamic/public`](https://svelte.dev/docs/kit/$env-dynamic-public)   | [`$env/static/public`](https://svelte.dev/docs/kit/$env-static-public)   |
- * 
- * Static environment variables are [loaded by Vite](https://vitejs.dev/guide/env-and-mode.html#env-files) from `.env` files and `process.env` at build time and then statically injected into your bundle at build time, enabling optimisations like dead code elimination.
- * 
- * **_Public_ access:**
- * 
- * - This module _can_ be imported into client-side code
- * - **Only** variables that begin with [`config.kit.env.publicPrefix`](https://svelte.dev/docs/kit/configuration#env) (which defaults to `PUBLIC_`) are included
- * 
- * For example, given the following build time environment:
- * 
- * ```env
- * ENVIRONMENT=production
- * PUBLIC_BASE_URL=http://site.com
- * ```
- * 
- * With the default `publicPrefix` and `privatePrefix`:
- * 
- * ```ts
- * import { ENVIRONMENT, PUBLIC_BASE_URL } from '$env/static/public';
- * 
- * console.log(ENVIRONMENT); // => throws error during build
- * console.log(PUBLIC_BASE_URL); // => "http://site.com"
- * ```
- * 
- * The above values will be the same _even if_ different values for `ENVIRONMENT` or `PUBLIC_BASE_URL` are set at runtime, as they are statically replaced in your code with their build time values.
- */
-declare module '$env/static/public' {
-	
-}
-
-/**
- * This module provides access to environment variables set _dynamically_ at runtime and that are limited to _private_ access.
- * 
- * |         | Runtime                                                                    | Build time                                                               |
- * | ------- | -------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
- * | Private | [`$env/dynamic/private`](https://svelte.dev/docs/kit/$env-dynamic-private) | [`$env/static/private`](https://svelte.dev/docs/kit/$env-static-private) |
- * | Public  | [`$env/dynamic/public`](https://svelte.dev/docs/kit/$env-dynamic-public)   | [`$env/static/public`](https://svelte.dev/docs/kit/$env-static-public)   |
- * 
- * Dynamic environment variables are defined by the platform you're running on. For example if you're using [`adapter-node`](https://github.com/sveltejs/kit/tree/main/packages/adapter-node) (or running [`vite preview`](https://svelte.dev/docs/kit/cli)), this is equivalent to `process.env`.
- * 
- * **_Private_ access:**
- * 
- * - This module cannot be imported into client-side code
- * - This module includes variables that _do not_ begin with [`config.kit.env.publicPrefix`](https://svelte.dev/docs/kit/configuration#env) _and do_ start with [`config.kit.env.privatePrefix`](https://svelte.dev/docs/kit/configuration#env) (if configured)
- * 
- * > [!NOTE] In `dev`, `$env/dynamic` includes environment variables from `.env`. In `prod`, this behavior will depend on your adapter.
- * 
- * > [!NOTE] To get correct types, environment variables referenced in your code should be declared (for example in an `.env` file), even if they don't have a value until the app is deployed:
- * >
- * > ```env
- * > MY_FEATURE_FLAG=
- * > ```
- * >
- * > You can override `.env` values from the command line like so:
- * >
- * > ```sh
- * > MY_FEATURE_FLAG="enabled" npm run dev
- * > ```
- * 
- * For example, given the following runtime environment:
- * 
- * ```env
- * ENVIRONMENT=production
- * PUBLIC_BASE_URL=http://site.com
- * ```
- * 
- * With the default `publicPrefix` and `privatePrefix`:
- * 
- * ```ts
- * import { env } from '$env/dynamic/private';
- * 
- * console.log(env.ENVIRONMENT); // => "production"
- * console.log(env.PUBLIC_BASE_URL); // => undefined
- * ```
- */
-declare module '$env/dynamic/private' {
-	export const env: {
-		SHELL: string;
-		npm_command: string;
-		SESSION_MANAGER: string;
-		COREPACK_ENABLE_AUTO_PIN: string;
-		WINDOWID: string;
-		npm_config_userconfig: string;
-		COLORTERM: string;
-		XDG_CONFIG_DIRS: string;
-		npm_config_cache: string;
-		XDG_SESSION_PATH: string;
-		NVM_INC: string;
-		XDG_MENU_PREFIX: string;
-		ICEAUTHORITY: string;
-		LANGUAGE: string;
-		NODE: string;
-		LC_ADDRESS: string;
-		LC_NAME: string;
-		SHELL_SESSION_ID: string;
-		MEMORY_PRESSURE_WRITE: string;
-		COLOR: string;
-		npm_config_local_prefix: string;
-		DESKTOP_SESSION: string;
-		LC_MONETARY: string;
-		GTK_RC_FILES: string;
-		npm_config_globalconfig: string;
-		EDITOR: string;
-		XDG_SEAT: string;
-		PWD: string;
-		XDG_SESSION_DESKTOP: string;
-		LOGNAME: string;
-		XDG_SESSION_TYPE: string;
-		npm_config_init_module: string;
-		SYSTEMD_EXEC_PID: string;
-		CLAUDE_CODE_DISABLE_TELEMETRY: string;
-		_: string;
-		XAUTHORITY: string;
-		NoDefaultCurrentDirectoryInExePath: string;
-		CLAUDECODE: string;
-		MOTD_SHOWN: string;
-		GTK2_RC_FILES: string;
-		HOME: string;
-		LC_PAPER: string;
-		LANG: string;
-		_JAVA_AWT_WM_NONREPARENTING: string;
-		XDG_CURRENT_DESKTOP: string;
-		KONSOLE_DBUS_SERVICE: string;
-		npm_package_version: string;
-		MEMORY_PRESSURE_WATCH: string;
-		WAYLAND_DISPLAY: string;
-		KONSOLE_DBUS_SESSION: string;
-		PROFILEHOME: string;
-		CLAUDE_CONFIG_DIR: string;
-		XDG_SEAT_PATH: string;
-		INVOCATION_ID: string;
-		KONSOLE_VERSION: string;
-		MANAGERPID: string;
-		INIT_CWD: string;
-		KDE_SESSION_UID: string;
-		npm_lifecycle_script: string;
-		NVM_DIR: string;
-		XKB_DEFAULT_LAYOUT: string;
-		npm_config_npm_version: string;
-		XDG_SESSION_CLASS: string;
-		TERM: string;
-		LC_IDENTIFICATION: string;
-		npm_package_name: string;
-		KONSOLE_DBUS_ACTIVATION_COOKIE: string;
-		npm_config_prefix: string;
-		USER: string;
-		CUDA_PATH: string;
-		COLORFGBG: string;
-		QT_WAYLAND_RECONNECT: string;
-		KDE_SESSION_VERSION: string;
-		PAM_KWALLET5_LOGIN: string;
-		DISPLAY: string;
-		npm_lifecycle_event: string;
-		SHLVL: string;
-		NVM_CD_FLAGS: string;
-		GIT_EDITOR: string;
-		LC_TELEPHONE: string;
-		LC_MEASUREMENT: string;
-		XDG_VTNR: string;
-		XDG_SESSION_ID: string;
-		MANAGERPIDFDID: string;
-		npm_config_user_agent: string;
-		OPENCV_OPENCL_DEVICE: string;
-		ROCM_PATH: string;
-		OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE: string;
-		npm_execpath: string;
-		XDG_RUNTIME_DIR: string;
-		CLAUDE_CODE_ENTRYPOINT: string;
-		NVCC_CCBIN: string;
-		DEBUGINFOD_URLS: string;
-		npm_package_json: string;
-		LC_TIME: string;
-		FLAGS_use_cuda_managed_memory: string;
-		JOURNAL_STREAM: string;
-		KDE_FULL_SESSION: string;
-		CLAUDE_CODE_EXECPATH: string;
-		npm_config_noproxy: string;
-		BROWSER: string;
-		PATH: string;
-		npm_config_node_gyp: string;
-		DBUS_SESSION_BUS_ADDRESS: string;
-		npm_config_global_prefix: string;
-		KDE_APPLICATIONS_AS_SCOPE: string;
-		NVM_BIN: string;
-		MAIL: string;
-		npm_node_execpath: string;
-		LC_NUMERIC: string;
-		OLDPWD: string;
-		KONSOLE_DBUS_WINDOW: string;
-		NODE_ENV: string;
-		[key: `PUBLIC_${string}`]: undefined;
-		[key: `${string}`]: string | undefined;
-	}
-}
-
-/**
- * This module provides access to environment variables set _dynamically_ at runtime and that are _publicly_ accessible.
- * 
- * |         | Runtime                                                                    | Build time                                                               |
- * | ------- | -------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
- * | Private | [`$env/dynamic/private`](https://svelte.dev/docs/kit/$env-dynamic-private) | [`$env/static/private`](https://svelte.dev/docs/kit/$env-static-private) |
- * | Public  | [`$env/dynamic/public`](https://svelte.dev/docs/kit/$env-dynamic-public)   | [`$env/static/public`](https://svelte.dev/docs/kit/$env-static-public)   |
- * 
- * Dynamic environment variables are defined by the platform you're running on. For example if you're using [`adapter-node`](https://github.com/sveltejs/kit/tree/main/packages/adapter-node) (or running [`vite preview`](https://svelte.dev/docs/kit/cli)), this is equivalent to `process.env`.
- * 
- * **_Public_ access:**
- * 
- * - This module _can_ be imported into client-side code
- * - **Only** variables that begin with [`config.kit.env.publicPrefix`](https://svelte.dev/docs/kit/configuration#env) (which defaults to `PUBLIC_`) are included
- * 
- * > [!NOTE] In `dev`, `$env/dynamic` includes environment variables from `.env`. In `prod`, this behavior will depend on your adapter.
- * 
- * > [!NOTE] To get correct types, environment variables referenced in your code should be declared (for example in an `.env` file), even if they don't have a value until the app is deployed:
- * >
- * > ```env
- * > MY_FEATURE_FLAG=
- * > ```
- * >
- * > You can override `.env` values from the command line like so:
- * >
- * > ```sh
- * > MY_FEATURE_FLAG="enabled" npm run dev
- * > ```
- * 
- * For example, given the following runtime environment:
- * 
- * ```env
- * ENVIRONMENT=production
- * PUBLIC_BASE_URL=http://example.com
- * ```
- * 
- * With the default `publicPrefix` and `privatePrefix`:
- * 
- * ```ts
- * import { env } from '$env/dynamic/public';
- * console.log(env.ENVIRONMENT); // => undefined, not public
- * console.log(env.PUBLIC_BASE_URL); // => "http://example.com"
- * ```
- * 
- * ```
- * 
- * ```
- */
-declare module '$env/dynamic/public' {
-	export const env: {
-		[key: `PUBLIC_${string}`]: string | undefined;
-	}
-}

+ 0 - 31
.svelte-kit/generated/client-optimized/app.js

@@ -1,31 +0,0 @@
-export { matchers } from './matchers.js';
-
-export const nodes = [
-	() => import('./nodes/0'),
-	() => import('./nodes/1'),
-	() => import('./nodes/2'),
-	() => import('./nodes/3')
-];
-
-export const server_loads = [];
-
-export const dictionary = {
-		"/": [2],
-		"/about": [3]
-	};
-
-export const hooks = {
-	handleError: (({ error }) => { console.error(error) }),
-	
-	reroute: (() => {}),
-	transport: {}
-};
-
-export const decoders = Object.fromEntries(Object.entries(hooks.transport).map(([k, v]) => [k, v.decode]));
-export const encoders = Object.fromEntries(Object.entries(hooks.transport).map(([k, v]) => [k, v.encode]));
-
-export const hash = false;
-
-export const decode = (type, value) => decoders[type](value);
-
-export { default as root } from '../root.js';

+ 0 - 1
.svelte-kit/generated/client-optimized/matchers.js

@@ -1 +0,0 @@
-export const matchers = {};

+ 0 - 3
.svelte-kit/generated/client-optimized/nodes/0.js

@@ -1,3 +0,0 @@
-import * as universal from "../../../../src/routes/+layout.js";
-export { universal };
-export { default as component } from "../../../../src/routes/+layout.svelte";

+ 0 - 1
.svelte-kit/generated/client-optimized/nodes/1.js

@@ -1 +0,0 @@
-export { default as component } from "../../../../node_modules/@sveltejs/kit/src/runtime/components/svelte-5/error.svelte";

+ 0 - 1
.svelte-kit/generated/client-optimized/nodes/2.js

@@ -1 +0,0 @@
-export { default as component } from "../../../../src/routes/+page.svelte";

+ 0 - 1
.svelte-kit/generated/client-optimized/nodes/3.js

@@ -1 +0,0 @@
-export { default as component } from "../../../../src/routes/about/+page.svelte";

+ 0 - 31
.svelte-kit/generated/client/app.js

@@ -1,31 +0,0 @@
-export { matchers } from './matchers.js';
-
-export const nodes = [
-	() => import('./nodes/0'),
-	() => import('./nodes/1'),
-	() => import('./nodes/2'),
-	() => import('./nodes/3')
-];
-
-export const server_loads = [];
-
-export const dictionary = {
-		"/": [2],
-		"/about": [3]
-	};
-
-export const hooks = {
-	handleError: (({ error }) => { console.error(error) }),
-	
-	reroute: (() => {}),
-	transport: {}
-};
-
-export const decoders = Object.fromEntries(Object.entries(hooks.transport).map(([k, v]) => [k, v.decode]));
-export const encoders = Object.fromEntries(Object.entries(hooks.transport).map(([k, v]) => [k, v.encode]));
-
-export const hash = false;
-
-export const decode = (type, value) => decoders[type](value);
-
-export { default as root } from '../root.js';

+ 0 - 1
.svelte-kit/generated/client/matchers.js

@@ -1 +0,0 @@
-export const matchers = {};

+ 0 - 3
.svelte-kit/generated/client/nodes/0.js

@@ -1,3 +0,0 @@
-import * as universal from "../../../../src/routes/+layout.js";
-export { universal };
-export { default as component } from "../../../../src/routes/+layout.svelte";

+ 0 - 1
.svelte-kit/generated/client/nodes/1.js

@@ -1 +0,0 @@
-export { default as component } from "../../../../node_modules/@sveltejs/kit/src/runtime/components/svelte-5/error.svelte";

+ 0 - 1
.svelte-kit/generated/client/nodes/2.js

@@ -1 +0,0 @@
-export { default as component } from "../../../../src/routes/+page.svelte";

+ 0 - 1
.svelte-kit/generated/client/nodes/3.js

@@ -1 +0,0 @@
-export { default as component } from "../../../../src/routes/about/+page.svelte";

+ 0 - 3
.svelte-kit/generated/root.js

@@ -1,3 +0,0 @@
-import { asClassComponent } from 'svelte/legacy';
-import Root from './root.svelte';
-export default asClassComponent(Root);

+ 0 - 68
.svelte-kit/generated/root.svelte

@@ -1,68 +0,0 @@
-<!-- This file is generated by @sveltejs/kit — do not edit it! -->
-<svelte:options runes={true} />
-<script>
-	import { setContext, onMount, tick } from 'svelte';
-	import { browser } from '$app/environment';
-
-	// stores
-	let { stores, page, constructors, components = [], form, data_0 = null, data_1 = null } = $props();
-
-	if (!browser) {
-		// svelte-ignore state_referenced_locally
-		setContext('__svelte__', stores);
-	}
-
-	if (browser) {
-		$effect.pre(() => stores.page.set(page));
-	} else {
-		// svelte-ignore state_referenced_locally
-		stores.page.set(page);
-	}
-	$effect(() => {
-		stores;page;constructors;components;form;data_0;data_1;
-		stores.page.notify();
-	});
-
-	let mounted = $state(false);
-	let navigated = $state(false);
-	let title = $state(null);
-
-	onMount(() => {
-		const unsubscribe = stores.page.subscribe(() => {
-			if (mounted) {
-				navigated = true;
-				tick().then(() => {
-					title = document.title || 'untitled page';
-				});
-			}
-		});
-
-		mounted = true;
-		return unsubscribe;
-	});
-
-	const Pyramid_1=$derived(constructors[1])
-</script>
-
-{#if constructors[1]}
-	{@const Pyramid_0 = constructors[0]}
-							<!-- svelte-ignore binding_property_non_reactive -->
-							<Pyramid_0 bind:this={components[0]} data={data_0} {form} params={page.params}>
-								<!-- svelte-ignore binding_property_non_reactive -->
-										<Pyramid_1 bind:this={components[1]} data={data_1} {form} params={page.params} />
-							</Pyramid_0>
-
-{:else}
-	{@const Pyramid_0 = constructors[0]}
-	<!-- svelte-ignore binding_property_non_reactive -->
-	<Pyramid_0 bind:this={components[0]} data={data_0} {form} params={page.params} />
-
-{/if}
-
-{#if mounted}
-	<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px">
-		{#if navigated}
-			{title}
-		{/if}
-	</div>
-{/if}

+ 0 - 54
.svelte-kit/generated/server/internal.js

@@ -1,54 +0,0 @@
-
-import root from '../root.js';
-import { set_building, set_prerendering } from '__sveltekit/environment';
-import { set_assets } from '$app/paths/internal/server';
-import { set_manifest, set_read_implementation } from '__sveltekit/server';
-import { set_private_env, set_public_env } from '../../../node_modules/@sveltejs/kit/src/runtime/shared-server.js';
-
-export const options = {
-	app_template_contains_nonce: false,
-	async: false,
-	csp: {"mode":"auto","directives":{"upgrade-insecure-requests":false,"block-all-mixed-content":false},"reportOnly":{"upgrade-insecure-requests":false,"block-all-mixed-content":false}},
-	csrf_check_origin: true,
-	csrf_trusted_origins: [],
-	embedded: false,
-	env_public_prefix: 'PUBLIC_',
-	env_private_prefix: '',
-	hash_routing: false,
-	hooks: null, // added lazily, via `get_hooks`
-	preload_strategy: "modulepreload",
-	root,
-	service_worker: false,
-	service_worker_options: undefined,
-	server_error_boundaries: false,
-	templates: {
-		app: ({ head, body, assets, nonce, env }) => "<!doctype html>\n<html lang=\"es\">\n\t<head>\n\t\t<meta charset=\"utf-8\" />\n\t\t<link rel=\"icon\" type=\"image/svg+xml\" href=\"" + assets + "/favicon.svg\" />\n\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n\t\t<meta name=\"description\" content=\"Empresa especializada en servicio técnico y mantenimiento de montacargas y apiladores eléctricos de diversas marcas industriales. Con 8 años de experiencia, ofrece soluciones técnicas confiables para el sector industrial y de bodegas en Costa Rica.\" />\n\t\t<meta property=\"og:title\" content=\"Seidoor\" />\n\t\t<meta property=\"og:description\" content=\"Empresa especializada en servicio técnico y mantenimiento de montacargas y apiladores eléctricos de diversas marcas industriales. Con 8 años de experiencia, ofrece soluciones técnicas confiables para el sector industrial y de bodegas en Costa Rica.\" />\n\t\t<meta property=\"og:type\" content=\"website\" />\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" />\n\t\t<meta name=\"twitter:title\" content=\"Seidoor\" />\n\t\t<meta name=\"twitter:description\" content=\"Empresa especializada en servicio técnico y mantenimiento de montacargas y apiladores eléctricos de diversas marcas industriales. Con 8 años de experiencia, ofrece soluciones técnicas confiables para el sector industrial y de bodegas en Costa Rica.\" />\n\t\t<title>Seidoor</title>\n\t\t" + head + "\n\t</head>\n\t<body data-sveltekit-preload-data=\"hover\">\n\t\t<div style=\"display: contents\">" + body + "</div>\n\t</body>\n</html>\n",
-		error: ({ status, message }) => "<!doctype html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta charset=\"utf-8\" />\n\t\t<title>" + message + "</title>\n\n\t\t<style>\n\t\t\tbody {\n\t\t\t\t--bg: white;\n\t\t\t\t--fg: #222;\n\t\t\t\t--divider: #ccc;\n\t\t\t\tbackground: var(--bg);\n\t\t\t\tcolor: var(--fg);\n\t\t\t\tfont-family:\n\t\t\t\t\tsystem-ui,\n\t\t\t\t\t-apple-system,\n\t\t\t\t\tBlinkMacSystemFont,\n\t\t\t\t\t'Segoe UI',\n\t\t\t\t\tRoboto,\n\t\t\t\t\tOxygen,\n\t\t\t\t\tUbuntu,\n\t\t\t\t\tCantarell,\n\t\t\t\t\t'Open Sans',\n\t\t\t\t\t'Helvetica Neue',\n\t\t\t\t\tsans-serif;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tjustify-content: center;\n\t\t\t\theight: 100vh;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\t.error {\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tmax-width: 32rem;\n\t\t\t\tmargin: 0 1rem;\n\t\t\t}\n\n\t\t\t.status {\n\t\t\t\tfont-weight: 200;\n\t\t\t\tfont-size: 3rem;\n\t\t\t\tline-height: 1;\n\t\t\t\tposition: relative;\n\t\t\t\ttop: -0.05rem;\n\t\t\t}\n\n\t\t\t.message {\n\t\t\t\tborder-left: 1px solid var(--divider);\n\t\t\t\tpadding: 0 0 0 1rem;\n\t\t\t\tmargin: 0 0 0 1rem;\n\t\t\t\tmin-height: 2.5rem;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t}\n\n\t\t\t.message h1 {\n\t\t\t\tfont-weight: 400;\n\t\t\t\tfont-size: 1em;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\t@media (prefers-color-scheme: dark) {\n\t\t\t\tbody {\n\t\t\t\t\t--bg: #222;\n\t\t\t\t\t--fg: #ddd;\n\t\t\t\t\t--divider: #666;\n\t\t\t\t}\n\t\t\t}\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<div class=\"error\">\n\t\t\t<span class=\"status\">" + status + "</span>\n\t\t\t<div class=\"message\">\n\t\t\t\t<h1>" + message + "</h1>\n\t\t\t</div>\n\t\t</div>\n\t</body>\n</html>\n"
-	},
-	version_hash: "1kkopx0"
-};
-
-export async function get_hooks() {
-	let handle;
-	let handleFetch;
-	let handleError;
-	let handleValidationError;
-	let init;
-	
-
-	let reroute;
-	let transport;
-	
-
-	return {
-		handle,
-		handleFetch,
-		handleError,
-		handleValidationError,
-		init,
-		reroute,
-		transport
-	};
-}
-
-export { set_assets, set_building, set_manifest, set_prerendering, set_private_env, set_public_env, set_read_implementation };

+ 0 - 44
.svelte-kit/non-ambient.d.ts

@@ -1,44 +0,0 @@
-
-// this file is generated — do not edit it
-
-
-declare module "svelte/elements" {
-	export interface HTMLAttributes<T> {
-		'data-sveltekit-keepfocus'?: true | '' | 'off' | undefined | null;
-		'data-sveltekit-noscroll'?: true | '' | 'off' | undefined | null;
-		'data-sveltekit-preload-code'?:
-			| true
-			| ''
-			| 'eager'
-			| 'viewport'
-			| 'hover'
-			| 'tap'
-			| 'off'
-			| undefined
-			| null;
-		'data-sveltekit-preload-data'?: true | '' | 'hover' | 'tap' | 'off' | undefined | null;
-		'data-sveltekit-reload'?: true | '' | 'off' | undefined | null;
-		'data-sveltekit-replacestate'?: true | '' | 'off' | undefined | null;
-	}
-}
-
-export {};
-
-
-declare module "$app/types" {
-	type MatcherParam<M> = M extends (param : string) => param is (infer U extends string) ? U : string;
-
-	export interface AppTypes {
-		RouteId(): "/" | "/about";
-		RouteParams(): {
-			
-		};
-		LayoutParams(): {
-			"/": Record<string, never>;
-			"/about": Record<string, never>
-		};
-		Pathname(): "/" | "/about";
-		ResolvedPathname(): `${"" | `/${string}`}${ReturnType<AppTypes['Pathname']>}`;
-		Asset(): "/favicon.svg" | "/gallery/1.jpg" | "/gallery/10.jpg" | "/gallery/11.jpg" | "/gallery/12.jpg" | "/gallery/13.jpg" | "/gallery/2.jpg" | "/gallery/3.jpg" | "/gallery/4.jpg" | "/gallery/5.jpg" | "/gallery/6.jpg" | "/gallery/7.jpg" | "/gallery/8.jpg" | "/gallery/9.jpg" | "/hero-bg-mobile.mp4" | "/hero-bg.mp4" | "/logo.png" | string & {};
-	}
-}

+ 0 - 142
.svelte-kit/output/client/.vite/manifest.json

@@ -1,142 +0,0 @@
-{
-  ".svelte-kit/generated/client-optimized/app.js": {
-    "file": "_app/immutable/entry/app.GsRB66E3.js",
-    "name": "entry/app",
-    "src": ".svelte-kit/generated/client-optimized/app.js",
-    "isEntry": true,
-    "imports": [
-      "_DP2RCIpD.js",
-      "_BMwnALyW.js",
-      "_CTzuk7kM.js",
-      "_0o9CXqwM.js",
-      "_DAD_eSlp.js"
-    ],
-    "dynamicImports": [
-      ".svelte-kit/generated/client-optimized/nodes/0.js",
-      ".svelte-kit/generated/client-optimized/nodes/1.js",
-      ".svelte-kit/generated/client-optimized/nodes/2.js",
-      ".svelte-kit/generated/client-optimized/nodes/3.js"
-    ]
-  },
-  ".svelte-kit/generated/client-optimized/nodes/0.js": {
-    "file": "_app/immutable/nodes/0.Dy0HAjLh.js",
-    "name": "nodes/0",
-    "src": ".svelte-kit/generated/client-optimized/nodes/0.js",
-    "isEntry": true,
-    "isDynamicEntry": true,
-    "imports": [
-      "_CTzuk7kM.js",
-      "_DP2RCIpD.js"
-    ],
-    "css": [
-      "_app/immutable/assets/0.CZ29-3n4.css"
-    ]
-  },
-  ".svelte-kit/generated/client-optimized/nodes/1.js": {
-    "file": "_app/immutable/nodes/1.BIU0hnJi.js",
-    "name": "nodes/1",
-    "src": ".svelte-kit/generated/client-optimized/nodes/1.js",
-    "isEntry": true,
-    "isDynamicEntry": true,
-    "imports": [
-      "_CTzuk7kM.js",
-      "_DP2RCIpD.js",
-      "_BMwnALyW.js",
-      "_B52eEgfS.js"
-    ]
-  },
-  ".svelte-kit/generated/client-optimized/nodes/2.js": {
-    "file": "_app/immutable/nodes/2.CuA8MeGj.js",
-    "name": "nodes/2",
-    "src": ".svelte-kit/generated/client-optimized/nodes/2.js",
-    "isEntry": true,
-    "isDynamicEntry": true,
-    "imports": [
-      "_CTzuk7kM.js",
-      "_0o9CXqwM.js",
-      "_DP2RCIpD.js",
-      "_BMwnALyW.js",
-      "_DAD_eSlp.js",
-      "_DHGsjvch.js"
-    ],
-    "css": [
-      "_app/immutable/assets/2.BtvKmGZk.css"
-    ]
-  },
-  ".svelte-kit/generated/client-optimized/nodes/3.js": {
-    "file": "_app/immutable/nodes/3.BkYYogoY.js",
-    "name": "nodes/3",
-    "src": ".svelte-kit/generated/client-optimized/nodes/3.js",
-    "isEntry": true,
-    "isDynamicEntry": true,
-    "imports": [
-      "_CTzuk7kM.js",
-      "_0o9CXqwM.js",
-      "_DP2RCIpD.js",
-      "_BMwnALyW.js",
-      "_DAD_eSlp.js",
-      "_DHGsjvch.js"
-    ],
-    "css": [
-      "_app/immutable/assets/3.DVfGQhyw.css"
-    ]
-  },
-  "_0o9CXqwM.js": {
-    "file": "_app/immutable/chunks/0o9CXqwM.js",
-    "name": "index-client",
-    "imports": [
-      "_DP2RCIpD.js"
-    ]
-  },
-  "_B52eEgfS.js": {
-    "file": "_app/immutable/chunks/B52eEgfS.js",
-    "name": "entry",
-    "imports": [
-      "_DP2RCIpD.js",
-      "_0o9CXqwM.js"
-    ]
-  },
-  "_BMwnALyW.js": {
-    "file": "_app/immutable/chunks/BMwnALyW.js",
-    "name": "render",
-    "imports": [
-      "_DP2RCIpD.js",
-      "_CTzuk7kM.js"
-    ]
-  },
-  "_CTzuk7kM.js": {
-    "file": "_app/immutable/chunks/CTzuk7kM.js",
-    "name": "disclose-version",
-    "imports": [
-      "_DP2RCIpD.js"
-    ]
-  },
-  "_DAD_eSlp.js": {
-    "file": "_app/immutable/chunks/DAD_eSlp.js",
-    "name": "if",
-    "imports": [
-      "_DP2RCIpD.js"
-    ]
-  },
-  "_DHGsjvch.js": {
-    "file": "_app/immutable/chunks/DHGsjvch.js",
-    "name": "style",
-    "imports": [
-      "_DP2RCIpD.js",
-      "_CTzuk7kM.js"
-    ]
-  },
-  "_DP2RCIpD.js": {
-    "file": "_app/immutable/chunks/DP2RCIpD.js",
-    "name": "runtime"
-  },
-  "node_modules/@sveltejs/kit/src/runtime/client/entry.js": {
-    "file": "_app/immutable/entry/start.BRiLKxkP.js",
-    "name": "entry/start",
-    "src": "node_modules/@sveltejs/kit/src/runtime/client/entry.js",
-    "isEntry": true,
-    "imports": [
-      "_B52eEgfS.js"
-    ]
-  }
-}

Різницю між файлами не показано, бо вона завелика
+ 0 - 0
.svelte-kit/output/client/_app/immutable/assets/0.CZ29-3n4.css


Різницю між файлами не показано, бо вона завелика
+ 0 - 0
.svelte-kit/output/client/_app/immutable/assets/2.BtvKmGZk.css


Різницю між файлами не показано, бо вона завелика
+ 0 - 0
.svelte-kit/output/client/_app/immutable/assets/3.DVfGQhyw.css


+ 0 - 1
.svelte-kit/output/client/_app/immutable/chunks/0o9CXqwM.js

@@ -1 +0,0 @@
-import{C as o,D as t,F as c,G as l}from"./DP2RCIpD.js";function u(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function r(e){t===null&&u(),c&&t.l!==null?a(t).m.push(e):o(()=>{const n=l(e);if(typeof n=="function")return n})}function a(e){var n=e.l;return n.u??={a:[],b:[],m:[]}}export{r as o};

Різницю між файлами не показано, бо вона завелика
+ 0 - 0
.svelte-kit/output/client/_app/immutable/chunks/B52eEgfS.js


Різницю між файлами не показано, бо вона завелика
+ 0 - 0
.svelte-kit/output/client/_app/immutable/chunks/BMwnALyW.js


+ 0 - 1
.svelte-kit/output/client/_app/immutable/chunks/CTzuk7kM.js

@@ -1 +0,0 @@
-import{K as v,k as d,M as l,O as u,P as T,T as p,Q as h,o as i,q as s,R as E,x as y,S as g,A as w,U as M}from"./DP2RCIpD.js";const N=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:t=>t});function x(t){return N?.createHTML(t)??t}function A(t){var r=v("template");return r.innerHTML=x(t.replaceAll("<!>","<!---->")),r.content}function n(t,r){var e=l;e.nodes===null&&(e.nodes={start:t,end:r,a:null,t:null})}function P(t,r){var e=(r&p)!==0,f=(r&h)!==0,a,_=!t.startsWith("<!>");return()=>{if(i)return n(s,null),s;a===void 0&&(a=A(_?t:"<!>"+t),e||(a=u(a)));var o=f||T?document.importNode(a,!0):a.cloneNode(!0);if(e){var c=u(o),m=o.lastChild;n(c,m)}else n(o,o);return o}}function R(t=""){if(!i){var r=d(t+"");return n(r,r),r}var e=s;return e.nodeType!==g?(e.before(e=d()),w(e)):M(e),n(e,e),e}function b(){if(i)return n(s,null),s;var t=document.createDocumentFragment(),r=document.createComment(""),e=d();return t.append(r,e),n(r,e),t}function C(t,r){if(i){var e=l;((e.f&E)===0||e.nodes.end===null)&&(e.nodes.end=s),y();return}t!==null&&t.before(r)}const L="5";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add(L);export{C as a,n as b,b as c,P as f,R as t};

+ 0 - 1
.svelte-kit/output/client/_app/immutable/chunks/DAD_eSlp.js

@@ -1 +0,0 @@
-import{h as m,i as c,j as b,k as u,l as _,m as k,o,q as v,u as g,v as y,w,x as A,E as x,y as E,z as F,A as M,B as p}from"./DP2RCIpD.js";class B{anchor;#t=new Map;#s=new Map;#e=new Map;#a=new Set;#i=!0;constructor(t,s=!0){this.anchor=t,this.#i=s}#r=t=>{if(this.#t.has(t)){var s=this.#t.get(t),e=this.#s.get(s);if(e)m(e),this.#a.delete(s);else{var r=this.#e.get(s);r&&(this.#s.set(s,r.effect),this.#e.delete(s),r.fragment.lastChild.remove(),this.anchor.before(r.fragment),e=r.effect)}for(const[i,f]of this.#t){if(this.#t.delete(i),i===t)break;const a=this.#e.get(f);a&&(c(a.effect),this.#e.delete(f))}for(const[i,f]of this.#s){if(i===s||this.#a.has(i))continue;const a=()=>{if(Array.from(this.#t.values()).includes(i)){var h=document.createDocumentFragment();g(f,h),h.append(u()),this.#e.set(i,{effect:f,fragment:h})}else c(f);this.#a.delete(i),this.#s.delete(i)};this.#i||!e?(this.#a.add(i),b(f,a,!1)):a()}}};#f=t=>{this.#t.delete(t);const s=Array.from(this.#t.values());for(const[e,r]of this.#e)s.includes(e)||(c(r.effect),this.#e.delete(e))};ensure(t,s){var e=k,r=y();if(s&&!this.#s.has(t)&&!this.#e.has(t))if(r){var i=document.createDocumentFragment(),f=u();i.append(f),this.#e.set(t,{effect:_(()=>s(f)),fragment:i})}else this.#s.set(t,_(()=>s(this.anchor)));if(this.#t.set(e,t),r){for(const[a,n]of this.#s)a===t?e.unskip_effect(n):e.skip_effect(n);for(const[a,n]of this.#e)a===t?e.unskip_effect(n.effect):e.skip_effect(n.effect);e.oncommit(this.#r),e.ondiscard(this.#f)}else o&&(this.anchor=v),this.#r(e)}}function C(d,t,s=!1){var e;o&&(e=v,A());var r=new B(d),i=s?x:0;function f(a,n){if(o){var h=E(e);if(a!==parseInt(h.substring(1))){var l=F();M(l),r.anchor=l,p(!1),r.ensure(a,n),p(!0);return}}r.ensure(a,n)}w(()=>{var a=!1;t((n,h=0)=>{a=!0,f(h,n)}),a||f(-1,null)},i)}export{B,C as i};

Різницю між файлами не показано, бо вона завелика
+ 0 - 0
.svelte-kit/output/client/_app/immutable/chunks/DHGsjvch.js


Різницю між файлами не показано, бо вона завелика
+ 0 - 0
.svelte-kit/output/client/_app/immutable/chunks/DP2RCIpD.js


Різницю між файлами не показано, бо вона завелика
+ 0 - 1
.svelte-kit/output/client/_app/immutable/entry/app.GsRB66E3.js


+ 0 - 1
.svelte-kit/output/client/_app/immutable/entry/start.BRiLKxkP.js

@@ -1 +0,0 @@
-import{l as o,a as r}from"../chunks/B52eEgfS.js";export{o as load_css,r as start};

+ 0 - 1
.svelte-kit/output/client/_app/immutable/nodes/0.Dy0HAjLh.js

@@ -1 +0,0 @@
-import{c as l,a as f}from"../chunks/CTzuk7kM.js";import{o as s,x as i,V as c,f as d}from"../chunks/DP2RCIpD.js";function u(r,e,a,t,y){s&&i();var n=e.$$slots?.[a],o=!1;n===!0&&(n=e.children,o=!0),n===void 0||n(r,o?()=>t:t)}const _=!0,m=!1,v=Object.freeze(Object.defineProperty({__proto__:null,prerender:_,ssr:m},Symbol.toStringTag,{value:"Module"}));c();function b(r,e){var a=l(),t=d(a);u(t,e,"default",{}),f(r,a)}export{b as component,v as universal};

+ 0 - 1
.svelte-kit/output/client/_app/immutable/nodes/1.BIU0hnJi.js

@@ -1 +0,0 @@
-import{a as i,f as h}from"../chunks/CTzuk7kM.js";import{p as g,f as v,t as d,a as l,c as a,r as s,b as _}from"../chunks/DP2RCIpD.js";import{s as o}from"../chunks/BMwnALyW.js";import{s as x,p}from"../chunks/B52eEgfS.js";const $={get error(){return p.error},get status(){return p.status}};x.updated.check;const m=$;var b=h("<h1> </h1> <p> </p>",1);function w(c,f){g(f,!0);var t=b(),r=v(t),n=a(r,!0);s(r);var e=_(r,2),u=a(e,!0);s(e),d(()=>{o(n,m.status),o(u,m.error?.message)}),i(c,t),l()}export{w as component};

Різницю між файлами не показано, бо вона завелика
+ 0 - 0
.svelte-kit/output/client/_app/immutable/nodes/2.CuA8MeGj.js


Різницю між файлами не показано, бо вона завелика
+ 0 - 0
.svelte-kit/output/client/_app/immutable/nodes/3.BkYYogoY.js


+ 0 - 1
.svelte-kit/output/client/_app/version.json

@@ -1 +0,0 @@
-{"version":"1775852332484"}

+ 0 - 4
.svelte-kit/output/client/favicon.svg

@@ -1,4 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
-  <circle cx="16" cy="16" r="16" fill="hsl(163, 65%, 45%)"/>
-  <text x="16" y="22" font-size="14" font-family="Arial, sans-serif" font-weight="bold" fill="white" text-anchor="middle">S</text>
-</svg>

BIN
.svelte-kit/output/client/gallery/1.jpg


BIN
.svelte-kit/output/client/gallery/10.jpg


BIN
.svelte-kit/output/client/gallery/2.jpg


BIN
.svelte-kit/output/client/gallery/3.jpg


BIN
.svelte-kit/output/client/gallery/4.jpg


BIN
.svelte-kit/output/client/gallery/5.jpg


BIN
.svelte-kit/output/client/gallery/6.jpg


BIN
.svelte-kit/output/client/gallery/7.jpg


BIN
.svelte-kit/output/client/gallery/8.jpg


BIN
.svelte-kit/output/client/gallery/9.jpg


BIN
.svelte-kit/output/client/hero-bg-mobile.mp4


BIN
.svelte-kit/output/client/hero-bg.mp4


BIN
.svelte-kit/output/client/logo.png


+ 0 - 1
.svelte-kit/output/prerendered/dependencies/_app/env.js

@@ -1 +0,0 @@
-export const env={}

+ 0 - 45
.svelte-kit/output/prerendered/pages/about.html

@@ -1,45 +0,0 @@
-<!doctype html>
-<html lang="es">
-	<head>
-		<meta charset="utf-8" />
-		<link rel="icon" type="image/svg+xml" href="./favicon.svg" />
-		<meta name="viewport" content="width=device-width, initial-scale=1" />
-		<meta name="description" content="Empresa especializada en servicio técnico y mantenimiento de montacargas y apiladores eléctricos de diversas marcas industriales. Con 8 años de experiencia, ofrece soluciones técnicas confiables para el sector industrial y de bodegas en Costa Rica." />
-		<meta property="og:title" content="Seidoor" />
-		<meta property="og:description" content="Empresa especializada en servicio técnico y mantenimiento de montacargas y apiladores eléctricos de diversas marcas industriales. Con 8 años de experiencia, ofrece soluciones técnicas confiables para el sector industrial y de bodegas en Costa Rica." />
-		<meta property="og:type" content="website" />
-		<meta name="twitter:card" content="summary_large_image" />
-		<meta name="twitter:title" content="Seidoor" />
-		<meta name="twitter:description" content="Empresa especializada en servicio técnico y mantenimiento de montacargas y apiladores eléctricos de diversas marcas industriales. Con 8 años de experiencia, ofrece soluciones técnicas confiables para el sector industrial y de bodegas en Costa Rica." />
-		<title>Seidoor</title>
-		<link href="./_app/immutable/entry/start.BRiLKxkP.js" rel="modulepreload">
-		<link href="./_app/immutable/chunks/B52eEgfS.js" rel="modulepreload">
-		<link href="./_app/immutable/chunks/DP2RCIpD.js" rel="modulepreload">
-		<link href="./_app/immutable/chunks/0o9CXqwM.js" rel="modulepreload">
-		<link href="./_app/immutable/entry/app.GsRB66E3.js" rel="modulepreload">
-		<link href="./_app/immutable/chunks/BMwnALyW.js" rel="modulepreload">
-		<link href="./_app/immutable/chunks/CTzuk7kM.js" rel="modulepreload">
-		<link href="./_app/immutable/chunks/DAD_eSlp.js" rel="modulepreload">
-		
-	</head>
-	<body data-sveltekit-preload-data="hover">
-		<div style="display: contents">
-			<script>
-				{
-					__sveltekit_tdx9xw = {
-						base: new URL(".", location).pathname.slice(0, -1)
-					};
-
-					const element = document.currentScript.parentElement;
-
-					Promise.all([
-						import("./_app/immutable/entry/start.BRiLKxkP.js"),
-						import("./_app/immutable/entry/app.GsRB66E3.js")
-					]).then(([kit, app]) => {
-						kit.start(app, element);
-					});
-				}
-			</script>
-		</div>
-	</body>
-</html>

+ 0 - 45
.svelte-kit/output/prerendered/pages/index.html

@@ -1,45 +0,0 @@
-<!doctype html>
-<html lang="es">
-	<head>
-		<meta charset="utf-8" />
-		<link rel="icon" type="image/svg+xml" href="./favicon.svg" />
-		<meta name="viewport" content="width=device-width, initial-scale=1" />
-		<meta name="description" content="Empresa especializada en servicio técnico y mantenimiento de montacargas y apiladores eléctricos de diversas marcas industriales. Con 8 años de experiencia, ofrece soluciones técnicas confiables para el sector industrial y de bodegas en Costa Rica." />
-		<meta property="og:title" content="Seidoor" />
-		<meta property="og:description" content="Empresa especializada en servicio técnico y mantenimiento de montacargas y apiladores eléctricos de diversas marcas industriales. Con 8 años de experiencia, ofrece soluciones técnicas confiables para el sector industrial y de bodegas en Costa Rica." />
-		<meta property="og:type" content="website" />
-		<meta name="twitter:card" content="summary_large_image" />
-		<meta name="twitter:title" content="Seidoor" />
-		<meta name="twitter:description" content="Empresa especializada en servicio técnico y mantenimiento de montacargas y apiladores eléctricos de diversas marcas industriales. Con 8 años de experiencia, ofrece soluciones técnicas confiables para el sector industrial y de bodegas en Costa Rica." />
-		<title>Seidoor</title>
-		<link href="./_app/immutable/entry/start.BRiLKxkP.js" rel="modulepreload">
-		<link href="./_app/immutable/chunks/B52eEgfS.js" rel="modulepreload">
-		<link href="./_app/immutable/chunks/DP2RCIpD.js" rel="modulepreload">
-		<link href="./_app/immutable/chunks/0o9CXqwM.js" rel="modulepreload">
-		<link href="./_app/immutable/entry/app.GsRB66E3.js" rel="modulepreload">
-		<link href="./_app/immutable/chunks/BMwnALyW.js" rel="modulepreload">
-		<link href="./_app/immutable/chunks/CTzuk7kM.js" rel="modulepreload">
-		<link href="./_app/immutable/chunks/DAD_eSlp.js" rel="modulepreload">
-		
-	</head>
-	<body data-sveltekit-preload-data="hover">
-		<div style="display: contents">
-			<script>
-				{
-					__sveltekit_tdx9xw = {
-						base: new URL(".", location).pathname.slice(0, -1)
-					};
-
-					const element = document.currentScript.parentElement;
-
-					Promise.all([
-						import("./_app/immutable/entry/start.BRiLKxkP.js"),
-						import("./_app/immutable/entry/app.GsRB66E3.js")
-					]).then(([kit, app]) => {
-						kit.start(app, element);
-					});
-				}
-			</script>
-		</div>
-	</body>
-</html>

+ 0 - 153
.svelte-kit/output/server/.vite/manifest.json

@@ -1,153 +0,0 @@
-{
-  ".svelte-kit/generated/server/internal.js": {
-    "file": "internal.js",
-    "name": "internal",
-    "src": ".svelte-kit/generated/server/internal.js",
-    "isEntry": true,
-    "imports": [
-      "_root.js",
-      "_environment.js",
-      "_internal.js"
-    ]
-  },
-  "_environment.js": {
-    "file": "chunks/environment.js",
-    "name": "environment"
-  },
-  "_exports.js": {
-    "file": "chunks/exports.js",
-    "name": "exports",
-    "imports": [
-      "_renderer.js",
-      "_root.js"
-    ]
-  },
-  "_false.js": {
-    "file": "chunks/false.js",
-    "name": "false"
-  },
-  "_html.js": {
-    "file": "chunks/html.js",
-    "name": "html"
-  },
-  "_internal.js": {
-    "file": "chunks/internal.js",
-    "name": "internal",
-    "imports": [
-      "_root.js",
-      "_environment.js"
-    ]
-  },
-  "_render-context.js": {
-    "file": "chunks/render-context.js",
-    "name": "render-context"
-  },
-  "_renderer.js": {
-    "file": "chunks/renderer.js",
-    "name": "renderer",
-    "imports": [
-      "_render-context.js"
-    ]
-  },
-  "_root.js": {
-    "file": "chunks/root.js",
-    "name": "root",
-    "imports": [
-      "_renderer.js",
-      "_false.js"
-    ]
-  },
-  "_shared.js": {
-    "file": "chunks/shared.js",
-    "name": "shared",
-    "imports": [
-      "_utils.js",
-      "_render-context.js"
-    ]
-  },
-  "_utils.js": {
-    "file": "chunks/utils.js",
-    "name": "utils"
-  },
-  "node_modules/@sveltejs/kit/src/runtime/app/server/remote/index.js": {
-    "file": "remote-entry.js",
-    "name": "remote-entry",
-    "src": "node_modules/@sveltejs/kit/src/runtime/app/server/remote/index.js",
-    "isEntry": true,
-    "imports": [
-      "_shared.js",
-      "_false.js",
-      "_environment.js"
-    ]
-  },
-  "node_modules/@sveltejs/kit/src/runtime/components/svelte-5/error.svelte": {
-    "file": "entries/fallbacks/error.svelte.js",
-    "name": "entries/fallbacks/error.svelte",
-    "src": "node_modules/@sveltejs/kit/src/runtime/components/svelte-5/error.svelte",
-    "isEntry": true,
-    "imports": [
-      "_renderer.js",
-      "_exports.js",
-      "_root.js",
-      "_utils.js"
-    ]
-  },
-  "node_modules/@sveltejs/kit/src/runtime/server/index.js": {
-    "file": "index.js",
-    "name": "index",
-    "src": "node_modules/@sveltejs/kit/src/runtime/server/index.js",
-    "isEntry": true,
-    "imports": [
-      "_false.js",
-      "_environment.js",
-      "_shared.js",
-      "_exports.js",
-      "_utils.js",
-      "_internal.js"
-    ]
-  },
-  "src/routes/+layout.js": {
-    "file": "entries/pages/_layout.js",
-    "name": "entries/pages/_layout",
-    "src": "src/routes/+layout.js",
-    "isEntry": true
-  },
-  "src/routes/+layout.svelte": {
-    "file": "entries/pages/_layout.svelte.js",
-    "name": "entries/pages/_layout.svelte",
-    "src": "src/routes/+layout.svelte",
-    "isEntry": true,
-    "imports": [
-      "_renderer.js"
-    ],
-    "css": [
-      "_app/immutable/assets/_layout.CZ29-3n4.css"
-    ]
-  },
-  "src/routes/+page.svelte": {
-    "file": "entries/pages/_page.svelte.js",
-    "name": "entries/pages/_page.svelte",
-    "src": "src/routes/+page.svelte",
-    "isEntry": true,
-    "imports": [
-      "_renderer.js",
-      "_html.js"
-    ],
-    "css": [
-      "_app/immutable/assets/_page.BUh8Ugye.css"
-    ]
-  },
-  "src/routes/about/+page.svelte": {
-    "file": "entries/pages/about/_page.svelte.js",
-    "name": "entries/pages/about/_page.svelte",
-    "src": "src/routes/about/+page.svelte",
-    "isEntry": true,
-    "imports": [
-      "_renderer.js",
-      "_html.js"
-    ],
-    "css": [
-      "_app/immutable/assets/_page.n_qa3HoS.css"
-    ]
-  }
-}

Різницю між файлами не показано, бо вона завелика
+ 0 - 0
.svelte-kit/output/server/_app/immutable/assets/_layout.CZ29-3n4.css


Різницю між файлами не показано, бо вона завелика
+ 0 - 0
.svelte-kit/output/server/_app/immutable/assets/_page.BUh8Ugye.css


Різницю між файлами не показано, бо вона завелика
+ 0 - 0
.svelte-kit/output/server/_app/immutable/assets/_page.n_qa3HoS.css


+ 0 - 34
.svelte-kit/output/server/chunks/environment.js

@@ -1,34 +0,0 @@
-let base = "";
-let assets = base;
-const app_dir = "_app";
-const relative = true;
-const initial = { base, assets };
-function override(paths) {
-  base = paths.base;
-  assets = paths.assets;
-}
-function reset() {
-  base = initial.base;
-  assets = initial.assets;
-}
-function set_assets(path) {
-  assets = initial.assets = path;
-}
-let prerendering = false;
-function set_building() {
-}
-function set_prerendering() {
-  prerendering = true;
-}
-export {
-  assets as a,
-  base as b,
-  app_dir as c,
-  reset as d,
-  set_building as e,
-  set_prerendering as f,
-  override as o,
-  prerendering as p,
-  relative as r,
-  set_assets as s
-};

+ 0 - 231
.svelte-kit/output/server/chunks/exports.js

@@ -1,231 +0,0 @@
-import { n as noop } from "./renderer.js";
-import { s as safe_not_equal } from "./root.js";
-const SCHEME = /^[a-z][a-z\d+\-.]+:/i;
-const internal = new URL("sveltekit-internal://");
-function resolve(base, path) {
-  if (path[0] === "/" && path[1] === "/") return path;
-  let url = new URL(base, internal);
-  url = new URL(path, url);
-  return url.protocol === internal.protocol ? url.pathname + url.search + url.hash : url.href;
-}
-function normalize_path(path, trailing_slash) {
-  if (path === "/" || trailing_slash === "ignore") return path;
-  if (trailing_slash === "never") {
-    return path.endsWith("/") ? path.slice(0, -1) : path;
-  } else if (trailing_slash === "always" && !path.endsWith("/")) {
-    return path + "/";
-  }
-  return path;
-}
-function decode_pathname(pathname) {
-  return pathname.split("%25").map(decodeURI).join("%25");
-}
-function decode_params(params) {
-  for (const key in params) {
-    params[key] = decodeURIComponent(params[key]);
-  }
-  return params;
-}
-function make_trackable(url, callback, search_params_callback, allow_hash = false) {
-  const tracked = new URL(url);
-  Object.defineProperty(tracked, "searchParams", {
-    value: new Proxy(tracked.searchParams, {
-      get(obj, key) {
-        if (key === "get" || key === "getAll" || key === "has") {
-          return (param, ...rest) => {
-            search_params_callback(param);
-            return obj[key](param, ...rest);
-          };
-        }
-        callback();
-        const value = Reflect.get(obj, key);
-        return typeof value === "function" ? value.bind(obj) : value;
-      }
-    }),
-    enumerable: true,
-    configurable: true
-  });
-  const tracked_url_properties = ["href", "pathname", "search", "toString", "toJSON"];
-  if (allow_hash) tracked_url_properties.push("hash");
-  for (const property of tracked_url_properties) {
-    Object.defineProperty(tracked, property, {
-      get() {
-        callback();
-        return url[property];
-      },
-      enumerable: true,
-      configurable: true
-    });
-  }
-  {
-    tracked[/* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom")] = (depth, opts, inspect) => {
-      return inspect(url, opts);
-    };
-    tracked.searchParams[/* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom")] = (depth, opts, inspect) => {
-      return inspect(url.searchParams, opts);
-    };
-  }
-  if (!allow_hash) {
-    disable_hash(tracked);
-  }
-  return tracked;
-}
-function disable_hash(url) {
-  allow_nodejs_console_log(url);
-  Object.defineProperty(url, "hash", {
-    get() {
-      throw new Error(
-        "Cannot access event.url.hash. Consider using `page.url.hash` inside a component instead"
-      );
-    }
-  });
-}
-function disable_search(url) {
-  allow_nodejs_console_log(url);
-  for (const property of ["search", "searchParams"]) {
-    Object.defineProperty(url, property, {
-      get() {
-        throw new Error(`Cannot access url.${property} on a page with prerendering enabled`);
-      }
-    });
-  }
-}
-function allow_nodejs_console_log(url) {
-  {
-    url[/* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom")] = (depth, opts, inspect) => {
-      return inspect(new URL(url), opts);
-    };
-  }
-}
-const subscriber_queue = [];
-function readable(value, start) {
-  return {
-    subscribe: writable(value, start).subscribe
-  };
-}
-function writable(value, start = noop) {
-  let stop = null;
-  const subscribers = /* @__PURE__ */ new Set();
-  function set(new_value) {
-    if (safe_not_equal(value, new_value)) {
-      value = new_value;
-      if (stop) {
-        const run_queue = !subscriber_queue.length;
-        for (const subscriber of subscribers) {
-          subscriber[1]();
-          subscriber_queue.push(subscriber, value);
-        }
-        if (run_queue) {
-          for (let i = 0; i < subscriber_queue.length; i += 2) {
-            subscriber_queue[i][0](subscriber_queue[i + 1]);
-          }
-          subscriber_queue.length = 0;
-        }
-      }
-    }
-  }
-  function update(fn) {
-    set(fn(
-      /** @type {T} */
-      value
-    ));
-  }
-  function subscribe(run, invalidate = noop) {
-    const subscriber = [run, invalidate];
-    subscribers.add(subscriber);
-    if (subscribers.size === 1) {
-      stop = start(set, update) || noop;
-    }
-    run(
-      /** @type {T} */
-      value
-    );
-    return () => {
-      subscribers.delete(subscriber);
-      if (subscribers.size === 0 && stop) {
-        stop();
-        stop = null;
-      }
-    };
-  }
-  return { set, update, subscribe };
-}
-function validator(expected) {
-  function validate(module, file) {
-    if (!module) return;
-    for (const key in module) {
-      if (key[0] === "_" || expected.has(key)) continue;
-      const values = [...expected.values()];
-      const hint = hint_for_supported_files(key, file?.slice(file.lastIndexOf("."))) ?? `valid exports are ${values.join(", ")}, or anything with a '_' prefix`;
-      throw new Error(`Invalid export '${key}'${file ? ` in ${file}` : ""} (${hint})`);
-    }
-  }
-  return validate;
-}
-function hint_for_supported_files(key, ext = ".js") {
-  const supported_files = [];
-  if (valid_layout_exports.has(key)) {
-    supported_files.push(`+layout${ext}`);
-  }
-  if (valid_page_exports.has(key)) {
-    supported_files.push(`+page${ext}`);
-  }
-  if (valid_layout_server_exports.has(key)) {
-    supported_files.push(`+layout.server${ext}`);
-  }
-  if (valid_page_server_exports.has(key)) {
-    supported_files.push(`+page.server${ext}`);
-  }
-  if (valid_server_exports.has(key)) {
-    supported_files.push(`+server${ext}`);
-  }
-  if (supported_files.length > 0) {
-    return `'${key}' is a valid export in ${supported_files.slice(0, -1).join(", ")}${supported_files.length > 1 ? " or " : ""}${supported_files.at(-1)}`;
-  }
-}
-const valid_layout_exports = /* @__PURE__ */ new Set([
-  "load",
-  "prerender",
-  "csr",
-  "ssr",
-  "trailingSlash",
-  "config"
-]);
-const valid_page_exports = /* @__PURE__ */ new Set([...valid_layout_exports, "entries"]);
-const valid_layout_server_exports = /* @__PURE__ */ new Set([...valid_layout_exports]);
-const valid_page_server_exports = /* @__PURE__ */ new Set([...valid_layout_server_exports, "actions", "entries"]);
-const valid_server_exports = /* @__PURE__ */ new Set([
-  "GET",
-  "POST",
-  "PATCH",
-  "PUT",
-  "DELETE",
-  "OPTIONS",
-  "HEAD",
-  "fallback",
-  "prerender",
-  "trailingSlash",
-  "config",
-  "entries"
-]);
-const validate_layout_exports = validator(valid_layout_exports);
-const validate_page_exports = validator(valid_page_exports);
-const validate_layout_server_exports = validator(valid_layout_server_exports);
-const validate_page_server_exports = validator(valid_page_server_exports);
-const validate_server_exports = validator(valid_server_exports);
-export {
-  SCHEME as S,
-  decode_params as a,
-  validate_layout_exports as b,
-  validate_page_server_exports as c,
-  disable_search as d,
-  validate_page_exports as e,
-  resolve as f,
-  decode_pathname as g,
-  validate_server_exports as h,
-  make_trackable as m,
-  normalize_path as n,
-  readable as r,
-  validate_layout_server_exports as v,
-  writable as w
-};

+ 0 - 4
.svelte-kit/output/server/chunks/false.js

@@ -1,4 +0,0 @@
-const BROWSER = false;
-export {
-  BROWSER as B
-};

+ 0 - 8
.svelte-kit/output/server/chunks/html.js

@@ -1,8 +0,0 @@
-function html(value) {
-  var html2 = String(value ?? "");
-  var open = "<!---->";
-  return open + html2 + "<!---->";
-}
-export {
-  html as h
-};

+ 0 - 134
.svelte-kit/output/server/chunks/internal.js

@@ -1,134 +0,0 @@
-import { r as root } from "./root.js";
-import "./environment.js";
-let public_env = {};
-function set_private_env(environment) {
-}
-function set_public_env(environment) {
-  public_env = environment;
-}
-let read_implementation = null;
-function set_read_implementation(fn) {
-  read_implementation = fn;
-}
-function set_manifest(_) {
-}
-const options = {
-  app_template_contains_nonce: false,
-  async: false,
-  csp: { "mode": "auto", "directives": { "upgrade-insecure-requests": false, "block-all-mixed-content": false }, "reportOnly": { "upgrade-insecure-requests": false, "block-all-mixed-content": false } },
-  csrf_check_origin: true,
-  csrf_trusted_origins: [],
-  embedded: false,
-  env_public_prefix: "PUBLIC_",
-  env_private_prefix: "",
-  hash_routing: false,
-  hooks: null,
-  // added lazily, via `get_hooks`
-  preload_strategy: "modulepreload",
-  root,
-  service_worker: false,
-  service_worker_options: void 0,
-  server_error_boundaries: false,
-  templates: {
-    app: ({ head, body, assets, nonce, env }) => '<!doctype html>\n<html lang="es">\n	<head>\n		<meta charset="utf-8" />\n		<link rel="icon" type="image/svg+xml" href="' + assets + '/favicon.svg" />\n		<meta name="viewport" content="width=device-width, initial-scale=1" />\n		<meta name="description" content="Empresa especializada en servicio técnico y mantenimiento de montacargas y apiladores eléctricos de diversas marcas industriales. Con 8 años de experiencia, ofrece soluciones técnicas confiables para el sector industrial y de bodegas en Costa Rica." />\n		<meta property="og:title" content="Seidoor" />\n		<meta property="og:description" content="Empresa especializada en servicio técnico y mantenimiento de montacargas y apiladores eléctricos de diversas marcas industriales. Con 8 años de experiencia, ofrece soluciones técnicas confiables para el sector industrial y de bodegas en Costa Rica." />\n		<meta property="og:type" content="website" />\n		<meta name="twitter:card" content="summary_large_image" />\n		<meta name="twitter:title" content="Seidoor" />\n		<meta name="twitter:description" content="Empresa especializada en servicio técnico y mantenimiento de montacargas y apiladores eléctricos de diversas marcas industriales. Con 8 años de experiencia, ofrece soluciones técnicas confiables para el sector industrial y de bodegas en Costa Rica." />\n		<title>Seidoor</title>\n		' + head + '\n	</head>\n	<body data-sveltekit-preload-data="hover">\n		<div style="display: contents">' + body + "</div>\n	</body>\n</html>\n",
-    error: ({ status, message }) => '<!doctype html>\n<html lang="en">\n	<head>\n		<meta charset="utf-8" />\n		<title>' + message + `</title>
-
-		<style>
-			body {
-				--bg: white;
-				--fg: #222;
-				--divider: #ccc;
-				background: var(--bg);
-				color: var(--fg);
-				font-family:
-					system-ui,
-					-apple-system,
-					BlinkMacSystemFont,
-					'Segoe UI',
-					Roboto,
-					Oxygen,
-					Ubuntu,
-					Cantarell,
-					'Open Sans',
-					'Helvetica Neue',
-					sans-serif;
-				display: flex;
-				align-items: center;
-				justify-content: center;
-				height: 100vh;
-				margin: 0;
-			}
-
-			.error {
-				display: flex;
-				align-items: center;
-				max-width: 32rem;
-				margin: 0 1rem;
-			}
-
-			.status {
-				font-weight: 200;
-				font-size: 3rem;
-				line-height: 1;
-				position: relative;
-				top: -0.05rem;
-			}
-
-			.message {
-				border-left: 1px solid var(--divider);
-				padding: 0 0 0 1rem;
-				margin: 0 0 0 1rem;
-				min-height: 2.5rem;
-				display: flex;
-				align-items: center;
-			}
-
-			.message h1 {
-				font-weight: 400;
-				font-size: 1em;
-				margin: 0;
-			}
-
-			@media (prefers-color-scheme: dark) {
-				body {
-					--bg: #222;
-					--fg: #ddd;
-					--divider: #666;
-				}
-			}
-		</style>
-	</head>
-	<body>
-		<div class="error">
-			<span class="status">` + status + '</span>\n			<div class="message">\n				<h1>' + message + "</h1>\n			</div>\n		</div>\n	</body>\n</html>\n"
-  },
-  version_hash: "tdx9xw"
-};
-async function get_hooks() {
-  let handle;
-  let handleFetch;
-  let handleError;
-  let handleValidationError;
-  let init;
-  let reroute;
-  let transport;
-  return {
-    handle,
-    handleFetch,
-    handleError,
-    handleValidationError,
-    init,
-    reroute,
-    transport
-  };
-}
-export {
-  set_public_env as a,
-  set_read_implementation as b,
-  set_manifest as c,
-  get_hooks as g,
-  options as o,
-  public_env as p,
-  read_implementation as r,
-  set_private_env as s
-};

+ 0 - 59
.svelte-kit/output/server/chunks/render-context.js

@@ -1,59 +0,0 @@
-function experimental_async_required(name) {
-  {
-    throw new Error(`https://svelte.dev/e/experimental_async_required`);
-  }
-}
-function lifecycle_outside_component(name) {
-  {
-    throw new Error(`https://svelte.dev/e/lifecycle_outside_component`);
-  }
-}
-function await_invalid() {
-  const error = new Error(`await_invalid
-Encountered asynchronous work while rendering synchronously.
-https://svelte.dev/e/await_invalid`);
-  error.name = "Svelte error";
-  throw error;
-}
-function hydratable_serialization_failed(key, stack) {
-  const error = new Error(`hydratable_serialization_failed
-Failed to serialize \`hydratable\` data for key \`${key}\`.
-
-\`hydratable\` can serialize anything [\`uneval\` from \`devalue\`](https://npmjs.com/package/uneval) can, plus Promises.
-
-Cause:
-${stack}
-https://svelte.dev/e/hydratable_serialization_failed`);
-  error.name = "Svelte error";
-  throw error;
-}
-function invalid_csp() {
-  const error = new Error(`invalid_csp
-\`csp.nonce\` was set while \`csp.hash\` was \`true\`. These options cannot be used simultaneously.
-https://svelte.dev/e/invalid_csp`);
-  error.name = "Svelte error";
-  throw error;
-}
-function server_context_required() {
-  const error = new Error(`server_context_required
-Could not resolve \`render\` context.
-https://svelte.dev/e/server_context_required`);
-  error.name = "Svelte error";
-  throw error;
-}
-function get_render_context() {
-  const store = als?.getStore();
-  {
-    server_context_required();
-  }
-  return store;
-}
-let als = null;
-export {
-  await_invalid as a,
-  experimental_async_required as e,
-  get_render_context as g,
-  hydratable_serialization_failed as h,
-  invalid_csp as i,
-  lifecycle_outside_component as l
-};

+ 0 - 1244
.svelte-kit/output/server/chunks/renderer.js

@@ -1,1244 +0,0 @@
-import { l as lifecycle_outside_component, i as invalid_csp, a as await_invalid, g as get_render_context } from "./render-context.js";
-import { clsx as clsx$1 } from "clsx";
-import * as devalue from "devalue";
-var ssr_context = null;
-function set_ssr_context(v) {
-  ssr_context = v;
-}
-function getContext(key) {
-  const context_map = get_or_init_context_map();
-  const result = (
-    /** @type {T} */
-    context_map.get(key)
-  );
-  return result;
-}
-function setContext(key, context) {
-  get_or_init_context_map().set(key, context);
-  return context;
-}
-function get_or_init_context_map(name) {
-  if (ssr_context === null) {
-    lifecycle_outside_component();
-  }
-  return ssr_context.c ??= new Map(get_parent_context(ssr_context) || void 0);
-}
-function push(fn) {
-  ssr_context = { p: ssr_context, c: null, r: null };
-}
-function pop() {
-  ssr_context = /** @type {SSRContext} */
-  ssr_context.p;
-}
-function get_parent_context(ssr_context2) {
-  let parent = ssr_context2.p;
-  while (parent !== null) {
-    const context_map = parent.c;
-    if (context_map !== null) {
-      return context_map;
-    }
-    parent = parent.p;
-  }
-  return null;
-}
-var is_array = Array.isArray;
-var index_of = Array.prototype.indexOf;
-var includes = Array.prototype.includes;
-var array_from = Array.from;
-var define_property = Object.defineProperty;
-var get_descriptor = Object.getOwnPropertyDescriptor;
-var object_prototype = Object.prototype;
-var array_prototype = Array.prototype;
-var get_prototype_of = Object.getPrototypeOf;
-var is_extensible = Object.isExtensible;
-var has_own_property = Object.prototype.hasOwnProperty;
-const noop = () => {
-};
-function run_all(arr) {
-  for (var i = 0; i < arr.length; i++) {
-    arr[i]();
-  }
-}
-function deferred() {
-  var resolve;
-  var reject;
-  var promise = new Promise((res, rej) => {
-    resolve = res;
-    reject = rej;
-  });
-  return { promise, resolve, reject };
-}
-const DERIVED = 1 << 1;
-const EFFECT = 1 << 2;
-const RENDER_EFFECT = 1 << 3;
-const MANAGED_EFFECT = 1 << 24;
-const BLOCK_EFFECT = 1 << 4;
-const BRANCH_EFFECT = 1 << 5;
-const ROOT_EFFECT = 1 << 6;
-const BOUNDARY_EFFECT = 1 << 7;
-const CONNECTED = 1 << 9;
-const CLEAN = 1 << 10;
-const DIRTY = 1 << 11;
-const MAYBE_DIRTY = 1 << 12;
-const INERT = 1 << 13;
-const DESTROYED = 1 << 14;
-const REACTION_RAN = 1 << 15;
-const DESTROYING = 1 << 25;
-const EFFECT_TRANSPARENT = 1 << 16;
-const EAGER_EFFECT = 1 << 17;
-const HEAD_EFFECT = 1 << 18;
-const EFFECT_PRESERVED = 1 << 19;
-const USER_EFFECT = 1 << 20;
-const WAS_MARKED = 1 << 16;
-const REACTION_IS_UPDATING = 1 << 21;
-const ASYNC = 1 << 22;
-const ERROR_VALUE = 1 << 23;
-const STATE_SYMBOL = /* @__PURE__ */ Symbol("$state");
-const LEGACY_PROPS = /* @__PURE__ */ Symbol("legacy props");
-const STALE_REACTION = new class StaleReactionError extends Error {
-  name = "StaleReactionError";
-  message = "The reaction that called `getAbortSignal()` was re-run or destroyed";
-}();
-const COMMENT_NODE = 8;
-let controller = null;
-function abort() {
-  controller?.abort(STALE_REACTION);
-  controller = null;
-}
-const HYDRATION_START = "[";
-const HYDRATION_START_ELSE = "[!";
-const HYDRATION_START_FAILED = "[?";
-const HYDRATION_END = "]";
-const HYDRATION_ERROR = {};
-const ELEMENT_IS_NAMESPACED = 1;
-const ELEMENT_PRESERVE_ATTRIBUTE_CASE = 1 << 1;
-const ELEMENT_IS_INPUT = 1 << 2;
-const UNINITIALIZED = /* @__PURE__ */ Symbol();
-function unresolved_hydratable(key, stack) {
-  {
-    console.warn(`https://svelte.dev/e/unresolved_hydratable`);
-  }
-}
-const BLOCK_OPEN = `<!--${HYDRATION_START}-->`;
-const BLOCK_CLOSE = `<!--${HYDRATION_END}-->`;
-const EMPTY_COMMENT = `<!---->`;
-const ATTR_REGEX = /[&"<]/g;
-const CONTENT_REGEX = /[&<]/g;
-function escape_html(value, is_attr) {
-  const str = String(value ?? "");
-  const pattern = is_attr ? ATTR_REGEX : CONTENT_REGEX;
-  pattern.lastIndex = 0;
-  let escaped = "";
-  let last = 0;
-  while (pattern.test(str)) {
-    const i = pattern.lastIndex - 1;
-    const ch = str[i];
-    escaped += str.substring(last, i) + (ch === "&" ? "&amp;" : ch === '"' ? "&quot;" : "&lt;");
-    last = i + 1;
-  }
-  return escaped + str.substring(last);
-}
-const replacements = {
-  translate: /* @__PURE__ */ new Map([
-    [true, "yes"],
-    [false, "no"]
-  ])
-};
-function attr(name, value, is_boolean = false) {
-  if (name === "hidden" && value !== "until-found") {
-    is_boolean = true;
-  }
-  if (value == null || !value && is_boolean) return "";
-  const normalized = has_own_property.call(replacements, name) && replacements[name].get(value) || value;
-  const assignment = is_boolean ? `=""` : `="${escape_html(normalized, true)}"`;
-  return ` ${name}${assignment}`;
-}
-function clsx(value) {
-  if (typeof value === "object") {
-    return clsx$1(value);
-  } else {
-    return value ?? "";
-  }
-}
-const whitespace = [..." 	\n\r\f \v\uFEFF"];
-function to_class(value, hash, directives) {
-  var classname = value == null ? "" : "" + value;
-  if (hash) {
-    classname = classname ? classname + " " + hash : hash;
-  }
-  if (directives) {
-    for (var key of Object.keys(directives)) {
-      if (directives[key]) {
-        classname = classname ? classname + " " + key : key;
-      } else if (classname.length) {
-        var len = key.length;
-        var a = 0;
-        while ((a = classname.indexOf(key, a)) >= 0) {
-          var b = a + len;
-          if ((a === 0 || whitespace.includes(classname[a - 1])) && (b === classname.length || whitespace.includes(classname[b]))) {
-            classname = (a === 0 ? "" : classname.substring(0, a)) + classname.substring(b + 1);
-          } else {
-            a = b;
-          }
-        }
-      }
-    }
-  }
-  return classname === "" ? null : classname;
-}
-function append_styles(styles, important = false) {
-  var separator = important ? " !important;" : ";";
-  var css = "";
-  for (var key of Object.keys(styles)) {
-    var value = styles[key];
-    if (value != null && value !== "") {
-      css += " " + key + ": " + value + separator;
-    }
-  }
-  return css;
-}
-function to_css_name(name) {
-  if (name[0] !== "-" || name[1] !== "-") {
-    return name.toLowerCase();
-  }
-  return name;
-}
-function to_style(value, styles) {
-  if (styles) {
-    var new_style = "";
-    var normal_styles;
-    var important_styles;
-    if (Array.isArray(styles)) {
-      normal_styles = styles[0];
-      important_styles = styles[1];
-    } else {
-      normal_styles = styles;
-    }
-    if (value) {
-      value = String(value).replaceAll(/\s*\/\*.*?\*\/\s*/g, "").trim();
-      var in_str = false;
-      var in_apo = 0;
-      var in_comment = false;
-      var reserved_names = [];
-      if (normal_styles) {
-        reserved_names.push(...Object.keys(normal_styles).map(to_css_name));
-      }
-      if (important_styles) {
-        reserved_names.push(...Object.keys(important_styles).map(to_css_name));
-      }
-      var start_index = 0;
-      var name_index = -1;
-      const len = value.length;
-      for (var i = 0; i < len; i++) {
-        var c = value[i];
-        if (in_comment) {
-          if (c === "/" && value[i - 1] === "*") {
-            in_comment = false;
-          }
-        } else if (in_str) {
-          if (in_str === c) {
-            in_str = false;
-          }
-        } else if (c === "/" && value[i + 1] === "*") {
-          in_comment = true;
-        } else if (c === '"' || c === "'") {
-          in_str = c;
-        } else if (c === "(") {
-          in_apo++;
-        } else if (c === ")") {
-          in_apo--;
-        }
-        if (!in_comment && in_str === false && in_apo === 0) {
-          if (c === ":" && name_index === -1) {
-            name_index = i;
-          } else if (c === ";" || i === len - 1) {
-            if (name_index !== -1) {
-              var name = to_css_name(value.substring(start_index, name_index).trim());
-              if (!reserved_names.includes(name)) {
-                if (c !== ";") {
-                  i++;
-                }
-                var property = value.substring(start_index, i).trim();
-                new_style += " " + property + ";";
-              }
-            }
-            start_index = i + 1;
-            name_index = -1;
-          }
-        }
-      }
-    }
-    if (normal_styles) {
-      new_style += append_styles(normal_styles);
-    }
-    if (important_styles) {
-      new_style += append_styles(important_styles, true);
-    }
-    new_style = new_style.trim();
-    return new_style === "" ? null : new_style;
-  }
-  return value == null ? null : String(value);
-}
-const DOM_BOOLEAN_ATTRIBUTES = [
-  "allowfullscreen",
-  "async",
-  "autofocus",
-  "autoplay",
-  "checked",
-  "controls",
-  "default",
-  "disabled",
-  "formnovalidate",
-  "indeterminate",
-  "inert",
-  "ismap",
-  "loop",
-  "multiple",
-  "muted",
-  "nomodule",
-  "novalidate",
-  "open",
-  "playsinline",
-  "readonly",
-  "required",
-  "reversed",
-  "seamless",
-  "selected",
-  "webkitdirectory",
-  "defer",
-  "disablepictureinpicture",
-  "disableremoteplayback"
-];
-function is_boolean_attribute(name) {
-  return DOM_BOOLEAN_ATTRIBUTES.includes(name);
-}
-const PASSIVE_EVENTS = ["touchstart", "touchmove"];
-function is_passive_event(name) {
-  return PASSIVE_EVENTS.includes(name);
-}
-const INVALID_ATTR_NAME_CHAR_REGEX = /[\s'">/=\u{FDD0}-\u{FDEF}\u{FFFE}\u{FFFF}\u{1FFFE}\u{1FFFF}\u{2FFFE}\u{2FFFF}\u{3FFFE}\u{3FFFF}\u{4FFFE}\u{4FFFF}\u{5FFFE}\u{5FFFF}\u{6FFFE}\u{6FFFF}\u{7FFFE}\u{7FFFF}\u{8FFFE}\u{8FFFF}\u{9FFFE}\u{9FFFF}\u{AFFFE}\u{AFFFF}\u{BFFFE}\u{BFFFF}\u{CFFFE}\u{CFFFF}\u{DFFFE}\u{DFFFF}\u{EFFFE}\u{EFFFF}\u{FFFFE}\u{FFFFF}\u{10FFFE}\u{10FFFF}]/u;
-function render(component, options = {}) {
-  if (options.csp?.hash && options.csp.nonce) {
-    invalid_csp();
-  }
-  return Renderer.render(
-    /** @type {Component<Props>} */
-    component,
-    options
-  );
-}
-function head(hash, renderer, fn) {
-  renderer.head((renderer2) => {
-    renderer2.push(`<!--${hash}-->`);
-    renderer2.child(fn);
-    renderer2.push(EMPTY_COMMENT);
-  });
-}
-function attributes(attrs, css_hash, classes, styles, flags = 0) {
-  if (styles) {
-    attrs.style = to_style(attrs.style, styles);
-  }
-  if (attrs.class) {
-    attrs.class = clsx(attrs.class);
-  }
-  if (css_hash || classes) {
-    attrs.class = to_class(attrs.class, css_hash, classes);
-  }
-  let attr_str = "";
-  let name;
-  const is_html = (flags & ELEMENT_IS_NAMESPACED) === 0;
-  const lowercase = (flags & ELEMENT_PRESERVE_ATTRIBUTE_CASE) === 0;
-  const is_input = (flags & ELEMENT_IS_INPUT) !== 0;
-  for (name of Object.keys(attrs)) {
-    if (typeof attrs[name] === "function") continue;
-    if (name[0] === "$" && name[1] === "$") continue;
-    if (INVALID_ATTR_NAME_CHAR_REGEX.test(name)) continue;
-    var value = attrs[name];
-    var lower = name.toLowerCase();
-    if (lowercase) name = lower;
-    if (lower.length > 2 && lower.startsWith("on")) continue;
-    if (is_input) {
-      if (name === "defaultvalue" || name === "defaultchecked") {
-        name = name === "defaultvalue" ? "value" : "checked";
-        if (attrs[name]) continue;
-      }
-    }
-    attr_str += attr(name, value, is_html && is_boolean_attribute(name));
-  }
-  return attr_str;
-}
-function stringify(value) {
-  return typeof value === "string" ? value : value == null ? "" : value + "";
-}
-function attr_class(value, hash, directives) {
-  var result = to_class(value, hash, directives);
-  return result ? ` class="${escape_html(result, true)}"` : "";
-}
-function attr_style(value, directives) {
-  var result = to_style(value, directives);
-  return result ? ` style="${escape_html(result, true)}"` : "";
-}
-function slot(renderer, $$props, name, slot_props, fallback_fn) {
-  var slot_fn = $$props.$$slots?.[name];
-  if (slot_fn === true) {
-    slot_fn = $$props["children"];
-  }
-  if (slot_fn !== void 0) {
-    slot_fn(renderer, slot_props);
-  }
-}
-function ensure_array_like(array_like_or_iterator) {
-  if (array_like_or_iterator) {
-    return array_like_or_iterator.length !== void 0 ? array_like_or_iterator : Array.from(array_like_or_iterator);
-  }
-  return [];
-}
-function once(get_value) {
-  let value = (
-    /** @type {V} */
-    UNINITIALIZED
-  );
-  return () => {
-    if (value === UNINITIALIZED) {
-      value = get_value();
-    }
-    return value;
-  };
-}
-function derived(fn) {
-  const get_value = ssr_context === null ? fn : once(fn);
-  let updated_value;
-  return function(new_value) {
-    if (arguments.length === 0) {
-      return updated_value ?? get_value();
-    }
-    updated_value = new_value;
-    return updated_value;
-  };
-}
-let text_encoder;
-let crypto;
-const obfuscated_import = (module_name) => import(
-  /* @vite-ignore */
-  module_name
-);
-async function sha256(data) {
-  text_encoder ??= new TextEncoder();
-  crypto ??= globalThis.crypto?.subtle?.digest ? globalThis.crypto : (
-    // @ts-ignore - we don't install node types in the prod build
-    // don't use import('node:crypto') directly because static analysers will think we rely on node when we don't
-    (await obfuscated_import("node:crypto")).webcrypto
-  );
-  const hash_buffer = await crypto.subtle.digest("SHA-256", text_encoder.encode(data));
-  return base64_encode(hash_buffer);
-}
-function base64_encode(bytes) {
-  if (globalThis.Buffer) {
-    return globalThis.Buffer.from(bytes).toString("base64");
-  }
-  let binary = "";
-  for (let i = 0; i < bytes.length; i++) {
-    binary += String.fromCharCode(bytes[i]);
-  }
-  return btoa(binary);
-}
-class Renderer {
-  /**
-   * The contents of the renderer.
-   * @type {RendererItem[]}
-   */
-  #out = [];
-  /**
-   * Any `onDestroy` callbacks registered during execution of this renderer.
-   * @type {(() => void)[] | undefined}
-   */
-  #on_destroy = void 0;
-  /**
-   * Whether this renderer is a component body.
-   * @type {boolean}
-   */
-  #is_component_body = false;
-  /**
-   * If set, this renderer is an error boundary. When async collection
-   * of the children fails, the failed snippet is rendered instead.
-   * @type {{
-   * 	failed: (renderer: Renderer, error: unknown, reset: () => void) => void;
-   * 	transformError: (error: unknown) => unknown;
-   * 	context: SSRContext | null;
-   * } | null}
-   */
-  #boundary = null;
-  /**
-   * The type of string content that this renderer is accumulating.
-   * @type {RendererType}
-   */
-  type;
-  /** @type {Renderer | undefined} */
-  #parent;
-  /**
-   * Asynchronous work associated with this renderer
-   * @type {Promise<void> | undefined}
-   */
-  promise = void 0;
-  /**
-   * State which is associated with the content tree as a whole.
-   * It will be re-exposed, uncopied, on all children.
-   * @type {SSRState}
-   * @readonly
-   */
-  global;
-  /**
-   * State that is local to the branch it is declared in.
-   * It will be shallow-copied to all children.
-   *
-   * @type {{ select_value: string | undefined }}
-   */
-  local;
-  /**
-   * @param {SSRState} global
-   * @param {Renderer | undefined} [parent]
-   */
-  constructor(global, parent) {
-    this.#parent = parent;
-    this.global = global;
-    this.local = parent ? { ...parent.local } : { select_value: void 0 };
-    this.type = parent ? parent.type : "body";
-  }
-  /**
-   * @param {(renderer: Renderer) => void} fn
-   */
-  head(fn) {
-    const head2 = new Renderer(this.global, this);
-    head2.type = "head";
-    this.#out.push(head2);
-    head2.child(fn);
-  }
-  /**
-   * @param {Array<Promise<void>>} blockers
-   * @param {(renderer: Renderer) => void} fn
-   */
-  async_block(blockers, fn) {
-    this.#out.push(BLOCK_OPEN);
-    this.async(blockers, fn);
-    this.#out.push(BLOCK_CLOSE);
-  }
-  /**
-   * @param {Array<Promise<void>>} blockers
-   * @param {(renderer: Renderer) => void} fn
-   */
-  async(blockers, fn) {
-    let callback = fn;
-    if (blockers.length > 0) {
-      const context = ssr_context;
-      callback = (renderer) => {
-        return Promise.all(blockers).then(() => {
-          const previous_context = ssr_context;
-          try {
-            set_ssr_context(context);
-            return fn(renderer);
-          } finally {
-            set_ssr_context(previous_context);
-          }
-        });
-      };
-    }
-    this.child(callback);
-  }
-  /**
-   * @param {Array<() => void>} thunks
-   */
-  run(thunks) {
-    const context = ssr_context;
-    let promise = Promise.resolve(thunks[0]());
-    const promises = [promise];
-    for (const fn of thunks.slice(1)) {
-      promise = promise.then(() => {
-        const previous_context = ssr_context;
-        set_ssr_context(context);
-        try {
-          return fn();
-        } finally {
-          set_ssr_context(previous_context);
-        }
-      });
-      promises.push(promise);
-    }
-    promise.catch(noop);
-    this.promise = promise;
-    return promises;
-  }
-  /**
-   * @param {(renderer: Renderer) => MaybePromise<void>} fn
-   */
-  child_block(fn) {
-    this.#out.push(BLOCK_OPEN);
-    this.child(fn);
-    this.#out.push(BLOCK_CLOSE);
-  }
-  /**
-   * Create a child renderer. The child renderer inherits the state from the parent,
-   * but has its own content.
-   * @param {(renderer: Renderer) => MaybePromise<void>} fn
-   */
-  child(fn) {
-    const child = new Renderer(this.global, this);
-    this.#out.push(child);
-    const parent = ssr_context;
-    set_ssr_context({
-      ...ssr_context,
-      p: parent,
-      c: null,
-      r: child
-    });
-    const result = fn(child);
-    set_ssr_context(parent);
-    if (result instanceof Promise) {
-      result.catch(noop);
-      result.finally(() => set_ssr_context(null)).catch(noop);
-      if (child.global.mode === "sync") {
-        await_invalid();
-      }
-      child.promise = result;
-    }
-    return child;
-  }
-  /**
-   * Render children inside an error boundary. If the children throw and the API-level
-   * `transformError` transform handles the error (doesn't re-throw), the `failed` snippet is
-   * rendered instead. Otherwise the error propagates.
-   *
-   * @param {{ failed?: (renderer: Renderer, error: unknown, reset: () => void) => void }} props
-   * @param {(renderer: Renderer) => MaybePromise<void>} children_fn
-   */
-  boundary(props, children_fn) {
-    const child = new Renderer(this.global, this);
-    this.#out.push(child);
-    const parent_context = ssr_context;
-    if (props.failed) {
-      child.#boundary = {
-        failed: props.failed,
-        transformError: this.global.transformError,
-        context: parent_context
-      };
-    }
-    set_ssr_context({
-      ...ssr_context,
-      p: parent_context,
-      c: null,
-      r: child
-    });
-    try {
-      const result = children_fn(child);
-      set_ssr_context(parent_context);
-      if (result instanceof Promise) {
-        if (child.global.mode === "sync") {
-          await_invalid();
-        }
-        result.catch(noop);
-        child.promise = result;
-      }
-    } catch (error) {
-      set_ssr_context(parent_context);
-      const failed_snippet = props.failed;
-      if (!failed_snippet) throw error;
-      const result = this.global.transformError(error);
-      child.#out.length = 0;
-      child.#boundary = null;
-      if (result instanceof Promise) {
-        if (this.global.mode === "sync") {
-          await_invalid();
-        }
-        child.promise = /** @type {Promise<unknown>} */
-        result.then((transformed) => {
-          set_ssr_context(parent_context);
-          child.#out.push(Renderer.#serialize_failed_boundary(transformed));
-          failed_snippet(child, transformed, noop);
-          child.#out.push(BLOCK_CLOSE);
-        });
-        child.promise.catch(noop);
-      } else {
-        child.#out.push(Renderer.#serialize_failed_boundary(result));
-        failed_snippet(child, result, noop);
-        child.#out.push(BLOCK_CLOSE);
-      }
-    }
-  }
-  /**
-   * Create a component renderer. The component renderer inherits the state from the parent,
-   * but has its own content. It is treated as an ordering boundary for ondestroy callbacks.
-   * @param {(renderer: Renderer) => MaybePromise<void>} fn
-   * @param {Function} [component_fn]
-   * @returns {void}
-   */
-  component(fn, component_fn) {
-    push();
-    const child = this.child(fn);
-    child.#is_component_body = true;
-    pop();
-  }
-  /**
-   * @param {Record<string, any>} attrs
-   * @param {(renderer: Renderer) => void} fn
-   * @param {string | undefined} [css_hash]
-   * @param {Record<string, boolean> | undefined} [classes]
-   * @param {Record<string, string> | undefined} [styles]
-   * @param {number | undefined} [flags]
-   * @param {boolean | undefined} [is_rich]
-   * @returns {void}
-   */
-  select(attrs, fn, css_hash, classes, styles, flags, is_rich) {
-    const { value, ...select_attrs } = attrs;
-    this.push(`<select${attributes(select_attrs, css_hash, classes, styles, flags)}>`);
-    this.child((renderer) => {
-      renderer.local.select_value = value;
-      fn(renderer);
-    });
-    this.push(`${is_rich ? "<!>" : ""}</select>`);
-  }
-  /**
-   * @param {Record<string, any>} attrs
-   * @param {string | number | boolean | ((renderer: Renderer) => void)} body
-   * @param {string | undefined} [css_hash]
-   * @param {Record<string, boolean> | undefined} [classes]
-   * @param {Record<string, string> | undefined} [styles]
-   * @param {number | undefined} [flags]
-   * @param {boolean | undefined} [is_rich]
-   */
-  option(attrs, body, css_hash, classes, styles, flags, is_rich) {
-    this.#out.push(`<option${attributes(attrs, css_hash, classes, styles, flags)}`);
-    const close = (renderer, value, { head: head2, body: body2 }) => {
-      if (has_own_property.call(attrs, "value")) {
-        value = attrs.value;
-      }
-      if (value === this.local.select_value) {
-        renderer.#out.push(' selected=""');
-      }
-      renderer.#out.push(`>${body2}${is_rich ? "<!>" : ""}</option>`);
-      if (head2) {
-        renderer.head((child) => child.push(head2));
-      }
-    };
-    if (typeof body === "function") {
-      this.child((renderer) => {
-        const r = new Renderer(this.global, this);
-        body(r);
-        if (this.global.mode === "async") {
-          return r.#collect_content_async().then((content) => {
-            close(renderer, content.body.replaceAll("<!---->", ""), content);
-          });
-        } else {
-          const content = r.#collect_content();
-          close(renderer, content.body.replaceAll("<!---->", ""), content);
-        }
-      });
-    } else {
-      close(this, body, { body: escape_html(body) });
-    }
-  }
-  /**
-   * @param {(renderer: Renderer) => void} fn
-   */
-  title(fn) {
-    const path = this.get_path();
-    const close = (head2) => {
-      this.global.set_title(head2, path);
-    };
-    this.child((renderer) => {
-      const r = new Renderer(renderer.global, renderer);
-      fn(r);
-      if (renderer.global.mode === "async") {
-        return r.#collect_content_async().then((content) => {
-          close(content.head);
-        });
-      } else {
-        const content = r.#collect_content();
-        close(content.head);
-      }
-    });
-  }
-  /**
-   * @param {string | (() => Promise<string>)} content
-   */
-  push(content) {
-    if (typeof content === "function") {
-      this.child(async (renderer) => renderer.push(await content()));
-    } else {
-      this.#out.push(content);
-    }
-  }
-  /**
-   * @param {() => void} fn
-   */
-  on_destroy(fn) {
-    (this.#on_destroy ??= []).push(fn);
-  }
-  /**
-   * @returns {number[]}
-   */
-  get_path() {
-    return this.#parent ? [...this.#parent.get_path(), this.#parent.#out.indexOf(this)] : [];
-  }
-  /**
-   * @deprecated this is needed for legacy component bindings
-   */
-  copy() {
-    const copy = new Renderer(this.global, this.#parent);
-    copy.#out = this.#out.map((item) => item instanceof Renderer ? item.copy() : item);
-    copy.promise = this.promise;
-    return copy;
-  }
-  /**
-   * @param {Renderer} other
-   * @deprecated this is needed for legacy component bindings
-   */
-  subsume(other) {
-    if (this.global.mode !== other.global.mode) {
-      throw new Error(
-        "invariant: A renderer cannot switch modes. If you're seeing this, there's a compiler bug. File an issue!"
-      );
-    }
-    this.local = other.local;
-    this.#out = other.#out.map((item, i) => {
-      const current = this.#out[i];
-      if (current instanceof Renderer && item instanceof Renderer) {
-        current.subsume(item);
-        return current;
-      }
-      return item;
-    });
-    this.promise = other.promise;
-    this.type = other.type;
-  }
-  get length() {
-    return this.#out.length;
-  }
-  /**
-   * Creates the hydration comment that marks the start of a failed boundary.
-   * The error is JSON-serialized and embedded inside an HTML comment for the client
-   * to parse during hydration. The JSON is escaped to prevent `-->` or `<!--` sequences
-   * from breaking out of the comment (XSS). Uses unicode escapes which `JSON.parse()`
-   * handles transparently.
-   * @param {unknown} error
-   * @returns {string}
-   */
-  static #serialize_failed_boundary(error) {
-    var json = JSON.stringify(error);
-    var escaped = json.replace(/>/g, "\\u003e").replace(/</g, "\\u003c");
-    return `<!--${HYDRATION_START_FAILED}${escaped}-->`;
-  }
-  /**
-   * Only available on the server and when compiling with the `server` option.
-   * Takes a component and returns an object with `body` and `head` properties on it, which you can use to populate the HTML when server-rendering your app.
-   * @template {Record<string, any>} Props
-   * @param {Component<Props>} component
-   * @param {{ props?: Omit<Props, '$$slots' | '$$events'>; context?: Map<any, any>; idPrefix?: string; csp?: Csp }} [options]
-   * @returns {RenderOutput}
-   */
-  static render(component, options = {}) {
-    let sync;
-    const result = (
-      /** @type {RenderOutput} */
-      {}
-    );
-    Object.defineProperties(result, {
-      html: {
-        get: () => {
-          return (sync ??= Renderer.#render(component, options)).body;
-        }
-      },
-      head: {
-        get: () => {
-          return (sync ??= Renderer.#render(component, options)).head;
-        }
-      },
-      body: {
-        get: () => {
-          return (sync ??= Renderer.#render(component, options)).body;
-        }
-      },
-      hashes: {
-        value: {
-          script: ""
-        }
-      },
-      then: {
-        value: (
-          /**
-           * this is not type-safe, but honestly it's the best I can do right now, and it's a straightforward function.
-           *
-           * @template TResult1
-           * @template [TResult2=never]
-           * @param { (value: SyncRenderOutput) => TResult1 } onfulfilled
-           * @param { (reason: unknown) => TResult2 } onrejected
-           */
-          (onfulfilled, onrejected) => {
-            {
-              const result2 = sync ??= Renderer.#render(component, options);
-              const user_result = onfulfilled({
-                head: result2.head,
-                body: result2.body,
-                html: result2.body,
-                hashes: { script: [] }
-              });
-              return Promise.resolve(user_result);
-            }
-          }
-        )
-      }
-    });
-    return result;
-  }
-  /**
-   * Collect all of the `onDestroy` callbacks registered during rendering. In an async context, this is only safe to call
-   * after awaiting `collect_async`.
-   *
-   * Child renderers are "porous" and don't affect execution order, but component body renderers
-   * create ordering boundaries. Within a renderer, callbacks run in order until hitting a component boundary.
-   * @returns {Iterable<() => void>}
-   */
-  *#collect_on_destroy() {
-    for (const component of this.#traverse_components()) {
-      yield* component.#collect_ondestroy();
-    }
-  }
-  /**
-   * Performs a depth-first search of renderers, yielding the deepest components first, then additional components as we backtrack up the tree.
-   * @returns {Iterable<Renderer>}
-   */
-  *#traverse_components() {
-    for (const child of this.#out) {
-      if (typeof child !== "string") {
-        yield* child.#traverse_components();
-      }
-    }
-    if (this.#is_component_body) {
-      yield this;
-    }
-  }
-  /**
-   * @returns {Iterable<() => void>}
-   */
-  *#collect_ondestroy() {
-    if (this.#on_destroy) {
-      for (const fn of this.#on_destroy) {
-        yield fn;
-      }
-    }
-    for (const child of this.#out) {
-      if (child instanceof Renderer && !child.#is_component_body) {
-        yield* child.#collect_ondestroy();
-      }
-    }
-  }
-  /**
-   * Render a component. Throws if any of the children are performing asynchronous work.
-   *
-   * @template {Record<string, any>} Props
-   * @param {Component<Props>} component
-   * @param {{ props?: Omit<Props, '$$slots' | '$$events'>; context?: Map<any, any>; idPrefix?: string }} options
-   * @returns {AccumulatedContent}
-   */
-  static #render(component, options) {
-    var previous_context = ssr_context;
-    try {
-      const renderer = Renderer.#open_render("sync", component, options);
-      const content = renderer.#collect_content();
-      return Renderer.#close_render(content, renderer);
-    } finally {
-      abort();
-      set_ssr_context(previous_context);
-    }
-  }
-  /**
-   * Render a component.
-   *
-   * @template {Record<string, any>} Props
-   * @param {Component<Props>} component
-   * @param {{ props?: Omit<Props, '$$slots' | '$$events'>; context?: Map<any, any>; idPrefix?: string; csp?: Csp }} options
-   * @returns {Promise<AccumulatedContent & { hashes: { script: Sha256Source[] } }>}
-   */
-  static async #render_async(component, options) {
-    const previous_context = ssr_context;
-    try {
-      const renderer = Renderer.#open_render("async", component, options);
-      const content = await renderer.#collect_content_async();
-      const hydratables = await renderer.#collect_hydratables();
-      if (hydratables !== null) {
-        content.head = hydratables + content.head;
-      }
-      return Renderer.#close_render(content, renderer);
-    } finally {
-      set_ssr_context(previous_context);
-      abort();
-    }
-  }
-  /**
-   * Collect all of the code from the `out` array and return it as a string, or a promise resolving to a string.
-   * @param {AccumulatedContent} content
-   * @returns {AccumulatedContent}
-   */
-  #collect_content(content = { head: "", body: "" }) {
-    for (const item of this.#out) {
-      if (typeof item === "string") {
-        content[this.type] += item;
-      } else if (item instanceof Renderer) {
-        item.#collect_content(content);
-      }
-    }
-    return content;
-  }
-  /**
-   * Collect all of the code from the `out` array and return it as a string.
-   * @param {AccumulatedContent} content
-   * @returns {Promise<AccumulatedContent>}
-   */
-  async #collect_content_async(content = { head: "", body: "" }) {
-    await this.promise;
-    for (const item of this.#out) {
-      if (typeof item === "string") {
-        content[this.type] += item;
-      } else if (item instanceof Renderer) {
-        if (item.#boundary) {
-          const boundary_content = { head: "", body: "" };
-          try {
-            await item.#collect_content_async(boundary_content);
-            content.head += boundary_content.head;
-            content.body += boundary_content.body;
-          } catch (error) {
-            const { context, failed, transformError } = item.#boundary;
-            set_ssr_context(context);
-            let transformed = await transformError(error);
-            const failed_renderer = new Renderer(item.global, item);
-            failed_renderer.type = item.type;
-            failed_renderer.#out.push(Renderer.#serialize_failed_boundary(transformed));
-            failed(failed_renderer, transformed, noop);
-            failed_renderer.#out.push(BLOCK_CLOSE);
-            await failed_renderer.#collect_content_async(content);
-          }
-        } else {
-          await item.#collect_content_async(content);
-        }
-      }
-    }
-    return content;
-  }
-  async #collect_hydratables() {
-    const ctx = get_render_context().hydratable;
-    for (const [_, key] of ctx.unresolved_promises) {
-      unresolved_hydratable(key, ctx.lookup.get(key)?.stack ?? "<missing stack trace>");
-    }
-    for (const comparison of ctx.comparisons) {
-      await comparison;
-    }
-    return await this.#hydratable_block(ctx);
-  }
-  /**
-   * @template {Record<string, any>} Props
-   * @param {'sync' | 'async'} mode
-   * @param {import('svelte').Component<Props>} component
-   * @param {{ props?: Omit<Props, '$$slots' | '$$events'>; context?: Map<any, any>; idPrefix?: string; csp?: Csp; transformError?: (error: unknown) => unknown }} options
-   * @returns {Renderer}
-   */
-  static #open_render(mode, component, options) {
-    var previous_context = ssr_context;
-    try {
-      const renderer = new Renderer(
-        new SSRState(
-          mode,
-          options.idPrefix ? options.idPrefix + "-" : "",
-          options.csp,
-          options.transformError
-        )
-      );
-      const context = { p: null, c: options.context ?? null, r: renderer };
-      set_ssr_context(context);
-      renderer.push(BLOCK_OPEN);
-      component(renderer, options.props ?? {});
-      renderer.push(BLOCK_CLOSE);
-      return renderer;
-    } finally {
-      set_ssr_context(previous_context);
-    }
-  }
-  /**
-   * @param {AccumulatedContent} content
-   * @param {Renderer} renderer
-   * @returns {AccumulatedContent & { hashes: { script: Sha256Source[] } }}
-   */
-  static #close_render(content, renderer) {
-    for (const cleanup of renderer.#collect_on_destroy()) {
-      cleanup();
-    }
-    let head2 = content.head + renderer.global.get_title();
-    let body = content.body;
-    for (const { hash, code } of renderer.global.css) {
-      head2 += `<style id="${hash}">${code}</style>`;
-    }
-    return {
-      head: head2,
-      body,
-      hashes: {
-        script: renderer.global.csp.script_hashes
-      }
-    };
-  }
-  /**
-   * @param {HydratableContext} ctx
-   */
-  async #hydratable_block(ctx) {
-    if (ctx.lookup.size === 0) {
-      return null;
-    }
-    let entries = [];
-    let has_promises = false;
-    for (const [k, v] of ctx.lookup) {
-      if (v.promises) {
-        has_promises = true;
-        for (const p of v.promises) await p;
-      }
-      entries.push(`[${devalue.uneval(k)},${v.serialized}]`);
-    }
-    let prelude = `const h = (window.__svelte ??= {}).h ??= new Map();`;
-    if (has_promises) {
-      prelude = `const r = (v) => Promise.resolve(v);
-				${prelude}`;
-    }
-    const body = `
-			{
-				${prelude}
-
-				for (const [k, v] of [
-					${entries.join(",\n					")}
-				]) {
-					h.set(k, v);
-				}
-			}
-		`;
-    let csp_attr = "";
-    if (this.global.csp.nonce) {
-      csp_attr = ` nonce="${this.global.csp.nonce}"`;
-    } else if (this.global.csp.hash) {
-      const hash = await sha256(body);
-      this.global.csp.script_hashes.push(`sha256-${hash}`);
-    }
-    return `
-		<script${csp_attr}>${body}<\/script>`;
-  }
-}
-class SSRState {
-  /** @readonly @type {Csp & { script_hashes: Sha256Source[] }} */
-  csp;
-  /** @readonly @type {'sync' | 'async'} */
-  mode;
-  /** @readonly @type {() => string} */
-  uid;
-  /** @readonly @type {Set<{ hash: string; code: string }>} */
-  css = /* @__PURE__ */ new Set();
-  /**
-   * `transformError` passed to `render`. Called when an error boundary catches an error.
-   * Throws by default if unset in `render`.
-   * @type {(error: unknown) => unknown}
-   */
-  transformError;
-  /** @type {{ path: number[], value: string }} */
-  #title = { path: [], value: "" };
-  /**
-   * @param {'sync' | 'async'} mode
-   * @param {string} id_prefix
-   * @param {Csp} csp
-   * @param {((error: unknown) => unknown) | undefined} [transformError]
-   */
-  constructor(mode, id_prefix = "", csp = { hash: false }, transformError) {
-    this.mode = mode;
-    this.csp = { ...csp, script_hashes: [] };
-    this.transformError = transformError ?? ((error) => {
-      throw error;
-    });
-    let uid = 1;
-    this.uid = () => `${id_prefix}s${uid++}`;
-  }
-  get_title() {
-    return this.#title.value;
-  }
-  /**
-   * Performs a depth-first (lexicographic) comparison using the path. Rejects sets
-   * from earlier than or equal to the current value.
-   * @param {string} value
-   * @param {number[]} path
-   */
-  set_title(value, path) {
-    const current = this.#title.path;
-    let i = 0;
-    let l = Math.min(path.length, current.length);
-    while (i < l && path[i] === current[i]) i += 1;
-    if (path[i] === void 0) return;
-    if (current[i] === void 0 || path[i] > current[i]) {
-      this.#title.path = path;
-      this.#title.value = value;
-    }
-  }
-}
-export {
-  setContext as $,
-  ASYNC as A,
-  BOUNDARY_EFFECT as B,
-  COMMENT_NODE as C,
-  DIRTY as D,
-  ERROR_VALUE as E,
-  array_prototype as F,
-  get_descriptor as G,
-  HYDRATION_ERROR as H,
-  INERT as I,
-  get_prototype_of as J,
-  is_array as K,
-  is_extensible as L,
-  MAYBE_DIRTY as M,
-  HEAD_EFFECT as N,
-  DESTROYING as O,
-  USER_EFFECT as P,
-  REACTION_IS_UPDATING as Q,
-  REACTION_RAN as R,
-  STALE_REACTION as S,
-  index_of as T,
-  UNINITIALIZED as U,
-  define_property as V,
-  WAS_MARKED as W,
-  array_from as X,
-  is_passive_event as Y,
-  LEGACY_PROPS as Z,
-  render as _,
-  HYDRATION_END as a,
-  derived as a0,
-  head as a1,
-  attr_class as a2,
-  attr as a3,
-  clsx as a4,
-  ensure_array_like as a5,
-  attr_style as a6,
-  stringify as a7,
-  HYDRATION_START as b,
-  HYDRATION_START_ELSE as c,
-  EFFECT as d,
-  escape_html as e,
-  CONNECTED as f,
-  getContext as g,
-  CLEAN as h,
-  DERIVED as i,
-  BLOCK_EFFECT as j,
-  DESTROYED as k,
-  EAGER_EFFECT as l,
-  deferred as m,
-  noop as n,
-  RENDER_EFFECT as o,
-  MANAGED_EFFECT as p,
-  ROOT_EFFECT as q,
-  run_all as r,
-  slot as s,
-  BRANCH_EFFECT as t,
-  includes as u,
-  HYDRATION_START_FAILED as v,
-  EFFECT_TRANSPARENT as w,
-  EFFECT_PRESERVED as x,
-  STATE_SYMBOL as y,
-  object_prototype as z
-};

+ 0 - 2815
.svelte-kit/output/server/chunks/root.js

@@ -1,2815 +0,0 @@
-import { H as HYDRATION_ERROR, C as COMMENT_NODE, a as HYDRATION_END, b as HYDRATION_START, c as HYDRATION_START_ELSE, r as run_all, B as BOUNDARY_EFFECT, R as REACTION_RAN, E as ERROR_VALUE, d as EFFECT, f as CONNECTED, h as CLEAN, M as MAYBE_DIRTY, D as DIRTY, i as DERIVED, W as WAS_MARKED, I as INERT, j as BLOCK_EFFECT, U as UNINITIALIZED, k as DESTROYED, l as EAGER_EFFECT, A as ASYNC, m as deferred, o as RENDER_EFFECT, p as MANAGED_EFFECT, q as ROOT_EFFECT, t as BRANCH_EFFECT, u as includes, v as HYDRATION_START_FAILED, w as EFFECT_TRANSPARENT, x as EFFECT_PRESERVED, S as STALE_REACTION, n as noop, y as STATE_SYMBOL, z as object_prototype, F as array_prototype, G as get_descriptor, J as get_prototype_of, K as is_array, L as is_extensible, N as HEAD_EFFECT, O as DESTROYING, P as USER_EFFECT, Q as REACTION_IS_UPDATING, T as index_of, V as define_property, X as array_from, Y as is_passive_event, Z as LEGACY_PROPS, _ as render, $ as setContext, a0 as derived } from "./renderer.js";
-import { B as BROWSER } from "./false.js";
-let tracing_mode_flag = false;
-function effect_update_depth_exceeded() {
-  {
-    throw new Error(`https://svelte.dev/e/effect_update_depth_exceeded`);
-  }
-}
-function hydration_failed() {
-  {
-    throw new Error(`https://svelte.dev/e/hydration_failed`);
-  }
-}
-function state_descriptors_fixed() {
-  {
-    throw new Error(`https://svelte.dev/e/state_descriptors_fixed`);
-  }
-}
-function state_prototype_fixed() {
-  {
-    throw new Error(`https://svelte.dev/e/state_prototype_fixed`);
-  }
-}
-function state_unsafe_mutation() {
-  {
-    throw new Error(`https://svelte.dev/e/state_unsafe_mutation`);
-  }
-}
-function svelte_boundary_reset_onerror() {
-  {
-    throw new Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`);
-  }
-}
-function hydration_mismatch(location) {
-  {
-    console.warn(`https://svelte.dev/e/hydration_mismatch`);
-  }
-}
-function svelte_boundary_reset_noop() {
-  {
-    console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`);
-  }
-}
-let hydrating = false;
-function set_hydrating(value) {
-  hydrating = value;
-}
-let hydrate_node;
-function set_hydrate_node(node) {
-  if (node === null) {
-    hydration_mismatch();
-    throw HYDRATION_ERROR;
-  }
-  return hydrate_node = node;
-}
-function hydrate_next() {
-  return set_hydrate_node(/* @__PURE__ */ get_next_sibling(hydrate_node));
-}
-function next(count = 1) {
-  if (hydrating) {
-    var i = count;
-    var node = hydrate_node;
-    while (i--) {
-      node = /** @type {TemplateNode} */
-      /* @__PURE__ */ get_next_sibling(node);
-    }
-    hydrate_node = node;
-  }
-}
-function skip_nodes(remove = true) {
-  var depth = 0;
-  var node = hydrate_node;
-  while (true) {
-    if (node.nodeType === COMMENT_NODE) {
-      var data = (
-        /** @type {Comment} */
-        node.data
-      );
-      if (data === HYDRATION_END) {
-        if (depth === 0) return node;
-        depth -= 1;
-      } else if (data === HYDRATION_START || data === HYDRATION_START_ELSE || // "[1", "[2", etc. for if blocks
-      data[0] === "[" && !isNaN(Number(data.slice(1)))) {
-        depth += 1;
-      }
-    }
-    var next2 = (
-      /** @type {TemplateNode} */
-      /* @__PURE__ */ get_next_sibling(node)
-    );
-    if (remove) node.remove();
-    node = next2;
-  }
-}
-function equals(value) {
-  return value === this.v;
-}
-function safe_not_equal(a, b) {
-  return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
-}
-function safe_equals(value) {
-  return !safe_not_equal(value, this.v);
-}
-let component_context = null;
-function set_component_context(context) {
-  component_context = context;
-}
-function push(props, runes = false, fn) {
-  component_context = {
-    p: component_context,
-    i: false,
-    c: null,
-    e: null,
-    s: props,
-    x: null,
-    r: (
-      /** @type {Effect} */
-      active_effect
-    ),
-    l: null
-  };
-}
-function pop(component) {
-  var context = (
-    /** @type {ComponentContext} */
-    component_context
-  );
-  var effects = context.e;
-  if (effects !== null) {
-    context.e = null;
-    for (var fn of effects) {
-      create_user_effect(fn);
-    }
-  }
-  context.i = true;
-  component_context = context.p;
-  return (
-    /** @type {T} */
-    {}
-  );
-}
-function is_runes() {
-  return true;
-}
-let micro_tasks = [];
-function run_micro_tasks() {
-  var tasks = micro_tasks;
-  micro_tasks = [];
-  run_all(tasks);
-}
-function queue_micro_task(fn) {
-  if (micro_tasks.length === 0 && !is_flushing_sync) {
-    var tasks = micro_tasks;
-    queueMicrotask(() => {
-      if (tasks === micro_tasks) run_micro_tasks();
-    });
-  }
-  micro_tasks.push(fn);
-}
-function flush_tasks() {
-  while (micro_tasks.length > 0) {
-    run_micro_tasks();
-  }
-}
-function handle_error(error) {
-  var effect = active_effect;
-  if (effect === null) {
-    active_reaction.f |= ERROR_VALUE;
-    return error;
-  }
-  if ((effect.f & REACTION_RAN) === 0 && (effect.f & EFFECT) === 0) {
-    throw error;
-  }
-  invoke_error_boundary(error, effect);
-}
-function invoke_error_boundary(error, effect) {
-  while (effect !== null) {
-    if ((effect.f & BOUNDARY_EFFECT) !== 0) {
-      if ((effect.f & REACTION_RAN) === 0) {
-        throw error;
-      }
-      try {
-        effect.b.error(error);
-        return;
-      } catch (e) {
-        error = e;
-      }
-    }
-    effect = effect.parent;
-  }
-  throw error;
-}
-const STATUS_MASK = -7169;
-function set_signal_status(signal, status) {
-  signal.f = signal.f & STATUS_MASK | status;
-}
-function update_derived_status(derived2) {
-  if ((derived2.f & CONNECTED) !== 0 || derived2.deps === null) {
-    set_signal_status(derived2, CLEAN);
-  } else {
-    set_signal_status(derived2, MAYBE_DIRTY);
-  }
-}
-function clear_marked(deps) {
-  if (deps === null) return;
-  for (const dep of deps) {
-    if ((dep.f & DERIVED) === 0 || (dep.f & WAS_MARKED) === 0) {
-      continue;
-    }
-    dep.f ^= WAS_MARKED;
-    clear_marked(
-      /** @type {Derived} */
-      dep.deps
-    );
-  }
-}
-function defer_effect(effect, dirty_effects, maybe_dirty_effects) {
-  if ((effect.f & DIRTY) !== 0) {
-    dirty_effects.add(effect);
-  } else if ((effect.f & MAYBE_DIRTY) !== 0) {
-    maybe_dirty_effects.add(effect);
-  }
-  clear_marked(effect.deps);
-  set_signal_status(effect, CLEAN);
-}
-const batches = /* @__PURE__ */ new Set();
-let current_batch = null;
-let batch_values = null;
-let last_scheduled_effect = null;
-let is_flushing_sync = false;
-let is_processing = false;
-let collected_effects = null;
-let legacy_updates = null;
-var flush_count = 0;
-let uid = 1;
-class Batch {
-  id = uid++;
-  /**
-   * The current values of any signals that are updated in this batch.
-   * Tuple format: [value, is_derived] (note: is_derived is false for deriveds, too, if they were overridden via assignment)
-   * They keys of this map are identical to `this.#previous`
-   * @type {Map<Value, [any, boolean]>}
-   */
-  current = /* @__PURE__ */ new Map();
-  /**
-   * The values of any signals (sources and deriveds) that are updated in this batch _before_ those updates took place.
-   * They keys of this map are identical to `this.#current`
-   * @type {Map<Value, any>}
-   */
-  previous = /* @__PURE__ */ new Map();
-  /**
-   * When the batch is committed (and the DOM is updated), we need to remove old branches
-   * and append new ones by calling the functions added inside (if/each/key/etc) blocks
-   * @type {Set<(batch: Batch) => void>}
-   */
-  #commit_callbacks = /* @__PURE__ */ new Set();
-  /**
-   * If a fork is discarded, we need to destroy any effects that are no longer needed
-   * @type {Set<(batch: Batch) => void>}
-   */
-  #discard_callbacks = /* @__PURE__ */ new Set();
-  /**
-   * Async effects that are currently in flight
-   * @type {Map<Effect, number>}
-   */
-  #pending = /* @__PURE__ */ new Map();
-  /**
-   * Async effects that are currently in flight, _not_ inside a pending boundary
-   * @type {Map<Effect, number>}
-   */
-  #blocking_pending = /* @__PURE__ */ new Map();
-  /**
-   * A deferred that resolves when the batch is committed, used with `settled()`
-   * TODO replace with Promise.withResolvers once supported widely enough
-   * @type {{ promise: Promise<void>, resolve: (value?: any) => void, reject: (reason: unknown) => void } | null}
-   */
-  #deferred = null;
-  /**
-   * The root effects that need to be flushed
-   * @type {Effect[]}
-   */
-  #roots = [];
-  /**
-   * Effects created while this batch was active.
-   * @type {Effect[]}
-   */
-  #new_effects = [];
-  /**
-   * Deferred effects (which run after async work has completed) that are DIRTY
-   * @type {Set<Effect>}
-   */
-  #dirty_effects = /* @__PURE__ */ new Set();
-  /**
-   * Deferred effects that are MAYBE_DIRTY
-   * @type {Set<Effect>}
-   */
-  #maybe_dirty_effects = /* @__PURE__ */ new Set();
-  /**
-   * A map of branches that still exist, but will be destroyed when this batch
-   * is committed — we skip over these during `process`.
-   * The value contains child effects that were dirty/maybe_dirty before being reset,
-   * so they can be rescheduled if the branch survives.
-   * @type {Map<Effect, { d: Effect[], m: Effect[] }>}
-   */
-  #skipped_branches = /* @__PURE__ */ new Map();
-  is_fork = false;
-  #decrement_queued = false;
-  /** @type {Set<Batch>} */
-  #blockers = /* @__PURE__ */ new Set();
-  #is_deferred() {
-    return this.is_fork || this.#blocking_pending.size > 0;
-  }
-  #is_blocked() {
-    for (const batch of this.#blockers) {
-      for (const effect of batch.#blocking_pending.keys()) {
-        var skipped = false;
-        var e = effect;
-        while (e.parent !== null) {
-          if (this.#skipped_branches.has(e)) {
-            skipped = true;
-            break;
-          }
-          e = e.parent;
-        }
-        if (!skipped) {
-          return true;
-        }
-      }
-    }
-    return false;
-  }
-  /**
-   * Add an effect to the #skipped_branches map and reset its children
-   * @param {Effect} effect
-   */
-  skip_effect(effect) {
-    if (!this.#skipped_branches.has(effect)) {
-      this.#skipped_branches.set(effect, { d: [], m: [] });
-    }
-  }
-  /**
-   * Remove an effect from the #skipped_branches map and reschedule
-   * any tracked dirty/maybe_dirty child effects
-   * @param {Effect} effect
-   */
-  unskip_effect(effect) {
-    var tracked = this.#skipped_branches.get(effect);
-    if (tracked) {
-      this.#skipped_branches.delete(effect);
-      for (var e of tracked.d) {
-        set_signal_status(e, DIRTY);
-        this.schedule(e);
-      }
-      for (e of tracked.m) {
-        set_signal_status(e, MAYBE_DIRTY);
-        this.schedule(e);
-      }
-    }
-  }
-  #process() {
-    if (flush_count++ > 1e3) {
-      batches.delete(this);
-      infinite_loop_guard();
-    }
-    if (!this.#is_deferred()) {
-      for (const e of this.#dirty_effects) {
-        this.#maybe_dirty_effects.delete(e);
-        set_signal_status(e, DIRTY);
-        this.schedule(e);
-      }
-      for (const e of this.#maybe_dirty_effects) {
-        set_signal_status(e, MAYBE_DIRTY);
-        this.schedule(e);
-      }
-    }
-    const roots = this.#roots;
-    this.#roots = [];
-    this.apply();
-    var effects = collected_effects = [];
-    var render_effects = [];
-    var updates = legacy_updates = [];
-    for (const root2 of roots) {
-      try {
-        this.#traverse(root2, effects, render_effects);
-      } catch (e) {
-        reset_all(root2);
-        throw e;
-      }
-    }
-    current_batch = null;
-    if (updates.length > 0) {
-      var batch = Batch.ensure();
-      for (const e of updates) {
-        batch.schedule(e);
-      }
-    }
-    collected_effects = null;
-    legacy_updates = null;
-    if (this.#is_deferred() || this.#is_blocked()) {
-      this.#defer_effects(render_effects);
-      this.#defer_effects(effects);
-      for (const [e, t] of this.#skipped_branches) {
-        reset_branch(e, t);
-      }
-    } else {
-      if (this.#pending.size === 0) {
-        batches.delete(this);
-      }
-      this.#dirty_effects.clear();
-      this.#maybe_dirty_effects.clear();
-      for (const fn of this.#commit_callbacks) fn(this);
-      this.#commit_callbacks.clear();
-      flush_queued_effects(render_effects);
-      flush_queued_effects(effects);
-      this.#deferred?.resolve();
-    }
-    var next_batch = (
-      /** @type {Batch | null} */
-      /** @type {unknown} */
-      current_batch
-    );
-    if (this.#roots.length > 0) {
-      const batch2 = next_batch ??= this;
-      batch2.#roots.push(...this.#roots.filter((r) => !batch2.#roots.includes(r)));
-    }
-    if (next_batch !== null) {
-      batches.add(next_batch);
-      next_batch.#process();
-    }
-    if (!batches.has(this)) {
-      this.#commit();
-    }
-  }
-  /**
-   * Traverse the effect tree, executing effects or stashing
-   * them for later execution as appropriate
-   * @param {Effect} root
-   * @param {Effect[]} effects
-   * @param {Effect[]} render_effects
-   */
-  #traverse(root2, effects, render_effects) {
-    root2.f ^= CLEAN;
-    var effect = root2.first;
-    while (effect !== null) {
-      var flags2 = effect.f;
-      var is_branch = (flags2 & (BRANCH_EFFECT | ROOT_EFFECT)) !== 0;
-      var is_skippable_branch = is_branch && (flags2 & CLEAN) !== 0;
-      var skip = is_skippable_branch || (flags2 & INERT) !== 0 || this.#skipped_branches.has(effect);
-      if (!skip && effect.fn !== null) {
-        if (is_branch) {
-          effect.f ^= CLEAN;
-        } else if ((flags2 & EFFECT) !== 0) {
-          effects.push(effect);
-        } else if (is_dirty(effect)) {
-          if ((flags2 & BLOCK_EFFECT) !== 0) this.#maybe_dirty_effects.add(effect);
-          update_effect(effect);
-        }
-        var child = effect.first;
-        if (child !== null) {
-          effect = child;
-          continue;
-        }
-      }
-      while (effect !== null) {
-        var next2 = effect.next;
-        if (next2 !== null) {
-          effect = next2;
-          break;
-        }
-        effect = effect.parent;
-      }
-    }
-  }
-  /**
-   * @param {Effect[]} effects
-   */
-  #defer_effects(effects) {
-    for (var i = 0; i < effects.length; i += 1) {
-      defer_effect(effects[i], this.#dirty_effects, this.#maybe_dirty_effects);
-    }
-  }
-  /**
-   * Associate a change to a given source with the current
-   * batch, noting its previous and current values
-   * @param {Value} source
-   * @param {any} old_value
-   * @param {boolean} [is_derived]
-   */
-  capture(source2, old_value, is_derived = false) {
-    if (old_value !== UNINITIALIZED && !this.previous.has(source2)) {
-      this.previous.set(source2, old_value);
-    }
-    if ((source2.f & ERROR_VALUE) === 0) {
-      this.current.set(source2, [source2.v, is_derived]);
-      batch_values?.set(source2, source2.v);
-    }
-  }
-  activate() {
-    current_batch = this;
-  }
-  deactivate() {
-    current_batch = null;
-    batch_values = null;
-  }
-  flush() {
-    try {
-      is_processing = true;
-      current_batch = this;
-      this.#process();
-    } finally {
-      flush_count = 0;
-      last_scheduled_effect = null;
-      collected_effects = null;
-      legacy_updates = null;
-      is_processing = false;
-      current_batch = null;
-      batch_values = null;
-      old_values.clear();
-    }
-  }
-  discard() {
-    for (const fn of this.#discard_callbacks) fn(this);
-    this.#discard_callbacks.clear();
-    batches.delete(this);
-  }
-  /**
-   * @param {Effect} effect
-   */
-  register_created_effect(effect) {
-    this.#new_effects.push(effect);
-  }
-  #commit() {
-    for (const batch of batches) {
-      var is_earlier = batch.id < this.id;
-      var sources = [];
-      for (const [source3, [value, is_derived]] of this.current) {
-        if (batch.current.has(source3)) {
-          var batch_value = (
-            /** @type {[any, boolean]} */
-            batch.current.get(source3)[0]
-          );
-          if (is_earlier && value !== batch_value) {
-            batch.current.set(source3, [value, is_derived]);
-          } else {
-            continue;
-          }
-        }
-        sources.push(source3);
-      }
-      var others = [...batch.current.keys()].filter((s) => !this.current.has(s));
-      if (others.length === 0) {
-        if (is_earlier) {
-          batch.discard();
-        }
-      } else if (sources.length > 0) {
-        batch.activate();
-        var marked = /* @__PURE__ */ new Set();
-        var checked = /* @__PURE__ */ new Map();
-        for (var source2 of sources) {
-          mark_effects(source2, others, marked, checked);
-        }
-        checked = /* @__PURE__ */ new Map();
-        var current_unequal = [...batch.current.keys()].filter(
-          (c) => this.current.has(c) ? (
-            /** @type {[any, boolean]} */
-            this.current.get(c)[0] !== c
-          ) : true
-        );
-        for (const effect of this.#new_effects) {
-          if ((effect.f & (DESTROYED | INERT | EAGER_EFFECT)) === 0 && depends_on(effect, current_unequal, checked)) {
-            if ((effect.f & (ASYNC | BLOCK_EFFECT)) !== 0) {
-              set_signal_status(effect, DIRTY);
-              batch.schedule(effect);
-            } else {
-              batch.#dirty_effects.add(effect);
-            }
-          }
-        }
-        if (batch.#roots.length > 0) {
-          batch.apply();
-          for (var root2 of batch.#roots) {
-            batch.#traverse(root2, [], []);
-          }
-          batch.#roots = [];
-        }
-        batch.deactivate();
-      }
-    }
-    for (const batch of batches) {
-      if (batch.#blockers.has(this)) {
-        batch.#blockers.delete(this);
-        if (batch.#blockers.size === 0 && !batch.#is_deferred()) {
-          batch.activate();
-          batch.#process();
-        }
-      }
-    }
-  }
-  /**
-   * @param {boolean} blocking
-   * @param {Effect} effect
-   */
-  increment(blocking, effect) {
-    let pending_count = this.#pending.get(effect) ?? 0;
-    this.#pending.set(effect, pending_count + 1);
-    if (blocking) {
-      let blocking_pending_count = this.#blocking_pending.get(effect) ?? 0;
-      this.#blocking_pending.set(effect, blocking_pending_count + 1);
-    }
-  }
-  /**
-   * @param {boolean} blocking
-   * @param {Effect} effect
-   * @param {boolean} skip - whether to skip updates (because this is triggered by a stale reaction)
-   */
-  decrement(blocking, effect, skip) {
-    let pending_count = this.#pending.get(effect) ?? 0;
-    if (pending_count === 1) {
-      this.#pending.delete(effect);
-    } else {
-      this.#pending.set(effect, pending_count - 1);
-    }
-    if (blocking) {
-      let blocking_pending_count = this.#blocking_pending.get(effect) ?? 0;
-      if (blocking_pending_count === 1) {
-        this.#blocking_pending.delete(effect);
-      } else {
-        this.#blocking_pending.set(effect, blocking_pending_count - 1);
-      }
-    }
-    if (this.#decrement_queued || skip) return;
-    this.#decrement_queued = true;
-    queue_micro_task(() => {
-      this.#decrement_queued = false;
-      this.flush();
-    });
-  }
-  /**
-   * @param {Set<Effect>} dirty_effects
-   * @param {Set<Effect>} maybe_dirty_effects
-   */
-  transfer_effects(dirty_effects, maybe_dirty_effects) {
-    for (const e of dirty_effects) {
-      this.#dirty_effects.add(e);
-    }
-    for (const e of maybe_dirty_effects) {
-      this.#maybe_dirty_effects.add(e);
-    }
-    dirty_effects.clear();
-    maybe_dirty_effects.clear();
-  }
-  /** @param {(batch: Batch) => void} fn */
-  oncommit(fn) {
-    this.#commit_callbacks.add(fn);
-  }
-  /** @param {(batch: Batch) => void} fn */
-  ondiscard(fn) {
-    this.#discard_callbacks.add(fn);
-  }
-  settled() {
-    return (this.#deferred ??= deferred()).promise;
-  }
-  static ensure() {
-    if (current_batch === null) {
-      const batch = current_batch = new Batch();
-      if (!is_processing) {
-        batches.add(current_batch);
-        if (!is_flushing_sync) {
-          queue_micro_task(() => {
-            if (current_batch !== batch) {
-              return;
-            }
-            batch.flush();
-          });
-        }
-      }
-    }
-    return current_batch;
-  }
-  apply() {
-    {
-      batch_values = null;
-      return;
-    }
-  }
-  /**
-   *
-   * @param {Effect} effect
-   */
-  schedule(effect) {
-    last_scheduled_effect = effect;
-    if (effect.b?.is_pending && (effect.f & (EFFECT | RENDER_EFFECT | MANAGED_EFFECT)) !== 0 && (effect.f & REACTION_RAN) === 0) {
-      effect.b.defer_effect(effect);
-      return;
-    }
-    var e = effect;
-    while (e.parent !== null) {
-      e = e.parent;
-      var flags2 = e.f;
-      if (collected_effects !== null && e === active_effect) {
-        if ((active_reaction === null || (active_reaction.f & DERIVED) === 0) && true) {
-          return;
-        }
-      }
-      if ((flags2 & (ROOT_EFFECT | BRANCH_EFFECT)) !== 0) {
-        if ((flags2 & CLEAN) === 0) {
-          return;
-        }
-        e.f ^= CLEAN;
-      }
-    }
-    this.#roots.push(e);
-  }
-}
-function flushSync(fn) {
-  var was_flushing_sync = is_flushing_sync;
-  is_flushing_sync = true;
-  try {
-    var result;
-    if (fn) ;
-    while (true) {
-      flush_tasks();
-      if (current_batch === null) {
-        return (
-          /** @type {T} */
-          result
-        );
-      }
-      current_batch.flush();
-    }
-  } finally {
-    is_flushing_sync = was_flushing_sync;
-  }
-}
-function infinite_loop_guard() {
-  try {
-    effect_update_depth_exceeded();
-  } catch (error) {
-    invoke_error_boundary(error, last_scheduled_effect);
-  }
-}
-let eager_block_effects = null;
-function flush_queued_effects(effects) {
-  var length = effects.length;
-  if (length === 0) return;
-  var i = 0;
-  while (i < length) {
-    var effect = effects[i++];
-    if ((effect.f & (DESTROYED | INERT)) === 0 && is_dirty(effect)) {
-      eager_block_effects = /* @__PURE__ */ new Set();
-      update_effect(effect);
-      if (effect.deps === null && effect.first === null && effect.nodes === null && effect.teardown === null && effect.ac === null) {
-        unlink_effect(effect);
-      }
-      if (eager_block_effects?.size > 0) {
-        old_values.clear();
-        for (const e of eager_block_effects) {
-          if ((e.f & (DESTROYED | INERT)) !== 0) continue;
-          const ordered_effects = [e];
-          let ancestor = e.parent;
-          while (ancestor !== null) {
-            if (eager_block_effects.has(ancestor)) {
-              eager_block_effects.delete(ancestor);
-              ordered_effects.push(ancestor);
-            }
-            ancestor = ancestor.parent;
-          }
-          for (let j = ordered_effects.length - 1; j >= 0; j--) {
-            const e2 = ordered_effects[j];
-            if ((e2.f & (DESTROYED | INERT)) !== 0) continue;
-            update_effect(e2);
-          }
-        }
-        eager_block_effects.clear();
-      }
-    }
-  }
-  eager_block_effects = null;
-}
-function mark_effects(value, sources, marked, checked) {
-  if (marked.has(value)) return;
-  marked.add(value);
-  if (value.reactions !== null) {
-    for (const reaction of value.reactions) {
-      const flags2 = reaction.f;
-      if ((flags2 & DERIVED) !== 0) {
-        mark_effects(
-          /** @type {Derived} */
-          reaction,
-          sources,
-          marked,
-          checked
-        );
-      } else if ((flags2 & (ASYNC | BLOCK_EFFECT)) !== 0 && (flags2 & DIRTY) === 0 && depends_on(reaction, sources, checked)) {
-        set_signal_status(reaction, DIRTY);
-        schedule_effect(
-          /** @type {Effect} */
-          reaction
-        );
-      }
-    }
-  }
-}
-function depends_on(reaction, sources, checked) {
-  const depends = checked.get(reaction);
-  if (depends !== void 0) return depends;
-  if (reaction.deps !== null) {
-    for (const dep of reaction.deps) {
-      if (includes.call(sources, dep)) {
-        return true;
-      }
-      if ((dep.f & DERIVED) !== 0 && depends_on(
-        /** @type {Derived} */
-        dep,
-        sources,
-        checked
-      )) {
-        checked.set(
-          /** @type {Derived} */
-          dep,
-          true
-        );
-        return true;
-      }
-    }
-  }
-  checked.set(reaction, false);
-  return false;
-}
-function schedule_effect(effect) {
-  current_batch.schedule(effect);
-}
-function reset_branch(effect, tracked) {
-  if ((effect.f & BRANCH_EFFECT) !== 0 && (effect.f & CLEAN) !== 0) {
-    return;
-  }
-  if ((effect.f & DIRTY) !== 0) {
-    tracked.d.push(effect);
-  } else if ((effect.f & MAYBE_DIRTY) !== 0) {
-    tracked.m.push(effect);
-  }
-  set_signal_status(effect, CLEAN);
-  var e = effect.first;
-  while (e !== null) {
-    reset_branch(e, tracked);
-    e = e.next;
-  }
-}
-function reset_all(effect) {
-  set_signal_status(effect, CLEAN);
-  var e = effect.first;
-  while (e !== null) {
-    reset_all(e);
-    e = e.next;
-  }
-}
-function createSubscriber(start) {
-  let subscribers = 0;
-  let version = source(0);
-  let stop;
-  return () => {
-    if (effect_tracking()) {
-      get(version);
-      render_effect(() => {
-        if (subscribers === 0) {
-          stop = untrack(() => start(() => increment(version)));
-        }
-        subscribers += 1;
-        return () => {
-          queue_micro_task(() => {
-            subscribers -= 1;
-            if (subscribers === 0) {
-              stop?.();
-              stop = void 0;
-              increment(version);
-            }
-          });
-        };
-      });
-    }
-  };
-}
-var flags = EFFECT_TRANSPARENT | EFFECT_PRESERVED;
-function boundary(node, props, children, transform_error) {
-  new Boundary(node, props, children, transform_error);
-}
-class Boundary {
-  /** @type {Boundary | null} */
-  parent;
-  is_pending = false;
-  /**
-   * API-level transformError transform function. Transforms errors before they reach the `failed` snippet.
-   * Inherited from parent boundary, or defaults to identity.
-   * @type {(error: unknown) => unknown}
-   */
-  transform_error;
-  /** @type {TemplateNode} */
-  #anchor;
-  /** @type {TemplateNode | null} */
-  #hydrate_open = hydrating ? hydrate_node : null;
-  /** @type {BoundaryProps} */
-  #props;
-  /** @type {((anchor: Node) => void)} */
-  #children;
-  /** @type {Effect} */
-  #effect;
-  /** @type {Effect | null} */
-  #main_effect = null;
-  /** @type {Effect | null} */
-  #pending_effect = null;
-  /** @type {Effect | null} */
-  #failed_effect = null;
-  /** @type {DocumentFragment | null} */
-  #offscreen_fragment = null;
-  #local_pending_count = 0;
-  #pending_count = 0;
-  #pending_count_update_queued = false;
-  /** @type {Set<Effect>} */
-  #dirty_effects = /* @__PURE__ */ new Set();
-  /** @type {Set<Effect>} */
-  #maybe_dirty_effects = /* @__PURE__ */ new Set();
-  /**
-   * A source containing the number of pending async deriveds/expressions.
-   * Only created if `$effect.pending()` is used inside the boundary,
-   * otherwise updating the source results in needless `Batch.ensure()`
-   * calls followed by no-op flushes
-   * @type {Source<number> | null}
-   */
-  #effect_pending = null;
-  #effect_pending_subscriber = createSubscriber(() => {
-    this.#effect_pending = source(this.#local_pending_count);
-    return () => {
-      this.#effect_pending = null;
-    };
-  });
-  /**
-   * @param {TemplateNode} node
-   * @param {BoundaryProps} props
-   * @param {((anchor: Node) => void)} children
-   * @param {((error: unknown) => unknown) | undefined} [transform_error]
-   */
-  constructor(node, props, children, transform_error) {
-    this.#anchor = node;
-    this.#props = props;
-    this.#children = (anchor) => {
-      var effect = (
-        /** @type {Effect} */
-        active_effect
-      );
-      effect.b = this;
-      effect.f |= BOUNDARY_EFFECT;
-      children(anchor);
-    };
-    this.parent = /** @type {Effect} */
-    active_effect.b;
-    this.transform_error = transform_error ?? this.parent?.transform_error ?? ((e) => e);
-    this.#effect = block(() => {
-      if (hydrating) {
-        const comment = (
-          /** @type {Comment} */
-          this.#hydrate_open
-        );
-        hydrate_next();
-        const server_rendered_pending = comment.data === HYDRATION_START_ELSE;
-        const server_rendered_failed = comment.data.startsWith(HYDRATION_START_FAILED);
-        if (server_rendered_failed) {
-          const serialized_error = JSON.parse(comment.data.slice(HYDRATION_START_FAILED.length));
-          this.#hydrate_failed_content(serialized_error);
-        } else if (server_rendered_pending) {
-          this.#hydrate_pending_content();
-        } else {
-          this.#hydrate_resolved_content();
-        }
-      } else {
-        this.#render();
-      }
-    }, flags);
-    if (hydrating) {
-      this.#anchor = hydrate_node;
-    }
-  }
-  #hydrate_resolved_content() {
-    try {
-      this.#main_effect = branch(() => this.#children(this.#anchor));
-    } catch (error) {
-      this.error(error);
-    }
-  }
-  /**
-   * @param {unknown} error The deserialized error from the server's hydration comment
-   */
-  #hydrate_failed_content(error) {
-    const failed = this.#props.failed;
-    if (!failed) return;
-    this.#failed_effect = branch(() => {
-      failed(
-        this.#anchor,
-        () => error,
-        () => () => {
-        }
-      );
-    });
-  }
-  #hydrate_pending_content() {
-    const pending = this.#props.pending;
-    if (!pending) return;
-    this.is_pending = true;
-    this.#pending_effect = branch(() => pending(this.#anchor));
-    queue_micro_task(() => {
-      var fragment = this.#offscreen_fragment = document.createDocumentFragment();
-      var anchor = create_text();
-      fragment.append(anchor);
-      this.#main_effect = this.#run(() => {
-        return branch(() => this.#children(anchor));
-      });
-      if (this.#pending_count === 0) {
-        this.#anchor.before(fragment);
-        this.#offscreen_fragment = null;
-        pause_effect(
-          /** @type {Effect} */
-          this.#pending_effect,
-          () => {
-            this.#pending_effect = null;
-          }
-        );
-        this.#resolve(
-          /** @type {Batch} */
-          current_batch
-        );
-      }
-    });
-  }
-  #render() {
-    try {
-      this.is_pending = this.has_pending_snippet();
-      this.#pending_count = 0;
-      this.#local_pending_count = 0;
-      this.#main_effect = branch(() => {
-        this.#children(this.#anchor);
-      });
-      if (this.#pending_count > 0) {
-        var fragment = this.#offscreen_fragment = document.createDocumentFragment();
-        move_effect(this.#main_effect, fragment);
-        const pending = (
-          /** @type {(anchor: Node) => void} */
-          this.#props.pending
-        );
-        this.#pending_effect = branch(() => pending(this.#anchor));
-      } else {
-        this.#resolve(
-          /** @type {Batch} */
-          current_batch
-        );
-      }
-    } catch (error) {
-      this.error(error);
-    }
-  }
-  /**
-   * @param {Batch} batch
-   */
-  #resolve(batch) {
-    this.is_pending = false;
-    batch.transfer_effects(this.#dirty_effects, this.#maybe_dirty_effects);
-  }
-  /**
-   * Defer an effect inside a pending boundary until the boundary resolves
-   * @param {Effect} effect
-   */
-  defer_effect(effect) {
-    defer_effect(effect, this.#dirty_effects, this.#maybe_dirty_effects);
-  }
-  /**
-   * Returns `false` if the effect exists inside a boundary whose pending snippet is shown
-   * @returns {boolean}
-   */
-  is_rendered() {
-    return !this.is_pending && (!this.parent || this.parent.is_rendered());
-  }
-  has_pending_snippet() {
-    return !!this.#props.pending;
-  }
-  /**
-   * @template T
-   * @param {() => T} fn
-   */
-  #run(fn) {
-    var previous_effect = active_effect;
-    var previous_reaction = active_reaction;
-    var previous_ctx = component_context;
-    set_active_effect(this.#effect);
-    set_active_reaction(this.#effect);
-    set_component_context(this.#effect.ctx);
-    try {
-      Batch.ensure();
-      return fn();
-    } catch (e) {
-      handle_error(e);
-      return null;
-    } finally {
-      set_active_effect(previous_effect);
-      set_active_reaction(previous_reaction);
-      set_component_context(previous_ctx);
-    }
-  }
-  /**
-   * Updates the pending count associated with the currently visible pending snippet,
-   * if any, such that we can replace the snippet with content once work is done
-   * @param {1 | -1} d
-   * @param {Batch} batch
-   */
-  #update_pending_count(d, batch) {
-    if (!this.has_pending_snippet()) {
-      if (this.parent) {
-        this.parent.#update_pending_count(d, batch);
-      }
-      return;
-    }
-    this.#pending_count += d;
-    if (this.#pending_count === 0) {
-      this.#resolve(batch);
-      if (this.#pending_effect) {
-        pause_effect(this.#pending_effect, () => {
-          this.#pending_effect = null;
-        });
-      }
-      if (this.#offscreen_fragment) {
-        this.#anchor.before(this.#offscreen_fragment);
-        this.#offscreen_fragment = null;
-      }
-    }
-  }
-  /**
-   * Update the source that powers `$effect.pending()` inside this boundary,
-   * and controls when the current `pending` snippet (if any) is removed.
-   * Do not call from inside the class
-   * @param {1 | -1} d
-   * @param {Batch} batch
-   */
-  update_pending_count(d, batch) {
-    this.#update_pending_count(d, batch);
-    this.#local_pending_count += d;
-    if (!this.#effect_pending || this.#pending_count_update_queued) return;
-    this.#pending_count_update_queued = true;
-    queue_micro_task(() => {
-      this.#pending_count_update_queued = false;
-      if (this.#effect_pending) {
-        internal_set(this.#effect_pending, this.#local_pending_count);
-      }
-    });
-  }
-  get_effect_pending() {
-    this.#effect_pending_subscriber();
-    return get(
-      /** @type {Source<number>} */
-      this.#effect_pending
-    );
-  }
-  /** @param {unknown} error */
-  error(error) {
-    var onerror = this.#props.onerror;
-    let failed = this.#props.failed;
-    if (!onerror && !failed) {
-      throw error;
-    }
-    if (this.#main_effect) {
-      destroy_effect(this.#main_effect);
-      this.#main_effect = null;
-    }
-    if (this.#pending_effect) {
-      destroy_effect(this.#pending_effect);
-      this.#pending_effect = null;
-    }
-    if (this.#failed_effect) {
-      destroy_effect(this.#failed_effect);
-      this.#failed_effect = null;
-    }
-    if (hydrating) {
-      set_hydrate_node(
-        /** @type {TemplateNode} */
-        this.#hydrate_open
-      );
-      next();
-      set_hydrate_node(skip_nodes());
-    }
-    var did_reset = false;
-    var calling_on_error = false;
-    const reset = () => {
-      if (did_reset) {
-        svelte_boundary_reset_noop();
-        return;
-      }
-      did_reset = true;
-      if (calling_on_error) {
-        svelte_boundary_reset_onerror();
-      }
-      if (this.#failed_effect !== null) {
-        pause_effect(this.#failed_effect, () => {
-          this.#failed_effect = null;
-        });
-      }
-      this.#run(() => {
-        this.#render();
-      });
-    };
-    const handle_error_result = (transformed_error) => {
-      try {
-        calling_on_error = true;
-        onerror?.(transformed_error, reset);
-        calling_on_error = false;
-      } catch (error2) {
-        invoke_error_boundary(error2, this.#effect && this.#effect.parent);
-      }
-      if (failed) {
-        this.#failed_effect = this.#run(() => {
-          try {
-            return branch(() => {
-              var effect = (
-                /** @type {Effect} */
-                active_effect
-              );
-              effect.b = this;
-              effect.f |= BOUNDARY_EFFECT;
-              failed(
-                this.#anchor,
-                () => transformed_error,
-                () => reset
-              );
-            });
-          } catch (error2) {
-            invoke_error_boundary(
-              error2,
-              /** @type {Effect} */
-              this.#effect.parent
-            );
-            return null;
-          }
-        });
-      }
-    };
-    queue_micro_task(() => {
-      var result;
-      try {
-        result = this.transform_error(error);
-      } catch (e) {
-        invoke_error_boundary(e, this.#effect && this.#effect.parent);
-        return;
-      }
-      if (result !== null && typeof result === "object" && typeof /** @type {any} */
-      result.then === "function") {
-        result.then(
-          handle_error_result,
-          /** @param {unknown} e */
-          (e) => invoke_error_boundary(e, this.#effect && this.#effect.parent)
-        );
-      } else {
-        handle_error_result(result);
-      }
-    });
-  }
-}
-function destroy_derived_effects(derived2) {
-  var effects = derived2.effects;
-  if (effects !== null) {
-    derived2.effects = null;
-    for (var i = 0; i < effects.length; i += 1) {
-      destroy_effect(
-        /** @type {Effect} */
-        effects[i]
-      );
-    }
-  }
-}
-function get_derived_parent_effect(derived2) {
-  var parent = derived2.parent;
-  while (parent !== null) {
-    if ((parent.f & DERIVED) === 0) {
-      return (parent.f & DESTROYED) === 0 ? (
-        /** @type {Effect} */
-        parent
-      ) : null;
-    }
-    parent = parent.parent;
-  }
-  return null;
-}
-function execute_derived(derived2) {
-  var value;
-  var prev_active_effect = active_effect;
-  set_active_effect(get_derived_parent_effect(derived2));
-  {
-    try {
-      derived2.f &= ~WAS_MARKED;
-      destroy_derived_effects(derived2);
-      value = update_reaction(derived2);
-    } finally {
-      set_active_effect(prev_active_effect);
-    }
-  }
-  return value;
-}
-function update_derived(derived2) {
-  var old_value = derived2.v;
-  var value = execute_derived(derived2);
-  if (!derived2.equals(value)) {
-    derived2.wv = increment_write_version();
-    if (!current_batch?.is_fork || derived2.deps === null) {
-      derived2.v = value;
-      current_batch?.capture(derived2, old_value, true);
-      if (derived2.deps === null) {
-        set_signal_status(derived2, CLEAN);
-        return;
-      }
-    }
-  }
-  if (is_destroying_effect) {
-    return;
-  }
-  if (batch_values !== null) {
-    if (effect_tracking() || current_batch?.is_fork) {
-      batch_values.set(derived2, value);
-    }
-  } else {
-    update_derived_status(derived2);
-  }
-}
-function freeze_derived_effects(derived2) {
-  if (derived2.effects === null) return;
-  for (const e of derived2.effects) {
-    if (e.teardown || e.ac) {
-      e.teardown?.();
-      e.ac?.abort(STALE_REACTION);
-      e.teardown = noop;
-      e.ac = null;
-      remove_reactions(e, 0);
-      destroy_effect_children(e);
-    }
-  }
-}
-function unfreeze_derived_effects(derived2) {
-  if (derived2.effects === null) return;
-  for (const e of derived2.effects) {
-    if (e.teardown) {
-      update_effect(e);
-    }
-  }
-}
-let eager_effects = /* @__PURE__ */ new Set();
-const old_values = /* @__PURE__ */ new Map();
-let eager_effects_deferred = false;
-function source(v, stack) {
-  var signal = {
-    f: 0,
-    // TODO ideally we could skip this altogether, but it causes type errors
-    v,
-    reactions: null,
-    equals,
-    rv: 0,
-    wv: 0
-  };
-  return signal;
-}
-// @__NO_SIDE_EFFECTS__
-function state(v, stack) {
-  const s = source(v);
-  push_reaction_value(s);
-  return s;
-}
-// @__NO_SIDE_EFFECTS__
-function mutable_source(initial_value, immutable = false, trackable = true) {
-  const s = source(initial_value);
-  if (!immutable) {
-    s.equals = safe_equals;
-  }
-  return s;
-}
-function set(source2, value, should_proxy = false) {
-  if (active_reaction !== null && // since we are untracking the function inside `$inspect.with` we need to add this check
-  // to ensure we error if state is set inside an inspect effect
-  (!untracking || (active_reaction.f & EAGER_EFFECT) !== 0) && is_runes() && (active_reaction.f & (DERIVED | BLOCK_EFFECT | ASYNC | EAGER_EFFECT)) !== 0 && (current_sources === null || !includes.call(current_sources, source2))) {
-    state_unsafe_mutation();
-  }
-  let new_value = should_proxy ? proxy(value) : value;
-  return internal_set(source2, new_value, legacy_updates);
-}
-function internal_set(source2, value, updated_during_traversal = null) {
-  if (!source2.equals(value)) {
-    var old_value = source2.v;
-    if (is_destroying_effect) {
-      old_values.set(source2, value);
-    } else {
-      old_values.set(source2, old_value);
-    }
-    source2.v = value;
-    var batch = Batch.ensure();
-    batch.capture(source2, old_value);
-    if ((source2.f & DERIVED) !== 0) {
-      const derived2 = (
-        /** @type {Derived} */
-        source2
-      );
-      if ((source2.f & DIRTY) !== 0) {
-        execute_derived(derived2);
-      }
-      if (batch_values === null) {
-        update_derived_status(derived2);
-      }
-    }
-    source2.wv = increment_write_version();
-    mark_reactions(source2, DIRTY, updated_during_traversal);
-    if (active_effect !== null && (active_effect.f & CLEAN) !== 0 && (active_effect.f & (BRANCH_EFFECT | ROOT_EFFECT)) === 0) {
-      if (untracked_writes === null) {
-        set_untracked_writes([source2]);
-      } else {
-        untracked_writes.push(source2);
-      }
-    }
-    if (!batch.is_fork && eager_effects.size > 0 && !eager_effects_deferred) {
-      flush_eager_effects();
-    }
-  }
-  return value;
-}
-function flush_eager_effects() {
-  eager_effects_deferred = false;
-  for (const effect of eager_effects) {
-    if ((effect.f & CLEAN) !== 0) {
-      set_signal_status(effect, MAYBE_DIRTY);
-    }
-    if (is_dirty(effect)) {
-      update_effect(effect);
-    }
-  }
-  eager_effects.clear();
-}
-function increment(source2) {
-  set(source2, source2.v + 1);
-}
-function mark_reactions(signal, status, updated_during_traversal) {
-  var reactions = signal.reactions;
-  if (reactions === null) return;
-  var length = reactions.length;
-  for (var i = 0; i < length; i++) {
-    var reaction = reactions[i];
-    var flags2 = reaction.f;
-    var not_dirty = (flags2 & DIRTY) === 0;
-    if (not_dirty) {
-      set_signal_status(reaction, status);
-    }
-    if ((flags2 & DERIVED) !== 0) {
-      var derived2 = (
-        /** @type {Derived} */
-        reaction
-      );
-      batch_values?.delete(derived2);
-      if ((flags2 & WAS_MARKED) === 0) {
-        if (flags2 & CONNECTED) {
-          reaction.f |= WAS_MARKED;
-        }
-        mark_reactions(derived2, MAYBE_DIRTY, updated_during_traversal);
-      }
-    } else if (not_dirty) {
-      var effect = (
-        /** @type {Effect} */
-        reaction
-      );
-      if ((flags2 & BLOCK_EFFECT) !== 0 && eager_block_effects !== null) {
-        eager_block_effects.add(effect);
-      }
-      if (updated_during_traversal !== null) {
-        updated_during_traversal.push(effect);
-      } else {
-        schedule_effect(effect);
-      }
-    }
-  }
-}
-function proxy(value) {
-  if (typeof value !== "object" || value === null || STATE_SYMBOL in value) {
-    return value;
-  }
-  const prototype = get_prototype_of(value);
-  if (prototype !== object_prototype && prototype !== array_prototype) {
-    return value;
-  }
-  var sources = /* @__PURE__ */ new Map();
-  var is_proxied_array = is_array(value);
-  var version = /* @__PURE__ */ state(0);
-  var parent_version = update_version;
-  var with_parent = (fn) => {
-    if (update_version === parent_version) {
-      return fn();
-    }
-    var reaction = active_reaction;
-    var version2 = update_version;
-    set_active_reaction(null);
-    set_update_version(parent_version);
-    var result = fn();
-    set_active_reaction(reaction);
-    set_update_version(version2);
-    return result;
-  };
-  if (is_proxied_array) {
-    sources.set("length", /* @__PURE__ */ state(
-      /** @type {any[]} */
-      value.length
-    ));
-  }
-  return new Proxy(
-    /** @type {any} */
-    value,
-    {
-      defineProperty(_, prop, descriptor) {
-        if (!("value" in descriptor) || descriptor.configurable === false || descriptor.enumerable === false || descriptor.writable === false) {
-          state_descriptors_fixed();
-        }
-        var s = sources.get(prop);
-        if (s === void 0) {
-          with_parent(() => {
-            var s2 = /* @__PURE__ */ state(descriptor.value);
-            sources.set(prop, s2);
-            return s2;
-          });
-        } else {
-          set(s, descriptor.value, true);
-        }
-        return true;
-      },
-      deleteProperty(target, prop) {
-        var s = sources.get(prop);
-        if (s === void 0) {
-          if (prop in target) {
-            const s2 = with_parent(() => /* @__PURE__ */ state(UNINITIALIZED));
-            sources.set(prop, s2);
-            increment(version);
-          }
-        } else {
-          set(s, UNINITIALIZED);
-          increment(version);
-        }
-        return true;
-      },
-      get(target, prop, receiver) {
-        if (prop === STATE_SYMBOL) {
-          return value;
-        }
-        var s = sources.get(prop);
-        var exists = prop in target;
-        if (s === void 0 && (!exists || get_descriptor(target, prop)?.writable)) {
-          s = with_parent(() => {
-            var p = proxy(exists ? target[prop] : UNINITIALIZED);
-            var s2 = /* @__PURE__ */ state(p);
-            return s2;
-          });
-          sources.set(prop, s);
-        }
-        if (s !== void 0) {
-          var v = get(s);
-          return v === UNINITIALIZED ? void 0 : v;
-        }
-        return Reflect.get(target, prop, receiver);
-      },
-      getOwnPropertyDescriptor(target, prop) {
-        var descriptor = Reflect.getOwnPropertyDescriptor(target, prop);
-        if (descriptor && "value" in descriptor) {
-          var s = sources.get(prop);
-          if (s) descriptor.value = get(s);
-        } else if (descriptor === void 0) {
-          var source2 = sources.get(prop);
-          var value2 = source2?.v;
-          if (source2 !== void 0 && value2 !== UNINITIALIZED) {
-            return {
-              enumerable: true,
-              configurable: true,
-              value: value2,
-              writable: true
-            };
-          }
-        }
-        return descriptor;
-      },
-      has(target, prop) {
-        if (prop === STATE_SYMBOL) {
-          return true;
-        }
-        var s = sources.get(prop);
-        var has = s !== void 0 && s.v !== UNINITIALIZED || Reflect.has(target, prop);
-        if (s !== void 0 || active_effect !== null && (!has || get_descriptor(target, prop)?.writable)) {
-          if (s === void 0) {
-            s = with_parent(() => {
-              var p = has ? proxy(target[prop]) : UNINITIALIZED;
-              var s2 = /* @__PURE__ */ state(p);
-              return s2;
-            });
-            sources.set(prop, s);
-          }
-          var value2 = get(s);
-          if (value2 === UNINITIALIZED) {
-            return false;
-          }
-        }
-        return has;
-      },
-      set(target, prop, value2, receiver) {
-        var s = sources.get(prop);
-        var has = prop in target;
-        if (is_proxied_array && prop === "length") {
-          for (var i = value2; i < /** @type {Source<number>} */
-          s.v; i += 1) {
-            var other_s = sources.get(i + "");
-            if (other_s !== void 0) {
-              set(other_s, UNINITIALIZED);
-            } else if (i in target) {
-              other_s = with_parent(() => /* @__PURE__ */ state(UNINITIALIZED));
-              sources.set(i + "", other_s);
-            }
-          }
-        }
-        if (s === void 0) {
-          if (!has || get_descriptor(target, prop)?.writable) {
-            s = with_parent(() => /* @__PURE__ */ state(void 0));
-            set(s, proxy(value2));
-            sources.set(prop, s);
-          }
-        } else {
-          has = s.v !== UNINITIALIZED;
-          var p = with_parent(() => proxy(value2));
-          set(s, p);
-        }
-        var descriptor = Reflect.getOwnPropertyDescriptor(target, prop);
-        if (descriptor?.set) {
-          descriptor.set.call(receiver, value2);
-        }
-        if (!has) {
-          if (is_proxied_array && typeof prop === "string") {
-            var ls = (
-              /** @type {Source<number>} */
-              sources.get("length")
-            );
-            var n = Number(prop);
-            if (Number.isInteger(n) && n >= ls.v) {
-              set(ls, n + 1);
-            }
-          }
-          increment(version);
-        }
-        return true;
-      },
-      ownKeys(target) {
-        get(version);
-        var own_keys = Reflect.ownKeys(target).filter((key2) => {
-          var source3 = sources.get(key2);
-          return source3 === void 0 || source3.v !== UNINITIALIZED;
-        });
-        for (var [key, source2] of sources) {
-          if (source2.v !== UNINITIALIZED && !(key in target)) {
-            own_keys.push(key);
-          }
-        }
-        return own_keys;
-      },
-      setPrototypeOf() {
-        state_prototype_fixed();
-      }
-    }
-  );
-}
-var $window;
-var first_child_getter;
-var next_sibling_getter;
-function init_operations() {
-  if ($window !== void 0) {
-    return;
-  }
-  $window = window;
-  var element_prototype = Element.prototype;
-  var node_prototype = Node.prototype;
-  var text_prototype = Text.prototype;
-  first_child_getter = get_descriptor(node_prototype, "firstChild").get;
-  next_sibling_getter = get_descriptor(node_prototype, "nextSibling").get;
-  if (is_extensible(element_prototype)) {
-    element_prototype.__click = void 0;
-    element_prototype.__className = void 0;
-    element_prototype.__attributes = null;
-    element_prototype.__style = void 0;
-    element_prototype.__e = void 0;
-  }
-  if (is_extensible(text_prototype)) {
-    text_prototype.__t = void 0;
-  }
-}
-function create_text(value = "") {
-  return document.createTextNode(value);
-}
-// @__NO_SIDE_EFFECTS__
-function get_first_child(node) {
-  return (
-    /** @type {TemplateNode | null} */
-    first_child_getter.call(node)
-  );
-}
-// @__NO_SIDE_EFFECTS__
-function get_next_sibling(node) {
-  return (
-    /** @type {TemplateNode | null} */
-    next_sibling_getter.call(node)
-  );
-}
-function clear_text_content(node) {
-  node.textContent = "";
-}
-function without_reactive_context(fn) {
-  var previous_reaction = active_reaction;
-  var previous_effect = active_effect;
-  set_active_reaction(null);
-  set_active_effect(null);
-  try {
-    return fn();
-  } finally {
-    set_active_reaction(previous_reaction);
-    set_active_effect(previous_effect);
-  }
-}
-function push_effect(effect, parent_effect) {
-  var parent_last = parent_effect.last;
-  if (parent_last === null) {
-    parent_effect.last = parent_effect.first = effect;
-  } else {
-    parent_last.next = effect;
-    effect.prev = parent_last;
-    parent_effect.last = effect;
-  }
-}
-function create_effect(type, fn) {
-  var parent = active_effect;
-  if (parent !== null && (parent.f & INERT) !== 0) {
-    type |= INERT;
-  }
-  var effect = {
-    ctx: component_context,
-    deps: null,
-    nodes: null,
-    f: type | DIRTY | CONNECTED,
-    first: null,
-    fn,
-    last: null,
-    next: null,
-    parent,
-    b: parent && parent.b,
-    prev: null,
-    teardown: null,
-    wv: 0,
-    ac: null
-  };
-  current_batch?.register_created_effect(effect);
-  var e = effect;
-  if ((type & EFFECT) !== 0) {
-    if (collected_effects !== null) {
-      collected_effects.push(effect);
-    } else {
-      Batch.ensure().schedule(effect);
-    }
-  } else if (fn !== null) {
-    try {
-      update_effect(effect);
-    } catch (e2) {
-      destroy_effect(effect);
-      throw e2;
-    }
-    if (e.deps === null && e.teardown === null && e.nodes === null && e.first === e.last && // either `null`, or a singular child
-    (e.f & EFFECT_PRESERVED) === 0) {
-      e = e.first;
-      if ((type & BLOCK_EFFECT) !== 0 && (type & EFFECT_TRANSPARENT) !== 0 && e !== null) {
-        e.f |= EFFECT_TRANSPARENT;
-      }
-    }
-  }
-  if (e !== null) {
-    e.parent = parent;
-    if (parent !== null) {
-      push_effect(e, parent);
-    }
-    if (active_reaction !== null && (active_reaction.f & DERIVED) !== 0 && (type & ROOT_EFFECT) === 0) {
-      var derived2 = (
-        /** @type {Derived} */
-        active_reaction
-      );
-      (derived2.effects ??= []).push(e);
-    }
-  }
-  return effect;
-}
-function effect_tracking() {
-  return active_reaction !== null && !untracking;
-}
-function create_user_effect(fn) {
-  return create_effect(EFFECT | USER_EFFECT, fn);
-}
-function component_root(fn) {
-  Batch.ensure();
-  const effect = create_effect(ROOT_EFFECT | EFFECT_PRESERVED, fn);
-  return (options = {}) => {
-    return new Promise((fulfil) => {
-      if (options.outro) {
-        pause_effect(effect, () => {
-          destroy_effect(effect);
-          fulfil(void 0);
-        });
-      } else {
-        destroy_effect(effect);
-        fulfil(void 0);
-      }
-    });
-  };
-}
-function render_effect(fn, flags2 = 0) {
-  return create_effect(RENDER_EFFECT | flags2, fn);
-}
-function block(fn, flags2 = 0) {
-  var effect = create_effect(BLOCK_EFFECT | flags2, fn);
-  return effect;
-}
-function branch(fn) {
-  return create_effect(BRANCH_EFFECT | EFFECT_PRESERVED, fn);
-}
-function execute_effect_teardown(effect) {
-  var teardown = effect.teardown;
-  if (teardown !== null) {
-    const previously_destroying_effect = is_destroying_effect;
-    const previous_reaction = active_reaction;
-    set_is_destroying_effect(true);
-    set_active_reaction(null);
-    try {
-      teardown.call(null);
-    } finally {
-      set_is_destroying_effect(previously_destroying_effect);
-      set_active_reaction(previous_reaction);
-    }
-  }
-}
-function destroy_effect_children(signal, remove_dom = false) {
-  var effect = signal.first;
-  signal.first = signal.last = null;
-  while (effect !== null) {
-    const controller = effect.ac;
-    if (controller !== null) {
-      without_reactive_context(() => {
-        controller.abort(STALE_REACTION);
-      });
-    }
-    var next2 = effect.next;
-    if ((effect.f & ROOT_EFFECT) !== 0) {
-      effect.parent = null;
-    } else {
-      destroy_effect(effect, remove_dom);
-    }
-    effect = next2;
-  }
-}
-function destroy_block_effect_children(signal) {
-  var effect = signal.first;
-  while (effect !== null) {
-    var next2 = effect.next;
-    if ((effect.f & BRANCH_EFFECT) === 0) {
-      destroy_effect(effect);
-    }
-    effect = next2;
-  }
-}
-function destroy_effect(effect, remove_dom = true) {
-  var removed = false;
-  if ((remove_dom || (effect.f & HEAD_EFFECT) !== 0) && effect.nodes !== null && effect.nodes.end !== null) {
-    remove_effect_dom(
-      effect.nodes.start,
-      /** @type {TemplateNode} */
-      effect.nodes.end
-    );
-    removed = true;
-  }
-  set_signal_status(effect, DESTROYING);
-  destroy_effect_children(effect, remove_dom && !removed);
-  remove_reactions(effect, 0);
-  var transitions = effect.nodes && effect.nodes.t;
-  if (transitions !== null) {
-    for (const transition of transitions) {
-      transition.stop();
-    }
-  }
-  execute_effect_teardown(effect);
-  effect.f ^= DESTROYING;
-  effect.f |= DESTROYED;
-  var parent = effect.parent;
-  if (parent !== null && parent.first !== null) {
-    unlink_effect(effect);
-  }
-  effect.next = effect.prev = effect.teardown = effect.ctx = effect.deps = effect.fn = effect.nodes = effect.ac = effect.b = null;
-}
-function remove_effect_dom(node, end) {
-  while (node !== null) {
-    var next2 = node === end ? null : /* @__PURE__ */ get_next_sibling(node);
-    node.remove();
-    node = next2;
-  }
-}
-function unlink_effect(effect) {
-  var parent = effect.parent;
-  var prev = effect.prev;
-  var next2 = effect.next;
-  if (prev !== null) prev.next = next2;
-  if (next2 !== null) next2.prev = prev;
-  if (parent !== null) {
-    if (parent.first === effect) parent.first = next2;
-    if (parent.last === effect) parent.last = prev;
-  }
-}
-function pause_effect(effect, callback, destroy = true) {
-  var transitions = [];
-  pause_children(effect, transitions, true);
-  var fn = () => {
-    if (destroy) destroy_effect(effect);
-    if (callback) callback();
-  };
-  var remaining = transitions.length;
-  if (remaining > 0) {
-    var check = () => --remaining || fn();
-    for (var transition of transitions) {
-      transition.out(check);
-    }
-  } else {
-    fn();
-  }
-}
-function pause_children(effect, transitions, local) {
-  if ((effect.f & INERT) !== 0) return;
-  effect.f ^= INERT;
-  var t = effect.nodes && effect.nodes.t;
-  if (t !== null) {
-    for (const transition of t) {
-      if (transition.is_global || local) {
-        transitions.push(transition);
-      }
-    }
-  }
-  var child = effect.first;
-  while (child !== null) {
-    var sibling = child.next;
-    var transparent = (child.f & EFFECT_TRANSPARENT) !== 0 || // If this is a branch effect without a block effect parent,
-    // it means the parent block effect was pruned. In that case,
-    // transparency information was transferred to the branch effect.
-    (child.f & BRANCH_EFFECT) !== 0 && (effect.f & BLOCK_EFFECT) !== 0;
-    pause_children(child, transitions, transparent ? local : false);
-    child = sibling;
-  }
-}
-function move_effect(effect, fragment) {
-  if (!effect.nodes) return;
-  var node = effect.nodes.start;
-  var end = effect.nodes.end;
-  while (node !== null) {
-    var next2 = node === end ? null : /* @__PURE__ */ get_next_sibling(node);
-    fragment.append(node);
-    node = next2;
-  }
-}
-let is_updating_effect = false;
-let is_destroying_effect = false;
-function set_is_destroying_effect(value) {
-  is_destroying_effect = value;
-}
-let active_reaction = null;
-let untracking = false;
-function set_active_reaction(reaction) {
-  active_reaction = reaction;
-}
-let active_effect = null;
-function set_active_effect(effect) {
-  active_effect = effect;
-}
-let current_sources = null;
-function push_reaction_value(value) {
-  if (active_reaction !== null && true) {
-    if (current_sources === null) {
-      current_sources = [value];
-    } else {
-      current_sources.push(value);
-    }
-  }
-}
-let new_deps = null;
-let skipped_deps = 0;
-let untracked_writes = null;
-function set_untracked_writes(value) {
-  untracked_writes = value;
-}
-let write_version = 1;
-let read_version = 0;
-let update_version = read_version;
-function set_update_version(value) {
-  update_version = value;
-}
-function increment_write_version() {
-  return ++write_version;
-}
-function is_dirty(reaction) {
-  var flags2 = reaction.f;
-  if ((flags2 & DIRTY) !== 0) {
-    return true;
-  }
-  if (flags2 & DERIVED) {
-    reaction.f &= ~WAS_MARKED;
-  }
-  if ((flags2 & MAYBE_DIRTY) !== 0) {
-    var dependencies = (
-      /** @type {Value[]} */
-      reaction.deps
-    );
-    var length = dependencies.length;
-    for (var i = 0; i < length; i++) {
-      var dependency = dependencies[i];
-      if (is_dirty(
-        /** @type {Derived} */
-        dependency
-      )) {
-        update_derived(
-          /** @type {Derived} */
-          dependency
-        );
-      }
-      if (dependency.wv > reaction.wv) {
-        return true;
-      }
-    }
-    if ((flags2 & CONNECTED) !== 0 && // During time traveling we don't want to reset the status so that
-    // traversal of the graph in the other batches still happens
-    batch_values === null) {
-      set_signal_status(reaction, CLEAN);
-    }
-  }
-  return false;
-}
-function schedule_possible_effect_self_invalidation(signal, effect, root2 = true) {
-  var reactions = signal.reactions;
-  if (reactions === null) return;
-  if (current_sources !== null && includes.call(current_sources, signal)) {
-    return;
-  }
-  for (var i = 0; i < reactions.length; i++) {
-    var reaction = reactions[i];
-    if ((reaction.f & DERIVED) !== 0) {
-      schedule_possible_effect_self_invalidation(
-        /** @type {Derived} */
-        reaction,
-        effect,
-        false
-      );
-    } else if (effect === reaction) {
-      if (root2) {
-        set_signal_status(reaction, DIRTY);
-      } else if ((reaction.f & CLEAN) !== 0) {
-        set_signal_status(reaction, MAYBE_DIRTY);
-      }
-      schedule_effect(
-        /** @type {Effect} */
-        reaction
-      );
-    }
-  }
-}
-function update_reaction(reaction) {
-  var previous_deps = new_deps;
-  var previous_skipped_deps = skipped_deps;
-  var previous_untracked_writes = untracked_writes;
-  var previous_reaction = active_reaction;
-  var previous_sources = current_sources;
-  var previous_component_context = component_context;
-  var previous_untracking = untracking;
-  var previous_update_version = update_version;
-  var flags2 = reaction.f;
-  new_deps = /** @type {null | Value[]} */
-  null;
-  skipped_deps = 0;
-  untracked_writes = null;
-  active_reaction = (flags2 & (BRANCH_EFFECT | ROOT_EFFECT)) === 0 ? reaction : null;
-  current_sources = null;
-  set_component_context(reaction.ctx);
-  untracking = false;
-  update_version = ++read_version;
-  if (reaction.ac !== null) {
-    without_reactive_context(() => {
-      reaction.ac.abort(STALE_REACTION);
-    });
-    reaction.ac = null;
-  }
-  try {
-    reaction.f |= REACTION_IS_UPDATING;
-    var fn = (
-      /** @type {Function} */
-      reaction.fn
-    );
-    var result = fn();
-    reaction.f |= REACTION_RAN;
-    var deps = reaction.deps;
-    var is_fork = current_batch?.is_fork;
-    if (new_deps !== null) {
-      var i;
-      if (!is_fork) {
-        remove_reactions(reaction, skipped_deps);
-      }
-      if (deps !== null && skipped_deps > 0) {
-        deps.length = skipped_deps + new_deps.length;
-        for (i = 0; i < new_deps.length; i++) {
-          deps[skipped_deps + i] = new_deps[i];
-        }
-      } else {
-        reaction.deps = deps = new_deps;
-      }
-      if (effect_tracking() && (reaction.f & CONNECTED) !== 0) {
-        for (i = skipped_deps; i < deps.length; i++) {
-          (deps[i].reactions ??= []).push(reaction);
-        }
-      }
-    } else if (!is_fork && deps !== null && skipped_deps < deps.length) {
-      remove_reactions(reaction, skipped_deps);
-      deps.length = skipped_deps;
-    }
-    if (is_runes() && untracked_writes !== null && !untracking && deps !== null && (reaction.f & (DERIVED | MAYBE_DIRTY | DIRTY)) === 0) {
-      for (i = 0; i < /** @type {Source[]} */
-      untracked_writes.length; i++) {
-        schedule_possible_effect_self_invalidation(
-          untracked_writes[i],
-          /** @type {Effect} */
-          reaction
-        );
-      }
-    }
-    if (previous_reaction !== null && previous_reaction !== reaction) {
-      read_version++;
-      if (previous_reaction.deps !== null) {
-        for (let i2 = 0; i2 < previous_skipped_deps; i2 += 1) {
-          previous_reaction.deps[i2].rv = read_version;
-        }
-      }
-      if (previous_deps !== null) {
-        for (const dep of previous_deps) {
-          dep.rv = read_version;
-        }
-      }
-      if (untracked_writes !== null) {
-        if (previous_untracked_writes === null) {
-          previous_untracked_writes = untracked_writes;
-        } else {
-          previous_untracked_writes.push(.../** @type {Source[]} */
-          untracked_writes);
-        }
-      }
-    }
-    if ((reaction.f & ERROR_VALUE) !== 0) {
-      reaction.f ^= ERROR_VALUE;
-    }
-    return result;
-  } catch (error) {
-    return handle_error(error);
-  } finally {
-    reaction.f ^= REACTION_IS_UPDATING;
-    new_deps = previous_deps;
-    skipped_deps = previous_skipped_deps;
-    untracked_writes = previous_untracked_writes;
-    active_reaction = previous_reaction;
-    current_sources = previous_sources;
-    set_component_context(previous_component_context);
-    untracking = previous_untracking;
-    update_version = previous_update_version;
-  }
-}
-function remove_reaction(signal, dependency) {
-  let reactions = dependency.reactions;
-  if (reactions !== null) {
-    var index = index_of.call(reactions, signal);
-    if (index !== -1) {
-      var new_length = reactions.length - 1;
-      if (new_length === 0) {
-        reactions = dependency.reactions = null;
-      } else {
-        reactions[index] = reactions[new_length];
-        reactions.pop();
-      }
-    }
-  }
-  if (reactions === null && (dependency.f & DERIVED) !== 0 && // Destroying a child effect while updating a parent effect can cause a dependency to appear
-  // to be unused, when in fact it is used by the currently-updating parent. Checking `new_deps`
-  // allows us to skip the expensive work of disconnecting and immediately reconnecting it
-  (new_deps === null || !includes.call(new_deps, dependency))) {
-    var derived2 = (
-      /** @type {Derived} */
-      dependency
-    );
-    if ((derived2.f & CONNECTED) !== 0) {
-      derived2.f ^= CONNECTED;
-      derived2.f &= ~WAS_MARKED;
-    }
-    update_derived_status(derived2);
-    freeze_derived_effects(derived2);
-    remove_reactions(derived2, 0);
-  }
-}
-function remove_reactions(signal, start_index) {
-  var dependencies = signal.deps;
-  if (dependencies === null) return;
-  for (var i = start_index; i < dependencies.length; i++) {
-    remove_reaction(signal, dependencies[i]);
-  }
-}
-function update_effect(effect) {
-  var flags2 = effect.f;
-  if ((flags2 & DESTROYED) !== 0) {
-    return;
-  }
-  set_signal_status(effect, CLEAN);
-  var previous_effect = active_effect;
-  var was_updating_effect = is_updating_effect;
-  active_effect = effect;
-  is_updating_effect = true;
-  try {
-    if ((flags2 & (BLOCK_EFFECT | MANAGED_EFFECT)) !== 0) {
-      destroy_block_effect_children(effect);
-    } else {
-      destroy_effect_children(effect);
-    }
-    execute_effect_teardown(effect);
-    var teardown = update_reaction(effect);
-    effect.teardown = typeof teardown === "function" ? teardown : null;
-    effect.wv = write_version;
-    var dep;
-    if (BROWSER && tracing_mode_flag && (effect.f & DIRTY) !== 0 && effect.deps !== null) ;
-  } finally {
-    is_updating_effect = was_updating_effect;
-    active_effect = previous_effect;
-  }
-}
-function get(signal) {
-  var flags2 = signal.f;
-  var is_derived = (flags2 & DERIVED) !== 0;
-  if (active_reaction !== null && !untracking) {
-    var destroyed = active_effect !== null && (active_effect.f & DESTROYED) !== 0;
-    if (!destroyed && (current_sources === null || !includes.call(current_sources, signal))) {
-      var deps = active_reaction.deps;
-      if ((active_reaction.f & REACTION_IS_UPDATING) !== 0) {
-        if (signal.rv < read_version) {
-          signal.rv = read_version;
-          if (new_deps === null && deps !== null && deps[skipped_deps] === signal) {
-            skipped_deps++;
-          } else if (new_deps === null) {
-            new_deps = [signal];
-          } else {
-            new_deps.push(signal);
-          }
-        }
-      } else {
-        (active_reaction.deps ??= []).push(signal);
-        var reactions = signal.reactions;
-        if (reactions === null) {
-          signal.reactions = [active_reaction];
-        } else if (!includes.call(reactions, active_reaction)) {
-          reactions.push(active_reaction);
-        }
-      }
-    }
-  }
-  if (is_destroying_effect && old_values.has(signal)) {
-    return old_values.get(signal);
-  }
-  if (is_derived) {
-    var derived2 = (
-      /** @type {Derived} */
-      signal
-    );
-    if (is_destroying_effect) {
-      var value = derived2.v;
-      if ((derived2.f & CLEAN) === 0 && derived2.reactions !== null || depends_on_old_values(derived2)) {
-        value = execute_derived(derived2);
-      }
-      old_values.set(derived2, value);
-      return value;
-    }
-    var should_connect = (derived2.f & CONNECTED) === 0 && !untracking && active_reaction !== null && (is_updating_effect || (active_reaction.f & CONNECTED) !== 0);
-    var is_new = (derived2.f & REACTION_RAN) === 0;
-    if (is_dirty(derived2)) {
-      if (should_connect) {
-        derived2.f |= CONNECTED;
-      }
-      update_derived(derived2);
-    }
-    if (should_connect && !is_new) {
-      unfreeze_derived_effects(derived2);
-      reconnect(derived2);
-    }
-  }
-  if (batch_values?.has(signal)) {
-    return batch_values.get(signal);
-  }
-  if ((signal.f & ERROR_VALUE) !== 0) {
-    throw signal.v;
-  }
-  return signal.v;
-}
-function reconnect(derived2) {
-  derived2.f |= CONNECTED;
-  if (derived2.deps === null) return;
-  for (const dep of derived2.deps) {
-    (dep.reactions ??= []).push(derived2);
-    if ((dep.f & DERIVED) !== 0 && (dep.f & CONNECTED) === 0) {
-      unfreeze_derived_effects(
-        /** @type {Derived} */
-        dep
-      );
-      reconnect(
-        /** @type {Derived} */
-        dep
-      );
-    }
-  }
-}
-function depends_on_old_values(derived2) {
-  if (derived2.v === UNINITIALIZED) return true;
-  if (derived2.deps === null) return false;
-  for (const dep of derived2.deps) {
-    if (old_values.has(dep)) {
-      return true;
-    }
-    if ((dep.f & DERIVED) !== 0 && depends_on_old_values(
-      /** @type {Derived} */
-      dep
-    )) {
-      return true;
-    }
-  }
-  return false;
-}
-function untrack(fn) {
-  var previous_untracking = untracking;
-  try {
-    untracking = true;
-    return fn();
-  } finally {
-    untracking = previous_untracking;
-  }
-}
-const event_symbol = /* @__PURE__ */ Symbol("events");
-const all_registered_events = /* @__PURE__ */ new Set();
-const root_event_handles = /* @__PURE__ */ new Set();
-let last_propagated_event = null;
-function handle_event_propagation(event) {
-  var handler_element = this;
-  var owner_document = (
-    /** @type {Node} */
-    handler_element.ownerDocument
-  );
-  var event_name = event.type;
-  var path = event.composedPath?.() || [];
-  var current_target = (
-    /** @type {null | Element} */
-    path[0] || event.target
-  );
-  last_propagated_event = event;
-  var path_idx = 0;
-  var handled_at = last_propagated_event === event && event[event_symbol];
-  if (handled_at) {
-    var at_idx = path.indexOf(handled_at);
-    if (at_idx !== -1 && (handler_element === document || handler_element === /** @type {any} */
-    window)) {
-      event[event_symbol] = handler_element;
-      return;
-    }
-    var handler_idx = path.indexOf(handler_element);
-    if (handler_idx === -1) {
-      return;
-    }
-    if (at_idx <= handler_idx) {
-      path_idx = at_idx;
-    }
-  }
-  current_target = /** @type {Element} */
-  path[path_idx] || event.target;
-  if (current_target === handler_element) return;
-  define_property(event, "currentTarget", {
-    configurable: true,
-    get() {
-      return current_target || owner_document;
-    }
-  });
-  var previous_reaction = active_reaction;
-  var previous_effect = active_effect;
-  set_active_reaction(null);
-  set_active_effect(null);
-  try {
-    var throw_error;
-    var other_errors = [];
-    while (current_target !== null) {
-      var parent_element = current_target.assignedSlot || current_target.parentNode || /** @type {any} */
-      current_target.host || null;
-      try {
-        var delegated = current_target[event_symbol]?.[event_name];
-        if (delegated != null && (!/** @type {any} */
-        current_target.disabled || // DOM could've been updated already by the time this is reached, so we check this as well
-        // -> the target could not have been disabled because it emits the event in the first place
-        event.target === current_target)) {
-          delegated.call(current_target, event);
-        }
-      } catch (error) {
-        if (throw_error) {
-          other_errors.push(error);
-        } else {
-          throw_error = error;
-        }
-      }
-      if (event.cancelBubble || parent_element === handler_element || parent_element === null) {
-        break;
-      }
-      current_target = parent_element;
-    }
-    if (throw_error) {
-      for (let error of other_errors) {
-        queueMicrotask(() => {
-          throw error;
-        });
-      }
-      throw throw_error;
-    }
-  } finally {
-    event[event_symbol] = handler_element;
-    delete event.currentTarget;
-    set_active_reaction(previous_reaction);
-    set_active_effect(previous_effect);
-  }
-}
-function assign_nodes(start, end) {
-  var effect = (
-    /** @type {Effect} */
-    active_effect
-  );
-  if (effect.nodes === null) {
-    effect.nodes = { start, end, a: null, t: null };
-  }
-}
-function mount(component, options) {
-  return _mount(component, options);
-}
-function hydrate(component, options) {
-  init_operations();
-  options.intro = options.intro ?? false;
-  const target = options.target;
-  const was_hydrating = hydrating;
-  const previous_hydrate_node = hydrate_node;
-  try {
-    var anchor = /* @__PURE__ */ get_first_child(target);
-    while (anchor && (anchor.nodeType !== COMMENT_NODE || /** @type {Comment} */
-    anchor.data !== HYDRATION_START)) {
-      anchor = /* @__PURE__ */ get_next_sibling(anchor);
-    }
-    if (!anchor) {
-      throw HYDRATION_ERROR;
-    }
-    set_hydrating(true);
-    set_hydrate_node(
-      /** @type {Comment} */
-      anchor
-    );
-    const instance = _mount(component, { ...options, anchor });
-    set_hydrating(false);
-    return (
-      /**  @type {Exports} */
-      instance
-    );
-  } catch (error) {
-    if (error instanceof Error && error.message.split("\n").some((line) => line.startsWith("https://svelte.dev/e/"))) {
-      throw error;
-    }
-    if (error !== HYDRATION_ERROR) {
-      console.warn("Failed to hydrate: ", error);
-    }
-    if (options.recover === false) {
-      hydration_failed();
-    }
-    init_operations();
-    clear_text_content(target);
-    set_hydrating(false);
-    return mount(component, options);
-  } finally {
-    set_hydrating(was_hydrating);
-    set_hydrate_node(previous_hydrate_node);
-  }
-}
-const listeners = /* @__PURE__ */ new Map();
-function _mount(Component, { target, anchor, props = {}, events, context, intro = true, transformError }) {
-  init_operations();
-  var component = void 0;
-  var unmount2 = component_root(() => {
-    var anchor_node = anchor ?? target.appendChild(create_text());
-    boundary(
-      /** @type {TemplateNode} */
-      anchor_node,
-      {
-        pending: () => {
-        }
-      },
-      (anchor_node2) => {
-        push({});
-        var ctx = (
-          /** @type {ComponentContext} */
-          component_context
-        );
-        if (context) ctx.c = context;
-        if (events) {
-          props.$$events = events;
-        }
-        if (hydrating) {
-          assign_nodes(
-            /** @type {TemplateNode} */
-            anchor_node2,
-            null
-          );
-        }
-        component = Component(anchor_node2, props) || {};
-        if (hydrating) {
-          active_effect.nodes.end = hydrate_node;
-          if (hydrate_node === null || hydrate_node.nodeType !== COMMENT_NODE || /** @type {Comment} */
-          hydrate_node.data !== HYDRATION_END) {
-            hydration_mismatch();
-            throw HYDRATION_ERROR;
-          }
-        }
-        pop();
-      },
-      transformError
-    );
-    var registered_events = /* @__PURE__ */ new Set();
-    var event_handle = (events2) => {
-      for (var i = 0; i < events2.length; i++) {
-        var event_name = events2[i];
-        if (registered_events.has(event_name)) continue;
-        registered_events.add(event_name);
-        var passive = is_passive_event(event_name);
-        for (const node of [target, document]) {
-          var counts = listeners.get(node);
-          if (counts === void 0) {
-            counts = /* @__PURE__ */ new Map();
-            listeners.set(node, counts);
-          }
-          var count = counts.get(event_name);
-          if (count === void 0) {
-            node.addEventListener(event_name, handle_event_propagation, { passive });
-            counts.set(event_name, 1);
-          } else {
-            counts.set(event_name, count + 1);
-          }
-        }
-      }
-    };
-    event_handle(array_from(all_registered_events));
-    root_event_handles.add(event_handle);
-    return () => {
-      for (var event_name of registered_events) {
-        for (const node of [target, document]) {
-          var counts = (
-            /** @type {Map<string, number>} */
-            listeners.get(node)
-          );
-          var count = (
-            /** @type {number} */
-            counts.get(event_name)
-          );
-          if (--count == 0) {
-            node.removeEventListener(event_name, handle_event_propagation);
-            counts.delete(event_name);
-            if (counts.size === 0) {
-              listeners.delete(node);
-            }
-          } else {
-            counts.set(event_name, count);
-          }
-        }
-      }
-      root_event_handles.delete(event_handle);
-      if (anchor_node !== anchor) {
-        anchor_node.parentNode?.removeChild(anchor_node);
-      }
-    };
-  });
-  mounted_components.set(component, unmount2);
-  return component;
-}
-let mounted_components = /* @__PURE__ */ new WeakMap();
-function unmount(component, options) {
-  const fn = mounted_components.get(component);
-  if (fn) {
-    mounted_components.delete(component);
-    return fn(options);
-  }
-  return Promise.resolve();
-}
-function asClassComponent$1(component) {
-  return class extends Svelte4Component {
-    /** @param {any} options */
-    constructor(options) {
-      super({
-        component,
-        ...options
-      });
-    }
-  };
-}
-class Svelte4Component {
-  /** @type {any} */
-  #events;
-  /** @type {Record<string, any>} */
-  #instance;
-  /**
-   * @param {ComponentConstructorOptions & {
-   *  component: any;
-   * }} options
-   */
-  constructor(options) {
-    var sources = /* @__PURE__ */ new Map();
-    var add_source = (key, value) => {
-      var s = /* @__PURE__ */ mutable_source(value, false, false);
-      sources.set(key, s);
-      return s;
-    };
-    const props = new Proxy(
-      { ...options.props || {}, $$events: {} },
-      {
-        get(target, prop) {
-          return get(sources.get(prop) ?? add_source(prop, Reflect.get(target, prop)));
-        },
-        has(target, prop) {
-          if (prop === LEGACY_PROPS) return true;
-          get(sources.get(prop) ?? add_source(prop, Reflect.get(target, prop)));
-          return Reflect.has(target, prop);
-        },
-        set(target, prop, value) {
-          set(sources.get(prop) ?? add_source(prop, value), value);
-          return Reflect.set(target, prop, value);
-        }
-      }
-    );
-    this.#instance = (options.hydrate ? hydrate : mount)(options.component, {
-      target: options.target,
-      anchor: options.anchor,
-      props,
-      context: options.context,
-      intro: options.intro ?? false,
-      recover: options.recover,
-      transformError: options.transformError
-    });
-    if (!options?.props?.$$host || options.sync === false) {
-      flushSync();
-    }
-    this.#events = props.$$events;
-    for (const key of Object.keys(this.#instance)) {
-      if (key === "$set" || key === "$destroy" || key === "$on") continue;
-      define_property(this, key, {
-        get() {
-          return this.#instance[key];
-        },
-        /** @param {any} value */
-        set(value) {
-          this.#instance[key] = value;
-        },
-        enumerable: true
-      });
-    }
-    this.#instance.$set = /** @param {Record<string, any>} next */
-    (next2) => {
-      Object.assign(props, next2);
-    };
-    this.#instance.$destroy = () => {
-      unmount(this.#instance);
-    };
-  }
-  /** @param {Record<string, any>} props */
-  $set(props) {
-    this.#instance.$set(props);
-  }
-  /**
-   * @param {string} event
-   * @param {(...args: any[]) => any} callback
-   * @returns {any}
-   */
-  $on(event, callback) {
-    this.#events[event] = this.#events[event] || [];
-    const cb = (...args) => callback.call(this, ...args);
-    this.#events[event].push(cb);
-    return () => {
-      this.#events[event] = this.#events[event].filter(
-        /** @param {any} fn */
-        (fn) => fn !== cb
-      );
-    };
-  }
-  $destroy() {
-    this.#instance.$destroy();
-  }
-}
-function asClassComponent(component) {
-  const component_constructor = asClassComponent$1(component);
-  const _render = (props, { context, csp, transformError } = {}) => {
-    const result = render(component, { props, context, csp, transformError });
-    const munged = Object.defineProperties(
-      /** @type {LegacyRenderResult & PromiseLike<LegacyRenderResult>} */
-      {},
-      {
-        css: {
-          value: { code: "", map: null }
-        },
-        head: {
-          get: () => result.head
-        },
-        html: {
-          get: () => result.body
-        },
-        then: {
-          /**
-           * this is not type-safe, but honestly it's the best I can do right now, and it's a straightforward function.
-           *
-           * @template TResult1
-           * @template [TResult2=never]
-           * @param { (value: LegacyRenderResult) => TResult1 } onfulfilled
-           * @param { (reason: unknown) => TResult2 } onrejected
-           */
-          value: (onfulfilled, onrejected) => {
-            {
-              const user_result = onfulfilled({
-                css: munged.css,
-                head: munged.head,
-                html: munged.html
-              });
-              return Promise.resolve(user_result);
-            }
-          }
-        }
-      }
-    );
-    return munged;
-  };
-  component_constructor.render = _render;
-  return component_constructor;
-}
-function Root($$renderer, $$props) {
-  $$renderer.component(($$renderer2) => {
-    let {
-      stores,
-      page,
-      constructors,
-      components = [],
-      form,
-      data_0 = null,
-      data_1 = null
-    } = $$props;
-    {
-      setContext("__svelte__", stores);
-    }
-    {
-      stores.page.set(page);
-    }
-    const Pyramid_1 = derived(() => constructors[1]);
-    if (constructors[1]) {
-      $$renderer2.push("<!--[0-->");
-      const Pyramid_0 = constructors[0];
-      if (Pyramid_0) {
-        $$renderer2.push("<!--[-->");
-        Pyramid_0($$renderer2, {
-          data: data_0,
-          form,
-          params: page.params,
-          children: ($$renderer3) => {
-            if (Pyramid_1()) {
-              $$renderer3.push("<!--[-->");
-              Pyramid_1()($$renderer3, { data: data_1, form, params: page.params });
-              $$renderer3.push("<!--]-->");
-            } else {
-              $$renderer3.push("<!--[!-->");
-              $$renderer3.push("<!--]-->");
-            }
-          },
-          $$slots: { default: true }
-        });
-        $$renderer2.push("<!--]-->");
-      } else {
-        $$renderer2.push("<!--[!-->");
-        $$renderer2.push("<!--]-->");
-      }
-    } else {
-      $$renderer2.push("<!--[-1-->");
-      const Pyramid_0 = constructors[0];
-      if (Pyramid_0) {
-        $$renderer2.push("<!--[-->");
-        Pyramid_0($$renderer2, { data: data_0, form, params: page.params });
-        $$renderer2.push("<!--]-->");
-      } else {
-        $$renderer2.push("<!--[!-->");
-        $$renderer2.push("<!--]-->");
-      }
-    }
-    $$renderer2.push(`<!--]--> `);
-    {
-      $$renderer2.push("<!--[-1-->");
-    }
-    $$renderer2.push(`<!--]-->`);
-  });
-}
-const root = asClassComponent(Root);
-export {
-  root as r,
-  safe_not_equal as s
-};

+ 0 - 989
.svelte-kit/output/server/chunks/shared.js

@@ -1,989 +0,0 @@
-import { json, text } from "@sveltejs/kit";
-import { SvelteKitError, HttpError } from "@sveltejs/kit/internal";
-import { with_request_store } from "@sveltejs/kit/internal/server";
-import * as devalue from "devalue";
-import { t as text_decoder, c as base64_decode, b as base64_encode } from "./utils.js";
-import { e as experimental_async_required, g as get_render_context, h as hydratable_serialization_failed } from "./render-context.js";
-import "clsx";
-const SVELTE_KIT_ASSETS = "/_svelte_kit_assets";
-const ENDPOINT_METHODS = ["GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", "HEAD"];
-const MUTATIVE_METHODS = ["POST", "PUT", "PATCH", "DELETE"];
-const PAGE_METHODS = ["GET", "POST", "HEAD"];
-function set_nested_value(object, path_string, value) {
-  if (path_string.startsWith("n:")) {
-    path_string = path_string.slice(2);
-    value = value === "" ? void 0 : parseFloat(value);
-  } else if (path_string.startsWith("b:")) {
-    path_string = path_string.slice(2);
-    value = value === "on";
-  }
-  deep_set(object, split_path(path_string), value);
-}
-function convert_formdata(data) {
-  const result = {};
-  for (let key of data.keys()) {
-    const is_array = key.endsWith("[]");
-    let values = data.getAll(key);
-    if (is_array) key = key.slice(0, -2);
-    if (values.length > 1 && !is_array) {
-      throw new Error(`Form cannot contain duplicated keys — "${key}" has ${values.length} values`);
-    }
-    values = values.filter(
-      (entry) => typeof entry === "string" || entry.name !== "" || entry.size > 0
-    );
-    if (key.startsWith("n:")) {
-      key = key.slice(2);
-      values = values.map((v) => v === "" ? void 0 : parseFloat(
-        /** @type {string} */
-        v
-      ));
-    } else if (key.startsWith("b:")) {
-      key = key.slice(2);
-      values = values.map((v) => v === "on");
-    }
-    set_nested_value(result, key, is_array ? values : values[0]);
-  }
-  return result;
-}
-const BINARY_FORM_CONTENT_TYPE = "application/x-sveltekit-formdata";
-const BINARY_FORM_VERSION = 0;
-const HEADER_BYTES = 1 + 4 + 2;
-async function deserialize_binary_form(request) {
-  if (request.headers.get("content-type") !== BINARY_FORM_CONTENT_TYPE) {
-    const form_data = await request.formData();
-    return { data: convert_formdata(form_data), meta: {}, form_data };
-  }
-  if (!request.body) {
-    throw deserialize_error("no body");
-  }
-  const content_length = parseInt(request.headers.get("content-length") ?? "");
-  if (Number.isNaN(content_length)) {
-    throw deserialize_error("invalid Content-Length header");
-  }
-  const reader = request.body.getReader();
-  const chunks = [];
-  function get_chunk(index) {
-    if (index in chunks) return chunks[index];
-    let i = chunks.length;
-    while (i <= index) {
-      chunks[i] = reader.read().then((chunk) => chunk.value);
-      i++;
-    }
-    return chunks[index];
-  }
-  async function get_buffer(offset, length) {
-    let start_chunk;
-    let chunk_start = 0;
-    let chunk_index;
-    for (chunk_index = 0; ; chunk_index++) {
-      const chunk = await get_chunk(chunk_index);
-      if (!chunk) return null;
-      const chunk_end = chunk_start + chunk.byteLength;
-      if (offset >= chunk_start && offset < chunk_end) {
-        start_chunk = chunk;
-        break;
-      }
-      chunk_start = chunk_end;
-    }
-    if (offset + length <= chunk_start + start_chunk.byteLength) {
-      return start_chunk.subarray(offset - chunk_start, offset + length - chunk_start);
-    }
-    const chunks2 = [start_chunk.subarray(offset - chunk_start)];
-    let cursor = start_chunk.byteLength - offset + chunk_start;
-    while (cursor < length) {
-      chunk_index++;
-      let chunk = await get_chunk(chunk_index);
-      if (!chunk) return null;
-      if (chunk.byteLength > length - cursor) {
-        chunk = chunk.subarray(0, length - cursor);
-      }
-      chunks2.push(chunk);
-      cursor += chunk.byteLength;
-    }
-    const buffer = new Uint8Array(length);
-    cursor = 0;
-    for (const chunk of chunks2) {
-      buffer.set(chunk, cursor);
-      cursor += chunk.byteLength;
-    }
-    return buffer;
-  }
-  const header = await get_buffer(0, HEADER_BYTES);
-  if (!header) throw deserialize_error("too short");
-  if (header[0] !== BINARY_FORM_VERSION) {
-    throw deserialize_error(`got version ${header[0]}, expected version ${BINARY_FORM_VERSION}`);
-  }
-  const header_view = new DataView(header.buffer, header.byteOffset, header.byteLength);
-  const data_length = header_view.getUint32(1, true);
-  if (HEADER_BYTES + data_length > content_length) {
-    throw deserialize_error("data overflow");
-  }
-  const file_offsets_length = header_view.getUint16(5, true);
-  if (HEADER_BYTES + data_length + file_offsets_length > content_length) {
-    throw deserialize_error("file offset table overflow");
-  }
-  const data_buffer = await get_buffer(HEADER_BYTES, data_length);
-  if (!data_buffer) throw deserialize_error("data too short");
-  let file_offsets;
-  let files_start_offset;
-  if (file_offsets_length > 0) {
-    const file_offsets_buffer = await get_buffer(HEADER_BYTES + data_length, file_offsets_length);
-    if (!file_offsets_buffer) throw deserialize_error("file offset table too short");
-    const parsed_offsets = JSON.parse(text_decoder.decode(file_offsets_buffer));
-    if (!Array.isArray(parsed_offsets) || parsed_offsets.some((n) => typeof n !== "number" || !Number.isInteger(n) || n < 0)) {
-      throw deserialize_error("invalid file offset table");
-    }
-    file_offsets = /** @type {Array<number>} */
-    parsed_offsets;
-    files_start_offset = HEADER_BYTES + data_length + file_offsets_length;
-  }
-  const file_spans = [];
-  const [data, meta] = devalue.parse(text_decoder.decode(data_buffer), {
-    File: ([name, type, size, last_modified, index]) => {
-      if (typeof name !== "string" || typeof type !== "string" || typeof size !== "number" || typeof last_modified !== "number" || typeof index !== "number") {
-        throw deserialize_error("invalid file metadata");
-      }
-      let offset = file_offsets[index];
-      if (offset === void 0) {
-        throw deserialize_error("duplicate file offset table index");
-      }
-      file_offsets[index] = void 0;
-      offset += files_start_offset;
-      if (offset + size > content_length) {
-        throw deserialize_error("file data overflow");
-      }
-      file_spans.push({ offset, size });
-      return new Proxy(new LazyFile(name, type, size, last_modified, get_chunk, offset), {
-        getPrototypeOf() {
-          return File.prototype;
-        }
-      });
-    }
-  });
-  file_spans.sort((a, b) => a.offset - b.offset || a.size - b.size);
-  for (let i = 1; i < file_spans.length; i++) {
-    const previous = file_spans[i - 1];
-    const current = file_spans[i];
-    const previous_end = previous.offset + previous.size;
-    if (previous_end < current.offset) {
-      throw deserialize_error("gaps in file data");
-    }
-    if (previous_end > current.offset) {
-      throw deserialize_error("overlapping file data");
-    }
-  }
-  void (async () => {
-    let has_more = true;
-    while (has_more) {
-      const chunk = await get_chunk(chunks.length);
-      has_more = !!chunk;
-    }
-  })();
-  return { data, meta, form_data: null };
-}
-function deserialize_error(message) {
-  return new SvelteKitError(400, "Bad Request", `Could not deserialize binary form: ${message}`);
-}
-class LazyFile {
-  /** @type {(index: number) => Promise<Uint8Array<ArrayBuffer> | undefined>} */
-  #get_chunk;
-  /** @type {number} */
-  #offset;
-  /**
-   * @param {string} name
-   * @param {string} type
-   * @param {number} size
-   * @param {number} last_modified
-   * @param {(index: number) => Promise<Uint8Array<ArrayBuffer> | undefined>} get_chunk
-   * @param {number} offset
-   */
-  constructor(name, type, size, last_modified, get_chunk, offset) {
-    this.name = name;
-    this.type = type;
-    this.size = size;
-    this.lastModified = last_modified;
-    this.webkitRelativePath = "";
-    this.#get_chunk = get_chunk;
-    this.#offset = offset;
-    this.arrayBuffer = this.arrayBuffer.bind(this);
-    this.bytes = this.bytes.bind(this);
-    this.slice = this.slice.bind(this);
-    this.stream = this.stream.bind(this);
-    this.text = this.text.bind(this);
-  }
-  /** @type {ArrayBuffer | undefined} */
-  #buffer;
-  async arrayBuffer() {
-    this.#buffer ??= await new Response(this.stream()).arrayBuffer();
-    return this.#buffer;
-  }
-  async bytes() {
-    return new Uint8Array(await this.arrayBuffer());
-  }
-  /**
-   * @param {number=} start
-   * @param {number=} end
-   * @param {string=} contentType
-   */
-  slice(start = 0, end = this.size, contentType = this.type) {
-    if (start < 0) {
-      start = Math.max(this.size + start, 0);
-    } else {
-      start = Math.min(start, this.size);
-    }
-    if (end < 0) {
-      end = Math.max(this.size + end, 0);
-    } else {
-      end = Math.min(end, this.size);
-    }
-    const size = Math.max(end - start, 0);
-    const file = new LazyFile(
-      this.name,
-      contentType,
-      size,
-      this.lastModified,
-      this.#get_chunk,
-      this.#offset + start
-    );
-    return file;
-  }
-  stream() {
-    let cursor = 0;
-    let chunk_index = 0;
-    return new ReadableStream({
-      start: async (controller) => {
-        let chunk_start = 0;
-        let start_chunk;
-        for (chunk_index = 0; ; chunk_index++) {
-          const chunk = await this.#get_chunk(chunk_index);
-          if (!chunk) return null;
-          const chunk_end = chunk_start + chunk.byteLength;
-          if (this.#offset >= chunk_start && this.#offset < chunk_end) {
-            start_chunk = chunk;
-            break;
-          }
-          chunk_start = chunk_end;
-        }
-        if (this.#offset + this.size <= chunk_start + start_chunk.byteLength) {
-          controller.enqueue(
-            start_chunk.subarray(this.#offset - chunk_start, this.#offset + this.size - chunk_start)
-          );
-          controller.close();
-        } else {
-          controller.enqueue(start_chunk.subarray(this.#offset - chunk_start));
-          cursor = start_chunk.byteLength - this.#offset + chunk_start;
-        }
-      },
-      pull: async (controller) => {
-        chunk_index++;
-        let chunk = await this.#get_chunk(chunk_index);
-        if (!chunk) {
-          controller.error("incomplete file data");
-          controller.close();
-          return;
-        }
-        if (chunk.byteLength > this.size - cursor) {
-          chunk = chunk.subarray(0, this.size - cursor);
-        }
-        controller.enqueue(chunk);
-        cursor += chunk.byteLength;
-        if (cursor >= this.size) {
-          controller.close();
-        }
-      }
-    });
-  }
-  async text() {
-    return text_decoder.decode(await this.arrayBuffer());
-  }
-}
-const path_regex = /^[a-zA-Z_$]\w*(\.[a-zA-Z_$]\w*|\[\d+\])*$/;
-function split_path(path) {
-  if (!path_regex.test(path)) {
-    throw new Error(`Invalid path ${path}`);
-  }
-  return path.split(/\.|\[|\]/).filter(Boolean);
-}
-function check_prototype_pollution(key) {
-  if (key === "__proto__" || key === "constructor" || key === "prototype") {
-    throw new Error(
-      `Invalid key "${key}"`
-    );
-  }
-}
-function deep_set(object, keys, value) {
-  let current = object;
-  for (let i = 0; i < keys.length - 1; i += 1) {
-    const key = keys[i];
-    check_prototype_pollution(key);
-    const is_array = /^\d+$/.test(keys[i + 1]);
-    const exists = Object.hasOwn(current, key);
-    const inner = current[key];
-    if (exists && is_array !== Array.isArray(inner)) {
-      throw new Error(`Invalid array key ${keys[i + 1]}`);
-    }
-    if (!exists) {
-      current[key] = is_array ? [] : {};
-    }
-    current = current[key];
-  }
-  const final_key = keys[keys.length - 1];
-  check_prototype_pollution(final_key);
-  current[final_key] = value;
-}
-function normalize_issue(issue, server = false) {
-  const normalized = { name: "", path: [], message: issue.message, server };
-  if (issue.path !== void 0) {
-    let name = "";
-    for (const segment of issue.path) {
-      const key = (
-        /** @type {string | number} */
-        typeof segment === "object" ? segment.key : segment
-      );
-      normalized.path.push(key);
-      if (typeof key === "number") {
-        name += `[${key}]`;
-      } else if (typeof key === "string") {
-        name += name === "" ? key : "." + key;
-      }
-    }
-    normalized.name = name;
-  }
-  return normalized;
-}
-function flatten_issues(issues) {
-  const result = {};
-  for (const issue of issues) {
-    (result.$ ??= []).push(issue);
-    let name = "";
-    if (issue.path !== void 0) {
-      for (const key of issue.path) {
-        if (typeof key === "number") {
-          name += `[${key}]`;
-        } else if (typeof key === "string") {
-          name += name === "" ? key : "." + key;
-        }
-        (result[name] ??= []).push(issue);
-      }
-    }
-  }
-  return result;
-}
-function deep_get(object, path) {
-  let current = object;
-  for (const key of path) {
-    if (current == null || typeof current !== "object") {
-      return current;
-    }
-    current = current[key];
-  }
-  return current;
-}
-function create_field_proxy(target, get_input, set_input, get_issues, path = []) {
-  const get_value = () => {
-    return deep_get(get_input(), path);
-  };
-  return new Proxy(target, {
-    get(target2, prop) {
-      if (typeof prop === "symbol") return target2[prop];
-      if (/^\d+$/.test(prop)) {
-        return create_field_proxy({}, get_input, set_input, get_issues, [
-          ...path,
-          parseInt(prop, 10)
-        ]);
-      }
-      const key = build_path_string(path);
-      if (prop === "set") {
-        const set_func = function(newValue) {
-          set_input(path, newValue);
-          return newValue;
-        };
-        return create_field_proxy(set_func, get_input, set_input, get_issues, [...path, prop]);
-      }
-      if (prop === "value") {
-        return create_field_proxy(get_value, get_input, set_input, get_issues, [...path, prop]);
-      }
-      if (prop === "issues" || prop === "allIssues") {
-        const issues_func = () => {
-          const all_issues = get_issues()[key === "" ? "$" : key];
-          if (prop === "allIssues") {
-            return all_issues?.map((issue) => ({
-              path: issue.path,
-              message: issue.message
-            }));
-          }
-          return all_issues?.filter((issue) => issue.name === key)?.map((issue) => ({
-            path: issue.path,
-            message: issue.message
-          }));
-        };
-        return create_field_proxy(issues_func, get_input, set_input, get_issues, [...path, prop]);
-      }
-      if (prop === "as") {
-        const as_func = (type, input_value) => {
-          const is_array = type === "file multiple" || type === "select multiple" || type === "checkbox" && typeof input_value === "string";
-          const prefix = type === "number" || type === "range" ? "n:" : type === "checkbox" && !is_array ? "b:" : "";
-          const base_props = {
-            name: prefix + key + (is_array ? "[]" : ""),
-            get "aria-invalid"() {
-              const issues = get_issues();
-              return key in issues ? "true" : void 0;
-            }
-          };
-          if (type !== "text" && type !== "select" && type !== "select multiple") {
-            base_props.type = type === "file multiple" ? "file" : type;
-          }
-          if (type === "submit" || type === "hidden") {
-            return Object.defineProperties(base_props, {
-              value: { value: input_value, enumerable: true }
-            });
-          }
-          if (type === "select" || type === "select multiple") {
-            return Object.defineProperties(base_props, {
-              multiple: { value: is_array, enumerable: true },
-              value: {
-                enumerable: true,
-                get() {
-                  return input_value !== void 0 ? input_value : get_value();
-                }
-              }
-            });
-          }
-          if (type === "checkbox" || type === "radio") {
-            return Object.defineProperties(base_props, {
-              value: { value: input_value ?? "on", enumerable: true },
-              checked: {
-                enumerable: true,
-                get() {
-                  const value = get_value();
-                  if (type === "radio") {
-                    return value === input_value;
-                  }
-                  if (is_array) {
-                    return (value ?? []).includes(input_value);
-                  }
-                  return value;
-                }
-              }
-            });
-          }
-          if (type === "file" || type === "file multiple") {
-            return Object.defineProperties(base_props, {
-              multiple: { value: is_array, enumerable: true },
-              files: {
-                enumerable: true,
-                get() {
-                  const value = get_value();
-                  if (value instanceof File) {
-                    if (typeof DataTransfer !== "undefined") {
-                      const fileList = new DataTransfer();
-                      fileList.items.add(value);
-                      return fileList.files;
-                    }
-                    return { 0: value, length: 1 };
-                  }
-                  if (Array.isArray(value) && value.every((f) => f instanceof File)) {
-                    if (typeof DataTransfer !== "undefined") {
-                      const fileList = new DataTransfer();
-                      value.forEach((file) => fileList.items.add(file));
-                      return fileList.files;
-                    }
-                    const fileListLike = { length: value.length };
-                    value.forEach((file, index) => {
-                      fileListLike[index] = file;
-                    });
-                    return fileListLike;
-                  }
-                  return null;
-                }
-              }
-            });
-          }
-          return Object.defineProperties(base_props, {
-            value: {
-              enumerable: true,
-              get() {
-                const value = input_value !== void 0 ? input_value : get_value();
-                return value != null ? String(value) : "";
-              }
-            }
-          });
-        };
-        return create_field_proxy(as_func, get_input, set_input, get_issues, [...path, "as"]);
-      }
-      return create_field_proxy({}, get_input, set_input, get_issues, [...path, prop]);
-    }
-  });
-}
-function build_path_string(path) {
-  let result = "";
-  for (const segment of path) {
-    if (typeof segment === "number") {
-      result += `[${segment}]`;
-    } else {
-      result += result === "" ? segment : "." + segment;
-    }
-  }
-  return result;
-}
-function negotiate(accept, types) {
-  const parts = [];
-  accept.split(",").forEach((str, i) => {
-    const match = /([^/ \t]+)\/([^; \t]+)[ \t]*(?:;[ \t]*q=([0-9.]+))?/.exec(str);
-    if (match) {
-      const [, type, subtype, q = "1"] = match;
-      parts.push({ type, subtype, q: +q, i });
-    }
-  });
-  parts.sort((a, b) => {
-    if (a.q !== b.q) {
-      return b.q - a.q;
-    }
-    if (a.subtype === "*" !== (b.subtype === "*")) {
-      return a.subtype === "*" ? 1 : -1;
-    }
-    if (a.type === "*" !== (b.type === "*")) {
-      return a.type === "*" ? 1 : -1;
-    }
-    return a.i - b.i;
-  });
-  let accepted;
-  let min_priority = Infinity;
-  for (const mimetype of types) {
-    const [type, subtype] = mimetype.split("/");
-    const priority = parts.findIndex(
-      (part) => (part.type === type || part.type === "*") && (part.subtype === subtype || part.subtype === "*")
-    );
-    if (priority !== -1 && priority < min_priority) {
-      accepted = mimetype;
-      min_priority = priority;
-    }
-  }
-  return accepted;
-}
-function is_content_type(request, ...types) {
-  const type = request.headers.get("content-type")?.split(";", 1)[0].trim() ?? "";
-  return types.includes(type.toLowerCase());
-}
-function is_form_content_type(request) {
-  return is_content_type(
-    request,
-    "application/x-www-form-urlencoded",
-    "multipart/form-data",
-    "text/plain",
-    BINARY_FORM_CONTENT_TYPE
-  );
-}
-function coalesce_to_error(err) {
-  return err instanceof Error || err && /** @type {any} */
-  err.name && /** @type {any} */
-  err.message ? (
-    /** @type {Error} */
-    err
-  ) : new Error(JSON.stringify(err));
-}
-function normalize_error(error) {
-  return (
-    /** @type {import('../exports/internal/index.js').Redirect | HttpError | SvelteKitError | Error} */
-    error
-  );
-}
-function get_status(error) {
-  return error instanceof HttpError || error instanceof SvelteKitError ? error.status : 500;
-}
-function get_message(error) {
-  return error instanceof SvelteKitError ? error.text : "Internal Error";
-}
-const escape_html_attr_dict = {
-  "&": "&amp;",
-  '"': "&quot;"
-  // Svelte also escapes < because the escape function could be called inside a `noscript` there
-  // https://github.com/sveltejs/svelte/security/advisories/GHSA-8266-84wp-wv5c
-  // However, that doesn't apply in SvelteKit
-};
-const escape_html_dict = {
-  "&": "&amp;",
-  "<": "&lt;"
-};
-const surrogates = (
-  // high surrogate without paired low surrogate
-  "[\\ud800-\\udbff](?![\\udc00-\\udfff])|[\\ud800-\\udbff][\\udc00-\\udfff]|[\\udc00-\\udfff]"
-);
-const escape_html_attr_regex = new RegExp(
-  `[${Object.keys(escape_html_attr_dict).join("")}]|` + surrogates,
-  "g"
-);
-const escape_html_regex = new RegExp(
-  `[${Object.keys(escape_html_dict).join("")}]|` + surrogates,
-  "g"
-);
-function escape_html(str, is_attr) {
-  const dict = is_attr ? escape_html_attr_dict : escape_html_dict;
-  const escaped_str = str.replace(is_attr ? escape_html_attr_regex : escape_html_regex, (match) => {
-    if (match.length === 2) {
-      return match;
-    }
-    return dict[match] ?? `&#${match.charCodeAt(0)};`;
-  });
-  return escaped_str;
-}
-function method_not_allowed(mod, method) {
-  return text(`${method} method not allowed`, {
-    status: 405,
-    headers: {
-      // https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/405
-      // "The server must generate an Allow header field in a 405 status code response"
-      allow: allowed_methods(mod).join(", ")
-    }
-  });
-}
-function allowed_methods(mod) {
-  const allowed = ENDPOINT_METHODS.filter((method) => method in mod);
-  if ("GET" in mod && !("HEAD" in mod)) {
-    allowed.push("HEAD");
-  }
-  return allowed;
-}
-function get_global_name(options) {
-  return `__sveltekit_${options.version_hash}`;
-}
-function static_error_page(options, status, message) {
-  let page = options.templates.error({ status, message: escape_html(message) });
-  return text(page, {
-    headers: { "content-type": "text/html; charset=utf-8" },
-    status
-  });
-}
-async function handle_fatal_error(event, state, options, error) {
-  error = error instanceof HttpError ? error : coalesce_to_error(error);
-  const status = get_status(error);
-  const body = await handle_error_and_jsonify(event, state, options, error);
-  const type = negotiate(event.request.headers.get("accept") || "text/html", [
-    "application/json",
-    "text/html"
-  ]);
-  if (event.isDataRequest || type === "application/json") {
-    return json(body, {
-      status
-    });
-  }
-  return static_error_page(options, status, body.message);
-}
-async function handle_error_and_jsonify(event, state, options, error) {
-  if (error instanceof HttpError) {
-    return { message: "Unknown Error", ...error.body };
-  }
-  const status = get_status(error);
-  const message = get_message(error);
-  return await with_request_store(
-    { event, state },
-    () => options.hooks.handleError({ error, event, status, message })
-  ) ?? { message };
-}
-function redirect_response(status, location) {
-  const response = new Response(void 0, {
-    status,
-    headers: { location }
-  });
-  return response;
-}
-function clarify_devalue_error(event, error) {
-  if (error.path) {
-    return `Data returned from \`load\` while rendering ${event.route.id} is not serializable: ${error.message} (${error.path}). If you need to serialize/deserialize custom types, use transport hooks: https://svelte.dev/docs/kit/hooks#Universal-hooks-transport.`;
-  }
-  if (error.path === "") {
-    return `Data returned from \`load\` while rendering ${event.route.id} is not a plain object`;
-  }
-  return error.message;
-}
-function serialize_uses(node) {
-  const uses = {};
-  if (node.uses && node.uses.dependencies.size > 0) {
-    uses.dependencies = Array.from(node.uses.dependencies);
-  }
-  if (node.uses && node.uses.search_params.size > 0) {
-    uses.search_params = Array.from(node.uses.search_params);
-  }
-  if (node.uses && node.uses.params.size > 0) {
-    uses.params = Array.from(node.uses.params);
-  }
-  if (node.uses?.parent) uses.parent = 1;
-  if (node.uses?.route) uses.route = 1;
-  if (node.uses?.url) uses.url = 1;
-  return uses;
-}
-function has_prerendered_path(manifest, pathname) {
-  return manifest._.prerendered_routes.has(pathname) || pathname.at(-1) === "/" && manifest._.prerendered_routes.has(pathname.slice(0, -1));
-}
-function format_server_error(status, error, event) {
-  const formatted_text = `
-\x1B[1;31m[${status}] ${event.request.method} ${event.url.pathname}\x1B[0m`;
-  if (status === 404) {
-    return formatted_text;
-  }
-  return `${formatted_text}
-${error.stack}`;
-}
-function get_node_type(node_id) {
-  const parts = node_id?.split("/");
-  const filename = parts?.at(-1);
-  if (!filename) return "unknown";
-  const dot_parts = filename.split(".");
-  return dot_parts.slice(0, -1).join(".");
-}
-function hydratable(key, fn) {
-  {
-    experimental_async_required();
-  }
-  const { hydratable: hydratable2 } = get_render_context();
-  let entry = hydratable2.lookup.get(key);
-  if (entry !== void 0) {
-    return (
-      /** @type {T} */
-      entry.value
-    );
-  }
-  const value = fn();
-  entry = encode(key, value, hydratable2.unresolved_promises);
-  hydratable2.lookup.set(key, entry);
-  return value;
-}
-function encode(key, value, unresolved) {
-  const entry = { value, serialized: "" };
-  let uid = 1;
-  entry.serialized = devalue.uneval(entry.value, (value2, uneval) => {
-    if (is_promise(value2)) {
-      const placeholder = `"${uid++}"`;
-      const p = value2.then((v) => {
-        entry.serialized = entry.serialized.replace(placeholder, `r(${uneval(v)})`);
-      }).catch(
-        (devalue_error) => hydratable_serialization_failed(
-          key,
-          serialization_stack(entry.stack, devalue_error?.stack)
-        )
-      );
-      p.catch(() => {
-      }).finally(() => unresolved?.delete(p));
-      (entry.promises ??= []).push(p);
-      return placeholder;
-    }
-  });
-  return entry;
-}
-function is_promise(value) {
-  return Object.prototype.toString.call(value) === "[object Promise]";
-}
-function serialization_stack(root_stack, uneval_stack) {
-  let out = "";
-  if (root_stack) {
-    out += root_stack + "\n";
-  }
-  if (uneval_stack) {
-    out += "Caused by:\n" + uneval_stack + "\n";
-  }
-  return out || "<missing stack trace>";
-}
-const INVALIDATED_PARAM = "x-sveltekit-invalidated";
-const TRAILING_SLASH_PARAM = "x-sveltekit-trailing-slash";
-function stringify(data, transport) {
-  const encoders = Object.fromEntries(Object.entries(transport).map(([k, v]) => [k, v.encode]));
-  return devalue.stringify(data, encoders);
-}
-const object_proto_names = /* @__PURE__ */ Object.getOwnPropertyNames(Object.prototype).sort().join("\0");
-function is_plain_object(thing) {
-  if (typeof thing !== "object" || thing === null) return false;
-  const proto = Object.getPrototypeOf(thing);
-  return proto === Object.prototype || proto === null || Object.getPrototypeOf(proto) === null || Object.getOwnPropertyNames(proto).sort().join("\0") === object_proto_names;
-}
-function to_sorted(value, clones) {
-  const clone = Object.getPrototypeOf(value) === null ? /* @__PURE__ */ Object.create(null) : {};
-  clones.set(value, clone);
-  Object.defineProperty(clone, remote_arg_marker, { value: true });
-  for (const key of Object.keys(value).sort()) {
-    const property = value[key];
-    Object.defineProperty(clone, key, {
-      value: clones.get(property) ?? property,
-      enumerable: true,
-      configurable: true,
-      writable: true
-    });
-  }
-  return clone;
-}
-const remote_object = "__skrao";
-const remote_map = "__skram";
-const remote_set = "__skras";
-const remote_regex_guard = "__skrag";
-const remote_arg_marker = Symbol(remote_object);
-function create_remote_arg_reducers(transport, sort, remote_arg_clones) {
-  const remote_fns_reducers = {
-    [remote_regex_guard]: (
-      /** @type {(value: unknown) => void} */
-      (value) => {
-        if (value instanceof RegExp) {
-          throw new Error("Regular expressions are not valid remote function arguments");
-        }
-      }
-    )
-  };
-  if (sort) {
-    remote_fns_reducers[remote_map] = (value) => {
-      if (!(value instanceof Map)) {
-        return;
-      }
-      const entries = [];
-      for (const [key, val] of value) {
-        entries.push([stringify2(key), stringify2(val)]);
-      }
-      return entries.sort(([a1, a2], [b1, b2]) => {
-        if (a1 < b1) return -1;
-        if (a1 > b1) return 1;
-        if (a2 < b2) return -1;
-        if (a2 > b2) return 1;
-        return 0;
-      });
-    };
-    remote_fns_reducers[remote_set] = (value) => {
-      if (!(value instanceof Set)) {
-        return;
-      }
-      const items = [];
-      for (const item of value) {
-        items.push(stringify2(item));
-      }
-      items.sort();
-      return items;
-    };
-    remote_fns_reducers[remote_object] = (value) => {
-      if (!is_plain_object(value)) {
-        return;
-      }
-      if (Object.hasOwn(value, remote_arg_marker)) {
-        return;
-      }
-      if (remote_arg_clones.has(value)) {
-        return remote_arg_clones.get(value);
-      }
-      return to_sorted(value, remote_arg_clones);
-    };
-  }
-  const user_reducers = Object.fromEntries(
-    Object.entries(transport).map(([k, v]) => [k, v.encode])
-  );
-  const all_reducers = { ...user_reducers, ...remote_fns_reducers };
-  const stringify2 = (value) => devalue.stringify(value, all_reducers);
-  return all_reducers;
-}
-function create_remote_arg_revivers(transport) {
-  const remote_fns_revivers = {
-    /** @type {(value: unknown) => unknown} */
-    [remote_object]: (value) => value,
-    /** @type {(value: unknown) => Map<unknown, unknown>} */
-    [remote_map]: (value) => {
-      if (!Array.isArray(value)) {
-        throw new Error("Invalid data for Map reviver");
-      }
-      const map = /* @__PURE__ */ new Map();
-      for (const item of value) {
-        if (!Array.isArray(item) || item.length !== 2 || typeof item[0] !== "string" || typeof item[1] !== "string") {
-          throw new Error("Invalid data for Map reviver");
-        }
-        const [key, val] = item;
-        map.set(parse(key), parse(val));
-      }
-      return map;
-    },
-    /** @type {(value: unknown) => Set<unknown>} */
-    [remote_set]: (value) => {
-      if (!Array.isArray(value)) {
-        throw new Error("Invalid data for Set reviver");
-      }
-      const set = /* @__PURE__ */ new Set();
-      for (const item of value) {
-        if (typeof item !== "string") {
-          throw new Error("Invalid data for Set reviver");
-        }
-        set.add(parse(item));
-      }
-      return set;
-    }
-  };
-  const user_revivers = Object.fromEntries(
-    Object.entries(transport).map(([k, v]) => [k, v.decode])
-  );
-  const all_revivers = { ...user_revivers, ...remote_fns_revivers };
-  const parse = (data) => devalue.parse(data, all_revivers);
-  return all_revivers;
-}
-function stringify_remote_arg(value, transport, sort = true) {
-  if (value === void 0) return "";
-  const json_string = devalue.stringify(
-    value,
-    create_remote_arg_reducers(transport, sort, /* @__PURE__ */ new Map())
-  );
-  const bytes = new TextEncoder().encode(json_string);
-  return base64_encode(bytes).replaceAll("=", "").replaceAll("+", "-").replaceAll("/", "_");
-}
-function parse_remote_arg(string, transport) {
-  if (!string) return void 0;
-  const json_string = text_decoder.decode(
-    // no need to add back `=` characters, atob can handle it
-    base64_decode(string.replaceAll("-", "+").replaceAll("_", "/"))
-  );
-  return devalue.parse(json_string, create_remote_arg_revivers(transport));
-}
-function create_remote_key(id, payload) {
-  return id + "/" + payload;
-}
-function split_remote_key(key) {
-  const i = key.lastIndexOf("/");
-  if (i === -1) {
-    throw new Error(`Invalid remote key: ${key}`);
-  }
-  return {
-    id: key.slice(0, i),
-    payload: key.slice(i + 1)
-  };
-}
-function unfriendly_hydratable(key, fn) {
-  if (!hydratable) {
-    throw new Error("Remote functions require Svelte 5.44.0 or later");
-  }
-  return hydratable(key, fn);
-}
-export {
-  flatten_issues as A,
-  deep_set as B,
-  ENDPOINT_METHODS as E,
-  INVALIDATED_PARAM as I,
-  MUTATIVE_METHODS as M,
-  PAGE_METHODS as P,
-  SVELTE_KIT_ASSETS as S,
-  TRAILING_SLASH_PARAM as T,
-  normalize_error as a,
-  get_global_name as b,
-  clarify_devalue_error as c,
-  get_node_type as d,
-  escape_html as e,
-  create_remote_key as f,
-  get_status as g,
-  handle_error_and_jsonify as h,
-  is_form_content_type as i,
-  static_error_page as j,
-  stringify as k,
-  deserialize_binary_form as l,
-  method_not_allowed as m,
-  negotiate as n,
-  split_remote_key as o,
-  parse_remote_arg as p,
-  has_prerendered_path as q,
-  redirect_response as r,
-  serialize_uses as s,
-  handle_fatal_error as t,
-  format_server_error as u,
-  stringify_remote_arg as v,
-  unfriendly_hydratable as w,
-  create_field_proxy as x,
-  normalize_issue as y,
-  set_nested_value as z
-};

+ 0 - 43
.svelte-kit/output/server/chunks/utils.js

@@ -1,43 +0,0 @@
-const text_encoder = new TextEncoder();
-const text_decoder = new TextDecoder();
-function get_relative_path(from, to) {
-  const from_parts = from.split(/[/\\]/);
-  const to_parts = to.split(/[/\\]/);
-  from_parts.pop();
-  while (from_parts[0] === to_parts[0]) {
-    from_parts.shift();
-    to_parts.shift();
-  }
-  let i = from_parts.length;
-  while (i--) from_parts[i] = "..";
-  return from_parts.concat(to_parts).join("/");
-}
-function base64_encode(bytes) {
-  if (globalThis.Buffer) {
-    return globalThis.Buffer.from(bytes).toString("base64");
-  }
-  let binary = "";
-  for (let i = 0; i < bytes.length; i++) {
-    binary += String.fromCharCode(bytes[i]);
-  }
-  return btoa(binary);
-}
-function base64_decode(encoded) {
-  if (globalThis.Buffer) {
-    const buffer = globalThis.Buffer.from(encoded, "base64");
-    return new Uint8Array(buffer);
-  }
-  const binary = atob(encoded);
-  const bytes = new Uint8Array(binary.length);
-  for (let i = 0; i < binary.length; i++) {
-    bytes[i] = binary.charCodeAt(i);
-  }
-  return bytes;
-}
-export {
-  text_encoder as a,
-  base64_encode as b,
-  base64_decode as c,
-  get_relative_path as g,
-  text_decoder as t
-};

+ 0 - 57
.svelte-kit/output/server/entries/fallbacks/error.svelte.js

@@ -1,57 +0,0 @@
-import { n as noop, g as getContext, e as escape_html } from "../../chunks/renderer.js";
-import "clsx";
-import { w as writable } from "../../chunks/exports.js";
-import "@sveltejs/kit/internal/server";
-import "../../chunks/root.js";
-import "@sveltejs/kit/internal";
-import "../../chunks/utils.js";
-function create_updated_store() {
-  const { set, subscribe } = writable(false);
-  {
-    return {
-      subscribe,
-      // eslint-disable-next-line @typescript-eslint/require-await
-      check: async () => false
-    };
-  }
-}
-const is_legacy = noop.toString().includes("$$") || /function \w+\(\) \{\}/.test(noop.toString());
-const placeholder_url = "a:";
-if (is_legacy) {
-  ({
-    data: {},
-    form: null,
-    error: null,
-    params: {},
-    route: { id: null },
-    state: {},
-    status: -1,
-    url: new URL(placeholder_url)
-  });
-}
-const stores = {
-  updated: /* @__PURE__ */ create_updated_store()
-};
-({
-  check: stores.updated.check
-});
-function context() {
-  return getContext("__request__");
-}
-const page$1 = {
-  get error() {
-    return context().page.error;
-  },
-  get status() {
-    return context().page.status;
-  }
-};
-const page = page$1;
-function Error$1($$renderer, $$props) {
-  $$renderer.component(($$renderer2) => {
-    $$renderer2.push(`<h1>${escape_html(page.status)}</h1> <p>${escape_html(page.error?.message)}</p>`);
-  });
-}
-export {
-  Error$1 as default
-};

+ 0 - 6
.svelte-kit/output/server/entries/pages/_layout.js

@@ -1,6 +0,0 @@
-const prerender = true;
-const ssr = false;
-export {
-  prerender,
-  ssr
-};

+ 0 - 9
.svelte-kit/output/server/entries/pages/_layout.svelte.js

@@ -1,9 +0,0 @@
-import { s as slot } from "../../chunks/renderer.js";
-function _layout($$renderer, $$props) {
-  $$renderer.push(`<!--[-->`);
-  slot($$renderer, $$props, "default", {});
-  $$renderer.push(`<!--]-->`);
-}
-export {
-  _layout as default
-};

Різницю між файлами не показано, бо вона завелика
+ 0 - 71
.svelte-kit/output/server/entries/pages/_page.svelte.js


Різницю між файлами не показано, бо вона завелика
+ 0 - 37
.svelte-kit/output/server/entries/pages/about/_page.svelte.js


+ 0 - 3864
.svelte-kit/output/server/index.js

@@ -1,3864 +0,0 @@
-import { B as BROWSER } from "./chunks/false.js";
-import { json, text, isRedirect, 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 { a as assets, b as base, c as app_dir, r as relative, o as override, d as reset } from "./chunks/environment.js";
-import { E as ENDPOINT_METHODS, P as PAGE_METHODS, n as negotiate, m as method_not_allowed, h as handle_error_and_jsonify, g as get_status, i as is_form_content_type, a as normalize_error, b as get_global_name, s as serialize_uses, c as clarify_devalue_error, d as get_node_type, e as escape_html, S as SVELTE_KIT_ASSETS, f as create_remote_key, j as static_error_page, r as redirect_response, p as parse_remote_arg, k as stringify, l as deserialize_binary_form, o as split_remote_key, q as has_prerendered_path, T as TRAILING_SLASH_PARAM, I as INVALIDATED_PARAM, t as handle_fatal_error, u 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, a as text_encoder, g as get_relative_path } from "./chunks/utils.js";
-import "clsx";
-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";
-function with_resolvers() {
-  let resolve2;
-  let reject;
-  const promise = new Promise((res, rej) => {
-    resolve2 = res;
-    reject = rej;
-  });
-  return { promise, resolve: resolve2, reject };
-}
-const NULL_BODY_STATUS = [101, 103, 204, 205, 304];
-const IN_WEBCONTAINER = !!globalThis.process?.versions?.webcontainer;
-const s = JSON.stringify;
-async function render_endpoint(event, event_state, mod, state) {
-  const method = (
-    /** @type {import('types').HttpMethod} */
-    event.request.method
-  );
-  let handler = mod[method] || mod.fallback;
-  if (method === "HEAD" && !mod.HEAD && mod.GET) {
-    handler = mod.GET;
-  }
-  if (!handler) {
-    return method_not_allowed(mod, method);
-  }
-  const prerender = mod.prerender ?? state.prerender_default;
-  if (prerender && (mod.POST || mod.PATCH || mod.PUT || mod.DELETE)) {
-    throw new Error("Cannot prerender endpoints that have mutative methods");
-  }
-  if (state.prerendering && !state.prerendering.inside_reroute && !prerender) {
-    if (state.depth > 0) {
-      throw new Error(`${event.route.id} is not prerenderable`);
-    } else {
-      return new Response(void 0, { status: 204 });
-    }
-  }
-  try {
-    const response = await with_request_store(
-      { event, state: event_state },
-      () => handler(
-        /** @type {import('@sveltejs/kit').RequestEvent<Record<string, any>>} */
-        event
-      )
-    );
-    if (!(response instanceof Response)) {
-      throw new Error(
-        `Invalid response from route ${event.url.pathname}: handler should return a Response object`
-      );
-    }
-    if (state.prerendering && (!state.prerendering.inside_reroute || prerender)) {
-      const cloned = new Response(response.clone().body, {
-        status: response.status,
-        statusText: response.statusText,
-        headers: new Headers(response.headers)
-      });
-      cloned.headers.set("x-sveltekit-prerender", String(prerender));
-      if (state.prerendering.inside_reroute && prerender) {
-        cloned.headers.set(
-          "x-sveltekit-routeid",
-          encodeURI(
-            /** @type {string} */
-            event.route.id
-          )
-        );
-        state.prerendering.dependencies.set(event.url.pathname, { response: cloned, body: null });
-      } else {
-        return cloned;
-      }
-    }
-    return response;
-  } catch (e) {
-    if (e instanceof Redirect) {
-      return new Response(void 0, {
-        status: e.status,
-        headers: { location: e.location }
-      });
-    }
-    throw e;
-  }
-}
-function is_endpoint_request(event) {
-  const { method, headers: headers2 } = event.request;
-  if (ENDPOINT_METHODS.includes(method) && !PAGE_METHODS.includes(method)) {
-    return true;
-  }
-  if (method === "POST" && headers2.get("x-sveltekit-action") === "true") return false;
-  const accept = event.request.headers.get("accept") ?? "*/*";
-  return negotiate(accept, ["*", "text/html"]) !== "text/html";
-}
-function compact(arr) {
-  return arr.filter(
-    /** @returns {val is NonNullable<T>} */
-    (val) => val != null
-  );
-}
-const DATA_SUFFIX = "/__data.json";
-const HTML_DATA_SUFFIX = ".html__data.json";
-function has_data_suffix(pathname) {
-  return pathname.endsWith(DATA_SUFFIX) || pathname.endsWith(HTML_DATA_SUFFIX);
-}
-function add_data_suffix(pathname) {
-  if (pathname.endsWith(".html")) return pathname.replace(/\.html$/, HTML_DATA_SUFFIX);
-  return pathname.replace(/\/$/, "") + DATA_SUFFIX;
-}
-function strip_data_suffix(pathname) {
-  if (pathname.endsWith(HTML_DATA_SUFFIX)) {
-    return pathname.slice(0, -HTML_DATA_SUFFIX.length) + ".html";
-  }
-  return pathname.slice(0, -DATA_SUFFIX.length);
-}
-const ROUTE_SUFFIX = "/__route.js";
-function has_resolution_suffix(pathname) {
-  return pathname.endsWith(ROUTE_SUFFIX);
-}
-function add_resolution_suffix(pathname) {
-  return pathname.replace(/\/$/, "") + ROUTE_SUFFIX;
-}
-function strip_resolution_suffix(pathname) {
-  return pathname.slice(0, -ROUTE_SUFFIX.length);
-}
-const noop_span = {
-  spanContext() {
-    return noop_span_context;
-  },
-  setAttribute() {
-    return this;
-  },
-  setAttributes() {
-    return this;
-  },
-  addEvent() {
-    return this;
-  },
-  setStatus() {
-    return this;
-  },
-  updateName() {
-    return this;
-  },
-  end() {
-    return this;
-  },
-  isRecording() {
-    return false;
-  },
-  recordException() {
-    return this;
-  },
-  addLink() {
-    return this;
-  },
-  addLinks() {
-    return this;
-  }
-};
-const noop_span_context = {
-  traceId: "",
-  spanId: "",
-  traceFlags: 0
-};
-async function record_span({ name, attributes, fn }) {
-  {
-    return fn(noop_span);
-  }
-}
-function is_action_json_request(event) {
-  const accept = negotiate(event.request.headers.get("accept") ?? "*/*", [
-    "application/json",
-    "text/html"
-  ]);
-  return accept === "application/json" && event.request.method === "POST";
-}
-async function handle_action_json_request(event, event_state, options2, server) {
-  const actions = server?.actions;
-  if (!actions) {
-    const no_actions_error = new SvelteKitError(
-      405,
-      "Method Not Allowed",
-      `POST method not allowed. No form actions exist for ${"this page"}`
-    );
-    return action_json(
-      {
-        type: "error",
-        error: await handle_error_and_jsonify(event, event_state, options2, no_actions_error)
-      },
-      {
-        status: no_actions_error.status,
-        headers: {
-          // https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/405
-          // "The server must generate an Allow header field in a 405 status code response"
-          allow: "GET"
-        }
-      }
-    );
-  }
-  check_named_default_separate(actions);
-  try {
-    const data = await call_action(event, event_state, actions);
-    if (BROWSER) ;
-    if (data instanceof ActionFailure) {
-      return action_json({
-        type: "failure",
-        status: data.status,
-        // @ts-expect-error we assign a string to what is supposed to be an object. That's ok
-        // because we don't use the object outside, and this way we have better code navigation
-        // through knowing where the related interface is used.
-        data: stringify_action_response(
-          data.data,
-          /** @type {string} */
-          event.route.id,
-          options2.hooks.transport
-        )
-      });
-    } else {
-      return action_json({
-        type: "success",
-        status: data ? 200 : 204,
-        // @ts-expect-error see comment above
-        data: stringify_action_response(
-          data,
-          /** @type {string} */
-          event.route.id,
-          options2.hooks.transport
-        )
-      });
-    }
-  } catch (e) {
-    const err = normalize_error(e);
-    if (err instanceof Redirect) {
-      return action_json_redirect(err);
-    }
-    return action_json(
-      {
-        type: "error",
-        error: await handle_error_and_jsonify(
-          event,
-          event_state,
-          options2,
-          check_incorrect_fail_use(err)
-        )
-      },
-      {
-        status: get_status(err)
-      }
-    );
-  }
-}
-function check_incorrect_fail_use(error2) {
-  return error2 instanceof ActionFailure ? new Error('Cannot "throw fail()". Use "return fail()"') : error2;
-}
-function action_json_redirect(redirect) {
-  return action_json({
-    type: "redirect",
-    status: redirect.status,
-    location: redirect.location
-  });
-}
-function action_json(data, init2) {
-  return json(data, init2);
-}
-function is_action_request(event) {
-  return event.request.method === "POST";
-}
-async function handle_action_request(event, event_state, server) {
-  const actions = server?.actions;
-  if (!actions) {
-    event.setHeaders({
-      // https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/405
-      // "The server must generate an Allow header field in a 405 status code response"
-      allow: "GET"
-    });
-    return {
-      type: "error",
-      error: new SvelteKitError(
-        405,
-        "Method Not Allowed",
-        `POST method not allowed. No form actions exist for ${"this page"}`
-      )
-    };
-  }
-  check_named_default_separate(actions);
-  try {
-    const data = await call_action(event, event_state, actions);
-    if (BROWSER) ;
-    if (data instanceof ActionFailure) {
-      return {
-        type: "failure",
-        status: data.status,
-        data: data.data
-      };
-    } else {
-      return {
-        type: "success",
-        status: 200,
-        // @ts-expect-error this will be removed upon serialization, so `undefined` is the same as omission
-        data
-      };
-    }
-  } catch (e) {
-    const err = normalize_error(e);
-    if (err instanceof Redirect) {
-      return {
-        type: "redirect",
-        status: err.status,
-        location: err.location
-      };
-    }
-    return {
-      type: "error",
-      error: check_incorrect_fail_use(err)
-    };
-  }
-}
-function check_named_default_separate(actions) {
-  if (actions.default && Object.keys(actions).length > 1) {
-    throw new Error(
-      "When using named actions, the default action cannot be used. See the docs for more info: https://svelte.dev/docs/kit/form-actions#named-actions"
-    );
-  }
-}
-async function call_action(event, event_state, actions) {
-  const url = new URL(event.request.url);
-  let name = "default";
-  for (const param of url.searchParams) {
-    if (param[0].startsWith("/")) {
-      name = param[0].slice(1);
-      if (name === "default") {
-        throw new Error('Cannot use reserved action name "default"');
-      }
-      break;
-    }
-  }
-  const action = actions[name];
-  if (!action) {
-    throw new SvelteKitError(404, "Not Found", `No action with name '${name}' found`);
-  }
-  if (!is_form_content_type(event.request)) {
-    throw new SvelteKitError(
-      415,
-      "Unsupported Media Type",
-      `Form actions expect form-encoded data — received ${event.request.headers.get(
-        "content-type"
-      )}`
-    );
-  }
-  return record_span({
-    name: "sveltekit.form_action",
-    attributes: {
-      "http.route": event.route.id || "unknown"
-    },
-    fn: async (current2) => {
-      const traced_event = merge_tracing(event, current2);
-      const result = await with_request_store(
-        { event: traced_event, state: event_state },
-        () => action(traced_event)
-      );
-      if (result instanceof ActionFailure) {
-        current2.setAttributes({
-          "sveltekit.form_action.result.type": "failure",
-          "sveltekit.form_action.result.status": result.status
-        });
-      }
-      return result;
-    }
-  });
-}
-function validate_action_return(data) {
-  if (data instanceof Redirect) {
-    throw new Error("Cannot `return redirect(...)` — use `redirect(...)` instead");
-  }
-  if (data instanceof HttpError) {
-    throw new Error("Cannot `return error(...)` — use `error(...)` or `return fail(...)` instead");
-  }
-}
-function uneval_action_response(data, route_id, transport) {
-  const replacer = (thing) => {
-    for (const key2 in transport) {
-      const encoded = transport[key2].encode(thing);
-      if (encoded) {
-        return `app.decode('${key2}', ${devalue.uneval(encoded, replacer)})`;
-      }
-    }
-  };
-  return try_serialize(data, (value) => devalue.uneval(value, replacer), route_id);
-}
-function stringify_action_response(data, route_id, transport) {
-  const encoders = Object.fromEntries(
-    Object.entries(transport).map(([key2, value]) => [key2, value.encode])
-  );
-  return try_serialize(data, (value) => devalue.stringify(value, encoders), route_id);
-}
-function try_serialize(data, fn, route_id) {
-  try {
-    return fn(data);
-  } catch (e) {
-    const error2 = (
-      /** @type {any} */
-      e
-    );
-    if (data instanceof Response) {
-      throw new Error(
-        `Data returned from action inside ${route_id} is not serializable. Form actions need to return plain objects or fail(). E.g. return { success: true } or return fail(400, { message: "invalid" });`,
-        { cause: e }
-      );
-    }
-    if ("path" in error2) {
-      let message = `Data returned from action inside ${route_id} is not serializable: ${error2.message}`;
-      if (error2.path !== "") message += ` (data.${error2.path})`;
-      throw new Error(message, { cause: e });
-    }
-    throw error2;
-  }
-}
-function create_async_iterator() {
-  let resolved = -1;
-  let returned = -1;
-  const deferred = [];
-  return {
-    iterate: (transform = (x) => x) => {
-      return {
-        [Symbol.asyncIterator]() {
-          return {
-            next: async () => {
-              const next = deferred[++returned];
-              if (!next) return { value: null, done: true };
-              const value = await next.promise;
-              return { value: transform(value), done: false };
-            }
-          };
-        }
-      };
-    },
-    add: (promise) => {
-      deferred.push(with_resolvers());
-      void promise.then((value) => {
-        deferred[++resolved].resolve(value);
-      });
-    }
-  };
-}
-function server_data_serializer(event, event_state, options2) {
-  let promise_id = 1;
-  let max_nodes = -1;
-  const iterator = create_async_iterator();
-  const global = get_global_name(options2);
-  function get_replacer(index) {
-    return function replacer(thing) {
-      if (typeof thing?.then === "function") {
-        const id = promise_id++;
-        const promise = thing.then(
-          /** @param {any} data */
-          (data) => ({ data })
-        ).catch(
-          /** @param {any} error */
-          async (error2) => ({
-            error: await handle_error_and_jsonify(event, event_state, options2, error2)
-          })
-        ).then(
-          /**
-           * @param {{data: any; error: any}} result
-           */
-          async ({ data, error: error2 }) => {
-            let str;
-            try {
-              str = devalue.uneval(error2 ? [, error2] : [data], replacer);
-            } catch {
-              error2 = await handle_error_and_jsonify(
-                event,
-                event_state,
-                options2,
-                new Error(`Failed to serialize promise while rendering ${event.route.id}`)
-              );
-              str = devalue.uneval([, error2], replacer);
-            }
-            return {
-              index,
-              str: `${global}.resolve(${id}, ${str.includes("app.decode") ? `(app) => ${str}` : `() => ${str}`})`
-            };
-          }
-        );
-        iterator.add(promise);
-        return `${global}.defer(${id})`;
-      } else {
-        for (const key2 in options2.hooks.transport) {
-          const encoded = options2.hooks.transport[key2].encode(thing);
-          if (encoded) {
-            return `app.decode('${key2}', ${devalue.uneval(encoded, replacer)})`;
-          }
-        }
-      }
-    };
-  }
-  const strings = (
-    /** @type {string[]} */
-    []
-  );
-  return {
-    set_max_nodes(i) {
-      max_nodes = i;
-    },
-    add_node(i, node) {
-      try {
-        if (!node) {
-          strings[i] = "null";
-          return;
-        }
-        const payload = { type: "data", data: node.data, uses: serialize_uses(node) };
-        if (node.slash) payload.slash = node.slash;
-        strings[i] = devalue.uneval(payload, get_replacer(i));
-      } catch (e) {
-        e.path = e.path.slice(1);
-        throw new Error(clarify_devalue_error(
-          event,
-          /** @type {any} */
-          e
-        ), { cause: e });
-      }
-    },
-    get_data(csp) {
-      const open = `<script${csp.script_needs_nonce ? ` nonce="${csp.nonce}"` : ""}>`;
-      const close = `<\/script>
-`;
-      return {
-        data: `[${compact(max_nodes > -1 ? strings.slice(0, max_nodes) : strings).join(",")}]`,
-        chunks: promise_id > 1 ? iterator.iterate(({ index, str }) => {
-          if (max_nodes > -1 && index >= max_nodes) {
-            return "";
-          }
-          return open + str + close;
-        }) : null
-      };
-    }
-  };
-}
-function server_data_serializer_json(event, event_state, options2) {
-  let promise_id = 1;
-  const iterator = create_async_iterator();
-  const reducers = {
-    ...Object.fromEntries(
-      Object.entries(options2.hooks.transport).map(([key2, value]) => [key2, value.encode])
-    ),
-    /** @param {any} thing */
-    Promise: (thing) => {
-      if (typeof thing?.then !== "function") {
-        return;
-      }
-      const id = promise_id++;
-      let key2 = "data";
-      const promise = thing.catch(
-        /** @param {any} e */
-        async (e) => {
-          key2 = "error";
-          return handle_error_and_jsonify(
-            event,
-            event_state,
-            options2,
-            /** @type {any} */
-            e
-          );
-        }
-      ).then(
-        /** @param {any} value */
-        async (value) => {
-          let str;
-          try {
-            str = devalue.stringify(value, reducers);
-          } catch {
-            const error2 = await handle_error_and_jsonify(
-              event,
-              event_state,
-              options2,
-              new Error(`Failed to serialize promise while rendering ${event.route.id}`)
-            );
-            key2 = "error";
-            str = devalue.stringify(error2, reducers);
-          }
-          return `{"type":"chunk","id":${id},"${key2}":${str}}
-`;
-        }
-      );
-      iterator.add(promise);
-      return id;
-    }
-  };
-  const strings = (
-    /** @type {string[]} */
-    []
-  );
-  return {
-    add_node(i, node) {
-      try {
-        if (!node) {
-          strings[i] = "null";
-          return;
-        }
-        if (node.type === "error" || node.type === "skip") {
-          strings[i] = JSON.stringify(node);
-          return;
-        }
-        strings[i] = `{"type":"data","data":${devalue.stringify(node.data, reducers)},"uses":${JSON.stringify(
-          serialize_uses(node)
-        )}${node.slash ? `,"slash":${JSON.stringify(node.slash)}` : ""}}`;
-      } catch (e) {
-        e.path = "data" + e.path;
-        throw new Error(clarify_devalue_error(
-          event,
-          /** @type {any} */
-          e
-        ), { cause: e });
-      }
-    },
-    get_data() {
-      return {
-        data: `{"type":"data","nodes":[${strings.join(",")}]}
-`,
-        chunks: promise_id > 1 ? iterator.iterate() : null
-      };
-    }
-  };
-}
-async function load_server_data({ event, event_state, state, node, parent }) {
-  if (!node?.server) return null;
-  let is_tracking = true;
-  const uses = {
-    dependencies: /* @__PURE__ */ new Set(),
-    params: /* @__PURE__ */ new Set(),
-    parent: false,
-    route: false,
-    url: false,
-    search_params: /* @__PURE__ */ new Set()
-  };
-  const load = node.server.load;
-  const slash = node.server.trailingSlash;
-  if (!load) {
-    return { type: "data", data: null, uses, slash };
-  }
-  const url = make_trackable(
-    event.url,
-    () => {
-      if (is_tracking) {
-        uses.url = true;
-      }
-    },
-    (param) => {
-      if (is_tracking) {
-        uses.search_params.add(param);
-      }
-    }
-  );
-  if (state.prerendering) {
-    disable_search(url);
-  }
-  const result = await record_span({
-    name: "sveltekit.load",
-    attributes: {
-      "sveltekit.load.node_id": node.server_id || "unknown",
-      "sveltekit.load.node_type": get_node_type(node.server_id),
-      "http.route": event.route.id || "unknown"
-    },
-    fn: async (current2) => {
-      const traced_event = merge_tracing(event, current2);
-      const result2 = await with_request_store(
-        { event: traced_event, state: event_state },
-        () => load.call(null, {
-          ...traced_event,
-          fetch: (info, init2) => {
-            new URL(info instanceof Request ? info.url : info, event.url);
-            return event.fetch(info, init2);
-          },
-          /** @param {string[]} deps */
-          depends: (...deps) => {
-            for (const dep of deps) {
-              const { href } = new URL(dep, event.url);
-              uses.dependencies.add(href);
-            }
-          },
-          params: new Proxy(event.params, {
-            get: (target, key2) => {
-              if (is_tracking) {
-                uses.params.add(key2);
-              }
-              return target[
-                /** @type {string} */
-                key2
-              ];
-            }
-          }),
-          parent: async () => {
-            if (is_tracking) {
-              uses.parent = true;
-            }
-            return parent();
-          },
-          route: new Proxy(event.route, {
-            get: (target, key2) => {
-              if (is_tracking) {
-                uses.route = true;
-              }
-              return target[
-                /** @type {'id'} */
-                key2
-              ];
-            }
-          }),
-          url,
-          untrack(fn) {
-            is_tracking = false;
-            try {
-              return fn();
-            } finally {
-              is_tracking = true;
-            }
-          }
-        })
-      );
-      return result2;
-    }
-  });
-  return {
-    type: "data",
-    data: result ?? null,
-    uses,
-    slash
-  };
-}
-async function load_data({
-  event,
-  event_state,
-  fetched,
-  node,
-  parent,
-  server_data_promise,
-  state,
-  resolve_opts,
-  csr
-}) {
-  const server_data_node = await server_data_promise;
-  const load = node?.universal?.load;
-  if (!load) {
-    return server_data_node?.data ?? null;
-  }
-  const result = await record_span({
-    name: "sveltekit.load",
-    attributes: {
-      "sveltekit.load.node_id": node.universal_id || "unknown",
-      "sveltekit.load.node_type": get_node_type(node.universal_id),
-      "http.route": event.route.id || "unknown"
-    },
-    fn: async (current2) => {
-      const traced_event = merge_tracing(event, current2);
-      const child_state = { ...event_state, is_in_universal_load: true };
-      return await with_request_store(
-        { event: traced_event, state: child_state },
-        () => load.call(null, {
-          url: event.url,
-          params: event.params,
-          data: server_data_node?.data ?? null,
-          route: event.route,
-          fetch: create_universal_fetch(event, state, fetched, csr, resolve_opts),
-          setHeaders: event.setHeaders,
-          depends: () => {
-          },
-          parent,
-          untrack: (fn) => fn(),
-          tracing: traced_event.tracing
-        })
-      );
-    }
-  });
-  return result ?? null;
-}
-function create_universal_fetch(event, state, fetched, csr, resolve_opts) {
-  const universal_fetch = async (input, init2) => {
-    const cloned_body = input instanceof Request && input.body ? input.clone().body : null;
-    const cloned_headers = input instanceof Request && [...input.headers].length ? new Headers(input.headers) : init2?.headers;
-    let response = await event.fetch(input, init2);
-    const url = new URL(input instanceof Request ? input.url : input, event.url);
-    const same_origin = url.origin === event.url.origin;
-    let dependency;
-    if (same_origin) {
-      if (state.prerendering) {
-        dependency = { response, body: null };
-        state.prerendering.dependencies.set(url.pathname, dependency);
-      }
-    } else if (url.protocol === "https:" || url.protocol === "http:") {
-      const mode = input instanceof Request ? input.mode : init2?.mode ?? "cors";
-      if (mode === "no-cors") {
-        response = new Response("", {
-          status: response.status,
-          statusText: response.statusText,
-          headers: response.headers
-        });
-      } else {
-        const acao = response.headers.get("access-control-allow-origin");
-        if (!acao || acao !== event.url.origin && acao !== "*") {
-          throw new Error(
-            `CORS error: ${acao ? "Incorrect" : "No"} 'Access-Control-Allow-Origin' header is present on the requested resource`
-          );
-        }
-      }
-    }
-    let teed_body;
-    const proxy = new Proxy(response, {
-      get(response2, key2, receiver) {
-        async function push_fetched(body2, is_b64) {
-          const status_number = Number(response2.status);
-          if (isNaN(status_number)) {
-            throw new Error(
-              `response.status is not a number. value: "${response2.status}" type: ${typeof response2.status}`
-            );
-          }
-          fetched.push({
-            url: same_origin ? url.href.slice(event.url.origin.length) : url.href,
-            method: event.request.method,
-            request_body: (
-              /** @type {string | ArrayBufferView | undefined} */
-              input instanceof Request && cloned_body ? await stream_to_string(cloned_body) : init2?.body
-            ),
-            request_headers: cloned_headers,
-            response_body: body2,
-            response: response2,
-            is_b64
-          });
-        }
-        if (key2 === "body") {
-          if (response2.body === null) {
-            return null;
-          }
-          if (teed_body) {
-            return teed_body;
-          }
-          const [a, b] = response2.body.tee();
-          void (async () => {
-            let result = new Uint8Array();
-            for await (const chunk of a) {
-              const combined = new Uint8Array(result.length + chunk.length);
-              combined.set(result, 0);
-              combined.set(chunk, result.length);
-              result = combined;
-            }
-            if (dependency) {
-              dependency.body = new Uint8Array(result);
-            }
-            void push_fetched(base64_encode(result), true);
-          })();
-          return teed_body = b;
-        }
-        if (key2 === "arrayBuffer") {
-          return async () => {
-            const buffer = await response2.arrayBuffer();
-            const bytes = new Uint8Array(buffer);
-            if (dependency) {
-              dependency.body = bytes;
-            }
-            if (buffer instanceof ArrayBuffer) {
-              await push_fetched(base64_encode(bytes), true);
-            }
-            return buffer;
-          };
-        }
-        async function text2() {
-          const body2 = await response2.text();
-          if (body2 === "" && NULL_BODY_STATUS.includes(response2.status)) {
-            await push_fetched(void 0, false);
-            return void 0;
-          }
-          if (!body2 || typeof body2 === "string") {
-            await push_fetched(body2, false);
-          }
-          if (dependency) {
-            dependency.body = body2;
-          }
-          return body2;
-        }
-        if (key2 === "text") {
-          return text2;
-        }
-        if (key2 === "json") {
-          return async () => {
-            const body2 = await text2();
-            return body2 ? JSON.parse(body2) : void 0;
-          };
-        }
-        const value = Reflect.get(response2, key2, response2);
-        if (value instanceof Function) {
-          return Object.defineProperties(
-            /**
-             * @this {any}
-             */
-            function() {
-              return Reflect.apply(value, this === receiver ? response2 : this, arguments);
-            },
-            {
-              name: { value: value.name },
-              length: { value: value.length }
-            }
-          );
-        }
-        return value;
-      }
-    });
-    if (csr) {
-      const get = response.headers.get;
-      response.headers.get = (key2) => {
-        const lower = key2.toLowerCase();
-        const value = get.call(response.headers, lower);
-        if (value && !lower.startsWith("x-sveltekit-")) {
-          const included = resolve_opts.filterSerializedResponseHeaders(lower, value);
-          if (!included) {
-            throw new Error(
-              `Failed to get response header "${lower}" — it must be included by the \`filterSerializedResponseHeaders\` option: https://svelte.dev/docs/kit/hooks#Server-hooks-handle (at ${event.route.id})`
-            );
-          }
-        }
-        return value;
-      };
-    }
-    return proxy;
-  };
-  return (input, init2) => {
-    const response = universal_fetch(input, init2);
-    response.catch(() => {
-    });
-    return response;
-  };
-}
-async function stream_to_string(stream) {
-  let result = "";
-  const reader = stream.getReader();
-  while (true) {
-    const { done, value } = await reader.read();
-    if (done) {
-      break;
-    }
-    result += text_decoder.decode(value);
-  }
-  return result;
-}
-function hash(...values) {
-  let hash2 = 5381;
-  for (const value of values) {
-    if (typeof value === "string") {
-      let i = value.length;
-      while (i) hash2 = hash2 * 33 ^ value.charCodeAt(--i);
-    } else if (ArrayBuffer.isView(value)) {
-      const buffer = new Uint8Array(value.buffer, value.byteOffset, value.byteLength);
-      let i = buffer.length;
-      while (i) hash2 = hash2 * 33 ^ buffer[--i];
-    } else {
-      throw new TypeError("value must be a string or TypedArray");
-    }
-  }
-  return (hash2 >>> 0).toString(36);
-}
-const replacements = {
-  "<": "\\u003C",
-  "\u2028": "\\u2028",
-  "\u2029": "\\u2029"
-};
-const pattern = new RegExp(`[${Object.keys(replacements).join("")}]`, "g");
-function serialize_data(fetched, filter, prerendering = false) {
-  const headers2 = {};
-  let cache_control = null;
-  let age = null;
-  let varyAny = false;
-  for (const [key2, value] of fetched.response.headers) {
-    if (filter(key2, value)) {
-      headers2[key2] = value;
-    }
-    if (key2 === "cache-control") cache_control = value;
-    else if (key2 === "age") age = value;
-    else if (key2 === "vary" && value.trim() === "*") varyAny = true;
-  }
-  const payload = {
-    status: fetched.response.status,
-    statusText: fetched.response.statusText,
-    headers: headers2,
-    body: fetched.response_body
-  };
-  const safe_payload = JSON.stringify(payload).replace(pattern, (match) => replacements[match]);
-  const attrs = [
-    'type="application/json"',
-    "data-sveltekit-fetched",
-    `data-url="${escape_html(fetched.url, true)}"`
-  ];
-  if (fetched.is_b64) {
-    attrs.push("data-b64");
-  }
-  if (fetched.request_headers || fetched.request_body) {
-    const values = [];
-    if (fetched.request_headers) {
-      values.push([...new Headers(fetched.request_headers)].join(","));
-    }
-    if (fetched.request_body) {
-      values.push(fetched.request_body);
-    }
-    attrs.push(`data-hash="${hash(...values)}"`);
-  }
-  if (!prerendering && fetched.method === "GET" && cache_control && !varyAny) {
-    const match = /s-maxage=(\d+)/g.exec(cache_control) ?? /max-age=(\d+)/g.exec(cache_control);
-    if (match) {
-      const ttl = +match[1] - +(age ?? "0");
-      attrs.push(`data-ttl="${ttl}"`);
-    }
-  }
-  return `<script ${attrs.join(" ")}>${safe_payload}<\/script>`;
-}
-function sha256(data) {
-  if (!key[0]) precompute();
-  const out = init.slice(0);
-  const array2 = encode(data);
-  for (let i = 0; i < array2.length; i += 16) {
-    const w = array2.subarray(i, i + 16);
-    let tmp;
-    let a;
-    let b;
-    let out0 = out[0];
-    let out1 = out[1];
-    let out2 = out[2];
-    let out3 = out[3];
-    let out4 = out[4];
-    let out5 = out[5];
-    let out6 = out[6];
-    let out7 = out[7];
-    for (let i2 = 0; i2 < 64; i2++) {
-      if (i2 < 16) {
-        tmp = w[i2];
-      } else {
-        a = w[i2 + 1 & 15];
-        b = w[i2 + 14 & 15];
-        tmp = w[i2 & 15] = (a >>> 7 ^ a >>> 18 ^ a >>> 3 ^ a << 25 ^ a << 14) + (b >>> 17 ^ b >>> 19 ^ b >>> 10 ^ b << 15 ^ b << 13) + w[i2 & 15] + w[i2 + 9 & 15] | 0;
-      }
-      tmp = tmp + out7 + (out4 >>> 6 ^ out4 >>> 11 ^ out4 >>> 25 ^ out4 << 26 ^ out4 << 21 ^ out4 << 7) + (out6 ^ out4 & (out5 ^ out6)) + key[i2];
-      out7 = out6;
-      out6 = out5;
-      out5 = out4;
-      out4 = out3 + tmp | 0;
-      out3 = out2;
-      out2 = out1;
-      out1 = out0;
-      out0 = tmp + (out1 & out2 ^ out3 & (out1 ^ out2)) + (out1 >>> 2 ^ out1 >>> 13 ^ out1 >>> 22 ^ out1 << 30 ^ out1 << 19 ^ out1 << 10) | 0;
-    }
-    out[0] = out[0] + out0 | 0;
-    out[1] = out[1] + out1 | 0;
-    out[2] = out[2] + out2 | 0;
-    out[3] = out[3] + out3 | 0;
-    out[4] = out[4] + out4 | 0;
-    out[5] = out[5] + out5 | 0;
-    out[6] = out[6] + out6 | 0;
-    out[7] = out[7] + out7 | 0;
-  }
-  const bytes = new Uint8Array(out.buffer);
-  reverse_endianness(bytes);
-  return btoa(String.fromCharCode(...bytes));
-}
-const init = new Uint32Array(8);
-const key = new Uint32Array(64);
-function precompute() {
-  function frac(x) {
-    return (x - Math.floor(x)) * 4294967296;
-  }
-  let prime = 2;
-  for (let i = 0; i < 64; prime++) {
-    let is_prime = true;
-    for (let factor = 2; factor * factor <= prime; factor++) {
-      if (prime % factor === 0) {
-        is_prime = false;
-        break;
-      }
-    }
-    if (is_prime) {
-      if (i < 8) {
-        init[i] = frac(prime ** (1 / 2));
-      }
-      key[i] = frac(prime ** (1 / 3));
-      i++;
-    }
-  }
-}
-function reverse_endianness(bytes) {
-  for (let i = 0; i < bytes.length; i += 4) {
-    const a = bytes[i + 0];
-    const b = bytes[i + 1];
-    const c = bytes[i + 2];
-    const d = bytes[i + 3];
-    bytes[i + 0] = d;
-    bytes[i + 1] = c;
-    bytes[i + 2] = b;
-    bytes[i + 3] = a;
-  }
-}
-function encode(str) {
-  const encoded = text_encoder.encode(str);
-  const length = encoded.length * 8;
-  const size = 512 * Math.ceil((length + 65) / 512);
-  const bytes = new Uint8Array(size / 8);
-  bytes.set(encoded);
-  bytes[encoded.length] = 128;
-  reverse_endianness(bytes);
-  const words = new Uint32Array(bytes.buffer);
-  words[words.length - 2] = Math.floor(length / 4294967296);
-  words[words.length - 1] = length;
-  return words;
-}
-const array = new Uint8Array(16);
-function generate_nonce() {
-  crypto.getRandomValues(array);
-  return btoa(String.fromCharCode(...array));
-}
-const quoted = /* @__PURE__ */ new Set([
-  "self",
-  "unsafe-eval",
-  "unsafe-hashes",
-  "unsafe-inline",
-  "none",
-  "strict-dynamic",
-  "report-sample",
-  "wasm-unsafe-eval",
-  "script"
-]);
-const crypto_pattern = /^(nonce|sha\d\d\d)-/;
-class BaseProvider {
-  /** @type {boolean} */
-  #use_hashes;
-  /** @type {boolean} */
-  #script_needs_csp;
-  /** @type {boolean} */
-  #script_src_needs_csp;
-  /** @type {boolean} */
-  #script_src_elem_needs_csp;
-  /** @type {boolean} */
-  #style_needs_csp;
-  /** @type {boolean} */
-  #style_src_needs_csp;
-  /** @type {boolean} */
-  #style_src_attr_needs_csp;
-  /** @type {boolean} */
-  #style_src_elem_needs_csp;
-  /** @type {import('types').CspDirectives} */
-  #directives;
-  /** @type {Set<import('types').Csp.Source>} */
-  #script_src;
-  /** @type {Set<import('types').Csp.Source>} */
-  #script_src_elem;
-  /** @type {Set<import('types').Csp.Source>} */
-  #style_src;
-  /** @type {Set<import('types').Csp.Source>} */
-  #style_src_attr;
-  /** @type {Set<import('types').Csp.Source>} */
-  #style_src_elem;
-  /** @type {boolean} */
-  script_needs_nonce;
-  /** @type {boolean} */
-  style_needs_nonce;
-  /** @type {boolean} */
-  script_needs_hash;
-  /** @type {string} */
-  #nonce;
-  /**
-   * @param {boolean} use_hashes
-   * @param {import('types').CspDirectives} directives
-   * @param {string} nonce
-   */
-  constructor(use_hashes, directives, nonce) {
-    this.#use_hashes = use_hashes;
-    this.#directives = directives;
-    const d = this.#directives;
-    this.#script_src = /* @__PURE__ */ new Set();
-    this.#script_src_elem = /* @__PURE__ */ new Set();
-    this.#style_src = /* @__PURE__ */ new Set();
-    this.#style_src_attr = /* @__PURE__ */ new Set();
-    this.#style_src_elem = /* @__PURE__ */ new Set();
-    const effective_script_src = d["script-src"] || d["default-src"];
-    const script_src_elem = d["script-src-elem"];
-    const effective_style_src = d["style-src"] || d["default-src"];
-    const style_src_attr = d["style-src-attr"];
-    const style_src_elem = d["style-src-elem"];
-    const style_needs_csp = (directive) => !!directive && !directive.some((value) => value === "unsafe-inline");
-    const script_needs_csp = (directive) => !!directive && (!directive.some((value) => value === "unsafe-inline") || directive.some((value) => value === "strict-dynamic"));
-    this.#script_src_needs_csp = script_needs_csp(effective_script_src);
-    this.#script_src_elem_needs_csp = script_needs_csp(script_src_elem);
-    this.#style_src_needs_csp = style_needs_csp(effective_style_src);
-    this.#style_src_attr_needs_csp = style_needs_csp(style_src_attr);
-    this.#style_src_elem_needs_csp = style_needs_csp(style_src_elem);
-    this.#script_needs_csp = this.#script_src_needs_csp || this.#script_src_elem_needs_csp;
-    this.#style_needs_csp = this.#style_src_needs_csp || this.#style_src_attr_needs_csp || this.#style_src_elem_needs_csp;
-    this.script_needs_nonce = this.#script_needs_csp && !this.#use_hashes;
-    this.style_needs_nonce = this.#style_needs_csp && !this.#use_hashes;
-    this.script_needs_hash = this.#script_needs_csp && this.#use_hashes;
-    this.#nonce = nonce;
-  }
-  /** @param {string} content */
-  add_script(content) {
-    if (!this.#script_needs_csp) return;
-    const source = this.#use_hashes ? `sha256-${sha256(content)}` : `nonce-${this.#nonce}`;
-    if (this.#script_src_needs_csp) {
-      this.#script_src.add(source);
-    }
-    if (this.#script_src_elem_needs_csp) {
-      this.#script_src_elem.add(source);
-    }
-  }
-  /** @param {`sha256-${string}`[]} hashes */
-  add_script_hashes(hashes) {
-    for (const hash2 of hashes) {
-      if (this.#script_src_needs_csp) {
-        this.#script_src.add(hash2);
-      }
-      if (this.#script_src_elem_needs_csp) {
-        this.#script_src_elem.add(hash2);
-      }
-    }
-  }
-  /** @param {string} content */
-  add_style(content) {
-    if (!this.#style_needs_csp) return;
-    const source = this.#use_hashes ? `sha256-${sha256(content)}` : `nonce-${this.#nonce}`;
-    if (this.#style_src_needs_csp) {
-      this.#style_src.add(source);
-    }
-    if (this.#style_src_attr_needs_csp) {
-      this.#style_src_attr.add(source);
-    }
-    if (this.#style_src_elem_needs_csp) {
-      const sha256_empty_comment_hash = "sha256-9OlNO0DNEeaVzHL4RZwCLsBHA8WBQ8toBp/4F5XV2nc=";
-      const d = this.#directives;
-      if (d["style-src-elem"] && !d["style-src-elem"].includes(sha256_empty_comment_hash) && !this.#style_src_elem.has(sha256_empty_comment_hash)) {
-        this.#style_src_elem.add(sha256_empty_comment_hash);
-      }
-      if (source !== sha256_empty_comment_hash) {
-        this.#style_src_elem.add(source);
-      }
-    }
-  }
-  /**
-   * @param {boolean} [is_meta]
-   */
-  get_header(is_meta = false) {
-    const header = [];
-    const directives = { ...this.#directives };
-    if (this.#style_src.size > 0) {
-      directives["style-src"] = [
-        ...directives["style-src"] || directives["default-src"] || [],
-        ...this.#style_src
-      ];
-    }
-    if (this.#style_src_attr.size > 0) {
-      directives["style-src-attr"] = [
-        ...directives["style-src-attr"] || [],
-        ...this.#style_src_attr
-      ];
-    }
-    if (this.#style_src_elem.size > 0) {
-      directives["style-src-elem"] = [
-        ...directives["style-src-elem"] || [],
-        ...this.#style_src_elem
-      ];
-    }
-    if (this.#script_src.size > 0) {
-      directives["script-src"] = [
-        ...directives["script-src"] || directives["default-src"] || [],
-        ...this.#script_src
-      ];
-    }
-    if (this.#script_src_elem.size > 0) {
-      directives["script-src-elem"] = [
-        ...directives["script-src-elem"] || [],
-        ...this.#script_src_elem
-      ];
-    }
-    for (const key2 in directives) {
-      if (is_meta && (key2 === "frame-ancestors" || key2 === "report-uri" || key2 === "sandbox")) {
-        continue;
-      }
-      const value = (
-        /** @type {string[] | true} */
-        directives[key2]
-      );
-      if (!value) continue;
-      const directive = [key2];
-      if (Array.isArray(value)) {
-        value.forEach((value2) => {
-          if (quoted.has(value2) || crypto_pattern.test(value2)) {
-            directive.push(`'${value2}'`);
-          } else {
-            directive.push(value2);
-          }
-        });
-      }
-      header.push(directive.join(" "));
-    }
-    return header.join("; ");
-  }
-}
-class CspProvider extends BaseProvider {
-  get_meta() {
-    const content = this.get_header(true);
-    if (!content) {
-      return;
-    }
-    return `<meta http-equiv="content-security-policy" content="${escape_html(content, true)}">`;
-  }
-}
-class CspReportOnlyProvider extends BaseProvider {
-  /**
-   * @param {boolean} use_hashes
-   * @param {import('types').CspDirectives} directives
-   * @param {string} nonce
-   */
-  constructor(use_hashes, directives, nonce) {
-    super(use_hashes, directives, nonce);
-    if (Object.values(directives).filter((v) => !!v).length > 0) {
-      const has_report_to = directives["report-to"]?.length ?? 0 > 0;
-      const has_report_uri = directives["report-uri"]?.length ?? 0 > 0;
-      if (!has_report_to && !has_report_uri) {
-        throw Error(
-          "`content-security-policy-report-only` must be specified with either the `report-to` or `report-uri` directives, or both"
-        );
-      }
-    }
-  }
-}
-class Csp {
-  /** @readonly */
-  nonce = generate_nonce();
-  /** @type {CspProvider} */
-  csp_provider;
-  /** @type {CspReportOnlyProvider} */
-  report_only_provider;
-  /**
-   * @param {import('./types.js').CspConfig} config
-   * @param {import('./types.js').CspOpts} opts
-   */
-  constructor({ mode, directives, reportOnly }, { prerender }) {
-    const use_hashes = mode === "hash" || mode === "auto" && prerender;
-    this.csp_provider = new CspProvider(use_hashes, directives, this.nonce);
-    this.report_only_provider = new CspReportOnlyProvider(use_hashes, reportOnly, this.nonce);
-  }
-  get script_needs_hash() {
-    return this.csp_provider.script_needs_hash || this.report_only_provider.script_needs_hash;
-  }
-  get script_needs_nonce() {
-    return this.csp_provider.script_needs_nonce || this.report_only_provider.script_needs_nonce;
-  }
-  get style_needs_nonce() {
-    return this.csp_provider.style_needs_nonce || this.report_only_provider.style_needs_nonce;
-  }
-  /** @param {string} content */
-  add_script(content) {
-    this.csp_provider.add_script(content);
-    this.report_only_provider.add_script(content);
-  }
-  /** @param {`sha256-${string}`[]} hashes */
-  add_script_hashes(hashes) {
-    this.csp_provider.add_script_hashes(hashes);
-    this.report_only_provider.add_script_hashes(hashes);
-  }
-  /** @param {string} content */
-  add_style(content) {
-    this.csp_provider.add_style(content);
-    this.report_only_provider.add_style(content);
-  }
-}
-function exec(match, params, matchers) {
-  const result = {};
-  const values = match.slice(1);
-  const values_needing_match = values.filter((value) => value !== void 0);
-  let buffered = 0;
-  for (let i = 0; i < params.length; i += 1) {
-    const param = params[i];
-    let value = values[i - buffered];
-    if (param.chained && param.rest && buffered) {
-      value = values.slice(i - buffered, i + 1).filter((s2) => s2).join("/");
-      buffered = 0;
-    }
-    if (value === void 0) {
-      if (param.rest) {
-        value = "";
-      } else {
-        continue;
-      }
-    }
-    if (!param.matcher || matchers[param.matcher](value)) {
-      result[param.name] = value;
-      const next_param = params[i + 1];
-      const next_value = values[i + 1];
-      if (next_param && !next_param.rest && next_param.optional && next_value && param.chained) {
-        buffered = 0;
-      }
-      if (!next_param && !next_value && Object.keys(result).length === values_needing_match.length) {
-        buffered = 0;
-      }
-      continue;
-    }
-    if (param.optional && param.chained) {
-      buffered++;
-      continue;
-    }
-    return;
-  }
-  if (buffered) return;
-  return result;
-}
-function find_route(path, routes, matchers) {
-  for (const route of routes) {
-    const match = route.pattern.exec(path);
-    if (!match) continue;
-    const matched = exec(match, route.params, matchers);
-    if (matched) {
-      return {
-        route,
-        params: decode_params(matched)
-      };
-    }
-  }
-  return null;
-}
-function generate_route_object(route, url, manifest) {
-  const { errors, layouts, leaf } = route;
-  const nodes = [...errors, ...layouts.map((l) => l?.[1]), leaf[1]].filter((n) => typeof n === "number").map((n) => `'${n}': () => ${create_client_import(manifest._.client.nodes?.[n], url)}`).join(",\n		");
-  return [
-    `{
-	id: ${s(route.id)}`,
-    `errors: ${s(route.errors)}`,
-    `layouts: ${s(route.layouts)}`,
-    `leaf: ${s(route.leaf)}`,
-    `nodes: {
-		${nodes}
-	}
-}`
-  ].join(",\n	");
-}
-function create_client_import(import_path, url) {
-  if (!import_path) return "Promise.resolve({})";
-  if (import_path[0] === "/") {
-    return `import('${import_path}')`;
-  }
-  if (assets !== "") {
-    return `import('${assets}/${import_path}')`;
-  }
-  let path = get_relative_path(url.pathname, `${base}/${import_path}`);
-  if (path[0] !== ".") path = `./${path}`;
-  return `import('${path}')`;
-}
-async function resolve_route(resolved_path, url, manifest) {
-  if (!manifest._.client.routes) {
-    return text("Server-side route resolution disabled", { status: 400 });
-  }
-  const matchers = await manifest._.matchers();
-  const result = find_route(resolved_path, manifest._.client.routes, matchers);
-  return create_server_routing_response(result?.route ?? null, result?.params ?? {}, url, manifest).response;
-}
-function create_server_routing_response(route, params, url, manifest) {
-  const headers2 = new Headers({
-    "content-type": "application/javascript; charset=utf-8"
-  });
-  if (route) {
-    const csr_route = generate_route_object(route, url, manifest);
-    const body2 = `${create_css_import(route, url, manifest)}
-export const route = ${csr_route}; export const params = ${JSON.stringify(params)};`;
-    return { response: text(body2, { headers: headers2 }), body: body2 };
-  } else {
-    return { response: text("", { headers: headers2 }), body: "" };
-  }
-}
-function create_css_import(route, url, manifest) {
-  const { errors, layouts, leaf } = route;
-  let css = "";
-  for (const node of [...errors, ...layouts.map((l) => l?.[1]), leaf[1]]) {
-    if (typeof node !== "number") continue;
-    const node_css = manifest._.client.css?.[node];
-    for (const css_path of node_css ?? []) {
-      css += `'${assets || base}/${css_path}',`;
-    }
-  }
-  if (!css) return "";
-  return `${create_client_import(
-    /** @type {string} */
-    manifest._.client.start,
-    url
-  )}.then(x => x.load_css([${css}]));`;
-}
-const updated = {
-  ...readable(false),
-  check: () => false
-};
-async function render_response({
-  branch,
-  fetched,
-  options: options2,
-  manifest,
-  state,
-  page_config,
-  status,
-  error: error2 = null,
-  event,
-  event_state,
-  resolve_opts,
-  action_result,
-  data_serializer,
-  error_components
-}) {
-  if (state.prerendering) {
-    if (options2.csp.mode === "nonce") {
-      throw new Error('Cannot use prerendering if config.kit.csp.mode === "nonce"');
-    }
-    if (options2.app_template_contains_nonce) {
-      throw new Error("Cannot use prerendering if page template contains %sveltekit.nonce%");
-    }
-  }
-  const { client } = manifest._;
-  const modulepreloads = new Set(client.imports);
-  const stylesheets = new Set(client.stylesheets);
-  const fonts = new Set(client.fonts);
-  const link_headers = /* @__PURE__ */ new Set();
-  const inline_styles = /* @__PURE__ */ new Map();
-  let rendered;
-  const form_value = action_result?.type === "success" || action_result?.type === "failure" ? action_result.data ?? null : null;
-  let base$1 = base;
-  let assets$1 = assets;
-  let base_expression = s(base);
-  const csp = new Csp(options2.csp, {
-    prerender: !!state.prerendering
-  });
-  {
-    if (!state.prerendering?.fallback) {
-      const segments = event.url.pathname.slice(base.length).split("/").slice(2);
-      base$1 = segments.map(() => "..").join("/") || ".";
-      base_expression = `new URL(${s(base$1)}, location).pathname.slice(0, -1)`;
-      if (!assets || assets[0] === "/" && assets !== SVELTE_KIT_ASSETS) {
-        assets$1 = base$1;
-      }
-    } else if (options2.hash_routing) {
-      base_expression = "new URL('.', location).pathname.slice(0, -1)";
-    }
-  }
-  if (page_config.ssr) {
-    const props = {
-      stores: {
-        page: writable(null),
-        navigating: writable(null),
-        updated
-      },
-      constructors: await Promise.all(
-        branch.map(({ node }) => {
-          if (!node.component) {
-            throw new Error(`Missing +page.svelte component for route ${event.route.id}`);
-          }
-          return node.component();
-        })
-      ),
-      form: form_value
-    };
-    if (error_components) {
-      if (error2) {
-        props.error = error2;
-      }
-      props.errors = error_components;
-    }
-    let data2 = {};
-    for (let i = 0; i < branch.length; i += 1) {
-      data2 = { ...data2, ...branch[i].data };
-      props[`data_${i}`] = data2;
-    }
-    props.page = {
-      error: error2,
-      params: (
-        /** @type {Record<string, any>} */
-        event.params
-      ),
-      route: event.route,
-      status,
-      url: event.url,
-      data: data2,
-      form: form_value,
-      state: {}
-    };
-    const render_opts = {
-      context: /* @__PURE__ */ new Map([
-        [
-          "__request__",
-          {
-            page: props.page
-          }
-        ]
-      ]),
-      csp: csp.script_needs_nonce ? { nonce: csp.nonce } : { hash: csp.script_needs_hash },
-      transformError: error_components ? (
-        /** @param {unknown} e */
-        async (e) => {
-          if (isRedirect(e)) {
-            throw e;
-          }
-          const transformed2 = await handle_error_and_jsonify(event, event_state, options2, e);
-          props.page.error = props.error = error2 = transformed2;
-          props.page.status = status = get_status(e);
-          return transformed2;
-        }
-      ) : void 0
-    };
-    const fetch2 = globalThis.fetch;
-    try {
-      if (BROWSER) ;
-      const state2 = { ...event_state, is_in_render: true };
-      rendered = await with_request_store({ event, state: state2 }, async () => {
-        if (relative) override({ base: base$1, assets: assets$1 });
-        const maybe_promise = options2.root.render(props, render_opts);
-        const rendered2 = options2.async && "then" in maybe_promise ? (
-          /** @type {ReturnType<typeof options.root.render> & Promise<any>} */
-          maybe_promise.then((r) => r)
-        ) : maybe_promise;
-        if (options2.async) {
-          reset();
-        }
-        const { head: head2, html: html2, css, hashes } = (
-          /** @type {ReturnType<typeof options.root.render>} */
-          options2.async ? await rendered2 : rendered2
-        );
-        if (hashes) {
-          csp.add_script_hashes(hashes.script);
-        }
-        return { head: head2, html: html2, css, hashes };
-      });
-    } finally {
-      reset();
-    }
-    for (const { node } of branch) {
-      for (const url of node.imports) modulepreloads.add(url);
-      for (const url of node.stylesheets) stylesheets.add(url);
-      for (const url of node.fonts) fonts.add(url);
-      if (node.inline_styles && !client.inline) {
-        Object.entries(await node.inline_styles()).forEach(([filename, css]) => {
-          if (typeof css === "string") {
-            inline_styles.set(filename, css);
-            return;
-          }
-          inline_styles.set(filename, css(`${assets$1}/${app_dir}/immutable/assets`, assets$1));
-        });
-      }
-    }
-  } else {
-    rendered = { head: "", html: "", css: { code: "", map: null }, hashes: { script: [] } };
-  }
-  const head = new Head(rendered.head, !!state.prerendering);
-  let body2 = rendered.html;
-  const prefixed = (path) => {
-    if (path.startsWith("/")) {
-      return base + path;
-    }
-    return `${assets$1}/${path}`;
-  };
-  const style = client.inline ? client.inline?.style : Array.from(inline_styles.values()).join("\n");
-  if (style) {
-    const attributes = [];
-    if (csp.style_needs_nonce) attributes.push(`nonce="${csp.nonce}"`);
-    csp.add_style(style);
-    head.add_style(style, attributes);
-  }
-  for (const dep of stylesheets) {
-    const path = prefixed(dep);
-    const attributes = ['rel="stylesheet"'];
-    if (inline_styles.has(dep)) {
-      attributes.push("disabled", 'media="(max-width: 0)"');
-    } else {
-      if (resolve_opts.preload({ type: "css", path })) {
-        link_headers.add(`<${encodeURI(path)}>; rel="preload"; as="style"; nopush`);
-      }
-    }
-    head.add_stylesheet(path, attributes);
-  }
-  for (const dep of fonts) {
-    const path = prefixed(dep);
-    if (resolve_opts.preload({ type: "font", path })) {
-      const ext = dep.slice(dep.lastIndexOf(".") + 1);
-      head.add_link_tag(path, ['rel="preload"', 'as="font"', `type="font/${ext}"`, "crossorigin"]);
-      link_headers.add(
-        `<${encodeURI(path)}>; rel="preload"; as="font"; type="font/${ext}"; crossorigin; nopush`
-      );
-    }
-  }
-  const global = get_global_name(options2);
-  const { data, chunks } = data_serializer.get_data(csp);
-  if (page_config.ssr && page_config.csr) {
-    body2 += `
-			${fetched.map(
-      (item) => serialize_data(item, resolve_opts.filterSerializedResponseHeaders, !!state.prerendering)
-    ).join("\n			")}`;
-  }
-  if (page_config.csr) {
-    const route = manifest._.client.routes?.find((r) => r.id === event.route.id) ?? null;
-    if (client.uses_env_dynamic_public && state.prerendering) {
-      modulepreloads.add(`${app_dir}/env.js`);
-    }
-    if (!client.inline) {
-      const included_modulepreloads = Array.from(modulepreloads, (dep) => prefixed(dep)).filter(
-        (path) => resolve_opts.preload({ type: "js", path })
-      );
-      for (const path of included_modulepreloads) {
-        link_headers.add(`<${encodeURI(path)}>; rel="modulepreload"; nopush`);
-        if (options2.preload_strategy !== "modulepreload") {
-          head.add_script_preload(path);
-        } else {
-          head.add_link_tag(path, ['rel="modulepreload"']);
-        }
-      }
-    }
-    if (manifest._.client.routes && state.prerendering && !state.prerendering.fallback) {
-      const pathname = add_resolution_suffix(event.url.pathname);
-      state.prerendering.dependencies.set(
-        pathname,
-        create_server_routing_response(route, event.params, new URL(pathname, event.url), manifest)
-      );
-    }
-    const blocks = [];
-    const load_env_eagerly = client.uses_env_dynamic_public && state.prerendering;
-    const properties = [`base: ${base_expression}`];
-    if (assets) {
-      properties.push(`assets: ${s(assets)}`);
-    }
-    if (client.uses_env_dynamic_public) {
-      properties.push(`env: ${load_env_eagerly ? "null" : s(public_env)}`);
-    }
-    if (chunks) {
-      blocks.push("const deferred = new Map();");
-      properties.push(`defer: (id) => new Promise((fulfil, reject) => {
-							deferred.set(id, { fulfil, reject });
-						})`);
-      let app_declaration = "";
-      if (Object.keys(options2.hooks.transport).length > 0) {
-        if (client.inline) {
-          app_declaration = `const app = __sveltekit_${options2.version_hash}.app.app;`;
-        } else if (client.app) {
-          app_declaration = `const app = await import(${s(prefixed(client.app))});`;
-        } else {
-          app_declaration = `const { app } = await import(${s(prefixed(client.start))});`;
-        }
-      }
-      const prelude = app_declaration ? `${app_declaration}
-							const [data, error] = fn(app);` : `const [data, error] = fn();`;
-      properties.push(`resolve: async (id, fn) => {
-							${prelude}
-
-							const try_to_resolve = () => {
-								if (!deferred.has(id)) {
-									setTimeout(try_to_resolve, 0);
-									return;
-								}
-								const { fulfil, reject } = deferred.get(id);
-								deferred.delete(id);
-								if (error) reject(error);
-								else fulfil(data);
-							}
-							try_to_resolve();
-						}`);
-    }
-    blocks.push(`${global} = {
-						${properties.join(",\n						")}
-					};`);
-    const args = ["element"];
-    blocks.push("const element = document.currentScript.parentElement;");
-    if (page_config.ssr) {
-      const serialized = { form: "null", error: "null" };
-      if (form_value) {
-        serialized.form = uneval_action_response(
-          form_value,
-          /** @type {string} */
-          event.route.id,
-          options2.hooks.transport
-        );
-      }
-      if (error2) {
-        serialized.error = devalue.uneval(error2);
-      }
-      const hydrate = [
-        `node_ids: [${branch.map(({ node }) => node.index).join(", ")}]`,
-        `data: ${data}`,
-        `form: ${serialized.form}`,
-        `error: ${serialized.error}`
-      ];
-      if (status !== 200) {
-        hydrate.push(`status: ${status}`);
-      }
-      if (manifest._.client.routes) {
-        if (route) {
-          const stringified = generate_route_object(route, event.url, manifest).replaceAll(
-            "\n",
-            "\n							"
-          );
-          hydrate.push(`params: ${devalue.uneval(event.params)}`, `server_route: ${stringified}`);
-        }
-      } else if (options2.embedded) {
-        hydrate.push(`params: ${devalue.uneval(event.params)}`, `route: ${s(event.route)}`);
-      }
-      const indent = "	".repeat(load_env_eagerly ? 7 : 6);
-      args.push(`{
-${indent}	${hydrate.join(`,
-${indent}	`)}
-${indent}}`);
-    }
-    const { remote } = event_state;
-    let serialized_query_data = "";
-    let serialized_prerender_data = "";
-    if (remote.data) {
-      const query = {};
-      const prerender = {};
-      for (const [internals, cache] of remote.data) {
-        if (!internals.id) continue;
-        for (const key2 in cache) {
-          const entry = cache[key2];
-          if (!entry.serialize) continue;
-          const remote_key = create_remote_key(internals.id, key2);
-          const store = internals.type === "prerender" ? prerender : query;
-          if (event_state.remote.refreshes?.[remote_key] !== void 0) {
-            store[remote_key] = await entry.data;
-          } else {
-            const result = await Promise.race([
-              Promise.resolve(entry.data).then(
-                (v) => (
-                  /** @type {const} */
-                  { settled: true, value: v }
-                ),
-                (e) => (
-                  /** @type {const} */
-                  { settled: true, error: e }
-                )
-              ),
-              new Promise((resolve2) => {
-                queueMicrotask(() => resolve2(
-                  /** @type {const} */
-                  { settled: false }
-                ));
-              })
-            ]);
-            if (result.settled) {
-              if ("error" in result) throw result.error;
-              store[remote_key] = result.value;
-            }
-          }
-        }
-      }
-      const replacer = (thing) => {
-        for (const key2 in options2.hooks.transport) {
-          const encoded = options2.hooks.transport[key2].encode(thing);
-          if (encoded) {
-            return `app.decode('${key2}', ${devalue.uneval(encoded, replacer)})`;
-          }
-        }
-      };
-      if (Object.keys(query).length > 0) {
-        serialized_query_data = `${global}.query = ${devalue.uneval(query, replacer)};
-
-						`;
-      }
-      if (Object.keys(prerender).length > 0) {
-        serialized_prerender_data = `${global}.prerender = ${devalue.uneval(prerender, replacer)};
-
-						`;
-      }
-    }
-    const serialized_remote_data = `${serialized_query_data}${serialized_prerender_data}`;
-    const boot = client.inline ? `${client.inline.script}
-
-					${serialized_remote_data}${global}.app.start(${args.join(", ")});` : client.app ? `Promise.all([
-						import(${s(prefixed(client.start))}),
-						import(${s(prefixed(client.app))})
-					]).then(([kit, app]) => {
-						${serialized_remote_data}kit.start(app, ${args.join(", ")});
-					});` : `import(${s(prefixed(client.start))}).then((app) => {
-						${serialized_remote_data}app.start(${args.join(", ")})
-					});`;
-    if (load_env_eagerly) {
-      blocks.push(`import(${s(`${base$1}/${app_dir}/env.js`)}).then(({ env }) => {
-						${global}.env = env;
-
-						${boot.replace(/\n/g, "\n	")}
-					});`);
-    } else {
-      blocks.push(boot);
-    }
-    if (options2.service_worker) {
-      let opts = "";
-      if (options2.service_worker_options != null) {
-        const service_worker_options = { ...options2.service_worker_options };
-        opts = `, ${s(service_worker_options)}`;
-      }
-      blocks.push(`if ('serviceWorker' in navigator) {
-						addEventListener('load', function () {
-							navigator.serviceWorker.register('${prefixed("service-worker.js")}'${opts});
-						});
-					}`);
-    }
-    const init_app = `
-				{
-					${blocks.join("\n\n					")}
-				}
-			`;
-    csp.add_script(init_app);
-    body2 += `
-			<script${csp.script_needs_nonce ? ` nonce="${csp.nonce}"` : ""}>${init_app}<\/script>
-		`;
-  }
-  const headers2 = new Headers({
-    "x-sveltekit-page": "true",
-    "content-type": "text/html"
-  });
-  if (state.prerendering) {
-    const csp_headers = csp.csp_provider.get_meta();
-    if (csp_headers) {
-      head.add_http_equiv(csp_headers);
-    }
-    if (state.prerendering.cache) {
-      head.add_http_equiv(
-        `<meta http-equiv="cache-control" content="${state.prerendering.cache}">`
-      );
-    }
-  } else {
-    const csp_header = csp.csp_provider.get_header();
-    if (csp_header) {
-      headers2.set("content-security-policy", csp_header);
-    }
-    const report_only_header = csp.report_only_provider.get_header();
-    if (report_only_header) {
-      headers2.set("content-security-policy-report-only", report_only_header);
-    }
-    if (link_headers.size) {
-      headers2.set("link", Array.from(link_headers).join(", "));
-    }
-  }
-  const html = options2.templates.app({
-    head: head.build(),
-    body: body2,
-    assets: assets$1,
-    nonce: (
-      /** @type {string} */
-      csp.nonce
-    ),
-    env: public_env
-  });
-  const transformed = await resolve_opts.transformPageChunk({
-    html,
-    done: true
-  }) || "";
-  if (!chunks) {
-    headers2.set("etag", `"${hash(transformed)}"`);
-  }
-  return !chunks ? text(transformed, {
-    status,
-    headers: headers2
-  }) : new Response(
-    new ReadableStream({
-      async start(controller) {
-        controller.enqueue(text_encoder.encode(transformed + "\n"));
-        for await (const chunk of chunks) {
-          if (chunk.length) controller.enqueue(text_encoder.encode(chunk));
-        }
-        controller.close();
-      },
-      type: "bytes"
-    }),
-    {
-      headers: headers2
-    }
-  );
-}
-class Head {
-  #rendered;
-  #prerendering;
-  /** @type {string[]} */
-  #http_equiv = [];
-  /** @type {string[]} */
-  #link_tags = [];
-  /** @type {string[]} */
-  #script_preloads = [];
-  /** @type {string[]} */
-  #style_tags = [];
-  /** @type {string[]} */
-  #stylesheet_links = [];
-  /**
-   * @param {string} rendered
-   * @param {boolean} prerendering
-   */
-  constructor(rendered, prerendering) {
-    this.#rendered = rendered;
-    this.#prerendering = prerendering;
-  }
-  build() {
-    return [
-      ...this.#http_equiv,
-      ...this.#link_tags,
-      ...this.#script_preloads,
-      this.#rendered,
-      ...this.#style_tags,
-      ...this.#stylesheet_links
-    ].join("\n		");
-  }
-  /**
-   * @param {string} style
-   * @param {string[]} attributes
-   */
-  add_style(style, attributes) {
-    this.#style_tags.push(
-      `<style${attributes.length ? " " + attributes.join(" ") : ""}>${style}</style>`
-    );
-  }
-  /**
-   * @param {string} href
-   * @param {string[]} attributes
-   */
-  add_stylesheet(href, attributes) {
-    this.#stylesheet_links.push(`<link href="${href}" ${attributes.join(" ")}>`);
-  }
-  /** @param {string} href */
-  add_script_preload(href) {
-    this.#script_preloads.push(
-      `<link rel="preload" as="script" crossorigin="anonymous" href="${href}">`
-    );
-  }
-  /**
-   * @param {string} href
-   * @param {string[]} attributes
-   */
-  add_link_tag(href, attributes) {
-    if (!this.#prerendering) return;
-    this.#link_tags.push(`<link href="${href}" ${attributes.join(" ")}>`);
-  }
-  /** @param {string} tag */
-  add_http_equiv(tag) {
-    if (!this.#prerendering) return;
-    this.#http_equiv.push(tag);
-  }
-}
-class PageNodes {
-  data;
-  /**
-   * @param {Array<import('types').SSRNode | undefined>} nodes
-   */
-  constructor(nodes) {
-    this.data = nodes;
-  }
-  layouts() {
-    return this.data.slice(0, -1);
-  }
-  page() {
-    return this.data.at(-1);
-  }
-  validate() {
-    for (const layout of this.layouts()) {
-      if (layout) {
-        validate_layout_server_exports(
-          layout.server,
-          /** @type {string} */
-          layout.server_id
-        );
-        validate_layout_exports(
-          layout.universal,
-          /** @type {string} */
-          layout.universal_id
-        );
-      }
-    }
-    const page = this.page();
-    if (page) {
-      validate_page_server_exports(
-        page.server,
-        /** @type {string} */
-        page.server_id
-      );
-      validate_page_exports(
-        page.universal,
-        /** @type {string} */
-        page.universal_id
-      );
-    }
-  }
-  /**
-   * @template {'prerender' | 'ssr' | 'csr' | 'trailingSlash'} Option
-   * @param {Option} option
-   * @returns {Value | undefined}
-   */
-  #get_option(option) {
-    return this.data.reduce(
-      (value, node) => {
-        return node?.universal?.[option] ?? node?.server?.[option] ?? value;
-      },
-      /** @type {Value | undefined} */
-      void 0
-    );
-  }
-  csr() {
-    return this.#get_option("csr") ?? true;
-  }
-  ssr() {
-    return this.#get_option("ssr") ?? true;
-  }
-  prerender() {
-    return this.#get_option("prerender") ?? false;
-  }
-  trailing_slash() {
-    return this.#get_option("trailingSlash") ?? "never";
-  }
-  get_config() {
-    let current2 = {};
-    for (const node of this.data) {
-      if (!node?.universal?.config && !node?.server?.config) continue;
-      current2 = {
-        ...current2,
-        // TODO: should we override the server config value with the universal value similar to other page options?
-        ...node?.universal?.config,
-        ...node?.server?.config
-      };
-    }
-    return Object.keys(current2).length ? current2 : void 0;
-  }
-  should_prerender_data() {
-    return this.data.some(
-      // prerender in case of trailingSlash because the client retrieves that value from the server
-      (node) => node?.server?.load || node?.server?.trailingSlash !== void 0
-    );
-  }
-}
-async function respond_with_error({
-  event,
-  event_state,
-  options: options2,
-  manifest,
-  state,
-  status,
-  error: error2,
-  resolve_opts
-}) {
-  if (event.request.headers.get("x-sveltekit-error")) {
-    return static_error_page(
-      options2,
-      status,
-      /** @type {Error} */
-      error2.message
-    );
-  }
-  const fetched = [];
-  try {
-    const branch = [];
-    const default_layout = await manifest._.nodes[0]();
-    const nodes = new PageNodes([default_layout]);
-    const ssr = nodes.ssr();
-    const csr = nodes.csr();
-    const data_serializer = server_data_serializer(event, event_state, options2);
-    if (ssr) {
-      state.error = true;
-      const server_data_promise = load_server_data({
-        event,
-        event_state,
-        state,
-        node: default_layout,
-        // eslint-disable-next-line @typescript-eslint/require-await
-        parent: async () => ({})
-      });
-      const server_data = await server_data_promise;
-      data_serializer.add_node(0, server_data);
-      const data = await load_data({
-        event,
-        event_state,
-        fetched,
-        node: default_layout,
-        // eslint-disable-next-line @typescript-eslint/require-await
-        parent: async () => ({}),
-        resolve_opts,
-        server_data_promise,
-        state,
-        csr
-      });
-      branch.push(
-        {
-          node: default_layout,
-          server_data,
-          data
-        },
-        {
-          node: await manifest._.nodes[1](),
-          // 1 is always the root error
-          data: null,
-          server_data: null
-        }
-      );
-    }
-    return await render_response({
-      options: options2,
-      manifest,
-      state,
-      page_config: {
-        ssr,
-        csr
-      },
-      status,
-      error: await handle_error_and_jsonify(event, event_state, options2, error2),
-      branch,
-      error_components: [],
-      fetched,
-      event,
-      event_state,
-      resolve_opts,
-      data_serializer
-    });
-  } catch (e) {
-    if (e instanceof Redirect) {
-      return redirect_response(e.status, e.location);
-    }
-    return static_error_page(
-      options2,
-      get_status(e),
-      (await handle_error_and_jsonify(event, event_state, options2, e)).message
-    );
-  }
-}
-async function handle_remote_call(event, state, options2, manifest, id) {
-  return record_span({
-    name: "sveltekit.remote.call",
-    attributes: {},
-    fn: (current2) => {
-      const traced_event = merge_tracing(event, current2);
-      return with_request_store(
-        { event: traced_event, state },
-        () => handle_remote_call_internal(traced_event, state, options2, manifest, id)
-      );
-    }
-  });
-}
-async function handle_remote_call_internal(event, state, options2, manifest, id) {
-  const [hash2, name, additional_args] = id.split("/");
-  const remotes = manifest._.remotes;
-  if (!remotes[hash2]) error(404);
-  const module = await remotes[hash2]();
-  const fn = module.default[name];
-  if (!fn) error(404);
-  const internals = fn.__;
-  const transport = options2.hooks.transport;
-  event.tracing.current.setAttributes({
-    "sveltekit.remote.call.type": internals.type,
-    "sveltekit.remote.call.name": internals.name
-  });
-  try {
-    if (internals.type === "query_batch") {
-      if (event.request.method !== "POST") {
-        throw new SvelteKitError(
-          405,
-          "Method Not Allowed",
-          `\`query.batch\` functions must be invoked via POST request, not ${event.request.method}`
-        );
-      }
-      const { payloads } = await event.request.json();
-      const args = await Promise.all(
-        payloads.map((payload2) => parse_remote_arg(payload2, transport))
-      );
-      const results = await with_request_store(
-        { event, state },
-        () => internals.run(args, options2)
-      );
-      return json(
-        /** @type {RemoteFunctionResponse} */
-        {
-          type: "result",
-          result: stringify(results, transport)
-        }
-      );
-    }
-    if (internals.type === "form") {
-      if (event.request.method !== "POST") {
-        throw new SvelteKitError(
-          405,
-          "Method Not Allowed",
-          `\`form\` functions must be invoked via POST request, not ${event.request.method}`
-        );
-      }
-      if (!is_form_content_type(event.request)) {
-        throw new SvelteKitError(
-          415,
-          "Unsupported Media Type",
-          `\`form\` functions expect form-encoded data — received ${event.request.headers.get(
-            "content-type"
-          )}`
-        );
-      }
-      const { data: data2, meta, form_data } = await deserialize_binary_form(event.request);
-      state.remote.requested = create_requested_map(meta.remote_refreshes);
-      if (additional_args && !("id" in data2)) {
-        data2.id = JSON.parse(decodeURIComponent(additional_args));
-      }
-      const fn2 = internals.fn;
-      const result = await with_request_store({ event, state }, () => fn2(data2, meta, form_data));
-      return json(
-        /** @type {RemoteFunctionResponse} */
-        {
-          type: "result",
-          result: stringify(result, transport),
-          refreshes: result.issues ? void 0 : await serialize_refreshes()
-        }
-      );
-    }
-    if (internals.type === "command") {
-      const { payload: payload2, refreshes } = await event.request.json();
-      state.remote.requested = create_requested_map(refreshes);
-      const arg = parse_remote_arg(payload2, transport);
-      const data2 = await with_request_store({ event, state }, () => fn(arg));
-      return json(
-        /** @type {RemoteFunctionResponse} */
-        {
-          type: "result",
-          result: stringify(data2, transport),
-          refreshes: await serialize_refreshes()
-        }
-      );
-    }
-    const payload = internals.type === "prerender" ? additional_args : (
-      /** @type {string} */
-      // new URL(...) necessary because we're hiding the URL from the user in the event object
-      new URL(event.request.url).searchParams.get("payload")
-    );
-    const data = await with_request_store(
-      { event, state },
-      () => fn(parse_remote_arg(payload, transport))
-    );
-    return json(
-      /** @type {RemoteFunctionResponse} */
-      {
-        type: "result",
-        result: stringify(data, transport)
-      }
-    );
-  } catch (error2) {
-    if (error2 instanceof Redirect) {
-      return json(
-        /** @type {RemoteFunctionResponse} */
-        {
-          type: "redirect",
-          location: error2.location,
-          refreshes: await serialize_refreshes()
-        }
-      );
-    }
-    const status = error2 instanceof HttpError || error2 instanceof SvelteKitError ? error2.status : 500;
-    return json(
-      /** @type {RemoteFunctionResponse} */
-      {
-        type: "error",
-        error: await handle_error_and_jsonify(event, state, options2, error2),
-        status
-      },
-      {
-        // By setting a non-200 during prerendering we fail the prerender process (unless handleHttpError handles it).
-        // Errors at runtime will be passed to the client and are handled there
-        status: state.prerendering ? status : void 0,
-        headers: {
-          "cache-control": "private, no-store"
-        }
-      }
-    );
-  }
-  async function serialize_refreshes() {
-    const refreshes = state.remote.refreshes ?? {};
-    const entries = Object.entries(refreshes);
-    if (entries.length === 0) {
-      return void 0;
-    }
-    const results = await Promise.all(
-      entries.map(async ([key2, promise]) => {
-        try {
-          return [key2, { type: "result", data: await promise }];
-        } catch (error2) {
-          const status = error2 instanceof HttpError || error2 instanceof SvelteKitError ? error2.status : 500;
-          return [
-            key2,
-            {
-              type: "error",
-              status,
-              error: await handle_error_and_jsonify(event, state, options2, error2)
-            }
-          ];
-        }
-      })
-    );
-    return stringify(Object.fromEntries(results), transport);
-  }
-}
-function create_requested_map(refreshes) {
-  const requested = /* @__PURE__ */ new Map();
-  for (const key2 of refreshes ?? []) {
-    const parts = split_remote_key(key2);
-    const existing = requested.get(parts.id);
-    if (existing) {
-      existing.push(parts.payload);
-    } else {
-      requested.set(parts.id, [parts.payload]);
-    }
-  }
-  return requested;
-}
-async function handle_remote_form_post(event, state, manifest, id) {
-  return record_span({
-    name: "sveltekit.remote.form.post",
-    attributes: {},
-    fn: (current2) => {
-      const traced_event = merge_tracing(event, current2);
-      return with_request_store(
-        { event: traced_event, state },
-        () => handle_remote_form_post_internal(traced_event, state, manifest, id)
-      );
-    }
-  });
-}
-async function handle_remote_form_post_internal(event, state, manifest, id) {
-  const [hash2, name, action_id] = id.split("/");
-  const remotes = manifest._.remotes;
-  const module = await remotes[hash2]?.();
-  let form = (
-    /** @type {RemoteForm<any, any>} */
-    module?.default[name]
-  );
-  if (!form) {
-    event.setHeaders({
-      // https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/405
-      // "The server must generate an Allow header field in a 405 status code response"
-      allow: "GET"
-    });
-    return {
-      type: "error",
-      error: new SvelteKitError(
-        405,
-        "Method Not Allowed",
-        `POST method not allowed. No form actions exist for ${"this page"}`
-      )
-    };
-  }
-  if (action_id) {
-    form = with_request_store({ event, state }, () => form.for(JSON.parse(action_id)));
-  }
-  try {
-    const fn = (
-      /** @type {RemoteFormInternals} */
-      /** @type {any} */
-      form.__.fn
-    );
-    const { data, meta, form_data } = await deserialize_binary_form(event.request);
-    if (action_id && !("id" in data)) {
-      data.id = JSON.parse(decodeURIComponent(action_id));
-    }
-    await with_request_store({ event, state }, () => fn(data, meta, form_data));
-    return {
-      type: "success",
-      status: 200
-    };
-  } catch (e) {
-    const err = normalize_error(e);
-    if (err instanceof Redirect) {
-      return {
-        type: "redirect",
-        status: err.status,
-        location: err.location
-      };
-    }
-    return {
-      type: "error",
-      error: check_incorrect_fail_use(err)
-    };
-  }
-}
-function get_remote_id(url) {
-  return url.pathname.startsWith(`${base}/${app_dir}/remote/`) && url.pathname.replace(`${base}/${app_dir}/remote/`, "");
-}
-function get_remote_action(url) {
-  return url.searchParams.get("/remote");
-}
-const MAX_DEPTH = 10;
-async function render_page(event, event_state, page, options2, manifest, state, nodes, resolve_opts) {
-  if (state.depth > MAX_DEPTH) {
-    return text(`Not found: ${event.url.pathname}`, {
-      status: 404
-      // TODO in some cases this should be 500. not sure how to differentiate
-    });
-  }
-  if (is_action_json_request(event)) {
-    const node = await manifest._.nodes[page.leaf]();
-    return handle_action_json_request(event, event_state, options2, node?.server);
-  }
-  try {
-    const leaf_node = (
-      /** @type {import('types').SSRNode} */
-      nodes.page()
-    );
-    let status = 200;
-    let action_result = void 0;
-    if (is_action_request(event)) {
-      const remote_id = get_remote_action(event.url);
-      if (remote_id) {
-        action_result = await handle_remote_form_post(event, event_state, manifest, remote_id);
-      } else {
-        action_result = await handle_action_request(event, event_state, leaf_node.server);
-      }
-      if (action_result?.type === "redirect") {
-        return redirect_response(action_result.status, action_result.location);
-      }
-      if (action_result?.type === "error") {
-        status = get_status(action_result.error);
-      }
-      if (action_result?.type === "failure") {
-        status = action_result.status;
-      }
-    }
-    const should_prerender = nodes.prerender();
-    if (should_prerender) {
-      const mod = leaf_node.server;
-      if (mod?.actions) {
-        throw new Error("Cannot prerender pages with actions");
-      }
-    } else if (state.prerendering) {
-      return new Response(void 0, {
-        status: 204
-      });
-    }
-    state.prerender_default = should_prerender;
-    const should_prerender_data = nodes.should_prerender_data();
-    const data_pathname = add_data_suffix(event.url.pathname);
-    const fetched = [];
-    const ssr = nodes.ssr();
-    const csr = nodes.csr();
-    if (ssr === false && !(state.prerendering && should_prerender_data)) {
-      if (BROWSER && action_result && !event.request.headers.has("x-sveltekit-action")) ;
-      return await render_response({
-        branch: [],
-        fetched,
-        page_config: {
-          ssr: false,
-          csr
-        },
-        status,
-        error: null,
-        event,
-        event_state,
-        options: options2,
-        manifest,
-        state,
-        resolve_opts,
-        data_serializer: server_data_serializer(event, event_state, options2)
-      });
-    }
-    const branch = [];
-    let load_error = null;
-    const data_serializer = server_data_serializer(event, event_state, options2);
-    const data_serializer_json = state.prerendering && should_prerender_data ? server_data_serializer_json(event, event_state, options2) : null;
-    const server_promises = nodes.data.map((node, i) => {
-      if (load_error) {
-        throw load_error;
-      }
-      return Promise.resolve().then(async () => {
-        try {
-          if (node === leaf_node && action_result?.type === "error") {
-            throw action_result.error;
-          }
-          const server_data = await load_server_data({
-            event,
-            event_state,
-            state,
-            node,
-            parent: async () => {
-              const data = {};
-              for (let j = 0; j < i; j += 1) {
-                const parent = await server_promises[j];
-                if (parent) Object.assign(data, parent.data);
-              }
-              return data;
-            }
-          });
-          if (node) {
-            data_serializer.add_node(i, server_data);
-          }
-          data_serializer_json?.add_node(i, server_data);
-          return server_data;
-        } catch (e) {
-          load_error = /** @type {Error} */
-          e;
-          throw load_error;
-        }
-      });
-    });
-    const load_promises = nodes.data.map((node, i) => {
-      if (load_error) throw load_error;
-      return Promise.resolve().then(async () => {
-        try {
-          return await load_data({
-            event,
-            event_state,
-            fetched,
-            node,
-            parent: async () => {
-              const data = {};
-              for (let j = 0; j < i; j += 1) {
-                Object.assign(data, await load_promises[j]);
-              }
-              return data;
-            },
-            resolve_opts,
-            server_data_promise: server_promises[i],
-            state,
-            csr
-          });
-        } catch (e) {
-          load_error = /** @type {Error} */
-          e;
-          throw load_error;
-        }
-      });
-    });
-    for (const p of server_promises) p.catch(() => {
-    });
-    for (const p of load_promises) p.catch(() => {
-    });
-    for (let i = 0; i < nodes.data.length; i += 1) {
-      const node = nodes.data[i];
-      if (node) {
-        try {
-          const server_data = await server_promises[i];
-          const data = await load_promises[i];
-          branch.push({ node, server_data, data });
-        } catch (e) {
-          const err = normalize_error(e);
-          if (err instanceof Redirect) {
-            if (state.prerendering && should_prerender_data) {
-              const body2 = JSON.stringify({
-                type: "redirect",
-                location: err.location
-              });
-              state.prerendering.dependencies.set(data_pathname, {
-                response: text(body2),
-                body: body2
-              });
-            }
-            return redirect_response(err.status, err.location);
-          }
-          const status2 = get_status(err);
-          const error2 = await handle_error_and_jsonify(event, event_state, options2, err);
-          while (i--) {
-            if (page.errors[i]) {
-              const index = (
-                /** @type {number} */
-                page.errors[i]
-              );
-              const node2 = await manifest._.nodes[index]();
-              let j = i;
-              while (!branch[j]) j -= 1;
-              data_serializer.set_max_nodes(j + 1);
-              const layouts = compact(branch.slice(0, j + 1));
-              const nodes2 = new PageNodes(layouts.map((layout) => layout.node));
-              const error_branch = layouts.concat({
-                node: node2,
-                data: null,
-                server_data: null
-              });
-              return await render_response({
-                event,
-                event_state,
-                options: options2,
-                manifest,
-                state,
-                resolve_opts,
-                page_config: {
-                  ssr: nodes2.ssr(),
-                  csr: nodes2.csr()
-                },
-                status: status2,
-                error: error2,
-                error_components: await load_error_components(
-                  options2,
-                  ssr,
-                  error_branch,
-                  page,
-                  manifest
-                ),
-                branch: error_branch,
-                fetched,
-                data_serializer
-              });
-            }
-          }
-          return static_error_page(options2, status2, error2.message);
-        }
-      } else {
-        branch.push(null);
-      }
-    }
-    if (state.prerendering && data_serializer_json) {
-      let { data, chunks } = data_serializer_json.get_data();
-      if (chunks) {
-        for await (const chunk of chunks) {
-          data += chunk;
-        }
-      }
-      state.prerendering.dependencies.set(data_pathname, {
-        response: text(data),
-        body: data
-      });
-    }
-    return await render_response({
-      event,
-      event_state,
-      options: options2,
-      manifest,
-      state,
-      resolve_opts,
-      page_config: {
-        csr,
-        ssr
-      },
-      status,
-      error: null,
-      branch: !ssr ? [] : compact(branch),
-      action_result,
-      fetched,
-      data_serializer: !ssr ? server_data_serializer(event, event_state, options2) : data_serializer,
-      error_components: await load_error_components(options2, ssr, branch, page, manifest)
-    });
-  } catch (e) {
-    if (e instanceof Redirect) {
-      return redirect_response(e.status, e.location);
-    }
-    return await respond_with_error({
-      event,
-      event_state,
-      options: options2,
-      manifest,
-      state,
-      status: e instanceof HttpError ? e.status : 500,
-      error: e,
-      resolve_opts
-    });
-  }
-}
-async function load_error_components(options2, ssr, branch, page, manifest) {
-  let error_components;
-  if (options2.server_error_boundaries && ssr) {
-    let last_idx = -1;
-    error_components = await Promise.all(
-      // eslint-disable-next-line @typescript-eslint/await-thenable
-      branch.map((b, i) => {
-        if (i === 0) return void 0;
-        if (!b) return null;
-        i--;
-        while (i > last_idx + 1 && page.errors[i] === void 0) i -= 1;
-        last_idx = i;
-        const idx = page.errors[i];
-        if (idx == null) return void 0;
-        return manifest._.nodes[idx]?.().then((e) => e.component?.()).catch(() => void 0);
-      }).filter((e) => e !== null)
-    );
-  }
-  return error_components;
-}
-function once(fn) {
-  let done = false;
-  let result;
-  return () => {
-    if (done) return result;
-    done = true;
-    return result = fn();
-  };
-}
-async function render_data(event, event_state, route, options2, manifest, state, invalidated_data_nodes, trailing_slash) {
-  if (!route.page) {
-    return new Response(void 0, {
-      status: 404
-    });
-  }
-  try {
-    const node_ids = [...route.page.layouts, route.page.leaf];
-    const invalidated = invalidated_data_nodes ?? node_ids.map(() => true);
-    let aborted = false;
-    const url = new URL(event.url);
-    url.pathname = normalize_path(url.pathname, trailing_slash);
-    const new_event = { ...event, url };
-    const functions = node_ids.map((n, i) => {
-      return once(async () => {
-        try {
-          if (aborted) {
-            return (
-              /** @type {import('types').ServerDataSkippedNode} */
-              {
-                type: "skip"
-              }
-            );
-          }
-          const node = n == void 0 ? n : await manifest._.nodes[n]();
-          return load_server_data({
-            event: new_event,
-            event_state,
-            state,
-            node,
-            parent: async () => {
-              const data2 = {};
-              for (let j = 0; j < i; j += 1) {
-                const parent = (
-                  /** @type {import('types').ServerDataNode | null} */
-                  await functions[j]()
-                );
-                if (parent) {
-                  Object.assign(data2, parent.data);
-                }
-              }
-              return data2;
-            }
-          });
-        } catch (e) {
-          aborted = true;
-          throw e;
-        }
-      });
-    });
-    const promises = functions.map(async (fn, i) => {
-      if (!invalidated[i]) {
-        return (
-          /** @type {import('types').ServerDataSkippedNode} */
-          {
-            type: "skip"
-          }
-        );
-      }
-      return fn();
-    });
-    let length = promises.length;
-    const nodes = await Promise.all(
-      promises.map(
-        (p, i) => p.catch(async (error2) => {
-          if (error2 instanceof Redirect) {
-            throw error2;
-          }
-          length = Math.min(length, i + 1);
-          return (
-            /** @type {import('types').ServerErrorNode} */
-            {
-              type: "error",
-              error: await handle_error_and_jsonify(event, event_state, options2, error2),
-              status: error2 instanceof HttpError || error2 instanceof SvelteKitError ? error2.status : void 0
-            }
-          );
-        })
-      )
-    );
-    const data_serializer = server_data_serializer_json(event, event_state, options2);
-    for (let i = 0; i < nodes.length; i++) data_serializer.add_node(i, nodes[i]);
-    const { data, chunks } = data_serializer.get_data();
-    if (!chunks) {
-      return json_response(data);
-    }
-    return new Response(
-      new ReadableStream({
-        async start(controller) {
-          controller.enqueue(text_encoder.encode(data));
-          for await (const chunk of chunks) {
-            controller.enqueue(text_encoder.encode(chunk));
-          }
-          controller.close();
-        },
-        type: "bytes"
-      }),
-      {
-        headers: {
-          // we use a proprietary content type to prevent buffering.
-          // the `text` prefix makes it inspectable
-          "content-type": "text/sveltekit-data",
-          "cache-control": "private, no-store"
-        }
-      }
-    );
-  } catch (e) {
-    const error2 = normalize_error(e);
-    if (error2 instanceof Redirect) {
-      return redirect_json_response(error2);
-    } else {
-      return json_response(await handle_error_and_jsonify(event, event_state, options2, error2), 500);
-    }
-  }
-}
-function json_response(json2, status = 200) {
-  return text(typeof json2 === "string" ? json2 : JSON.stringify(json2), {
-    status,
-    headers: {
-      "content-type": "application/json",
-      "cache-control": "private, no-store"
-    }
-  });
-}
-function redirect_json_response(redirect) {
-  return json_response(
-    /** @type {import('types').ServerRedirectNode} */
-    {
-      type: "redirect",
-      location: redirect.location
-    }
-  );
-}
-const INVALID_COOKIE_CHARACTER_REGEX = /[\x00-\x1F\x7F()<>@,;:"/[\]?={} \t]/;
-function validate_options(options2) {
-  if (options2?.path === void 0) {
-    throw new Error("You must specify a `path` when setting, deleting or serializing cookies");
-  }
-}
-function generate_cookie_key(domain, path, name) {
-  return `${domain || ""}${path}?${encodeURIComponent(name)}`;
-}
-function get_cookies(request, url) {
-  const header = request.headers.get("cookie") ?? "";
-  const initial_cookies = parse(header, { decode: (value) => value });
-  let normalized_url;
-  const new_cookies = /* @__PURE__ */ new Map();
-  const defaults = {
-    httpOnly: true,
-    sameSite: "lax",
-    secure: url.hostname === "localhost" && url.protocol === "http:" ? false : true
-  };
-  const cookies = {
-    // The JSDoc param annotations appearing below for get, set and delete
-    // are necessary to expose the `cookie` library types to
-    // typescript users. `@type {import('@sveltejs/kit').Cookies}` above is not
-    // sufficient to do so.
-    /**
-     * @param {string} name
-     * @param {import('cookie').CookieParseOptions} [opts]
-     */
-    get(name, opts) {
-      const best_match = Array.from(new_cookies.values()).filter((c) => {
-        return c.name === name && domain_matches(url.hostname, c.options.domain) && path_matches(url.pathname, c.options.path);
-      }).sort((a, b) => b.options.path.length - a.options.path.length)[0];
-      if (best_match) {
-        return best_match.options.maxAge === 0 ? void 0 : best_match.value;
-      }
-      const req_cookies = parse(header, { decode: opts?.decode });
-      const cookie = req_cookies[name];
-      return cookie;
-    },
-    /**
-     * @param {import('cookie').CookieParseOptions} [opts]
-     */
-    getAll(opts) {
-      const cookies2 = parse(header, { decode: opts?.decode });
-      const lookup = /* @__PURE__ */ new Map();
-      for (const c of new_cookies.values()) {
-        if (domain_matches(url.hostname, c.options.domain) && path_matches(url.pathname, c.options.path)) {
-          const existing = lookup.get(c.name);
-          if (!existing || c.options.path.length > existing.options.path.length) {
-            lookup.set(c.name, c);
-          }
-        }
-      }
-      for (const c of lookup.values()) {
-        cookies2[c.name] = c.value;
-      }
-      return Object.entries(cookies2).map(([name, value]) => ({ name, value }));
-    },
-    /**
-     * @param {string} name
-     * @param {string} value
-     * @param {import('./page/types.js').Cookie['options']} options
-     */
-    set(name, value, options2) {
-      const illegal_characters = name.match(INVALID_COOKIE_CHARACTER_REGEX);
-      if (illegal_characters) {
-        console.warn(
-          `The cookie name "${name}" will be invalid in SvelteKit 3.0 as it contains ${illegal_characters.join(
-            " and "
-          )}. See RFC 2616 for more details https://datatracker.ietf.org/doc/html/rfc2616#section-2.2`
-        );
-      }
-      validate_options(options2);
-      set_internal(name, value, { ...defaults, ...options2 });
-    },
-    /**
-     * @param {string} name
-     *  @param {import('./page/types.js').Cookie['options']} options
-     */
-    delete(name, options2) {
-      validate_options(options2);
-      cookies.set(name, "", { ...options2, maxAge: 0 });
-    },
-    /**
-     * @param {string} name
-     * @param {string} value
-     *  @param {import('./page/types.js').Cookie['options']} options
-     */
-    serialize(name, value, options2) {
-      validate_options(options2);
-      let path = options2.path;
-      if (!options2.domain || options2.domain === url.hostname) {
-        if (!normalized_url) {
-          throw new Error("Cannot serialize cookies until after the route is determined");
-        }
-        path = resolve(normalized_url, path);
-      }
-      return serialize(name, value, { ...defaults, ...options2, path });
-    }
-  };
-  function get_cookie_header(destination, header2) {
-    const combined_cookies = {
-      // cookies sent by the user agent have lowest precedence
-      ...initial_cookies
-    };
-    for (const cookie of new_cookies.values()) {
-      if (!domain_matches(destination.hostname, cookie.options.domain)) continue;
-      if (!path_matches(destination.pathname, cookie.options.path)) continue;
-      const encoder = cookie.options.encode || encodeURIComponent;
-      combined_cookies[cookie.name] = encoder(cookie.value);
-    }
-    if (header2) {
-      const parsed = parse(header2, { decode: (value) => value });
-      for (const name in parsed) {
-        combined_cookies[name] = parsed[name];
-      }
-    }
-    return Object.entries(combined_cookies).map(([name, value]) => `${name}=${value}`).join("; ");
-  }
-  const internal_queue = [];
-  function set_internal(name, value, options2) {
-    if (!normalized_url) {
-      internal_queue.push(() => set_internal(name, value, options2));
-      return;
-    }
-    let path = options2.path;
-    if (!options2.domain || options2.domain === url.hostname) {
-      path = resolve(normalized_url, path);
-    }
-    const cookie_key = generate_cookie_key(options2.domain, path, name);
-    const cookie = { name, value, options: { ...options2, path } };
-    new_cookies.set(cookie_key, cookie);
-  }
-  function set_trailing_slash(trailing_slash) {
-    normalized_url = normalize_path(url.pathname, trailing_slash);
-    internal_queue.forEach((fn) => fn());
-  }
-  return { cookies, new_cookies, get_cookie_header, set_internal, set_trailing_slash };
-}
-function domain_matches(hostname, constraint) {
-  if (!constraint) return true;
-  const normalized = constraint[0] === "." ? constraint.slice(1) : constraint;
-  if (hostname === normalized) return true;
-  return hostname.endsWith("." + normalized);
-}
-function path_matches(path, constraint) {
-  if (!constraint) return true;
-  const normalized = constraint.endsWith("/") ? constraint.slice(0, -1) : constraint;
-  if (path === normalized) return true;
-  return path.startsWith(normalized + "/");
-}
-function add_cookies_to_headers(headers2, cookies) {
-  for (const new_cookie of cookies) {
-    const { name, value, options: options2 } = new_cookie;
-    headers2.append("set-cookie", serialize(name, value, options2));
-    if (options2.path.endsWith(".html")) {
-      const path = add_data_suffix(options2.path);
-      headers2.append("set-cookie", serialize(name, value, { ...options2, path }));
-    }
-  }
-}
-function create_fetch({ event, options: options2, manifest, state, get_cookie_header, set_internal }) {
-  const server_fetch = async (info, init2) => {
-    const original_request = normalize_fetch_input(info, init2, event.url);
-    let mode = (info instanceof Request ? info.mode : init2?.mode) ?? "cors";
-    let credentials = (info instanceof Request ? info.credentials : init2?.credentials) ?? "same-origin";
-    return options2.hooks.handleFetch({
-      event,
-      request: original_request,
-      fetch: async (info2, init3) => {
-        const request = normalize_fetch_input(info2, init3, event.url);
-        const url = new URL(request.url);
-        if (!request.headers.has("origin")) {
-          request.headers.set("origin", event.url.origin);
-        }
-        if (info2 !== original_request) {
-          mode = (info2 instanceof Request ? info2.mode : init3?.mode) ?? "cors";
-          credentials = (info2 instanceof Request ? info2.credentials : init3?.credentials) ?? "same-origin";
-        }
-        if ((request.method === "GET" || request.method === "HEAD") && (mode === "no-cors" && url.origin !== event.url.origin || url.origin === event.url.origin)) {
-          request.headers.delete("origin");
-        }
-        const decoded = decodeURIComponent(url.pathname);
-        if (url.origin !== event.url.origin || base && decoded !== base && !decoded.startsWith(`${base}/`)) {
-          if (`.${url.hostname}`.endsWith(`.${event.url.hostname}`) && credentials !== "omit") {
-            const cookie = get_cookie_header(url, request.headers.get("cookie"));
-            if (cookie) request.headers.set("cookie", cookie);
-          }
-          return fetch(request);
-        }
-        const prefix = assets || base;
-        const filename = (decoded.startsWith(prefix) ? decoded.slice(prefix.length) : decoded).slice(1);
-        const filename_html = `${filename}/index.html`;
-        const is_asset = manifest.assets.has(filename) || filename in manifest._.server_assets;
-        const is_asset_html = manifest.assets.has(filename_html) || filename_html in manifest._.server_assets;
-        if (is_asset || is_asset_html) {
-          const file = is_asset ? filename : filename_html;
-          if (state.read) {
-            const type = is_asset ? manifest.mimeTypes[filename.slice(filename.lastIndexOf("."))] : "text/html";
-            return new Response(state.read(file), {
-              headers: type ? { "content-type": type } : {}
-            });
-          } else if (read_implementation && file in manifest._.server_assets) {
-            const length = manifest._.server_assets[file];
-            const type = manifest.mimeTypes[file.slice(file.lastIndexOf("."))];
-            return new Response(read_implementation(file), {
-              headers: {
-                "Content-Length": "" + length,
-                "Content-Type": type
-              }
-            });
-          }
-          return await fetch(request);
-        }
-        if (has_prerendered_path(manifest, base + decoded)) {
-          return await fetch(request);
-        }
-        if (credentials !== "omit") {
-          const cookie = get_cookie_header(url, request.headers.get("cookie"));
-          if (cookie) {
-            request.headers.set("cookie", cookie);
-          }
-          const authorization = event.request.headers.get("authorization");
-          if (authorization && !request.headers.has("authorization")) {
-            request.headers.set("authorization", authorization);
-          }
-        }
-        if (!request.headers.has("accept")) {
-          request.headers.set("accept", "*/*");
-        }
-        if (!request.headers.has("accept-language")) {
-          request.headers.set(
-            "accept-language",
-            /** @type {string} */
-            event.request.headers.get("accept-language")
-          );
-        }
-        const response = await internal_fetch(request, options2, manifest, state);
-        const set_cookie = response.headers.get("set-cookie");
-        if (set_cookie) {
-          for (const str of set_cookie_parser.splitCookiesString(set_cookie)) {
-            const { name, value, ...options3 } = set_cookie_parser.parseString(str, {
-              decodeValues: false
-            });
-            const path = options3.path ?? (url.pathname.split("/").slice(0, -1).join("/") || "/");
-            set_internal(name, value, {
-              path,
-              encode: (value2) => value2,
-              .../** @type {import('cookie').CookieSerializeOptions} */
-              options3
-            });
-          }
-        }
-        return response;
-      }
-    });
-  };
-  return (input, init2) => {
-    const response = server_fetch(input, init2);
-    response.catch(() => {
-    });
-    return response;
-  };
-}
-function normalize_fetch_input(info, init2, url) {
-  if (info instanceof Request) {
-    return info;
-  }
-  return new Request(typeof info === "string" ? new URL(info, url) : info, init2);
-}
-async function internal_fetch(request, options2, manifest, state) {
-  if (request.signal) {
-    if (request.signal.aborted) {
-      throw new DOMException("The operation was aborted.", "AbortError");
-    }
-    let remove_abort_listener = () => {
-    };
-    const abort_promise = new Promise((_, reject) => {
-      const on_abort = () => {
-        reject(new DOMException("The operation was aborted.", "AbortError"));
-      };
-      request.signal.addEventListener("abort", on_abort, { once: true });
-      remove_abort_listener = () => request.signal.removeEventListener("abort", on_abort);
-    });
-    const result = await Promise.race([
-      respond(request, options2, manifest, {
-        ...state,
-        depth: state.depth + 1
-      }),
-      abort_promise
-    ]);
-    remove_abort_listener();
-    return result;
-  } else {
-    return await respond(request, options2, manifest, {
-      ...state,
-      depth: state.depth + 1
-    });
-  }
-}
-let body;
-let etag;
-let headers;
-function get_public_env(request) {
-  body ??= `export const env=${JSON.stringify(public_env)}`;
-  etag ??= `W/${Date.now()}`;
-  headers ??= new Headers({
-    "content-type": "application/javascript; charset=utf-8",
-    etag
-  });
-  if (request.headers.get("if-none-match") === etag) {
-    return new Response(void 0, { status: 304, headers });
-  }
-  return new Response(body, { headers });
-}
-const default_transform = ({ html }) => html;
-const default_filter = () => false;
-const default_preload = ({ type }) => type === "js" || type === "css";
-const page_methods = /* @__PURE__ */ new Set(["GET", "HEAD", "POST"]);
-const allowed_page_methods = /* @__PURE__ */ new Set(["GET", "HEAD", "OPTIONS"]);
-let warned_on_devtools_json_request = false;
-const respond = propagate_context(internal_respond);
-async function internal_respond(request, options2, manifest, state) {
-  const url = new URL(request.url);
-  const is_route_resolution_request = has_resolution_suffix(url.pathname);
-  const is_data_request = has_data_suffix(url.pathname);
-  const remote_id = get_remote_id(url);
-  {
-    const request_origin = request.headers.get("origin");
-    if (remote_id) {
-      if (request.method !== "GET" && request_origin !== url.origin) {
-        const message = "Cross-site remote requests are forbidden";
-        return json({ message }, { status: 403 });
-      }
-    } else if (options2.csrf_check_origin) {
-      const forbidden = is_form_content_type(request) && (request.method === "POST" || request.method === "PUT" || request.method === "PATCH" || request.method === "DELETE") && request_origin !== url.origin && (!request_origin || !options2.csrf_trusted_origins.includes(request_origin));
-      if (forbidden) {
-        const message = `Cross-site ${request.method} form submissions are forbidden`;
-        const opts = { status: 403 };
-        if (request.headers.get("accept") === "application/json") {
-          return json({ message }, opts);
-        }
-        return text(message, opts);
-      }
-    }
-  }
-  if (options2.hash_routing && url.pathname !== base + "/" && url.pathname !== "/[fallback]") {
-    return text("Not found", { status: 404 });
-  }
-  let invalidated_data_nodes;
-  if (is_route_resolution_request) {
-    url.pathname = strip_resolution_suffix(url.pathname);
-  } else if (is_data_request) {
-    url.pathname = strip_data_suffix(url.pathname) + (url.searchParams.get(TRAILING_SLASH_PARAM) === "1" ? "/" : "") || "/";
-    url.searchParams.delete(TRAILING_SLASH_PARAM);
-    invalidated_data_nodes = url.searchParams.get(INVALIDATED_PARAM)?.split("").map((node) => node === "1");
-    url.searchParams.delete(INVALIDATED_PARAM);
-  } else if (remote_id) {
-    url.pathname = request.headers.get("x-sveltekit-pathname") ?? base;
-    url.search = request.headers.get("x-sveltekit-search") ?? "";
-  }
-  const headers2 = {};
-  const { cookies, new_cookies, get_cookie_header, set_internal, set_trailing_slash } = get_cookies(
-    request,
-    url
-  );
-  const event_state = {
-    prerendering: state.prerendering,
-    transport: options2.hooks.transport,
-    handleValidationError: options2.hooks.handleValidationError,
-    tracing: {
-      record_span
-    },
-    remote: {
-      data: null,
-      forms: null,
-      /** A map of remote function key to corresponding single-flight-mutation promise */
-      refreshes: null,
-      /** A map of remote function ID to payloads requested for refreshing by the client */
-      requested: null,
-      /**
-       * A map of remote function ID to objects that have passed validation;
-       * used to prevent revalidating parameters returned from `requested`
-       */
-      validated: null
-    },
-    is_in_remote_function: false,
-    is_in_render: false,
-    is_in_universal_load: false
-  };
-  const event = {
-    cookies,
-    // @ts-expect-error `fetch` needs to be created after the `event` itself
-    fetch: null,
-    getClientAddress: state.getClientAddress || (() => {
-      throw new Error(
-        `${"@sveltejs/adapter-static"} does not specify getClientAddress. Please raise an issue`
-      );
-    }),
-    locals: {},
-    params: {},
-    platform: state.platform,
-    request,
-    route: { id: null },
-    setHeaders: (new_headers) => {
-      for (const key2 in new_headers) {
-        const lower = key2.toLowerCase();
-        const value = new_headers[key2];
-        if (lower === "set-cookie") {
-          throw new Error(
-            "Use `event.cookies.set(name, value, options)` instead of `event.setHeaders` to set cookies"
-          );
-        } else if (lower in headers2) {
-          if (lower === "server-timing") {
-            headers2[lower] += ", " + value;
-          } else {
-            throw new Error(`"${key2}" header is already set`);
-          }
-        } else {
-          headers2[lower] = value;
-          if (state.prerendering && lower === "cache-control") {
-            state.prerendering.cache = /** @type {string} */
-            value;
-          }
-        }
-      }
-    },
-    url,
-    isDataRequest: is_data_request,
-    isSubRequest: state.depth > 0,
-    isRemoteRequest: !!remote_id
-  };
-  event.fetch = create_fetch({
-    event,
-    options: options2,
-    manifest,
-    state,
-    get_cookie_header,
-    set_internal
-  });
-  if (state.emulator?.platform) {
-    event.platform = await state.emulator.platform({
-      config: {},
-      prerender: !!state.prerendering?.fallback
-    });
-  }
-  let resolved_path = url.pathname;
-  if (!remote_id) {
-    const prerendering_reroute_state = state.prerendering?.inside_reroute;
-    try {
-      if (state.prerendering) state.prerendering.inside_reroute = true;
-      resolved_path = await options2.hooks.reroute({ url: new URL(url), fetch: event.fetch }) ?? url.pathname;
-    } catch {
-      return text("Internal Server Error", {
-        status: 500
-      });
-    } finally {
-      if (state.prerendering) state.prerendering.inside_reroute = prerendering_reroute_state;
-    }
-  }
-  try {
-    resolved_path = decode_pathname(resolved_path);
-  } catch {
-    return text("Malformed URI", { status: 400 });
-  }
-  if (
-    // the resolved path has been decoded so it should be compared to the decoded url pathname
-    resolved_path !== decode_pathname(url.pathname) && !state.prerendering?.fallback && has_prerendered_path(manifest, resolved_path)
-  ) {
-    const url2 = new URL(request.url);
-    url2.pathname = is_data_request ? add_data_suffix(resolved_path) : is_route_resolution_request ? add_resolution_suffix(resolved_path) : resolved_path;
-    try {
-      const response = await fetch(url2, request);
-      const headers22 = new Headers(response.headers);
-      if (headers22.has("content-encoding")) {
-        headers22.delete("content-encoding");
-        headers22.delete("content-length");
-      }
-      return new Response(response.body, {
-        headers: headers22,
-        status: response.status,
-        statusText: response.statusText
-      });
-    } catch (error2) {
-      return await handle_fatal_error(event, event_state, options2, error2);
-    }
-  }
-  let route = null;
-  if (base && !state.prerendering?.fallback) {
-    if (!resolved_path.startsWith(base)) {
-      return text("Not found", { status: 404 });
-    }
-    resolved_path = resolved_path.slice(base.length) || "/";
-  }
-  if (is_route_resolution_request) {
-    return resolve_route(resolved_path, new URL(request.url), manifest);
-  }
-  if (resolved_path === `/${app_dir}/env.js`) {
-    return get_public_env(request);
-  }
-  if (!remote_id && resolved_path.startsWith(`/${app_dir}`)) {
-    const headers22 = new Headers();
-    headers22.set("cache-control", "public, max-age=0, must-revalidate");
-    return text("Not found", { status: 404, headers: headers22 });
-  }
-  if (!state.prerendering?.fallback) {
-    const matchers = await manifest._.matchers();
-    const result = find_route(resolved_path, manifest._.routes, matchers);
-    if (result) {
-      route = result.route;
-      event.route = { id: route.id };
-      event.params = result.params;
-    }
-  }
-  let resolve_opts = {
-    transformPageChunk: default_transform,
-    filterSerializedResponseHeaders: default_filter,
-    preload: default_preload
-  };
-  let trailing_slash = "never";
-  try {
-    const page_nodes = route?.page ? new PageNodes(await load_page_nodes(route.page, manifest)) : void 0;
-    if (route && !remote_id) {
-      if (url.pathname === base || url.pathname === base + "/") {
-        trailing_slash = "always";
-      } else if (page_nodes) {
-        if (BROWSER) ;
-        trailing_slash = page_nodes.trailing_slash();
-      } else if (route.endpoint) {
-        const node = await route.endpoint();
-        trailing_slash = node.trailingSlash ?? "never";
-        if (BROWSER) ;
-      }
-      if (!is_data_request) {
-        const normalized = normalize_path(url.pathname, trailing_slash);
-        if (normalized !== url.pathname && !state.prerendering?.fallback) {
-          return new Response(void 0, {
-            status: 308,
-            headers: {
-              "x-sveltekit-normalize": "1",
-              location: (
-                // ensure paths starting with '//' are not treated as protocol-relative
-                (normalized.startsWith("//") ? url.origin + normalized : normalized) + (url.search === "?" ? "" : url.search)
-              )
-            }
-          });
-        }
-      }
-      if (state.before_handle || state.emulator?.platform) {
-        let config = {};
-        let prerender = false;
-        if (route.endpoint) {
-          const node = await route.endpoint();
-          config = node.config ?? config;
-          prerender = node.prerender ?? prerender;
-        } else if (page_nodes) {
-          config = page_nodes.get_config() ?? config;
-          prerender = page_nodes.prerender();
-        }
-        if (state.before_handle) {
-          state.before_handle(event, config, prerender);
-        }
-        if (state.emulator?.platform) {
-          event.platform = await state.emulator.platform({ config, prerender });
-        }
-      }
-    }
-    set_trailing_slash(trailing_slash);
-    if (state.prerendering && !state.prerendering.fallback && !state.prerendering.inside_reroute) {
-      disable_search(url);
-    }
-    const response = await record_span({
-      name: "sveltekit.handle.root",
-      attributes: {
-        "http.route": event.route.id || "unknown",
-        "http.method": event.request.method,
-        "http.url": event.url.href,
-        "sveltekit.is_data_request": is_data_request,
-        "sveltekit.is_sub_request": event.isSubRequest
-      },
-      fn: async (root_span) => {
-        const traced_event = {
-          ...event,
-          tracing: {
-            enabled: false,
-            root: root_span,
-            current: root_span
-          }
-        };
-        return await with_request_store(
-          { event: traced_event, state: event_state },
-          () => options2.hooks.handle({
-            event: traced_event,
-            resolve: (event2, opts) => {
-              return record_span({
-                name: "sveltekit.resolve",
-                attributes: {
-                  "http.route": event2.route.id || "unknown"
-                },
-                fn: (resolve_span) => {
-                  return with_request_store(
-                    null,
-                    () => resolve2(merge_tracing(event2, resolve_span), page_nodes, opts).then(
-                      (response2) => {
-                        for (const key2 in headers2) {
-                          const value = headers2[key2];
-                          response2.headers.set(
-                            key2,
-                            /** @type {string} */
-                            value
-                          );
-                        }
-                        add_cookies_to_headers(response2.headers, new_cookies.values());
-                        if (state.prerendering && event2.route.id !== null) {
-                          response2.headers.set("x-sveltekit-routeid", encodeURI(event2.route.id));
-                        }
-                        resolve_span.setAttributes({
-                          "http.response.status_code": response2.status,
-                          "http.response.body.size": response2.headers.get("content-length") || "unknown"
-                        });
-                        return response2;
-                      }
-                    )
-                  );
-                }
-              });
-            }
-          })
-        );
-      }
-    });
-    if (response.status === 200 && response.headers.has("etag")) {
-      let if_none_match_value = request.headers.get("if-none-match");
-      if (if_none_match_value?.startsWith('W/"')) {
-        if_none_match_value = if_none_match_value.substring(2);
-      }
-      const etag2 = (
-        /** @type {string} */
-        response.headers.get("etag")
-      );
-      if (if_none_match_value === etag2) {
-        const headers22 = new Headers({ etag: etag2 });
-        for (const key2 of [
-          "cache-control",
-          "content-location",
-          "date",
-          "expires",
-          "vary",
-          "set-cookie"
-        ]) {
-          const value = response.headers.get(key2);
-          if (value) headers22.set(key2, value);
-        }
-        return new Response(void 0, {
-          status: 304,
-          headers: headers22
-        });
-      }
-    }
-    if (is_data_request && response.status >= 300 && response.status <= 308) {
-      const location = response.headers.get("location");
-      if (location) {
-        return redirect_json_response(new Redirect(
-          /** @type {any} */
-          response.status,
-          location
-        ));
-      }
-    }
-    return response;
-  } catch (e) {
-    if (e instanceof Redirect) {
-      const response = is_data_request || remote_id ? redirect_json_response(e) : route?.page && is_action_json_request(event) ? action_json_redirect(e) : redirect_response(e.status, e.location);
-      add_cookies_to_headers(response.headers, new_cookies.values());
-      return response;
-    }
-    return await handle_fatal_error(event, event_state, options2, e);
-  }
-  async function resolve2(event2, page_nodes, opts) {
-    try {
-      if (opts) {
-        resolve_opts = {
-          transformPageChunk: opts.transformPageChunk || default_transform,
-          filterSerializedResponseHeaders: opts.filterSerializedResponseHeaders || default_filter,
-          preload: opts.preload || default_preload
-        };
-      }
-      if (options2.hash_routing || state.prerendering?.fallback) {
-        return await render_response({
-          event: event2,
-          event_state,
-          options: options2,
-          manifest,
-          state,
-          page_config: { ssr: false, csr: true },
-          status: 200,
-          error: null,
-          branch: [],
-          fetched: [],
-          resolve_opts,
-          data_serializer: server_data_serializer(event2, event_state, options2)
-        });
-      }
-      if (remote_id) {
-        return await handle_remote_call(event2, event_state, options2, manifest, remote_id);
-      }
-      if (route) {
-        const method = (
-          /** @type {import('types').HttpMethod} */
-          event2.request.method
-        );
-        let response2;
-        if (is_data_request) {
-          response2 = await render_data(
-            event2,
-            event_state,
-            route,
-            options2,
-            manifest,
-            state,
-            invalidated_data_nodes,
-            trailing_slash
-          );
-        } else if (route.endpoint && (!route.page || is_endpoint_request(event2))) {
-          response2 = await render_endpoint(event2, event_state, await route.endpoint(), state);
-        } else if (route.page) {
-          if (!page_nodes) {
-            throw new Error("page_nodes not found. This should never happen");
-          } else if (page_methods.has(method)) {
-            response2 = await render_page(
-              event2,
-              event_state,
-              route.page,
-              options2,
-              manifest,
-              state,
-              page_nodes,
-              resolve_opts
-            );
-          } else {
-            const allowed_methods = new Set(allowed_page_methods);
-            const node = await manifest._.nodes[route.page.leaf]();
-            if (node?.server?.actions) {
-              allowed_methods.add("POST");
-            }
-            if (method === "OPTIONS") {
-              response2 = new Response(null, {
-                status: 204,
-                headers: {
-                  allow: Array.from(allowed_methods.values()).join(", ")
-                }
-              });
-            } else {
-              const mod = [...allowed_methods].reduce(
-                (acc, curr) => {
-                  acc[curr] = true;
-                  return acc;
-                },
-                /** @type {Record<string, any>} */
-                {}
-              );
-              response2 = method_not_allowed(mod, method);
-            }
-          }
-        } else {
-          throw new Error("Route is neither page nor endpoint. This should never happen");
-        }
-        if (request.method === "GET" && route.page && route.endpoint) {
-          const vary = response2.headers.get("vary")?.split(",")?.map((v) => v.trim().toLowerCase());
-          if (!(vary?.includes("accept") || vary?.includes("*"))) {
-            response2 = new Response(response2.body, {
-              status: response2.status,
-              statusText: response2.statusText,
-              headers: new Headers(response2.headers)
-            });
-            response2.headers.append("Vary", "Accept");
-          }
-        }
-        return response2;
-      }
-      if (state.error && event2.isSubRequest) {
-        const headers22 = new Headers(request.headers);
-        headers22.set("x-sveltekit-error", "true");
-        return await fetch(request, { headers: headers22 });
-      }
-      if (state.error) {
-        return text("Internal Server Error", {
-          status: 500
-        });
-      }
-      if (state.depth === 0) {
-        if (BROWSER && event2.url.pathname === "/.well-known/appspecific/com.chrome.devtools.json") ;
-        return await respond_with_error({
-          event: event2,
-          event_state,
-          options: options2,
-          manifest,
-          state,
-          status: 404,
-          error: new SvelteKitError(404, "Not Found", `Not found: ${event2.url.pathname}`),
-          resolve_opts
-        });
-      }
-      if (state.prerendering) {
-        return text("not found", { status: 404 });
-      }
-      const response = await fetch(request);
-      return new Response(response.body, response);
-    } catch (e) {
-      return await handle_fatal_error(event2, event_state, options2, e);
-    } finally {
-      event2.cookies.set = () => {
-        throw new Error("Cannot use `cookies.set(...)` after the response has been generated");
-      };
-      event2.setHeaders = () => {
-        throw new Error("Cannot use `setHeaders(...)` after the response has been generated");
-      };
-    }
-  }
-}
-function load_page_nodes(page, manifest) {
-  return Promise.all([
-    // we use == here rather than === because [undefined] serializes as "[null]"
-    ...page.layouts.map((n) => n == void 0 ? n : manifest._.nodes[n]()),
-    manifest._.nodes[page.leaf]()
-  ]);
-}
-function propagate_context(fn) {
-  return async (req, ...rest) => {
-    {
-      return fn(req, ...rest);
-    }
-  };
-}
-function filter_env(env, allowed, disallowed) {
-  return Object.fromEntries(
-    Object.entries(env).filter(
-      ([k]) => k.startsWith(allowed) && (disallowed === "" || !k.startsWith(disallowed))
-    )
-  );
-}
-function set_app(value) {
-}
-let init_promise;
-let current = null;
-class Server {
-  /** @type {import('types').SSROptions} */
-  #options;
-  /** @type {import('@sveltejs/kit').SSRManifest} */
-  #manifest;
-  /** @param {import('@sveltejs/kit').SSRManifest} manifest */
-  constructor(manifest) {
-    this.#options = options;
-    this.#manifest = manifest;
-    if (IN_WEBCONTAINER) {
-      const respond2 = this.respond.bind(this);
-      this.respond = async (...args) => {
-        const { promise, resolve: resolve2 } = (
-          /** @type {PromiseWithResolvers<void>} */
-          with_resolvers()
-        );
-        const previous = current;
-        current = promise;
-        await previous;
-        return respond2(...args).finally(resolve2);
-      };
-    }
-  }
-  /**
-   * @param {import('@sveltejs/kit').ServerInitOptions} opts
-   */
-  async init({ env, read }) {
-    const { env_public_prefix, env_private_prefix } = this.#options;
-    set_private_env(filter_env(env, env_private_prefix, env_public_prefix));
-    set_public_env(filter_env(env, env_public_prefix, env_private_prefix));
-    if (read) {
-      const wrapped_read = (file) => {
-        const result = read(file);
-        if (result instanceof ReadableStream) {
-          return result;
-        } else {
-          return new ReadableStream({
-            async start(controller) {
-              try {
-                const stream = await Promise.resolve(result);
-                if (!stream) {
-                  controller.close();
-                  return;
-                }
-                const reader = stream.getReader();
-                while (true) {
-                  const { done, value } = await reader.read();
-                  if (done) break;
-                  controller.enqueue(value);
-                }
-                controller.close();
-              } catch (error2) {
-                controller.error(error2);
-              }
-            }
-          });
-        }
-      };
-      set_read_implementation(wrapped_read);
-    }
-    await (init_promise ??= (async () => {
-      try {
-        const module = await get_hooks();
-        this.#options.hooks = {
-          handle: module.handle || (({ event, resolve: resolve2 }) => resolve2(event)),
-          handleError: module.handleError || (({ status, error: error2, event }) => {
-            const error_message = format_server_error(
-              status,
-              /** @type {Error} */
-              error2,
-              event
-            );
-            console.error(error_message);
-          }),
-          handleFetch: module.handleFetch || (({ request, fetch: fetch2 }) => fetch2(request)),
-          handleValidationError: module.handleValidationError || (({ issues }) => {
-            console.error("Remote function schema validation failed:", issues);
-            return { message: "Bad Request" };
-          }),
-          reroute: module.reroute || (() => {
-          }),
-          transport: module.transport || {}
-        };
-        set_app({
-          decoders: module.transport ? Object.fromEntries(Object.entries(module.transport).map(([k, v]) => [k, v.decode])) : {}
-        });
-        if (module.init) {
-          await module.init();
-        }
-      } catch (e) {
-        {
-          throw e;
-        }
-      }
-    })());
-  }
-  /**
-   * @param {Request} request
-   * @param {import('types').RequestOptions} options
-   */
-  async respond(request, options2) {
-    return respond(request, this.#options, this.#manifest, {
-      ...options2,
-      error: false,
-      depth: 0
-    });
-  }
-}
-export {
-  Server
-};

+ 0 - 14
.svelte-kit/output/server/internal.js

@@ -1,14 +0,0 @@
-import "./chunks/root.js";
-import { s, e, f } from "./chunks/environment.js";
-import { g, o, c, s as s2, a, b } from "./chunks/internal.js";
-export {
-  g as get_hooks,
-  o as options,
-  s as set_assets,
-  e as set_building,
-  c as set_manifest,
-  f as set_prerendering,
-  s2 as set_private_env,
-  a as set_public_env,
-  b as set_read_implementation
-};

+ 0 - 47
.svelte-kit/output/server/manifest-full.js

@@ -1,47 +0,0 @@
-export const manifest = (() => {
-function __memo(fn) {
-	let value;
-	return () => value ??= (value = fn());
-}
-
-return {
-	appDir: "_app",
-	appPath: "_app",
-	assets: new Set(["favicon.svg","gallery/1.jpg","gallery/10.jpg","gallery/2.jpg","gallery/3.jpg","gallery/4.jpg","gallery/5.jpg","gallery/6.jpg","gallery/7.jpg","gallery/8.jpg","gallery/9.jpg","hero-bg-mobile.mp4","hero-bg.mp4","logo.png"]),
-	mimeTypes: {".svg":"image/svg+xml",".jpg":"image/jpeg",".mp4":"video/mp4",".png":"image/png"},
-	_: {
-		client: {start:"_app/immutable/entry/start.BRiLKxkP.js",app:"_app/immutable/entry/app.GsRB66E3.js",imports:["_app/immutable/entry/start.BRiLKxkP.js","_app/immutable/chunks/B52eEgfS.js","_app/immutable/chunks/DP2RCIpD.js","_app/immutable/chunks/0o9CXqwM.js","_app/immutable/entry/app.GsRB66E3.js","_app/immutable/chunks/DP2RCIpD.js","_app/immutable/chunks/BMwnALyW.js","_app/immutable/chunks/CTzuk7kM.js","_app/immutable/chunks/0o9CXqwM.js","_app/immutable/chunks/DAD_eSlp.js"],stylesheets:[],fonts:[],uses_env_dynamic_public:false},
-		nodes: [
-			__memo(() => import('./nodes/0.js')),
-			__memo(() => import('./nodes/1.js')),
-			__memo(() => import('./nodes/2.js')),
-			__memo(() => import('./nodes/3.js'))
-		],
-		remotes: {
-			
-		},
-		routes: [
-			{
-				id: "/",
-				pattern: /^\/$/,
-				params: [],
-				page: { layouts: [0,], errors: [1,], leaf: 2 },
-				endpoint: null
-			},
-			{
-				id: "/about",
-				pattern: /^\/about\/?$/,
-				params: [],
-				page: { layouts: [0,], errors: [1,], leaf: 3 },
-				endpoint: null
-			}
-		],
-		prerendered_routes: new Set([]),
-		matchers: async () => {
-			
-			return {  };
-		},
-		server_assets: {}
-	}
-}
-})();

+ 0 - 32
.svelte-kit/output/server/manifest.js

@@ -1,32 +0,0 @@
-export const manifest = (() => {
-function __memo(fn) {
-	let value;
-	return () => value ??= (value = fn());
-}
-
-return {
-	appDir: "_app",
-	appPath: "_app",
-	assets: new Set(["favicon.svg","gallery/1.jpg","gallery/10.jpg","gallery/2.jpg","gallery/3.jpg","gallery/4.jpg","gallery/5.jpg","gallery/6.jpg","gallery/7.jpg","gallery/8.jpg","gallery/9.jpg","hero-bg-mobile.mp4","hero-bg.mp4","logo.png"]),
-	mimeTypes: {".svg":"image/svg+xml",".jpg":"image/jpeg",".mp4":"video/mp4",".png":"image/png"},
-	_: {
-		client: {start:"_app/immutable/entry/start.BRiLKxkP.js",app:"_app/immutable/entry/app.GsRB66E3.js",imports:["_app/immutable/entry/start.BRiLKxkP.js","_app/immutable/chunks/B52eEgfS.js","_app/immutable/chunks/DP2RCIpD.js","_app/immutable/chunks/0o9CXqwM.js","_app/immutable/entry/app.GsRB66E3.js","_app/immutable/chunks/DP2RCIpD.js","_app/immutable/chunks/BMwnALyW.js","_app/immutable/chunks/CTzuk7kM.js","_app/immutable/chunks/0o9CXqwM.js","_app/immutable/chunks/DAD_eSlp.js"],stylesheets:[],fonts:[],uses_env_dynamic_public:false},
-		nodes: [
-			__memo(() => import('./nodes/0.js')),
-			__memo(() => import('./nodes/1.js'))
-		],
-		remotes: {
-			
-		},
-		routes: [
-			
-		],
-		prerendered_routes: new Set(["/","/about"]),
-		matchers: async () => {
-			
-			return {  };
-		},
-		server_assets: {}
-	}
-}
-})();

+ 0 - 13
.svelte-kit/output/server/nodes/0.js

@@ -1,13 +0,0 @@
-
-
-export const index = 0;
-let component_cache;
-export const component = async () => component_cache ??= (await import('../entries/pages/_layout.svelte.js')).default;
-export const universal = {
-  "prerender": true,
-  "ssr": false
-};
-export const universal_id = "src/routes/+layout.js";
-export const imports = ["_app/immutable/nodes/0.Dy0HAjLh.js","_app/immutable/chunks/CTzuk7kM.js","_app/immutable/chunks/DP2RCIpD.js"];
-export const stylesheets = ["_app/immutable/assets/0.CZ29-3n4.css"];
-export const fonts = [];

+ 0 - 8
.svelte-kit/output/server/nodes/1.js

@@ -1,8 +0,0 @@
-
-
-export const index = 1;
-let component_cache;
-export const component = async () => component_cache ??= (await import('../entries/fallbacks/error.svelte.js')).default;
-export const imports = ["_app/immutable/nodes/1.BIU0hnJi.js","_app/immutable/chunks/CTzuk7kM.js","_app/immutable/chunks/DP2RCIpD.js","_app/immutable/chunks/BMwnALyW.js","_app/immutable/chunks/B52eEgfS.js","_app/immutable/chunks/0o9CXqwM.js"];
-export const stylesheets = [];
-export const fonts = [];

+ 0 - 8
.svelte-kit/output/server/nodes/2.js

@@ -1,8 +0,0 @@
-
-
-export const index = 2;
-let component_cache;
-export const component = async () => component_cache ??= (await import('../entries/pages/_page.svelte.js')).default;
-export const imports = ["_app/immutable/nodes/2.CuA8MeGj.js","_app/immutable/chunks/CTzuk7kM.js","_app/immutable/chunks/DP2RCIpD.js","_app/immutable/chunks/0o9CXqwM.js","_app/immutable/chunks/BMwnALyW.js","_app/immutable/chunks/DAD_eSlp.js","_app/immutable/chunks/DHGsjvch.js"];
-export const stylesheets = ["_app/immutable/assets/2.BtvKmGZk.css"];
-export const fonts = [];

+ 0 - 8
.svelte-kit/output/server/nodes/3.js

@@ -1,8 +0,0 @@
-
-
-export const index = 3;
-let component_cache;
-export const component = async () => component_cache ??= (await import('../entries/pages/about/_page.svelte.js')).default;
-export const imports = ["_app/immutable/nodes/3.BkYYogoY.js","_app/immutable/chunks/CTzuk7kM.js","_app/immutable/chunks/DP2RCIpD.js","_app/immutable/chunks/0o9CXqwM.js","_app/immutable/chunks/BMwnALyW.js","_app/immutable/chunks/DAD_eSlp.js","_app/immutable/chunks/DHGsjvch.js"];
-export const stylesheets = ["_app/immutable/assets/3.DVfGQhyw.css"];
-export const fonts = [];

+ 0 - 730
.svelte-kit/output/server/remote-entry.js

@@ -1,730 +0,0 @@
-import { get_request_store, with_request_store } from "@sveltejs/kit/internal/server";
-import { parse } from "devalue";
-import { error, json } from "@sveltejs/kit";
-import { v as stringify_remote_arg, f as create_remote_key, w as unfriendly_hydratable, k as stringify, M as MUTATIVE_METHODS, x as create_field_proxy, y as normalize_issue, z as set_nested_value, A as flatten_issues, B as deep_set, h as handle_error_and_jsonify, p as parse_remote_arg } from "./chunks/shared.js";
-import { ValidationError, HttpError, SvelteKitError } from "@sveltejs/kit/internal";
-import { B as BROWSER } from "./chunks/false.js";
-import { b as base, c as app_dir, p as prerendering } from "./chunks/environment.js";
-function create_validator(validate_or_fn, maybe_fn) {
-  if (!maybe_fn) {
-    return (arg) => {
-      if (arg !== void 0) {
-        error(400, "Bad Request");
-      }
-    };
-  }
-  if (validate_or_fn === "unchecked") {
-    return (arg) => arg;
-  }
-  if ("~standard" in validate_or_fn) {
-    return async (arg) => {
-      const { event, state } = get_request_store();
-      const result = await validate_or_fn["~standard"].validate(arg);
-      if (result.issues) {
-        error(
-          400,
-          await state.handleValidationError({
-            issues: result.issues,
-            event
-          })
-        );
-      }
-      return result.value;
-    };
-  }
-  throw new Error(
-    'Invalid validator passed to remote function. Expected "unchecked" or a Standard Schema (https://standardschema.dev)'
-  );
-}
-async function get_response(internals, arg, state, get_result) {
-  await 0;
-  const cache = get_cache(internals, state);
-  const key = stringify_remote_arg(arg, state.transport);
-  const entry = cache[key] ??= {
-    serialize: false,
-    data: get_result()
-  };
-  entry.serialize ||= !!state.is_in_universal_load;
-  if (state.is_in_render && internals.id) {
-    const remote_key = create_remote_key(internals.id, key);
-    Promise.resolve(entry.data).then((value) => {
-      void unfriendly_hydratable(remote_key, () => stringify(value, state.transport));
-    }).catch(() => {
-    });
-  }
-  return entry.data;
-}
-function parse_remote_response(data, transport) {
-  const revivers = {};
-  for (const key in transport) {
-    revivers[key] = transport[key].decode;
-  }
-  return parse(data, revivers);
-}
-async function run_remote_function(event, state, allow_cookies, get_input, fn) {
-  const store = {
-    event: {
-      ...event,
-      setHeaders: () => {
-        throw new Error("setHeaders is not allowed in remote functions");
-      },
-      cookies: {
-        ...event.cookies,
-        set: (name, value, opts) => {
-          if (!allow_cookies) {
-            throw new Error("Cannot set cookies in `query` or `prerender` functions");
-          }
-          if (opts.path && !opts.path.startsWith("/")) {
-            throw new Error("Cookies set in remote functions must have an absolute path");
-          }
-          return event.cookies.set(name, value, opts);
-        },
-        delete: (name, opts) => {
-          if (!allow_cookies) {
-            throw new Error("Cannot delete cookies in `query` or `prerender` functions");
-          }
-          if (opts.path && !opts.path.startsWith("/")) {
-            throw new Error("Cookies deleted in remote functions must have an absolute path");
-          }
-          return event.cookies.delete(name, opts);
-        }
-      }
-    },
-    state: {
-      ...state,
-      is_in_remote_function: true
-    }
-  };
-  const input = await with_request_store(store, get_input);
-  return with_request_store(store, () => fn(input));
-}
-function get_cache(internals, state = get_request_store().state) {
-  let cache = state.remote.data?.get(internals);
-  if (cache === void 0) {
-    cache = {};
-    (state.remote.data ??= /* @__PURE__ */ new Map()).set(internals, cache);
-  }
-  return cache;
-}
-// @__NO_SIDE_EFFECTS__
-function command(validate_or_fn, maybe_fn) {
-  const fn = maybe_fn ?? validate_or_fn;
-  const validate = create_validator(validate_or_fn, maybe_fn);
-  const __ = { type: "command", id: "", name: "" };
-  const wrapper = (arg) => {
-    const { event, state } = get_request_store();
-    if (!MUTATIVE_METHODS.includes(event.request.method)) {
-      throw new Error(
-        `Cannot call a command (\`${__.name}(${maybe_fn ? "..." : ""})\`) from a ${event.request.method} handler`
-      );
-    }
-    if (state.is_in_render) {
-      throw new Error(
-        `Cannot call a command (\`${__.name}(${maybe_fn ? "..." : ""})\`) during server-side rendering`
-      );
-    }
-    state.remote.refreshes ??= {};
-    const promise = Promise.resolve(
-      run_remote_function(event, state, true, () => validate(arg), fn)
-    );
-    promise.updates = () => {
-      throw new Error(`Cannot call '${__.name}(...).updates(...)' on the server`);
-    };
-    return (
-      /** @type {ReturnType<RemoteCommand<Input, Output>>} */
-      promise
-    );
-  };
-  Object.defineProperty(wrapper, "__", { value: __ });
-  Object.defineProperty(wrapper, "pending", {
-    get: () => 0
-  });
-  return wrapper;
-}
-// @__NO_SIDE_EFFECTS__
-function form(validate_or_fn, maybe_fn) {
-  const fn = maybe_fn ?? validate_or_fn;
-  const schema = !maybe_fn || validate_or_fn === "unchecked" ? null : (
-    /** @type {any} */
-    validate_or_fn
-  );
-  function create_instance(key) {
-    const instance = {};
-    instance.method = "POST";
-    Object.defineProperty(instance, "enhance", {
-      value: () => {
-        return { action: instance.action, method: instance.method };
-      }
-    });
-    const __ = {
-      type: "form",
-      name: "",
-      id: "",
-      fn: async (data, meta, form_data) => {
-        const output = {};
-        output.submission = true;
-        const { event, state } = get_request_store();
-        const validated = await schema?.["~standard"].validate(data);
-        if (meta.validate_only) {
-          return validated?.issues?.map((issue) => normalize_issue(issue, true)) ?? [];
-        }
-        if (validated?.issues !== void 0) {
-          handle_issues(output, validated.issues, form_data);
-        } else {
-          if (validated !== void 0) {
-            data = validated.value;
-          }
-          state.remote.refreshes ??= {};
-          const issue = create_issues();
-          try {
-            output.result = await run_remote_function(
-              event,
-              state,
-              true,
-              () => data,
-              (data2) => !maybe_fn ? fn() : fn(data2, issue)
-            );
-          } catch (e) {
-            if (e instanceof ValidationError) {
-              handle_issues(output, e.issues, form_data);
-            } else {
-              throw e;
-            }
-          }
-        }
-        if (!event.isRemoteRequest) {
-          get_cache(__, state)[""] ??= { serialize: true, data: output };
-        }
-        return output;
-      }
-    };
-    Object.defineProperty(instance, "__", { value: __ });
-    Object.defineProperty(instance, "action", {
-      get: () => `?/remote=${__.id}`,
-      enumerable: true
-    });
-    Object.defineProperty(instance, "fields", {
-      get() {
-        return create_field_proxy(
-          {},
-          () => get_cache(__)?.[""]?.data?.input ?? {},
-          (path, value) => {
-            const cache = get_cache(__);
-            const entry = cache[""];
-            if (entry?.data?.submission) {
-              return;
-            }
-            if (path.length === 0) {
-              (cache[""] ??= { serialize: true, data: {} }).data.input = value;
-              return;
-            }
-            const input = entry?.data?.input ?? {};
-            deep_set(input, path.map(String), value);
-            (cache[""] ??= { serialize: true, data: {} }).data.input = input;
-          },
-          () => flatten_issues(get_cache(__)?.[""]?.data?.issues ?? [])
-        );
-      }
-    });
-    Object.defineProperty(instance, "result", {
-      get() {
-        try {
-          return get_cache(__)?.[""]?.data?.result;
-        } catch {
-          return void 0;
-        }
-      }
-    });
-    Object.defineProperty(instance, "pending", {
-      get: () => 0
-    });
-    Object.defineProperty(instance, "preflight", {
-      // preflight is a noop on the server
-      value: () => instance
-    });
-    Object.defineProperty(instance, "validate", {
-      value: () => {
-        throw new Error("Cannot call validate() on the server");
-      }
-    });
-    if (key == void 0) {
-      Object.defineProperty(instance, "for", {
-        /** @type {RemoteForm<any, any>['for']} */
-        value: (key2) => {
-          const { state } = get_request_store();
-          const cache_key = __.id + "|" + JSON.stringify(key2);
-          let instance2 = (state.remote.forms ??= /* @__PURE__ */ new Map()).get(cache_key);
-          if (!instance2) {
-            instance2 = create_instance(key2);
-            instance2.__.id = `${__.id}/${encodeURIComponent(JSON.stringify(key2))}`;
-            instance2.__.name = __.name;
-            state.remote.forms.set(cache_key, instance2);
-          }
-          return instance2;
-        }
-      });
-    }
-    return instance;
-  }
-  return create_instance();
-}
-function handle_issues(output, issues, form_data) {
-  output.issues = issues.map((issue) => normalize_issue(issue, true));
-  if (form_data) {
-    output.input = {};
-    for (let key of form_data.keys()) {
-      if (/^[.\]]?_/.test(key)) continue;
-      const is_array = key.endsWith("[]");
-      const values = form_data.getAll(key).filter((value) => typeof value === "string");
-      if (is_array) key = key.slice(0, -2);
-      set_nested_value(
-        /** @type {Record<string, any>} */
-        output.input,
-        key,
-        is_array ? values : values[0]
-      );
-    }
-  }
-}
-function create_issues() {
-  return (
-    /** @type {InvalidField<any>} */
-    new Proxy(
-      /** @param {string} message */
-      (message) => {
-        if (typeof message !== "string") {
-          throw new Error(
-            "`invalid` should now be imported from `@sveltejs/kit` to throw validation issues. The second parameter provided to the form function (renamed to `issue`) is still used to construct issues, e.g. `invalid(issue.field('message'))`. For more info see https://github.com/sveltejs/kit/pulls/14768"
-          );
-        }
-        return create_issue(message);
-      },
-      {
-        get(target, prop) {
-          if (typeof prop === "symbol") return (
-            /** @type {any} */
-            target[prop]
-          );
-          return create_issue_proxy(prop, []);
-        }
-      }
-    )
-  );
-  function create_issue(message, path = []) {
-    return {
-      message,
-      path
-    };
-  }
-  function create_issue_proxy(key, path) {
-    const new_path = [...path, key];
-    const issue_func = (message) => create_issue(message, new_path);
-    return new Proxy(issue_func, {
-      get(target, prop) {
-        if (typeof prop === "symbol") return (
-          /** @type {any} */
-          target[prop]
-        );
-        if (/^\d+$/.test(prop)) {
-          return create_issue_proxy(parseInt(prop, 10), new_path);
-        }
-        return create_issue_proxy(prop, new_path);
-      }
-    });
-  }
-}
-// @__NO_SIDE_EFFECTS__
-function prerender(validate_or_fn, fn_or_options, maybe_options) {
-  const maybe_fn = typeof fn_or_options === "function" ? fn_or_options : void 0;
-  const options = maybe_options ?? (maybe_fn ? void 0 : fn_or_options);
-  const fn = maybe_fn ?? validate_or_fn;
-  const validate = create_validator(validate_or_fn, maybe_fn);
-  const __ = {
-    type: "prerender",
-    id: "",
-    name: "",
-    has_arg: !!maybe_fn,
-    inputs: options?.inputs,
-    dynamic: options?.dynamic
-  };
-  const wrapper = (arg) => {
-    const promise = (async () => {
-      const { event, state } = get_request_store();
-      const payload = stringify_remote_arg(arg, state.transport);
-      const id = __.id;
-      const url = `${base}/${app_dir}/remote/${id}${payload ? `/${payload}` : ""}`;
-      if (!state.prerendering && !BROWSER && !event.isRemoteRequest) {
-        try {
-          return await get_response(__, arg, state, async () => {
-            const key = stringify_remote_arg(arg, state.transport);
-            const cache = get_cache(__, state);
-            const promise3 = (cache[key] ??= {
-              serialize: true,
-              data: fetch(new URL(url, event.url.origin).href).then(async (response) => {
-                if (!response.ok) {
-                  throw new Error("Prerendered response not found");
-                }
-                const prerendered = await response.json();
-                if (prerendered.type === "error") {
-                  error(prerendered.status, prerendered.error);
-                }
-                return prerendered.result;
-              })
-            }).data;
-            return parse_remote_response(await promise3, state.transport);
-          });
-        } catch {
-        }
-      }
-      if (state.prerendering?.remote_responses.has(url)) {
-        return (
-          /** @type {Promise<any>} */
-          state.prerendering.remote_responses.get(url)
-        );
-      }
-      const promise2 = get_response(
-        __,
-        arg,
-        state,
-        () => run_remote_function(event, state, false, () => validate(arg), fn)
-      );
-      if (state.prerendering) {
-        state.prerendering.remote_responses.set(url, promise2);
-      }
-      const result = await promise2;
-      if (state.prerendering) {
-        const body = { type: "result", result: stringify(result, state.transport) };
-        state.prerendering.dependencies.set(url, {
-          body: JSON.stringify(body),
-          response: json(body)
-        });
-      }
-      return result;
-    })();
-    promise.catch(() => {
-    });
-    return (
-      /** @type {RemoteResource<Output>} */
-      promise
-    );
-  };
-  Object.defineProperty(wrapper, "__", { value: __ });
-  return wrapper;
-}
-// @__NO_SIDE_EFFECTS__
-function query(validate_or_fn, maybe_fn) {
-  const fn = maybe_fn ?? validate_or_fn;
-  const validate = create_validator(validate_or_fn, maybe_fn);
-  const __ = { type: "query", id: "", name: "", validate };
-  const wrapper = (arg) => {
-    if (prerendering) {
-      throw new Error(
-        `Cannot call query '${__.name}' while prerendering, as prerendered pages need static data. Use 'prerender' from $app/server instead`
-      );
-    }
-    const { event, state } = get_request_store();
-    const is_validated = is_validated_argument(__, state, arg);
-    return create_query_resource(
-      __,
-      arg,
-      state,
-      () => run_remote_function(event, state, false, () => is_validated ? arg : validate(arg), fn)
-    );
-  };
-  Object.defineProperty(wrapper, "__", { value: __ });
-  return wrapper;
-}
-function is_validated_argument(__, state, arg) {
-  return state.remote.validated?.get(__.id)?.has(arg) ?? false;
-}
-function mark_argument_validated(__, state, arg) {
-  const validated = state.remote.validated ??= /* @__PURE__ */ new Map();
-  let validated_args = validated.get(__.id);
-  if (!validated_args) {
-    validated_args = /* @__PURE__ */ new Set();
-    validated.set(__.id, validated_args);
-  }
-  validated_args.add(arg);
-  return arg;
-}
-// @__NO_SIDE_EFFECTS__
-function batch(validate_or_fn, maybe_fn) {
-  const fn = maybe_fn ?? validate_or_fn;
-  const validate = create_validator(validate_or_fn, maybe_fn);
-  const __ = {
-    type: "query_batch",
-    id: "",
-    name: "",
-    run: async (args, options) => {
-      const { event, state } = get_request_store();
-      return run_remote_function(
-        event,
-        state,
-        false,
-        async () => Promise.all(args.map(validate)),
-        async (input) => {
-          const get_result = await fn(input);
-          return Promise.all(
-            input.map(async (arg, i) => {
-              try {
-                const data = get_result(arg, i);
-                return { type: "result", data: stringify(data, state.transport) };
-              } catch (error2) {
-                return {
-                  type: "error",
-                  error: await handle_error_and_jsonify(event, state, options, error2),
-                  status: error2 instanceof HttpError || error2 instanceof SvelteKitError ? error2.status : 500
-                };
-              }
-            })
-          );
-        }
-      );
-    }
-  };
-  let batching = /* @__PURE__ */ new Map();
-  const wrapper = (arg) => {
-    if (prerendering) {
-      throw new Error(
-        `Cannot call query.batch '${__.name}' while prerendering, as prerendered pages need static data. Use 'prerender' from $app/server instead`
-      );
-    }
-    const { event, state } = get_request_store();
-    return create_query_resource(__, arg, state, () => {
-      return new Promise((resolve, reject) => {
-        const key = stringify_remote_arg(arg, state.transport);
-        const entry = batching.get(key);
-        if (entry) {
-          entry.resolvers.push({ resolve, reject });
-          return;
-        }
-        batching.set(key, {
-          arg,
-          resolvers: [{ resolve, reject }]
-        });
-        if (batching.size > 1) return;
-        setTimeout(async () => {
-          const batched = batching;
-          batching = /* @__PURE__ */ new Map();
-          const entries = Array.from(batched.values());
-          const args = entries.map((entry2) => entry2.arg);
-          try {
-            return await run_remote_function(
-              event,
-              state,
-              false,
-              async () => Promise.all(args.map(validate)),
-              async (input) => {
-                const get_result = await fn(input);
-                for (let i = 0; i < entries.length; i++) {
-                  try {
-                    const result = get_result(input[i], i);
-                    for (const resolver of entries[i].resolvers) {
-                      resolver.resolve(result);
-                    }
-                  } catch (error2) {
-                    for (const resolver of entries[i].resolvers) {
-                      resolver.reject(error2);
-                    }
-                  }
-                }
-              }
-            );
-          } catch (error2) {
-            for (const entry2 of batched.values()) {
-              for (const resolver of entry2.resolvers) {
-                resolver.reject(error2);
-              }
-            }
-          }
-        }, 0);
-      });
-    });
-  };
-  Object.defineProperty(wrapper, "__", { value: __ });
-  return wrapper;
-}
-function create_query_resource(__, arg, state, fn) {
-  let promise = null;
-  const get_promise = () => {
-    return promise ??= get_response(__, arg, state, fn);
-  };
-  return {
-    /** @type {Promise<any>['catch']} */
-    catch(onrejected) {
-      return get_promise().catch(onrejected);
-    },
-    current: void 0,
-    error: void 0,
-    /** @type {Promise<any>['finally']} */
-    finally(onfinally) {
-      return get_promise().finally(onfinally);
-    },
-    loading: true,
-    ready: false,
-    refresh() {
-      const refresh_context = get_refresh_context(__, "refresh", arg);
-      const is_immediate_refresh = !refresh_context.cache[refresh_context.cache_key];
-      const value = is_immediate_refresh ? get_promise() : fn();
-      return update_refresh_value(refresh_context, value, is_immediate_refresh);
-    },
-    run() {
-      if (!state.is_in_universal_load) {
-        throw new Error(
-          "On the server, .run() can only be called in universal `load` functions. Anywhere else, just await the query directly"
-        );
-      }
-      return get_response(__, arg, state, fn);
-    },
-    /** @param {any} value */
-    set(value) {
-      return update_refresh_value(get_refresh_context(__, "set", arg), value);
-    },
-    /** @type {Promise<any>['then']} */
-    then(onfulfilled, onrejected) {
-      return get_promise().then(onfulfilled, onrejected);
-    },
-    withOverride() {
-      throw new Error(`Cannot call '${__.name}.withOverride()' on the server`);
-    },
-    get [Symbol.toStringTag]() {
-      return "QueryResource";
-    }
-  };
-}
-Object.defineProperty(query, "batch", { value: batch, enumerable: true });
-function get_refresh_context(__, action, arg) {
-  const { state } = get_request_store();
-  const { refreshes } = state.remote;
-  if (!refreshes) {
-    const name = __.type === "query_batch" ? `query.batch '${__.name}'` : `query '${__.name}'`;
-    throw new Error(
-      `Cannot call ${action} on ${name} because it is not executed in the context of a command/form remote function`
-    );
-  }
-  const cache = get_cache(__, state);
-  const cache_key = stringify_remote_arg(arg, state.transport);
-  const refreshes_key = create_remote_key(__.id, cache_key);
-  return { __, state, refreshes, refreshes_key, cache, cache_key };
-}
-function update_refresh_value({ __, refreshes, refreshes_key, cache, cache_key }, value, is_immediate_refresh = false) {
-  const promise = Promise.resolve(value);
-  if (!is_immediate_refresh) {
-    cache[cache_key] = { serialize: true, data: promise };
-  }
-  if (__.id) {
-    refreshes[refreshes_key] = promise;
-  }
-  return promise.then(
-    () => {
-    },
-    () => {
-    }
-  );
-}
-function requested(query2, limit = Infinity) {
-  const { state } = get_request_store();
-  const internals = (
-    /** @type {RemoteQueryInternals | undefined} */
-    /** @type {any} */
-    query2.__
-  );
-  if (!internals || internals.type !== "query") {
-    throw new Error("requested(...) expects a query function created with query(...)");
-  }
-  const requested2 = state.remote.requested;
-  const payloads = requested2?.get(internals.id) ?? [];
-  const refreshes = state.remote.refreshes ??= {};
-  const [selected, skipped] = split_limit(payloads, limit);
-  const record_failure = (payload, error2) => {
-    const promise = Promise.reject(error2);
-    promise.catch(() => {
-    });
-    const key = create_remote_key(internals.id, payload);
-    refreshes[key] = promise;
-  };
-  for (const payload of skipped) {
-    record_failure(
-      payload,
-      new Error(
-        `Requested refresh was rejected because it exceeded requested(${internals.name}, ${limit}) limit`
-      )
-    );
-  }
-  return {
-    *[Symbol.iterator]() {
-      for (const payload of selected) {
-        try {
-          const parsed = parse_remote_arg(payload, state.transport);
-          const validated = internals.validate(parsed);
-          if (is_thenable(validated)) {
-            throw new Error(
-              // TODO improve
-              `requested(${internals.name}, ${limit}) cannot be used with synchronous iteration because the query validator is async. Use \`for await ... of\` instead`
-            );
-          }
-          yield mark_argument_validated(internals, state, validated);
-        } catch (error2) {
-          record_failure(payload, error2);
-          continue;
-        }
-      }
-    },
-    async *[Symbol.asyncIterator]() {
-      yield* race_all(selected, async (payload) => {
-        try {
-          const parsed = parse_remote_arg(payload, state.transport);
-          const validated = await internals.validate(parsed);
-          return mark_argument_validated(internals, state, validated);
-        } catch (error2) {
-          record_failure(payload, error2);
-          throw new Error(`Skipping ${internals.name}(${payload})`, { cause: error2 });
-        }
-      });
-    },
-    async refreshAll() {
-      for await (const arg of this) {
-        void query2(arg).refresh();
-      }
-    }
-  };
-}
-function split_limit(array, limit) {
-  if (limit === Infinity) {
-    return [array, []];
-  }
-  if (!Number.isInteger(limit) || limit < 0) {
-    throw new Error("Limit must be a non-negative integer or Infinity");
-  }
-  return [array.slice(0, limit), array.slice(limit)];
-}
-function is_thenable(value) {
-  return !!value && (typeof value === "object" || typeof value === "function") && "then" in value;
-}
-async function* race_all(array, fn) {
-  const pending = /* @__PURE__ */ new Set();
-  for (const value of array) {
-    const promise = Promise.resolve(fn(value)).then((result) => ({
-      promise,
-      value: result
-    }));
-    promise.catch(() => {
-    });
-    pending.add(promise);
-  }
-  while (pending.size > 0) {
-    try {
-      const { promise, value } = await Promise.race(pending);
-      pending.delete(promise);
-      yield value;
-    } catch {
-    }
-  }
-}
-export {
-  command,
-  form,
-  prerender,
-  query,
-  requested
-};

+ 0 - 52
.svelte-kit/tsconfig.json

@@ -1,52 +0,0 @@
-{
-	"compilerOptions": {
-		"paths": {
-			"$app/types": [
-				"./types/index.d.ts"
-			]
-		},
-		"rootDirs": [
-			"..",
-			"./types"
-		],
-		"verbatimModuleSyntax": true,
-		"isolatedModules": true,
-		"lib": [
-			"esnext",
-			"DOM",
-			"DOM.Iterable"
-		],
-		"moduleResolution": "bundler",
-		"module": "esnext",
-		"noEmit": true,
-		"target": "esnext",
-		"types": [
-			"node"
-		]
-	},
-	"include": [
-		"ambient.d.ts",
-		"non-ambient.d.ts",
-		"./types/**/$types.d.ts",
-		"../vite.config.js",
-		"../vite.config.ts",
-		"../src/**/*.js",
-		"../src/**/*.ts",
-		"../src/**/*.svelte",
-		"../test/**/*.js",
-		"../test/**/*.ts",
-		"../test/**/*.svelte",
-		"../tests/**/*.js",
-		"../tests/**/*.ts",
-		"../tests/**/*.svelte"
-	],
-	"exclude": [
-		"../node_modules/**",
-		"../src/service-worker.js",
-		"../src/service-worker/**/*.js",
-		"../src/service-worker.ts",
-		"../src/service-worker/**/*.ts",
-		"../src/service-worker.d.ts",
-		"../src/service-worker/**/*.d.ts"
-	]
-}

+ 0 - 1
dist/_app/env.js

@@ -1 +0,0 @@
-export const env={}

Різницю між файлами не показано, бо вона завелика
+ 0 - 0
dist/_app/immutable/assets/0.CZ29-3n4.css


Різницю між файлами не показано, бо вона завелика
+ 0 - 0
dist/_app/immutable/assets/2.BtvKmGZk.css


Різницю між файлами не показано, бо вона завелика
+ 0 - 0
dist/_app/immutable/assets/3.DVfGQhyw.css


+ 0 - 1
dist/_app/immutable/chunks/0o9CXqwM.js

@@ -1 +0,0 @@
-import{C as o,D as t,F as c,G as l}from"./DP2RCIpD.js";function u(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function r(e){t===null&&u(),c&&t.l!==null?a(t).m.push(e):o(()=>{const n=l(e);if(typeof n=="function")return n})}function a(e){var n=e.l;return n.u??={a:[],b:[],m:[]}}export{r as o};

Різницю між файлами не показано, бо вона завелика
+ 0 - 0
dist/_app/immutable/chunks/B52eEgfS.js


Різницю між файлами не показано, бо вона завелика
+ 0 - 0
dist/_app/immutable/chunks/BMwnALyW.js


+ 0 - 1
dist/_app/immutable/chunks/CTzuk7kM.js

@@ -1 +0,0 @@
-import{K as v,k as d,M as l,O as u,P as T,T as p,Q as h,o as i,q as s,R as E,x as y,S as g,A as w,U as M}from"./DP2RCIpD.js";const N=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:t=>t});function x(t){return N?.createHTML(t)??t}function A(t){var r=v("template");return r.innerHTML=x(t.replaceAll("<!>","<!---->")),r.content}function n(t,r){var e=l;e.nodes===null&&(e.nodes={start:t,end:r,a:null,t:null})}function P(t,r){var e=(r&p)!==0,f=(r&h)!==0,a,_=!t.startsWith("<!>");return()=>{if(i)return n(s,null),s;a===void 0&&(a=A(_?t:"<!>"+t),e||(a=u(a)));var o=f||T?document.importNode(a,!0):a.cloneNode(!0);if(e){var c=u(o),m=o.lastChild;n(c,m)}else n(o,o);return o}}function R(t=""){if(!i){var r=d(t+"");return n(r,r),r}var e=s;return e.nodeType!==g?(e.before(e=d()),w(e)):M(e),n(e,e),e}function b(){if(i)return n(s,null),s;var t=document.createDocumentFragment(),r=document.createComment(""),e=d();return t.append(r,e),n(r,e),t}function C(t,r){if(i){var e=l;((e.f&E)===0||e.nodes.end===null)&&(e.nodes.end=s),y();return}t!==null&&t.before(r)}const L="5";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add(L);export{C as a,n as b,b as c,P as f,R as t};

+ 0 - 1
dist/_app/immutable/chunks/DAD_eSlp.js

@@ -1 +0,0 @@
-import{h as m,i as c,j as b,k as u,l as _,m as k,o,q as v,u as g,v as y,w,x as A,E as x,y as E,z as F,A as M,B as p}from"./DP2RCIpD.js";class B{anchor;#t=new Map;#s=new Map;#e=new Map;#a=new Set;#i=!0;constructor(t,s=!0){this.anchor=t,this.#i=s}#r=t=>{if(this.#t.has(t)){var s=this.#t.get(t),e=this.#s.get(s);if(e)m(e),this.#a.delete(s);else{var r=this.#e.get(s);r&&(this.#s.set(s,r.effect),this.#e.delete(s),r.fragment.lastChild.remove(),this.anchor.before(r.fragment),e=r.effect)}for(const[i,f]of this.#t){if(this.#t.delete(i),i===t)break;const a=this.#e.get(f);a&&(c(a.effect),this.#e.delete(f))}for(const[i,f]of this.#s){if(i===s||this.#a.has(i))continue;const a=()=>{if(Array.from(this.#t.values()).includes(i)){var h=document.createDocumentFragment();g(f,h),h.append(u()),this.#e.set(i,{effect:f,fragment:h})}else c(f);this.#a.delete(i),this.#s.delete(i)};this.#i||!e?(this.#a.add(i),b(f,a,!1)):a()}}};#f=t=>{this.#t.delete(t);const s=Array.from(this.#t.values());for(const[e,r]of this.#e)s.includes(e)||(c(r.effect),this.#e.delete(e))};ensure(t,s){var e=k,r=y();if(s&&!this.#s.has(t)&&!this.#e.has(t))if(r){var i=document.createDocumentFragment(),f=u();i.append(f),this.#e.set(t,{effect:_(()=>s(f)),fragment:i})}else this.#s.set(t,_(()=>s(this.anchor)));if(this.#t.set(e,t),r){for(const[a,n]of this.#s)a===t?e.unskip_effect(n):e.skip_effect(n);for(const[a,n]of this.#e)a===t?e.unskip_effect(n.effect):e.skip_effect(n.effect);e.oncommit(this.#r),e.ondiscard(this.#f)}else o&&(this.anchor=v),this.#r(e)}}function C(d,t,s=!1){var e;o&&(e=v,A());var r=new B(d),i=s?x:0;function f(a,n){if(o){var h=E(e);if(a!==parseInt(h.substring(1))){var l=F();M(l),r.anchor=l,p(!1),r.ensure(a,n),p(!0);return}}r.ensure(a,n)}w(()=>{var a=!1;t((n,h=0)=>{a=!0,f(h,n)}),a||f(-1,null)},i)}export{B,C as i};

Різницю між файлами не показано, бо вона завелика
+ 0 - 0
dist/_app/immutable/chunks/DHGsjvch.js


Різницю між файлами не показано, бо вона завелика
+ 0 - 0
dist/_app/immutable/chunks/DP2RCIpD.js


Різницю між файлами не показано, бо вона завелика
+ 0 - 1
dist/_app/immutable/entry/app.GsRB66E3.js


+ 0 - 1
dist/_app/immutable/entry/start.BRiLKxkP.js

@@ -1 +0,0 @@
-import{l as o,a as r}from"../chunks/B52eEgfS.js";export{o as load_css,r as start};

+ 0 - 1
dist/_app/immutable/nodes/0.Dy0HAjLh.js

@@ -1 +0,0 @@
-import{c as l,a as f}from"../chunks/CTzuk7kM.js";import{o as s,x as i,V as c,f as d}from"../chunks/DP2RCIpD.js";function u(r,e,a,t,y){s&&i();var n=e.$$slots?.[a],o=!1;n===!0&&(n=e.children,o=!0),n===void 0||n(r,o?()=>t:t)}const _=!0,m=!1,v=Object.freeze(Object.defineProperty({__proto__:null,prerender:_,ssr:m},Symbol.toStringTag,{value:"Module"}));c();function b(r,e){var a=l(),t=d(a);u(t,e,"default",{}),f(r,a)}export{b as component,v as universal};

+ 0 - 1
dist/_app/immutable/nodes/1.BIU0hnJi.js

@@ -1 +0,0 @@
-import{a as i,f as h}from"../chunks/CTzuk7kM.js";import{p as g,f as v,t as d,a as l,c as a,r as s,b as _}from"../chunks/DP2RCIpD.js";import{s as o}from"../chunks/BMwnALyW.js";import{s as x,p}from"../chunks/B52eEgfS.js";const $={get error(){return p.error},get status(){return p.status}};x.updated.check;const m=$;var b=h("<h1> </h1> <p> </p>",1);function w(c,f){g(f,!0);var t=b(),r=v(t),n=a(r,!0);s(r);var e=_(r,2),u=a(e,!0);s(e),d(()=>{o(n,m.status),o(u,m.error?.message)}),i(c,t),l()}export{w as component};

Різницю між файлами не показано, бо вона завелика
+ 0 - 0
dist/_app/immutable/nodes/2.CuA8MeGj.js


Різницю між файлами не показано, бо вона завелика
+ 0 - 0
dist/_app/immutable/nodes/3.BkYYogoY.js


+ 0 - 1
dist/_app/version.json

@@ -1 +0,0 @@
-{"version":"1775852332484"}

Деякі файли не було показано, через те що забагато файлів було змінено