plum-e2e 2.9.17 → 2.10.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/backend/constants/socketEvents.js +8 -14
- package/backend/lib/serverBootstrap.js +4 -4
- package/backend/mcp/server.js +3 -3
- package/backend/prisma/migrations/20260829000000_add_run_queue/migration.sql +29 -0
- package/backend/prisma/schema.prisma +30 -0
- package/backend/routes/active-runs.routes.js +10 -6
- package/backend/routes/node.routes.js +7 -0
- package/backend/routes/trigger.routes.js +8 -5
- package/backend/server.js +5 -1
- package/backend/services/cronService.js +15 -443
- package/backend/services/nodeExecutionService.js +13 -1
- package/backend/services/runExecutorService.js +423 -0
- package/backend/services/runQueueService.js +276 -0
- package/backend/services/runnerService.js +22 -4
- package/backend/services/triggerService.js +13 -231
- package/backend/websockets/socketHandler.js +32 -590
- package/frontend/.svelte-kit/adapter-node/.vite/manifest.json +35 -35
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/BackLink.DRrgBGDC.css +6 -0
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_layout.HkPnpRl9.css +6 -0
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.B9H_IpSU.css +6 -0
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.Be5c3USL.css +6 -0
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.COwSGmmy.css +6 -0
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.ClS4XkkN.css +6 -0
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.Dp6vaGRc.css +6 -0
- package/frontend/.svelte-kit/adapter-node/chunks/BackLink.js +1 -1
- package/frontend/.svelte-kit/adapter-node/chunks/Badge.js +1 -1
- package/frontend/.svelte-kit/adapter-node/chunks/ConfirmModal.js +1 -1
- package/frontend/.svelte-kit/adapter-node/chunks/EmptyState.js +1 -1
- package/frontend/.svelte-kit/adapter-node/chunks/Modal.js +1 -1
- package/frontend/.svelte-kit/adapter-node/chunks/Toast.js +1 -1
- package/frontend/.svelte-kit/adapter-node/chunks/constants.js +6 -4
- package/frontend/.svelte-kit/adapter-node/chunks/format.js +3 -3
- package/frontend/.svelte-kit/adapter-node/chunks/index.js +4 -4
- package/frontend/.svelte-kit/adapter-node/chunks/internal.js +1 -1
- package/frontend/.svelte-kit/adapter-node/chunks/reports.js +1 -1
- package/frontend/.svelte-kit/adapter-node/chunks/reports2.js +38 -40
- package/frontend/.svelte-kit/adapter-node/chunks/repository.js +8 -0
- package/frontend/.svelte-kit/adapter-node/chunks/runner.js +10 -20
- package/frontend/.svelte-kit/adapter-node/entries/pages/live/_id_/_page.svelte.js +254 -0
- package/frontend/.svelte-kit/adapter-node/entries/pages/login/_page.svelte.js +1 -1
- package/frontend/.svelte-kit/adapter-node/entries/pages/reports/_id_/_page.svelte.js +29 -24
- package/frontend/.svelte-kit/adapter-node/entries/pages/reports/_page.svelte.js +23 -19
- package/frontend/.svelte-kit/adapter-node/entries/pages/scheduled-tests/_page.svelte.js +3 -3
- package/frontend/.svelte-kit/adapter-node/entries/pages/settings/_page.svelte.js +173 -51
- package/frontend/.svelte-kit/adapter-node/entries/pages/setup/_page.svelte.js +1 -1
- package/frontend/.svelte-kit/adapter-node/entries/pages/test-repository/runs/_id_/_page.svelte.js +1 -1
- package/frontend/.svelte-kit/adapter-node/entries/pages/test-repository/suites/_id_/_page.svelte.js +63 -11
- package/frontend/.svelte-kit/adapter-node/manifest-full.js +10 -10
- package/frontend/.svelte-kit/adapter-node/manifest.js +10 -10
- package/frontend/.svelte-kit/adapter-node/nodes/0.js +2 -2
- package/frontend/.svelte-kit/adapter-node/nodes/1.js +1 -1
- package/frontend/.svelte-kit/adapter-node/nodes/10.js +1 -1
- package/frontend/.svelte-kit/adapter-node/nodes/11.js +1 -1
- package/frontend/.svelte-kit/adapter-node/nodes/12.js +2 -2
- package/frontend/.svelte-kit/adapter-node/nodes/2.js +1 -1
- package/frontend/.svelte-kit/adapter-node/nodes/3.js +3 -3
- package/frontend/.svelte-kit/adapter-node/nodes/4.js +3 -3
- package/frontend/.svelte-kit/adapter-node/nodes/5.js +3 -3
- package/frontend/.svelte-kit/adapter-node/nodes/6.js +3 -3
- package/frontend/.svelte-kit/adapter-node/nodes/7.js +1 -1
- package/frontend/.svelte-kit/adapter-node/nodes/8.js +2 -2
- package/frontend/.svelte-kit/adapter-node/nodes/9.js +1 -1
- package/frontend/.svelte-kit/ambient.d.ts +28 -28
- package/frontend/.svelte-kit/generated/client/app.js +4 -4
- package/frontend/.svelte-kit/generated/client/nodes/13.js +6 -0
- package/frontend/.svelte-kit/generated/client/nodes/3.js +1 -1
- package/frontend/.svelte-kit/generated/client/nodes/4.js +1 -1
- package/frontend/.svelte-kit/generated/client/nodes/5.js +1 -1
- package/frontend/.svelte-kit/generated/client/nodes/6.js +1 -1
- package/frontend/.svelte-kit/generated/client-optimized/app.js +4 -4
- package/frontend/.svelte-kit/generated/client-optimized/nodes/3.js +1 -1
- package/frontend/.svelte-kit/generated/client-optimized/nodes/4.js +1 -1
- package/frontend/.svelte-kit/generated/client-optimized/nodes/5.js +1 -1
- package/frontend/.svelte-kit/generated/client-optimized/nodes/6.js +1 -1
- package/frontend/.svelte-kit/generated/server/internal.js +1 -1
- package/frontend/.svelte-kit/output/client/.vite/manifest.json +413 -401
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/0.CmJTG5mP.css +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/12.B9H_IpSU.css +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/3.Be5c3USL.css +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/5.ClS4XkkN.css +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/6.BN5XbLUX.css +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/8.COwSGmmy.css +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/BackLink.DRrgBGDC.css +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_layout.HkPnpRl9.css +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.B9H_IpSU.css +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.Be5c3USL.css +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.COwSGmmy.css +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.ClS4XkkN.css +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.Dp6vaGRc.css +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/2-KCkWZO.js +6 -0
- package/frontend/{build/client/_app/immutable/chunks/CNdcuGR0.js → .svelte-kit/output/client/_app/immutable/chunks/B00vxw57.js} +1 -1
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/B0_HKFXV.js +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{t-La0hgu.js → BAvTKHxT.js} +1 -1
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/BJ_ypKl3.js +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/BbYY_TzB.js +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/Beula-TH.js +11 -0
- package/frontend/{build/client/_app/immutable/chunks/CKDtmZUQ.js → .svelte-kit/output/client/_app/immutable/chunks/C00jnSU2.js} +1 -1
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/C2_rQ4aY.js +175 -0
- package/frontend/{build/client/_app/immutable/chunks/DCgHuuvs.js → .svelte-kit/output/client/_app/immutable/chunks/C7uEQ-LH.js} +1 -1
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/C8S7qQjQ.js +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{CzlPaHY9.js → CZWchtW8.js} +1 -1
- package/frontend/{build/client/_app/immutable/chunks/2zMvi6fR.js → .svelte-kit/output/client/_app/immutable/chunks/CboYYxrf.js} +1 -1
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/CeH-RgMb.js +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{CgnwuKKO.js → CegSvdD-.js} +1 -1
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/CfkUW1vA.js +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/Cfmt4_tJ.js +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/Cgw8TOOy.js +6 -0
- package/frontend/{build/client/_app/immutable/chunks/C1Vid6wz.js → .svelte-kit/output/client/_app/immutable/chunks/Ck6C3Fl0.js} +1 -1
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/CoTEzvLa.js +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{DMZwI8Cj.js → DAmOMhaf.js} +1 -1
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/DB3YXVFP.js +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{w0D4Uzlq.js → DWzEJYIF.js} +1 -1
- package/frontend/{build/client/_app/immutable/chunks/CMEtqUfQ.js → .svelte-kit/output/client/_app/immutable/chunks/DgQy0SB2.js} +1 -1
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{kkA1mrsH.js → DiVmSEJa.js} +2 -2
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/Dl-F6VCo.js +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/DuAVKaL3.js +6 -0
- package/frontend/{build/client/_app/immutable/chunks/BmZ9upwL.js → .svelte-kit/output/client/_app/immutable/chunks/GDjpV3r7.js} +1 -1
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/K1h4wprj.js +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{DDZw0L0T.js → d2K3c8Kx.js} +1 -1
- package/frontend/.svelte-kit/output/client/_app/immutable/entry/app.DRjRA71t.js +7 -0
- package/frontend/{build/client/_app/immutable/entry/start.4qxHHAcl.js → .svelte-kit/output/client/_app/immutable/entry/start.BXOLyf9R.js} +1 -1
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/0.CRb8Nyce.js +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/{1.Df9sLw8b.js → 1.BI97il3r.js} +1 -1
- package/frontend/{build/client/_app/immutable/nodes/10.DEbnxfND.js → .svelte-kit/output/client/_app/immutable/nodes/10.kyazROhw.js} +1 -1
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/{11.BViaDK2m.js → 11.B3vMgT2v.js} +1 -1
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/12.DkPcIrgW.js +6 -0
- package/frontend/{build/client/_app/immutable/nodes/2.BCPSg7H4.js → .svelte-kit/output/client/_app/immutable/nodes/2.Dr6yugXz.js} +1 -1
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/3.DUiL7fb5.js +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/{3.8BFAJoHT.js → 4.DDADylfF.js} +1 -1
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/5.N4CeDeoD.js +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/6.DWd93Bv5.js +10 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/7.c8d1cQQM.js +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/8.Cvd3MauU.js +9 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/{9.CvfGx3Hu.js → 9.BOK0GNF_.js} +1 -1
- package/frontend/.svelte-kit/output/client/_app/version.json +1 -1
- package/frontend/.svelte-kit/output/server/.vite/manifest.json +35 -35
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/BackLink.DRrgBGDC.css +6 -0
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_layout.HkPnpRl9.css +6 -0
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.B9H_IpSU.css +6 -0
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.Be5c3USL.css +6 -0
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.COwSGmmy.css +6 -0
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.ClS4XkkN.css +6 -0
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.Dp6vaGRc.css +6 -0
- package/frontend/.svelte-kit/output/server/chunks/BackLink.js +1 -1
- package/frontend/.svelte-kit/output/server/chunks/Badge.js +1 -1
- package/frontend/.svelte-kit/output/server/chunks/ConfirmModal.js +1 -1
- package/frontend/.svelte-kit/output/server/chunks/EmptyState.js +1 -1
- package/frontend/.svelte-kit/output/server/chunks/Modal.js +1 -1
- package/frontend/.svelte-kit/output/server/chunks/Toast.js +1 -1
- package/frontend/.svelte-kit/output/server/chunks/constants.js +6 -4
- package/frontend/.svelte-kit/output/server/chunks/format.js +3 -3
- package/frontend/.svelte-kit/output/server/chunks/index.js +4 -4
- package/frontend/.svelte-kit/output/server/chunks/internal.js +1 -1
- package/frontend/.svelte-kit/output/server/chunks/reports.js +1 -1
- package/frontend/.svelte-kit/output/server/chunks/reports2.js +38 -40
- package/frontend/.svelte-kit/output/server/chunks/repository.js +8 -0
- package/frontend/.svelte-kit/output/server/chunks/runner.js +10 -20
- package/frontend/.svelte-kit/output/server/entries/pages/live/_id_/_page.svelte.js +254 -0
- package/frontend/.svelte-kit/output/server/entries/pages/login/_page.svelte.js +1 -1
- package/frontend/.svelte-kit/output/server/entries/pages/reports/_id_/_page.svelte.js +29 -24
- package/frontend/.svelte-kit/output/server/entries/pages/reports/_page.svelte.js +23 -19
- package/frontend/.svelte-kit/output/server/entries/pages/scheduled-tests/_page.svelte.js +3 -3
- package/frontend/.svelte-kit/output/server/entries/pages/settings/_page.svelte.js +173 -51
- package/frontend/.svelte-kit/output/server/entries/pages/setup/_page.svelte.js +1 -1
- package/frontend/.svelte-kit/output/server/entries/pages/test-repository/runs/_id_/_page.svelte.js +1 -1
- package/frontend/.svelte-kit/output/server/entries/pages/test-repository/suites/_id_/_page.svelte.js +63 -11
- package/frontend/.svelte-kit/output/server/manifest-full.js +10 -10
- package/frontend/.svelte-kit/output/server/manifest.js +10 -10
- package/frontend/.svelte-kit/output/server/nodes/0.js +2 -2
- package/frontend/.svelte-kit/output/server/nodes/1.js +1 -1
- package/frontend/.svelte-kit/output/server/nodes/10.js +1 -1
- package/frontend/.svelte-kit/output/server/nodes/11.js +1 -1
- package/frontend/.svelte-kit/output/server/nodes/12.js +2 -2
- package/frontend/.svelte-kit/output/server/nodes/2.js +1 -1
- package/frontend/.svelte-kit/output/server/nodes/3.js +3 -3
- package/frontend/.svelte-kit/output/server/nodes/4.js +3 -3
- package/frontend/.svelte-kit/output/server/nodes/5.js +3 -3
- package/frontend/.svelte-kit/output/server/nodes/6.js +3 -3
- package/frontend/.svelte-kit/output/server/nodes/7.js +1 -1
- package/frontend/.svelte-kit/output/server/nodes/8.js +2 -2
- package/frontend/.svelte-kit/output/server/nodes/9.js +1 -1
- package/frontend/build/client/_app/immutable/assets/0.CmJTG5mP.css +6 -0
- package/frontend/build/client/_app/immutable/assets/0.CmJTG5mP.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/0.CmJTG5mP.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/12.B9H_IpSU.css +6 -0
- package/frontend/build/client/_app/immutable/assets/12.B9H_IpSU.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/12.B9H_IpSU.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/3.Be5c3USL.css +6 -0
- package/frontend/build/client/_app/immutable/assets/3.Be5c3USL.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/3.Be5c3USL.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/5.ClS4XkkN.css +6 -0
- package/frontend/build/client/_app/immutable/assets/5.ClS4XkkN.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/5.ClS4XkkN.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/6.BN5XbLUX.css +6 -0
- package/frontend/build/client/_app/immutable/assets/6.BN5XbLUX.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/6.BN5XbLUX.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/8.COwSGmmy.css +6 -0
- package/frontend/build/client/_app/immutable/assets/8.COwSGmmy.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/8.COwSGmmy.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/BackLink.DRrgBGDC.css +6 -0
- package/frontend/build/client/_app/immutable/assets/BackLink.DRrgBGDC.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/BackLink.DRrgBGDC.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_layout.HkPnpRl9.css +6 -0
- package/frontend/build/client/_app/immutable/assets/_layout.HkPnpRl9.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_layout.HkPnpRl9.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.B9H_IpSU.css +6 -0
- package/frontend/build/client/_app/immutable/assets/_page.B9H_IpSU.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.B9H_IpSU.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.Be5c3USL.css +6 -0
- package/frontend/build/client/_app/immutable/assets/_page.Be5c3USL.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.Be5c3USL.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.COwSGmmy.css +6 -0
- package/frontend/build/client/_app/immutable/assets/_page.COwSGmmy.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.COwSGmmy.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.ClS4XkkN.css +6 -0
- package/frontend/build/client/_app/immutable/assets/_page.ClS4XkkN.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.ClS4XkkN.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.Dp6vaGRc.css +6 -0
- package/frontend/build/client/_app/immutable/assets/_page.Dp6vaGRc.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.Dp6vaGRc.css.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/2-KCkWZO.js +6 -0
- package/frontend/build/client/_app/immutable/chunks/2-KCkWZO.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/2-KCkWZO.js.gz +0 -0
- package/frontend/{.svelte-kit/output/client/_app/immutable/chunks/CNdcuGR0.js → build/client/_app/immutable/chunks/B00vxw57.js} +1 -1
- package/frontend/build/client/_app/immutable/chunks/B00vxw57.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/B00vxw57.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/B0_HKFXV.js +6 -0
- package/frontend/build/client/_app/immutable/chunks/B0_HKFXV.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/B0_HKFXV.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/{t-La0hgu.js → BAvTKHxT.js} +1 -1
- package/frontend/build/client/_app/immutable/chunks/BAvTKHxT.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/BAvTKHxT.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/BJ_ypKl3.js +6 -0
- package/frontend/build/client/_app/immutable/chunks/BJ_ypKl3.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/BJ_ypKl3.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/BbYY_TzB.js +6 -0
- package/frontend/build/client/_app/immutable/chunks/BbYY_TzB.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/BbYY_TzB.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/Beula-TH.js +11 -0
- package/frontend/build/client/_app/immutable/chunks/Beula-TH.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/Beula-TH.js.gz +0 -0
- package/frontend/{.svelte-kit/output/client/_app/immutable/chunks/CKDtmZUQ.js → build/client/_app/immutable/chunks/C00jnSU2.js} +1 -1
- package/frontend/build/client/_app/immutable/chunks/C00jnSU2.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/C00jnSU2.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/C2_rQ4aY.js +175 -0
- package/frontend/build/client/_app/immutable/chunks/C2_rQ4aY.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/C2_rQ4aY.js.gz +0 -0
- package/frontend/{.svelte-kit/output/client/_app/immutable/chunks/DCgHuuvs.js → build/client/_app/immutable/chunks/C7uEQ-LH.js} +1 -1
- package/frontend/build/client/_app/immutable/chunks/C7uEQ-LH.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/C7uEQ-LH.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/C8S7qQjQ.js +6 -0
- package/frontend/build/client/_app/immutable/chunks/C8S7qQjQ.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/C8S7qQjQ.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/{CzlPaHY9.js → CZWchtW8.js} +1 -1
- package/frontend/build/client/_app/immutable/chunks/CZWchtW8.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CZWchtW8.js.gz +0 -0
- package/frontend/{.svelte-kit/output/client/_app/immutable/chunks/2zMvi6fR.js → build/client/_app/immutable/chunks/CboYYxrf.js} +1 -1
- package/frontend/build/client/_app/immutable/chunks/CboYYxrf.js.br +6 -0
- package/frontend/build/client/_app/immutable/chunks/CboYYxrf.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/CeH-RgMb.js +6 -0
- package/frontend/build/client/_app/immutable/chunks/CeH-RgMb.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CeH-RgMb.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/{CgnwuKKO.js → CegSvdD-.js} +1 -1
- package/frontend/build/client/_app/immutable/chunks/CegSvdD-.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CegSvdD-.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/CfkUW1vA.js +6 -0
- package/frontend/build/client/_app/immutable/chunks/CfkUW1vA.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CfkUW1vA.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/Cfmt4_tJ.js +6 -0
- package/frontend/build/client/_app/immutable/chunks/Cfmt4_tJ.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/Cfmt4_tJ.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/Cgw8TOOy.js +6 -0
- package/frontend/build/client/_app/immutable/chunks/Cgw8TOOy.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/Cgw8TOOy.js.gz +0 -0
- package/frontend/{.svelte-kit/output/client/_app/immutable/chunks/C1Vid6wz.js → build/client/_app/immutable/chunks/Ck6C3Fl0.js} +1 -1
- package/frontend/build/client/_app/immutable/chunks/Ck6C3Fl0.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/Ck6C3Fl0.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/CoTEzvLa.js +6 -0
- package/frontend/build/client/_app/immutable/chunks/CoTEzvLa.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CoTEzvLa.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/{DMZwI8Cj.js → DAmOMhaf.js} +1 -1
- package/frontend/build/client/_app/immutable/chunks/DAmOMhaf.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DAmOMhaf.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/DB3YXVFP.js +6 -0
- package/frontend/build/client/_app/immutable/chunks/DB3YXVFP.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DB3YXVFP.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/{w0D4Uzlq.js → DWzEJYIF.js} +1 -1
- package/frontend/build/client/_app/immutable/chunks/DWzEJYIF.js.br +7 -0
- package/frontend/build/client/_app/immutable/chunks/DWzEJYIF.js.gz +0 -0
- package/frontend/{.svelte-kit/output/client/_app/immutable/chunks/CMEtqUfQ.js → build/client/_app/immutable/chunks/DgQy0SB2.js} +1 -1
- package/frontend/build/client/_app/immutable/chunks/DgQy0SB2.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DgQy0SB2.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/{kkA1mrsH.js → DiVmSEJa.js} +2 -2
- package/frontend/build/client/_app/immutable/chunks/DiVmSEJa.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DiVmSEJa.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/Dl-F6VCo.js +6 -0
- package/frontend/build/client/_app/immutable/chunks/Dl-F6VCo.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/Dl-F6VCo.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/DuAVKaL3.js +6 -0
- package/frontend/build/client/_app/immutable/chunks/DuAVKaL3.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DuAVKaL3.js.gz +0 -0
- package/frontend/{.svelte-kit/output/client/_app/immutable/chunks/BmZ9upwL.js → build/client/_app/immutable/chunks/GDjpV3r7.js} +1 -1
- package/frontend/build/client/_app/immutable/chunks/GDjpV3r7.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/GDjpV3r7.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/K1h4wprj.js +6 -0
- package/frontend/build/client/_app/immutable/chunks/K1h4wprj.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/K1h4wprj.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/{DDZw0L0T.js → d2K3c8Kx.js} +1 -1
- package/frontend/build/client/_app/immutable/chunks/d2K3c8Kx.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/d2K3c8Kx.js.gz +0 -0
- package/frontend/build/client/_app/immutable/entry/app.DRjRA71t.js +7 -0
- package/frontend/build/client/_app/immutable/entry/app.DRjRA71t.js.br +0 -0
- package/frontend/build/client/_app/immutable/entry/app.DRjRA71t.js.gz +0 -0
- package/frontend/{.svelte-kit/output/client/_app/immutable/entry/start.4qxHHAcl.js → build/client/_app/immutable/entry/start.BXOLyf9R.js} +1 -1
- package/frontend/build/client/_app/immutable/entry/{start.4qxHHAcl.js.br → start.BXOLyf9R.js.br} +1 -1
- package/frontend/build/client/_app/immutable/entry/{start.4qxHHAcl.js.gz → start.BXOLyf9R.js.gz} +0 -0
- package/frontend/build/client/_app/immutable/nodes/0.CRb8Nyce.js +6 -0
- package/frontend/build/client/_app/immutable/nodes/0.CRb8Nyce.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/0.CRb8Nyce.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/{1.Df9sLw8b.js → 1.BI97il3r.js} +1 -1
- package/frontend/build/client/_app/immutable/nodes/1.BI97il3r.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/1.BI97il3r.js.gz +0 -0
- package/frontend/{.svelte-kit/output/client/_app/immutable/nodes/10.DEbnxfND.js → build/client/_app/immutable/nodes/10.kyazROhw.js} +1 -1
- package/frontend/build/client/_app/immutable/nodes/10.kyazROhw.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/10.kyazROhw.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/{11.BViaDK2m.js → 11.B3vMgT2v.js} +1 -1
- package/frontend/build/client/_app/immutable/nodes/11.B3vMgT2v.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/11.B3vMgT2v.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/12.DkPcIrgW.js +6 -0
- package/frontend/build/client/_app/immutable/nodes/12.DkPcIrgW.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/12.DkPcIrgW.js.gz +0 -0
- package/frontend/{.svelte-kit/output/client/_app/immutable/nodes/2.BCPSg7H4.js → build/client/_app/immutable/nodes/2.Dr6yugXz.js} +1 -1
- package/frontend/build/client/_app/immutable/nodes/2.Dr6yugXz.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/2.Dr6yugXz.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/3.DUiL7fb5.js +6 -0
- package/frontend/build/client/_app/immutable/nodes/3.DUiL7fb5.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/3.DUiL7fb5.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/{3.8BFAJoHT.js → 4.DDADylfF.js} +1 -1
- package/frontend/build/client/_app/immutable/nodes/4.DDADylfF.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/4.DDADylfF.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/5.N4CeDeoD.js +6 -0
- package/frontend/build/client/_app/immutable/nodes/5.N4CeDeoD.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/5.N4CeDeoD.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/6.DWd93Bv5.js +10 -0
- package/frontend/build/client/_app/immutable/nodes/6.DWd93Bv5.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/6.DWd93Bv5.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/7.c8d1cQQM.js +6 -0
- package/frontend/build/client/_app/immutable/nodes/7.c8d1cQQM.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/7.c8d1cQQM.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/8.Cvd3MauU.js +9 -0
- package/frontend/build/client/_app/immutable/nodes/8.Cvd3MauU.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/8.Cvd3MauU.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/{9.CvfGx3Hu.js → 9.BOK0GNF_.js} +1 -1
- package/frontend/build/client/_app/immutable/nodes/9.BOK0GNF_.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/9.BOK0GNF_.js.gz +0 -0
- package/frontend/build/client/_app/version.json +1 -1
- package/frontend/build/client/_app/version.json.br +0 -0
- package/frontend/build/client/_app/version.json.gz +0 -0
- package/frontend/build/server/chunks/0-_rljpEay.js +22 -0
- package/frontend/build/server/chunks/0-_rljpEay.js.map +5 -0
- package/frontend/build/server/chunks/{1-Kxn9d30Z.js → 1-B3HpigzL.js} +3 -3
- package/frontend/build/server/chunks/{1-Kxn9d30Z.js.map → 1-B3HpigzL.js.map} +1 -1
- package/frontend/build/server/chunks/10-BQBBYpxV.js +14 -0
- package/frontend/build/server/chunks/10-BQBBYpxV.js.map +5 -0
- package/frontend/build/server/chunks/11-10xw0TIP.js +14 -0
- package/frontend/build/server/chunks/11-10xw0TIP.js.map +5 -0
- package/frontend/build/server/chunks/12-CZ3_Uw3c.js +14 -0
- package/frontend/build/server/chunks/{12-De6Ol6pu.js.map → 12-CZ3_Uw3c.js.map} +1 -1
- package/frontend/build/server/chunks/2-DioMbKbC.js +14 -0
- package/frontend/build/server/chunks/{2-Dc_rKWoK.js.map → 2-DioMbKbC.js.map} +1 -1
- package/frontend/build/server/chunks/3-CgiZg_9v.js +14 -0
- package/frontend/build/server/chunks/3-CgiZg_9v.js.map +5 -0
- package/frontend/build/server/chunks/4-BM-49dbE.js +14 -0
- package/frontend/build/server/chunks/4-BM-49dbE.js.map +5 -0
- package/frontend/build/server/chunks/5-Brx_KOzy.js +14 -0
- package/frontend/build/server/chunks/5-Brx_KOzy.js.map +5 -0
- package/frontend/build/server/chunks/6-C5swINND.js +14 -0
- package/frontend/build/server/chunks/6-C5swINND.js.map +5 -0
- package/frontend/build/server/chunks/7-B8e4y3CB.js +14 -0
- package/frontend/build/server/chunks/{7-DiQJZEF_.js.map → 7-B8e4y3CB.js.map} +1 -1
- package/frontend/build/server/chunks/8-BZtkZMIZ.js +14 -0
- package/frontend/build/server/chunks/8-BZtkZMIZ.js.map +5 -0
- package/frontend/build/server/chunks/9-BMAKiAem.js +14 -0
- package/frontend/build/server/chunks/{9-DirZG_Lu.js.map → 9-BMAKiAem.js.map} +1 -1
- package/frontend/build/server/chunks/{BackLink-BJ8NaemM.js → BackLink-CMpNTYqE.js} +2 -2
- package/frontend/build/server/chunks/BackLink-CMpNTYqE.js.map +5 -0
- package/frontend/build/server/chunks/{Badge-44ZTDx0V.js → Badge-BTWnF9pA.js} +2 -2
- package/frontend/build/server/chunks/Badge-BTWnF9pA.js.map +5 -0
- package/frontend/build/server/chunks/{ConfirmModal-C0EAXcq_.js → ConfirmModal-CtGWHl0v.js} +3 -3
- package/frontend/build/server/chunks/ConfirmModal-CtGWHl0v.js.map +5 -0
- package/frontend/build/server/chunks/{EmptyState-BA_eXaeR.js → EmptyState-Zpm9tJe1.js} +2 -2
- package/frontend/build/server/chunks/EmptyState-Zpm9tJe1.js.map +5 -0
- package/frontend/build/server/chunks/{Modal-DChG187n.js → Modal-BJJMnfIg.js} +2 -2
- package/frontend/build/server/chunks/Modal-BJJMnfIg.js.map +5 -0
- package/frontend/build/server/chunks/{Toast-v-q4ZnYq.js → Toast-CHB87F8k.js} +2 -2
- package/frontend/build/server/chunks/Toast-CHB87F8k.js.map +5 -0
- package/frontend/build/server/chunks/{_layout.svelte-CHVI3Prt.js → _layout.svelte-C_6nsIpT.js} +7 -7
- package/frontend/build/server/chunks/{_layout.svelte-CHVI3Prt.js.map → _layout.svelte-C_6nsIpT.js.map} +1 -1
- package/frontend/build/server/chunks/{_page.svelte-1jo8MapI.js → _page.svelte-BNwU9zza.js} +11 -10
- package/frontend/build/server/chunks/_page.svelte-BNwU9zza.js.map +5 -0
- package/frontend/build/server/chunks/{_page.svelte-04WxjOuH.js → _page.svelte-Bamoq11m.js} +8 -8
- package/frontend/build/server/chunks/{_page.svelte-04WxjOuH.js.map → _page.svelte-Bamoq11m.js.map} +1 -1
- package/frontend/build/server/chunks/{_page.svelte-Kg69DDaM.js → _page.svelte-BrYksycU.js} +5 -5
- package/frontend/build/server/chunks/_page.svelte-BrYksycU.js.map +5 -0
- package/frontend/build/server/chunks/{_page.svelte-BuFusRK1.js → _page.svelte-CAlhaCzS.js} +12 -12
- package/frontend/build/server/chunks/_page.svelte-CAlhaCzS.js.map +5 -0
- package/frontend/build/server/chunks/_page.svelte-CTebwzwy.js +62 -0
- package/frontend/build/server/chunks/_page.svelte-CTebwzwy.js.map +5 -0
- package/frontend/build/server/chunks/{_page.svelte-1as75nPc.js → _page.svelte-CbTrCeeX.js} +32 -28
- package/frontend/build/server/chunks/_page.svelte-CbTrCeeX.js.map +5 -0
- package/frontend/build/server/chunks/{_page.svelte-D3E6Eojd.js → _page.svelte-Cf6bI1Y2.js} +5 -5
- package/frontend/build/server/chunks/_page.svelte-Cf6bI1Y2.js.map +5 -0
- package/frontend/build/server/chunks/{_page.svelte-CWWeZuid.js → _page.svelte-CmJKt3-H.js} +71 -19
- package/frontend/build/server/chunks/_page.svelte-CmJKt3-H.js.map +5 -0
- package/frontend/build/server/chunks/{_page.svelte-CB8-QBNg.js → _page.svelte-DHZhNTPg.js} +11 -10
- package/frontend/build/server/chunks/{_page.svelte-CB8-QBNg.js.map → _page.svelte-DHZhNTPg.js.map} +1 -1
- package/frontend/build/server/chunks/_page.svelte-DObTHQe2.js +257 -0
- package/frontend/build/server/chunks/_page.svelte-DObTHQe2.js.map +5 -0
- package/frontend/build/server/chunks/{_page.svelte-8gELc_B1.js → _page.svelte-ywHy9KCh.js} +182 -59
- package/frontend/build/server/chunks/_page.svelte-ywHy9KCh.js.map +5 -0
- package/frontend/build/server/chunks/{auth-Chw-wBpI.js → auth-DDPlushv.js} +2 -2
- package/frontend/build/server/chunks/{auth-Chw-wBpI.js.map → auth-DDPlushv.js.map} +1 -1
- package/frontend/build/server/chunks/{client-DEmxR_a-.js → client-CsTiGNZy.js} +2 -2
- package/frontend/build/server/chunks/{client-DEmxR_a-.js.map → client-CsTiGNZy.js.map} +1 -1
- package/frontend/build/server/chunks/{constants-CXTaQaB6.js → constants-BYVkTZ-O.js} +3 -2
- package/frontend/build/server/chunks/constants-BYVkTZ-O.js.map +5 -0
- package/frontend/build/server/chunks/{error.svelte-BD3xNemk.js → error.svelte-BXr4lXlB.js} +3 -3
- package/frontend/build/server/chunks/{error.svelte-BD3xNemk.js.map → error.svelte-BXr4lXlB.js.map} +1 -1
- package/frontend/build/server/chunks/{format-CiNRMfHu.js → format-2pqy61MU.js} +2 -2
- package/frontend/build/server/chunks/{format-CiNRMfHu.js.map → format-2pqy61MU.js.map} +1 -1
- package/frontend/build/server/chunks/{index-server-B3M9vyh2.js → index-server-53nOZg5X.js} +2 -2
- package/frontend/build/server/chunks/{index-server-B3M9vyh2.js.map → index-server-53nOZg5X.js.map} +1 -1
- package/frontend/build/server/chunks/{index2-5R1tbrep.js → index2-DGcbugKe.js} +2 -2
- package/frontend/build/server/chunks/{index2-5R1tbrep.js.map → index2-DGcbugKe.js.map} +1 -1
- package/frontend/build/server/chunks/{reports-D_ApeeNh.js → reports-WuXG6tj3.js} +2 -2
- package/frontend/build/server/chunks/{reports-D_ApeeNh.js.map → reports-WuXG6tj3.js.map} +1 -1
- package/frontend/build/server/chunks/{reports2-BtElN_53.js → reports2-CCpI0xkQ.js} +7 -8
- package/frontend/build/server/chunks/reports2-CCpI0xkQ.js.map +5 -0
- package/frontend/build/server/chunks/{repository-FYYV_vKE.js → repository-TYWcFuWP.js} +6 -2
- package/frontend/build/server/chunks/repository-TYWcFuWP.js.map +5 -0
- package/frontend/build/server/chunks/runner-D5yCWOsy.js +27 -0
- package/frontend/build/server/chunks/runner-D5yCWOsy.js.map +5 -0
- package/frontend/build/server/chunks/{stores-BLenR3c1.js → stores-C4ZkywTG.js} +3 -3
- package/frontend/build/server/chunks/{stores-BLenR3c1.js.map → stores-C4ZkywTG.js.map} +1 -1
- package/frontend/build/server/chunks/{theme-nAx-GvX_.js → theme-C81wSe5T.js} +2 -2
- package/frontend/build/server/chunks/{theme-nAx-GvX_.js.map → theme-C81wSe5T.js.map} +1 -1
- package/frontend/build/server/index.js +2 -2
- package/frontend/build/server/index.js.map +1 -1
- package/frontend/build/server/manifest.js +23 -23
- package/frontend/build/server/manifest.js.map +1 -1
- package/frontend/src/lib/components/layout/RunnerPanel.svelte +186 -266
- package/frontend/src/lib/copy/reports.js +9 -0
- package/frontend/src/lib/copy/runners.js +9 -6
- package/frontend/src/lib/socketEvents.js +3 -15
- package/frontend/src/lib/stores/runner.js +62 -46
- package/frontend/src/routes/{reports/live → live/[id]}/+page.svelte +112 -183
- package/frontend/src/routes/scheduled-tests/+page.svelte +2 -2
- package/package.json +1 -1
- package/backend/services/activeRunsService.js +0 -55
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/BackLink.CvWWuO3h.css +0 -6
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_layout.BuhMvMUj.css +0 -6
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.0Eln51hV.css +0 -6
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.BZfe6nWe.css +0 -6
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.Bj_a_5lv.css +0 -6
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.BwgOqeMo.css +0 -6
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.CFnbmY-D.css +0 -6
- package/frontend/.svelte-kit/adapter-node/entries/pages/reports/live/_page.svelte.js +0 -247
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/0.BhSG-jZH.css +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/12.Bj_a_5lv.css +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/4.0Eln51hV.css +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/5.DFV9OgAu.css +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/6.CFnbmY-D.css +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/8.BwgOqeMo.css +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/BackLink.CvWWuO3h.css +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_layout.BuhMvMUj.css +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.0Eln51hV.css +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.BZfe6nWe.css +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.Bj_a_5lv.css +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.BwgOqeMo.css +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.CFnbmY-D.css +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/3InFPLvE.js +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/BAACMRH5.js +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/BAMUGSh7.js +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/BKuh57WU.js +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/BUwxRmHf.js +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/C8OURRSs.js +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/CGeZlCaI.js +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/CMBQQ9RZ.js +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/CUC98kMZ.js +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/Co3xKhEp.js +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/CuqnZUex.js +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/DHM6H-es.js +0 -7
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/DSLBMEpr.js +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/DbgD7JLa.js +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/TOCyHP97.js +0 -11
- package/frontend/.svelte-kit/output/client/_app/immutable/entry/app.KrtMZ3my.js +0 -7
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/0.C8DodwXs.js +0 -11
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/12.BMSCSd88.js +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/4.D-YT_JJe.js +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/5.DVeH2eQP.js +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/6.DI7-IJhN.js +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/7.C-pKvVZy.js +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/8.93Mb3ofT.js +0 -9
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/BackLink.CvWWuO3h.css +0 -6
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_layout.BuhMvMUj.css +0 -6
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.0Eln51hV.css +0 -6
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.BZfe6nWe.css +0 -6
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.Bj_a_5lv.css +0 -6
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.BwgOqeMo.css +0 -6
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.CFnbmY-D.css +0 -6
- package/frontend/.svelte-kit/output/server/entries/pages/reports/live/_page.svelte.js +0 -247
- package/frontend/build/client/_app/immutable/assets/0.BhSG-jZH.css +0 -6
- package/frontend/build/client/_app/immutable/assets/0.BhSG-jZH.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/0.BhSG-jZH.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/12.Bj_a_5lv.css +0 -6
- package/frontend/build/client/_app/immutable/assets/12.Bj_a_5lv.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/12.Bj_a_5lv.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/4.0Eln51hV.css +0 -6
- package/frontend/build/client/_app/immutable/assets/4.0Eln51hV.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/4.0Eln51hV.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/5.DFV9OgAu.css +0 -6
- package/frontend/build/client/_app/immutable/assets/5.DFV9OgAu.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/5.DFV9OgAu.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/6.CFnbmY-D.css +0 -6
- package/frontend/build/client/_app/immutable/assets/6.CFnbmY-D.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/6.CFnbmY-D.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/8.BwgOqeMo.css +0 -6
- package/frontend/build/client/_app/immutable/assets/8.BwgOqeMo.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/8.BwgOqeMo.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/BackLink.CvWWuO3h.css +0 -6
- package/frontend/build/client/_app/immutable/assets/BackLink.CvWWuO3h.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/BackLink.CvWWuO3h.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_layout.BuhMvMUj.css +0 -6
- package/frontend/build/client/_app/immutable/assets/_layout.BuhMvMUj.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_layout.BuhMvMUj.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.0Eln51hV.css +0 -6
- package/frontend/build/client/_app/immutable/assets/_page.0Eln51hV.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.0Eln51hV.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.BZfe6nWe.css +0 -6
- package/frontend/build/client/_app/immutable/assets/_page.BZfe6nWe.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.BZfe6nWe.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.Bj_a_5lv.css +0 -6
- package/frontend/build/client/_app/immutable/assets/_page.Bj_a_5lv.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.Bj_a_5lv.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.BwgOqeMo.css +0 -6
- package/frontend/build/client/_app/immutable/assets/_page.BwgOqeMo.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.BwgOqeMo.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.CFnbmY-D.css +0 -6
- package/frontend/build/client/_app/immutable/assets/_page.CFnbmY-D.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.CFnbmY-D.css.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/2zMvi6fR.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/2zMvi6fR.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/3InFPLvE.js +0 -6
- package/frontend/build/client/_app/immutable/chunks/3InFPLvE.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/3InFPLvE.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/BAACMRH5.js +0 -6
- package/frontend/build/client/_app/immutable/chunks/BAACMRH5.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/BAACMRH5.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/BAMUGSh7.js +0 -6
- package/frontend/build/client/_app/immutable/chunks/BAMUGSh7.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/BAMUGSh7.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/BKuh57WU.js +0 -6
- package/frontend/build/client/_app/immutable/chunks/BKuh57WU.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/BKuh57WU.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/BUwxRmHf.js +0 -6
- package/frontend/build/client/_app/immutable/chunks/BUwxRmHf.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/BUwxRmHf.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/BmZ9upwL.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/BmZ9upwL.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/C1Vid6wz.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/C1Vid6wz.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/C8OURRSs.js +0 -6
- package/frontend/build/client/_app/immutable/chunks/C8OURRSs.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/C8OURRSs.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/CGeZlCaI.js +0 -6
- package/frontend/build/client/_app/immutable/chunks/CGeZlCaI.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CGeZlCaI.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/CKDtmZUQ.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CKDtmZUQ.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/CMBQQ9RZ.js +0 -6
- package/frontend/build/client/_app/immutable/chunks/CMBQQ9RZ.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CMBQQ9RZ.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/CMEtqUfQ.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CMEtqUfQ.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/CNdcuGR0.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CNdcuGR0.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/CUC98kMZ.js +0 -6
- package/frontend/build/client/_app/immutable/chunks/CUC98kMZ.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CUC98kMZ.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/CgnwuKKO.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CgnwuKKO.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/Co3xKhEp.js +0 -6
- package/frontend/build/client/_app/immutable/chunks/Co3xKhEp.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/Co3xKhEp.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/CuqnZUex.js +0 -6
- package/frontend/build/client/_app/immutable/chunks/CuqnZUex.js.br +0 -5
- package/frontend/build/client/_app/immutable/chunks/CuqnZUex.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/CzlPaHY9.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CzlPaHY9.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/DCgHuuvs.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DCgHuuvs.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/DDZw0L0T.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DDZw0L0T.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/DHM6H-es.js +0 -7
- package/frontend/build/client/_app/immutable/chunks/DHM6H-es.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DHM6H-es.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/DMZwI8Cj.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DMZwI8Cj.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/DSLBMEpr.js +0 -6
- package/frontend/build/client/_app/immutable/chunks/DSLBMEpr.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DSLBMEpr.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/DbgD7JLa.js +0 -6
- package/frontend/build/client/_app/immutable/chunks/DbgD7JLa.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DbgD7JLa.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/TOCyHP97.js +0 -11
- package/frontend/build/client/_app/immutable/chunks/TOCyHP97.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/TOCyHP97.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/kkA1mrsH.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/kkA1mrsH.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/t-La0hgu.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/t-La0hgu.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/w0D4Uzlq.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/w0D4Uzlq.js.gz +0 -0
- package/frontend/build/client/_app/immutable/entry/app.KrtMZ3my.js +0 -7
- package/frontend/build/client/_app/immutable/entry/app.KrtMZ3my.js.br +0 -0
- package/frontend/build/client/_app/immutable/entry/app.KrtMZ3my.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/0.C8DodwXs.js +0 -11
- package/frontend/build/client/_app/immutable/nodes/0.C8DodwXs.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/0.C8DodwXs.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/1.Df9sLw8b.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/1.Df9sLw8b.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/10.DEbnxfND.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/10.DEbnxfND.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/11.BViaDK2m.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/11.BViaDK2m.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/12.BMSCSd88.js +0 -6
- package/frontend/build/client/_app/immutable/nodes/12.BMSCSd88.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/12.BMSCSd88.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/2.BCPSg7H4.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/2.BCPSg7H4.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/3.8BFAJoHT.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/3.8BFAJoHT.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/4.D-YT_JJe.js +0 -6
- package/frontend/build/client/_app/immutable/nodes/4.D-YT_JJe.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/4.D-YT_JJe.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/5.DVeH2eQP.js +0 -6
- package/frontend/build/client/_app/immutable/nodes/5.DVeH2eQP.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/5.DVeH2eQP.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/6.DI7-IJhN.js +0 -6
- package/frontend/build/client/_app/immutable/nodes/6.DI7-IJhN.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/6.DI7-IJhN.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/7.C-pKvVZy.js +0 -6
- package/frontend/build/client/_app/immutable/nodes/7.C-pKvVZy.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/7.C-pKvVZy.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/8.93Mb3ofT.js +0 -9
- package/frontend/build/client/_app/immutable/nodes/8.93Mb3ofT.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/8.93Mb3ofT.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/9.CvfGx3Hu.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/9.CvfGx3Hu.js.gz +0 -0
- package/frontend/build/server/chunks/0-D5YWFygh.js +0 -22
- package/frontend/build/server/chunks/0-D5YWFygh.js.map +0 -5
- package/frontend/build/server/chunks/10-l6_ikL_D.js +0 -14
- package/frontend/build/server/chunks/10-l6_ikL_D.js.map +0 -5
- package/frontend/build/server/chunks/11-CNLerze_.js +0 -14
- package/frontend/build/server/chunks/11-CNLerze_.js.map +0 -5
- package/frontend/build/server/chunks/12-De6Ol6pu.js +0 -14
- package/frontend/build/server/chunks/2-Dc_rKWoK.js +0 -14
- package/frontend/build/server/chunks/3-DrRqVrcX.js +0 -14
- package/frontend/build/server/chunks/3-DrRqVrcX.js.map +0 -5
- package/frontend/build/server/chunks/4-Bo04DC5Z.js +0 -14
- package/frontend/build/server/chunks/4-Bo04DC5Z.js.map +0 -5
- package/frontend/build/server/chunks/5-CFeE5dPZ.js +0 -14
- package/frontend/build/server/chunks/5-CFeE5dPZ.js.map +0 -5
- package/frontend/build/server/chunks/6-DZk37MZH.js +0 -14
- package/frontend/build/server/chunks/6-DZk37MZH.js.map +0 -5
- package/frontend/build/server/chunks/7-DiQJZEF_.js +0 -14
- package/frontend/build/server/chunks/8-CKPVFOqJ.js +0 -14
- package/frontend/build/server/chunks/8-CKPVFOqJ.js.map +0 -5
- package/frontend/build/server/chunks/9-DirZG_Lu.js +0 -14
- package/frontend/build/server/chunks/BackLink-BJ8NaemM.js.map +0 -5
- package/frontend/build/server/chunks/Badge-44ZTDx0V.js.map +0 -5
- package/frontend/build/server/chunks/ConfirmModal-C0EAXcq_.js.map +0 -5
- package/frontend/build/server/chunks/EmptyState-BA_eXaeR.js.map +0 -5
- package/frontend/build/server/chunks/Modal-DChG187n.js.map +0 -5
- package/frontend/build/server/chunks/Toast-v-q4ZnYq.js.map +0 -5
- package/frontend/build/server/chunks/_page.svelte-1as75nPc.js.map +0 -5
- package/frontend/build/server/chunks/_page.svelte-1jo8MapI.js.map +0 -5
- package/frontend/build/server/chunks/_page.svelte-8gELc_B1.js.map +0 -5
- package/frontend/build/server/chunks/_page.svelte-BuFusRK1.js.map +0 -5
- package/frontend/build/server/chunks/_page.svelte-CAVyp70V.js +0 -250
- package/frontend/build/server/chunks/_page.svelte-CAVyp70V.js.map +0 -5
- package/frontend/build/server/chunks/_page.svelte-CWWeZuid.js.map +0 -5
- package/frontend/build/server/chunks/_page.svelte-D3E6Eojd.js.map +0 -5
- package/frontend/build/server/chunks/_page.svelte-Kg69DDaM.js.map +0 -5
- package/frontend/build/server/chunks/_page.svelte-L9fuiN_q.js +0 -57
- package/frontend/build/server/chunks/_page.svelte-L9fuiN_q.js.map +0 -5
- package/frontend/build/server/chunks/constants-CXTaQaB6.js.map +0 -5
- package/frontend/build/server/chunks/reports2-BtElN_53.js.map +0 -5
- package/frontend/build/server/chunks/repository-FYYV_vKE.js.map +0 -5
- package/frontend/build/server/chunks/runner-DC7hXbnY.js +0 -37
- package/frontend/build/server/chunks/runner-DC7hXbnY.js.map +0 -5
- /package/frontend/.svelte-kit/output/client/_app/immutable/assets/{3.BR3wgXcZ.css → 4.BR3wgXcZ.css} +0 -0
- /package/frontend/build/client/_app/immutable/assets/{3.BR3wgXcZ.css → 4.BR3wgXcZ.css} +0 -0
- /package/frontend/build/client/_app/immutable/assets/{3.BR3wgXcZ.css.br → 4.BR3wgXcZ.css.br} +0 -0
- /package/frontend/build/client/_app/immutable/assets/{3.BR3wgXcZ.css.gz → 4.BR3wgXcZ.css.gz} +0 -0
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
* Licensed under the MIT License. See LICENSE file in the project root for details.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import{s as e}from"./
|
|
6
|
+
import{s as e}from"./DiVmSEJa.js";const r=()=>{const s=e;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},b={subscribe(s){return r().page.subscribe(s)}};export{b as p};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* This file is part of Plum.
|
|
3
|
+
* Licensed under the MIT License. See LICENSE file in the project root for details.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.CRb8Nyce.js","../chunks/CfkUW1vA.js","../chunks/CeH-RgMb.js","../chunks/C00jnSU2.js","../chunks/CegSvdD-.js","../chunks/Beula-TH.js","../chunks/DiVmSEJa.js","../chunks/d2K3c8Kx.js","../chunks/DuAVKaL3.js","../chunks/Ck6C3Fl0.js","../chunks/CoTEzvLa.js","../chunks/BJ_ypKl3.js","../chunks/B0_HKFXV.js","../chunks/K1h4wprj.js","../chunks/Dl-F6VCo.js","../chunks/Cgw8TOOy.js","../chunks/DAmOMhaf.js","../chunks/DB3YXVFP.js","../chunks/DgQy0SB2.js","../assets/Modal.BZpm0HP8.css","../assets/ConfirmModal.Dd3uP-Sk.css","../chunks/C8S7qQjQ.js","../assets/Badge.D1SV0Gv7.css","../chunks/GDjpV3r7.js","../assets/0.CmJTG5mP.css","../nodes/1.BI97il3r.js","../nodes/2.Dr6yugXz.js","../chunks/BAvTKHxT.js","../chunks/Cfmt4_tJ.js","../assets/EmptyState.DUDM4P19.css","../assets/2.C1TbMUws.css","../nodes/3.DUiL7fb5.js","../chunks/CboYYxrf.js","../chunks/C2_rQ4aY.js","../assets/BackLink.DRrgBGDC.css","../chunks/BbYY_TzB.js","../assets/3.Be5c3USL.css","../nodes/4.DDADylfF.js","../chunks/C7uEQ-LH.js","../chunks/Dlnxgs49.js","../assets/4.BR3wgXcZ.css","../nodes/5.N4CeDeoD.js","../chunks/DWzEJYIF.js","../assets/Pagination.DZmi2Po-.css","../assets/5.ClS4XkkN.css","../nodes/6.DWd93Bv5.js","../chunks/Bfc47y5P.js","../chunks/B00vxw57.js","../assets/6.BN5XbLUX.css","../nodes/7.c8d1cQQM.js","../chunks/CZWchtW8.js","../assets/Button.FOWXxvc7.css","../assets/7.CBHi6pzT.css","../nodes/8.Cvd3MauU.js","../assets/8.COwSGmmy.css","../nodes/9.BOK0GNF_.js","../assets/9._h2o67kg.css","../nodes/10.kyazROhw.js","../chunks/2-KCkWZO.js","../assets/10.CdaQUS6U.css","../nodes/11.B3vMgT2v.js","../assets/11.BWAH0Beh.css","../nodes/12.DkPcIrgW.js","../assets/12.B9H_IpSU.css"])))=>i.map(i=>d[i]);
|
|
7
|
+
var U=r=>{throw TypeError(r)};var Y=(r,t,s)=>t.has(r)||U("Cannot "+s);var u=(r,t,s)=>(Y(r,t,"read from private field"),s?s.call(r):t.get(r)),w=(r,t,s)=>t.has(r)?U("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(r):t.set(r,s),D=(r,t,s,a)=>(Y(r,t,"write to private field"),a?a.call(r,s):t.set(r,s),s);import{s as V,N as K,g as E,ar as Q,ac as X,V as M,h as z,Z as $,Y as tt,_ as et,a5 as rt,a6 as st,a7 as ot,p as at,ae as nt,af as it,o as ct,z as ut,f as T,j as lt,c as _t,as as I,d as mt,k as dt,t as ft,T as x}from"../chunks/CeH-RgMb.js";import{f as ht,m as vt,u as Et,a as b,c as S,t as W,b as gt,s as yt}from"../chunks/CfkUW1vA.js";import{i as C}from"../chunks/CegSvdD-.js";import{p as j,a as Pt}from"../chunks/DB3YXVFP.js";import{b as B}from"../chunks/CboYYxrf.js";const pt="modulepreload",Rt=function(r,t){return new URL(r,t).href},G={},l=function(t,s,a){let n=Promise.resolve();if(s&&s.length>0){const o=document.getElementsByTagName("link"),e=document.querySelector("meta[property=csp-nonce]"),d=(e==null?void 0:e.nonce)||(e==null?void 0:e.getAttribute("nonce"));n=Promise.allSettled(s.map(_=>{if(_=Rt(_,a),_ in G)return;G[_]=!0;const y=_.endsWith(".css"),k=y?'[rel="stylesheet"]':"";if(!!a)for(let P=o.length-1;P>=0;P--){const i=o[P];if(i.href===_&&(!y||i.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${_}"]${k}`))return;const h=document.createElement("link");if(h.rel=y?"stylesheet":pt,y||(h.as="script"),h.crossOrigin="",h.href=_,d&&h.setAttribute("nonce",d),document.head.appendChild(h),y)return new Promise((P,i)=>{h.addEventListener("load",P),h.addEventListener("error",()=>i(new Error(`Unable to preload CSS for ${_}`)))})}))}function c(o){const e=new Event("vite:preloadError",{cancelable:!0});if(e.payload=o,window.dispatchEvent(e),!e.defaultPrevented)throw o}return n.then(o=>{for(const e of o||[])e.status==="rejected"&&c(e.reason);return t().catch(c)})},Bt={};function bt(r){return class extends Ot{constructor(t){super({component:r,...t})}}}var g,m;class Ot{constructor(t){w(this,g);w(this,m);var c;var s=new Map,a=(o,e)=>{var d=M(e);return s.set(o,d),d};const n=new Proxy({...t.props||{},$$events:{}},{get(o,e){return E(s.get(e)??a(e,Reflect.get(o,e)))},has(o,e){return e===K?!0:(E(s.get(e)??a(e,Reflect.get(o,e))),Reflect.has(o,e))},set(o,e,d){return V(s.get(e)??a(e,d),d),Reflect.set(o,e,d)}});D(this,m,(t.hydrate?ht:vt)(t.component,{target:t.target,anchor:t.anchor,props:n,context:t.context,intro:t.intro??!1,recover:t.recover})),(!((c=t==null?void 0:t.props)!=null&&c.$$host)||t.sync===!1)&&Q(),D(this,g,n.$$events);for(const o of Object.keys(u(this,m)))o==="$set"||o==="$destroy"||o==="$on"||X(this,o,{get(){return u(this,m)[o]},set(e){u(this,m)[o]=e},enumerable:!0});u(this,m).$set=o=>{Object.assign(n,o)},u(this,m).$destroy=()=>{Et(u(this,m))}}$set(t){u(this,m).$set(t)}$on(t,s){u(this,g)[t]=u(this,g)[t]||[];const a=(...n)=>s.call(this,...n);return u(this,g)[t].push(a),()=>{u(this,g)[t]=u(this,g)[t].filter(n=>n!==a)}}$destroy(){u(this,m).$destroy()}}g=new WeakMap,m=new WeakMap;function q(r,t,s){z&&$();var a=r,n,c;tt(()=>{n!==(n=t())&&(c&&(st(c),c=null),n&&(c=rt(()=>s(a,n))))},et),z&&(a=ot)}var At=W('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),Lt=W("<!> <!>",1);function Tt(r,t){at(t,!0);let s=j(t,"components",23,()=>[]),a=j(t,"data_0",3,null),n=j(t,"data_1",3,null);nt(()=>t.stores.page.set(t.page)),it(()=>{t.stores,t.page,t.constructors,s(),t.form,a(),n(),t.stores.page.notify()});let c=I(!1),o=I(!1),e=I(null);ct(()=>{const i=t.stores.page.subscribe(()=>{E(c)&&(V(o,!0),ut().then(()=>{V(e,Pt(document.title||"untitled page"))}))});return V(c,!0),i});const d=x(()=>t.constructors[1]);var _=Lt(),y=T(_);{var k=i=>{var v=S();const O=x(()=>t.constructors[0]);var A=T(v);q(A,()=>E(O),(p,R)=>{B(R(p,{get data(){return a()},get form(){return t.form},children:(f,wt)=>{var N=S(),Z=T(N);q(Z,()=>E(d),(H,J)=>{B(J(H,{get data(){return n()},get form(){return t.form}}),L=>s()[1]=L,()=>{var L;return(L=s())==null?void 0:L[1]})}),b(f,N)},$$slots:{default:!0}}),f=>s()[0]=f,()=>{var f;return(f=s())==null?void 0:f[0]})}),b(i,v)},F=i=>{var v=S();const O=x(()=>t.constructors[0]);var A=T(v);q(A,()=>E(O),(p,R)=>{B(R(p,{get data(){return a()},get form(){return t.form}}),f=>s()[0]=f,()=>{var f;return(f=s())==null?void 0:f[0]})}),b(i,v)};C(y,i=>{t.constructors[1]?i(k):i(F,!1)})}var h=lt(y,2);{var P=i=>{var v=At(),O=mt(v);{var A=p=>{var R=gt();ft(()=>yt(R,E(e))),b(p,R)};C(O,p=>{E(o)&&p(A)})}dt(v),b(i,v)};C(h,i=>{E(c)&&i(P)})}b(r,_),_t()}const qt=bt(Tt),Ft=[()=>l(()=>import("../nodes/0.CRb8Nyce.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24]),import.meta.url),()=>l(()=>import("../nodes/1.BI97il3r.js"),__vite__mapDeps([25,1,2,3,6]),import.meta.url),()=>l(()=>import("../nodes/2.Dr6yugXz.js"),__vite__mapDeps([26,1,2,3,4,5,8,27,11,12,9,28,17,29,30]),import.meta.url),()=>l(()=>import("../nodes/3.DUiL7fb5.js"),__vite__mapDeps([31,1,2,3,4,5,32,6,7,11,8,12,9,15,13,17,33,34,35,21,22,36]),import.meta.url),()=>l(()=>import("../nodes/4.DDADylfF.js"),__vite__mapDeps([37,1,2,3,4,8,27,6,9,23,38,39,40]),import.meta.url),()=>l(()=>import("../nodes/5.N4CeDeoD.js"),__vite__mapDeps([41,1,2,3,4,5,8,13,11,12,9,21,17,22,42,43,16,18,19,20,28,29,35,44]),import.meta.url),()=>l(()=>import("../nodes/6.DWd93Bv5.js"),__vite__mapDeps([45,1,2,3,4,5,8,46,47,7,6,13,12,35,21,17,22,33,34,32,48]),import.meta.url),()=>l(()=>import("../nodes/7.c8d1cQQM.js"),__vite__mapDeps([49,1,2,3,4,5,8,27,50,17,47,51,46,10,9,11,12,21,22,18,19,16,20,28,29,52]),import.meta.url),()=>l(()=>import("../nodes/8.Cvd3MauU.js"),__vite__mapDeps([53,1,2,3,4,5,8,27,50,17,47,51,32,6,10,9,14,23,11,12,38,16,18,19,20,21,22,54]),import.meta.url),()=>l(()=>import("../nodes/9.BOK0GNF_.js"),__vite__mapDeps([55,1,2,3,4,8,27,6,23,9,38,39,56]),import.meta.url),()=>l(()=>import("../nodes/10.kyazROhw.js"),__vite__mapDeps([57,1,2,3,4,5,8,27,50,17,47,51,14,9,11,12,42,43,28,29,16,18,19,20,58,59]),import.meta.url),()=>l(()=>import("../nodes/11.B3vMgT2v.js"),__vite__mapDeps([60,1,2,3,4,5,8,27,50,17,47,51,7,6,14,9,11,12,18,19,28,29,58,61]),import.meta.url),()=>l(()=>import("../nodes/12.DkPcIrgW.js"),__vite__mapDeps([62,1,2,3,4,5,8,27,50,17,47,51,46,7,6,14,9,28,29,16,18,19,20,42,43,58,63]),import.meta.url)],Nt=[],Ut={"/":[2],"/live/[id]":[3],"/login":[4],"/reports":[5],"/reports/[id]":[6],"/scheduled-tests":[7],"/settings":[8],"/setup":[9],"/test-repository":[10],"/test-repository/runs/[id]":[11],"/test-repository/suites/[id]":[12]},Vt={handleError:({error:r})=>{console.error(r)},reroute:()=>{},transport:{}},kt=Object.fromEntries(Object.entries(Vt.transport).map(([r,t])=>[r,t.decode])),Yt=!1,zt=(r,t)=>kt[r](t);export{zt as decode,kt as decoders,Ut as dictionary,Yt as hash,Vt as hooks,Bt as matchers,Ft as nodes,qt as root,Nt as server_loads};
|
|
Binary file
|
|
Binary file
|
package/frontend/build/client/_app/immutable/entry/{start.4qxHHAcl.js.gz → start.BXOLyf9R.js.gz}
RENAMED
|
Binary file
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* This file is part of Plum.
|
|
3
|
+
* Licensed under the MIT License. See LICENSE file in the project root for details.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import{s as H,a as w,e as U,t as R,b as an,c as qe}from"../chunks/CfkUW1vA.js";import{i as Wt}from"../chunks/C00jnSU2.js";import{e as nt,u as cn,p as Ht,o as Kt,s as E,d as v,j as u,f as G,g as i,k as f,t as $,x as Z,c as Yt,m as q,ao as ln,l as fe,b as hn,n as We}from"../chunks/CeH-RgMb.js";import{i as P,s as zt,a as we}from"../chunks/CegSvdD-.js";import{e as Ie,t as S,i as je,a as Ce,b as Rs,c as qt,f as He}from"../chunks/Beula-TH.js";import{g as us}from"../chunks/DiVmSEJa.js";import{p as xs}from"../chunks/d2K3c8Kx.js";import{s as j,u as Ae,A as un,x as dn,I as ds,B as Bt,J as ps,K as fs,r as St,H as pn,j as fn,n as vs,z as vn,F as _n,v as gn}from"../chunks/DuAVKaL3.js";import{a as As}from"../chunks/Ck6C3Fl0.js";import{b as mn,f as yn,a as bn}from"../chunks/CoTEzvLa.js";import{b as ye,p as Pe,e as Ct,c as Ke,m as _s,s as wn,S as be,a as gs,g as kn,h as En,i as Rn,R as xn,j as An,k as Tn,l as Bn,n as Sn,t as Lt,T as Cn,W as Ln,B as Nn,o as On,q as Un,N as Pn,u as qn,r as In,V as Dn,C as $n,v as Vn,w as Mn,Q as Fn,x as ms,y as Wn,z as Hn,M as Kn,d as Yn,A as zn,D as jn,E as Jn,F as Xn,G as Gn,H as Qn}from"../chunks/BJ_ypKl3.js";import{r as Zn}from"../chunks/K1h4wprj.js";import{a as er,r as tr}from"../chunks/Dl-F6VCo.js";import{f as sr}from"../chunks/Cgw8TOOy.js";import{t as nr,a as rr}from"../chunks/B0_HKFXV.js";import{C as ir}from"../chunks/DAmOMhaf.js";import{B as or}from"../chunks/C8S7qQjQ.js";import{c as ar}from"../chunks/GDjpV3r7.js";function Nt(n,e,t){nt(()=>{var s=cn(()=>e(n,t==null?void 0:t())||{});if(s!=null&&s.destroy)return()=>s.destroy()})}const cr=!1,ro=Object.freeze(Object.defineProperty({__proto__:null,ssr:cr},Symbol.toStringTag,{value:"Module"}));var lr=R('<span class="nav-sep svelte-10t98u4" aria-hidden="true"></span>'),hr=R('<!> <a class="link svelte-10t98u4"> </a>',1),ur=R('<img alt="" class="project-logo svelte-10t98u4">'),dr=R('<div class="project-card svelte-10t98u4"><!> <span class="project-name svelte-10t98u4"> </span></div>'),pr=R('<span class="nav-user svelte-10t98u4"> </span>'),fr=R('<hr class="mobile-sep svelte-10t98u4">'),vr=R('<!> <a class="mobile-link svelte-10t98u4"> </a>',1),_r=R('<div class="mobile-menu svelte-10t98u4"><!> <a href="/settings" class="mobile-link svelte-10t98u4">Settings</a></div>'),gr=R('<nav class="nav svelte-10t98u4"><div class="inner svelte-10t98u4"><a href="/" class="brand svelte-10t98u4"><span class="brand-serif svelte-10t98u4">Pl</span><span class="brand-sans svelte-10t98u4">um</span></a> <div class="links svelte-10t98u4"></div> <div class="actions svelte-10t98u4"><!> <!> <a href="/settings" class="settings-btn svelte-10t98u4" aria-label="Settings" title="Settings"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="3"></circle><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83-2.83l.06-.06A1.65 1.65 0 0 0 4.68 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 2.83-2.83l.06.06A1.65 1.65 0 0 0 9 4.68a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z"></path></svg></a> <button class="hamburger svelte-10t98u4"><span class="svelte-10t98u4"></span> <span class="svelte-10t98u4"></span> <span class="svelte-10t98u4"></span></button></div></div> <!></nav>');function mr(n,e){Ht(e,!1);const[t,s]=zt(),r=()=>we(xs,"$page",t),c=()=>we(As,"$auth",t);let d=q(!1),_=q({name:"",logoUrl:""});Kt(async()=>{try{E(_,await mn())}catch{}});const k=[{href:"/",label:"Automated Tests"},{href:"/reports",label:"Reports"},{href:"/scheduled-tests",label:"Scheduled"},{href:"/test-repository",label:"Test Repository",sep:!0}];function L(){E(d,!1)}Wt();var C=gr(),D=v(C),I=v(D),J=u(I,2);Ie(J,5,()=>k,je,(M,N)=>{var K=hr(),Y=G(K);{var ce=z=>{var Q=lr();w(z,Q)};P(Y,z=>{i(N).sep&&z(ce)})}var W=u(Y,2),ee=v(W,!0);f(W),$(z=>{j(W,"href",i(N).href),S(W,"repo",i(N).sep),S(W,"active",z),H(ee,i(N).label)},[()=>i(N).href==="/"?r().url.pathname==="/":r().url.pathname.startsWith(i(N).href)],Z),w(M,K)}),f(J);var he=u(J,2),Be=v(he);{var Le=M=>{var N=dr(),K=v(N);{var Y=ee=>{var z=ur();$(()=>j(z,"src",i(_).logoUrl)),w(ee,z)};P(K,ee=>{i(_).logoUrl&&ee(Y)})}var ce=u(K,2),W=v(ce,!0);f(ce),f(N),$(()=>H(W,i(_).name)),w(M,N)};P(Be,M=>{i(_).name&&M(Le)})}var se=u(Be,2);{var X=M=>{var N=pr(),K=v(N,!0);f(N),$(()=>H(K,c().user.name)),w(M,N)};P(se,M=>{c().user&&M(X)})}var oe=u(se,2),A=u(oe,2),ae=v(A),ne=u(ae,2),ge=u(ne,2);f(A),f(he),f(D);var re=u(D,2);{var ke=M=>{var N=_r(),K=v(N);Ie(K,1,()=>k,je,(ce,W)=>{var ee=vr(),z=G(ee);{var Q=Ee=>{var ht=fr();w(Ee,ht)};P(z,Ee=>{i(W).sep&&Ee(Q)})}var Se=u(z,2),Je=v(Se,!0);f(Se),$(Ee=>{j(Se,"href",i(W).href),S(Se,"active",Ee),H(Je,i(W).label)},[()=>i(W).href==="/"?r().url.pathname==="/":r().url.pathname.startsWith(i(W).href)],Z),U("click",Se,L),w(ce,ee)});var Y=u(K,2);f(N),$(()=>S(Y,"active",r().url.pathname==="/settings")),U("click",Y,L),Ce(3,N,()=>Rs,()=>({duration:200})),w(M,N)};P(re,M=>{i(d)&&M(ke)})}f(C),$(()=>{S(oe,"active",r().url.pathname==="/settings"),j(A,"aria-label",i(d)?"Close menu":"Open menu"),j(A,"aria-expanded",i(d)),S(ae,"rotated",i(d)),S(ne,"hidden",i(d)),S(ge,"rotated-reverse",i(d))}),U("click",I,L),U("click",A,()=>E(d,!i(d))),w(n,C),Yt(),s()}var yr=R('<main class="shell svelte-28zx1m"><!></main>');function br(n,e){var t=yr(),s=v(t);qt(s,e,"default",{},null),f(t),w(n,t)}const _e=Object.create(null);_e.open="0";_e.close="1";_e.ping="2";_e.pong="3";_e.message="4";_e.upgrade="5";_e.noop="6";const rt=Object.create(null);Object.keys(_e).forEach(n=>{rt[_e[n]]=n});const It={type:"error",data:"parser error"},Ts=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",Bs=typeof ArrayBuffer=="function",Ss=n=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(n):n&&n.buffer instanceof ArrayBuffer,jt=({type:n,data:e},t,s)=>Ts&&e instanceof Blob?t?s(e):ys(e,s):Bs&&(e instanceof ArrayBuffer||Ss(e))?t?s(e):ys(new Blob([e]),s):s(_e[n]+(e||"")),ys=(n,e)=>{const t=new FileReader;return t.onload=function(){const s=t.result.split(",")[1];e("b"+(s||""))},t.readAsDataURL(n)};function bs(n){return n instanceof Uint8Array?n:n instanceof ArrayBuffer?new Uint8Array(n):new Uint8Array(n.buffer,n.byteOffset,n.byteLength)}let Ot;function wr(n,e){if(Ts&&n.data instanceof Blob)return n.data.arrayBuffer().then(bs).then(e);if(Bs&&(n.data instanceof ArrayBuffer||Ss(n.data)))return e(bs(n.data));jt(n,!1,t=>{Ot||(Ot=new TextEncoder),e(Ot.encode(t))})}const ws="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ze=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let n=0;n<ws.length;n++)ze[ws.charCodeAt(n)]=n;const kr=n=>{let e=n.length*.75,t=n.length,s,r=0,c,d,_,k;n[n.length-1]==="="&&(e--,n[n.length-2]==="="&&e--);const L=new ArrayBuffer(e),C=new Uint8Array(L);for(s=0;s<t;s+=4)c=ze[n.charCodeAt(s)],d=ze[n.charCodeAt(s+1)],_=ze[n.charCodeAt(s+2)],k=ze[n.charCodeAt(s+3)],C[r++]=c<<2|d>>4,C[r++]=(d&15)<<4|_>>2,C[r++]=(_&3)<<6|k&63;return L},Er=typeof ArrayBuffer=="function",Jt=(n,e)=>{if(typeof n!="string")return{type:"message",data:Cs(n,e)};const t=n.charAt(0);return t==="b"?{type:"message",data:Rr(n.substring(1),e)}:rt[t]?n.length>1?{type:rt[t],data:n.substring(1)}:{type:rt[t]}:It},Rr=(n,e)=>{if(Er){const t=kr(n);return Cs(t,e)}else return{base64:!0,data:n}},Cs=(n,e)=>{switch(e){case"blob":return n instanceof Blob?n:new Blob([n]);case"arraybuffer":default:return n instanceof ArrayBuffer?n:n.buffer}},Ls="",xr=(n,e)=>{const t=n.length,s=new Array(t);let r=0;n.forEach((c,d)=>{jt(c,!1,_=>{s[d]=_,++r===t&&e(s.join(Ls))})})},Ar=(n,e)=>{const t=n.split(Ls),s=[];for(let r=0;r<t.length;r++){const c=Jt(t[r],e);if(s.push(c),c.type==="error")break}return s};function Tr(){return new TransformStream({transform(n,e){wr(n,t=>{const s=t.length;let r;if(s<126)r=new Uint8Array(1),new DataView(r.buffer).setUint8(0,s);else if(s<65536){r=new Uint8Array(3);const c=new DataView(r.buffer);c.setUint8(0,126),c.setUint16(1,s)}else{r=new Uint8Array(9);const c=new DataView(r.buffer);c.setUint8(0,127),c.setBigUint64(1,BigInt(s))}n.data&&typeof n.data!="string"&&(r[0]|=128),e.enqueue(r),e.enqueue(t)})}})}let Ut;function tt(n){return n.reduce((e,t)=>e+t.length,0)}function st(n,e){if(n[0].length===e)return n.shift();const t=new Uint8Array(e);let s=0;for(let r=0;r<e;r++)t[r]=n[0][s++],s===n[0].length&&(n.shift(),s=0);return n.length&&s<n[0].length&&(n[0]=n[0].slice(s)),t}function Br(n,e){Ut||(Ut=new TextDecoder);const t=[];let s=0,r=-1,c=!1;return new TransformStream({transform(d,_){for(t.push(d);;){if(s===0){if(tt(t)<1)break;const k=st(t,1);c=(k[0]&128)===128,r=k[0]&127,r<126?s=3:r===126?s=1:s=2}else if(s===1){if(tt(t)<2)break;const k=st(t,2);r=new DataView(k.buffer,k.byteOffset,k.length).getUint16(0),s=3}else if(s===2){if(tt(t)<8)break;const k=st(t,8),L=new DataView(k.buffer,k.byteOffset,k.length),C=L.getUint32(0);if(C>Math.pow(2,21)-1){_.enqueue(It);break}r=C*Math.pow(2,32)+L.getUint32(4),s=3}else{if(tt(t)<r)break;const k=st(t,r);_.enqueue(Jt(c?k:Ut.decode(k),e)),s=0}if(r===0||r>n){_.enqueue(It);break}}}})}const Ns=4;function V(n){if(n)return Sr(n)}function Sr(n){for(var e in V.prototype)n[e]=V.prototype[e];return n}V.prototype.on=V.prototype.addEventListener=function(n,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+n]=this._callbacks["$"+n]||[]).push(e),this};V.prototype.once=function(n,e){function t(){this.off(n,t),e.apply(this,arguments)}return t.fn=e,this.on(n,t),this};V.prototype.off=V.prototype.removeListener=V.prototype.removeAllListeners=V.prototype.removeEventListener=function(n,e){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var t=this._callbacks["$"+n];if(!t)return this;if(arguments.length==1)return delete this._callbacks["$"+n],this;for(var s,r=0;r<t.length;r++)if(s=t[r],s===e||s.fn===e){t.splice(r,1);break}return t.length===0&&delete this._callbacks["$"+n],this};V.prototype.emit=function(n){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),t=this._callbacks["$"+n],s=1;s<arguments.length;s++)e[s-1]=arguments[s];if(t){t=t.slice(0);for(var s=0,r=t.length;s<r;++s)t[s].apply(this,e)}return this};V.prototype.emitReserved=V.prototype.emit;V.prototype.listeners=function(n){return this._callbacks=this._callbacks||{},this._callbacks["$"+n]||[]};V.prototype.hasListeners=function(n){return!!this.listeners(n).length};const ct=typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,t)=>t(e,0),ie=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),Cr="arraybuffer";function Os(n,...e){return e.reduce((t,s)=>(n.hasOwnProperty(s)&&(t[s]=n[s]),t),{})}const Lr=ie.setTimeout,Nr=ie.clearTimeout;function lt(n,e){e.useNativeTimers?(n.setTimeoutFn=Lr.bind(ie),n.clearTimeoutFn=Nr.bind(ie)):(n.setTimeoutFn=ie.setTimeout.bind(ie),n.clearTimeoutFn=ie.clearTimeout.bind(ie))}const Or=1.33;function Ur(n){return typeof n=="string"?Pr(n):Math.ceil((n.byteLength||n.size)*Or)}function Pr(n){let e=0,t=0;for(let s=0,r=n.length;s<r;s++)e=n.charCodeAt(s),e<128?t+=1:e<2048?t+=2:e<55296||e>=57344?t+=3:(s++,t+=4);return t}function Us(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function qr(n){let e="";for(let t in n)n.hasOwnProperty(t)&&(e.length&&(e+="&"),e+=encodeURIComponent(t)+"="+encodeURIComponent(n[t]));return e}function Ir(n){let e={},t=n.split("&");for(let s=0,r=t.length;s<r;s++){let c=t[s].split("=");e[decodeURIComponent(c[0])]=decodeURIComponent(c[1])}return e}class Dr extends Error{constructor(e,t,s){super(e),this.description=t,this.context=s,this.type="TransportError"}}class Xt extends V{constructor(e){super(),this.writable=!1,lt(this,e),this.opts=e,this.query=e.query,this.socket=e.socket,this.supportsBinary=!e.forceBase64}onError(e,t,s){return super.emitReserved("error",new Dr(e,t,s)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(e){this.readyState==="open"&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const t=Jt(e,this.socket.binaryType);this.onPacket(t)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}createUri(e,t={}){return e+"://"+this._hostname()+this._port()+this.opts.path+this._query(t)}_hostname(){const e=this.opts.hostname;return e.indexOf(":")===-1?e:"["+e+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(e){const t=qr(e);return t.length?"?"+t:""}}class $r extends Xt{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(e){this.readyState="pausing";const t=()=>{this.readyState="paused",e()};if(this._polling||!this.writable){let s=0;this._polling&&(s++,this.once("pollComplete",function(){--s||t()})),this.writable||(s++,this.once("drain",function(){--s||t()}))}else t()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){const t=s=>{if(this.readyState==="opening"&&s.type==="open"&&this.onOpen(),s.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(s)};Ar(e,this.socket.binaryType).forEach(t),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const e=()=>{this.write([{type:"close"}])};this.readyState==="open"?e():this.once("open",e)}write(e){this.writable=!1,xr(e,t=>{this.doWrite(t,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const e=this.opts.secure?"https":"http",t=this.query||{};return this.opts.timestampRequests!==!1&&(t[this.opts.timestampParam]=Us()),!this.supportsBinary&&!t.sid&&(t.b64=1),this.createUri(e,t)}}let Ps=!1;try{Ps=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const Vr=Ps;function Mr(){}class Fr extends $r{constructor(e){if(super(e),typeof location<"u"){const t=location.protocol==="https:";let s=location.port;s||(s=t?"443":"80"),this.xd=typeof location<"u"&&e.hostname!==location.hostname||s!==e.port}}doWrite(e,t){const s=this.request({method:"POST",data:e});s.on("success",t),s.on("error",(r,c)=>{this.onError("xhr post error",r,c)})}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(t,s)=>{this.onError("xhr poll error",t,s)}),this.pollXhr=e}}class ve extends V{constructor(e,t,s){super(),this.createRequest=e,lt(this,s),this._opts=s,this._method=s.method||"GET",this._uri=t,this._data=s.data!==void 0?s.data:null,this._create()}_create(){var e;const t=Os(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this._opts.xd;const s=this._xhr=this.createRequest(t);try{s.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){s.setDisableHeaderCheck&&s.setDisableHeaderCheck(!0);for(let r in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(r)&&s.setRequestHeader(r,this._opts.extraHeaders[r])}}catch{}if(this._method==="POST")try{s.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{s.setRequestHeader("Accept","*/*")}catch{}(e=this._opts.cookieJar)===null||e===void 0||e.addCookies(s),"withCredentials"in s&&(s.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(s.timeout=this._opts.requestTimeout),s.onreadystatechange=()=>{var r;s.readyState===3&&((r=this._opts.cookieJar)===null||r===void 0||r.parseCookies(s.getResponseHeader("set-cookie"))),s.readyState===4&&(s.status===200||s.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof s.status=="number"?s.status:0)},0))},s.send(this._data)}catch(r){this.setTimeoutFn(()=>{this._onError(r)},0);return}typeof document<"u"&&(this._index=ve.requestsCount++,ve.requests[this._index]=this)}_onError(e){this.emitReserved("error",e,this._xhr),this._cleanup(!0)}_cleanup(e){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=Mr,e)try{this._xhr.abort()}catch{}typeof document<"u"&&delete ve.requests[this._index],this._xhr=null}}_onLoad(){const e=this._xhr.responseText;e!==null&&(this.emitReserved("data",e),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}ve.requestsCount=0;ve.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",ks);else if(typeof addEventListener=="function"){const n="onpagehide"in ie?"pagehide":"unload";addEventListener(n,ks,!1)}}function ks(){for(let n in ve.requests)ve.requests.hasOwnProperty(n)&&ve.requests[n].abort()}const Wr=function(){const n=qs({xdomain:!1});return n&&n.responseType!==null}();class Hr extends Fr{constructor(e){super(e);const t=e&&e.forceBase64;this.supportsBinary=Wr&&!t}request(e={}){return Object.assign(e,{xd:this.xd},this.opts),new ve(qs,this.uri(),e)}}function qs(n){const e=n.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!e||Vr))return new XMLHttpRequest}catch{}if(!e)try{return new ie[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const Is=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class Kr extends Xt{get name(){return"websocket"}doOpen(){const e=this.uri(),t=this.opts.protocols,s=Is?{}:Os(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(s.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(e,t,s)}catch(r){return this.emitReserved("error",r)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let t=0;t<e.length;t++){const s=e[t],r=t===e.length-1;jt(s,this.supportsBinary,c=>{try{this.doWrite(s,c)}catch{}r&&ct(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const e=this.opts.secure?"wss":"ws",t=this.query||{};return this.opts.timestampRequests&&(t[this.opts.timestampParam]=Us()),this.supportsBinary||(t.b64=1),this.createUri(e,t)}}const Pt=ie.WebSocket||ie.MozWebSocket;class Yr extends Kr{createSocket(e,t,s){return Is?new Pt(e,t,s):t?new Pt(e,t):new Pt(e)}doWrite(e,t){this.ws.send(t)}}class zr extends Xt{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(e){return this.emitReserved("error",e)}this._transport.closed.then(()=>{this.onClose()}).catch(e=>{this.onError("webtransport error",e)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(e=>{const t=Br(Number.MAX_SAFE_INTEGER,this.socket.binaryType),s=e.readable.pipeThrough(t).getReader(),r=Tr();r.readable.pipeTo(e.writable),this._writer=r.writable.getWriter();const c=()=>{s.read().then(({done:_,value:k})=>{_||(this.onPacket(k),c())}).catch(_=>{})};c();const d={type:"open"};this.query.sid&&(d.data=`{"sid":"${this.query.sid}"}`),this._writer.write(d).then(()=>this.onOpen())})})}write(e){this.writable=!1;for(let t=0;t<e.length;t++){const s=e[t],r=t===e.length-1;this._writer.write(s).then(()=>{r&&ct(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var e;(e=this._transport)===null||e===void 0||e.close()}}const jr={websocket:Yr,webtransport:zr,polling:Hr},Jr=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Xr=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Dt(n){if(n.length>8e3)throw"URI too long";const e=n,t=n.indexOf("["),s=n.indexOf("]");t!=-1&&s!=-1&&(n=n.substring(0,t)+n.substring(t,s).replace(/:/g,";")+n.substring(s,n.length));let r=Jr.exec(n||""),c={},d=14;for(;d--;)c[Xr[d]]=r[d]||"";return t!=-1&&s!=-1&&(c.source=e,c.host=c.host.substring(1,c.host.length-1).replace(/;/g,":"),c.authority=c.authority.replace("[","").replace("]","").replace(/;/g,":"),c.ipv6uri=!0),c.pathNames=Gr(c,c.path),c.queryKey=Qr(c,c.query),c}function Gr(n,e){const t=/\/{2,9}/g,s=e.replace(t,"/").split("/");return(e.slice(0,1)=="/"||e.length===0)&&s.splice(0,1),e.slice(-1)=="/"&&s.splice(s.length-1,1),s}function Qr(n,e){const t={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,r,c){r&&(t[r]=c)}),t}const $t=typeof addEventListener=="function"&&typeof removeEventListener=="function",it=[];$t&&addEventListener("offline",()=>{it.forEach(n=>n())},!1);class Te extends V{constructor(e,t){if(super(),this.binaryType=Cr,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,e&&typeof e=="object"&&(t=e,e=null),e){const s=Dt(e);t.hostname=s.host,t.secure=s.protocol==="https"||s.protocol==="wss",t.port=s.port,s.query&&(t.query=s.query)}else t.host&&(t.hostname=Dt(t.host).host);lt(this,t),this.secure=t.secure!=null?t.secure:typeof location<"u"&&location.protocol==="https:",t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.hostname=t.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=t.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},t.transports.forEach(s=>{const r=s.prototype.name;this.transports.push(r),this._transportsByName[r]=s}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},t),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=Ir(this.opts.query)),$t&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},it.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(e){const t=Object.assign({},this.opts.query);t.EIO=Ns,t.transport=e,this.id&&(t.sid=this.id);const s=Object.assign({},this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new this._transportsByName[e](s)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const e=this.opts.rememberUpgrade&&Te.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const t=this.createTransport(e);t.open(),this.setTransport(t)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",t=>this._onClose("transport close",t))}onOpen(){this.readyState="open",Te.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(e){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",e),this.emitReserved("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const t=new Error("server error");t.code=e.data,this._onError(t);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data);break}}onHandshake(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this._pingInterval=e.pingInterval,this._pingTimeout=e.pingTimeout,this._maxPayload=e.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const e=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+e,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},e),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this._getWritablePackets();this.transport.send(e),this._prevBufferLen=e.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let t=1;for(let s=0;s<this.writeBuffer.length;s++){const r=this.writeBuffer[s].data;if(r&&(t+=Ur(r)),s>0&&t>this._maxPayload)return this.writeBuffer.slice(0,s);t+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const e=Date.now()>this._pingTimeoutTime;return e&&(this._pingTimeoutTime=0,ct(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),e}write(e,t,s){return this._sendPacket("message",e,t,s),this}send(e,t,s){return this._sendPacket("message",e,t,s),this}_sendPacket(e,t,s,r){if(typeof t=="function"&&(r=t,t=void 0),typeof s=="function"&&(r=s,s=null),this.readyState==="closing"||this.readyState==="closed")return;s=s||{},s.compress=s.compress!==!1;const c={type:e,data:t,options:s};this.emitReserved("packetCreate",c),this.writeBuffer.push(c),r&&this.once("flush",r),this.flush()}close(){const e=()=>{this._onClose("forced close"),this.transport.close()},t=()=>{this.off("upgrade",t),this.off("upgradeError",t),e()},s=()=>{this.once("upgrade",t),this.once("upgradeError",t)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?s():e()}):this.upgrading?s():e()),this}_onError(e){if(Te.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",e),this._onClose("transport error",e)}_onClose(e,t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),$t&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const s=it.indexOf(this._offlineEventListener);s!==-1&&it.splice(s,1)}this.readyState="closed",this.id=null,this.emitReserved("close",e,t),this.writeBuffer=[],this._prevBufferLen=0}}}Te.protocol=Ns;class Zr extends Te{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let e=0;e<this._upgrades.length;e++)this._probe(this._upgrades[e])}_probe(e){let t=this.createTransport(e),s=!1;Te.priorWebsocketSuccess=!1;const r=()=>{s||(t.send([{type:"ping",data:"probe"}]),t.once("packet",D=>{if(!s)if(D.type==="pong"&&D.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",t),!t)return;Te.priorWebsocketSuccess=t.name==="websocket",this.transport.pause(()=>{s||this.readyState!=="closed"&&(C(),this.setTransport(t),t.send([{type:"upgrade"}]),this.emitReserved("upgrade",t),t=null,this.upgrading=!1,this.flush())})}else{const I=new Error("probe error");I.transport=t.name,this.emitReserved("upgradeError",I)}}))};function c(){s||(s=!0,C(),t.close(),t=null)}const d=D=>{const I=new Error("probe error: "+D);I.transport=t.name,c(),this.emitReserved("upgradeError",I)};function _(){d("transport closed")}function k(){d("socket closed")}function L(D){t&&D.name!==t.name&&c()}const C=()=>{t.removeListener("open",r),t.removeListener("error",d),t.removeListener("close",_),this.off("close",k),this.off("upgrading",L)};t.once("open",r),t.once("error",d),t.once("close",_),this.once("close",k),this.once("upgrading",L),this._upgrades.indexOf("webtransport")!==-1&&e!=="webtransport"?this.setTimeoutFn(()=>{s||t.open()},200):t.open()}onHandshake(e){this._upgrades=this._filterUpgrades(e.upgrades),super.onHandshake(e)}_filterUpgrades(e){const t=[];for(let s=0;s<e.length;s++)~this.transports.indexOf(e[s])&&t.push(e[s]);return t}}let ei=class extends Zr{constructor(e,t={}){const s=typeof e=="object"?e:t;(!s.transports||s.transports&&typeof s.transports[0]=="string")&&(s.transports=(s.transports||["polling","websocket","webtransport"]).map(r=>jr[r]).filter(r=>!!r)),super(e,s)}};function ti(n,e="",t){let s=n;t=t||typeof location<"u"&&location,n==null&&(n=t.protocol+"//"+t.host),typeof n=="string"&&(n.charAt(0)==="/"&&(n.charAt(1)==="/"?n=t.protocol+n:n=t.host+n),/^(https?|wss?):\/\//.test(n)||(typeof t<"u"?n=t.protocol+"//"+n:n="https://"+n),s=Dt(n)),s.port||(/^(http|ws)$/.test(s.protocol)?s.port="80":/^(http|ws)s$/.test(s.protocol)&&(s.port="443")),s.path=s.path||"/";const c=s.host.indexOf(":")!==-1?"["+s.host+"]":s.host;return s.id=s.protocol+"://"+c+":"+s.port+e,s.href=s.protocol+"://"+c+(t&&t.port===s.port?"":":"+s.port),s}const si=typeof ArrayBuffer=="function",ni=n=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(n):n.buffer instanceof ArrayBuffer,Ds=Object.prototype.toString,ri=typeof Blob=="function"||typeof Blob<"u"&&Ds.call(Blob)==="[object BlobConstructor]",ii=typeof File=="function"||typeof File<"u"&&Ds.call(File)==="[object FileConstructor]";function Gt(n){return si&&(n instanceof ArrayBuffer||ni(n))||ri&&n instanceof Blob||ii&&n instanceof File}function ot(n,e){if(!n||typeof n!="object")return!1;if(Array.isArray(n)){for(let t=0,s=n.length;t<s;t++)if(ot(n[t]))return!0;return!1}if(Gt(n))return!0;if(n.toJSON&&typeof n.toJSON=="function"&&arguments.length===1)return ot(n.toJSON(),!0);for(const t in n)if(Object.prototype.hasOwnProperty.call(n,t)&&ot(n[t]))return!0;return!1}function oi(n){const e=[],t=n.data,s=n;return s.data=Vt(t,e),s.attachments=e.length,{packet:s,buffers:e}}function Vt(n,e){if(!n)return n;if(Gt(n)){const t={_placeholder:!0,num:e.length};return e.push(n),t}else if(Array.isArray(n)){const t=new Array(n.length);for(let s=0;s<n.length;s++)t[s]=Vt(n[s],e);return t}else if(typeof n=="object"&&!(n instanceof Date)){const t={};for(const s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=Vt(n[s],e));return t}return n}function ai(n,e){return n.data=Mt(n.data,e),delete n.attachments,n}function Mt(n,e){if(!n)return n;if(n&&n._placeholder===!0){if(typeof n.num=="number"&&n.num>=0&&n.num<e.length)return e[n.num];throw new Error("illegal attachments")}else if(Array.isArray(n))for(let t=0;t<n.length;t++)n[t]=Mt(n[t],e);else if(typeof n=="object")for(const t in n)Object.prototype.hasOwnProperty.call(n,t)&&(n[t]=Mt(n[t],e));return n}const ci=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"];var x;(function(n){n[n.CONNECT=0]="CONNECT",n[n.DISCONNECT=1]="DISCONNECT",n[n.EVENT=2]="EVENT",n[n.ACK=3]="ACK",n[n.CONNECT_ERROR=4]="CONNECT_ERROR",n[n.BINARY_EVENT=5]="BINARY_EVENT",n[n.BINARY_ACK=6]="BINARY_ACK"})(x||(x={}));class li{constructor(e){this.replacer=e}encode(e){return(e.type===x.EVENT||e.type===x.ACK)&&ot(e)?this.encodeAsBinary({type:e.type===x.EVENT?x.BINARY_EVENT:x.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id}):[this.encodeAsString(e)]}encodeAsString(e){let t=""+e.type;return(e.type===x.BINARY_EVENT||e.type===x.BINARY_ACK)&&(t+=e.attachments+"-"),e.nsp&&e.nsp!=="/"&&(t+=e.nsp+","),e.id!=null&&(t+=e.id),e.data!=null&&(t+=JSON.stringify(e.data,this.replacer)),t}encodeAsBinary(e){const t=oi(e),s=this.encodeAsString(t.packet),r=t.buffers;return r.unshift(s),r}}function Es(n){return Object.prototype.toString.call(n)==="[object Object]"}class Qt extends V{constructor(e){super(),this.reviver=e}add(e){let t;if(typeof e=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");t=this.decodeString(e);const s=t.type===x.BINARY_EVENT;s||t.type===x.BINARY_ACK?(t.type=s?x.EVENT:x.ACK,this.reconstructor=new hi(t),t.attachments===0&&super.emitReserved("decoded",t)):super.emitReserved("decoded",t)}else if(Gt(e)||e.base64)if(this.reconstructor)t=this.reconstructor.takeBinaryData(e),t&&(this.reconstructor=null,super.emitReserved("decoded",t));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+e)}decodeString(e){let t=0;const s={type:Number(e.charAt(0))};if(x[s.type]===void 0)throw new Error("unknown packet type "+s.type);if(s.type===x.BINARY_EVENT||s.type===x.BINARY_ACK){const c=t+1;for(;e.charAt(++t)!=="-"&&t!=e.length;);const d=e.substring(c,t);if(d!=Number(d)||e.charAt(t)!=="-")throw new Error("Illegal attachments");s.attachments=Number(d)}if(e.charAt(t+1)==="/"){const c=t+1;for(;++t&&!(e.charAt(t)===","||t===e.length););s.nsp=e.substring(c,t)}else s.nsp="/";const r=e.charAt(t+1);if(r!==""&&Number(r)==r){const c=t+1;for(;++t;){const d=e.charAt(t);if(d==null||Number(d)!=d){--t;break}if(t===e.length)break}s.id=Number(e.substring(c,t+1))}if(e.charAt(++t)){const c=this.tryParse(e.substr(t));if(Qt.isPayloadValid(s.type,c))s.data=c;else throw new Error("invalid payload")}return s}tryParse(e){try{return JSON.parse(e,this.reviver)}catch{return!1}}static isPayloadValid(e,t){switch(e){case x.CONNECT:return Es(t);case x.DISCONNECT:return t===void 0;case x.CONNECT_ERROR:return typeof t=="string"||Es(t);case x.EVENT:case x.BINARY_EVENT:return Array.isArray(t)&&(typeof t[0]=="number"||typeof t[0]=="string"&&ci.indexOf(t[0])===-1);case x.ACK:case x.BINARY_ACK:return Array.isArray(t)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class hi{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){const t=ai(this.reconPack,this.buffers);return this.finishedReconstruction(),t}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const ui=Object.freeze(Object.defineProperty({__proto__:null,Decoder:Qt,Encoder:li,get PacketType(){return x}},Symbol.toStringTag,{value:"Module"}));function le(n,e,t){return n.on(e,t),function(){n.off(e,t)}}const di=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class $s extends V{constructor(e,t,s){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=t,s&&s.auth&&(this.auth=s.auth),this._opts=Object.assign({},s),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const e=this.io;this.subs=[le(e,"open",this.onopen.bind(this)),le(e,"packet",this.onpacket.bind(this)),le(e,"error",this.onerror.bind(this)),le(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...t){var s,r,c;if(di.hasOwnProperty(e))throw new Error('"'+e.toString()+'" is a reserved event name');if(t.unshift(e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(t),this;const d={type:x.EVENT,data:t};if(d.options={},d.options.compress=this.flags.compress!==!1,typeof t[t.length-1]=="function"){const C=this.ids++,D=t.pop();this._registerAckCallback(C,D),d.id=C}const _=(r=(s=this.io.engine)===null||s===void 0?void 0:s.transport)===null||r===void 0?void 0:r.writable,k=this.connected&&!(!((c=this.io.engine)===null||c===void 0)&&c._hasPingExpired());return this.flags.volatile&&!_||(k?(this.notifyOutgoingListeners(d),this.packet(d)):this.sendBuffer.push(d)),this.flags={},this}_registerAckCallback(e,t){var s;const r=(s=this.flags.timeout)!==null&&s!==void 0?s:this._opts.ackTimeout;if(r===void 0){this.acks[e]=t;return}const c=this.io.setTimeoutFn(()=>{delete this.acks[e];for(let _=0;_<this.sendBuffer.length;_++)this.sendBuffer[_].id===e&&this.sendBuffer.splice(_,1);t.call(this,new Error("operation has timed out"))},r),d=(..._)=>{this.io.clearTimeoutFn(c),t.apply(this,_)};d.withError=!0,this.acks[e]=d}emitWithAck(e,...t){return new Promise((s,r)=>{const c=(d,_)=>d?r(d):s(_);c.withError=!0,t.push(c),this.emit(e,...t)})}_addToQueue(e){let t;typeof e[e.length-1]=="function"&&(t=e.pop());const s={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((r,...c)=>s!==this._queue[0]?void 0:(r!==null?s.tryCount>this._opts.retries&&(this._queue.shift(),t&&t(r)):(this._queue.shift(),t&&t(null,...c)),s.pending=!1,this._drainQueue())),this._queue.push(s),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||this._queue.length===0)return;const t=this._queue[0];t.pending&&!e||(t.pending=!0,t.tryCount++,this.flags=t.flags,this.emit.apply(this,t.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){typeof this.auth=="function"?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:x.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,t){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(e=>{if(!this.sendBuffer.some(s=>String(s.id)===e)){const s=this.acks[e];delete this.acks[e],s.withError&&s.call(this,new Error("socket has been disconnected"))}})}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case x.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case x.EVENT:case x.BINARY_EVENT:this.onevent(e);break;case x.ACK:case x.BINARY_ACK:this.onack(e);break;case x.DISCONNECT:this.ondisconnect();break;case x.CONNECT_ERROR:this.destroy();const s=new Error(e.data.message);s.data=e.data.data,this.emitReserved("connect_error",s);break}}onevent(e){const t=e.data||[];e.id!=null&&t.push(this.ack(e.id)),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const t=this._anyListeners.slice();for(const s of t)s.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&typeof e[e.length-1]=="string"&&(this._lastOffset=e[e.length-1])}ack(e){const t=this;let s=!1;return function(...r){s||(s=!0,t.packet({type:x.ACK,id:e,data:r}))}}onack(e){const t=this.acks[e.id];typeof t=="function"&&(delete this.acks[e.id],t.withError&&e.data.unshift(null),t.apply(this,e.data))}onconnect(e,t){this.id=e,this.recovered=t&&this._pid===t,this._pid=t,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:x.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const t=this._anyListeners;for(let s=0;s<t.length;s++)if(e===t[s])return t.splice(s,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){const t=this._anyOutgoingListeners;for(let s=0;s<t.length;s++)if(e===t[s])return t.splice(s,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const t=this._anyOutgoingListeners.slice();for(const s of t)s.apply(this,e.data)}}}function De(n){n=n||{},this.ms=n.min||100,this.max=n.max||1e4,this.factor=n.factor||2,this.jitter=n.jitter>0&&n.jitter<=1?n.jitter:0,this.attempts=0}De.prototype.duration=function(){var n=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),t=Math.floor(e*this.jitter*n);n=Math.floor(e*10)&1?n+t:n-t}return Math.min(n,this.max)|0};De.prototype.reset=function(){this.attempts=0};De.prototype.setMin=function(n){this.ms=n};De.prototype.setMax=function(n){this.max=n};De.prototype.setJitter=function(n){this.jitter=n};class Ft extends V{constructor(e,t){var s;super(),this.nsps={},this.subs=[],e&&typeof e=="object"&&(t=e,e=void 0),t=t||{},t.path=t.path||"/socket.io",this.opts=t,lt(this,t),this.reconnection(t.reconnection!==!1),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor((s=t.randomizationFactor)!==null&&s!==void 0?s:.5),this.backoff=new De({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(t.timeout==null?2e4:t.timeout),this._readyState="closed",this.uri=e;const r=t.parser||ui;this.encoder=new r.Encoder,this.decoder=new r.Decoder,this._autoConnect=t.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,e||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(e){return e===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var t;return e===void 0?this._reconnectionDelay:(this._reconnectionDelay=e,(t=this.backoff)===null||t===void 0||t.setMin(e),this)}randomizationFactor(e){var t;return e===void 0?this._randomizationFactor:(this._randomizationFactor=e,(t=this.backoff)===null||t===void 0||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,(t=this.backoff)===null||t===void 0||t.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new ei(this.uri,this.opts);const t=this.engine,s=this;this._readyState="opening",this.skipReconnect=!1;const r=le(t,"open",function(){s.onopen(),e&&e()}),c=_=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",_),e?e(_):this.maybeReconnectOnOpen()},d=le(t,"error",c);if(this._timeout!==!1){const _=this._timeout,k=this.setTimeoutFn(()=>{r(),c(new Error("timeout")),t.close()},_);this.opts.autoUnref&&k.unref(),this.subs.push(()=>{this.clearTimeoutFn(k)})}return this.subs.push(r),this.subs.push(d),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(le(e,"ping",this.onping.bind(this)),le(e,"data",this.ondata.bind(this)),le(e,"error",this.onerror.bind(this)),le(e,"close",this.onclose.bind(this)),le(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(t){this.onclose("parse error",t)}}ondecoded(e){ct(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,t){let s=this.nsps[e];return s?this._autoConnect&&!s.active&&s.connect():(s=new $s(this,e,t),this.nsps[e]=s),s}_destroy(e){const t=Object.keys(this.nsps);for(const s of t)if(this.nsps[s].active)return;this._close()}_packet(e){const t=this.encoder.encode(e);for(let s=0;s<t.length;s++)this.engine.write(t[s],e.options)}cleanup(){this.subs.forEach(e=>e()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(e,t){var s;this.cleanup(),(s=this.engine)===null||s===void 0||s.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const t=this.backoff.duration();this._reconnecting=!0;const s=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),!e.skipReconnect&&e.open(r=>{r?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",r)):e.onreconnect()}))},t);this.opts.autoUnref&&s.unref(),this.subs.push(()=>{this.clearTimeoutFn(s)})}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const Ye={};function at(n,e){typeof n=="object"&&(e=n,n=void 0),e=e||{};const t=ti(n,e.path||"/socket.io"),s=t.source,r=t.id,c=t.path,d=Ye[r]&&c in Ye[r].nsps,_=e.forceNew||e["force new connection"]||e.multiplex===!1||d;let k;return _?k=new Ft(s,e):(Ye[r]||(Ye[r]=new Ft(s,e)),k=Ye[r]),t.query&&!e.query&&(e.query=t.queryKey),k.socket(t.path,e)}Object.assign(at,{Manager:Ft,Socket:$s,io:at,connect:at});var pi=R(' <strong class="svelte-1pcdei1"></strong> ',1),fi=R('<a class="view-report-btn svelte-1pcdei1"> <svg width="11" height="11" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="svelte-1pcdei1"><line x1="5" y1="12" x2="19" y2="12" class="svelte-1pcdei1"></line><polyline points="12 5 19 12 12 19" class="svelte-1pcdei1"></polyline></svg></a>'),vi=R('<span class="run-chip-spinner svelte-1pcdei1"></span>'),_i=R('<span class="run-chip-count svelte-1pcdei1"> </span>'),gi=R('<div class="run-chip svelte-1pcdei1"><svg width="9" height="10" viewBox="0 0 10 12" fill="currentColor" stroke="none" style="opacity:0.6;flex-shrink:0" class="svelte-1pcdei1"><polygon points="0,0 10,6 0,12" class="svelte-1pcdei1"></polygon></svg> <span class="run-chip-title svelte-1pcdei1"> </span> <!> <button class="run-chip-clear svelte-1pcdei1"><svg width="9" height="9" viewBox="0 0 14 14" fill="none" class="svelte-1pcdei1"><path d="M1 1l12 12M13 1L1 13" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" class="svelte-1pcdei1"></path></svg></button></div>'),mi=R('<div class="input-wrap svelte-1pcdei1"><svg class="input-icon svelte-1pcdei1" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8" class="svelte-1pcdei1"></circle><line x1="21" y1="21" x2="16.65" y2="16.65" class="svelte-1pcdei1"></line></svg> <input type="text" class="tag-input svelte-1pcdei1" placeholder="@tag or leave blank for all tests"></div>'),yi=R('<button class="dropdown-item svelte-1pcdei1"><span style="color:var(--text-muted)" class="svelte-1pcdei1">✕</span> </button> <div class="dropdown-divider svelte-1pcdei1"></div>',1),bi=R('<div class="dropdown-empty svelte-1pcdei1"></div>'),wi=R('<button class="dropdown-item svelte-1pcdei1"> </button>'),ki=R('<div class="dropdown-menu run-pick-menu svelte-1pcdei1"><!> <!></div>'),Ei=R('<button class="dropdown-item svelte-1pcdei1"> </button>'),Ri=R('<div class="dropdown-menu svelte-1pcdei1"></div>'),xi=R('<label class="runner-option svelte-1pcdei1"><input type="checkbox" class="svelte-1pcdei1"> <span class="runner-dot built-in svelte-1pcdei1"></span> <span class="svelte-1pcdei1"></span></label>'),Ai=R('<label class="runner-option svelte-1pcdei1"><input type="checkbox" class="svelte-1pcdei1"> <span class="runner-dot remote svelte-1pcdei1"></span> <span class="svelte-1pcdei1"> </span></label>'),Ti=R('<div class="dropdown-menu runners-menu svelte-1pcdei1"><!> <!></div>'),Bi=R('<div class="ctrl-divider svelte-1pcdei1"></div> <div class="ctrl-group svelte-1pcdei1"><span class="ctrl-label svelte-1pcdei1"></span> <div class="dropdown-wrap svelte-1pcdei1"><button class="dropdown-trigger svelte-1pcdei1"><span class="svelte-1pcdei1"> </span> <svg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" class="trigger-chevron svelte-1pcdei1"><polyline points="6 9 12 15 18 9" class="svelte-1pcdei1"></polyline></svg></button> <!></div></div>',1),Si=R('<button type="button" class="notify-btn svelte-1pcdei1"></button>'),Ci=R('<button type="button" class="notify-btn svelte-1pcdei1"></button>'),Li=R('<div class="ctrl-divider svelte-1pcdei1"></div> <div class="ctrl-group svelte-1pcdei1"><span class="ctrl-label svelte-1pcdei1"></span> <div class="notify-toggles svelte-1pcdei1"><!> <!></div></div>',1),Ni=R('<span class="meta-dot svelte-1pcdei1">·</span> ',1),Oi=R('<div class="run-card svelte-1pcdei1"><span class="run-card-dot svelte-1pcdei1"></span> <a class="run-card-main svelte-1pcdei1"><div class="run-card-info svelte-1pcdei1"><span class="run-card-label svelte-1pcdei1"> </span> <span class="run-card-meta svelte-1pcdei1"> <!></span></div> <!> <svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" class="run-card-arrow svelte-1pcdei1"><line x1="5" y1="12" x2="19" y2="12" class="svelte-1pcdei1"></line><polyline points="12 5 19 12 12 19" class="svelte-1pcdei1"></polyline></svg></a> <button class="run-card-cancel svelte-1pcdei1"><svg width="12" height="12" viewBox="0 0 14 14" fill="none" class="svelte-1pcdei1"><path d="M1 1l12 12M13 1L1 13" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" class="svelte-1pcdei1"></path></svg></button></div>'),Ui=R('<div class="empty-runs svelte-1pcdei1"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="empty-icon svelte-1pcdei1"><circle cx="12" cy="12" r="10" class="svelte-1pcdei1"></circle><line x1="10" y1="15" x2="10" y2="12" class="svelte-1pcdei1"></line><line x1="10" y1="9" x2="10.01" y2="9" class="svelte-1pcdei1"></line></svg> </div>'),Pi=R('<div class="body svelte-1pcdei1"><!> <!></div>'),qi=R('<!> <div class="panel svelte-1pcdei1"><div class="scan-line svelte-1pcdei1"></div> <div class="bar svelte-1pcdei1"><div class="bar-left svelte-1pcdei1"><div class="bar-status svelte-1pcdei1"><span class="status-dot svelte-1pcdei1"></span> <span class="status-word svelte-1pcdei1"> </span></div> <!></div> <span class="flex-gap svelte-1pcdei1"></span> <div class="bar-center svelte-1pcdei1"><!> <div class="ctrl-group svelte-1pcdei1"><span class="ctrl-label svelte-1pcdei1"></span> <div class="dropdown-wrap svelte-1pcdei1"><button class="dropdown-trigger svelte-1pcdei1"><span class="svelte-1pcdei1"> </span> <svg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" class="trigger-chevron svelte-1pcdei1"><polyline points="6 9 12 15 18 9" class="svelte-1pcdei1"></polyline></svg></button> <!></div></div> <div class="ctrl-divider svelte-1pcdei1"></div> <div class="ctrl-group svelte-1pcdei1"><span class="ctrl-label svelte-1pcdei1"></span> <div class="stepper svelte-1pcdei1"><button class="step-btn svelte-1pcdei1">−</button> <span class="step-val svelte-1pcdei1"> </span> <button class="step-btn svelte-1pcdei1">+</button></div></div> <div class="ctrl-divider svelte-1pcdei1"></div> <div class="ctrl-group svelte-1pcdei1"><span class="ctrl-label svelte-1pcdei1"></span> <div class="dropdown-wrap svelte-1pcdei1"><button class="dropdown-trigger svelte-1pcdei1"><span class="svelte-1pcdei1"> </span> <svg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" class="trigger-chevron svelte-1pcdei1"><polyline points="6 9 12 15 18 9" class="svelte-1pcdei1"></polyline></svg></button> <!></div></div> <!> <!> <div class="ctrl-divider svelte-1pcdei1"></div> <button class="run-btn svelte-1pcdei1"><svg width="9" height="10" viewBox="0 0 10 12" fill="currentColor" stroke="none" class="svelte-1pcdei1"><polygon points="0,0 10,6 0,12" class="svelte-1pcdei1"></polygon></svg> </button></div> <span class="flex-gap-sm svelte-1pcdei1"></span> <button class="expand-btn svelte-1pcdei1"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="svelte-1pcdei1"><polyline points="18 15 12 9 6 15" class="svelte-1pcdei1"></polyline></svg></button></div> <!></div>',1);function Ii(n,e){Ht(e,!1);const[t,s]=zt(),r=()=>we(ye,"$runnerConfig",t),c=()=>we(Ke,"$backgroundRuns",t),d=()=>we(In,"$runsVersion",t),_=()=>we(Pe,"$panelExpanded",t),k=()=>we(Ct,"$builtInEnabled",t),L=q(),C=q(),D=q(),I=q(),J=q(),he=q(),Be=q(),Le=q(),se=q();let X=q([]),oe=q([]),A=q(null),ae=q(!1),ne=q(!1),ge=q(!1),re=q(!1),ke=q(!1),M=q({discordWebhookUrl:"",slackWebhookUrl:"",notifyPublicUrl:""}),N=q(!1),K=q(!1);function Y(o){function l(b){o.contains(b.target)||o.dispatchEvent(new CustomEvent("clickoutside"))}return document.addEventListener("click",l,!0),{destroy(){document.removeEventListener("click",l,!0)}}}let ce,W,ee,z,Q=q(null);Kt(()=>{try{const a=localStorage.getItem("plum:runnerConfig");a&&ye.update(h=>({...h,...JSON.parse(a)}))}catch{}try{const a=localStorage.getItem("plum:panelExpanded");a!==null&&Pe.set(a==="true")}catch{}try{const a=localStorage.getItem("plum:builtInEnabled");a!==null&&Ct.set(a!=="false")}catch{}yn().then(a=>{E(X,a);const h=new Set([Ae,...a.map(p=>p.id)]);ye.update(p=>{const m=p.selectedRunners.filter(g=>h.has(g));return{...p,selectedRunners:m.length>0?m:[Ae]}})}).catch(()=>{}),bn().then(a=>E(M,a)).catch(()=>{}),sr().then(a=>{a.length!==0&&(Ke.update(h=>{const p={...h};for(const{runId:m,kind:g,label:y,meta:B,status:O}of a)p[m]||(p[m]=_s({kind:g,label:y,meta:B,status:O}));return p}),Pe.set(!0))}).catch(()=>{}),ce=ye.subscribe(a=>{try{localStorage.setItem("plum:runnerConfig",JSON.stringify(a))}catch{}}),W=Pe.subscribe(a=>{try{localStorage.setItem("plum:panelExpanded",String(a))}catch{}}),ee=Ct.subscribe(a=>{try{localStorage.setItem("plum:builtInEnabled",String(a))}catch{}ye.update(h=>{if(!a&&h.selectedRunners.includes(Ae)){const p=h.selectedRunners.filter(g=>g!==Ae),m=p.length>0?p:i(X)[0]?[i(X)[0].id]:[];return{...h,selectedRunners:m}}return h})});const o=at(un,{transports:["websocket"]});z=o,wn.set(o),o.on(be.REPORT_READY,()=>gs.update(a=>a+1));function l(a,h){Ke.update(p=>p[a]?{...p,[a]:h(p[a])}:p)}function b(a,{kind:h,label:p,meta:m},g){Ke.update(y=>({...y,[a]:y[a]?{...y[a],status:g}:_s({kind:h,label:p,meta:m,status:g})})),Pe.set(!0)}o.on(be.BG_RUN_QUEUED,({runId:a,kind:h,label:p,meta:m})=>{b(a,{kind:h,label:p,meta:m},"queued")}),o.on(be.BG_RUN_START,({runId:a,kind:h,label:p,meta:m})=>{b(a,{kind:h,label:p,meta:m},"running")}),o.on(be.BG_RUN_LOG,({runId:a,log:h})=>{l(a,p=>({...p,output:p.output+h}))}),o.on(be.BG_RUN_LANES_INIT,({runId:a,lanes:h})=>{l(a,p=>({...p,lanes:h.map(m=>({...m,status:"running",logs:""}))}))});function T(a,h,p){const m=a.lanes.some(g=>g.id===h)?a.lanes.map(g=>g.id===h?{...g,...p(g)}:g):[...a.lanes,{id:h,name:h,testCount:0,status:"running",logs:"",...p({logs:""})}];return{...a,lanes:m}}o.on(be.BG_RUN_LANE_LOG,({runId:a,laneId:h,log:p})=>{l(a,m=>T(m,h,g=>({logs:(g.logs||"")+p})))}),o.on(be.BG_RUN_LANE_STATUS,({runId:a,laneId:h,status:p})=>{l(a,m=>T(m,h,()=>({status:p})))}),o.on(be.BG_RUN_LANE_RRWEB_BATCH,({runId:a,...h})=>{l(a,p=>({...p,rrwebByLane:kn(p.rrwebByLane,h)}))}),o.on(be.BG_RUN_DONE,({runId:a,code:h,reportId:p})=>{const m=h===0||h===null,g=h===130;l(a,y=>({...y,status:"done",testCompleted:!g,latestReportId:g?null:p,verdict:g?"cancelled":m?"pass":"fail"})),!g&&p&&E(Q,{reportId:p,verdict:m?"pass":"fail"}),g||gs.update(y=>y+1),setTimeout(()=>{Ke.update(y=>{const B={...y};return delete B[a],B})},dn+5e3)})}),ln(()=>{ce==null||ce(),W==null||W(),ee==null||ee(),z==null||z.disconnect()});async function Se(o){E(re,!1),E(A,{id:o.id,title:o.title,tags:null}),E(ae,!0);try{const b=(await tr(o.id)).entries.filter(T=>{var a;return(a=T.case)==null?void 0:a.isAutomated}).map(T=>`@${T.case.displayId}`);E(A,{id:o.id,title:o.title,tags:b})}catch{E(A,null)}finally{E(ae,!1)}}function Je(){E(A,null)}function Ee(){const o={notifyDiscord:i(N),notifySlack:i(K)};if(i(A)){if(i(ae)||!i(A).tags||i(A).tags.length===0)return;Lt(i(A).tags.join(" or "),i(A).id,o,i(A).title)}else r().testID.trim()===""?E(ke,!0):Lt(void 0,void 0,o)}function ht(o){o.key==="Enter"&&!i(A)&&Ee()}function Zt(o){ye.update(l=>({...l,workers:Math.max(ps,Math.min(fs,l.workers+o))}))}function es(o){ye.update(l=>{const b=l.selectedRunners;if(b.includes(o)&&b.length===1)return l;const T=b.includes(o)?b.filter(a=>a!==o):[...b,o];return{...l,selectedRunners:T}})}function ut(o){return r().selectedRunners.includes(o)}fe(()=>r(),()=>{E(L,r())}),fe(()=>c(),()=>{E(C,Object.entries(c()).filter(([,o])=>o.status==="queued"||o.status==="running"))}),fe(()=>i(C),()=>{E(D,i(C).filter(([,o])=>o.status==="running").length)}),fe(()=>i(C),()=>{E(I,i(C).filter(([,o])=>o.status==="queued").length)}),fe(()=>i(C),()=>{E(J,i(C).length>0)}),fe(()=>(d(),ds),()=>{d()>=0&&er({limit:ds}).then(o=>E(oe,o.runs)).catch(()=>{})}),fe(()=>(i(D),i(I),i(Q)),()=>{var o,l;E(he,i(D)>0?"var(--accent)":i(I)>0?"var(--warn)":((o=i(Q))==null?void 0:o.verdict)==="pass"?"var(--pass)":((l=i(Q))==null?void 0:l.verdict)==="fail"?"var(--fail)":"var(--border)")}),fe(()=>(i(D),i(I),i(Q)),()=>{var o;E(Be,En({running:i(D),queued:i(I),verdict:(o=i(Q))==null?void 0:o.verdict}))}),fe(()=>i(L),()=>{E(Le,Bt.find(o=>o.id===i(L).browser)??Bt[0])}),fe(()=>(i(L),i(X)),()=>{E(se,Rn(i(L),i(X)))}),hn(),Wt();var ts=qi(),ss=G(ts);ir(ss,{title:An,confirmLabel:xn,get open(){return i(ke)},set open(o){E(ke,o)},$$events:{confirm:()=>{E(ke,!1),Lt(void 0,void 0,{notifyDiscord:i(N),notifySlack:i(K)})}},children:(o,l)=>{We();var b=pi(),T=G(b);T.nodeValue=`${Tn} `;var a=u(T);a.textContent=Bn;var h=u(a);h.nodeValue=` ${Sn}`,w(o,b)},$$slots:{default:!0},$$legacy:!0});var dt=u(ss,2),Xe=v(dt),pt=u(Xe,2),ft=v(pt),vt=v(ft),_t=v(vt),gt=u(_t,2),Vs=v(gt,!0);f(gt),f(vt);var Ms=u(vt,2);{var Fs=o=>{var l=fi(),b=v(l);b.nodeValue=`${Dn} `,We(),f(l),$(T=>j(l,"href",T),[()=>Zn(i(Q).reportId)],Z),Ce(3,l,()=>He,()=>({x:-6,duration:200})),w(o,l)};P(Ms,o=>{var l;!i(J)&&((l=i(Q))!=null&&l.reportId)&&o(Fs)})}f(ft);var mt=u(ft,4),ns=v(mt);{var Ws=o=>{var l=gi(),b=u(v(l),2),T=v(b,!0);f(b);var a=u(b,2);{var h=g=>{var y=vi();w(g,y)},p=g=>{var y=qe(),B=G(y);{var O=F=>{var te=_i(),ue=v(te,!0);f(te),$(Me=>{S(te,"none",i(A).tags.length===0),H(ue,Me)},[()=>Qn(i(A).tags.length)],Z),w(F,te)};P(B,F=>{i(A).tags!==null&&F(O)},!0)}w(g,y)};P(a,g=>{i(ae)?g(h):g(p,!1)})}var m=u(a,2);j(m,"aria-label",$n),f(l),$(()=>{S(l,"loading",i(ae)),H(T,i(A).title)}),U("click",m,Je),w(o,l)},Hs=o=>{var l=mi(),b=u(v(l),2);St(b),f(l),$(()=>pn(b,r().testID)),U("input",b,T=>ye.update(a=>({...a,testID:T.currentTarget.value}))),U("keydown",b,ht),w(o,l)};P(ns,o=>{i(A)?o(Ws):o(Hs,!1)})}var yt=u(ns,2),rs=v(yt);rs.textContent=Cn;var Ge=u(rs,2),Ne=v(Ge),bt=v(Ne),Ks=v(bt,!0);f(bt);var Ys=u(bt,2);f(Ne);var zs=u(Ne,2);{var js=o=>{var l=ki(),b=v(l);{var T=m=>{var g=yi(),y=G(g),B=u(v(y));B.nodeValue=` ${fn}`,f(y),We(2),U("click",y,Je),w(m,g)};P(b,m=>{i(A)&&m(T)})}var a=u(b,2);{var h=m=>{var g=bi();g.textContent=jn,w(m,g)},p=m=>{var g=qe(),y=G(g);Ie(y,1,()=>i(oe).filter(B=>B.status!=="complete"),je,(B,O)=>{var F=wi(),te=v(F,!0);f(F),$(()=>{var ue;S(F,"active",((ue=i(A))==null?void 0:ue.id)===i(O).id),H(te,i(O).title)}),U("click",F,()=>Se(i(O))),w(B,F)}),w(m,g)};P(a,m=>{i(oe).filter(g=>g.status!=="complete").length===0?m(h):m(p,!1)})}f(l),Ce(3,l,()=>He,()=>({y:6,duration:130})),w(o,l)};P(zs,o=>{i(re)&&o(js)})}f(Ge),Nt(Ge,o=>Y==null?void 0:Y(o)),nt(()=>U("clickoutside",Ge,()=>E(re,!1))),f(yt);var wt=u(yt,4),is=v(wt);is.textContent=Ln;var os=u(is,2),kt=v(os),Et=u(kt,2),Js=v(Et,!0);f(Et);var as=u(Et,2);f(os),f(wt);var Rt=u(wt,4),cs=v(Rt);cs.textContent=Nn;var Qe=u(cs,2),$e=v(Qe),xt=v($e),Xs=v(xt,!0);f(xt);var Gs=u(xt,2);f($e);var Qs=u($e,2);{var Zs=o=>{var l=Ri();Ie(l,5,()=>Bt,je,(b,T)=>{var a=Ei(),h=v(a,!0);f(a),$(()=>{S(a,"active",i(L).browser===i(T).id),H(h,i(T).label)}),U("click",a,()=>{ye.update(p=>({...p,browser:i(T).id})),E(ne,!1)}),w(b,a)}),f(l),Ce(3,l,()=>He,()=>({y:6,duration:130})),w(o,l)};P(Qs,o=>{i(ne)&&o(Zs)})}f(Qe),Nt(Qe,o=>Y==null?void 0:Y(o)),nt(()=>U("clickoutside",Qe,()=>E(ne,!1))),f(Rt);var ls=u(Rt,2);{var en=o=>{var l=Bi(),b=u(G(l),2),T=v(b);T.textContent=Vn;var a=u(T,2),h=v(a),p=v(h),m=v(p,!0);f(p);var g=u(p,2);f(h);var y=u(h,2);{var B=O=>{var F=Ti(),te=v(F);{var ue=Re=>{var de=xi(),pe=v(de);St(pe);var xe=u(pe,4);xe.textContent=gn,f(de),$(Oe=>vs(pe,Oe),[()=>ut(Ae)],Z),U("change",pe,()=>es(Ae)),w(Re,de)};P(te,Re=>{(k()||ut(Ae))&&Re(ue)})}var Me=u(te,2);Ie(Me,1,()=>i(X),je,(Re,de)=>{var pe=Ai(),xe=v(pe);St(xe);var Oe=u(xe,4),At=v(Oe,!0);f(Oe),f(pe),$(Fe=>{vs(xe,Fe),H(At,i(de).name)},[()=>ut(i(de).id)],Z),U("change",xe,()=>es(i(de).id)),w(Re,pe)}),f(F),Ce(3,F,()=>He,()=>({y:6,duration:130})),w(O,F)};P(y,O=>{i(ge)&&O(B)})}f(a),Nt(a,O=>Y==null?void 0:Y(O)),nt(()=>U("clickoutside",a,()=>E(ge,!1))),f(b),$(O=>{S(h,"open",i(ge)),S(h,"has-remote",O),H(m,i(se)),S(g,"open",i(ge))},[()=>i(L).selectedRunners.some(O=>O!==Ae)],Z),U("click",h,()=>{E(ge,!i(ge))}),w(o,l)};P(ls,o=>{i(X).length>0&&o(en)})}var hs=u(ls,2);{var tn=o=>{var l=Li(),b=u(G(l),2),T=v(b);T.textContent=Mn;var a=u(T,2),h=v(a);{var p=y=>{var B=Si();B.textContent=vn,$(O=>{j(B,"title",O),S(B,"active",i(N))},[()=>Jn(i(N))],Z),U("click",B,()=>E(N,!i(N))),w(y,B)};P(h,y=>{i(M).discordWebhookUrl&&y(p)})}var m=u(h,2);{var g=y=>{var B=Ci();B.textContent=_n,$(O=>{j(B,"title",O),S(B,"active",i(K))},[()=>Xn(i(K))],Z),U("click",B,()=>E(K,!i(K))),w(y,B)};P(m,y=>{i(M).slackWebhookUrl&&y(g)})}f(a),f(b),w(o,l)};P(hs,o=>{(i(M).discordWebhookUrl||i(M).slackWebhookUrl)&&o(tn)})}var Ve=u(hs,4),sn=u(v(Ve));sn.nodeValue=` ${On}`,f(Ve),f(mt);var Ze=u(mt,4),nn=v(Ze);f(Ze),f(pt);var rn=u(pt,2);{var on=o=>{var l=Pi(),b=v(l);Ie(b,3,()=>i(C),([h,p])=>h,(h,p,m)=>{let g=()=>i(p)[0],y=()=>i(p)[1];var B=Oi(),O=v(B),F=u(O,2),te=v(F),ue=v(te),Me=v(ue,!0);f(ue);var Re=u(ue,2),de=v(Re),pe=u(de);{var xe=me=>{var Ue=Ni(),et=u(G(Ue));$(Tt=>H(et,` ${Tt??""}`),[()=>zn(y().currentRun.startedBy)],Z),w(me,Ue)};P(pe,me=>{var Ue;(Ue=y().currentRun)!=null&&Ue.startedBy&&me(xe)})}f(Re),f(te);var Oe=u(te,2);const At=Z(()=>y().status==="queued"?"tag":rr(y().kind));or(Oe,{get variant(){return i(At)},children:(me,Ue)=>{We();var et=an();$(Tt=>H(et,Tt),[()=>y().status==="queued"?Fn:nr(y().kind)],Z),w(me,et)},$$slots:{default:!0}}),We(2),f(F);var Fe=u(F,2);j(Fe,"title",ms),j(Fe,"aria-label",ms),f(B),$(me=>{S(B,"active-run",y().status==="running"),S(B,"queued-run",y().status==="queued"),S(O,"pulse-accent",y().status==="running"),S(O,"queued-dot",y().status==="queued"),j(F,"href",`/live/${g()??""}`),H(Me,y().label||Kn),H(de,`${me??""} `)},[()=>y().status==="queued"?Wn(i(C).slice(0,i(m)).filter(([,me])=>me.status==="queued").length+1):Hn(y().kind)],Z),U("click",Fe,()=>Yn(g())),Ce(3,B,()=>He,()=>({x:-4,duration:160})),w(h,B)});var T=u(b,2);{var a=h=>{var p=Ui(),m=u(v(p));m.nodeValue=` ${Gn}`,f(p),w(h,p)};P(T,h=>{i(J)||h(a)})}f(l),Ce(3,l,()=>Rs,()=>({duration:200})),w(o,l)};P(rn,o=>{_()&&o(on)})}f(dt),$(o=>{var l,b,T,a;S(dt,"expanded",_()),S(Xe,"scanning",i(D)>0),S(Xe,"line-pass",((l=i(Q))==null?void 0:l.verdict)==="pass"&&!i(J)),S(Xe,"line-fail",((b=i(Q))==null?void 0:b.verdict)==="fail"&&!i(J)),j(_t,"style",`background:${i(he)??""}`),S(_t,"pulse",i(D)>0),j(gt,"style",`color:${i(he)??""}`),H(Vs,i(Be)),S(Ne,"open",i(re)),S(Ne,"has-remote",!!i(A)),H(Ks,i(A)?i(A).title:Pn),S(Ys,"open",i(re)),kt.disabled=i(L).workers<=ps,H(Js,i(L).workers),as.disabled=i(L).workers>=fs,S($e,"open",i(ne)),H(Xs,i(Le).label),S(Gs,"open",i(ne)),Ve.disabled=i(ae)||i(A)&&((T=i(A).tags)==null?void 0:T.length)===0,j(Ve,"title",i(A)&&((a=i(A).tags)==null?void 0:a.length)===0?qn:void 0),j(Ze,"aria-label",o),S(nn,"flipped",_())},[()=>Un(_())],Z),U("click",Ne,()=>{E(re,!i(re))}),U("click",kt,()=>Zt(-1)),U("click",as,()=>Zt(1)),U("click",$e,()=>{E(ne,!i(ne))}),U("click",Ve,Ee),U("click",Ze,()=>Pe.update(o=>!o)),w(n,ts),Yt(),s()}var Di=R("<!> <!> <!>",1),$i=R('<div class="boot-loading svelte-3qbr79">Loading…</div>');function oo(n,e){Ht(e,!1);const[t,s]=zt(),r=()=>we(xs,"$page",t),c=()=>we(As,"$auth",t),d=["/login","/setup"];let _=q(!1);Kt(async()=>{const I=r().url.pathname;if(d.includes(I)){E(_,!0);return}if(c().token){E(_,!0);return}try{const he=await ar();await us(he?"/setup":"/login")}catch{await us("/login")}finally{E(_,!0)}}),Wt();var k=qe(),L=G(k);{var C=I=>{var J=qe(),he=G(J);{var Be=se=>{var X=qe(),oe=G(X);qt(oe,e,"default",{},null),w(se,X)},Le=se=>{var X=Di(),oe=G(X);mr(oe,{});var A=u(oe,2);br(A,{children:(ne,ge)=>{var re=qe(),ke=G(re);qt(ke,e,"default",{},null),w(ne,re)},$$slots:{default:!0}});var ae=u(A,2);Ii(ae,{}),w(se,X)};P(he,se=>{r().url.pathname==="/login"||r().url.pathname==="/setup"?se(Be):se(Le,!1)})}w(I,J)},D=I=>{var J=$i();w(I,J)};P(L,I=>{i(_)?I(C):I(D,!1)})}w(n,k),Yt(),s()}export{oo as component,ro as universal};
|
|
Binary file
|
|
Binary file
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
* Licensed under the MIT License. See LICENSE file in the project root for details.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import{a as g,t as h,s}from"../chunks/
|
|
6
|
+
import{a as g,t as h,s}from"../chunks/CfkUW1vA.js";import{i as d}from"../chunks/C00jnSU2.js";import{p as l,f as v,t as x,c as _,d as o,k as p,j as k}from"../chunks/CeH-RgMb.js";import{s as $,p as i}from"../chunks/DiVmSEJa.js";const b={get error(){return i.error},get status(){return i.status}};$.updated.check;const m=b;var j=h("<h1> </h1> <p> </p>",1);function z(c,n){l(n,!1),d();var r=j(),t=v(r),f=o(t,!0);p(t);var e=k(t,2),u=o(e,!0);p(e),x(()=>{var a;s(f,m.status),s(u,(a=m.error)==null?void 0:a.message)}),g(c,r),_()}export{z as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
* Licensed under the MIT License. See LICENSE file in the project root for details.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import{h as ya,e as oe,a as l,t as c,c as ce,s as o,r as ba,b as Re}from"../chunks/CMBQQ9RZ.js";import{i as La}from"../chunks/CKDtmZUQ.js";import{p as Ta,m as f,o as $a,s as i,l as Fe,b as Aa,f as W,t as S,g as e,c as wa,d as s,j as r,$ as Sa,k as a,n as Le,v as Ia,x as ve,y as De}from"../chunks/BAACMRH5.js";import{i as y}from"../chunks/CgnwuKKO.js";import{e as xe,i as ut,t as Ke,a as pt,f as gt,s as je}from"../chunks/TOCyHP97.js";import{s as R,b as Ca,r as ht,C as Ut,c as ka,S as Ra,d as Ht,L as Vt,a as Xe}from"../chunks/CUC98kMZ.js";import{b as Ze}from"../chunks/t-La0hgu.js";import{T as Da,B as Me,b as Ma}from"../chunks/CzlPaHY9.js";import{f as Ba,a as Oa,s as Ft,d as Na,b as Pa,c as Ua,e as Ha,g as Va}from"../chunks/BUwxRmHf.js";import{r as jt}from"../chunks/DHM6H-es.js";import{P as Gt}from"../chunks/w0D4Uzlq.js";import{E as xt}from"../chunks/BKuh57WU.js";import{C as Yt}from"../chunks/DMZwI8Cj.js";import{M as Wt}from"../chunks/CMEtqUfQ.js";import{H as Fa,a as ja,S as Ga,R as Ya,F as Wa,P as qa,D as qt,b as Ja,c as Qa,N as za,d as Ka,e as Xa,f as Za,g as es,h as ts,i as as,j as ss,T as rs,k as is,l as ls,m as ns,s as os,n as vs,r as ds,o as cs,p as _s,q as us,t as ps,u as gs,v as hs,w as xs,x as fs,y as ms,z as Es,A as ys,B as bs,C as Jt,E as et,G as tt,I as Ls,J as Ts,K as Qt,L as zt,M as $s,O as As,Q as ws,U as Ss}from"../chunks/BAMUGSh7.js";var Is=c("Delete <strong> </strong>? This cannot be undone.",1),Cs=c(" <strong> </strong> ",1),ks=c("<option> </option>"),Rs=c('<p class="form-error svelte-9ix8dg"> </p>'),Ds=c('<div class="form-fields svelte-9ix8dg"><div class="field"><label class="field-label" for="suite-name"></label> <input id="suite-name" type="text" class="field-input"></div> <div class="field"><label class="field-label" for="suite-desc"></label> <textarea id="suite-desc" class="field-input field-textarea svelte-9ix8dg" rows="3"></textarea></div> <div class="field"><label class="field-label" for="suite-prio"></label> <select id="suite-prio" class="field-input"></select></div> <!> <div class="modal-actions svelte-9ix8dg"><!> <!></div></div>'),Ms=c('<p class="form-error svelte-9ix8dg"> </p>'),Bs=c('<div class="form-fields svelte-9ix8dg"><div class="field"><label class="field-label" for="run-title"></label> <input id="run-title" type="text" class="field-input"></div> <!> <div class="modal-actions svelte-9ix8dg"><!> <!></div></div>'),Os=c('<button class="search-clear svelte-9ix8dg"><svg width="12" height="12" viewBox="0 0 14 14" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"><path d="M1 1l12 12M13 1L1 13"></path></svg></button>'),Ns=c('<span class="sort-dir svelte-9ix8dg"> </span>'),Ps=c('<button class="sort-chip svelte-9ix8dg"> <!></button>'),Us=c('<span class="sort-dir svelte-9ix8dg"> </span>'),Hs=c('<button class="sort-chip svelte-9ix8dg"> <!></button>'),Vs=c('<div class="sort-bar svelte-9ix8dg"><span class="sort-label svelte-9ix8dg"></span> <!></div>'),Fs=c('<div class="loading-row svelte-9ix8dg"></div>'),js=c('<div class="loading-row svelte-9ix8dg"></div>'),Gs=c('<span class="auto-badge svelte-9ix8dg"></span>'),Ys=c('<a class="case-result-row svelte-9ix8dg"><span class="id-chip small svelte-9ix8dg"> </span> <span class="case-result-title svelte-9ix8dg"> </span> <!> <span> </span> <span class="case-result-suite svelte-9ix8dg"> </span></a>'),Ws=c('<div class="search-section svelte-9ix8dg"><h2 class="search-section-title svelte-9ix8dg"> <span class="tab-count svelte-9ix8dg"> </span></h2> <div class="case-results svelte-9ix8dg"></div></div>'),qs=c('<p class="suite-desc svelte-9ix8dg"> </p>'),Js=c('<div class="suite-card svelte-9ix8dg"><a class="card-link svelte-9ix8dg"></a> <div class="suite-card-header svelte-9ix8dg"><span class="id-chip svelte-9ix8dg"> </span> <span> </span> <div class="suite-card-actions svelte-9ix8dg"><button class="icon-btn danger svelte-9ix8dg"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="3 6 5 6 21 6"></polyline><path d="M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6"></path><path d="M10 11v6M14 11v6"></path><path d="M9 6V4h6v2"></path></svg></button></div></div> <h3 class="suite-name svelte-9ix8dg"> </h3> <!> <div class="suite-meta svelte-9ix8dg"><span class="meta-item svelte-9ix8dg"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2M9 5a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2M9 5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2"></path></svg> </span> <span class="meta-item svelte-9ix8dg"> </span></div></div>'),Qs=c('<div class="search-section svelte-9ix8dg"><h2 class="search-section-title svelte-9ix8dg"> <span class="tab-count svelte-9ix8dg"> </span></h2> <div class="suite-grid svelte-9ix8dg"></div></div>'),zs=c('<div class="run-row svelte-9ix8dg"><a class="card-link svelte-9ix8dg"></a> <div class="run-row-main svelte-9ix8dg"><span></span> <span class="run-title svelte-9ix8dg"> </span> <span class="run-count svelte-9ix8dg"> </span></div> <div class="run-meta svelte-9ix8dg"><span class="run-status-label svelte-9ix8dg"> </span> <span class="meta-sep svelte-9ix8dg">·</span> <span> </span> <span class="meta-sep svelte-9ix8dg">·</span> <span> </span></div> <div class="run-row-actions svelte-9ix8dg"><button class="icon-btn svelte-9ix8dg"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="9" y="9" width="13" height="13" rx="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></svg></button> <button class="icon-btn danger svelte-9ix8dg"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="3 6 5 6 21 6"></polyline><path d="M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6"></path><path d="M10 11v6M14 11v6"></path><path d="M9 6V4h6v2"></path></svg></button></div></div>'),Ks=c('<div class="search-section svelte-9ix8dg"><h2 class="search-section-title svelte-9ix8dg">Runs <span class="tab-count svelte-9ix8dg"> </span></h2> <div class="runs-list svelte-9ix8dg"></div></div>'),Xs=c("<!> <!> <!>",1),Zs=c("<div><!></div>"),er=c('<div class="loading-row svelte-9ix8dg"></div>'),tr=c('<p class="suite-desc svelte-9ix8dg"> </p>'),ar=c('<div class="suite-card svelte-9ix8dg"><a class="card-link svelte-9ix8dg"></a> <div class="suite-card-header svelte-9ix8dg"><span class="id-chip svelte-9ix8dg"> </span> <span> </span> <div class="suite-card-actions svelte-9ix8dg"><button class="icon-btn danger svelte-9ix8dg"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="3 6 5 6 21 6"></polyline><path d="M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6"></path><path d="M10 11v6M14 11v6"></path><path d="M9 6V4h6v2"></path></svg></button></div></div> <h3 class="suite-name svelte-9ix8dg"> </h3> <!> <div class="suite-meta svelte-9ix8dg"><span class="meta-item svelte-9ix8dg"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2M9 5a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2M9 5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2"></path></svg> </span> <span class="meta-item svelte-9ix8dg"> </span></div></div>'),sr=c('<div class="pagination-row svelte-9ix8dg"><!></div>'),rr=c('<div class="suite-grid svelte-9ix8dg"></div> <!>',1),ir=c("<div><!></div>"),lr=c('<div class="loading-row svelte-9ix8dg"></div>'),nr=c('<div class="run-row svelte-9ix8dg"><a class="card-link svelte-9ix8dg"></a> <div class="run-row-main svelte-9ix8dg"><span></span> <span class="run-title svelte-9ix8dg"> </span> <span class="run-count svelte-9ix8dg"> </span></div> <div class="run-meta svelte-9ix8dg"><span class="run-status-label svelte-9ix8dg"> </span> <span class="meta-sep svelte-9ix8dg">·</span> <span> </span> <span class="meta-sep svelte-9ix8dg">·</span> <span> </span></div> <div class="run-row-actions svelte-9ix8dg"><button class="icon-btn svelte-9ix8dg"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="9" y="9" width="13" height="13" rx="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></svg></button> <button class="icon-btn danger svelte-9ix8dg"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="3 6 5 6 21 6"></polyline><path d="M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6"></path><path d="M10 11v6M14 11v6"></path><path d="M9 6V4h6v2"></path></svg></button></div></div>'),or=c('<div class="pagination-row svelte-9ix8dg"><!></div>'),vr=c('<div class="runs-list svelte-9ix8dg"></div> <!>',1),dr=c("<div><!></div>"),cr=c('<!> <!> <!> <!> <!> <div class="page-header svelte-9ix8dg"><div class="header-text svelte-9ix8dg"><h1 class="svelte-9ix8dg"></h1> <p class="header-desc svelte-9ix8dg"></p></div> <div class="header-actions svelte-9ix8dg"><!></div></div> <div class="tabs svelte-9ix8dg"><button class="tab svelte-9ix8dg"> <span class="tab-count svelte-9ix8dg"> </span></button> <button class="tab svelte-9ix8dg"> <span class="tab-count svelte-9ix8dg"> </span></button></div> <div class="search-bar svelte-9ix8dg"><svg class="search-icon svelte-9ix8dg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg> <input type="search" class="search-input svelte-9ix8dg"> <!></div> <!> <!>',1);function wr(Kt,Xt){Ta(Xt,!1);const _e=f(),Be=f(),Te=f(),$e=f();let Ae=f(typeof sessionStorage<"u"&&sessionStorage.getItem("plum:repo:tab")||"suites");function ft(t){i(Ae,t);try{sessionStorage.setItem("plum:repo:tab",t)}catch{}}function mt(t,n){try{const v=sessionStorage.getItem(t);if(v)return JSON.parse(v)}catch{}return n}function Et(t,n){try{sessionStorage.setItem(t,JSON.stringify(n))}catch{}}let fe=f([]),ue=f(0),yt=f(1),K=f(mt("plum:repo:suites:sort",{by:"createdAt",order:"desc"})),de=f([]),pe=f(0),bt=f(1),re=f(mt("plum:repo:runs:sort",{by:"createdAt",order:"desc"}));const Lt={Critical:0,High:1,Medium:2,Low:3};function Zt(t,n){return[...t].sort((v,L)=>{const D=(Lt[v.priority]??4)-(Lt[L.priority]??4);return n==="asc"?D:-D})}let at=f(!0),st=f(null),ie=f(null),Ge=f(!1),rt=f(null),Oe=f(!1),X=f({name:"",description:"",priority:"Medium"}),Ye=f(!1),we=f(""),Ne=f(!1),Se=f({title:""}),We=f(!1),Ie=f(""),q=f(null),ge=f(!1),Ce=f(null),qe=f(!1),me=f("");const ea=["Critical","High","Medium","Low"];function he(t,n){i(st,{type:t,message:n}),setTimeout(()=>i(st,null),Ca)}async function it(t=1){const n=e(K).by==="priority",v=await Ba({page:t,sortBy:n?"createdAt":e(K).by,sortOrder:e(K).order});i(fe,n?Zt(v.suites,e(K).order):v.suites),i(ue,v.total),i(yt,t)}async function lt(t=1){const n=await Oa({page:t,sortBy:e(re).by,sortOrder:e(re).order});i(de,n.runs),i(pe,n.total),i(bt,t)}async function ta(t){e(K).by===t?De(K,e(K).order=e(K).order==="asc"?"desc":"asc"):i(K,{by:t,order:t==="createdAt"?"desc":"asc"}),Et("plum:repo:suites:sort",e(K)),await it(1)}async function aa(t){e(re).by===t?De(re,e(re).order=e(re).order==="asc"?"desc":"asc"):i(re,{by:t,order:t==="createdAt"||t==="updatedAt"?"desc":"asc"}),Et("plum:repo:runs:sort",e(re)),await lt(1)}$a(async()=>{try{await Promise.all([it(1),lt(1)])}catch{he("error",Wa)}finally{i(at,!1)}});async function sa(){if(!e(X).name.trim()){i(we,gs);return}i(we,""),i(Ye,!0);try{const t=await Ha(e(X));i(fe,[...e(fe),t]),i(ue,e(ue)+1),i(Oe,!1),i(X,{name:"",description:"",priority:"Medium"}),he("success",hs(t.name))}catch(t){i(we,t.message)}finally{i(Ye,!1)}}async function ra(t,n){try{await Na(t),i(fe,e(fe).filter(v=>v.id!==t)),i(ue,e(ue)-1),he("success",os(n))}catch{he("error",vs)}i(q,null),i(ge,!1)}async function ia(){if(!e(Se).title.trim()){i(Ie,xs);return}i(Ie,""),i(We,!0);try{const t=await Va({title:e(Se).title,caseIds:[]});i(de,[t,...e(de)]),i(Ne,!1),i(Se,{title:""}),window.location.href=`/test-repository/runs/${t.id}`}catch(t){i(Ie,t.message)}finally{i(We,!1)}}async function Tt(t){i(Ce,t),i(qe,!0)}async function la(){if(!e(Ce))return;const t=e(Ce);i(Ce,null),i(qe,!1);try{const n=await Ua(t.id);i(de,[n,...e(de)]),i(pe,e(pe)+1),jt.update(v=>v+1),he("success",us(n.title))}catch{he("error",ps)}}async function na(t,n){try{await Pa(t),i(de,e(de).filter(v=>v.id!==t)),i(pe,e(pe)-1),jt.update(v=>v+1),he("success",ds(n))}catch{he("error",cs)}i(q,null),i(ge,!1)}function nt(t){return(t==null?void 0:t.toLowerCase())??"medium"}function $t(t){return t==="complete"?"pass":t==="in-progress"?"warn":"muted"}Fe(()=>e(me),()=>{i(_e,e(me).trim())}),Fe(()=>(e(rt),e(_e),Ft),()=>{clearTimeout(e(rt)),e(_e)?(i(Ge,!0),i(ie,null),i(rt,setTimeout(async()=>{try{i(ie,await Ft(e(_e)))}catch{i(ie,{suites:[],cases:[],runs:[]})}finally{i(Ge,!1)}},300))):(i(ie,null),i(Ge,!1))}),Fe(()=>e(ie),()=>{var t;i(Be,((t=e(ie))==null?void 0:t.cases)??[])}),Fe(()=>e(ie),()=>{var t;i(Te,((t=e(ie))==null?void 0:t.suites)??[])}),Fe(()=>e(ie),()=>{var t;i($e,((t=e(ie))==null?void 0:t.runs)??[])}),Aa(),La();var At=cr();ya(t=>{Sa.title=qa});var wt=W(At);Da(wt,{get toast(){return e(st)}});var St=r(wt,2);const oa=ve(()=>{var t;return _s((t=e(q))==null?void 0:t.type)});Yt(St,{get title(){return e(oa)},get open(){return e(ge)},set open(t){i(ge,t)},$$events:{confirm:()=>{var t;return((t=e(q))==null?void 0:t.type)==="suite"?ra(e(q).id,e(q).name):na(e(q).id,e(q).name)}},children:(t,n)=>{var v=ce(),L=W(v);{var D=x=>{var u=Is(),I=r(W(u)),C=s(I);a(I),Le(),S(()=>o(C,`"${e(q).name??""}"`)),l(x,u)};y(L,x=>{e(q)&&x(D)})}l(t,v)},$$slots:{default:!0},$$legacy:!0});var It=r(St,2);Yt(It,{title:Ja,confirmLabel:qt,get open(){return e(qe)},set open(t){i(qe,t)},$$events:{confirm:la},children:(t,n)=>{var v=ce(),L=W(v);{var D=x=>{var u=Cs(),I=W(u);I.nodeValue=`${qt} `;var C=r(I),M=s(C);a(C);var g=r(C,1,!0);g.nodeValue=Qa,S(()=>o(M,`"${e(Ce).title??""}"`)),l(x,u)};y(L,x=>{e(Ce)&&x(D)})}l(t,v)},$$slots:{default:!0},$$legacy:!0});var Ct=r(It,2);Wt(Ct,{title:za,get open(){return e(Oe)},set open(t){i(Oe,t)},children:(t,n)=>{var v=Ds(),L=s(v),D=s(L);D.textContent=Ka;var x=r(D,2);ht(x),R(x,"placeholder",Xa),a(L);var u=r(L,2),I=s(u);I.textContent=Za;var C=r(I,2);ba(C),R(C,"placeholder",es),a(u);var M=r(u,2),g=s(M);g.textContent=ts;var d=r(g,2);S(()=>{e(X),Ia(()=>{})}),xe(d,5,()=>ea,ut,(p,T)=>{var $=ks(),k={},_=s($,!0);a($),S(()=>{k!==(k=e(T))&&($.value=($.__value=e(T))==null?"":e(T)),o(_,e(T))}),l(p,$)}),a(d),a(M);var B=r(M,2);{var m=p=>{var T=Rs(),$=s(T,!0);a(T),S(()=>o($,e(we))),l(p,T)};y(B,p=>{e(we)&&p(m)})}var U=r(B,2),E=s(U);Me(E,{get disabled(){return e(Ye)},$$events:{click:sa},children:(p,T)=>{Le();var $=Re();S(k=>o($,k),[()=>as(e(Ye))],ve),l(p,$)},$$slots:{default:!0}});var H=r(E,2);Me(H,{variant:"ghost",$$events:{click:()=>{i(Oe,!1),i(we,"")}},children:(p,T)=>{Le();var $=Re();$.nodeValue=Ut,l(p,$)},$$slots:{default:!0}}),a(U),a(v),Ze(x,()=>e(X).name,p=>De(X,e(X).name=p)),Ze(C,()=>e(X).description,p=>De(X,e(X).description=p)),Ma(d,()=>e(X).priority,p=>De(X,e(X).priority=p)),l(t,v)},$$slots:{default:!0},$$legacy:!0});var kt=r(Ct,2);Wt(kt,{title:ss,get open(){return e(Ne)},set open(t){i(Ne,t)},children:(t,n)=>{var v=Bs(),L=s(v),D=s(L);D.textContent=rs;var x=r(D,2);ht(x),R(x,"placeholder",is),a(L);var u=r(L,2);{var I=d=>{var B=Ms(),m=s(B,!0);a(B),S(()=>o(m,e(Ie))),l(d,B)};y(u,d=>{e(Ie)&&d(I)})}var C=r(u,2),M=s(C);Me(M,{get disabled(){return e(We)},$$events:{click:ia},children:(d,B)=>{Le();var m=Re();S(U=>o(m,U),[()=>ls(e(We))],ve),l(d,m)},$$slots:{default:!0}});var g=r(M,2);Me(g,{variant:"ghost",$$events:{click:()=>{i(Ne,!1),i(Ie,"")}},children:(d,B)=>{Le();var m=Re();m.nodeValue=Ut,l(d,m)},$$slots:{default:!0}}),a(C),a(v),Ze(x,()=>e(Se).title,d=>De(Se,e(Se).title=d)),l(t,v)},$$slots:{default:!0},$$legacy:!0});var ot=r(kt,2),vt=s(ot),Rt=s(vt);Rt.textContent=Fa;var va=r(Rt,2);va.textContent=ja,a(vt);var Dt=r(vt,2),da=s(Dt);{var ca=t=>{Me(t,{$$events:{click:()=>i(Oe,!0)},children:(n,v)=>{Le();var L=Re();L.nodeValue=fs,l(n,L)},$$slots:{default:!0}})},_a=t=>{Me(t,{$$events:{click:()=>i(Ne,!0)},children:(n,v)=>{Le();var L=Re();L.nodeValue=ms,l(n,L)},$$slots:{default:!0}})};y(da,t=>{e(Ae)==="suites"?t(ca):t(_a,!1)})}a(Dt),a(ot);var dt=r(ot,2),Pe=s(dt),Mt=s(Pe);Mt.nodeValue=`${Ga} `;var Bt=r(Mt),ua=s(Bt);a(Bt),a(Pe);var Je=r(Pe,2),Ot=s(Je);Ot.nodeValue=`${Ya} `;var Nt=r(Ot),pa=s(Nt);a(Nt),a(Je),a(dt);var ct=r(dt,2),Qe=r(s(ct),2);ht(Qe),R(Qe,"placeholder",ns);var ga=r(Qe,2);{var ha=t=>{var n=Os();R(n,"aria-label",ka),oe("click",n,()=>i(me,"")),l(t,n)};y(ga,t=>{e(me)&&t(ha)})}a(ct);var Pt=r(ct,2);{var xa=t=>{var n=Vs(),v=s(n);v.textContent=Ra;var L=r(v,2);{var D=u=>{var I=ce(),C=W(I);xe(C,0,()=>[["createdAt","Date Created"],["displayId","ID"],["name","Name"],["priority","Priority"]],ut,(M,g)=>{let d=()=>g[0],B=()=>g[1];var m=Ps(),U=s(m),E=r(U);{var H=p=>{var T=Ns(),$=s(T,!0);a(T),S(()=>o($,e(K).order==="asc"?"↑":"↓")),l(p,T)};y(E,p=>{e(K).by===d()&&p(H)})}a(m),S(()=>{Ke(m,"active",e(K).by===d()),o(U,`${B()??""} `)}),oe("click",m,()=>ta(d())),l(M,m)}),l(u,I)},x=u=>{var I=ce(),C=W(I);xe(C,0,()=>[["createdAt","Date Created"],["updatedAt","Last Updated"],["title","Name"]],ut,(M,g)=>{let d=()=>g[0],B=()=>g[1];var m=Hs(),U=s(m),E=r(U);{var H=p=>{var T=Us(),$=s(T,!0);a(T),S(()=>o($,e(re).order==="asc"?"↑":"↓")),l(p,T)};y(E,p=>{e(re).by===d()&&p(H)})}a(m),S(()=>{Ke(m,"active",e(re).by===d()),o(U,`${B()??""} `)}),oe("click",m,()=>aa(d())),l(M,m)}),l(u,I)};y(L,u=>{e(Ae)==="suites"?u(D):u(x,!1)})}a(n),l(t,n)};y(Pt,t=>{e(_e)||t(xa)})}var fa=r(Pt,2);{var ma=t=>{var n=Zs(),v=s(n);{var L=x=>{var u=Fs();u.textContent=Ht,l(x,u)},D=x=>{var u=ce(),I=W(u);{var C=g=>{var d=js();d.textContent=Ht,l(g,d)},M=g=>{var d=ce(),B=W(d);{var m=E=>{const H=ve(()=>$s(e(me)));xt(E,{title:Es,get description(){return e(H)}})},U=E=>{var H=Xs(),p=W(H);{var T=A=>{var w=Ws(),O=s(w),J=s(O);J.nodeValue=`${As} `;var Q=r(J),le=s(Q,!0);a(Q),a(O);var z=r(O,2);xe(z,5,()=>e(Be),b=>b.id,(b,h)=>{var V=Ys(),N=s(V),te=s(N,!0);a(N);var P=r(N,2),ne=s(P,!0);a(P);var Y=r(P,2);{var ae=se=>{var Ee=Gs();Ee.textContent=ws,l(se,Ee)};y(Y,se=>{e(h).isAutomated&&se(ae)})}var F=r(Y,2),j=s(F,!0);a(F);var G=r(F,2),ee=s(G);a(G),a(V),S(se=>{R(V,"href",`/test-repository/suites/${e(h).suite.id??""}`),o(te,e(h).displayId),o(ne,e(h).title),je(F,`priority-badge small ${se??""} svelte-9ix8dg`),o(j,e(h).priority),o(ee,`${e(h).suite.displayId??""} · ${e(h).suite.name??""}`)},[()=>nt(e(h).priority)],ve),l(b,V)}),a(z),a(w),S(()=>o(le,e(Be).length)),l(A,w)};y(p,A=>{e(Be).length>0&&A(T)})}var $=r(p,2);{var k=A=>{var w=Qs(),O=s(w),J=s(O);J.nodeValue=`${Ss} `;var Q=r(J),le=s(Q,!0);a(Q),a(O);var z=r(O,2);xe(z,5,()=>e(Te),b=>b.id,(b,h)=>{var V=Js(),N=s(V),te=r(N,2),P=s(te),ne=s(P,!0);a(P);var Y=r(P,2),ae=s(Y,!0);a(Y);var F=r(Y,2),j=s(F);R(j,"title",Jt),a(F),a(te);var G=r(te,2),ee=s(G,!0);a(G);var se=r(G,2);{var Ee=ye=>{var be=qs(),Ve=s(be,!0);a(be),S(()=>o(Ve,e(h).description)),l(ye,be)};y(se,ye=>{e(h).description&&ye(Ee)})}var ze=r(se,2),ke=s(ze),Ue=r(s(ke));a(ke);var He=r(ke,2),_t=s(He,!0);a(He),a(ze),a(V),S((ye,be,Ve)=>{R(N,"href",`/test-repository/suites/${e(h).id??""}`),R(N,"aria-label",e(h).name),o(ne,e(h).displayId),je(Y,`priority-badge ${ye??""} svelte-9ix8dg`),o(ae,e(h).priority),o(ee,e(h).name),o(Ue,` ${be??""}`),o(_t,Ve)},[()=>nt(e(h).priority),()=>et(e(h)._count.cases),()=>tt(e(h).createdBy.name)],ve),oe("click",j,()=>{i(q,{type:"suite",id:e(h).id,name:e(h).name}),i(ge,!0)}),l(b,V)}),a(z),a(w),S(()=>o(le,e(Te).length)),l(A,w)};y($,A=>{e(Te).length>0&&A(k)})}var _=r($,2);{var Z=A=>{var w=Ks(),O=s(w),J=r(s(O)),Q=s(J,!0);a(J),a(O);var le=r(O,2);xe(le,5,()=>e($e),z=>z.id,(z,b)=>{var h=zs(),V=s(h),N=r(V,2),te=s(N),P=r(te,2),ne=s(P,!0);a(P);var Y=r(P,2),ae=s(Y,!0);a(Y),a(N);var F=r(N,2),j=s(F),G=s(j,!0);a(j);var ee=r(j,4),se=s(ee,!0);a(ee);var Ee=r(ee,4),ze=s(Ee,!0);a(Ee),a(F);var ke=r(F,2),Ue=s(ke);R(Ue,"title",Qt);var He=r(Ue,2);R(He,"title",zt),a(ke),a(h),S((_t,ye,be,Ve)=>{R(V,"href",`/test-repository/runs/${e(b).id??""}`),R(V,"aria-label",e(b).title),je(te,`run-status-dot ${_t??""} svelte-9ix8dg`),o(ne,e(b).title),o(ae,ye),o(G,e(b).status),o(se,be),o(ze,Ve)},[()=>$t(e(b).status),()=>et(e(b)._count.entries),()=>tt(e(b).createdBy.name),()=>new Date(e(b).createdAt).toLocaleDateString()],ve),oe("click",Ue,()=>Tt(e(b))),oe("click",He,()=>{i(q,{type:"run",id:e(b).id,name:e(b).title}),i(ge,!0)}),l(z,h)}),a(le),a(w),S(()=>o(Q,e($e).length)),l(A,w)};y(_,A=>{e($e).length>0&&A(Z)})}l(E,H)};y(B,E=>{e(Be).length===0&&e(Te).length===0&&e($e).length===0?E(m):E(U,!1)},!0)}l(g,d)};y(I,g=>{e(ie)?g(M,!1):g(C)},!0)}l(x,u)};y(v,x=>{e(Ge)?x(L):x(D,!1)})}a(n),pt(3,n,()=>gt,()=>({y:4,duration:160})),l(t,n)},Ea=t=>{var n=ce(),v=W(n);{var L=x=>{var u=ir(),I=s(u);{var C=g=>{var d=er();d.textContent=Vt,l(g,d)},M=g=>{var d=ce(),B=W(d);{var m=E=>{xt(E,{title:bs,description:ys})},U=E=>{var H=rr(),p=W(H);xe(p,5,()=>e(fe),k=>k.id,(k,_)=>{var Z=ar(),A=s(Z),w=r(A,2),O=s(w),J=s(O,!0);a(O);var Q=r(O,2),le=s(Q,!0);a(Q);var z=r(Q,2),b=s(z);R(b,"title",Jt),a(z),a(w);var h=r(w,2),V=s(h,!0);a(h);var N=r(h,2);{var te=j=>{var G=tr(),ee=s(G,!0);a(G),S(()=>o(ee,e(_).description)),l(j,G)};y(N,j=>{e(_).description&&j(te)})}var P=r(N,2),ne=s(P),Y=r(s(ne));a(ne);var ae=r(ne,2),F=s(ae,!0);a(ae),a(P),a(Z),S((j,G,ee)=>{R(A,"href",`/test-repository/suites/${e(_).id??""}`),R(A,"aria-label",e(_).name),o(J,e(_).displayId),je(Q,`priority-badge ${j??""} svelte-9ix8dg`),o(le,e(_).priority),o(V,e(_).name),o(Y,` ${G??""}`),o(F,ee)},[()=>nt(e(_).priority),()=>et(e(_)._count.cases),()=>tt(e(_).createdBy.name)],ve),oe("click",b,()=>{i(q,{type:"suite",id:e(_).id,name:e(_).name}),i(ge,!0)}),l(k,Z)}),a(p);var T=r(p,2);{var $=k=>{var _=sr(),Z=s(_);const A=ve(()=>Math.ceil(e(ue)/Xe));Gt(Z,{get current(){return e(yt)},get total(){return e(A)},$$events:{change:w=>it(w.detail)}}),a(_),l(k,_)};y(T,k=>{Math.ceil(e(ue)/Xe)>1&&k($)})}l(E,H)};y(B,E=>{e(fe).length===0?E(m):E(U,!1)},!0)}l(g,d)};y(I,g=>{e(at)?g(C):g(M,!1)})}a(u),pt(3,u,()=>gt,()=>({y:4,duration:160})),l(x,u)},D=x=>{var u=dr(),I=s(u);{var C=g=>{var d=lr();d.textContent=Vt,l(g,d)},M=g=>{var d=ce(),B=W(d);{var m=E=>{xt(E,{title:Ts,description:Ls})},U=E=>{var H=vr(),p=W(H);xe(p,5,()=>e(de),k=>k.id,(k,_)=>{var Z=nr(),A=s(Z),w=r(A,2),O=s(w),J=r(O,2),Q=s(J,!0);a(J);var le=r(J,2),z=s(le,!0);a(le),a(w);var b=r(w,2),h=s(b),V=s(h,!0);a(h);var N=r(h,4),te=s(N,!0);a(N);var P=r(N,4),ne=s(P,!0);a(P),a(b);var Y=r(b,2),ae=s(Y);R(ae,"title",Qt);var F=r(ae,2);R(F,"title",zt),a(Y),a(Z),S((j,G,ee,se)=>{R(A,"href",`/test-repository/runs/${e(_).id??""}`),R(A,"aria-label",e(_).title),je(O,`run-status-dot ${j??""} svelte-9ix8dg`),o(Q,e(_).title),o(z,G),o(V,e(_).status),o(te,ee),o(ne,se)},[()=>$t(e(_).status),()=>et(e(_)._count.entries),()=>tt(e(_).createdBy.name),()=>new Date(e(_).createdAt).toLocaleDateString()],ve),oe("click",ae,()=>Tt(e(_))),oe("click",F,()=>{i(q,{type:"run",id:e(_).id,name:e(_).title}),i(ge,!0)}),l(k,Z)}),a(p);var T=r(p,2);{var $=k=>{var _=or(),Z=s(_);const A=ve(()=>Math.ceil(e(pe)/Xe));Gt(Z,{get current(){return e(bt)},get total(){return e(A)},$$events:{change:w=>lt(w.detail)}}),a(_),l(k,_)};y(T,k=>{Math.ceil(e(pe)/Xe)>1&&k($)})}l(E,H)};y(B,E=>{e(de).length===0?E(m):E(U,!1)},!0)}l(g,d)};y(I,g=>{e(at)?g(C):g(M,!1)})}a(u),pt(3,u,()=>gt,()=>({y:4,duration:160})),l(x,u)};y(v,x=>{e(Ae)==="suites"?x(L):x(D,!1)},!0)}l(t,n)};y(fa,t=>{e(_e)?t(ma):t(Ea,!1)})}S(()=>{Ke(Pe,"active",e(Ae)==="suites"),o(ua,`${(e(_e)?e(Te).length+"/":"")??""}${e(ue)??""}`),Ke(Je,"active",e(Ae)==="runs"),o(pa,`${(e(_e)?e($e).length+"/":"")??""}${e(pe)??""}`)}),oe("click",Pe,()=>ft("suites")),oe("click",Je,()=>ft("runs")),Ze(Qe,()=>e(me),t=>i(me,t)),l(Kt,At),wa()}export{wr as component};
|
|
6
|
+
import{h as ya,e as oe,a as l,t as c,c as ce,s as o,r as ba,b as Re}from"../chunks/CfkUW1vA.js";import{i as La}from"../chunks/C00jnSU2.js";import{p as Ta,m as f,o as $a,s as i,l as Fe,b as Aa,f as W,t as S,g as e,c as wa,d as s,j as r,$ as Sa,k as a,n as Le,v as Ia,x as ve,y as De}from"../chunks/CeH-RgMb.js";import{i as y}from"../chunks/CegSvdD-.js";import{e as xe,i as ut,t as Ke,a as pt,f as gt,s as je}from"../chunks/Beula-TH.js";import{s as R,b as Ca,r as ht,C as Ut,c as ka,S as Ra,d as Ht,L as Vt,a as Xe}from"../chunks/DuAVKaL3.js";import{b as Ze}from"../chunks/BAvTKHxT.js";import{T as Da,B as Me,b as Ma}from"../chunks/CZWchtW8.js";import{f as Ba,a as Oa,s as Ft,d as Na,b as Pa,c as Ua,e as Ha,g as Va}from"../chunks/Dl-F6VCo.js";import{r as jt}from"../chunks/BJ_ypKl3.js";import{P as Gt}from"../chunks/DWzEJYIF.js";import{E as xt}from"../chunks/Cfmt4_tJ.js";import{C as Yt}from"../chunks/DAmOMhaf.js";import{M as Wt}from"../chunks/DgQy0SB2.js";import{H as Fa,a as ja,S as Ga,R as Ya,F as Wa,P as qa,D as qt,b as Ja,c as Qa,N as za,d as Ka,e as Xa,f as Za,g as es,h as ts,i as as,j as ss,T as rs,k as is,l as ls,m as ns,s as os,n as vs,r as ds,o as cs,p as _s,q as us,t as ps,u as gs,v as hs,w as xs,x as fs,y as ms,z as Es,A as ys,B as bs,C as Jt,E as et,G as tt,I as Ls,J as Ts,K as Qt,L as zt,M as $s,O as As,Q as ws,U as Ss}from"../chunks/2-KCkWZO.js";var Is=c("Delete <strong> </strong>? This cannot be undone.",1),Cs=c(" <strong> </strong> ",1),ks=c("<option> </option>"),Rs=c('<p class="form-error svelte-9ix8dg"> </p>'),Ds=c('<div class="form-fields svelte-9ix8dg"><div class="field"><label class="field-label" for="suite-name"></label> <input id="suite-name" type="text" class="field-input"></div> <div class="field"><label class="field-label" for="suite-desc"></label> <textarea id="suite-desc" class="field-input field-textarea svelte-9ix8dg" rows="3"></textarea></div> <div class="field"><label class="field-label" for="suite-prio"></label> <select id="suite-prio" class="field-input"></select></div> <!> <div class="modal-actions svelte-9ix8dg"><!> <!></div></div>'),Ms=c('<p class="form-error svelte-9ix8dg"> </p>'),Bs=c('<div class="form-fields svelte-9ix8dg"><div class="field"><label class="field-label" for="run-title"></label> <input id="run-title" type="text" class="field-input"></div> <!> <div class="modal-actions svelte-9ix8dg"><!> <!></div></div>'),Os=c('<button class="search-clear svelte-9ix8dg"><svg width="12" height="12" viewBox="0 0 14 14" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"><path d="M1 1l12 12M13 1L1 13"></path></svg></button>'),Ns=c('<span class="sort-dir svelte-9ix8dg"> </span>'),Ps=c('<button class="sort-chip svelte-9ix8dg"> <!></button>'),Us=c('<span class="sort-dir svelte-9ix8dg"> </span>'),Hs=c('<button class="sort-chip svelte-9ix8dg"> <!></button>'),Vs=c('<div class="sort-bar svelte-9ix8dg"><span class="sort-label svelte-9ix8dg"></span> <!></div>'),Fs=c('<div class="loading-row svelte-9ix8dg"></div>'),js=c('<div class="loading-row svelte-9ix8dg"></div>'),Gs=c('<span class="auto-badge svelte-9ix8dg"></span>'),Ys=c('<a class="case-result-row svelte-9ix8dg"><span class="id-chip small svelte-9ix8dg"> </span> <span class="case-result-title svelte-9ix8dg"> </span> <!> <span> </span> <span class="case-result-suite svelte-9ix8dg"> </span></a>'),Ws=c('<div class="search-section svelte-9ix8dg"><h2 class="search-section-title svelte-9ix8dg"> <span class="tab-count svelte-9ix8dg"> </span></h2> <div class="case-results svelte-9ix8dg"></div></div>'),qs=c('<p class="suite-desc svelte-9ix8dg"> </p>'),Js=c('<div class="suite-card svelte-9ix8dg"><a class="card-link svelte-9ix8dg"></a> <div class="suite-card-header svelte-9ix8dg"><span class="id-chip svelte-9ix8dg"> </span> <span> </span> <div class="suite-card-actions svelte-9ix8dg"><button class="icon-btn danger svelte-9ix8dg"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="3 6 5 6 21 6"></polyline><path d="M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6"></path><path d="M10 11v6M14 11v6"></path><path d="M9 6V4h6v2"></path></svg></button></div></div> <h3 class="suite-name svelte-9ix8dg"> </h3> <!> <div class="suite-meta svelte-9ix8dg"><span class="meta-item svelte-9ix8dg"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2M9 5a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2M9 5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2"></path></svg> </span> <span class="meta-item svelte-9ix8dg"> </span></div></div>'),Qs=c('<div class="search-section svelte-9ix8dg"><h2 class="search-section-title svelte-9ix8dg"> <span class="tab-count svelte-9ix8dg"> </span></h2> <div class="suite-grid svelte-9ix8dg"></div></div>'),zs=c('<div class="run-row svelte-9ix8dg"><a class="card-link svelte-9ix8dg"></a> <div class="run-row-main svelte-9ix8dg"><span></span> <span class="run-title svelte-9ix8dg"> </span> <span class="run-count svelte-9ix8dg"> </span></div> <div class="run-meta svelte-9ix8dg"><span class="run-status-label svelte-9ix8dg"> </span> <span class="meta-sep svelte-9ix8dg">·</span> <span> </span> <span class="meta-sep svelte-9ix8dg">·</span> <span> </span></div> <div class="run-row-actions svelte-9ix8dg"><button class="icon-btn svelte-9ix8dg"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="9" y="9" width="13" height="13" rx="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></svg></button> <button class="icon-btn danger svelte-9ix8dg"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="3 6 5 6 21 6"></polyline><path d="M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6"></path><path d="M10 11v6M14 11v6"></path><path d="M9 6V4h6v2"></path></svg></button></div></div>'),Ks=c('<div class="search-section svelte-9ix8dg"><h2 class="search-section-title svelte-9ix8dg">Runs <span class="tab-count svelte-9ix8dg"> </span></h2> <div class="runs-list svelte-9ix8dg"></div></div>'),Xs=c("<!> <!> <!>",1),Zs=c("<div><!></div>"),er=c('<div class="loading-row svelte-9ix8dg"></div>'),tr=c('<p class="suite-desc svelte-9ix8dg"> </p>'),ar=c('<div class="suite-card svelte-9ix8dg"><a class="card-link svelte-9ix8dg"></a> <div class="suite-card-header svelte-9ix8dg"><span class="id-chip svelte-9ix8dg"> </span> <span> </span> <div class="suite-card-actions svelte-9ix8dg"><button class="icon-btn danger svelte-9ix8dg"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="3 6 5 6 21 6"></polyline><path d="M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6"></path><path d="M10 11v6M14 11v6"></path><path d="M9 6V4h6v2"></path></svg></button></div></div> <h3 class="suite-name svelte-9ix8dg"> </h3> <!> <div class="suite-meta svelte-9ix8dg"><span class="meta-item svelte-9ix8dg"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2M9 5a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2M9 5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2"></path></svg> </span> <span class="meta-item svelte-9ix8dg"> </span></div></div>'),sr=c('<div class="pagination-row svelte-9ix8dg"><!></div>'),rr=c('<div class="suite-grid svelte-9ix8dg"></div> <!>',1),ir=c("<div><!></div>"),lr=c('<div class="loading-row svelte-9ix8dg"></div>'),nr=c('<div class="run-row svelte-9ix8dg"><a class="card-link svelte-9ix8dg"></a> <div class="run-row-main svelte-9ix8dg"><span></span> <span class="run-title svelte-9ix8dg"> </span> <span class="run-count svelte-9ix8dg"> </span></div> <div class="run-meta svelte-9ix8dg"><span class="run-status-label svelte-9ix8dg"> </span> <span class="meta-sep svelte-9ix8dg">·</span> <span> </span> <span class="meta-sep svelte-9ix8dg">·</span> <span> </span></div> <div class="run-row-actions svelte-9ix8dg"><button class="icon-btn svelte-9ix8dg"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="9" y="9" width="13" height="13" rx="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></svg></button> <button class="icon-btn danger svelte-9ix8dg"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="3 6 5 6 21 6"></polyline><path d="M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6"></path><path d="M10 11v6M14 11v6"></path><path d="M9 6V4h6v2"></path></svg></button></div></div>'),or=c('<div class="pagination-row svelte-9ix8dg"><!></div>'),vr=c('<div class="runs-list svelte-9ix8dg"></div> <!>',1),dr=c("<div><!></div>"),cr=c('<!> <!> <!> <!> <!> <div class="page-header svelte-9ix8dg"><div class="header-text svelte-9ix8dg"><h1 class="svelte-9ix8dg"></h1> <p class="header-desc svelte-9ix8dg"></p></div> <div class="header-actions svelte-9ix8dg"><!></div></div> <div class="tabs svelte-9ix8dg"><button class="tab svelte-9ix8dg"> <span class="tab-count svelte-9ix8dg"> </span></button> <button class="tab svelte-9ix8dg"> <span class="tab-count svelte-9ix8dg"> </span></button></div> <div class="search-bar svelte-9ix8dg"><svg class="search-icon svelte-9ix8dg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg> <input type="search" class="search-input svelte-9ix8dg"> <!></div> <!> <!>',1);function wr(Kt,Xt){Ta(Xt,!1);const _e=f(),Be=f(),Te=f(),$e=f();let Ae=f(typeof sessionStorage<"u"&&sessionStorage.getItem("plum:repo:tab")||"suites");function ft(t){i(Ae,t);try{sessionStorage.setItem("plum:repo:tab",t)}catch{}}function mt(t,n){try{const v=sessionStorage.getItem(t);if(v)return JSON.parse(v)}catch{}return n}function Et(t,n){try{sessionStorage.setItem(t,JSON.stringify(n))}catch{}}let fe=f([]),ue=f(0),yt=f(1),K=f(mt("plum:repo:suites:sort",{by:"createdAt",order:"desc"})),de=f([]),pe=f(0),bt=f(1),re=f(mt("plum:repo:runs:sort",{by:"createdAt",order:"desc"}));const Lt={Critical:0,High:1,Medium:2,Low:3};function Zt(t,n){return[...t].sort((v,L)=>{const D=(Lt[v.priority]??4)-(Lt[L.priority]??4);return n==="asc"?D:-D})}let at=f(!0),st=f(null),ie=f(null),Ge=f(!1),rt=f(null),Oe=f(!1),X=f({name:"",description:"",priority:"Medium"}),Ye=f(!1),we=f(""),Ne=f(!1),Se=f({title:""}),We=f(!1),Ie=f(""),q=f(null),ge=f(!1),Ce=f(null),qe=f(!1),me=f("");const ea=["Critical","High","Medium","Low"];function he(t,n){i(st,{type:t,message:n}),setTimeout(()=>i(st,null),Ca)}async function it(t=1){const n=e(K).by==="priority",v=await Ba({page:t,sortBy:n?"createdAt":e(K).by,sortOrder:e(K).order});i(fe,n?Zt(v.suites,e(K).order):v.suites),i(ue,v.total),i(yt,t)}async function lt(t=1){const n=await Oa({page:t,sortBy:e(re).by,sortOrder:e(re).order});i(de,n.runs),i(pe,n.total),i(bt,t)}async function ta(t){e(K).by===t?De(K,e(K).order=e(K).order==="asc"?"desc":"asc"):i(K,{by:t,order:t==="createdAt"?"desc":"asc"}),Et("plum:repo:suites:sort",e(K)),await it(1)}async function aa(t){e(re).by===t?De(re,e(re).order=e(re).order==="asc"?"desc":"asc"):i(re,{by:t,order:t==="createdAt"||t==="updatedAt"?"desc":"asc"}),Et("plum:repo:runs:sort",e(re)),await lt(1)}$a(async()=>{try{await Promise.all([it(1),lt(1)])}catch{he("error",Wa)}finally{i(at,!1)}});async function sa(){if(!e(X).name.trim()){i(we,gs);return}i(we,""),i(Ye,!0);try{const t=await Ha(e(X));i(fe,[...e(fe),t]),i(ue,e(ue)+1),i(Oe,!1),i(X,{name:"",description:"",priority:"Medium"}),he("success",hs(t.name))}catch(t){i(we,t.message)}finally{i(Ye,!1)}}async function ra(t,n){try{await Na(t),i(fe,e(fe).filter(v=>v.id!==t)),i(ue,e(ue)-1),he("success",os(n))}catch{he("error",vs)}i(q,null),i(ge,!1)}async function ia(){if(!e(Se).title.trim()){i(Ie,xs);return}i(Ie,""),i(We,!0);try{const t=await Va({title:e(Se).title,caseIds:[]});i(de,[t,...e(de)]),i(Ne,!1),i(Se,{title:""}),window.location.href=`/test-repository/runs/${t.id}`}catch(t){i(Ie,t.message)}finally{i(We,!1)}}async function Tt(t){i(Ce,t),i(qe,!0)}async function la(){if(!e(Ce))return;const t=e(Ce);i(Ce,null),i(qe,!1);try{const n=await Ua(t.id);i(de,[n,...e(de)]),i(pe,e(pe)+1),jt.update(v=>v+1),he("success",us(n.title))}catch{he("error",ps)}}async function na(t,n){try{await Pa(t),i(de,e(de).filter(v=>v.id!==t)),i(pe,e(pe)-1),jt.update(v=>v+1),he("success",ds(n))}catch{he("error",cs)}i(q,null),i(ge,!1)}function nt(t){return(t==null?void 0:t.toLowerCase())??"medium"}function $t(t){return t==="complete"?"pass":t==="in-progress"?"warn":"muted"}Fe(()=>e(me),()=>{i(_e,e(me).trim())}),Fe(()=>(e(rt),e(_e),Ft),()=>{clearTimeout(e(rt)),e(_e)?(i(Ge,!0),i(ie,null),i(rt,setTimeout(async()=>{try{i(ie,await Ft(e(_e)))}catch{i(ie,{suites:[],cases:[],runs:[]})}finally{i(Ge,!1)}},300))):(i(ie,null),i(Ge,!1))}),Fe(()=>e(ie),()=>{var t;i(Be,((t=e(ie))==null?void 0:t.cases)??[])}),Fe(()=>e(ie),()=>{var t;i(Te,((t=e(ie))==null?void 0:t.suites)??[])}),Fe(()=>e(ie),()=>{var t;i($e,((t=e(ie))==null?void 0:t.runs)??[])}),Aa(),La();var At=cr();ya(t=>{Sa.title=qa});var wt=W(At);Da(wt,{get toast(){return e(st)}});var St=r(wt,2);const oa=ve(()=>{var t;return _s((t=e(q))==null?void 0:t.type)});Yt(St,{get title(){return e(oa)},get open(){return e(ge)},set open(t){i(ge,t)},$$events:{confirm:()=>{var t;return((t=e(q))==null?void 0:t.type)==="suite"?ra(e(q).id,e(q).name):na(e(q).id,e(q).name)}},children:(t,n)=>{var v=ce(),L=W(v);{var D=x=>{var u=Is(),I=r(W(u)),C=s(I);a(I),Le(),S(()=>o(C,`"${e(q).name??""}"`)),l(x,u)};y(L,x=>{e(q)&&x(D)})}l(t,v)},$$slots:{default:!0},$$legacy:!0});var It=r(St,2);Yt(It,{title:Ja,confirmLabel:qt,get open(){return e(qe)},set open(t){i(qe,t)},$$events:{confirm:la},children:(t,n)=>{var v=ce(),L=W(v);{var D=x=>{var u=Cs(),I=W(u);I.nodeValue=`${qt} `;var C=r(I),M=s(C);a(C);var g=r(C,1,!0);g.nodeValue=Qa,S(()=>o(M,`"${e(Ce).title??""}"`)),l(x,u)};y(L,x=>{e(Ce)&&x(D)})}l(t,v)},$$slots:{default:!0},$$legacy:!0});var Ct=r(It,2);Wt(Ct,{title:za,get open(){return e(Oe)},set open(t){i(Oe,t)},children:(t,n)=>{var v=Ds(),L=s(v),D=s(L);D.textContent=Ka;var x=r(D,2);ht(x),R(x,"placeholder",Xa),a(L);var u=r(L,2),I=s(u);I.textContent=Za;var C=r(I,2);ba(C),R(C,"placeholder",es),a(u);var M=r(u,2),g=s(M);g.textContent=ts;var d=r(g,2);S(()=>{e(X),Ia(()=>{})}),xe(d,5,()=>ea,ut,(p,T)=>{var $=ks(),k={},_=s($,!0);a($),S(()=>{k!==(k=e(T))&&($.value=($.__value=e(T))==null?"":e(T)),o(_,e(T))}),l(p,$)}),a(d),a(M);var B=r(M,2);{var m=p=>{var T=Rs(),$=s(T,!0);a(T),S(()=>o($,e(we))),l(p,T)};y(B,p=>{e(we)&&p(m)})}var U=r(B,2),E=s(U);Me(E,{get disabled(){return e(Ye)},$$events:{click:sa},children:(p,T)=>{Le();var $=Re();S(k=>o($,k),[()=>as(e(Ye))],ve),l(p,$)},$$slots:{default:!0}});var H=r(E,2);Me(H,{variant:"ghost",$$events:{click:()=>{i(Oe,!1),i(we,"")}},children:(p,T)=>{Le();var $=Re();$.nodeValue=Ut,l(p,$)},$$slots:{default:!0}}),a(U),a(v),Ze(x,()=>e(X).name,p=>De(X,e(X).name=p)),Ze(C,()=>e(X).description,p=>De(X,e(X).description=p)),Ma(d,()=>e(X).priority,p=>De(X,e(X).priority=p)),l(t,v)},$$slots:{default:!0},$$legacy:!0});var kt=r(Ct,2);Wt(kt,{title:ss,get open(){return e(Ne)},set open(t){i(Ne,t)},children:(t,n)=>{var v=Bs(),L=s(v),D=s(L);D.textContent=rs;var x=r(D,2);ht(x),R(x,"placeholder",is),a(L);var u=r(L,2);{var I=d=>{var B=Ms(),m=s(B,!0);a(B),S(()=>o(m,e(Ie))),l(d,B)};y(u,d=>{e(Ie)&&d(I)})}var C=r(u,2),M=s(C);Me(M,{get disabled(){return e(We)},$$events:{click:ia},children:(d,B)=>{Le();var m=Re();S(U=>o(m,U),[()=>ls(e(We))],ve),l(d,m)},$$slots:{default:!0}});var g=r(M,2);Me(g,{variant:"ghost",$$events:{click:()=>{i(Ne,!1),i(Ie,"")}},children:(d,B)=>{Le();var m=Re();m.nodeValue=Ut,l(d,m)},$$slots:{default:!0}}),a(C),a(v),Ze(x,()=>e(Se).title,d=>De(Se,e(Se).title=d)),l(t,v)},$$slots:{default:!0},$$legacy:!0});var ot=r(kt,2),vt=s(ot),Rt=s(vt);Rt.textContent=Fa;var va=r(Rt,2);va.textContent=ja,a(vt);var Dt=r(vt,2),da=s(Dt);{var ca=t=>{Me(t,{$$events:{click:()=>i(Oe,!0)},children:(n,v)=>{Le();var L=Re();L.nodeValue=fs,l(n,L)},$$slots:{default:!0}})},_a=t=>{Me(t,{$$events:{click:()=>i(Ne,!0)},children:(n,v)=>{Le();var L=Re();L.nodeValue=ms,l(n,L)},$$slots:{default:!0}})};y(da,t=>{e(Ae)==="suites"?t(ca):t(_a,!1)})}a(Dt),a(ot);var dt=r(ot,2),Pe=s(dt),Mt=s(Pe);Mt.nodeValue=`${Ga} `;var Bt=r(Mt),ua=s(Bt);a(Bt),a(Pe);var Je=r(Pe,2),Ot=s(Je);Ot.nodeValue=`${Ya} `;var Nt=r(Ot),pa=s(Nt);a(Nt),a(Je),a(dt);var ct=r(dt,2),Qe=r(s(ct),2);ht(Qe),R(Qe,"placeholder",ns);var ga=r(Qe,2);{var ha=t=>{var n=Os();R(n,"aria-label",ka),oe("click",n,()=>i(me,"")),l(t,n)};y(ga,t=>{e(me)&&t(ha)})}a(ct);var Pt=r(ct,2);{var xa=t=>{var n=Vs(),v=s(n);v.textContent=Ra;var L=r(v,2);{var D=u=>{var I=ce(),C=W(I);xe(C,0,()=>[["createdAt","Date Created"],["displayId","ID"],["name","Name"],["priority","Priority"]],ut,(M,g)=>{let d=()=>g[0],B=()=>g[1];var m=Ps(),U=s(m),E=r(U);{var H=p=>{var T=Ns(),$=s(T,!0);a(T),S(()=>o($,e(K).order==="asc"?"↑":"↓")),l(p,T)};y(E,p=>{e(K).by===d()&&p(H)})}a(m),S(()=>{Ke(m,"active",e(K).by===d()),o(U,`${B()??""} `)}),oe("click",m,()=>ta(d())),l(M,m)}),l(u,I)},x=u=>{var I=ce(),C=W(I);xe(C,0,()=>[["createdAt","Date Created"],["updatedAt","Last Updated"],["title","Name"]],ut,(M,g)=>{let d=()=>g[0],B=()=>g[1];var m=Hs(),U=s(m),E=r(U);{var H=p=>{var T=Us(),$=s(T,!0);a(T),S(()=>o($,e(re).order==="asc"?"↑":"↓")),l(p,T)};y(E,p=>{e(re).by===d()&&p(H)})}a(m),S(()=>{Ke(m,"active",e(re).by===d()),o(U,`${B()??""} `)}),oe("click",m,()=>aa(d())),l(M,m)}),l(u,I)};y(L,u=>{e(Ae)==="suites"?u(D):u(x,!1)})}a(n),l(t,n)};y(Pt,t=>{e(_e)||t(xa)})}var fa=r(Pt,2);{var ma=t=>{var n=Zs(),v=s(n);{var L=x=>{var u=Fs();u.textContent=Ht,l(x,u)},D=x=>{var u=ce(),I=W(u);{var C=g=>{var d=js();d.textContent=Ht,l(g,d)},M=g=>{var d=ce(),B=W(d);{var m=E=>{const H=ve(()=>$s(e(me)));xt(E,{title:Es,get description(){return e(H)}})},U=E=>{var H=Xs(),p=W(H);{var T=A=>{var w=Ws(),O=s(w),J=s(O);J.nodeValue=`${As} `;var Q=r(J),le=s(Q,!0);a(Q),a(O);var z=r(O,2);xe(z,5,()=>e(Be),b=>b.id,(b,h)=>{var V=Ys(),N=s(V),te=s(N,!0);a(N);var P=r(N,2),ne=s(P,!0);a(P);var Y=r(P,2);{var ae=se=>{var Ee=Gs();Ee.textContent=ws,l(se,Ee)};y(Y,se=>{e(h).isAutomated&&se(ae)})}var F=r(Y,2),j=s(F,!0);a(F);var G=r(F,2),ee=s(G);a(G),a(V),S(se=>{R(V,"href",`/test-repository/suites/${e(h).suite.id??""}`),o(te,e(h).displayId),o(ne,e(h).title),je(F,`priority-badge small ${se??""} svelte-9ix8dg`),o(j,e(h).priority),o(ee,`${e(h).suite.displayId??""} · ${e(h).suite.name??""}`)},[()=>nt(e(h).priority)],ve),l(b,V)}),a(z),a(w),S(()=>o(le,e(Be).length)),l(A,w)};y(p,A=>{e(Be).length>0&&A(T)})}var $=r(p,2);{var k=A=>{var w=Qs(),O=s(w),J=s(O);J.nodeValue=`${Ss} `;var Q=r(J),le=s(Q,!0);a(Q),a(O);var z=r(O,2);xe(z,5,()=>e(Te),b=>b.id,(b,h)=>{var V=Js(),N=s(V),te=r(N,2),P=s(te),ne=s(P,!0);a(P);var Y=r(P,2),ae=s(Y,!0);a(Y);var F=r(Y,2),j=s(F);R(j,"title",Jt),a(F),a(te);var G=r(te,2),ee=s(G,!0);a(G);var se=r(G,2);{var Ee=ye=>{var be=qs(),Ve=s(be,!0);a(be),S(()=>o(Ve,e(h).description)),l(ye,be)};y(se,ye=>{e(h).description&&ye(Ee)})}var ze=r(se,2),ke=s(ze),Ue=r(s(ke));a(ke);var He=r(ke,2),_t=s(He,!0);a(He),a(ze),a(V),S((ye,be,Ve)=>{R(N,"href",`/test-repository/suites/${e(h).id??""}`),R(N,"aria-label",e(h).name),o(ne,e(h).displayId),je(Y,`priority-badge ${ye??""} svelte-9ix8dg`),o(ae,e(h).priority),o(ee,e(h).name),o(Ue,` ${be??""}`),o(_t,Ve)},[()=>nt(e(h).priority),()=>et(e(h)._count.cases),()=>tt(e(h).createdBy.name)],ve),oe("click",j,()=>{i(q,{type:"suite",id:e(h).id,name:e(h).name}),i(ge,!0)}),l(b,V)}),a(z),a(w),S(()=>o(le,e(Te).length)),l(A,w)};y($,A=>{e(Te).length>0&&A(k)})}var _=r($,2);{var Z=A=>{var w=Ks(),O=s(w),J=r(s(O)),Q=s(J,!0);a(J),a(O);var le=r(O,2);xe(le,5,()=>e($e),z=>z.id,(z,b)=>{var h=zs(),V=s(h),N=r(V,2),te=s(N),P=r(te,2),ne=s(P,!0);a(P);var Y=r(P,2),ae=s(Y,!0);a(Y),a(N);var F=r(N,2),j=s(F),G=s(j,!0);a(j);var ee=r(j,4),se=s(ee,!0);a(ee);var Ee=r(ee,4),ze=s(Ee,!0);a(Ee),a(F);var ke=r(F,2),Ue=s(ke);R(Ue,"title",Qt);var He=r(Ue,2);R(He,"title",zt),a(ke),a(h),S((_t,ye,be,Ve)=>{R(V,"href",`/test-repository/runs/${e(b).id??""}`),R(V,"aria-label",e(b).title),je(te,`run-status-dot ${_t??""} svelte-9ix8dg`),o(ne,e(b).title),o(ae,ye),o(G,e(b).status),o(se,be),o(ze,Ve)},[()=>$t(e(b).status),()=>et(e(b)._count.entries),()=>tt(e(b).createdBy.name),()=>new Date(e(b).createdAt).toLocaleDateString()],ve),oe("click",Ue,()=>Tt(e(b))),oe("click",He,()=>{i(q,{type:"run",id:e(b).id,name:e(b).title}),i(ge,!0)}),l(z,h)}),a(le),a(w),S(()=>o(Q,e($e).length)),l(A,w)};y(_,A=>{e($e).length>0&&A(Z)})}l(E,H)};y(B,E=>{e(Be).length===0&&e(Te).length===0&&e($e).length===0?E(m):E(U,!1)},!0)}l(g,d)};y(I,g=>{e(ie)?g(M,!1):g(C)},!0)}l(x,u)};y(v,x=>{e(Ge)?x(L):x(D,!1)})}a(n),pt(3,n,()=>gt,()=>({y:4,duration:160})),l(t,n)},Ea=t=>{var n=ce(),v=W(n);{var L=x=>{var u=ir(),I=s(u);{var C=g=>{var d=er();d.textContent=Vt,l(g,d)},M=g=>{var d=ce(),B=W(d);{var m=E=>{xt(E,{title:bs,description:ys})},U=E=>{var H=rr(),p=W(H);xe(p,5,()=>e(fe),k=>k.id,(k,_)=>{var Z=ar(),A=s(Z),w=r(A,2),O=s(w),J=s(O,!0);a(O);var Q=r(O,2),le=s(Q,!0);a(Q);var z=r(Q,2),b=s(z);R(b,"title",Jt),a(z),a(w);var h=r(w,2),V=s(h,!0);a(h);var N=r(h,2);{var te=j=>{var G=tr(),ee=s(G,!0);a(G),S(()=>o(ee,e(_).description)),l(j,G)};y(N,j=>{e(_).description&&j(te)})}var P=r(N,2),ne=s(P),Y=r(s(ne));a(ne);var ae=r(ne,2),F=s(ae,!0);a(ae),a(P),a(Z),S((j,G,ee)=>{R(A,"href",`/test-repository/suites/${e(_).id??""}`),R(A,"aria-label",e(_).name),o(J,e(_).displayId),je(Q,`priority-badge ${j??""} svelte-9ix8dg`),o(le,e(_).priority),o(V,e(_).name),o(Y,` ${G??""}`),o(F,ee)},[()=>nt(e(_).priority),()=>et(e(_)._count.cases),()=>tt(e(_).createdBy.name)],ve),oe("click",b,()=>{i(q,{type:"suite",id:e(_).id,name:e(_).name}),i(ge,!0)}),l(k,Z)}),a(p);var T=r(p,2);{var $=k=>{var _=sr(),Z=s(_);const A=ve(()=>Math.ceil(e(ue)/Xe));Gt(Z,{get current(){return e(yt)},get total(){return e(A)},$$events:{change:w=>it(w.detail)}}),a(_),l(k,_)};y(T,k=>{Math.ceil(e(ue)/Xe)>1&&k($)})}l(E,H)};y(B,E=>{e(fe).length===0?E(m):E(U,!1)},!0)}l(g,d)};y(I,g=>{e(at)?g(C):g(M,!1)})}a(u),pt(3,u,()=>gt,()=>({y:4,duration:160})),l(x,u)},D=x=>{var u=dr(),I=s(u);{var C=g=>{var d=lr();d.textContent=Vt,l(g,d)},M=g=>{var d=ce(),B=W(d);{var m=E=>{xt(E,{title:Ts,description:Ls})},U=E=>{var H=vr(),p=W(H);xe(p,5,()=>e(de),k=>k.id,(k,_)=>{var Z=nr(),A=s(Z),w=r(A,2),O=s(w),J=r(O,2),Q=s(J,!0);a(J);var le=r(J,2),z=s(le,!0);a(le),a(w);var b=r(w,2),h=s(b),V=s(h,!0);a(h);var N=r(h,4),te=s(N,!0);a(N);var P=r(N,4),ne=s(P,!0);a(P),a(b);var Y=r(b,2),ae=s(Y);R(ae,"title",Qt);var F=r(ae,2);R(F,"title",zt),a(Y),a(Z),S((j,G,ee,se)=>{R(A,"href",`/test-repository/runs/${e(_).id??""}`),R(A,"aria-label",e(_).title),je(O,`run-status-dot ${j??""} svelte-9ix8dg`),o(Q,e(_).title),o(z,G),o(V,e(_).status),o(te,ee),o(ne,se)},[()=>$t(e(_).status),()=>et(e(_)._count.entries),()=>tt(e(_).createdBy.name),()=>new Date(e(_).createdAt).toLocaleDateString()],ve),oe("click",ae,()=>Tt(e(_))),oe("click",F,()=>{i(q,{type:"run",id:e(_).id,name:e(_).title}),i(ge,!0)}),l(k,Z)}),a(p);var T=r(p,2);{var $=k=>{var _=or(),Z=s(_);const A=ve(()=>Math.ceil(e(pe)/Xe));Gt(Z,{get current(){return e(bt)},get total(){return e(A)},$$events:{change:w=>lt(w.detail)}}),a(_),l(k,_)};y(T,k=>{Math.ceil(e(pe)/Xe)>1&&k($)})}l(E,H)};y(B,E=>{e(de).length===0?E(m):E(U,!1)},!0)}l(g,d)};y(I,g=>{e(at)?g(C):g(M,!1)})}a(u),pt(3,u,()=>gt,()=>({y:4,duration:160})),l(x,u)};y(v,x=>{e(Ae)==="suites"?x(L):x(D,!1)},!0)}l(t,n)};y(fa,t=>{e(_e)?t(ma):t(Ea,!1)})}S(()=>{Ke(Pe,"active",e(Ae)==="suites"),o(ua,`${(e(_e)?e(Te).length+"/":"")??""}${e(ue)??""}`),Ke(Je,"active",e(Ae)==="runs"),o(pa,`${(e(_e)?e($e).length+"/":"")??""}${e(pe)??""}`)}),oe("click",Pe,()=>ft("suites")),oe("click",Je,()=>ft("runs")),Ze(Qe,()=>e(me),t=>i(me,t)),l(Kt,At),wa()}export{wr as component};
|
|
Binary file
|
|
Binary file
|