@sentropic/h2a 0.97.11 → 0.98.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/dist/bin.js +5 -1
- package/dist/bin.js.map +1 -1
- package/dist/cli-command-map.d.ts.map +1 -1
- package/dist/cli-command-map.js +2 -1
- package/dist/cli-command-map.js.map +1 -1
- package/dist/cli-contract.js +1 -1
- package/dist/cli-contract.js.map +1 -1
- package/dist/cli.d.ts +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +35 -10
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/runtime/cluster-mesh-messaging.d.ts +21 -0
- package/dist/runtime/cluster-mesh-messaging.d.ts.map +1 -0
- package/dist/runtime/cluster-mesh-messaging.js +129 -0
- package/dist/runtime/cluster-mesh-messaging.js.map +1 -0
- package/dist/runtime/identity/readers.d.ts.map +1 -1
- package/dist/runtime/identity/readers.js +25 -2
- package/dist/runtime/identity/readers.js.map +1 -1
- package/dist/runtime/local-files/succession-lock.d.ts +105 -17
- package/dist/runtime/local-files/succession-lock.d.ts.map +1 -1
- package/dist/runtime/local-files/succession-lock.js +320 -108
- package/dist/runtime/local-files/succession-lock.js.map +1 -1
- package/dist/runtime/mcp/agent-launch.d.ts +6 -3
- package/dist/runtime/mcp/agent-launch.d.ts.map +1 -1
- package/dist/runtime/mcp/agent-launch.js +146 -4
- package/dist/runtime/mcp/agent-launch.js.map +1 -1
- package/dist/runtime/mcp/handlers.d.ts +7 -2
- package/dist/runtime/mcp/handlers.d.ts.map +1 -1
- package/dist/runtime/mcp/handlers.js +9 -4
- package/dist/runtime/mcp/handlers.js.map +1 -1
- package/dist/runtime/mcp/identity-state.d.ts +5 -4
- package/dist/runtime/mcp/identity-state.d.ts.map +1 -1
- package/dist/runtime/mcp/identity-state.js +43 -4
- package/dist/runtime/mcp/identity-state.js.map +1 -1
- package/dist/runtime/mcp/server.d.ts +6 -2
- package/dist/runtime/mcp/server.d.ts.map +1 -1
- package/dist/runtime/mcp/server.js +6 -4
- package/dist/runtime/mcp/server.js.map +1 -1
- package/dist/runtime/mcp/stdio.d.ts +5 -1
- package/dist/runtime/mcp/stdio.d.ts.map +1 -1
- package/dist/runtime/mcp/stdio.js +117 -24
- package/dist/runtime/mcp/stdio.js.map +1 -1
- package/dist/runtime/mcp/tools.d.ts.map +1 -1
- package/dist/runtime/mcp/tools.js +4 -3
- package/dist/runtime/mcp/tools.js.map +1 -1
- package/dist/runtime/mcp-central.js +2 -2
- package/dist/runtime/mcp-central.js.map +1 -1
- package/dist/runtime/mcp-http/hosted-mcp-server.d.ts.map +1 -1
- package/dist/runtime/mcp-http/hosted-mcp-server.js +3 -0
- package/dist/runtime/mcp-http/hosted-mcp-server.js.map +1 -1
- package/dist/runtime/send.d.ts +11 -5
- package/dist/runtime/send.d.ts.map +1 -1
- package/dist/runtime/send.js +30 -4
- package/dist/runtime/send.js.map +1 -1
- package/dist/runtime/upgrade/index.d.ts +5 -5
- package/dist/runtime/upgrade/index.d.ts.map +1 -1
- package/dist/runtime/upgrade/index.js +16 -13
- package/dist/runtime/upgrade/index.js.map +1 -1
- package/focus-app/client/_app/immutable/chunks/zL3j6erO.js +2 -0
- package/focus-app/client/_app/immutable/chunks/zL3j6erO.js.br +0 -0
- package/focus-app/client/_app/immutable/chunks/zL3j6erO.js.gz +0 -0
- package/focus-app/client/_app/immutable/entry/{app.D_yfk55R.js → app.Dfo3Ymae.js} +2 -2
- package/focus-app/client/_app/immutable/entry/app.Dfo3Ymae.js.br +0 -0
- package/focus-app/client/_app/immutable/entry/app.Dfo3Ymae.js.gz +0 -0
- package/focus-app/client/_app/immutable/entry/start.BSQLtKUn.js +1 -0
- package/focus-app/client/_app/immutable/entry/start.BSQLtKUn.js.br +0 -0
- package/focus-app/client/_app/immutable/entry/start.BSQLtKUn.js.gz +0 -0
- package/focus-app/client/_app/immutable/nodes/{1.Jo1uWTw0.js → 1.B83XRsuv.js} +1 -1
- package/focus-app/client/_app/immutable/nodes/1.B83XRsuv.js.br +0 -0
- package/focus-app/client/_app/immutable/nodes/1.B83XRsuv.js.gz +0 -0
- package/focus-app/client/_app/version.json +1 -1
- package/focus-app/client/_app/version.json.br +1 -1
- package/focus-app/client/_app/version.json.gz +0 -0
- package/focus-app/h2a-focus.json +61 -61
- package/focus-app/handler.js +8 -8
- package/focus-app/index.js +8 -8
- package/focus-app/server/chunks/chunks/{AppShell.js-BoWxjmfr.js → AppShell.js-DT15_EBV.js} +2 -2
- package/focus-app/server/chunks/chunks/{AppShell.js-BoWxjmfr.js.map → AppShell.js-DT15_EBV.js.map} +1 -1
- package/focus-app/server/chunks/chunks/{exports.js-D45A8dcc.js → exports.js-BrfiJlPR.js} +3 -3
- package/focus-app/server/chunks/chunks/{exports.js-D45A8dcc.js.map → exports.js-BrfiJlPR.js.map} +1 -1
- package/focus-app/server/chunks/chunks/{index.js-e3L5MwfB.js → index.js-BY6_68Zf.js} +2 -2
- package/focus-app/server/chunks/chunks/{index.js-e3L5MwfB.js.map → index.js-BY6_68Zf.js.map} +1 -1
- package/focus-app/server/chunks/chunks/{internal.js-DAV-A6NO.js → internal.js-BDHE9Kn1.js} +3 -3
- package/focus-app/server/chunks/chunks/{internal.js-DAV-A6NO.js.map → internal.js-BDHE9Kn1.js.map} +1 -1
- package/focus-app/server/chunks/chunks/{root.js-CEypm32A.js → root.js-CZyc7gzj.js} +2 -2
- package/focus-app/server/chunks/chunks/{root.js-CEypm32A.js.map → root.js-CZyc7gzj.js.map} +1 -1
- package/focus-app/server/chunks/chunks/{utils.js-Bzpr6vQU.js → utils.js-DBwpgn00.js} +178 -51
- package/focus-app/server/chunks/chunks/utils.js-DBwpgn00.js.map +1 -0
- package/focus-app/server/chunks/entries/endpoints/api/actions/launch/{_server.ts.js-Cah_Ivgw.js → _server.ts.js-H2iyKDJx.js} +2 -2
- package/focus-app/server/chunks/entries/endpoints/api/actions/launch/{_server.ts.js-Cah_Ivgw.js.map → _server.ts.js-H2iyKDJx.js.map} +1 -1
- package/focus-app/server/chunks/entries/endpoints/api/decisions/inject/{_server.ts.js-DW5wvcgH.js → _server.ts.js-BuR515Qd.js} +2 -2
- package/focus-app/server/chunks/entries/endpoints/api/decisions/inject/{_server.ts.js-DW5wvcgH.js.map → _server.ts.js-BuR515Qd.js.map} +1 -1
- package/focus-app/server/chunks/entries/endpoints/api/dossiers/agent-memory/include/{_server.ts.js-C2jIx8Jr.js → _server.ts.js-Cs32vOYa.js} +2 -2
- package/focus-app/server/chunks/entries/endpoints/api/dossiers/agent-memory/include/{_server.ts.js-C2jIx8Jr.js.map → _server.ts.js-Cs32vOYa.js.map} +1 -1
- package/focus-app/server/chunks/entries/endpoints/api/h2a/targets/{_server.ts.js-BkAMLcHu.js → _server.ts.js-DbEqL92p.js} +2 -2
- package/focus-app/server/chunks/entries/endpoints/api/h2a/targets/{_server.ts.js-BkAMLcHu.js.map → _server.ts.js-DbEqL92p.js.map} +1 -1
- package/focus-app/server/chunks/entries/fallbacks/{error.svelte.js-BWuS92Wk.js → error.svelte.js-BzO57FOz.js} +5 -5
- package/focus-app/server/chunks/entries/fallbacks/{error.svelte.js-BWuS92Wk.js.map → error.svelte.js-BzO57FOz.js.map} +1 -1
- package/focus-app/server/chunks/entries/pages/{_layout.svelte.js-CKspI0Bw.js → _layout.svelte.js-BHXu1zZ0.js} +3 -3
- package/focus-app/server/chunks/entries/pages/{_layout.svelte.js-CKspI0Bw.js.map → _layout.svelte.js-BHXu1zZ0.js.map} +1 -1
- package/focus-app/server/chunks/entries/pages/{_page.svelte.js-B8EWZmZj.js → _page.svelte.js-DgcoCR_G.js} +4 -4
- package/focus-app/server/chunks/entries/pages/{_page.svelte.js-B8EWZmZj.js.map → _page.svelte.js-DgcoCR_G.js.map} +1 -1
- package/focus-app/server/chunks/entries/pages/dossier/agent-memory/{_page.svelte.js-BZvcKeya.js → _page.svelte.js-D8qUTYi2.js} +4 -4
- package/focus-app/server/chunks/entries/pages/dossier/agent-memory/{_page.svelte.js-BZvcKeya.js.map → _page.svelte.js-D8qUTYi2.js.map} +1 -1
- package/focus-app/server/chunks/{handler-BCBpURX0.js → handler-BidpBSFZ.js} +4 -4
- package/focus-app/server/chunks/{handler-BCBpURX0.js.map → handler-BidpBSFZ.js.map} +1 -1
- package/focus-app/server/chunks/{index.js-CZWB6FqQ.js → index.js-BNQ-AMZE.js} +5 -5
- package/focus-app/server/chunks/{index.js-CZWB6FqQ.js.map → index.js-BNQ-AMZE.js.map} +1 -1
- package/focus-app/server/chunks/{manifest.js-C2CyTiUe.js → manifest.js-CAtvBIjA.js} +10 -10
- package/focus-app/server/chunks/{manifest.js-C2CyTiUe.js.map → manifest.js-CAtvBIjA.js.map} +1 -1
- package/focus-app/server/chunks/nodes/{0.js-Cp9RMJ1x.js → 0.js-DyONiS9Y.js} +2 -2
- package/focus-app/server/chunks/nodes/{0.js-Cp9RMJ1x.js.map → 0.js-DyONiS9Y.js.map} +1 -1
- package/focus-app/server/chunks/nodes/1.js-C16cgDY2.js +9 -0
- package/focus-app/server/chunks/nodes/{1.js-DMWmTj0d.js.map → 1.js-C16cgDY2.js.map} +1 -1
- package/focus-app/server/chunks/nodes/{2.js-Dv8Q6LQc.js → 2.js-C16ONuI7.js} +2 -2
- package/focus-app/server/chunks/nodes/{2.js-Dv8Q6LQc.js.map → 2.js-C16ONuI7.js.map} +1 -1
- package/focus-app/server/chunks/nodes/{3.js-DJH-zOae.js → 3.js-DIZzznQP.js} +2 -2
- package/focus-app/server/chunks/nodes/{3.js-DJH-zOae.js.map → 3.js-DIZzznQP.js.map} +1 -1
- package/package.json +4 -4
- package/focus-app/client/_app/immutable/chunks/BgBtu3IQ.js +0 -2
- package/focus-app/client/_app/immutable/chunks/BgBtu3IQ.js.br +0 -0
- package/focus-app/client/_app/immutable/chunks/BgBtu3IQ.js.gz +0 -0
- package/focus-app/client/_app/immutable/entry/app.D_yfk55R.js.br +0 -0
- package/focus-app/client/_app/immutable/entry/app.D_yfk55R.js.gz +0 -0
- package/focus-app/client/_app/immutable/entry/start.CoQWYNTs.js +0 -1
- package/focus-app/client/_app/immutable/entry/start.CoQWYNTs.js.br +0 -2
- package/focus-app/client/_app/immutable/entry/start.CoQWYNTs.js.gz +0 -0
- package/focus-app/client/_app/immutable/nodes/1.Jo1uWTw0.js.br +0 -4
- package/focus-app/client/_app/immutable/nodes/1.Jo1uWTw0.js.gz +0 -0
- package/focus-app/server/chunks/chunks/utils.js-Bzpr6vQU.js.map +0 -1
- package/focus-app/server/chunks/nodes/1.js-DMWmTj0d.js +0 -9
|
@@ -10,12 +10,12 @@ return {
|
|
|
10
10
|
assets: new Set([]),
|
|
11
11
|
mimeTypes: {},
|
|
12
12
|
_: {
|
|
13
|
-
client: {start:"_app/immutable/entry/start.
|
|
13
|
+
client: {start:"_app/immutable/entry/start.BSQLtKUn.js",app:"_app/immutable/entry/app.Dfo3Ymae.js",imports:["_app/immutable/entry/start.BSQLtKUn.js","_app/immutable/chunks/zL3j6erO.js","_app/immutable/chunks/x-hq5fDG.js","_app/immutable/chunks/1NK_OeRJ.js","_app/immutable/entry/app.Dfo3Ymae.js","_app/immutable/chunks/x-hq5fDG.js","_app/immutable/chunks/B1veta3r.js","_app/immutable/chunks/kCE9wz0g.js","_app/immutable/chunks/1NK_OeRJ.js","_app/immutable/chunks/C6KhNEX3.js","_app/immutable/chunks/BZ4lcC0v.js"],stylesheets:[],fonts:[],uses_env_dynamic_public:false},
|
|
14
14
|
nodes: [
|
|
15
|
-
__memo(() => import('./nodes/0.js-
|
|
16
|
-
__memo(() => import('./nodes/1.js-
|
|
17
|
-
__memo(() => import('./nodes/2.js-
|
|
18
|
-
__memo(() => import('./nodes/3.js-
|
|
15
|
+
__memo(() => import('./nodes/0.js-DyONiS9Y.js')),
|
|
16
|
+
__memo(() => import('./nodes/1.js-C16cgDY2.js')),
|
|
17
|
+
__memo(() => import('./nodes/2.js-C16ONuI7.js')),
|
|
18
|
+
__memo(() => import('./nodes/3.js-DIZzznQP.js'))
|
|
19
19
|
],
|
|
20
20
|
remotes: {
|
|
21
21
|
|
|
@@ -33,28 +33,28 @@ return {
|
|
|
33
33
|
pattern: /^\/api\/actions\/launch\/?$/,
|
|
34
34
|
params: [],
|
|
35
35
|
page: null,
|
|
36
|
-
endpoint: __memo(() => import('./entries/endpoints/api/actions/launch/_server.ts.js-
|
|
36
|
+
endpoint: __memo(() => import('./entries/endpoints/api/actions/launch/_server.ts.js-H2iyKDJx.js'))
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
id: "/api/decisions/inject",
|
|
40
40
|
pattern: /^\/api\/decisions\/inject\/?$/,
|
|
41
41
|
params: [],
|
|
42
42
|
page: null,
|
|
43
|
-
endpoint: __memo(() => import('./entries/endpoints/api/decisions/inject/_server.ts.js-
|
|
43
|
+
endpoint: __memo(() => import('./entries/endpoints/api/decisions/inject/_server.ts.js-BuR515Qd.js'))
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
id: "/api/dossiers/agent-memory/include",
|
|
47
47
|
pattern: /^\/api\/dossiers\/agent-memory\/include\/?$/,
|
|
48
48
|
params: [],
|
|
49
49
|
page: null,
|
|
50
|
-
endpoint: __memo(() => import('./entries/endpoints/api/dossiers/agent-memory/include/_server.ts.js-
|
|
50
|
+
endpoint: __memo(() => import('./entries/endpoints/api/dossiers/agent-memory/include/_server.ts.js-Cs32vOYa.js'))
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
53
|
id: "/api/h2a/targets",
|
|
54
54
|
pattern: /^\/api\/h2a\/targets\/?$/,
|
|
55
55
|
params: [],
|
|
56
56
|
page: null,
|
|
57
|
-
endpoint: __memo(() => import('./entries/endpoints/api/h2a/targets/_server.ts.js-
|
|
57
|
+
endpoint: __memo(() => import('./entries/endpoints/api/h2a/targets/_server.ts.js-DbEqL92p.js'))
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
60
|
id: "/dossier/agent-memory",
|
|
@@ -75,4 +75,4 @@ return {
|
|
|
75
75
|
})();
|
|
76
76
|
|
|
77
77
|
export { manifest as m };
|
|
78
|
-
//# sourceMappingURL=manifest.js-
|
|
78
|
+
//# sourceMappingURL=manifest.js-CAtvBIjA.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest.js-
|
|
1
|
+
{"version":3,"file":"manifest.js-CAtvBIjA.js","sources":["../../../.svelte-kit/output/server/manifest.js"],"sourcesContent":["export const manifest = (() => {\nfunction __memo(fn) {\n\tlet value;\n\treturn () => value ??= (value = fn());\n}\n\nreturn {\n\tappDir: \"_app\",\n\tappPath: \"_app\",\n\tassets: new Set([]),\n\tmimeTypes: {},\n\t_: {\n\t\tclient: {start:\"_app/immutable/entry/start.BSQLtKUn.js\",app:\"_app/immutable/entry/app.Dfo3Ymae.js\",imports:[\"_app/immutable/entry/start.BSQLtKUn.js\",\"_app/immutable/chunks/zL3j6erO.js\",\"_app/immutable/chunks/x-hq5fDG.js\",\"_app/immutable/chunks/1NK_OeRJ.js\",\"_app/immutable/entry/app.Dfo3Ymae.js\",\"_app/immutable/chunks/x-hq5fDG.js\",\"_app/immutable/chunks/B1veta3r.js\",\"_app/immutable/chunks/kCE9wz0g.js\",\"_app/immutable/chunks/1NK_OeRJ.js\",\"_app/immutable/chunks/C6KhNEX3.js\",\"_app/immutable/chunks/BZ4lcC0v.js\"],stylesheets:[],fonts:[],uses_env_dynamic_public:false},\n\t\tnodes: [\n\t\t\t__memo(() => import('./nodes/0.js')),\n\t\t\t__memo(() => import('./nodes/1.js')),\n\t\t\t__memo(() => import('./nodes/2.js')),\n\t\t\t__memo(() => import('./nodes/3.js'))\n\t\t],\n\t\tremotes: {\n\t\t\t\n\t\t},\n\t\troutes: [\n\t\t\t{\n\t\t\t\tid: \"/\",\n\t\t\t\tpattern: /^\\/$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: { layouts: [0,], errors: [1,], leaf: 2 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/api/actions/launch\",\n\t\t\t\tpattern: /^\\/api\\/actions\\/launch\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: null,\n\t\t\t\tendpoint: __memo(() => import('./entries/endpoints/api/actions/launch/_server.ts.js'))\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/api/decisions/inject\",\n\t\t\t\tpattern: /^\\/api\\/decisions\\/inject\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: null,\n\t\t\t\tendpoint: __memo(() => import('./entries/endpoints/api/decisions/inject/_server.ts.js'))\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/api/dossiers/agent-memory/include\",\n\t\t\t\tpattern: /^\\/api\\/dossiers\\/agent-memory\\/include\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: null,\n\t\t\t\tendpoint: __memo(() => import('./entries/endpoints/api/dossiers/agent-memory/include/_server.ts.js'))\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/api/h2a/targets\",\n\t\t\t\tpattern: /^\\/api\\/h2a\\/targets\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: null,\n\t\t\t\tendpoint: __memo(() => import('./entries/endpoints/api/h2a/targets/_server.ts.js'))\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/dossier/agent-memory\",\n\t\t\t\tpattern: /^\\/dossier\\/agent-memory\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: { layouts: [0,], errors: [1,], leaf: 3 },\n\t\t\t\tendpoint: null\n\t\t\t}\n\t\t],\n\t\tprerendered_routes: new Set([]),\n\t\tmatchers: async () => {\n\t\t\t\n\t\t\treturn { };\n\t\t},\n\t\tserver_assets: {}\n\t}\n}\n})();\n"],"names":[],"mappings":"AAAY,MAAC,QAAQ,GAAG,CAAC,MAAM;AAC/B,SAAS,MAAM,CAAC,EAAE,EAAE;AACpB,CAAC,IAAI,KAAK;AACV,CAAC,OAAO,MAAM,KAAK,MAAM,KAAK,GAAG,EAAE,EAAE,CAAC;AACtC;;AAEA,OAAO;AACP,CAAC,MAAM,EAAE,MAAM;AACf,CAAC,OAAO,EAAE,MAAM;AAChB,CAAC,MAAM,EAAE,IAAI,GAAG,CAAC,EAAE,CAAC;AACpB,CAAC,SAAS,EAAE,EAAE;AACd,CAAC,CAAC,EAAE;AACJ,EAAE,MAAM,EAAE,CAAC,KAAK,CAAC,wCAAwC,CAAC,GAAG,CAAC,sCAAsC,CAAC,OAAO,CAAC,CAAC,wCAAwC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,sCAAsC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,CAAC,WAAW,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAAC,KAAK,CAAC;AACzjB,EAAE,KAAK,EAAE;AACT,GAAG,MAAM,CAAC,MAAM,OAAO,0BAAc,CAAC,CAAC;AACvC,GAAG,MAAM,CAAC,MAAM,OAAO,0BAAc,CAAC,CAAC;AACvC,GAAG,MAAM,CAAC,MAAM,OAAO,0BAAc,CAAC,CAAC;AACvC,GAAG,MAAM,CAAC,MAAM,OAAO,0BAAc,CAAC;AACtC,GAAG;AACH,EAAE,OAAO,EAAE;AACX;AACA,GAAG;AACH,EAAE,MAAM,EAAE;AACV,GAAG;AACH,IAAI,EAAE,EAAE,GAAG;AACX,IAAI,OAAO,EAAE,MAAM;AACnB,IAAI,MAAM,EAAE,EAAE;AACd,IAAI,IAAI,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE;AAClD,IAAI,QAAQ,EAAE;AACd,IAAI;AACJ,GAAG;AACH,IAAI,EAAE,EAAE,qBAAqB;AAC7B,IAAI,OAAO,EAAE,6BAA6B;AAC1C,IAAI,MAAM,EAAE,EAAE;AACd,IAAI,IAAI,EAAE,IAAI;AACd,IAAI,QAAQ,EAAE,MAAM,CAAC,MAAM,OAAO,kEAAsD,CAAC;AACzF,IAAI;AACJ,GAAG;AACH,IAAI,EAAE,EAAE,uBAAuB;AAC/B,IAAI,OAAO,EAAE,+BAA+B;AAC5C,IAAI,MAAM,EAAE,EAAE;AACd,IAAI,IAAI,EAAE,IAAI;AACd,IAAI,QAAQ,EAAE,MAAM,CAAC,MAAM,OAAO,oEAAwD,CAAC;AAC3F,IAAI;AACJ,GAAG;AACH,IAAI,EAAE,EAAE,oCAAoC;AAC5C,IAAI,OAAO,EAAE,6CAA6C;AAC1D,IAAI,MAAM,EAAE,EAAE;AACd,IAAI,IAAI,EAAE,IAAI;AACd,IAAI,QAAQ,EAAE,MAAM,CAAC,MAAM,OAAO,iFAAqE,CAAC;AACxG,IAAI;AACJ,GAAG;AACH,IAAI,EAAE,EAAE,kBAAkB;AAC1B,IAAI,OAAO,EAAE,0BAA0B;AACvC,IAAI,MAAM,EAAE,EAAE;AACd,IAAI,IAAI,EAAE,IAAI;AACd,IAAI,QAAQ,EAAE,MAAM,CAAC,MAAM,OAAO,+DAAmD,CAAC;AACtF,IAAI;AACJ,GAAG;AACH,IAAI,EAAE,EAAE,uBAAuB;AAC/B,IAAI,OAAO,EAAE,8BAA8B;AAC3C,IAAI,MAAM,EAAE,EAAE;AACd,IAAI,IAAI,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE;AAClD,IAAI,QAAQ,EAAE;AACd;AACA,GAAG;AACH,EAAE,kBAAkB,EAAE,IAAI,GAAG,CAAC,EAAE,CAAC;AACjC,EAAE,QAAQ,EAAE,YAAY;AACxB;AACA,GAAG,OAAO,IAAI;AACd,EAAE,CAAC;AACH,EAAE,aAAa,EAAE;AACjB;AACA;AACA,CAAC;;;;"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const index = 0;
|
|
2
2
|
let component_cache;
|
|
3
|
-
const component = async () => component_cache ??= (await import('../entries/pages/_layout.svelte.js-
|
|
3
|
+
const component = async () => component_cache ??= (await import('../entries/pages/_layout.svelte.js-BHXu1zZ0.js')).default;
|
|
4
4
|
const imports = ["_app/immutable/nodes/0.gLl44WzG.js","_app/immutable/chunks/kCE9wz0g.js","_app/immutable/chunks/x-hq5fDG.js","_app/immutable/chunks/Bu7F9NOv.js","_app/immutable/chunks/BZ4lcC0v.js"];
|
|
5
5
|
const stylesheets = ["_app/immutable/assets/0.CgEVz9YW.css"];
|
|
6
6
|
const fonts = [];
|
|
7
7
|
|
|
8
8
|
export { component, fonts, imports, index, stylesheets };
|
|
9
|
-
//# sourceMappingURL=0.js-
|
|
9
|
+
//# sourceMappingURL=0.js-DyONiS9Y.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0.js-
|
|
1
|
+
{"version":3,"file":"0.js-DyONiS9Y.js","sources":["../../../../.svelte-kit/output/server/nodes/0.js"],"sourcesContent":["\n\nexport const index = 0;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/_layout.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/0.gLl44WzG.js\",\"_app/immutable/chunks/kCE9wz0g.js\",\"_app/immutable/chunks/x-hq5fDG.js\",\"_app/immutable/chunks/Bu7F9NOv.js\",\"_app/immutable/chunks/BZ4lcC0v.js\"];\nexport const stylesheets = [\"_app/immutable/assets/0.CgEVz9YW.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,gDAAoC,CAAC,EAAE;AAClG,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AAChM,MAAC,WAAW,GAAG,CAAC,sCAAsC;AACtD,MAAC,KAAK,GAAG;;;;"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const index = 1;
|
|
2
|
+
let component_cache;
|
|
3
|
+
const component = async () => component_cache ??= (await import('../entries/fallbacks/error.svelte.js-BzO57FOz.js')).default;
|
|
4
|
+
const imports = ["_app/immutable/nodes/1.B83XRsuv.js","_app/immutable/chunks/kCE9wz0g.js","_app/immutable/chunks/x-hq5fDG.js","_app/immutable/chunks/B1veta3r.js","_app/immutable/chunks/zL3j6erO.js","_app/immutable/chunks/1NK_OeRJ.js"];
|
|
5
|
+
const stylesheets = [];
|
|
6
|
+
const fonts = [];
|
|
7
|
+
|
|
8
|
+
export { component, fonts, imports, index, stylesheets };
|
|
9
|
+
//# sourceMappingURL=1.js-C16cgDY2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"1.js-
|
|
1
|
+
{"version":3,"file":"1.js-C16cgDY2.js","sources":["../../../../.svelte-kit/output/server/nodes/1.js"],"sourcesContent":["\n\nexport const index = 1;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/fallbacks/error.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/1.B83XRsuv.js\",\"_app/immutable/chunks/kCE9wz0g.js\",\"_app/immutable/chunks/x-hq5fDG.js\",\"_app/immutable/chunks/B1veta3r.js\",\"_app/immutable/chunks/zL3j6erO.js\",\"_app/immutable/chunks/1NK_OeRJ.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,kDAAsC,CAAC,EAAE;AACpG,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AACpO,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;;;"}
|
|
@@ -9,11 +9,11 @@ import 'node:os';
|
|
|
9
9
|
|
|
10
10
|
const index = 2;
|
|
11
11
|
let component_cache;
|
|
12
|
-
const component = async () => component_cache ??= (await import('../entries/pages/_page.svelte.js-
|
|
12
|
+
const component = async () => component_cache ??= (await import('../entries/pages/_page.svelte.js-DgcoCR_G.js')).default;
|
|
13
13
|
const server_id = "src/routes/+page.server.ts";
|
|
14
14
|
const imports = ["_app/immutable/nodes/2.Bp7JE7Pz.js","_app/immutable/chunks/kCE9wz0g.js","_app/immutable/chunks/x-hq5fDG.js","_app/immutable/chunks/B1veta3r.js","_app/immutable/chunks/C6KhNEX3.js","_app/immutable/chunks/BZ4lcC0v.js","_app/immutable/chunks/DIljKPJN.js","_app/immutable/chunks/Bu7F9NOv.js"];
|
|
15
15
|
const stylesheets = ["_app/immutable/assets/AppShell.CDPwj3zU.css","_app/immutable/assets/2.DaTmt6o7.css"];
|
|
16
16
|
const fonts = [];
|
|
17
17
|
|
|
18
18
|
export { component, fonts, imports, index, server_id, stylesheets };
|
|
19
|
-
//# sourceMappingURL=2.js-
|
|
19
|
+
//# sourceMappingURL=2.js-C16ONuI7.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"2.js-
|
|
1
|
+
{"version":3,"file":"2.js-C16ONuI7.js","sources":["../../../../.svelte-kit/output/server/nodes/2.js"],"sourcesContent":["import * as server from '../entries/pages/_page.server.ts.js';\n\nexport const index = 2;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/_page.svelte.js')).default;\nexport { server };\nexport const server_id = \"src/routes/+page.server.ts\";\nexport const imports = [\"_app/immutable/nodes/2.Bp7JE7Pz.js\",\"_app/immutable/chunks/kCE9wz0g.js\",\"_app/immutable/chunks/x-hq5fDG.js\",\"_app/immutable/chunks/B1veta3r.js\",\"_app/immutable/chunks/C6KhNEX3.js\",\"_app/immutable/chunks/BZ4lcC0v.js\",\"_app/immutable/chunks/DIljKPJN.js\",\"_app/immutable/chunks/Bu7F9NOv.js\"];\nexport const stylesheets = [\"_app/immutable/assets/AppShell.CDPwj3zU.css\",\"_app/immutable/assets/2.DaTmt6o7.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":";;;;;;;;;AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,8CAAkC,CAAC,EAAE;AAEhG,MAAC,SAAS,GAAG;AACb,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AAC5S,MAAC,WAAW,GAAG,CAAC,6CAA6C,CAAC,sCAAsC;AACpG,MAAC,KAAK,GAAG;;;;"}
|
|
@@ -8,11 +8,11 @@ import '../chunks/agent-memory-dossier.js-nmFG_rgx.js';
|
|
|
8
8
|
|
|
9
9
|
const index = 3;
|
|
10
10
|
let component_cache;
|
|
11
|
-
const component = async () => component_cache ??= (await import('../entries/pages/dossier/agent-memory/_page.svelte.js-
|
|
11
|
+
const component = async () => component_cache ??= (await import('../entries/pages/dossier/agent-memory/_page.svelte.js-D8qUTYi2.js')).default;
|
|
12
12
|
const server_id = "src/routes/dossier/agent-memory/+page.server.ts";
|
|
13
13
|
const imports = ["_app/immutable/nodes/3.Cml8enOG.js","_app/immutable/chunks/kCE9wz0g.js","_app/immutable/chunks/x-hq5fDG.js","_app/immutable/chunks/1NK_OeRJ.js","_app/immutable/chunks/B1veta3r.js","_app/immutable/chunks/C6KhNEX3.js","_app/immutable/chunks/BZ4lcC0v.js","_app/immutable/chunks/DIljKPJN.js","_app/immutable/chunks/Bu7F9NOv.js"];
|
|
14
14
|
const stylesheets = ["_app/immutable/assets/AppShell.CDPwj3zU.css","_app/immutable/assets/3.vWQUAHjz.css"];
|
|
15
15
|
const fonts = [];
|
|
16
16
|
|
|
17
17
|
export { component, fonts, imports, index, server_id, stylesheets };
|
|
18
|
-
//# sourceMappingURL=3.js-
|
|
18
|
+
//# sourceMappingURL=3.js-DIZzznQP.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"3.js-
|
|
1
|
+
{"version":3,"file":"3.js-DIZzznQP.js","sources":["../../../../.svelte-kit/output/server/nodes/3.js"],"sourcesContent":["import * as server from '../entries/pages/dossier/agent-memory/_page.server.ts.js';\n\nexport const index = 3;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/dossier/agent-memory/_page.svelte.js')).default;\nexport { server };\nexport const server_id = \"src/routes/dossier/agent-memory/+page.server.ts\";\nexport const imports = [\"_app/immutable/nodes/3.Cml8enOG.js\",\"_app/immutable/chunks/kCE9wz0g.js\",\"_app/immutable/chunks/x-hq5fDG.js\",\"_app/immutable/chunks/1NK_OeRJ.js\",\"_app/immutable/chunks/B1veta3r.js\",\"_app/immutable/chunks/C6KhNEX3.js\",\"_app/immutable/chunks/BZ4lcC0v.js\",\"_app/immutable/chunks/DIljKPJN.js\",\"_app/immutable/chunks/Bu7F9NOv.js\"];\nexport const stylesheets = [\"_app/immutable/assets/AppShell.CDPwj3zU.css\",\"_app/immutable/assets/3.vWQUAHjz.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":";;;;;;;;AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,mEAAuD,CAAC,EAAE;AAErH,MAAC,SAAS,GAAG;AACb,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AAChV,MAAC,WAAW,GAAG,CAAC,6CAA6C,CAAC,sCAAsC;AACpG,MAAC,KAAK,GAAG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentropic/h2a",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.98.0",
|
|
4
4
|
"description": "h2a — the unified CLI + core for human-to-agent coordination.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -52,13 +52,13 @@
|
|
|
52
52
|
"@hono/mcp": "^0.3.0",
|
|
53
53
|
"@hono/node-server": "^2.0.12",
|
|
54
54
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
55
|
-
"@sentropic/cluster-mesh": "0.
|
|
55
|
+
"@sentropic/cluster-mesh": "0.13.0",
|
|
56
56
|
"@sentropic/contracts": "^0.3.0",
|
|
57
57
|
"@sentropic/events": "^0.2.0",
|
|
58
|
-
"@sentropic/track": "^0.
|
|
58
|
+
"@sentropic/track": "^0.98.0",
|
|
59
59
|
"hono": "^4.13.7"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
|
-
"@sentropic/h2a-runtime": "^0.
|
|
62
|
+
"@sentropic/h2a-runtime": "^0.98.0"
|
|
63
63
|
}
|
|
64
64
|
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{b0 as Ae,bh as It,au as le,bi as Tt,av as P,I as O,M as j}from"./x-hq5fDG.js";import{o as Ge}from"./1NK_OeRJ.js";const H=[];function Ne(e,t=Ae){let r=null;const n=new Set;function a(s){if(It(e,s)&&(e=s,r)){const c=!H.length;for(const f of n)f[1](),H.push(f,e);if(c){for(let f=0;f<H.length;f+=2)H[f][0](H[f+1]);H.length=0}}}function o(s){a(s(e))}function i(s,c=Ae){const f=[s,c];return n.add(f),n.size===1&&(r=t(a,o)||Ae),s(e),()=>{n.delete(f),n.size===0&&r&&(r(),r=null)}}return{set:a,update:o,subscribe:i}}const Ut="h2a-focus-6dba55a0eadf74fc",L=globalThis.__sveltekit_ks44k2?.base??"",Lt=globalThis.__sveltekit_ks44k2?.assets??L??"";new URL("sveltekit-internal://");function Pt(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function Ot(e){return e.split("%25").map(decodeURI).join("%25")}function jt(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function Se({href:e}){return e.split("#")[0]}const Nt=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/,xt=/^\/\((?:[^)]+)\)$/;function Ct(e){const t=[];return{pattern:e==="/"||xt.test(e)?/^\/$/:new RegExp(`^${Dt(e).map(n=>{const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(n);if(a)return t.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const o=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(n);if(o)return t.push({name:o[1],matcher:o[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!n)return;const i=n.split(/\[(.+?)\](?!\])/);return"/"+i.map((c,f)=>{if(f%2){if(c.startsWith("x+"))return Re(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return Re(String.fromCharCode(...c.slice(2).split("-").map(w=>parseInt(w,16))));const l=Nt.exec(c),[,d,p,u,h]=l;return t.push({name:u,matcher:h,optional:!!d,rest:!!p,chained:p?f===1&&i[0]==="":!1}),p?"([^]*?)":d?"([^/]*)?":"([^/]+?)"}return Re(c)}).join("")}).join("")}/?$`),params:t}}function $t(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function Dt(e){return e.slice(1).split("/").filter($t)}function Mt(e,t,r){const n={},a=e.slice(1),o=a.filter(s=>s!==void 0);let i=0;for(let s=0;s<t.length;s+=1){const c=t[s];let f=a[s-i];if(c.chained&&c.rest&&i&&(f=a.slice(s-i,s+1).filter(l=>l).join("/"),i=0),f===void 0)if(c.rest)f="";else continue;if(!c.matcher||r[c.matcher](f)){n[c.name]=f;const l=t[s+1],d=a[s+1];l&&!l.rest&&l.optional&&d&&c.chained&&(i=0),!l&&!d&&Object.keys(n).length===o.length&&(i=0);continue}if(c.optional&&c.chained){i++;continue}return}if(!i)return n}function Re(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}class se{constructor(t,r){this.status=t,typeof r=="string"?this.body={message:r}:r?this.body=r:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class xe{constructor(t,r){try{new Headers({location:r})}catch{throw new Error(`Invalid redirect location ${JSON.stringify(r)}: this string contains characters that cannot be used in HTTP headers`)}this.status=t,this.location=r}}class Ce extends Error{constructor(t,r,n){super(n),this.status=t,this.text=r}}function $(){}function Bt(...e){let t=5381;for(const r of e)if(typeof r=="string"){let n=r.length;for(;n;)t=t*33^r.charCodeAt(--n)}else if(ArrayBuffer.isView(r)){const n=new Uint8Array(r.buffer,r.byteOffset,r.byteLength);let a=n.length;for(;a;)t=t*33^n[--a]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}new TextEncoder;function Vt(e){const t=atob(e),r=new Uint8Array(t.length);for(let n=0;n<t.length;n++)r[n]=t.charCodeAt(n);return r}const Ft=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&Q.delete($e(e)),Ft(e,t));const Q=new Map;function qt(e,t){const r=$e(e,t),n=document.querySelector(r);if(n?.textContent){n.remove();let{body:a,...o}=JSON.parse(n.textContent);n.getAttribute("data-b64")!==null&&(a=Vt(a));const s=n.getAttribute("data-ttl");return s&&Q.set(r,{body:a,init:o,ttl:1e3*Number(s)}),Promise.resolve(new Response(a,o))}return window.fetch(e,t)}function Ht(e,t,r){if(Q.size>0){const n=$e(e,r),a=Q.get(n);if(a){if(performance.now()<a.ttl&&["default","force-cache","only-if-cached",void 0].includes(r?.cache))return new Response(a.body,a.init);Q.delete(n)}}return window.fetch(t,r)}function $e(e,t){let n=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){const a=[];t.headers&&a.push([...new Headers(t.headers)].join(",")),t.body&&(typeof t.body=="string"||ArrayBuffer.isView(t.body))&&a.push(t.body),n+=`[data-hash="${Bt(...a)}"]`}return n}function Yt({nodes:e,server_loads:t,dictionary:r,matchers:n}){const a=new Set(t);return Object.entries(r).map(([s,[c,f,l]])=>{const{pattern:d,params:p}=Ct(s),u={id:s,exec:h=>{const w=d.exec(h);if(w)return Mt(w,p,n)},errors:[1,...l||[]].map(h=>e[h]),layouts:[0,...f||[]].map(i),leaf:o(c)};return u.errors.length=u.layouts.length=Math.max(u.errors.length,u.layouts.length),u});function o(s){const c=s<0;return c&&(s=~s),[c,e[s]]}function i(s){return s===void 0?s:[a.has(s),e[s]]}}function nt(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function ze(e,t,r=JSON.stringify){const n=r(t);try{sessionStorage[e]=n}catch{}}const Gt=-1,zt=-2,Kt=-3,Wt=-4,Xt=-5,Jt=-6,Zt=-7,at=2**32-1,Ue=at-1;function Qt(e){return!(!Number.isInteger(e)||e<0||e>Ue)}function er(e){return!(!Number.isInteger(e)||e<0||e>at)}function tr(e){return Uint8Array.fromBase64(e).buffer}function rr(e){return Uint8Array.from(Buffer.from(e,"base64")).buffer}function nr(e){const t=atob(e),r=t.length,n=new Uint8Array(r);for(let a=0;a<r;a++)n[a]=t.charCodeAt(a);return n.buffer}const ar=typeof Uint8Array.fromBase64=="function",or=typeof process=="object"&&process.versions?.node!==void 0,sr=ar?tr:or?rr:nr;function ir(e,t){return e}const cr={fromPrimitive:e=>e,fromISOString:e=>new Date(e),fromStringValue:(e,t)=>e==="URL"?new URL(t):e==="URLSearchParams"?new URLSearchParams(t):Temporal[e.slice(9)].from(t),fromArrayBuffer:e=>e,fromRegExpInfo:(e,t)=>new RegExp(e,t),fromViewInfo:(e,t,r,n)=>{const a=globalThis[e];return r!==void 0?new a(t,r,n):new a(t)},box:e=>Object(e),createArray:e=>new Array(e),createSparseArray:e=>{const t=[];return t[Ue]=void 0,delete t[Ue],t.length=e,t},createObject:()=>({}),createNullPrototypeObject:()=>Object.create(null),createSet:()=>new Set,createMap:()=>new Map,set:(e,t,r)=>{e[t]=r},addValue:(e,t)=>{e.add(t)},addEntry:(e,t,r)=>{e.set(t,r)}},lr=Object.freeze(cr);function fr(e,t,r){const n=ir(lr);if(typeof e=="number")return s(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const a=e,o=Array(a.length);let i=null;function s(c,f=!1){if(c===Gt)return n.fromPrimitive(void 0);if(c===Kt)return n.fromPrimitive(NaN);if(c===Wt)return n.fromPrimitive(1/0);if(c===Xt)return n.fromPrimitive(-1/0);if(c===Jt)return n.fromPrimitive(-0);if(f||typeof c!="number")throw new Error("Invalid input");if(c in o)return o[c];if(c>=a.length)throw new Error("Invalid input");const l=a[c];if(!l||typeof l!="object")o[c]=n.fromPrimitive(l);else if(Array.isArray(l))if(typeof l[0]=="string"){const d=l[0],p=t&&Object.hasOwn(t,d)?t[d]:void 0;if(p){let u=l[1];if(typeof u!="number"&&(u=a.push(l[1])-1),Object.hasOwn(o,u))return o[c]=p(o[u]);if(i??=new Set,i.has(u))throw new Error("Invalid circular reference");return i.add(u),o[c]=p(s(u)),i.delete(u),o[c]}switch(d){case"Date":o[c]=n.fromISOString(l[1]);break;case"Set":const u=n.createSet();o[c]=u;for(let m=1;m<l.length;m+=1)n.addValue(u,s(l[m]));break;case"Map":const h=n.createMap();o[c]=h;for(let m=1;m<l.length;m+=2)n.addEntry(h,s(l[m]),s(l[m+1]));break;case"RegExp":o[c]=n.fromRegExpInfo(l[1],l[2]);break;case"Object":{const m=l[1];if(typeof a[m]=="object"&&a[m][0]!=="BigInt")throw new Error("Invalid input");o[c]=n.box(s(m));break}case"BigInt":o[c]=n.fromPrimitive(BigInt(l[1]));break;case"null":const w=n.createNullPrototypeObject();o[c]=w;for(let m=1;m<l.length;m+=2){if(l[m]==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");n.set(w,l[m],s(l[m+1]))}break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Float16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":case"DataView":{if(a[l[1]][0]!=="ArrayBuffer")throw new Error("Invalid data");const m=s(l[1]);o[c]=n.fromViewInfo(d,m,l[2],l[3]);break}case"ArrayBuffer":{const m=l[1];if(typeof m!="string")throw new Error("Invalid ArrayBuffer encoding");o[c]=n.fromArrayBuffer(sr(m));break}case"URL":case"URLSearchParams":case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{o[c]=n.fromStringValue(d,l[1]);break}default:throw new Error(`Unknown type ${d}`)}}else if(l[0]===Zt){const d=l[1];if(!er(d))throw new Error("Invalid input");const p=n.createSparseArray(d);o[c]=p;for(let u=2;u<l.length;u+=2){const h=l[u];if(!Qt(h)||h>=d)throw new Error("Invalid input");n.set(p,h,s(l[u+1]))}}else{const d=n.createArray(l.length);o[c]=d;for(let p=0;p<l.length;p+=1){const u=l[p];u!==zt&&n.set(d,p,s(u))}}else{const d=n.createObject();o[c]=d;for(const p of Object.keys(l)){if(p==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");n.set(d,p,s(l[p]))}}return o[c]}return s(0)}const ot="sveltekit:snapshot",st="sveltekit:scroll",it="sveltekit:states",ur="sveltekit:pageurl",z="sveltekit:history",re="sveltekit:navigation",V={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},ct=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...ct];const dr=new Set([...ct]);[...dr];function hr(e){return e.filter(t=>t!=null)}const pr="x-sveltekit-invalidated",mr="x-sveltekit-trailing-slash";function ie(e,t){return e+"/"+t}function fe(e){return e instanceof se||e instanceof Ce?e.status:500}function _r(e){return e instanceof Ce?e.text:"Internal Error"}const gr="/__data.json",wr=".html__data.json";function yr(e){return e.endsWith(".html")?e.replace(/\.html$/,wr):e.replace(/\/$/,"")+gr}async function*vr(e,t){let r=!1,n="";const a=new TextDecoder;for(;;){let o=n.indexOf(t);for(;o!==-1;)yield n.slice(0,o),n=n.slice(o+t.length),o=n.indexOf(t);if(r){n&&(yield n);return}const i=await e.read();r=i.done,i.value&&(n+=a.decode(i.value,{stream:!0})),r&&(n+=a.decode())}}async function*br(e){for await(const t of vr(e,`
|
|
2
|
-
`)){const r=t.trim();r&&(yield JSON.parse(r))}}const Er=new Set(["icon","shortcut icon","apple-touch-icon"]);let J=null;const M=nt(st)??{},ne=nt(ot)??{},D={url:tt({}),page:tt({}),navigating:Ne(null),updated:Br()};function De(e){M[e]=q()}function kr(e,t){let r=e+1;for(;M[r];)delete M[r],r+=1;for(r=t+1;ne[r];)delete ne[r],r+=1}function W(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise($)}async function lt(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(L||"/");e&&await e.update()}}let Me,Le,ue,x,Pe,E;const de=[],he=[];let I=null;function pe(){I?.fork?.then(e=>e?.discard()),I=null,G={element:void 0,href:void 0}}const ce=new Map,ft=new Set,Ar=new Set,ee=new Set;let y={branch:[],error:null,url:null},Be=!1,me=!1,Ke=!0,ae=!1,Z=!1,ut=!1,Ve=!1,dt,S,T,C;const te=new Set,We=new Map,Xe=new Map;async function Hr(e,t,r){if(globalThis.__sveltekit_ks44k2.data){const{q:o={},p:i={},l:s={},f:c={}}=globalThis.__sveltekit_ks44k2.data;for(const f in o)o[f];for(const f in s)s[f];for(const f in c)c[f];for(const f in i)i[f]}document.URL!==location.href&&(location.href=location.href),E=e,await e.hooks.init?.(),Me=Yt(e),x=document.documentElement,Pe=t,Le=e.nodes[0],ue=e.nodes[1],Le(),ue(),S=history.state?.[z],T=history.state?.[re],S||(S=T=Date.now(),history.replaceState({...history.state,[z]:S,[re]:T},""));const n=M[S];function a(){n&&(history.scrollRestoration="manual",scrollTo(n.x,n.y))}r?(a(),await Cr(Pe,r)):(await K({type:"enter",url:Et(E.hash?Mr(new URL(location.href)):location.href),replace_state:!0}),a()),xr()}function Sr(){de.length=0,Ve=!1}function ht(e){he.some(t=>t?.snapshot)&&(ne[e]=he.map(t=>t?.snapshot?.capture()))}function pt(e){ne[e]?.forEach((t,r)=>{he[r]?.snapshot?.restore(t)})}function Je(){De(S),ze(st,M),ht(T),ze(ot,ne)}async function Rr(e,t,r,n){let a,o;t.invalidateAll&&pe(),await K({type:"goto",url:Et(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:r,nav_token:n,accept:()=>{if(t.invalidateAll){Ve=!0,a=new Set;for(const[i,s]of We)for(const[c,f]of s)f.resource?.reset(),a.add(ie(i,c));o=new Set;for(const[i,s]of Xe)for(const c of s.keys())o.add(ie(i,c))}t.invalidate&&t.invalidate.forEach(Nr)}}),t.invalidateAll&&le().then(le).then(()=>{for(const[i,s]of We)for(const[c,{resource:f}]of s)a?.has(ie(i,c))&&f.start();for(const[i,s]of Xe)for(const[c,{resource:f}]of s)o?.has(ie(i,c))&&f.reconnect()})}async function Ir(e){if(e.id!==I?.id){pe();const t={};te.add(t),I={id:e.id,token:t,promise:_t({...e,preload:t}).then(r=>(te.delete(t),r.type==="loaded"&&r.state.error&&pe(),r)),fork:null}}return I.promise}async function Ie(e){const t=(await ve(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(r=>r[1]()))}async function mt(e,t,r){const n={params:y.params,route:{id:y.route?.id??null},url:new URL(location.href)};if(y={...e.state,nav:n},Rt(e.props.page),dt=new E.root({target:t,props:{...e.props,stores:D,components:he},hydrate:r,sync:!1,transformError:void 0}),await Promise.resolve(),r){const a={from:null,to:{...n,scroll:M[S]??q()},willUnload:!1,type:"enter",complete:Promise.resolve()};ee.forEach(o=>o(a))}pt(T),me=!0}async function _e({url:e,params:t,branch:r,errors:n,status:a,error:o,route:i,form:s}){let c="never";if(L&&(e.pathname===L||e.pathname===L+"/"))c="always";else for(const h of r)h?.slash!==void 0&&(c=h.slash);e.pathname=Pt(e.pathname,c),e.search=e.search;const f={type:"loaded",state:{url:e,params:t,branch:r,error:o,route:i},props:{constructors:hr(r).map(h=>h.node.component),page:Ye(U)}};s!==void 0&&(f.props.form=s);let l={},d=!U,p=0;for(let h=0;h<Math.max(r.length,y.branch.length);h+=1){const w=r[h],m=y.branch[h];w?.data!==m?.data&&(d=!0),w&&(l={...l,...w.data},d&&(f.props[`data_${p}`]=l),p+=1)}return(!y.url||e.href!==y.url.href||y.error!==o||s!==void 0&&s!==U.form||d)&&(f.props.page={error:o,params:t,route:{id:i?.id??null},state:{},status:a,url:new URL(e),form:s??null,data:d?l:U.data}),f}async function Fe({loader:e,parent:t,url:r,params:n,route:a,server_data_node:o}){let i=null;const s={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},c=await e();return{node:c,loader:e,server:o,universal:c.universal?.load?{type:"data",data:i,uses:s}:null,data:i??o?.data??null,slash:c.universal?.trailingSlash??o?.slash}}function Tr(e,t,r){let n=e instanceof Request?e.url:e;const a=new URL(n,r);a.origin===r.origin&&(n=a.href.slice(r.origin.length));const o=me?Ht(n,a.href,t):qt(n,t);return{resolved:a,promise:o}}function Ze(e,t,r,n,a,o){if(Ve)return!0;if(!a)return!1;if(a.parent&&e||a.route&&t||a.url&&r)return!0;for(const i of a.search_params)if(n.has(i))return!0;for(const i of a.params)if(o[i]!==y.params[i])return!0;for(const i of a.dependencies)if(de.some(s=>s(new URL(i))))return!0;return!1}function qe(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function Ur(e,t){if(!e)return new Set(t.searchParams.keys());const r=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const n of r){const a=e.searchParams.getAll(n),o=t.searchParams.getAll(n);a.every(i=>o.includes(i))&&o.every(i=>a.includes(i))&&r.delete(n)}return r}function Qe({error:e,url:t,route:r,params:n}){return{type:"loaded",state:{error:e,url:t,route:r,params:n,branch:[]},props:{page:Ye(U),constructors:[]}}}async function _t({id:e,invalidating:t,url:r,params:n,route:a,preload:o}){if(I?.id===e)return te.delete(I.token),I.promise;const{errors:i,layouts:s,leaf:c}=a,f=[...s,c];i.forEach(g=>g?.().catch($)),f.forEach(g=>g?.[1]().catch($));let l=null;const d=y.url?e!==ge(y.url):!1,p=y.route?a.id!==y.route.id:!1,u=Ur(y.url,r);let h=!1;{const g=f.map((v,k)=>{const A=y.branch[k],b=!!v?.[0]&&(A?.loader!==v[1]||Ze(h,p,d,u,A.server?.uses,n));return b&&(h=!0),b});if(g.some(Boolean)){try{l=await yt(r,g)}catch(v){const k=await F(v,{url:r,params:n,route:{id:e}});return o&&te.has(o)?Qe({error:k,url:r,params:n,route:a}):ye({status:fe(v),error:k,url:r,route:a})}if(l.type==="redirect")return l}}const w=l?.nodes;let m=!1;const _=f.map(async(g,v)=>{if(!g)return;const k=y.branch[v],A=w?.[v];if((!A||A.type==="skip")&&g[1]===k?.loader&&!Ze(m,p,d,u,k.universal?.uses,n))return k;if(m=!0,A?.type==="error")throw A;return Fe({loader:g[1],url:r,params:n,route:a,parent:async()=>{const N={};for(let B=0;B<v;B+=1)Object.assign(N,(await _[B])?.data);return N},server_data_node:qe(A===void 0&&g[0]?{type:"skip"}:A??null,g[0]?k?.server:void 0)})});for(const g of _)g.catch($);const R=[];for(let g=0;g<f.length;g+=1)if(f[g])try{R.push(await _[g])}catch(v){if(v instanceof xe)return{type:"redirect",location:v.location};if(o&&te.has(o))return Qe({error:await F(v,{params:n,url:r,route:{id:a.id}}),url:r,params:n,route:a});let k=fe(v),A;if(w?.includes(v))k=v.status??k,A=v.error;else if(v instanceof se)A=v.body;else{if(await D.updated.check())return await lt(),await W(r);A=await F(v,{params:n,url:r,route:{id:a.id}})}const b=await Lr(g,R,i);return b?_e({url:r,params:n,branch:R.slice(0,b.idx).concat(b.node),errors:i,status:k,error:A,route:a}):await wt(r,{id:a.id},A,k)}else R.push(void 0);return _e({url:r,params:n,branch:R,errors:i,status:200,error:null,route:a,form:t?void 0:null})}async function Lr(e,t,r){for(;e--;)if(r[e]){let n=e;for(;!t[n];)n-=1;try{return{idx:n+1,node:{node:await r[e](),loader:r[e],data:{},server:null,universal:null}}}catch{continue}}}async function ye({status:e,error:t,url:r,route:n}){const a={};let o=null;if(E.server_loads[0]===0)try{const s=await yt(r,[!0]);if(s.type!=="data"||s.nodes[0]&&s.nodes[0].type!=="data")throw 0;o=s.nodes[0]??null}catch(s){if(!(s instanceof se&&s.status===404)&&(r.origin!==be||r.pathname!==location.pathname||Be))return await W(r)}try{const i=await Fe({loader:Le,url:r,params:a,route:n,parent:()=>Promise.resolve({}),server_data_node:qe(o)}),s={node:await ue(),loader:ue,universal:null,server:null,data:null};return _e({url:r,params:a,branch:[i,s],status:e,error:t,errors:[],route:null})}catch(i){if(i instanceof xe){await Rr(new URL(i.location,location.href),{},0);return}const s=await E.get_error_template(),c=await F(i,{url:r,params:a,route:n}),f=String(c?.message??"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),l=s({status:e,message:f}),d=new DOMParser().parseFromString(l,"text/html");throw document.documentElement.replaceChild(document.adoptNode(d.head),document.head),document.documentElement.replaceChild(document.adoptNode(d.body),document.body),i}}async function Pr(e){const t=e.href;if(ce.has(t))return ce.get(t);let r;try{const n=(async()=>{let a=await E.hooks.reroute({url:new URL(e),fetch:async(o,i)=>Tr(o,i,e).promise})??e;if(typeof a=="string"){const o=new URL(e);E.hash?o.hash=a:o.pathname=a,a=o}return a})();ce.set(t,n),r=await n}catch{ce.delete(t);return}return r}async function ve(e,t){if(e&&!Ee(e,L,E.hash)){const r=await Pr(e);if(!r)return;const n=Or(r);for(const a of Me){const o=a.exec(n);if(o)return{id:ge(e),invalidating:t,route:a,params:jt(o),url:e}}}}function Or(e){return Ot(E.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(L.length))||"/"}function ge(e){return(E.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function gt({url:e,type:t,intent:r,delta:n,event:a,scroll:o}){let i=!1;const s=He(y,r,e,t,o??null);n!==void 0&&(s.navigation.delta=n),a!==void 0&&(s.navigation.event=a);const c={...s.navigation,cancel:()=>{i=!0,s.reject(new Error("navigation cancelled"))}};return ae||ft.forEach(f=>f(c)),i?null:s}async function K({type:e,url:t,popped:r,keepfocus:n,noscroll:a,replace_state:o,state:i={},redirect_count:s=0,nav_token:c={},accept:f=$,block:l=$,event:d}){const p=C;C=c;const u=await ve(t,!1),h=e==="enter"?He(y,u,t,e):gt({url:t,type:e,delta:r?.delta,intent:u,scroll:r?.scroll,event:d});if(!h){l(),C===c&&(C=p);return}const w=S,m=T;f(),ae=!0,me&&h.navigation.type!=="enter"&&D.navigating.set(oe.current=h.navigation);let _=u&&await _t(u);if(!_){if(Ee(t,L,E.hash))return await W(t,o);_=await wt(t,{id:null},await F(new Ce(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,o)}if(t=u?.url||t,C!==c){h.reject(new Error("navigation aborted"));return}if(!_)return;if(_.type==="redirect"){if(s<20){await K({type:e,url:new URL(_.location,t),popped:r,keepfocus:n,noscroll:a,replace_state:o,state:i,redirect_count:s+1,nav_token:c}),h.fulfil(void 0);return}if(_=await ye({status:500,error:await F(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}}),!_)return}else if(_.props.page.status>=400&&await D.updated.check())return await lt(),await W(t,o);if(Sr(),De(w),ht(m),_.props.page.url.pathname!==t.pathname&&(t.pathname=_.props.page.url.pathname),i=r?r.state:i,!r){const b=o?0:1,N={[z]:S+=b,[re]:T+=b,[it]:i};(o?history.replaceState:history.pushState).call(history,N,"",t),o||kr(S,T)}const R=u&&I?.id===u.id?I.fork:null;I?.fork&&!R?pe():(I=null,G={element:void 0,href:void 0}),_.props.page.state=i;let g;if(me){const b=(await Promise.all(Array.from(Ar,X=>X(h.navigation)))).filter(X=>typeof X=="function");if(b.length>0){let X=function(){b.forEach(ke=>{ee.delete(ke)})};b.push(X),b.forEach(ke=>{ee.add(ke)})}const N=h.navigation.to;y={..._.state,nav:{params:N.params,route:N.route,url:N.url}},_.props.page&&(_.props.page.url=t),!n&&document.activeElement instanceof HTMLElement&&document.activeElement!==document.body&&document.activeElement.blur();const B=R&&await R;B?g=B.commit():(J=null,dt.$set(_.props),J&&Object.assign(_.props.page,J),Rt(_.props.page),g=Tt?.()),ut=!0}else await mt(_,Pe,!1);const{activeElement:v}=document;if(await g,await le(),await le(),C!==c){h.reject(new Error("navigation aborted"));return}_.props.page&&J&&Object.assign(_.props.page,J);let k=null;if(Ke){const b=r?r.scroll:a?q():null;b?scrollTo(b.x,b.y):(k=t.hash&&document.getElementById(bt(t)))?k.scrollIntoView():scrollTo(0,0)}const A=document.activeElement!==v&&document.activeElement!==document.body;!n&&!A&&Dr(t,!k),Ke=!0,ae=!1,h.fulfil(void 0),h.navigation.to&&(h.navigation.to.scroll=q()),ee.forEach(b=>b(h.navigation)),e==="popstate"&&pt(T),D.navigating.set(oe.current=null)}async function wt(e,t,r,n,a){return e.origin===be&&e.pathname===location.pathname&&!Be?await ye({status:n,error:r,url:e,route:t}):await W(e,a)}let G={element:void 0,href:void 0};function jr(){let e,t;x.addEventListener("mousemove",i=>{const s=i.target;clearTimeout(e),e=setTimeout(()=>{a(s,V.hover)},20)});function r(i){i.defaultPrevented||a(i.composedPath()[0],V.tap)}x.addEventListener("mousedown",r),x.addEventListener("touchstart",r,{passive:!0});const n=new IntersectionObserver(i=>{for(const s of i)s.isIntersecting&&(Ie(new URL(s.target.href)),n.unobserve(s.target))},{threshold:0});async function a(i,s){const c=At(i,x),f=c===G.element&&c?.href===G.href&&s>=t;if(!c||f)return;const{url:l,external:d,download:p}=je(c,L,E.hash);if(d||p)return;const u=we(c),h=l&&ge(y.url)===ge(l);if(!(u.reload||h))if(s<=u.preload_data){G={element:c,href:c.href},t=V.tap;const w=await ve(l,!1);if(!w)return;Ir(w)}else s<=u.preload_code&&(G={element:c,href:c.href},t=s,Ie(l))}function o(){n.disconnect();for(const i of x.querySelectorAll("a")){const{url:s,external:c,download:f}=je(i,L,E.hash);if(c||f)continue;const l=we(i);l.reload||(l.preload_code===V.viewport&&n.observe(i),l.preload_code===V.eager&&Ie(s))}}ee.add(o),o()}function F(e,t){if(e instanceof se)return e.body;const r=fe(e),n=_r(e);return E.hooks.handleError({error:e,event:t,status:r,message:n})??{message:n}}function Nr(e){if(typeof e=="function")de.push(e);else{const{href:t}=new URL(e,location.href);de.push(r=>r.href===t)}}function xr(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let r=!1;if(Je(),!ae){const n=He(y,void 0,null,"leave"),a={...n.navigation,cancel:()=>{r=!0,n.reject(new Error("navigation cancelled"))}};ft.forEach(o=>o(a))}r?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Je()}),navigator.connection?.saveData||jr(),x.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const r=At(t.composedPath()[0],x);if(!r)return;const{url:n,external:a,target:o,download:i}=je(r,L,E.hash);if(!n)return;if(o==="_parent"||o==="_top"){if(window.parent!==window)return}else if(o&&o!=="_self")return;const s=we(r);if(!(r instanceof SVGAElement)&&n.protocol!==location.protocol&&!(n.protocol==="https:"||n.protocol==="http:")||i)return;const[f,l]=(E.hash?n.hash.replace(/^#/,""):n.href).split("#"),d=f===Se(location);if(a||s.reload&&(!d||!l)){gt({url:n,type:"link",event:t})?ae=!0:t.preventDefault();return}if(l!==void 0&&d){const[,p]=y.url.href.split("#");if(p===l){if(t.preventDefault(),l===""||l==="top"&&r.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const u=r.ownerDocument.getElementById(decodeURIComponent(l));u&&(u.scrollIntoView(),u.focus())}return}if(Z=!0,De(S),e(n),!s.replace_state)return;Z=!1}t.preventDefault(),await new Promise(p=>{requestAnimationFrame(()=>{setTimeout(p,0)}),setTimeout(p,100)}),await K({type:"link",url:n,keepfocus:s.keepfocus,noscroll:s.noscroll,replace_state:s.replace_state??n.href===location.href,event:t})}),x.addEventListener("submit",t=>{if(t.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(t.target),n=t.submitter;if((n?.formTarget||r.target)==="_blank"||(n?.formMethod||r.method)!=="get")return;const i=new URL(n?.hasAttribute("formaction")&&n?.formAction||r.action);if(Ee(i,L,!1))return;const s=t.target,c=we(s);if(c.reload)return;t.preventDefault(),t.stopPropagation();const f=new FormData(s,n);i.search=new URLSearchParams(f).toString(),K({type:"form",url:i,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??i.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!Oe){if(t.state?.[z]){const r=t.state[z];if(C={},r===S)return;const n=M[r],a=t.state[it]??{},o=new URL(t.state[ur]??location.href),i=t.state[re],s=y.url?Se(location)===Se(y.url):!1;if(i===T&&(ut||s)){a!==U.state&&(U.state=a),e(o),M[S]=q(),n&&scrollTo(n.x,n.y),S=r;return}const f=r-S;await K({type:"popstate",url:o,popped:{state:a,scroll:n,delta:f},accept:()=>{S=r,T=i},block:()=>{history.go(-f)},nav_token:C,event:t})}else if(!Z){const r=new URL(location.href);e(r),E.hash&&location.reload()}}}),addEventListener("hashchange",()=>{Z&&(Z=!1,history.replaceState({...history.state,[z]:++S,[re]:T},"",location.href))});for(const t of document.querySelectorAll("link"))Er.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&D.navigating.set(oe.current=null)});function e(t){y.url=U.url=t,D.page.set(Ye(U)),D.page.notify()}}async function Cr(e,{status:t=200,error:r,node_ids:n,params:a,route:o,server_route:i,data:s,form:c}){Be=!0;const f=new URL(location.href);let l;({params:a={},route:o={id:null}}=await ve(f,!1)||{}),l=Me.find(({id:u})=>u===o.id);let d,p=!0;try{const u=n.map(async(w,m)=>{const _=s[m];return _?.uses&&(_.uses=vt(_.uses)),Fe({loader:E.nodes[w],url:f,params:a,route:o,parent:async()=>{const R={};for(let g=0;g<m;g+=1)Object.assign(R,(await u[g]).data);return R},server_data_node:qe(_)})}),h=await Promise.all(u);if(l){const w=l.layouts;for(let m=0;m<w.length;m++)w[m]||h.splice(m,0,void 0)}d=await _e({url:f,params:a,branch:h,status:t,error:r,errors:l?.errors,form:c,route:l??null})}catch(u){if(u instanceof xe)return await W(new URL(u.location,location.href));d=await ye({status:fe(u),error:await F(u,{url:f,params:a,route:o}),url:f,route:o}),e.textContent="",p=!1}d&&(d.props.page&&(d.props.page.state={}),await mt(d,e,p))}async function yt(e,t){const r=new URL(e);r.pathname=yr(e.pathname),e.pathname.endsWith("/")&&r.searchParams.append(mr,"1"),r.searchParams.append(pr,t.map(o=>o?"1":"0").join(""));const n=window.fetch,a=await n(r.href,{});if(!a.ok){let o;throw a.headers.get("content-type")?.includes("application/json")?o=await a.json():a.status===404?o="Not Found":a.status===500&&(o="Internal Error"),new se(a.status,o)}return new Promise((o,i)=>{$r(o,a).catch(i)})}async function $r(e,t){const r=t.body.getReader(),n=new Map;function a(o){return fr(o,{...E.decoders,Promise:i=>new Promise((s,c)=>{n.set(i,{fulfil:s,reject:c})})})}for await(const o of br(r)){if(o.type==="redirect")return e(o);if(o.type==="data")o.nodes?.forEach(i=>{i?.type==="data"&&(i.uses=vt(i.uses),i.data=a(i.data))}),e(o);else if(o.type==="chunk"){const{id:i,data:s,error:c}=o,f=n.get(i);n.delete(i),c?f.reject(a(c)):f.fulfil(a(s))}}}function vt(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}let Oe=!1;function Dr(e,t=!0){const r=document.querySelector("[autofocus]");if(r)r.focus();else{const n=bt(e);if(n&&document.getElementById(n)){const{x:o,y:i}=q();setTimeout(()=>{const s=history.state;Oe=!0,location.replace(new URL(`#${n}`,location.href)),history.replaceState(s,"",e),t&&scrollTo(o,i),Oe=!1})}else{const o=document.body,i=o.getAttribute("tabindex");o.tabIndex=-1,o.focus({preventScroll:!0,focusVisible:!1}),i!==null?o.setAttribute("tabindex",i):o.removeAttribute("tabindex")}const a=getSelection();if(a&&a.type!=="None"){const o=[];for(let i=0;i<a.rangeCount;i+=1)o.push(a.getRangeAt(i));setTimeout(()=>{if(a.rangeCount===o.length){for(let i=0;i<a.rangeCount;i+=1){const s=o[i],c=a.getRangeAt(i);if(s.commonAncestorContainer!==c.commonAncestorContainer||s.startContainer!==c.startContainer||s.endContainer!==c.endContainer||s.startOffset!==c.startOffset||s.endOffset!==c.endOffset)return}a.removeAllRanges()}})}}}function He(e,t,r,n,a=null){let o,i;const s=new Promise((f,l)=>{o=f,i=l});return s.catch($),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:q()},to:r&&{params:t?.params??null,route:{id:t?.route?.id??null},url:r,scroll:a},willUnload:!t,type:n,complete:s},fulfil:o,reject:i}}function Ye(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function Mr(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function bt(e){let t;if(E.hash){const[,,r]=e.hash.split("#",3);t=r??""}else t=e.hash.slice(1);return decodeURIComponent(t)}const be=location.origin;function Et(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const r=document.getElementsByTagName("base");t=r.length?r[0].href:document.URL}return new URL(e,t)}function q(){return{x:pageXOffset,y:pageYOffset}}function Y(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const et={...V,"":V.hover};function kt(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function At(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=kt(e)}}function je(e,t,r){let n;try{if(n=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),r&&n.hash.match(/^#[^/]/)){const s=location.hash.split("#")[1]||"/";n.hash=`#${s}${n.hash}`}}catch{}const a=e instanceof SVGAElement?e.target.baseVal:e.target,o=!n||!!a||Ee(n,t,r)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),i=n?.origin===be&&e.hasAttribute("download");return{url:n,external:o,target:a,download:i}}function we(e){let t=null,r=null,n=null,a=null,o=null,i=null,s=e;for(;s&&s!==document.documentElement;)n===null&&(n=Y(s,"preload-code")),a===null&&(a=Y(s,"preload-data")),t===null&&(t=Y(s,"keepfocus")),r===null&&(r=Y(s,"noscroll")),o===null&&(o=Y(s,"reload")),i===null&&(i=Y(s,"replacestate")),s=kt(s);function c(f){switch(f){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:et[n??"off"],preload_data:et[a??"off"],keepfocus:c(t),noscroll:c(r),reload:c(o),replace_state:c(i)}}function tt(e){const t=Ne(e);let r=!0;function n(){r=!0,t.update(i=>i)}function a(i){r=!1,t.set(i)}function o(i){let s;return t.subscribe(c=>{(s===void 0||r&&c!==s)&&i(s=c)})}return{notify:n,set:a,subscribe:o}}const St={v:$};function Br(){const{set:e,subscribe:t}=Ne(!1);let r;async function n(){clearTimeout(r);try{const a=await fetch(`${Lt}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const i=(await a.json()).version!==Ut;return i&&(e(!0),St.v(),clearTimeout(r)),i}catch{return!1}}return{subscribe:t,check:n}}function Ee(e,t,r){return e.origin!==be||!e.pathname.startsWith(t)?!0:r?e.pathname!==location.pathname:!1}function Yr(e){}let U,oe,Te;const Vr=Ge.toString().includes("$$")||/function \w+\(\) \{\}/.test(Ge.toString()),rt="a:";Vr?(U={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL(rt)},oe={current:null},Te={current:!1}):(U=new class{#e=P({});get data(){return O(this.#e)}set data(t){j(this.#e,t)}#t=P(null);get form(){return O(this.#t)}set form(t){j(this.#t,t)}#r=P(null);get error(){return O(this.#r)}set error(t){j(this.#r,t)}#n=P({});get params(){return O(this.#n)}set params(t){j(this.#n,t)}#a=P({id:null});get route(){return O(this.#a)}set route(t){j(this.#a,t)}#o=P({});get state(){return O(this.#o)}set state(t){j(this.#o,t)}#s=P(-1);get status(){return O(this.#s)}set status(t){j(this.#s,t)}#i=P(new URL(rt));get url(){return O(this.#i)}set url(t){j(this.#i,t)}},oe=new class{#e=P(null);get current(){return O(this.#e)}set current(t){j(this.#e,t)}},Te=new class{#e=P(!1);get current(){return O(this.#e)}set current(t){j(this.#e,t)}},St.v=()=>Te.current=!0);function Rt(e){Object.assign(U,e)}export{Hr as a,Yr as l,U as p,D as s};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{l as o,a as r}from"../chunks/BgBtu3IQ.js";export{o as load_css,r as start};
|
|
Binary file
|
|
Binary file
|