@recombine-ai/bosun 0.11.2 → 0.12.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/build/client/_app/immutable/chunks/BQ3mPfLC.js +1 -0
- package/build/client/_app/immutable/chunks/BQ3mPfLC.js.br +0 -0
- package/build/client/_app/immutable/chunks/BQ3mPfLC.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BRQsk2Ii.js +1 -0
- package/build/client/_app/immutable/chunks/BRQsk2Ii.js.br +0 -0
- package/build/client/_app/immutable/chunks/BRQsk2Ii.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{i_5fJYKS.js → BirMtEut.js} +1 -1
- package/build/client/_app/immutable/chunks/BirMtEut.js.br +0 -0
- package/build/client/_app/immutable/chunks/BirMtEut.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CMQRtcOV.js → Dyryn8e8.js} +1 -1
- package/build/client/_app/immutable/chunks/Dyryn8e8.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dyryn8e8.js.gz +0 -0
- package/build/client/_app/immutable/entry/{app.Cr7CMG-3.js → app.D4Xt4iAw.js} +2 -2
- package/build/client/_app/immutable/entry/app.D4Xt4iAw.js.br +0 -0
- package/build/client/_app/immutable/entry/app.D4Xt4iAw.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.wAOD4JjG.js +1 -0
- package/build/client/_app/immutable/entry/start.wAOD4JjG.js.br +2 -0
- package/build/client/_app/immutable/entry/start.wAOD4JjG.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{0.AyqKXI2h.js → 0.Cu9qsozo.js} +1 -1
- package/build/client/_app/immutable/nodes/0.Cu9qsozo.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.Cu9qsozo.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{1.BRmfm-nN.js → 1.Couoma7h.js} +1 -1
- package/build/client/_app/immutable/nodes/1.Couoma7h.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.Couoma7h.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.D9Is7Tuj.js +7 -0
- package/build/client/_app/immutable/nodes/10.D9Is7Tuj.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.D9Is7Tuj.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{17.BOYU_WTT.js → 17.4BKUGLfv.js} +1 -1
- package/build/client/_app/immutable/nodes/17.4BKUGLfv.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.4BKUGLfv.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{18.Ddx80a4f.js → 18.BS-4NZTI.js} +1 -1
- package/build/client/_app/immutable/nodes/18.BS-4NZTI.js.br +0 -0
- package/build/client/_app/immutable/nodes/18.BS-4NZTI.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{2.CZEboQjo.js → 2.DFjSU1Pb.js} +1 -1
- package/build/client/_app/immutable/nodes/2.DFjSU1Pb.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.DFjSU1Pb.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{3.dAV7FviN.js → 3.DS3LgAwM.js} +1 -1
- package/build/client/_app/immutable/nodes/3.DS3LgAwM.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.DS3LgAwM.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{4.Cm_vMAEA.js → 4.CgSeFwiS.js} +1 -1
- package/build/client/_app/immutable/nodes/4.CgSeFwiS.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.CgSeFwiS.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{5.DPWuTlaI.js → 5.-ESdbp9e.js} +1 -1
- package/build/client/_app/immutable/nodes/5.-ESdbp9e.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.-ESdbp9e.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{6.DY-NLaRW.js → 6.CX8TfGzw.js} +1 -1
- package/build/client/_app/immutable/nodes/6.CX8TfGzw.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.CX8TfGzw.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{8.Chuqhf8W.js → 8.Bu3UjNq7.js} +1 -1
- package/build/client/_app/immutable/nodes/8.Bu3UjNq7.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.Bu3UjNq7.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{9.BOEM8f6B.js → 9.DsvEYdNE.js} +1 -1
- package/build/client/_app/immutable/nodes/9.DsvEYdNE.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.DsvEYdNE.js.gz +0 -0
- package/build/client/_app/version.json +1 -1
- package/build/client/_app/version.json.br +0 -0
- package/build/client/_app/version.json.gz +0 -0
- package/build/server/chunks/{0-TQkJBtAu.js → 0-BsZDBUML.js} +2 -2
- package/build/server/chunks/{0-TQkJBtAu.js.map → 0-BsZDBUML.js.map} +1 -1
- package/build/server/chunks/{1-CKxKlw1l.js → 1-BSnA3oUp.js} +2 -2
- package/build/server/chunks/{1-CKxKlw1l.js.map → 1-BSnA3oUp.js.map} +1 -1
- package/build/server/chunks/{10-Bly5Nk7M.js → 10-Z1taG_Ws.js} +3 -3
- package/build/server/chunks/{10-Bly5Nk7M.js.map → 10-Z1taG_Ws.js.map} +1 -1
- package/build/server/chunks/{17-C8CYQOYP.js → 17-ChcBYZZX.js} +2 -2
- package/build/server/chunks/{17-C8CYQOYP.js.map → 17-ChcBYZZX.js.map} +1 -1
- package/build/server/chunks/{18-CtXVGBbS.js → 18-lUysJblN.js} +2 -2
- package/build/server/chunks/{18-CtXVGBbS.js.map → 18-lUysJblN.js.map} +1 -1
- package/build/server/chunks/{2-DvD0dAh0.js → 2-Fea6hX08.js} +2 -2
- package/build/server/chunks/{2-DvD0dAh0.js.map → 2-Fea6hX08.js.map} +1 -1
- package/build/server/chunks/{3-DBzpRDK8.js → 3-CMzmyLKz.js} +2 -2
- package/build/server/chunks/{3-DBzpRDK8.js.map → 3-CMzmyLKz.js.map} +1 -1
- package/build/server/chunks/{4-BUNytyC2.js → 4-DIgalIci.js} +2 -2
- package/build/server/chunks/{4-BUNytyC2.js.map → 4-DIgalIci.js.map} +1 -1
- package/build/server/chunks/{5-DNo8_tFS.js → 5-BtBVzSzb.js} +2 -2
- package/build/server/chunks/{5-DNo8_tFS.js.map → 5-BtBVzSzb.js.map} +1 -1
- package/build/server/chunks/{6-DUMdIfbf.js → 6-DY6GY4a1.js} +2 -2
- package/build/server/chunks/{6-DUMdIfbf.js.map → 6-DY6GY4a1.js.map} +1 -1
- package/build/server/chunks/{8-DxTJ555u.js → 8-CjiKpoR-.js} +2 -2
- package/build/server/chunks/{8-DxTJ555u.js.map → 8-CjiKpoR-.js.map} +1 -1
- package/build/server/chunks/{9-B4-5k50d.js → 9-CJYLhcDY.js} +2 -2
- package/build/server/chunks/{9-B4-5k50d.js.map → 9-CJYLhcDY.js.map} +1 -1
- package/build/server/chunks/{_page.svelte-zOI_s_3J.js → _page.svelte-_sXVlB3C.js} +4 -5
- package/build/server/chunks/_page.svelte-_sXVlB3C.js.map +1 -0
- package/build/server/index.js +1 -1
- package/build/server/index.js.map +1 -1
- package/build/server/manifest.js +13 -13
- package/build/server/manifest.js.map +1 -1
- package/package.json +1 -1
- package/src/backend/tests/academy.ts +39 -45
- package/src/backend/tests/active-test-runs.spec.ts +27 -0
- package/src/backend/tests/active-test-runs.ts +41 -0
- package/src/backend/tests/best-effort-log-writer.spec.ts +39 -0
- package/src/backend/tests/best-effort-log-writer.ts +52 -0
- package/src/backend/tests/emulate-agents.ts +1 -1
- package/src/backend/tests/report-files.spec.ts +2 -0
- package/src/backend/tests/report-files.ts +21 -2
- package/build/client/_app/immutable/chunks/BoPSJr4b.js +0 -1
- package/build/client/_app/immutable/chunks/BoPSJr4b.js.br +0 -0
- package/build/client/_app/immutable/chunks/BoPSJr4b.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CMQRtcOV.js.br +0 -0
- package/build/client/_app/immutable/chunks/CMQRtcOV.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DXUXXCDA.js +0 -1
- package/build/client/_app/immutable/chunks/DXUXXCDA.js.br +0 -0
- package/build/client/_app/immutable/chunks/DXUXXCDA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/i_5fJYKS.js.br +0 -0
- package/build/client/_app/immutable/chunks/i_5fJYKS.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.Cr7CMG-3.js.br +0 -0
- package/build/client/_app/immutable/entry/app.Cr7CMG-3.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.CDNd0Bml.js +0 -1
- package/build/client/_app/immutable/entry/start.CDNd0Bml.js.br +0 -2
- package/build/client/_app/immutable/entry/start.CDNd0Bml.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.AyqKXI2h.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.AyqKXI2h.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.BRmfm-nN.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.BRmfm-nN.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.D03jjkr4.js +0 -7
- package/build/client/_app/immutable/nodes/10.D03jjkr4.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.D03jjkr4.js.gz +0 -0
- package/build/client/_app/immutable/nodes/17.BOYU_WTT.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.BOYU_WTT.js.gz +0 -0
- package/build/client/_app/immutable/nodes/18.Ddx80a4f.js.br +0 -0
- package/build/client/_app/immutable/nodes/18.Ddx80a4f.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.CZEboQjo.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.CZEboQjo.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.dAV7FviN.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.dAV7FviN.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.Cm_vMAEA.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.Cm_vMAEA.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.DPWuTlaI.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.DPWuTlaI.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.DY-NLaRW.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.DY-NLaRW.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8.Chuqhf8W.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.Chuqhf8W.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.BOEM8f6B.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.BOEM8f6B.js.gz +0 -0
- package/build/server/chunks/_page.svelte-zOI_s_3J.js.map +0 -1
package/build/server/manifest.js
CHANGED
|
@@ -10,27 +10,27 @@ return {
|
|
|
10
10
|
assets: new Set(["favicon.png","fonts/DarkerGrotesque-Black.ttf","fonts/DarkerGrotesque-Bold.ttf","fonts/DarkerGrotesque-Light.ttf","fonts/DarkerGrotesque-Medium.ttf","fonts/DarkerGrotesque-Regular.ttf","fonts/DarkerGrotesque-SemiBold.ttf","fonts.css","recombine.svg","telescope-icon.svg","ui/arrow_tests.svg","ui/paperclip.svg","ui/send.svg"]),
|
|
11
11
|
mimeTypes: {".png":"image/png",".ttf":"font/ttf",".css":"text/css",".svg":"image/svg+xml"},
|
|
12
12
|
_: {
|
|
13
|
-
client: {start:"_app/immutable/entry/start.
|
|
13
|
+
client: {start:"_app/immutable/entry/start.wAOD4JjG.js",app:"_app/immutable/entry/app.D4Xt4iAw.js",imports:["_app/immutable/entry/start.wAOD4JjG.js","_app/immutable/chunks/BQ3mPfLC.js","_app/immutable/chunks/CxLomzuE.js","_app/immutable/chunks/uLGP0py1.js","_app/immutable/chunks/OA8UcISh.js","_app/immutable/chunks/C39ai1md.js","_app/immutable/entry/app.D4Xt4iAw.js","_app/immutable/chunks/C1FmrZbK.js","_app/immutable/chunks/CxLomzuE.js","_app/immutable/chunks/DJriQKD9.js","_app/immutable/chunks/Ca197UDq.js","_app/immutable/chunks/xC2C8d09.js","_app/immutable/chunks/C39ai1md.js","_app/immutable/chunks/Buo-57fF.js","_app/immutable/chunks/CJYOmGlC.js","_app/immutable/chunks/Cyai3SOj.js","_app/immutable/chunks/BLu86SbA.js","_app/immutable/chunks/CPXdAKdv.js","_app/immutable/chunks/uLGP0py1.js"],stylesheets:[],fonts:[],uses_env_dynamic_public:true},
|
|
14
14
|
nodes: [
|
|
15
|
-
__memo(() => import('./chunks/0-
|
|
16
|
-
__memo(() => import('./chunks/1-
|
|
17
|
-
__memo(() => import('./chunks/2-
|
|
18
|
-
__memo(() => import('./chunks/3-
|
|
19
|
-
__memo(() => import('./chunks/4-
|
|
20
|
-
__memo(() => import('./chunks/5-
|
|
21
|
-
__memo(() => import('./chunks/6-
|
|
15
|
+
__memo(() => import('./chunks/0-BsZDBUML.js')),
|
|
16
|
+
__memo(() => import('./chunks/1-BSnA3oUp.js')),
|
|
17
|
+
__memo(() => import('./chunks/2-Fea6hX08.js')),
|
|
18
|
+
__memo(() => import('./chunks/3-CMzmyLKz.js')),
|
|
19
|
+
__memo(() => import('./chunks/4-DIgalIci.js')),
|
|
20
|
+
__memo(() => import('./chunks/5-BtBVzSzb.js')),
|
|
21
|
+
__memo(() => import('./chunks/6-DY6GY4a1.js')),
|
|
22
22
|
__memo(() => import('./chunks/7-olXOjo4r.js')),
|
|
23
|
-
__memo(() => import('./chunks/8-
|
|
24
|
-
__memo(() => import('./chunks/9-
|
|
25
|
-
__memo(() => import('./chunks/10-
|
|
23
|
+
__memo(() => import('./chunks/8-CjiKpoR-.js')),
|
|
24
|
+
__memo(() => import('./chunks/9-CJYLhcDY.js')),
|
|
25
|
+
__memo(() => import('./chunks/10-Z1taG_Ws.js')),
|
|
26
26
|
__memo(() => import('./chunks/11-CB5q84io.js')),
|
|
27
27
|
__memo(() => import('./chunks/12-CfqC_Y1R.js')),
|
|
28
28
|
__memo(() => import('./chunks/13-ByddfU7G.js')),
|
|
29
29
|
__memo(() => import('./chunks/14-Dk7DCwHC.js')),
|
|
30
30
|
__memo(() => import('./chunks/15-BMEAVslz.js')),
|
|
31
31
|
__memo(() => import('./chunks/16-Y9KLA9UF.js')),
|
|
32
|
-
__memo(() => import('./chunks/17-
|
|
33
|
-
__memo(() => import('./chunks/18-
|
|
32
|
+
__memo(() => import('./chunks/17-ChcBYZZX.js')),
|
|
33
|
+
__memo(() => import('./chunks/18-lUysJblN.js'))
|
|
34
34
|
],
|
|
35
35
|
remotes: {
|
|
36
36
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest.js","sources":["../../.svelte-kit/adapter-node/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([\"favicon.png\",\"fonts/DarkerGrotesque-Black.ttf\",\"fonts/DarkerGrotesque-Bold.ttf\",\"fonts/DarkerGrotesque-Light.ttf\",\"fonts/DarkerGrotesque-Medium.ttf\",\"fonts/DarkerGrotesque-Regular.ttf\",\"fonts/DarkerGrotesque-SemiBold.ttf\",\"fonts.css\",\"recombine.svg\",\"telescope-icon.svg\",\"ui/arrow_tests.svg\",\"ui/paperclip.svg\",\"ui/send.svg\"]),\n\tmimeTypes: {\".png\":\"image/png\",\".ttf\":\"font/ttf\",\".css\":\"text/css\",\".svg\":\"image/svg+xml\"},\n\t_: {\n\t\tclient: {start:\"_app/immutable/entry/start.CDNd0Bml.js\",app:\"_app/immutable/entry/app.Cr7CMG-3.js\",imports:[\"_app/immutable/entry/start.CDNd0Bml.js\",\"_app/immutable/chunks/BoPSJr4b.js\",\"_app/immutable/chunks/CxLomzuE.js\",\"_app/immutable/chunks/uLGP0py1.js\",\"_app/immutable/chunks/OA8UcISh.js\",\"_app/immutable/chunks/C39ai1md.js\",\"_app/immutable/entry/app.Cr7CMG-3.js\",\"_app/immutable/chunks/C1FmrZbK.js\",\"_app/immutable/chunks/CxLomzuE.js\",\"_app/immutable/chunks/DJriQKD9.js\",\"_app/immutable/chunks/Ca197UDq.js\",\"_app/immutable/chunks/xC2C8d09.js\",\"_app/immutable/chunks/C39ai1md.js\",\"_app/immutable/chunks/Buo-57fF.js\",\"_app/immutable/chunks/CJYOmGlC.js\",\"_app/immutable/chunks/Cyai3SOj.js\",\"_app/immutable/chunks/BLu86SbA.js\",\"_app/immutable/chunks/CPXdAKdv.js\",\"_app/immutable/chunks/uLGP0py1.js\"],stylesheets:[],fonts:[],uses_env_dynamic_public:true},\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\t__memo(() => import('./nodes/4.js')),\n\t\t\t__memo(() => import('./nodes/5.js')),\n\t\t\t__memo(() => import('./nodes/6.js')),\n\t\t\t__memo(() => import('./nodes/7.js')),\n\t\t\t__memo(() => import('./nodes/8.js')),\n\t\t\t__memo(() => import('./nodes/9.js')),\n\t\t\t__memo(() => import('./nodes/10.js')),\n\t\t\t__memo(() => import('./nodes/11.js')),\n\t\t\t__memo(() => import('./nodes/12.js')),\n\t\t\t__memo(() => import('./nodes/13.js')),\n\t\t\t__memo(() => import('./nodes/14.js')),\n\t\t\t__memo(() => import('./nodes/15.js')),\n\t\t\t__memo(() => import('./nodes/16.js')),\n\t\t\t__memo(() => import('./nodes/17.js')),\n\t\t\t__memo(() => import('./nodes/18.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: 5 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/edit\",\n\t\t\t\tpattern: /^\\/edit\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: { layouts: [0,], errors: [1,], leaf: 6 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/edit/[agent]\",\n\t\t\t\tpattern: /^\\/edit\\/([^/]+?)\\/?$/,\n\t\t\t\tparams: [{\"name\":\"agent\",\"optional\":false,\"rest\":false,\"chained\":false}],\n\t\t\t\tpage: { layouts: [0,2,], errors: [1,,], leaf: 7 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/edit/[agent]/configure\",\n\t\t\t\tpattern: /^\\/edit\\/([^/]+?)\\/configure\\/?$/,\n\t\t\t\tparams: [{\"name\":\"agent\",\"optional\":false,\"rest\":false,\"chained\":false}],\n\t\t\t\tpage: { layouts: [0,2,], errors: [1,,], leaf: 8 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/edit/[agent]/roleplay\",\n\t\t\t\tpattern: /^\\/edit\\/([^/]+?)\\/roleplay\\/?$/,\n\t\t\t\tparams: [{\"name\":\"agent\",\"optional\":false,\"rest\":false,\"chained\":false}],\n\t\t\t\tpage: { layouts: [0,2,], errors: [1,,], leaf: 9 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/edit/[agent]/tests\",\n\t\t\t\tpattern: /^\\/edit\\/([^/]+?)\\/tests\\/?$/,\n\t\t\t\tparams: [{\"name\":\"agent\",\"optional\":false,\"rest\":false,\"chained\":false}],\n\t\t\t\tpage: { layouts: [0,2,], errors: [1,,], leaf: 10 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/roleplay\",\n\t\t\t\tpattern: /^\\/roleplay\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: { layouts: [0,], errors: [1,], leaf: 11 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/tests\",\n\t\t\t\tpattern: /^\\/tests\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: { layouts: [0,], errors: [1,], leaf: 12 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/tests/[agent]\",\n\t\t\t\tpattern: /^\\/tests\\/([^/]+?)\\/?$/,\n\t\t\t\tparams: [{\"name\":\"agent\",\"optional\":false,\"rest\":false,\"chained\":false}],\n\t\t\t\tpage: { layouts: [0,], errors: [1,], leaf: 13 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/traces\",\n\t\t\t\tpattern: /^\\/traces\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: { layouts: [0,], errors: [1,], leaf: 14 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/traces/api/latency/[conversationId]\",\n\t\t\t\tpattern: /^\\/traces\\/api\\/latency\\/([^/]+?)\\/?$/,\n\t\t\t\tparams: [{\"name\":\"conversationId\",\"optional\":false,\"rest\":false,\"chained\":false}],\n\t\t\t\tpage: null,\n\t\t\t\tendpoint: __memo(() => import('./entries/endpoints/traces/api/latency/_conversationId_/_server.ts.js'))\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/traces/api/latency/[conversationId]/audio\",\n\t\t\t\tpattern: /^\\/traces\\/api\\/latency\\/([^/]+?)\\/audio\\/?$/,\n\t\t\t\tparams: [{\"name\":\"conversationId\",\"optional\":false,\"rest\":false,\"chained\":false}],\n\t\t\t\tpage: null,\n\t\t\t\tendpoint: __memo(() => import('./entries/endpoints/traces/api/latency/_conversationId_/audio/_server.ts.js'))\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/traces/api/proxy/[...path]\",\n\t\t\t\tpattern: /^\\/traces\\/api\\/proxy(?:\\/([^]*))?\\/?$/,\n\t\t\t\tparams: [{\"name\":\"path\",\"optional\":false,\"rest\":true,\"chained\":true}],\n\t\t\t\tpage: null,\n\t\t\t\tendpoint: __memo(() => import('./entries/endpoints/traces/api/proxy/_...path_/_server.ts.js'))\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/traces/api/sources\",\n\t\t\t\tpattern: /^\\/traces\\/api\\/sources\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: null,\n\t\t\t\tendpoint: __memo(() => import('./entries/endpoints/traces/api/sources/_server.ts.js'))\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/traces/conversations\",\n\t\t\t\tpattern: /^\\/traces\\/conversations\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: { layouts: [0,3,], errors: [1,,], leaf: 15 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/traces/conversations/[conversationId]\",\n\t\t\t\tpattern: /^\\/traces\\/conversations\\/([^/]+?)\\/?$/,\n\t\t\t\tparams: [{\"name\":\"conversationId\",\"optional\":false,\"rest\":false,\"chained\":false}],\n\t\t\t\tpage: { layouts: [0,3,4,], errors: [1,,,], leaf: 16 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/traces/conversations/[conversationId]/latency\",\n\t\t\t\tpattern: /^\\/traces\\/conversations\\/([^/]+?)\\/latency\\/?$/,\n\t\t\t\tparams: [{\"name\":\"conversationId\",\"optional\":false,\"rest\":false,\"chained\":false}],\n\t\t\t\tpage: { layouts: [0,3,4,], errors: [1,,,], leaf: 17 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/traces/conversations/[conversationId]/traces\",\n\t\t\t\tpattern: /^\\/traces\\/conversations\\/([^/]+?)\\/traces\\/?$/,\n\t\t\t\tparams: [{\"name\":\"conversationId\",\"optional\":false,\"rest\":false,\"chained\":false}],\n\t\t\t\tpage: { layouts: [0,3,4,], errors: [1,,,], leaf: 18 },\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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AI;AACJ,GAAG;AACH,IAAI,EAAE,EAAE,gDAAgD;AACxD,IAAI,OAAO,EAAE,iDAAiD;AAC9D,IAAI,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,gBAAgB,CAAC,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;AACrF,IAAI,IAAI,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE;AACzD,IAAI,QAAQ,EAAE;AACd,IAAI;AACJ,GAAG;AACH,IAAI,EAAE,EAAE,+CAA+C;AACvD,IAAI,OAAO,EAAE,gDAAgD;AAC7D,IAAI,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,gBAAgB,CAAC,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;AACrF,IAAI,IAAI,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE;AACzD,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;;AAEW,MAAC,WAAW,GAAG,IAAI,GAAG,CAAC,EAAE;;AAEzB,MAAC,IAAI,GAAG;;;;"}
|
|
1
|
+
{"version":3,"file":"manifest.js","sources":["../../.svelte-kit/adapter-node/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([\"favicon.png\",\"fonts/DarkerGrotesque-Black.ttf\",\"fonts/DarkerGrotesque-Bold.ttf\",\"fonts/DarkerGrotesque-Light.ttf\",\"fonts/DarkerGrotesque-Medium.ttf\",\"fonts/DarkerGrotesque-Regular.ttf\",\"fonts/DarkerGrotesque-SemiBold.ttf\",\"fonts.css\",\"recombine.svg\",\"telescope-icon.svg\",\"ui/arrow_tests.svg\",\"ui/paperclip.svg\",\"ui/send.svg\"]),\n\tmimeTypes: {\".png\":\"image/png\",\".ttf\":\"font/ttf\",\".css\":\"text/css\",\".svg\":\"image/svg+xml\"},\n\t_: {\n\t\tclient: {start:\"_app/immutable/entry/start.wAOD4JjG.js\",app:\"_app/immutable/entry/app.D4Xt4iAw.js\",imports:[\"_app/immutable/entry/start.wAOD4JjG.js\",\"_app/immutable/chunks/BQ3mPfLC.js\",\"_app/immutable/chunks/CxLomzuE.js\",\"_app/immutable/chunks/uLGP0py1.js\",\"_app/immutable/chunks/OA8UcISh.js\",\"_app/immutable/chunks/C39ai1md.js\",\"_app/immutable/entry/app.D4Xt4iAw.js\",\"_app/immutable/chunks/C1FmrZbK.js\",\"_app/immutable/chunks/CxLomzuE.js\",\"_app/immutable/chunks/DJriQKD9.js\",\"_app/immutable/chunks/Ca197UDq.js\",\"_app/immutable/chunks/xC2C8d09.js\",\"_app/immutable/chunks/C39ai1md.js\",\"_app/immutable/chunks/Buo-57fF.js\",\"_app/immutable/chunks/CJYOmGlC.js\",\"_app/immutable/chunks/Cyai3SOj.js\",\"_app/immutable/chunks/BLu86SbA.js\",\"_app/immutable/chunks/CPXdAKdv.js\",\"_app/immutable/chunks/uLGP0py1.js\"],stylesheets:[],fonts:[],uses_env_dynamic_public:true},\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\t__memo(() => import('./nodes/4.js')),\n\t\t\t__memo(() => import('./nodes/5.js')),\n\t\t\t__memo(() => import('./nodes/6.js')),\n\t\t\t__memo(() => import('./nodes/7.js')),\n\t\t\t__memo(() => import('./nodes/8.js')),\n\t\t\t__memo(() => import('./nodes/9.js')),\n\t\t\t__memo(() => import('./nodes/10.js')),\n\t\t\t__memo(() => import('./nodes/11.js')),\n\t\t\t__memo(() => import('./nodes/12.js')),\n\t\t\t__memo(() => import('./nodes/13.js')),\n\t\t\t__memo(() => import('./nodes/14.js')),\n\t\t\t__memo(() => import('./nodes/15.js')),\n\t\t\t__memo(() => import('./nodes/16.js')),\n\t\t\t__memo(() => import('./nodes/17.js')),\n\t\t\t__memo(() => import('./nodes/18.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: 5 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/edit\",\n\t\t\t\tpattern: /^\\/edit\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: { layouts: [0,], errors: [1,], leaf: 6 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/edit/[agent]\",\n\t\t\t\tpattern: /^\\/edit\\/([^/]+?)\\/?$/,\n\t\t\t\tparams: [{\"name\":\"agent\",\"optional\":false,\"rest\":false,\"chained\":false}],\n\t\t\t\tpage: { layouts: [0,2,], errors: [1,,], leaf: 7 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/edit/[agent]/configure\",\n\t\t\t\tpattern: /^\\/edit\\/([^/]+?)\\/configure\\/?$/,\n\t\t\t\tparams: [{\"name\":\"agent\",\"optional\":false,\"rest\":false,\"chained\":false}],\n\t\t\t\tpage: { layouts: [0,2,], errors: [1,,], leaf: 8 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/edit/[agent]/roleplay\",\n\t\t\t\tpattern: /^\\/edit\\/([^/]+?)\\/roleplay\\/?$/,\n\t\t\t\tparams: [{\"name\":\"agent\",\"optional\":false,\"rest\":false,\"chained\":false}],\n\t\t\t\tpage: { layouts: [0,2,], errors: [1,,], leaf: 9 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/edit/[agent]/tests\",\n\t\t\t\tpattern: /^\\/edit\\/([^/]+?)\\/tests\\/?$/,\n\t\t\t\tparams: [{\"name\":\"agent\",\"optional\":false,\"rest\":false,\"chained\":false}],\n\t\t\t\tpage: { layouts: [0,2,], errors: [1,,], leaf: 10 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/roleplay\",\n\t\t\t\tpattern: /^\\/roleplay\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: { layouts: [0,], errors: [1,], leaf: 11 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/tests\",\n\t\t\t\tpattern: /^\\/tests\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: { layouts: [0,], errors: [1,], leaf: 12 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/tests/[agent]\",\n\t\t\t\tpattern: /^\\/tests\\/([^/]+?)\\/?$/,\n\t\t\t\tparams: [{\"name\":\"agent\",\"optional\":false,\"rest\":false,\"chained\":false}],\n\t\t\t\tpage: { layouts: [0,], errors: [1,], leaf: 13 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/traces\",\n\t\t\t\tpattern: /^\\/traces\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: { layouts: [0,], errors: [1,], leaf: 14 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/traces/api/latency/[conversationId]\",\n\t\t\t\tpattern: /^\\/traces\\/api\\/latency\\/([^/]+?)\\/?$/,\n\t\t\t\tparams: [{\"name\":\"conversationId\",\"optional\":false,\"rest\":false,\"chained\":false}],\n\t\t\t\tpage: null,\n\t\t\t\tendpoint: __memo(() => import('./entries/endpoints/traces/api/latency/_conversationId_/_server.ts.js'))\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/traces/api/latency/[conversationId]/audio\",\n\t\t\t\tpattern: /^\\/traces\\/api\\/latency\\/([^/]+?)\\/audio\\/?$/,\n\t\t\t\tparams: [{\"name\":\"conversationId\",\"optional\":false,\"rest\":false,\"chained\":false}],\n\t\t\t\tpage: null,\n\t\t\t\tendpoint: __memo(() => import('./entries/endpoints/traces/api/latency/_conversationId_/audio/_server.ts.js'))\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/traces/api/proxy/[...path]\",\n\t\t\t\tpattern: /^\\/traces\\/api\\/proxy(?:\\/([^]*))?\\/?$/,\n\t\t\t\tparams: [{\"name\":\"path\",\"optional\":false,\"rest\":true,\"chained\":true}],\n\t\t\t\tpage: null,\n\t\t\t\tendpoint: __memo(() => import('./entries/endpoints/traces/api/proxy/_...path_/_server.ts.js'))\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/traces/api/sources\",\n\t\t\t\tpattern: /^\\/traces\\/api\\/sources\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: null,\n\t\t\t\tendpoint: __memo(() => import('./entries/endpoints/traces/api/sources/_server.ts.js'))\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/traces/conversations\",\n\t\t\t\tpattern: /^\\/traces\\/conversations\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: { layouts: [0,3,], errors: [1,,], leaf: 15 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/traces/conversations/[conversationId]\",\n\t\t\t\tpattern: /^\\/traces\\/conversations\\/([^/]+?)\\/?$/,\n\t\t\t\tparams: [{\"name\":\"conversationId\",\"optional\":false,\"rest\":false,\"chained\":false}],\n\t\t\t\tpage: { layouts: [0,3,4,], errors: [1,,,], leaf: 16 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/traces/conversations/[conversationId]/latency\",\n\t\t\t\tpattern: /^\\/traces\\/conversations\\/([^/]+?)\\/latency\\/?$/,\n\t\t\t\tparams: [{\"name\":\"conversationId\",\"optional\":false,\"rest\":false,\"chained\":false}],\n\t\t\t\tpage: { layouts: [0,3,4,], errors: [1,,,], leaf: 17 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/traces/conversations/[conversationId]/traces\",\n\t\t\t\tpattern: /^\\/traces\\/conversations\\/([^/]+?)\\/traces\\/?$/,\n\t\t\t\tparams: [{\"name\":\"conversationId\",\"optional\":false,\"rest\":false,\"chained\":false}],\n\t\t\t\tpage: { layouts: [0,3,4,], errors: [1,,,], leaf: 18 },\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\nexport const prerendered = new Set([]);\n\nexport const base = \"\";"],"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,CAAC,aAAa,CAAC,iCAAiC,CAAC,gCAAgC,CAAC,iCAAiC,CAAC,kCAAkC,CAAC,mCAAm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AACH,IAAI,EAAE,EAAE,+CAA+C;AACvD,IAAI,OAAO,EAAE,gDAAgD;AAC7D,IAAI,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,gBAAgB,CAAC,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;AACrF,IAAI,IAAI,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE;AACzD,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;;AAEW,MAAC,WAAW,GAAG,IAAI,GAAG,CAAC,EAAE;;AAEzB,MAAC,IAAI,GAAG;;;;"}
|
package/package.json
CHANGED
|
@@ -18,8 +18,9 @@ import type {
|
|
|
18
18
|
ProviderResponse
|
|
19
19
|
} from 'promptfoo'
|
|
20
20
|
import deepmerge from 'deepmerge'
|
|
21
|
-
import fs from 'node:fs'
|
|
22
21
|
import { getRootPath } from '../lib/get-root-path'
|
|
22
|
+
import { ActiveTestRuns } from './active-test-runs'
|
|
23
|
+
import { createBestEffortLogWriter, type BestEffortLogWriter } from './best-effort-log-writer'
|
|
23
24
|
import { makeContext } from './context-utils'
|
|
24
25
|
import { queueReportCompression, REPORT_JSON_SUFFIX } from './report-files'
|
|
25
26
|
|
|
@@ -97,8 +98,6 @@ type PromptTestsScope = 'all' | 'pinned'
|
|
|
97
98
|
type PromptTestsSelection = { scope: PromptTestsScope } | { testId: string }
|
|
98
99
|
type CaptureMode = 'immediate' | 'final'
|
|
99
100
|
|
|
100
|
-
const activeRunsBySuiteKey = new Map<string, AbortController>()
|
|
101
|
-
|
|
102
101
|
export interface PromptTestsProgress {
|
|
103
102
|
plannedTestIds: string[]
|
|
104
103
|
runningTestIds: string[]
|
|
@@ -111,10 +110,10 @@ type MutablePromptTestsProgress = PromptTestsProgress & {
|
|
|
111
110
|
completedRunsByTestId: Map<string, number>
|
|
112
111
|
}
|
|
113
112
|
|
|
114
|
-
const
|
|
113
|
+
const activeRuns = new ActiveTestRuns<MutablePromptTestsProgress>()
|
|
115
114
|
|
|
116
115
|
export function getPromptTestsProgress(suiteKey: string): PromptTestsProgress | null {
|
|
117
|
-
const progress =
|
|
116
|
+
const progress = activeRuns.getProgress(suiteKey)
|
|
118
117
|
if (!progress) return null
|
|
119
118
|
return {
|
|
120
119
|
plannedTestIds: [...progress.plannedTestIds],
|
|
@@ -133,26 +132,22 @@ export type SuiteSelection = {
|
|
|
133
132
|
}
|
|
134
133
|
|
|
135
134
|
export function cancelPromptTests(suiteKey: string): boolean {
|
|
136
|
-
|
|
137
|
-
if (!controller) return false
|
|
138
|
-
controller.abort()
|
|
139
|
-
return true
|
|
135
|
+
return activeRuns.cancel(suiteKey)
|
|
140
136
|
}
|
|
141
137
|
|
|
142
138
|
export async function runPromptTestsManaged(
|
|
143
139
|
suite: SuiteSelection,
|
|
144
140
|
selection: PromptTestsSelection = { scope: 'pinned' }
|
|
145
141
|
): Promise<WrittenRunReport> {
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
}
|
|
149
|
-
const controller = new AbortController()
|
|
150
|
-
activeRunsBySuiteKey.set(suite.suiteKey, controller)
|
|
142
|
+
const run = activeRuns.start(suite.suiteKey)
|
|
143
|
+
if (!run) throw new Error('Tests already running for this agent')
|
|
151
144
|
try {
|
|
152
|
-
return await runPromptTests(suite, selection, {
|
|
145
|
+
return await runPromptTests(suite, selection, {
|
|
146
|
+
signal: run.controller.signal,
|
|
147
|
+
setProgress: (progress) => activeRuns.setProgress(suite.suiteKey, run, progress)
|
|
148
|
+
})
|
|
153
149
|
} finally {
|
|
154
|
-
|
|
155
|
-
activeProgressBySuiteKey.delete(suite.suiteKey)
|
|
150
|
+
activeRuns.finish(suite.suiteKey, run)
|
|
156
151
|
}
|
|
157
152
|
}
|
|
158
153
|
|
|
@@ -244,11 +239,6 @@ function toTestInputs(
|
|
|
244
239
|
{
|
|
245
240
|
type: row.assertion_type as PFAssertion['type'],
|
|
246
241
|
value: row.assertion_value
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
type: 'similar' as const,
|
|
250
|
-
value: String(row.expected_output),
|
|
251
|
-
threshold: Number(row.similarity_threshold) / 100
|
|
252
242
|
}
|
|
253
243
|
],
|
|
254
244
|
context: (() => {
|
|
@@ -311,7 +301,7 @@ export class RecombineAgentProvider implements ApiProvider {
|
|
|
311
301
|
const capturedStepTraces: StepTrace[] = []
|
|
312
302
|
|
|
313
303
|
// Streaming log writer; initialized after basic validation
|
|
314
|
-
let
|
|
304
|
+
let logWriter: BestEffortLogWriter | null = null
|
|
315
305
|
let logsFilePath = ''
|
|
316
306
|
|
|
317
307
|
// Clone the conversation so parallel runs don't share the same array reference.
|
|
@@ -326,7 +316,7 @@ export class RecombineAgentProvider implements ApiProvider {
|
|
|
326
316
|
const logsDir = path.join(projectRoot, 'data', 'logs')
|
|
327
317
|
await mkdir(logsDir, { recursive: true })
|
|
328
318
|
logsFilePath = path.join(logsDir, `capturedLogs_${runId}.log`)
|
|
329
|
-
|
|
319
|
+
logWriter = createBestEffortLogWriter(logsFilePath)
|
|
330
320
|
}
|
|
331
321
|
|
|
332
322
|
const stepTracer: StepTracer = {
|
|
@@ -361,11 +351,7 @@ export class RecombineAgentProvider implements ApiProvider {
|
|
|
361
351
|
if (captureMode === 'final' && captureEnabled && level === 'error') {
|
|
362
352
|
finalCaptureErrors.push(line)
|
|
363
353
|
}
|
|
364
|
-
|
|
365
|
-
logStream.write(line + '\n')
|
|
366
|
-
} catch {
|
|
367
|
-
/* best-effort stream write */
|
|
368
|
-
}
|
|
354
|
+
logWriter?.write(line + '\n')
|
|
369
355
|
} catch {
|
|
370
356
|
// best-effort capture
|
|
371
357
|
}
|
|
@@ -479,11 +465,7 @@ export class RecombineAgentProvider implements ApiProvider {
|
|
|
479
465
|
if (this.abortSignal?.aborted) throw err
|
|
480
466
|
const msg = err instanceof Error ? `${err.name}: ${err.message}` : String(err)
|
|
481
467
|
capturedLogs.push(`[ERROR] ${msg}`)
|
|
482
|
-
|
|
483
|
-
logStream.write(`[ERROR] ${msg}\n`)
|
|
484
|
-
} catch {
|
|
485
|
-
/* best-effort */
|
|
486
|
-
}
|
|
468
|
+
logWriter?.write(`[ERROR] ${msg}\n`)
|
|
487
469
|
return {
|
|
488
470
|
output: '',
|
|
489
471
|
error: msg,
|
|
@@ -491,15 +473,7 @@ export class RecombineAgentProvider implements ApiProvider {
|
|
|
491
473
|
}
|
|
492
474
|
} finally {
|
|
493
475
|
// Ensure the stream flushes all data
|
|
494
|
-
|
|
495
|
-
await new Promise<void>((resolve) => {
|
|
496
|
-
try {
|
|
497
|
-
logStream.end(resolve)
|
|
498
|
-
} catch {
|
|
499
|
-
resolve()
|
|
500
|
-
}
|
|
501
|
-
})
|
|
502
|
-
}
|
|
476
|
+
await logWriter?.close()
|
|
503
477
|
}
|
|
504
478
|
}
|
|
505
479
|
}
|
|
@@ -602,7 +576,10 @@ function buildTableRows(
|
|
|
602
576
|
export async function runPromptTests(
|
|
603
577
|
suite: SuiteSelection,
|
|
604
578
|
selection: PromptTestsSelection = { scope: 'pinned' },
|
|
605
|
-
opts?: {
|
|
579
|
+
opts?: {
|
|
580
|
+
signal?: AbortSignal
|
|
581
|
+
setProgress?: (progress: MutablePromptTestsProgress) => boolean
|
|
582
|
+
}
|
|
606
583
|
): Promise<WrittenRunReport> {
|
|
607
584
|
const signal = opts?.signal
|
|
608
585
|
const scope = 'scope' in selection ? selection.scope : 'pinned'
|
|
@@ -634,7 +611,7 @@ export async function runPromptTests(
|
|
|
634
611
|
startedTestIds: new Set(),
|
|
635
612
|
completedRunsByTestId: new Map()
|
|
636
613
|
}
|
|
637
|
-
|
|
614
|
+
if (opts?.setProgress && !opts.setProgress(progress)) throw new Error('Operation cancelled')
|
|
638
615
|
|
|
639
616
|
// Provider function with stable label
|
|
640
617
|
const providerInstance = new RecombineAgentProvider({
|
|
@@ -896,9 +873,26 @@ export async function runPromptTests(
|
|
|
896
873
|
await writeChain
|
|
897
874
|
}
|
|
898
875
|
|
|
876
|
+
if (signal?.aborted) {
|
|
877
|
+
try {
|
|
878
|
+
await unlink(outPath)
|
|
879
|
+
} catch {
|
|
880
|
+
// The report may not have been installed yet if cancellation happened during setup.
|
|
881
|
+
}
|
|
882
|
+
return body
|
|
883
|
+
}
|
|
884
|
+
|
|
899
885
|
// Ensure the final report is written even if no tests ran (or an update was skipped).
|
|
900
886
|
body.rows = Array.from(byTestId.values())
|
|
901
887
|
await enqueueWrite()
|
|
888
|
+
if (signal?.aborted) {
|
|
889
|
+
try {
|
|
890
|
+
await unlink(outPath)
|
|
891
|
+
} catch {
|
|
892
|
+
// Best-effort cancellation cleanup.
|
|
893
|
+
}
|
|
894
|
+
return body
|
|
895
|
+
}
|
|
902
896
|
void queueReportCompression(outPath).catch((error) => {
|
|
903
897
|
console.error(`Failed to compress completed test report ${path.basename(outPath)}`, error)
|
|
904
898
|
})
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { describe, expect, it } from 'vitest'
|
|
2
|
+
import { ActiveTestRuns } from './active-test-runs'
|
|
3
|
+
|
|
4
|
+
describe('ActiveTestRuns', () => {
|
|
5
|
+
it('aborts and releases a run synchronously', () => {
|
|
6
|
+
const runs = new ActiveTestRuns<{ completed: number }>()
|
|
7
|
+
const first = runs.start('support')!
|
|
8
|
+
expect(runs.setProgress('support', first, { completed: 1 })).toBe(true)
|
|
9
|
+
|
|
10
|
+
expect(runs.cancel('support')).toBe(true)
|
|
11
|
+
expect(first.controller.signal.aborted).toBe(true)
|
|
12
|
+
expect(runs.getProgress('support')).toBeNull()
|
|
13
|
+
expect(runs.start('support')).not.toBeNull()
|
|
14
|
+
})
|
|
15
|
+
|
|
16
|
+
it('does not let stale setup or cleanup replace a newer run', () => {
|
|
17
|
+
const runs = new ActiveTestRuns<{ completed: number }>()
|
|
18
|
+
const cancelled = runs.start('support')!
|
|
19
|
+
runs.cancel('support')
|
|
20
|
+
const replacement = runs.start('support')!
|
|
21
|
+
|
|
22
|
+
expect(runs.setProgress('support', cancelled, { completed: 1 })).toBe(false)
|
|
23
|
+
runs.finish('support', cancelled)
|
|
24
|
+
expect(runs.setProgress('support', replacement, { completed: 2 })).toBe(true)
|
|
25
|
+
expect(runs.getProgress('support')).toEqual({ completed: 2 })
|
|
26
|
+
})
|
|
27
|
+
})
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export type ActiveTestRun<TProgress> = {
|
|
2
|
+
controller: AbortController
|
|
3
|
+
progress?: TProgress
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
export class ActiveTestRuns<TProgress> {
|
|
7
|
+
readonly #runs = new Map<string, ActiveTestRun<TProgress>>()
|
|
8
|
+
|
|
9
|
+
start(key: string): ActiveTestRun<TProgress> | null {
|
|
10
|
+
if (this.#runs.has(key)) return null
|
|
11
|
+
const run = { controller: new AbortController() }
|
|
12
|
+
this.#runs.set(key, run)
|
|
13
|
+
return run
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
setProgress(key: string, run: ActiveTestRun<TProgress>, progress: TProgress): boolean {
|
|
17
|
+
if (this.#runs.get(key) !== run) return false
|
|
18
|
+
run.progress = progress
|
|
19
|
+
return true
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
getProgress(key: string): TProgress | null {
|
|
23
|
+
return this.#runs.get(key)?.progress ?? null
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
cancel(key: string): boolean {
|
|
27
|
+
const run = this.#runs.get(key)
|
|
28
|
+
if (!run) return false
|
|
29
|
+
|
|
30
|
+
// Release the slot before abort listeners run so a replacement run can start immediately.
|
|
31
|
+
this.#runs.delete(key)
|
|
32
|
+
run.progress = undefined
|
|
33
|
+
run.controller.abort()
|
|
34
|
+
return true
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
finish(key: string, run: ActiveTestRun<TProgress>): void {
|
|
38
|
+
// Cleanup from a cancelled run must never remove a newer run for the same suite.
|
|
39
|
+
if (this.#runs.get(key) === run) this.#runs.delete(key)
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { mkdtemp, readFile, rm } from 'node:fs/promises'
|
|
2
|
+
import os from 'node:os'
|
|
3
|
+
import path from 'node:path'
|
|
4
|
+
import { afterEach, describe, expect, it } from 'vitest'
|
|
5
|
+
import { createBestEffortLogWriter } from './best-effort-log-writer'
|
|
6
|
+
|
|
7
|
+
const temporaryDirectories: string[] = []
|
|
8
|
+
|
|
9
|
+
afterEach(async () => {
|
|
10
|
+
await Promise.all(temporaryDirectories.splice(0).map((dir) => rm(dir, { recursive: true })))
|
|
11
|
+
})
|
|
12
|
+
|
|
13
|
+
describe('createBestEffortLogWriter', () => {
|
|
14
|
+
it('ignores late writes once cancellation cleanup starts closing the stream', async () => {
|
|
15
|
+
const dir = await mkdtemp(path.join(os.tmpdir(), 'bosun-log-writer-'))
|
|
16
|
+
temporaryDirectories.push(dir)
|
|
17
|
+
const logPath = path.join(dir, 'run.log')
|
|
18
|
+
const writer = createBestEffortLogWriter(logPath)
|
|
19
|
+
|
|
20
|
+
writer.write('before cancel\n')
|
|
21
|
+
const closing = writer.close()
|
|
22
|
+
writer.write('during close\n')
|
|
23
|
+
await closing
|
|
24
|
+
writer.write('after close\n')
|
|
25
|
+
await new Promise<void>((resolve) => setImmediate(resolve))
|
|
26
|
+
|
|
27
|
+
expect(await readFile(logPath, 'utf8')).toBe('before cancel\n')
|
|
28
|
+
})
|
|
29
|
+
|
|
30
|
+
it('resolves close when the underlying stream fails', async () => {
|
|
31
|
+
const dir = await mkdtemp(path.join(os.tmpdir(), 'bosun-log-writer-error-'))
|
|
32
|
+
temporaryDirectories.push(dir)
|
|
33
|
+
const writer = createBestEffortLogWriter(path.join(dir, 'missing', 'run.log'))
|
|
34
|
+
|
|
35
|
+
writer.write('ignored\n')
|
|
36
|
+
|
|
37
|
+
await expect(writer.close()).resolves.toBeUndefined()
|
|
38
|
+
})
|
|
39
|
+
})
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { createWriteStream } from 'node:fs'
|
|
2
|
+
|
|
3
|
+
export type BestEffortLogWriter = {
|
|
4
|
+
write(line: string): void
|
|
5
|
+
close(): Promise<void>
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export function createBestEffortLogWriter(filePath: string): BestEffortLogWriter {
|
|
9
|
+
const stream = createWriteStream(filePath, { flags: 'a' })
|
|
10
|
+
let closing = false
|
|
11
|
+
let closePromise: Promise<void> | null = null
|
|
12
|
+
|
|
13
|
+
// Write stream errors are emitted asynchronously, outside the caller's try/catch. Log capture is
|
|
14
|
+
// best-effort, so consume them rather than letting a logging failure terminate the test runner.
|
|
15
|
+
stream.on('error', () => {})
|
|
16
|
+
|
|
17
|
+
return {
|
|
18
|
+
write(line) {
|
|
19
|
+
if (closing || stream.destroyed || stream.writableEnded) return
|
|
20
|
+
try {
|
|
21
|
+
stream.write(line)
|
|
22
|
+
} catch {
|
|
23
|
+
// Best-effort capture: synchronous stream failures should not fail the test run.
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
close() {
|
|
27
|
+
if (closePromise) return closePromise
|
|
28
|
+
closing = true
|
|
29
|
+
closePromise = new Promise<void>((resolve) => {
|
|
30
|
+
if (stream.destroyed || stream.closed) {
|
|
31
|
+
resolve()
|
|
32
|
+
return
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
let settled = false
|
|
36
|
+
const done = () => {
|
|
37
|
+
if (settled) return
|
|
38
|
+
settled = true
|
|
39
|
+
resolve()
|
|
40
|
+
}
|
|
41
|
+
stream.once('close', done)
|
|
42
|
+
stream.once('error', done)
|
|
43
|
+
try {
|
|
44
|
+
stream.end()
|
|
45
|
+
} catch {
|
|
46
|
+
done()
|
|
47
|
+
}
|
|
48
|
+
})
|
|
49
|
+
return closePromise
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -128,13 +128,13 @@ export async function loadAgents(props: {
|
|
|
128
128
|
})
|
|
129
129
|
} catch (err) {
|
|
130
130
|
const error = err instanceof Error ? err : new Error(String(err))
|
|
131
|
+
if (abortSignal?.aborted) throw error
|
|
131
132
|
try {
|
|
132
133
|
logger.error('Error in agent.respondToMessage():', error.message)
|
|
133
134
|
if (error.stack) logger.error(error.stack)
|
|
134
135
|
} catch {
|
|
135
136
|
/* noop */
|
|
136
137
|
}
|
|
137
|
-
if (abortSignal?.aborted) throw error
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
|
|
@@ -29,6 +29,8 @@ describe('test report files', () => {
|
|
|
29
29
|
await expect(access(reportPath)).rejects.toThrow()
|
|
30
30
|
expect(gzipPath).toBe(`${reportPath}.gz`)
|
|
31
31
|
expect(await readReportFile(gzipPath)).toEqual(report)
|
|
32
|
+
// A reader may retain the plain path after compression atomically replaces it.
|
|
33
|
+
expect(await readReportFile(reportPath)).toEqual(report)
|
|
32
34
|
expect(listAgentReportFiles([path.basename(gzipPath)], 'support')).toEqual([
|
|
33
35
|
path.basename(gzipPath)
|
|
34
36
|
])
|
|
@@ -44,9 +44,28 @@ export function reportTimestamp(name: string, agent: string): string {
|
|
|
44
44
|
return logicalName.slice(prefix.length, -REPORT_JSON_SUFFIX.length).replace(/-/g, ':')
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
+
function alternateReportPath(filePath: string): string | null {
|
|
48
|
+
if (filePath.endsWith(REPORT_GZIP_SUFFIX)) return filePath.slice(0, -'.gz'.length)
|
|
49
|
+
if (filePath.endsWith(REPORT_JSON_SUFFIX)) return `${filePath}.gz`
|
|
50
|
+
return null
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
function isMissingFileError(error: unknown): error is NodeJS.ErrnoException {
|
|
54
|
+
return error instanceof Error && 'code' in error && error.code === 'ENOENT'
|
|
55
|
+
}
|
|
56
|
+
|
|
47
57
|
export async function readReportFile<T>(filePath: string): Promise<T> {
|
|
48
|
-
|
|
49
|
-
|
|
58
|
+
let resolvedPath = filePath
|
|
59
|
+
let raw: Buffer
|
|
60
|
+
try {
|
|
61
|
+
raw = await readFile(resolvedPath)
|
|
62
|
+
} catch (error) {
|
|
63
|
+
const alternatePath = alternateReportPath(resolvedPath)
|
|
64
|
+
if (!alternatePath || !isMissingFileError(error)) throw error
|
|
65
|
+
resolvedPath = alternatePath
|
|
66
|
+
raw = await readFile(resolvedPath)
|
|
67
|
+
}
|
|
68
|
+
const json = resolvedPath.endsWith(REPORT_GZIP_SUFFIX) ? await gunzipAsync(raw) : raw
|
|
50
69
|
return JSON.parse(json.toString('utf8')) as T
|
|
51
70
|
}
|
|
52
71
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var ae=t=>{throw TypeError(t)};var Ke=(t,e,n)=>e.has(t)||ae("Cannot "+n);var b=(t,e,n)=>(Ke(t,e,"read from private field"),n?n.call(t):e.get(t)),A=(t,e,n)=>e.has(t)?ae("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n);import{T as wt,bw as Me,h as Fe,w as P,j as T,y as I}from"./CxLomzuE.js";import{w as Mt}from"./uLGP0py1.js";import{b as Ge,H as Ft,S as Gt,R as Ht}from"./OA8UcISh.js";import{o as oe}from"./C39ai1md.js";const He="1784618487832";var ge;const U=((ge=globalThis.__sveltekit_pwap1u)==null?void 0:ge.base)??"";var me;const We=((me=globalThis.__sveltekit_pwap1u)==null?void 0:me.assets)??U??"";new URL("sveltekit-internal://");function Ye(t,e){return t==="/"||e==="ignore"?t:e==="never"?t.endsWith("/")?t.slice(0,-1):t:e==="always"&&!t.endsWith("/")?t+"/":t}function ze(t){return t.split("%25").map(decodeURI).join("%25")}function Je(t){for(const e in t)t[e]=decodeURIComponent(t[e]);return t}function Ct({href:t}){return t.split("#")[0]}function Xe(t,e,n,a=!1){const r=new URL(t);Object.defineProperty(r,"searchParams",{value:new Proxy(r.searchParams,{get(o,s){if(s==="get"||s==="getAll"||s==="has")return(c,...u)=>(n(c),o[s](c,...u));e();const l=Reflect.get(o,s);return typeof l=="function"?l.bind(o):l}}),enumerable:!0,configurable:!0});const i=["href","pathname","search","toString","toJSON"];a&&i.push("hash");for(const o of i)Object.defineProperty(r,o,{get(){return e(),t[o]},enumerable:!0,configurable:!0});return r}const Qe=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/,Ze=/^\/\((?:[^)]+)\)$/;function tn(t){const e=[];return{pattern:t==="/"||Ze.test(t)?/^\/$/:new RegExp(`^${nn(t).map(a=>{const r=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(a);if(r)return e.push({name:r[1],matcher:r[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const i=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(a);if(i)return e.push({name:i[1],matcher:i[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!a)return;const o=a.split(/\[(.+?)\](?!\])/);return"/"+o.map((l,c)=>{if(c%2){if(l.startsWith("x+"))return jt(String.fromCharCode(parseInt(l.slice(2),16)));if(l.startsWith("u+"))return jt(String.fromCharCode(...l.slice(2).split("-").map(f=>parseInt(f,16))));const u=Qe.exec(l),[,g,_,d,p]=u;return e.push({name:d,matcher:p,optional:!!g,rest:!!_,chained:_?c===1&&o[0]==="":!1}),_?"([^]*?)":g?"([^/]*)?":"([^/]+?)"}return jt(l)}).join("")}).join("")}/?$`),params:e}}function en(t){return t!==""&&!/^\([^)]+\)$/.test(t)}function nn(t){return t.slice(1).split("/").filter(en)}function rn(t,e,n){const a={},r=t.slice(1),i=r.filter(s=>s!==void 0);let o=0;for(let s=0;s<e.length;s+=1){const l=e[s];let c=r[s-o];if(l.chained&&l.rest&&o&&(c=r.slice(s-o,s+1).filter(u=>u).join("/"),o=0),c===void 0)if(l.rest)c="";else continue;if(!l.matcher||n[l.matcher](c)){a[l.name]=c;const u=e[s+1],g=r[s+1];u&&!u.rest&&u.optional&&g&&l.chained&&(o=0),!u&&!g&&Object.keys(a).length===i.length&&(o=0);continue}if(l.optional&&l.chained){o++;continue}return}if(!o)return a}function jt(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function $(){}function an(...t){let e=5381;for(const n of t)if(typeof n=="string"){let a=n.length;for(;a;)e=e*33^n.charCodeAt(--a)}else if(ArrayBuffer.isView(n)){const a=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let r=a.length;for(;r;)e=e*33^a[--r]}else throw new TypeError("value must be a string or TypedArray");return(e>>>0).toString(36)}const on=window.fetch;window.fetch=(t,e)=>((t instanceof Request?t.method:(e==null?void 0:e.method)||"GET")!=="GET"&&Q.delete(Wt(t)),on(t,e));const Q=new Map;function sn(t,e){const n=Wt(t,e),a=document.querySelector(n);if(a!=null&&a.textContent){a.remove();let{body:r,...i}=JSON.parse(a.textContent);a.getAttribute("data-b64")!==null&&(r=Ge(r));const s=a.getAttribute("data-ttl");return s&&Q.set(n,{body:r,init:i,ttl:1e3*Number(s)}),Promise.resolve(new Response(r,i))}return window.fetch(t,e)}function ln(t,e,n){if(Q.size>0){const a=Wt(t,n),r=Q.get(a);if(r){if(performance.now()<r.ttl&&["default","force-cache","only-if-cached",void 0].includes(n==null?void 0:n.cache))return new Response(r.body,r.init);Q.delete(a)}}return window.fetch(e,n)}function Wt(t,e){let a=`script[data-sveltekit-fetched][data-url=${JSON.stringify(t instanceof Request?t.url:t)}]`;if(e!=null&&e.headers||e!=null&&e.body){const r=[];e.headers&&r.push([...new Headers(e.headers)].join(",")),e.body&&(typeof e.body=="string"||ArrayBuffer.isView(e.body))&&r.push(e.body),a+=`[data-hash="${an(...r)}"]`}return a}function cn({nodes:t,server_loads:e,dictionary:n,matchers:a}){const r=new Set(e);return Object.entries(n).map(([s,[l,c,u]])=>{const{pattern:g,params:_}=tn(s),d={id:s,exec:p=>{const f=g.exec(p);if(f)return rn(f,_,a)},errors:[1,...u||[]].map(p=>t[p]),layouts:[0,...c||[]].map(o),leaf:i(l)};return d.errors.length=d.layouts.length=Math.max(d.errors.length,d.layouts.length),d});function i(s){const l=s<0;return l&&(s=~s),[l,t[s]]}function o(s){return s===void 0?s:[r.has(s),t[s]]}}function ye(t,e=JSON.parse){try{return e(sessionStorage[t])}catch{}}function se(t,e,n=JSON.stringify){const a=n(e);try{sessionStorage[t]=a}catch{}}const be="sveltekit:snapshot",ke="sveltekit:scroll",Yt="sveltekit:states",Se="sveltekit:pageurl",B="sveltekit:history",W="sveltekit:navigation",V={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},Re=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...Re];const fn=new Set([...Re]);[...fn];function un(t){return t.filter(e=>e!=null)}function mt(t,e){return t+"/"+e}function zt(t){return t instanceof Ft||t instanceof Gt?t.status:500}function dn(t){return t instanceof Gt?t.text:"Internal Error"}const ie={spanContext(){return hn},setAttribute(){return this},setAttributes(){return this},addEvent(){return this},setStatus(){return this},updateName(){return this},end(){return this},isRecording(){return!1},recordException(){return this},addLink(){return this},addLinks(){return this}},hn={traceId:"",spanId:"",traceFlags:0},pn=Fe??(t=>t()),gn=new Set(["icon","shortcut icon","apple-touch-icon"]);let J=null;const D=ye(ke)??{},tt=ye(be)??{},N={url:he({}),page:he({}),navigating:Mt(null),updated:On()};function Jt(t){D[t]=K()}function mn(t,e){let n=t+1;for(;D[n];)delete D[n],n+=1;for(n=e+1;tt[n];)delete tt[n],n+=1}function et(t,e=!1){return e?location.replace(t.href):location.href=t.href,new Promise($)}async function Ee(){if("serviceWorker"in navigator){const t=await navigator.serviceWorker.getRegistration(U||"/");t&&await t.update()}}let Xt,qt,vt,O,Vt,S;const yt=[],bt=[];let v=null;function kt(){var t;(t=v==null?void 0:v.fork)==null||t.then(e=>e==null?void 0:e.discard()),v=null,G={element:void 0,href:void 0}}const _t=new Map,xe=new Set,_n=new Set,Z=new Set;let w={branch:[],error:null,url:null},Le=!1,St=!1,le=!0,nt=!1,X=!1,Ue=!1,Qt=!1,Zt,k,L,j;const Rt=new Set,ce=new Map,fe=new Map;async function Vn(t,e,n){var i,o,s,l;if(globalThis.__sveltekit_pwap1u.data){const{q:c={},p:u={},l:g={},f:_={}}=globalThis.__sveltekit_pwap1u.data;for(const d in c)c[d];for(const d in g)g[d];for(const d in _)_[d];for(const d in u)u[d]}document.URL!==location.href&&(location.href=location.href),S=t,await((o=(i=t.hooks).init)==null?void 0:o.call(i)),Xt=cn(t),O=document.documentElement,Vt=e,qt=t.nodes[0],vt=t.nodes[1],qt(),vt(),k=(s=history.state)==null?void 0:s[B],L=(l=history.state)==null?void 0:l[W],k||(k=L=Date.now(),history.replaceState({...history.state,[B]:k,[W]:L},""));const a=D[k];function r(){a&&(history.scrollRestoration="manual",scrollTo(a.x,a.y))}n?(r(),await An(Vt,n)):(await H({type:"enter",url:Tt(S.hash?In(new URL(location.href)):location.href),replace_state:!0}),r()),Un()}function wn(){yt.length=0,Qt=!1}function Ae(t){bt.some(e=>e==null?void 0:e.snapshot)&&(tt[t]=bt.map(e=>{var n;return(n=e==null?void 0:e.snapshot)==null?void 0:n.capture()}))}function Pe(t){var e;(e=tt[t])==null||e.forEach((n,a)=>{var r,i;(i=(r=bt[a])==null?void 0:r.snapshot)==null||i.restore(n)})}function ue(){Jt(k),se(ke,D),Ae(L),se(be,tt)}async function Te(t,e,n,a){let r,i;e.invalidateAll&&kt(),await H({type:"goto",url:Tt(t),keepfocus:e.keepFocus,noscroll:e.noScroll,replace_state:e.replaceState,state:e.state,redirect_count:n,nav_token:a,accept:()=>{var o;if(e.invalidateAll){Qt=!0,r=new Set;for(const[s,l]of ce)for(const[c,u]of l)(o=u.resource)==null||o.reset(),r.add(mt(s,c));i=new Set;for(const[s,l]of fe)for(const c of l.keys())i.add(mt(s,c))}e.invalidate&&e.invalidate.forEach(Ln)}}),e.invalidateAll&&wt().then(wt).then(()=>{for(const[o,s]of ce)for(const[l,{resource:c}]of s)r!=null&&r.has(mt(o,l))&&c.start();for(const[o,s]of fe)for(const[l,{resource:c}]of s)i!=null&&i.has(mt(o,l))&&c.reconnect()})}async function vn(t){if(t.id!==(v==null?void 0:v.id)){kt();const e={};Rt.add(e),v={id:t.id,token:e,promise:$e({...t,preload:e}).then(n=>(Rt.delete(e),n.type==="loaded"&&n.state.error&&kt(),n)),fork:null}}return v.promise}async function Nt(t){var n;const e=(n=await Ut(t,!1))==null?void 0:n.route;e&&await Promise.all([...e.layouts,e.leaf].filter(Boolean).map(a=>a[1]()))}async function Ie(t,e,n){var r;const a={params:w.params,route:{id:((r=w.route)==null?void 0:r.id)??null},url:new URL(location.href)};if(w={...t.state,nav:a},Be(t.props.page),Zt=new S.root({target:e,props:{...t.props,stores:N,components:bt},hydrate:n,sync:!1,transformError:void 0}),await Promise.resolve(),Pe(L),n){const i={from:null,to:{...a,scroll:D[k]??K()},willUnload:!1,type:"enter",complete:Promise.resolve()};Z.forEach(o=>o(i))}St=!0}async function Et({url:t,params:e,branch:n,errors:a,status:r,error:i,route:o,form:s}){let l="never";if(U&&(t.pathname===U||t.pathname===U+"/"))l="always";else for(const p of n)(p==null?void 0:p.slash)!==void 0&&(l=p.slash);t.pathname=Ye(t.pathname,l),t.search=t.search;const c={type:"loaded",state:{url:t,params:e,branch:n,error:i,route:o},props:{constructors:un(n).map(p=>p.node.component),page:At(R)}};s!==void 0&&(c.props.form=s);let u={},g=!R,_=0;for(let p=0;p<Math.max(n.length,w.branch.length);p+=1){const f=n[p],h=w.branch[p];(f==null?void 0:f.data)!==(h==null?void 0:h.data)&&(g=!0),f&&(u={...u,...f.data},g&&(c.props[`data_${_}`]=u),_+=1)}return(!w.url||t.href!==w.url.href||w.error!==i||s!==void 0&&s!==R.form||g)&&(c.props.page={error:i,params:e,route:{id:(o==null?void 0:o.id)??null},state:{},status:r,url:new URL(t),form:s??null,data:g?u:R.data}),c}async function te({loader:t,parent:e,url:n,params:a,route:r,server_data_node:i}){var u,g,_;let o=null,s=!0;const l={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},c=await t();if((u=c.universal)!=null&&u.load){let d=function(...f){for(const h of f){const{href:m}=new URL(h,n);l.dependencies.add(m)}};const p={tracing:{enabled:!1,root:ie,current:ie},route:new Proxy(r,{get:(f,h)=>(s&&(l.route=!0),f[h])}),params:new Proxy(a,{get:(f,h)=>(s&&l.params.add(h),f[h])}),data:(i==null?void 0:i.data)??null,url:Xe(n,()=>{s&&(l.url=!0)},f=>{s&&l.search_params.add(f)},S.hash),async fetch(f,h){f instanceof Request&&(h={body:f.method==="GET"||f.method==="HEAD"?void 0:await f.blob(),cache:f.cache,credentials:f.credentials,headers:[...f.headers].length>0?f==null?void 0:f.headers:void 0,integrity:f.integrity,keepalive:f.keepalive,method:f.method,mode:f.mode,redirect:f.redirect,referrer:f.referrer,referrerPolicy:f.referrerPolicy,signal:f.signal,...h});const{resolved:m,promise:y}=Oe(f,h,n);return s&&d(m.href),y},setHeaders:$,depends:d,parent(){return s&&(l.parent=!0),e()},untrack(f){s=!1;try{return f()}finally{s=!0}}};o=await c.universal.load.call(null,p)??null}return{node:c,loader:t,server:i,universal:(g=c.universal)!=null&&g.load?{type:"data",data:o,uses:l}:null,data:o??(i==null?void 0:i.data)??null,slash:((_=c.universal)==null?void 0:_.trailingSlash)??(i==null?void 0:i.slash)}}function Oe(t,e,n){let a=t instanceof Request?t.url:t;const r=new URL(a,n);r.origin===n.origin&&(a=r.href.slice(n.origin.length));const i=St?ln(a,r.href,e):sn(a,e);return{resolved:r,promise:i}}function yn(t,e,n,a,r,i){if(Qt)return!0;if(!r)return!1;if(r.parent&&t||r.route&&e||r.url&&n)return!0;for(const o of r.search_params)if(a.has(o))return!0;for(const o of r.params)if(i[o]!==w.params[o])return!0;for(const o of r.dependencies)if(yt.some(s=>s(new URL(o))))return!0;return!1}function ee(t,e){return(t==null?void 0:t.type)==="data"?t:(t==null?void 0:t.type)==="skip"?e??null:null}function bn(t,e){if(!t)return new Set(e.searchParams.keys());const n=new Set([...t.searchParams.keys(),...e.searchParams.keys()]);for(const a of n){const r=t.searchParams.getAll(a),i=e.searchParams.getAll(a);r.every(o=>i.includes(o))&&i.every(o=>r.includes(o))&&n.delete(a)}return n}function kn({error:t,url:e,route:n,params:a}){return{type:"loaded",state:{error:t,url:e,route:n,params:a,branch:[]},props:{page:At(R),constructors:[]}}}async function $e({id:t,invalidating:e,url:n,params:a,route:r,preload:i}){if((v==null?void 0:v.id)===t)return Rt.delete(v.token),v.promise;const{errors:o,layouts:s,leaf:l}=r,c=[...s,l];o.forEach(h=>h==null?void 0:h().catch($)),c.forEach(h=>h==null?void 0:h[1]().catch($));const u=w.url?t!==xt(w.url):!1,g=w.route?r.id!==w.route.id:!1,_=bn(w.url,n);let d=!1;const p=c.map(async(h,m)=>{var C;if(!h)return;const y=w.branch[m];return h[1]===(y==null?void 0:y.loader)&&!yn(d,g,u,_,(C=y.universal)==null?void 0:C.uses,a)?y:(d=!0,te({loader:h[1],url:n,params:a,route:r,parent:async()=>{var gt;const q={};for(let M=0;M<m;M+=1)Object.assign(q,(gt=await p[M])==null?void 0:gt.data);return q},server_data_node:ee(h[0]?{type:"skip"}:null,h[0]?y==null?void 0:y.server:void 0)}))});for(const h of p)h.catch($);const f=[];for(let h=0;h<c.length;h+=1)if(c[h])try{f.push(await p[h])}catch(m){if(m instanceof Ht)return{type:"redirect",location:m.location};if(Rt.has(i))return kn({error:await rt(m,{params:a,url:n,route:{id:r.id}}),url:n,params:a,route:r});let y=zt(m),x;if(m instanceof Ft)x=m.body;else{if(await N.updated.check())return await Ee(),await et(n);x=await rt(m,{params:a,url:n,route:{id:r.id}})}const C=await Sn(h,f,o);return C?Et({url:n,params:a,branch:f.slice(0,C.idx).concat(C.node),errors:o,status:y,error:x,route:r}):await je(n,{id:r.id},x,y)}else f.push(void 0);return Et({url:n,params:a,branch:f,errors:o,status:200,error:null,route:r,form:e?void 0:null})}async function Sn(t,e,n){for(;t--;)if(n[t]){let a=t;for(;!e[a];)a-=1;try{return{idx:a+1,node:{node:await n[t](),loader:n[t],data:{},server:null,universal:null}}}catch{continue}}}async function ne({status:t,error:e,url:n,route:a}){const r={};let i=null;try{const o=await te({loader:qt,url:n,params:r,route:a,parent:()=>Promise.resolve({}),server_data_node:ee(i)}),s={node:await vt(),loader:vt,universal:null,server:null,data:null};return Et({url:n,params:r,branch:[o,s],status:t,error:e,errors:[],route:null})}catch(o){if(o instanceof Ht)return Te(new URL(o.location,location.href),{},0);throw o}}async function Rn(t){const e=t.href;if(_t.has(e))return _t.get(e);let n;try{const a=(async()=>{let r=await S.hooks.reroute({url:new URL(t),fetch:async(i,o)=>Oe(i,o,t).promise})??t;if(typeof r=="string"){const i=new URL(t);S.hash?i.hash=r:i.pathname=r,r=i}return r})();_t.set(e,a),n=await a}catch{_t.delete(e);return}return n}async function Ut(t,e){if(t&&!It(t,U,S.hash)){const n=await Rn(t);if(!n)return;const a=En(n);for(const r of Xt){const i=r.exec(a);if(i)return{id:xt(t),invalidating:e,route:r,params:Je(i),url:t}}}}function En(t){return ze(S.hash?t.hash.replace(/^#/,"").replace(/[?#].+/,""):t.pathname.slice(U.length))||"/"}function xt(t){return(S.hash?t.hash.replace(/^#/,""):t.pathname)+t.search}function Ce({url:t,type:e,intent:n,delta:a,event:r,scroll:i}){let o=!1;const s=re(w,n,t,e,i??null);a!==void 0&&(s.navigation.delta=a),r!==void 0&&(s.navigation.event=r);const l={...s.navigation,cancel:()=>{o=!0,s.reject(new Error("navigation cancelled"))}};return nt||xe.forEach(c=>c(l)),o?null:s}async function H({type:t,url:e,popped:n,keepfocus:a,noscroll:r,replace_state:i,state:o={},redirect_count:s=0,nav_token:l={},accept:c=$,block:u=$,event:g}){var M;const _=j;j=l;const d=await Ut(e,!1),p=t==="enter"?re(w,d,e,t):Ce({url:e,type:t,delta:n==null?void 0:n.delta,intent:d,scroll:n==null?void 0:n.scroll,event:g});if(!p){u(),j===l&&(j=_);return}const f=k,h=L;c(),nt=!0,St&&p.navigation.type!=="enter"&&N.navigating.set(at.current=p.navigation);let m=d&&await $e(d);if(!m){if(It(e,U,S.hash))return await et(e,i);m=await je(e,{id:null},await rt(new Gt(404,"Not Found",`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404,i)}if(e=(d==null?void 0:d.url)||e,j!==l)return p.reject(new Error("navigation aborted")),!1;if(m.type==="redirect"){if(s<20){await H({type:t,url:new URL(m.location,e),popped:n,keepfocus:a,noscroll:r,replace_state:i,state:o,redirect_count:s+1,nav_token:l}),p.fulfil(void 0);return}m=await ne({status:500,error:await rt(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}})}else m.props.page.status>=400&&await N.updated.check()&&(await Ee(),await et(e,i));if(wn(),Jt(f),Ae(h),m.props.page.url.pathname!==e.pathname&&(e.pathname=m.props.page.url.pathname),o=n?n.state:o,!n){const E=i?0:1,Y={[B]:k+=E,[W]:L+=E,[Yt]:o};(i?history.replaceState:history.pushState).call(history,Y,"",e),i||mn(k,L)}const y=d&&(v==null?void 0:v.id)===d.id?v.fork:null;v!=null&&v.fork&&!y?kt():(v=null,G={element:void 0,href:void 0}),m.props.page.state=o;let x;if(St){const E=(await Promise.all(Array.from(_n,z=>z(p.navigation)))).filter(z=>typeof z=="function");if(E.length>0){let z=function(){E.forEach($t=>{Z.delete($t)})};E.push(z),E.forEach($t=>{Z.add($t)})}const Y=p.navigation.to;w={...m.state,nav:{params:Y.params,route:Y.route,url:Y.url}},m.props.page&&(m.props.page.url=e);const Ot=y&&await y;Ot?x=Ot.commit():(J=null,Zt.$set(m.props),J&&Object.assign(m.props.page,J),Be(m.props.page),x=(M=Me)==null?void 0:M()),Ue=!0}else await Ie(m,Vt,!1);const{activeElement:C}=document;if(await x,await wt(),await wt(),j!==l)return p.reject(new Error("navigation aborted")),!1;m.props.page&&J&&Object.assign(m.props.page,J);let q=null;if(le){const E=n?n.scroll:r?K():null;E?scrollTo(E.x,E.y):(q=e.hash&&document.getElementById(Ne(e)))?q.scrollIntoView():scrollTo(0,0)}const gt=document.activeElement!==C&&document.activeElement!==document.body;!a&&!gt&&Tn(e,!q),le=!0,nt=!1,t==="popstate"&&Pe(L),p.fulfil(void 0),p.navigation.to&&(p.navigation.to.scroll=K()),Z.forEach(E=>E(p.navigation)),N.navigating.set(at.current=null)}async function je(t,e,n,a,r){return t.origin===Pt&&t.pathname===location.pathname&&!Le?await ne({status:a,error:n,url:t,route:e}):await et(t,r)}let G={element:void 0,href:void 0};function xn(){let t,e;O.addEventListener("mousemove",o=>{const s=o.target;clearTimeout(t),t=setTimeout(()=>{r(s,V.hover)},20)});function n(o){o.defaultPrevented||r(o.composedPath()[0],V.tap)}O.addEventListener("mousedown",n),O.addEventListener("touchstart",n,{passive:!0});const a=new IntersectionObserver(o=>{for(const s of o)s.isIntersecting&&(Nt(new URL(s.target.href)),a.unobserve(s.target))},{threshold:0});async function r(o,s){const l=qe(o,O),c=l===G.element&&(l==null?void 0:l.href)===G.href&&s>=e;if(!l||c)return;const{url:u,external:g,download:_}=Kt(l,U,S.hash);if(g||_)return;const d=Lt(l),p=u&&xt(w.url)===xt(u);if(!(d.reload||p))if(s<=d.preload_data){G={element:l,href:l.href},e=V.tap;const f=await Ut(u,!1);if(!f)return;vn(f)}else s<=d.preload_code&&(G={element:l,href:l.href},e=s,Nt(u))}function i(){a.disconnect();for(const o of O.querySelectorAll("a")){const{url:s,external:l,download:c}=Kt(o,U,S.hash);if(l||c)continue;const u=Lt(o);u.reload||(u.preload_code===V.viewport&&a.observe(o),u.preload_code===V.eager&&Nt(s))}}Z.add(i),i()}function rt(t,e){if(t instanceof Ft)return t.body;const n=zt(t),a=dn(t);return S.hooks.handleError({error:t,event:e,status:n,message:a})??{message:a}}function Bn(t,e={}){return t=new URL(Tt(t)),t.origin!==Pt?Promise.reject(new Error("goto: invalid URL")):Te(t,e,0)}function Ln(t){if(typeof t=="function")yt.push(t);else{const{href:e}=new URL(t,location.href);yt.push(n=>n.href===e)}}function Kn(t,e){const n={[B]:k,[W]:L,[Se]:R.url.href,[Yt]:e};history.replaceState(n,"",Tt(t)),R.state=e,Zt.$set({page:pn(()=>At(R))})}function Un(){var e;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let a=!1;if(ue(),!nt){const r=re(w,void 0,null,"leave"),i={...r.navigation,cancel:()=>{a=!0,r.reject(new Error("navigation cancelled"))}};xe.forEach(o=>o(i))}a?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&ue()}),(e=navigator.connection)!=null&&e.saveData||xn(),O.addEventListener("click",async n=>{if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const a=qe(n.composedPath()[0],O);if(!a)return;const{url:r,external:i,target:o,download:s}=Kt(a,U,S.hash);if(!r)return;if(o==="_parent"||o==="_top"){if(window.parent!==window)return}else if(o&&o!=="_self")return;const l=Lt(a);if(!(a instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||s)return;const[u,g]=(S.hash?r.hash.replace(/^#/,""):r.href).split("#"),_=u===Ct(location);if(i||l.reload&&(!_||!g)){Ce({url:r,type:"link",event:n})?nt=!0:n.preventDefault();return}if(g!==void 0&&_){const[,d]=w.url.href.split("#");if(d===g){if(n.preventDefault(),g===""||g==="top"&&a.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const p=a.ownerDocument.getElementById(decodeURIComponent(g));p&&(p.scrollIntoView(),p.focus())}return}if(X=!0,Jt(k),t(r),!l.replace_state)return;X=!1}n.preventDefault(),await new Promise(d=>{requestAnimationFrame(()=>{setTimeout(d,0)}),setTimeout(d,100)}),await H({type:"link",url:r,keepfocus:l.keepfocus,noscroll:l.noscroll,replace_state:l.replace_state??r.href===location.href,event:n})}),O.addEventListener("submit",n=>{if(n.defaultPrevented)return;const a=HTMLFormElement.prototype.cloneNode.call(n.target),r=n.submitter;if(((r==null?void 0:r.formTarget)||a.target)==="_blank"||((r==null?void 0:r.formMethod)||a.method)!=="get")return;const s=new URL((r==null?void 0:r.hasAttribute("formaction"))&&(r==null?void 0:r.formAction)||a.action);if(It(s,U,!1))return;const l=n.target,c=Lt(l);if(c.reload)return;n.preventDefault(),n.stopPropagation();const u=new FormData(l,r);s.search=new URLSearchParams(u).toString(),H({type:"form",url:s,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??s.href===location.href,event:n})}),addEventListener("popstate",async n=>{var a;if(!Bt){if((a=n.state)!=null&&a[B]){const r=n.state[B];if(j={},r===k)return;const i=D[r],o=n.state[Yt]??{},s=new URL(n.state[Se]??location.href),l=n.state[W],c=w.url?Ct(location)===Ct(w.url):!1;if(l===L&&(Ue||c)){o!==R.state&&(R.state=o),t(s),D[k]=K(),i&&scrollTo(i.x,i.y),k=r;return}const g=r-k;await H({type:"popstate",url:s,popped:{state:o,scroll:i,delta:g},accept:()=>{k=r,L=l},block:()=>{history.go(-g)},nav_token:j,event:n})}else if(!X){const r=new URL(location.href);t(r),S.hash&&location.reload()}}}),addEventListener("hashchange",()=>{X&&(X=!1,history.replaceState({...history.state,[B]:++k,[W]:L},"",location.href))});for(const n of document.querySelectorAll("link"))gn.has(n.rel)&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&N.navigating.set(at.current=null)});function t(n){w.url=R.url=n,N.page.set(At(R)),N.page.notify()}}async function An(t,{status:e=200,error:n,node_ids:a,params:r,route:i,server_route:o,data:s,form:l}){Le=!0;const c=new URL(location.href);let u;({params:r={},route:i={id:null}}=await Ut(c,!1)||{}),u=Xt.find(({id:d})=>d===i.id);let g,_=!0;try{const d=a.map(async(f,h)=>{const m=s[h];return m!=null&&m.uses&&(m.uses=Pn(m.uses)),te({loader:S.nodes[f],url:c,params:r,route:i,parent:async()=>{const y={};for(let x=0;x<h;x+=1)Object.assign(y,(await d[x]).data);return y},server_data_node:ee(m)})}),p=await Promise.all(d);if(u){const f=u.layouts;for(let h=0;h<f.length;h++)f[h]||p.splice(h,0,void 0)}g=await Et({url:c,params:r,branch:p,status:e,error:n,errors:u==null?void 0:u.errors,form:l,route:u??null})}catch(d){if(d instanceof Ht){await et(new URL(d.location,location.href));return}g=await ne({status:zt(d),error:await rt(d,{url:c,params:r,route:i}),url:c,route:i}),t.textContent="",_=!1}g.props.page&&(g.props.page.state={}),await Ie(g,t,_)}function Pn(t){return{dependencies:new Set((t==null?void 0:t.dependencies)??[]),params:new Set((t==null?void 0:t.params)??[]),parent:!!(t!=null&&t.parent),route:!!(t!=null&&t.route),url:!!(t!=null&&t.url),search_params:new Set((t==null?void 0:t.search_params)??[])}}let Bt=!1;function Tn(t,e=!0){const n=document.querySelector("[autofocus]");if(n)n.focus();else{const a=Ne(t);if(a&&document.getElementById(a)){const{x:i,y:o}=K();setTimeout(()=>{const s=history.state;Bt=!0,location.replace(new URL(`#${a}`,location.href)),history.replaceState(s,"",t),e&&scrollTo(i,o),Bt=!1})}else{const i=document.body,o=i.getAttribute("tabindex");i.tabIndex=-1,i.focus({preventScroll:!0,focusVisible:!1}),o!==null?i.setAttribute("tabindex",o):i.removeAttribute("tabindex")}const r=getSelection();if(r&&r.type!=="None"){const i=[];for(let o=0;o<r.rangeCount;o+=1)i.push(r.getRangeAt(o));setTimeout(()=>{if(r.rangeCount===i.length){for(let o=0;o<r.rangeCount;o+=1){const s=i[o],l=r.getRangeAt(o);if(s.commonAncestorContainer!==l.commonAncestorContainer||s.startContainer!==l.startContainer||s.endContainer!==l.endContainer||s.startOffset!==l.startOffset||s.endOffset!==l.endOffset)return}r.removeAllRanges()}})}}}function re(t,e,n,a,r=null){var c,u;let i,o;const s=new Promise((g,_)=>{i=g,o=_});return s.catch($),{navigation:{from:{params:t.params,route:{id:((c=t.route)==null?void 0:c.id)??null},url:t.url,scroll:K()},to:n&&{params:(e==null?void 0:e.params)??null,route:{id:((u=e==null?void 0:e.route)==null?void 0:u.id)??null},url:n,scroll:r},willUnload:!e,type:a,complete:s},fulfil:i,reject:o}}function At(t){return{data:t.data,error:t.error,form:t.form,params:t.params,route:t.route,state:t.state,status:t.status,url:t.url}}function In(t){const e=new URL(t);return e.hash=decodeURIComponent(t.hash),e}function Ne(t){let e;if(S.hash){const[,,n]=t.hash.split("#",3);e=n??""}else e=t.hash.slice(1);return decodeURIComponent(e)}const Pt=location.origin;function Tt(t){if(t instanceof URL)return t;let e=document.baseURI;if(!e){const n=document.getElementsByTagName("base");e=n.length?n[0].href:document.URL}return new URL(t,e)}function K(){return{x:pageXOffset,y:pageYOffset}}function F(t,e){return t.getAttribute(`data-sveltekit-${e}`)}const de={...V,"":V.hover};function De(t){let e=t.assignedSlot??t.parentNode;return(e==null?void 0:e.nodeType)===11&&(e=e.host),e}function qe(t,e){for(;t&&t!==e;){if(t.nodeName.toUpperCase()==="A"&&t.hasAttribute("href"))return t;t=De(t)}}function Kt(t,e,n){let a;try{if(a=new URL(t instanceof SVGAElement?t.href.baseVal:t.href,document.baseURI),n&&a.hash.match(/^#[^/]/)){const s=location.hash.split("#")[1]||"/";a.hash=`#${s}${a.hash}`}}catch{}const r=t instanceof SVGAElement?t.target.baseVal:t.target,i=!a||!!r||It(a,e,n)||(t.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(a==null?void 0:a.origin)===Pt&&t.hasAttribute("download");return{url:a,external:i,target:r,download:o}}function Lt(t){let e=null,n=null,a=null,r=null,i=null,o=null,s=t;for(;s&&s!==document.documentElement;)a===null&&(a=F(s,"preload-code")),r===null&&(r=F(s,"preload-data")),e===null&&(e=F(s,"keepfocus")),n===null&&(n=F(s,"noscroll")),i===null&&(i=F(s,"reload")),o===null&&(o=F(s,"replacestate")),s=De(s);function l(c){switch(c){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:de[a??"off"],preload_data:de[r??"off"],keepfocus:l(e),noscroll:l(n),reload:l(i),replace_state:l(o)}}function he(t){const e=Mt(t);let n=!0;function a(){n=!0,e.update(o=>o)}function r(o){n=!1,e.set(o)}function i(o){let s;return e.subscribe(l=>{(s===void 0||n&&l!==s)&&o(s=l)})}return{notify:a,set:r,subscribe:i}}const Ve={v:$};function On(){const{set:t,subscribe:e}=Mt(!1);let n;async function a(){clearTimeout(n);try{const r=await fetch(`${We}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const o=(await r.json()).version!==He;return o&&(t(!0),Ve.v(),clearTimeout(n)),o}catch{return!1}}return{subscribe:e,check:a}}function It(t,e,n){return t.origin!==Pt||!t.pathname.startsWith(e)?!0:n?t.pathname!==location.pathname:!1}function Mn(t){}let R,at,Dt;const $n=oe.toString().includes("$$")||/function \w+\(\) \{\}/.test(oe.toString()),pe="a:";var ot,st,it,lt,ct,ft,ut,dt,_e,ht,we,pt,ve;$n?(R={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL(pe)},at={current:null},Dt={current:!1}):(R=new(_e=class{constructor(){A(this,ot,P({}));A(this,st,P(null));A(this,it,P(null));A(this,lt,P({}));A(this,ct,P({id:null}));A(this,ft,P({}));A(this,ut,P(-1));A(this,dt,P(new URL(pe)))}get data(){return T(b(this,ot))}set data(e){I(b(this,ot),e)}get form(){return T(b(this,st))}set form(e){I(b(this,st),e)}get error(){return T(b(this,it))}set error(e){I(b(this,it),e)}get params(){return T(b(this,lt))}set params(e){I(b(this,lt),e)}get route(){return T(b(this,ct))}set route(e){I(b(this,ct),e)}get state(){return T(b(this,ft))}set state(e){I(b(this,ft),e)}get status(){return T(b(this,ut))}set status(e){I(b(this,ut),e)}get url(){return T(b(this,dt))}set url(e){I(b(this,dt),e)}},ot=new WeakMap,st=new WeakMap,it=new WeakMap,lt=new WeakMap,ct=new WeakMap,ft=new WeakMap,ut=new WeakMap,dt=new WeakMap,_e),at=new(we=class{constructor(){A(this,ht,P(null))}get current(){return T(b(this,ht))}set current(e){I(b(this,ht),e)}},ht=new WeakMap,we),Dt=new(ve=class{constructor(){A(this,pt,P(!1))}get current(){return T(b(this,pt))}set current(e){I(b(this,pt),e)}},pt=new WeakMap,ve),Ve.v=()=>Dt.current=!0);function Be(t){Object.assign(R,t)}export{Vn as a,Bn as g,Mn as l,R as p,Kn as r,N as s};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|