wherever-dev 0.2.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/dist/index.js +217 -17
  2. package/dist/index.js.map +1 -1
  3. package/dist/protocol.d.ts +21 -1
  4. package/dist/protocol.d.ts.map +1 -1
  5. package/dist/protocol.js +5 -1
  6. package/dist/protocol.js.map +1 -1
  7. package/dist/session-pool.d.ts +92 -2
  8. package/dist/session-pool.d.ts.map +1 -1
  9. package/dist/session-pool.js +466 -14
  10. package/dist/session-pool.js.map +1 -1
  11. package/dist/session-types.d.ts +17 -0
  12. package/dist/session-types.d.ts.map +1 -1
  13. package/package.json +1 -1
  14. package/public/_app/immutable/assets/0.CgLKPJWX.css +1 -0
  15. package/public/_app/immutable/chunks/CEg8tgYI.js +2 -0
  16. package/public/_app/immutable/chunks/CEg8tgYI.js.map +1 -0
  17. package/public/_app/immutable/chunks/CTVuBuYH.js +2 -0
  18. package/public/_app/immutable/chunks/{B5WJGjcR.js.map → CTVuBuYH.js.map} +1 -1
  19. package/public/_app/immutable/chunks/DBDAFnY6.js +2 -0
  20. package/public/_app/immutable/chunks/{BqMutrfe.js.map → DBDAFnY6.js.map} +1 -1
  21. package/public/_app/immutable/chunks/MtE7VtNZ.js +2 -0
  22. package/public/_app/immutable/chunks/{DiYtJzYU.js.map → MtE7VtNZ.js.map} +1 -1
  23. package/public/_app/immutable/chunks/S778j9fy.js +2 -0
  24. package/public/_app/immutable/chunks/{_lppinj8.js.map → S778j9fy.js.map} +1 -1
  25. package/public/_app/immutable/chunks/vMsF8lo6.js +3 -0
  26. package/public/_app/immutable/chunks/{DFxBx2vA.js.map → vMsF8lo6.js.map} +1 -1
  27. package/public/_app/immutable/chunks/ylfInSZr.js +2 -0
  28. package/public/_app/immutable/chunks/{BEWoN05F.js.map → ylfInSZr.js.map} +1 -1
  29. package/public/_app/immutable/entry/app.CklFlIiC.js +3 -0
  30. package/public/_app/immutable/entry/app.CklFlIiC.js.map +1 -0
  31. package/public/_app/immutable/entry/start.sF1k4jCY.js +2 -0
  32. package/public/_app/immutable/entry/start.sF1k4jCY.js.map +1 -0
  33. package/public/_app/immutable/nodes/0.BEHRw2jv.js +4 -0
  34. package/public/_app/immutable/nodes/{0.BzvDOlXz.js.map → 0.BEHRw2jv.js.map} +1 -1
  35. package/public/_app/immutable/nodes/1.2gk2c-6t.js +2 -0
  36. package/public/_app/immutable/nodes/{1.DMtW3tA5.js.map → 1.2gk2c-6t.js.map} +1 -1
  37. package/public/_app/immutable/nodes/2.Dto-NrSs.js +82 -0
  38. package/public/_app/immutable/nodes/2.Dto-NrSs.js.map +1 -0
  39. package/public/_app/version.json +1 -1
  40. package/public/index.html +16 -16
  41. package/public/pwa/apple-touch-icon.png +0 -0
  42. package/public/pwa/favicon-192.png +0 -0
  43. package/public/pwa/favicon-512.png +0 -0
  44. package/public/pwa/favicon.ico +0 -0
  45. package/public/pwa/favicon.svg +1 -0
  46. package/public/pwa/manifest.webmanifest +31 -7
  47. package/public/pwa/maskable-192.png +0 -0
  48. package/public/pwa/maskable-512.png +0 -0
  49. package/public/pwa/screenshot-desktop.png +0 -0
  50. package/public/pwa/screenshot-mobile.png +0 -0
  51. package/public/robots.txt +5 -0
  52. package/public/service-worker.js +1 -305
  53. package/public/_app/immutable/assets/0.DvZxoQjW.css +0 -2754
  54. package/public/_app/immutable/chunks/B5WJGjcR.js +0 -23
  55. package/public/_app/immutable/chunks/BEWoN05F.js +0 -110
  56. package/public/_app/immutable/chunks/BqMutrfe.js +0 -2129
  57. package/public/_app/immutable/chunks/DFxBx2vA.js +0 -897
  58. package/public/_app/immutable/chunks/DiYtJzYU.js +0 -396
  59. package/public/_app/immutable/chunks/_lppinj8.js +0 -879
  60. package/public/_app/immutable/chunks/rMw82gDs.js +0 -3048
  61. package/public/_app/immutable/chunks/rMw82gDs.js.map +0 -1
  62. package/public/_app/immutable/entry/app.BFki2czn.js +0 -309
  63. package/public/_app/immutable/entry/app.BFki2czn.js.map +0 -1
  64. package/public/_app/immutable/entry/start.BceUuq27.js +0 -6
  65. package/public/_app/immutable/entry/start.BceUuq27.js.map +0 -1
  66. package/public/_app/immutable/nodes/0.BzvDOlXz.js +0 -546
  67. package/public/_app/immutable/nodes/1.DMtW3tA5.js +0 -24
  68. package/public/_app/immutable/nodes/2.CnZp8abw.js +0 -5152
  69. package/public/_app/immutable/nodes/2.CnZp8abw.js.map +0 -1
  70. package/public/icon.png +0 -0
@@ -1,309 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.BzvDOlXz.js","../chunks/rMw82gDs.js","../chunks/_lppinj8.js","../chunks/BqMutrfe.js","../chunks/B5WJGjcR.js","../chunks/DFxBx2vA.js","../chunks/DiYtJzYU.js","../assets/0.DvZxoQjW.css","../nodes/1.DMtW3tA5.js","../nodes/2.CnZp8abw.js","../chunks/BEWoN05F.js"])))=>i.map(i=>d[i]);
2
- import { b as bind_this, _ as __vitePreload } from "../chunks/BEWoN05F.js";
3
- import { ap as hydrating, an as hydrate_next, Q as block, l as EFFECT_TRANSPARENT, aP as read_hydration_instruction, b4 as skip_nodes, a$ as set_hydrate_node, b0 as set_hydrating, o as HYDRATION_START, ao as hydrate_node, aX as set, L as LEGACY_PROPS, ag as get, ae as flushSync, a4 as define_property, aF as mutable_source, aN as push, bg as user_pre_effect, bf as user_effect, aI as onMount, bc as tick, ad as first_child, b3 as sibling, aK as pop, b6 as state, V as child, aS as reset, bb as template_effect, be as user_derived } from "../chunks/rMw82gDs.js";
4
- import { h as hydrate, m as mount, u as unmount, a as append, c as comment, f as from_html, t as text, s as set_text } from "../chunks/DFxBx2vA.js";
5
- import { B as BranchManager, p as prop, i as if_block } from "../chunks/DiYtJzYU.js";
6
- function component(node, get_component, render_fn) {
7
- var hydration_start_node;
8
- if (hydrating) {
9
- hydration_start_node = hydrate_node;
10
- hydrate_next();
11
- }
12
- var branches = new BranchManager(node);
13
- block(() => {
14
- var component2 = get_component() ?? null;
15
- if (hydrating) {
16
- var data = read_hydration_instruction(
17
- /** @type {TemplateNode} */
18
- hydration_start_node
19
- );
20
- var server_had_component = data === HYDRATION_START;
21
- var client_has_component = component2 !== null;
22
- if (server_had_component !== client_has_component) {
23
- var anchor = skip_nodes();
24
- set_hydrate_node(anchor);
25
- branches.anchor = anchor;
26
- set_hydrating(false);
27
- branches.ensure(component2, component2 && ((target) => render_fn(target, component2)));
28
- set_hydrating(true);
29
- return;
30
- }
31
- }
32
- branches.ensure(component2, component2 && ((target) => render_fn(target, component2)));
33
- }, EFFECT_TRANSPARENT);
34
- }
35
- function asClassComponent(component2) {
36
- return class extends Svelte4Component {
37
- /** @param {any} options */
38
- constructor(options) {
39
- super({
40
- component: component2,
41
- ...options
42
- });
43
- }
44
- };
45
- }
46
- class Svelte4Component {
47
- /** @type {any} */
48
- #events;
49
- /** @type {Record<string, any>} */
50
- #instance;
51
- /**
52
- * @param {ComponentConstructorOptions & {
53
- * component: any;
54
- * }} options
55
- */
56
- constructor(options) {
57
- var sources = /* @__PURE__ */ new Map();
58
- var add_source = (key, value) => {
59
- var s = mutable_source(value, false, false);
60
- sources.set(key, s);
61
- return s;
62
- };
63
- const props = new Proxy(
64
- { ...options.props || {}, $$events: {} },
65
- {
66
- get(target, prop2) {
67
- return get(sources.get(prop2) ?? add_source(prop2, Reflect.get(target, prop2)));
68
- },
69
- has(target, prop2) {
70
- if (prop2 === LEGACY_PROPS) return true;
71
- get(sources.get(prop2) ?? add_source(prop2, Reflect.get(target, prop2)));
72
- return Reflect.has(target, prop2);
73
- },
74
- set(target, prop2, value) {
75
- set(sources.get(prop2) ?? add_source(prop2, value), value);
76
- return Reflect.set(target, prop2, value);
77
- }
78
- }
79
- );
80
- this.#instance = (options.hydrate ? hydrate : mount)(options.component, {
81
- target: options.target,
82
- anchor: options.anchor,
83
- props,
84
- context: options.context,
85
- intro: options.intro ?? false,
86
- recover: options.recover,
87
- transformError: options.transformError
88
- });
89
- if (!options?.props?.$$host || options.sync === false) {
90
- flushSync();
91
- }
92
- this.#events = props.$$events;
93
- for (const key of Object.keys(this.#instance)) {
94
- if (key === "$set" || key === "$destroy" || key === "$on") continue;
95
- define_property(this, key, {
96
- get() {
97
- return this.#instance[key];
98
- },
99
- /** @param {any} value */
100
- set(value) {
101
- this.#instance[key] = value;
102
- },
103
- enumerable: true
104
- });
105
- }
106
- this.#instance.$set = /** @param {Record<string, any>} next */
107
- (next) => {
108
- Object.assign(props, next);
109
- };
110
- this.#instance.$destroy = () => {
111
- unmount(this.#instance);
112
- };
113
- }
114
- /** @param {Record<string, any>} props */
115
- $set(props) {
116
- this.#instance.$set(props);
117
- }
118
- /**
119
- * @param {string} event
120
- * @param {(...args: any[]) => any} callback
121
- * @returns {any}
122
- */
123
- $on(event, callback) {
124
- this.#events[event] = this.#events[event] || [];
125
- const cb = (...args) => callback.call(this, ...args);
126
- this.#events[event].push(cb);
127
- return () => {
128
- this.#events[event] = this.#events[event].filter(
129
- /** @param {any} fn */
130
- (fn) => fn !== cb
131
- );
132
- };
133
- }
134
- $destroy() {
135
- this.#instance.$destroy();
136
- }
137
- }
138
- const matchers = {};
139
- var root_4 = from_html(`<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"><!></div>`);
140
- var root$1 = from_html(`<!> <!>`, 1);
141
- function Root($$anchor, $$props) {
142
- push($$props, true);
143
- let components = prop($$props, "components", 23, () => []), data_0 = prop($$props, "data_0", 3, null), data_1 = prop($$props, "data_1", 3, null);
144
- {
145
- user_pre_effect(() => $$props.stores.page.set($$props.page));
146
- }
147
- user_effect(() => {
148
- $$props.stores;
149
- $$props.page;
150
- $$props.constructors;
151
- components();
152
- $$props.form;
153
- data_0();
154
- data_1();
155
- $$props.stores.page.notify();
156
- });
157
- let mounted = state(false);
158
- let navigated = state(false);
159
- let title = state(null);
160
- onMount(() => {
161
- const unsubscribe = $$props.stores.page.subscribe(() => {
162
- if (get(mounted)) {
163
- set(navigated, true);
164
- tick().then(() => {
165
- set(title, document.title || "untitled page", true);
166
- });
167
- }
168
- });
169
- set(mounted, true);
170
- return unsubscribe;
171
- });
172
- const Pyramid_1 = user_derived(() => $$props.constructors[1]);
173
- var fragment = root$1();
174
- var node = first_child(fragment);
175
- {
176
- var consequent = ($$anchor2) => {
177
- const Pyramid_0 = user_derived(() => $$props.constructors[0]);
178
- var fragment_1 = comment();
179
- var node_1 = first_child(fragment_1);
180
- component(node_1, () => get(Pyramid_0), ($$anchor3, Pyramid_0_1) => {
181
- bind_this(
182
- Pyramid_0_1($$anchor3, {
183
- get data() {
184
- return data_0();
185
- },
186
- get form() {
187
- return $$props.form;
188
- },
189
- get params() {
190
- return $$props.page.params;
191
- },
192
- children: ($$anchor4, $$slotProps) => {
193
- var fragment_2 = comment();
194
- var node_2 = first_child(fragment_2);
195
- component(node_2, () => get(Pyramid_1), ($$anchor5, Pyramid_1_1) => {
196
- bind_this(
197
- Pyramid_1_1($$anchor5, {
198
- get data() {
199
- return data_1();
200
- },
201
- get form() {
202
- return $$props.form;
203
- },
204
- get params() {
205
- return $$props.page.params;
206
- }
207
- }),
208
- ($$value) => components()[1] = $$value,
209
- () => components()?.[1]
210
- );
211
- });
212
- append($$anchor4, fragment_2);
213
- },
214
- $$slots: { default: true }
215
- }),
216
- ($$value) => components()[0] = $$value,
217
- () => components()?.[0]
218
- );
219
- });
220
- append($$anchor2, fragment_1);
221
- };
222
- var alternate = ($$anchor2) => {
223
- const Pyramid_0 = user_derived(() => $$props.constructors[0]);
224
- var fragment_3 = comment();
225
- var node_3 = first_child(fragment_3);
226
- component(node_3, () => get(Pyramid_0), ($$anchor3, Pyramid_0_2) => {
227
- bind_this(
228
- Pyramid_0_2($$anchor3, {
229
- get data() {
230
- return data_0();
231
- },
232
- get form() {
233
- return $$props.form;
234
- },
235
- get params() {
236
- return $$props.page.params;
237
- }
238
- }),
239
- ($$value) => components()[0] = $$value,
240
- () => components()?.[0]
241
- );
242
- });
243
- append($$anchor2, fragment_3);
244
- };
245
- if_block(node, ($$render) => {
246
- if ($$props.constructors[1]) $$render(consequent);
247
- else $$render(alternate, -1);
248
- });
249
- }
250
- var node_4 = sibling(node, 2);
251
- {
252
- var consequent_2 = ($$anchor2) => {
253
- var div = root_4();
254
- var node_5 = child(div);
255
- {
256
- var consequent_1 = ($$anchor3) => {
257
- var text$1 = text();
258
- template_effect(() => set_text(text$1, get(title)));
259
- append($$anchor3, text$1);
260
- };
261
- if_block(node_5, ($$render) => {
262
- if (get(navigated)) $$render(consequent_1);
263
- });
264
- }
265
- reset(div);
266
- append($$anchor2, div);
267
- };
268
- if_block(node_4, ($$render) => {
269
- if (get(mounted)) $$render(consequent_2);
270
- });
271
- }
272
- append($$anchor, fragment);
273
- pop();
274
- }
275
- const root = asClassComponent(Root);
276
- const nodes = [
277
- () => __vitePreload(() => import("../nodes/0.BzvDOlXz.js"), true ? __vite__mapDeps([0,1,2,3,4,5,6,7]) : void 0, import.meta.url),
278
- () => __vitePreload(() => import("../nodes/1.DMtW3tA5.js"), true ? __vite__mapDeps([8,5,1,4,3]) : void 0, import.meta.url),
279
- () => __vitePreload(() => import("../nodes/2.CnZp8abw.js"), true ? __vite__mapDeps([9,5,1,6,2,3,4,10]) : void 0, import.meta.url)
280
- ];
281
- const server_loads = [];
282
- const dictionary = {
283
- "/": [2]
284
- };
285
- const hooks = {
286
- handleError: (({ error }) => {
287
- console.error(error);
288
- }),
289
- reroute: (() => {
290
- }),
291
- transport: {}
292
- };
293
- const decoders = Object.fromEntries(Object.entries(hooks.transport).map(([k, v]) => [k, v.decode]));
294
- const encoders = Object.fromEntries(Object.entries(hooks.transport).map(([k, v]) => [k, v.encode]));
295
- const hash = false;
296
- const decode = (type, value) => decoders[type](value);
297
- export {
298
- decode,
299
- decoders,
300
- dictionary,
301
- encoders,
302
- hash,
303
- hooks,
304
- matchers,
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GAAG,EAAE,MAAM,CAAC,CAAC;AAC7F,MAAC,WAAW,OAAO,YAAY,OAAO,QAAQ,MAAM,SAAS,EAAE,IAAI,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;AAE7F,MAAC,OAAO;AAER,MAAC,SAAS,CAAC,MAAM,UAAU,SAAS,IAAI,EAAE,KAAK","names":["component","prop","$.prop","$.user_pre_effect","$.user_effect","$.state","$.get","$.set","$$anchor"],"ignoreList":[0,1],"sources":["../../../../../../../node_modules/.pnpm/svelte@5.55.9/node_modules/svelte/src/internal/client/dom/blocks/svelte-component.js","../../../../../../../node_modules/.pnpm/svelte@5.55.9/node_modules/svelte/src/legacy/legacy-client.js","../../../../../generated/client-optimized/matchers.js","../../../../../generated/root.svelte","../../../../../generated/root.js","../../../../../generated/client-optimized/app.js"],"sourcesContent":["/** @import { TemplateNode, Dom } from '#client' */\nimport { EFFECT_TRANSPARENT } from '#client/constants';\nimport { block } from '../../reactivity/effects.js';\nimport {\n\thydrate_next,\n\thydrate_node,\n\thydrating,\n\tread_hydration_instruction,\n\tset_hydrate_node,\n\tset_hydrating,\n\tskip_nodes\n} from '../hydration.js';\nimport { BranchManager } from './branches.js';\nimport { HYDRATION_START, HYDRATION_START_ELSE } from '../../../../constants.js';\n\n/**\n * @template P\n * @template {(props: P) => void} C\n * @param {TemplateNode} node\n * @param {() => C} get_component\n * @param {(anchor: TemplateNode, component: C) => Dom | void} render_fn\n * @returns {void}\n */\nexport function component(node, get_component, render_fn) {\n\t/** @type {TemplateNode | undefined} */\n\tvar hydration_start_node;\n\n\tif (hydrating) {\n\t\thydration_start_node = hydrate_node;\n\t\thydrate_next();\n\t}\n\n\tvar branches = new BranchManager(node);\n\n\tblock(() => {\n\t\tvar component = get_component() ?? null;\n\n\t\tif (hydrating) {\n\t\t\tvar data = read_hydration_instruction(/** @type {TemplateNode} */ (hydration_start_node));\n\n\t\t\tvar server_had_component = data === HYDRATION_START;\n\t\t\tvar client_has_component = component !== null;\n\n\t\t\tif (server_had_component !== client_has_component) {\n\t\t\t\t// Hydration mismatch: skip the server-rendered nodes and render fresh\n\t\t\t\tvar anchor = skip_nodes();\n\n\t\t\t\tset_hydrate_node(anchor);\n\t\t\t\tbranches.anchor = anchor;\n\n\t\t\t\tset_hydrating(false);\n\t\t\t\tbranches.ensure(component, component && ((target) => render_fn(target, component)));\n\t\t\t\tset_hydrating(true);\n\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\n\t\tbranches.ensure(component, component && ((target) => render_fn(target, component)));\n\t}, EFFECT_TRANSPARENT);\n}\n","/** @import { ComponentConstructorOptions, ComponentType, SvelteComponent, Component } from 'svelte' */\nimport { DIRTY, LEGACY_PROPS, MAYBE_DIRTY } from '../internal/client/constants.js';\nimport { user_pre_effect } from '../internal/client/reactivity/effects.js';\nimport { mutable_source, set } from '../internal/client/reactivity/sources.js';\nimport { hydrate, mount, unmount } from '../internal/client/render.js';\nimport { active_effect, get } from '../internal/client/runtime.js';\nimport { flushSync } from '../internal/client/reactivity/batch.js';\nimport { define_property, is_array } from '../internal/shared/utils.js';\nimport * as e from '../internal/client/errors.js';\nimport * as w from '../internal/client/warnings.js';\nimport { DEV } from 'esm-env';\nimport { FILENAME } from '../constants.js';\nimport { component_context, dev_current_component_function } from '../internal/client/context.js';\nimport { async_mode_flag } from '../internal/flags/index.js';\nimport { set_signal_status } from '../internal/client/reactivity/status.js';\n\n/**\n * Takes the same options as a Svelte 4 component and the component function and returns a Svelte 4 compatible component.\n *\n * @deprecated Use this only as a temporary solution to migrate your imperative component code to Svelte 5.\n *\n * @template {Record<string, any>} Props\n * @template {Record<string, any>} Exports\n * @template {Record<string, any>} Events\n * @template {Record<string, any>} Slots\n *\n * @param {ComponentConstructorOptions<Props> & {\n * \tcomponent: ComponentType<SvelteComponent<Props, Events, Slots>> | Component<Props>;\n * }} options\n * @returns {SvelteComponent<Props, Events, Slots> & Exports}\n */\nexport function createClassComponent(options) {\n\t// @ts-expect-error $$prop_def etc are not actually defined\n\treturn new Svelte4Component(options);\n}\n\n/**\n * Takes the component function and returns a Svelte 4 compatible component constructor.\n *\n * @deprecated Use this only as a temporary solution to migrate your imperative component code to Svelte 5.\n *\n * @template {Record<string, any>} Props\n * @template {Record<string, any>} Exports\n * @template {Record<string, any>} Events\n * @template {Record<string, any>} Slots\n *\n * @param {SvelteComponent<Props, Events, Slots> | Component<Props>} component\n * @returns {ComponentType<SvelteComponent<Props, Events, Slots> & Exports>}\n */\nexport function asClassComponent(component) {\n\t// @ts-expect-error $$prop_def etc are not actually defined\n\treturn class extends Svelte4Component {\n\t\t/** @param {any} options */\n\t\tconstructor(options) {\n\t\t\tsuper({\n\t\t\t\tcomponent,\n\t\t\t\t...options\n\t\t\t});\n\t\t}\n\t};\n}\n\n/**\n * Support using the component as both a class and function during the transition period\n * @typedef {{new (o: ComponentConstructorOptions): SvelteComponent;(...args: Parameters<Component<Record<string, any>>>): ReturnType<Component<Record<string, any>, Record<string, any>>>;}} LegacyComponentType\n */\n\nclass Svelte4Component {\n\t/** @type {any} */\n\t#events;\n\n\t/** @type {Record<string, any>} */\n\t#instance;\n\n\t/**\n\t * @param {ComponentConstructorOptions & {\n\t * component: any;\n\t * }} options\n\t */\n\tconstructor(options) {\n\t\tvar sources = new Map();\n\n\t\t/**\n\t\t * @param {string | symbol} key\n\t\t * @param {unknown} value\n\t\t */\n\t\tvar add_source = (key, value) => {\n\t\t\tvar s = mutable_source(value, false, false);\n\t\t\tsources.set(key, s);\n\t\t\treturn s;\n\t\t};\n\n\t\t// Replicate coarse-grained props through a proxy that has a version source for\n\t\t// each property, which is incremented on updates to the property itself. Do not\n\t\t// use our $state proxy because that one has fine-grained reactivity.\n\t\tconst props = new Proxy(\n\t\t\t{ ...(options.props || {}), $$events: {} },\n\t\t\t{\n\t\t\t\tget(target, prop) {\n\t\t\t\t\treturn get(sources.get(prop) ?? add_source(prop, Reflect.get(target, prop)));\n\t\t\t\t},\n\t\t\t\thas(target, prop) {\n\t\t\t\t\t// Necessary to not throw \"invalid binding\" validation errors on the component side\n\t\t\t\t\tif (prop === LEGACY_PROPS) return true;\n\n\t\t\t\t\tget(sources.get(prop) ?? add_source(prop, Reflect.get(target, prop)));\n\t\t\t\t\treturn Reflect.has(target, prop);\n\t\t\t\t},\n\t\t\t\tset(target, prop, value) {\n\t\t\t\t\tset(sources.get(prop) ?? add_source(prop, value), value);\n\t\t\t\t\treturn Reflect.set(target, prop, value);\n\t\t\t\t}\n\t\t\t}\n\t\t);\n\n\t\tthis.#instance = (options.hydrate ? hydrate : mount)(options.component, {\n\t\t\ttarget: options.target,\n\t\t\tanchor: options.anchor,\n\t\t\tprops,\n\t\t\tcontext: options.context,\n\t\t\tintro: options.intro ?? false,\n\t\t\trecover: options.recover,\n\t\t\ttransformError: options.transformError\n\t\t});\n\n\t\t// We don't flushSync for custom element wrappers or if the user doesn't want it,\n\t\t// or if we're in async mode since `flushSync()` will fail\n\t\tif (!async_mode_flag && (!options?.props?.$$host || options.sync === false)) {\n\t\t\tflushSync();\n\t\t}\n\n\t\tthis.#events = props.$$events;\n\n\t\tfor (const key of Object.keys(this.#instance)) {\n\t\t\tif (key === '$set' || key === '$destroy' || key === '$on') continue;\n\t\t\tdefine_property(this, key, {\n\t\t\t\tget() {\n\t\t\t\t\treturn this.#instance[key];\n\t\t\t\t},\n\t\t\t\t/** @param {any} value */\n\t\t\t\tset(value) {\n\t\t\t\t\tthis.#instance[key] = value;\n\t\t\t\t},\n\t\t\t\tenumerable: true\n\t\t\t});\n\t\t}\n\n\t\tthis.#instance.$set = /** @param {Record<string, any>} next */ (next) => {\n\t\t\tObject.assign(props, next);\n\t\t};\n\n\t\tthis.#instance.$destroy = () => {\n\t\t\tunmount(this.#instance);\n\t\t};\n\t}\n\n\t/** @param {Record<string, any>} props */\n\t$set(props) {\n\t\tthis.#instance.$set(props);\n\t}\n\n\t/**\n\t * @param {string} event\n\t * @param {(...args: any[]) => any} callback\n\t * @returns {any}\n\t */\n\t$on(event, callback) {\n\t\tthis.#events[event] = this.#events[event] || [];\n\n\t\t/** @param {any[]} args */\n\t\tconst cb = (...args) => callback.call(this, ...args);\n\t\tthis.#events[event].push(cb);\n\t\treturn () => {\n\t\t\tthis.#events[event] = this.#events[event].filter(/** @param {any} fn */ (fn) => fn !== cb);\n\t\t};\n\t}\n\n\t$destroy() {\n\t\tthis.#instance.$destroy();\n\t}\n}\n\n/**\n * Runs the given function once immediately on the server, and works like `$effect.pre` on the client.\n *\n * @deprecated Use this only as a temporary solution to migrate your component code to Svelte 5.\n * @param {() => void | (() => void)} fn\n * @returns {void}\n */\nexport function run(fn) {\n\tuser_pre_effect(() => {\n\t\tfn();\n\t\tvar effect = /** @type {import('#client').Effect} */ (active_effect);\n\t\t// If the effect is immediately made dirty again, mark it as maybe dirty to emulate legacy behaviour\n\t\tif ((effect.f & DIRTY) !== 0) {\n\t\t\tlet filename = \"a file (we can't know which one)\";\n\t\t\tif (DEV) {\n\t\t\t\t// @ts-ignore\n\t\t\t\tfilename = dev_current_component_function?.[FILENAME] ?? filename;\n\t\t\t}\n\t\t\tw.legacy_recursive_reactive_block(filename);\n\t\t\tset_signal_status(effect, MAYBE_DIRTY);\n\t\t}\n\t});\n}\n\n/**\n * Function to mimic the multiple listeners available in svelte 4\n * @deprecated\n * @param {EventListener[]} handlers\n * @returns {EventListener}\n */\nexport function handlers(...handlers) {\n\treturn function (event) {\n\t\tconst { stopImmediatePropagation } = event;\n\t\tlet stopped = false;\n\n\t\tevent.stopImmediatePropagation = () => {\n\t\t\tstopped = true;\n\t\t\tstopImmediatePropagation.call(event);\n\t\t};\n\n\t\tconst errors = [];\n\n\t\tfor (const handler of handlers) {\n\t\t\ttry {\n\t\t\t\t// @ts-expect-error `this` is not typed\n\t\t\t\thandler?.call(this, event);\n\t\t\t} catch (e) {\n\t\t\t\terrors.push(e);\n\t\t\t}\n\n\t\t\tif (stopped) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tfor (let error of errors) {\n\t\t\tqueueMicrotask(() => {\n\t\t\t\tthrow error;\n\t\t\t});\n\t\t}\n\t};\n}\n\n/**\n * Function to create a `bubble` function that mimic the behavior of `on:click` without handler available in svelte 4.\n * @deprecated Use this only as a temporary solution to migrate your automatically delegated events in Svelte 5.\n */\nexport function createBubbler() {\n\tconst active_component_context = component_context;\n\tif (active_component_context === null) {\n\t\te.lifecycle_outside_component('createBubbler');\n\t}\n\n\treturn (/**@type {string}*/ type) => (/**@type {Event}*/ event) => {\n\t\tconst events = /** @type {Record<string, Function | Function[]>} */ (\n\t\t\tactive_component_context.s.$$events\n\t\t)?.[/** @type {any} */ (type)];\n\n\t\tif (events) {\n\t\t\tconst callbacks = is_array(events) ? events.slice() : [events];\n\t\t\tfor (const fn of callbacks) {\n\t\t\t\tfn.call(active_component_context.x, event);\n\t\t\t}\n\t\t\treturn !event.defaultPrevented;\n\t\t}\n\t\treturn true;\n\t};\n}\n\nexport {\n\tonce,\n\tpreventDefault,\n\tself,\n\tstopImmediatePropagation,\n\tstopPropagation,\n\ttrusted,\n\tpassive,\n\tnonpassive\n} from '../internal/client/dom/legacy/event-modifiers.js';\n","export const matchers = {};","<!-- This file is generated by @sveltejs/kit — do not edit it! -->\n<svelte:options runes={true} />\n<script>\n\timport { setContext, onMount, tick } from 'svelte';\n\timport { browser } from '$app/environment';\n\n\t// stores\n\tlet { stores, page, constructors, components = [], form, data_0 = null, data_1 = null } = $props();\n\n\tif (!browser) {\n\t\t// svelte-ignore state_referenced_locally\n\t\tsetContext('__svelte__', stores);\n\t}\n\n\tif (browser) {\n\t\t$effect.pre(() => stores.page.set(page));\n\t} else {\n\t\t// svelte-ignore state_referenced_locally\n\t\tstores.page.set(page);\n\t}\n\t$effect(() => {\n\t\tstores;page;constructors;components;form;data_0;data_1;\n\t\tstores.page.notify();\n\t});\n\n\tlet mounted = $state(false);\n\tlet navigated = $state(false);\n\tlet title = $state(null);\n\n\tonMount(() => {\n\t\tconst unsubscribe = stores.page.subscribe(() => {\n\t\t\tif (mounted) {\n\t\t\t\tnavigated = true;\n\t\t\t\ttick().then(() => {\n\t\t\t\t\ttitle = document.title || 'untitled page';\n\t\t\t\t});\n\t\t\t}\n\t\t});\n\n\t\tmounted = true;\n\t\treturn unsubscribe;\n\t});\n\n\tconst Pyramid_1=$derived(constructors[1])\n</script>\n\n{#if constructors[1]}\n\t{@const Pyramid_0 = constructors[0]}\n\t\t\t\t\t\t\t<!-- svelte-ignore binding_property_non_reactive -->\n\t\t\t\t\t\t\t<Pyramid_0 bind:this={components[0]} data={data_0} {form} params={page.params}>\n\t\t\t\t\t\t\t\t<!-- svelte-ignore binding_property_non_reactive -->\n\t\t\t\t\t\t\t\t\t\t<Pyramid_1 bind:this={components[1]} data={data_1} {form} params={page.params} />\n\t\t\t\t\t\t\t</Pyramid_0>\n\n{:else}\n\t{@const Pyramid_0 = constructors[0]}\n\t<!-- svelte-ignore binding_property_non_reactive -->\n\t<Pyramid_0 bind:this={components[0]} data={data_0} {form} params={page.params} />\n\n{/if}\n\n{#if mounted}\n\t<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\">\n\t\t{#if navigated}\n\t\t\t{title}\n\t\t{/if}\n\t</div>\n{/if}","import { asClassComponent } from 'svelte/legacy';\nimport Root from './root.svelte';\nexport default asClassComponent(Root);","export { matchers } from './matchers.js';\n\nexport const nodes = [\n\t() => import('./nodes/0'),\n\t() => import('./nodes/1'),\n\t() => import('./nodes/2')\n];\n\nexport const server_loads = [];\n\nexport const dictionary = {\n\t\t\"/\": [2]\n\t};\n\nexport const hooks = {\n\thandleError: (({ error }) => { console.error(error) }),\n\t\n\treroute: (() => {}),\n\ttransport: {}\n};\n\nexport const decoders = Object.fromEntries(Object.entries(hooks.transport).map(([k, v]) => [k, v.decode]));\nexport const encoders = Object.fromEntries(Object.entries(hooks.transport).map(([k, v]) => [k, v.encode]));\n\nexport const hash = false;\n\nexport const decode = (type, value) => decoders[type](value);\n\nexport { default as root } from '../root.js';"],"file":"app.BFki2czn.js"}
@@ -1,6 +0,0 @@
1
- import { l, s } from "../chunks/BqMutrfe.js";
2
- export {
3
- l as load_css,
4
- s as start
5
- };
6
- //# sourceMappingURL=start.BceUuq27.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"start.BceUuq27.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}