plum-e2e 2.6.7 → 2.6.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (829) hide show
  1. package/.env +5 -0
  2. package/backend/config/scripts/generate-report.js +8 -0
  3. package/backend/lib/runnerProcess.js +29 -15
  4. package/backend/logs/runner-cmqneqerz0000qq01i5ap2rvl.log +4 -0
  5. package/backend/logs/runner-cmqnfv7kr0000r101aeocm8eu.log +4 -0
  6. package/backend/logs/runner-cmqnfvb560001r101qoi0phau.log +4 -0
  7. package/backend/logs/runner-cmqnfvlm20002r101gsyqb837.log +4 -0
  8. package/backend/logs/runner-cmqnfvqfy0003r101fh41pzx3.log +4 -0
  9. package/backend/logs/runner-cmqnfvvwo0004r101q4dtqxd2.log +4 -0
  10. package/backend/logs/runner-cmr8o2x3n0000mg01410tpuck.log +4 -0
  11. package/backend/logs/runner-cmr90hvcx0000n2016edtmrtv.log +4 -0
  12. package/backend/logs/runner-cmr90i7h20001n201g2wg6v3n.log +4 -0
  13. package/backend/logs/runner-cmr90iilm0002n201mmisva95.log +4 -0
  14. package/backend/logs/runner-cmr90j70r0003n201xz8525dz.log +4 -0
  15. package/backend/logs/runner-cmr90yup70000qp017ianc2gp.log +4 -0
  16. package/backend/logs/runner-cmr90zbtm0001qp01u9tfdkh1.log +4 -0
  17. package/backend/logs/runner-cmr91a3mw0000tb01414rd1df.log +4 -0
  18. package/backend/logs/runner-cmr91dhla0001tb01jp7thjnl.log +4 -0
  19. package/backend/logs/runner-cmrkk6fcl0000qj012kve79f4.log +4 -0
  20. package/backend/logs/runner-cmrkl8sym0000qy01euz4270n.log +4 -0
  21. package/backend/logs/runner-cmrkl9oyx0001qy0137nzr94d.log +4 -0
  22. package/bin/plum.js +13 -0
  23. package/bin/postinstall.js +46 -0
  24. package/frontend/.svelte-kit/adapter-node/.vite/manifest.json +95 -39
  25. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/BackLink.CvWWuO3h.css +5 -0
  26. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/Badge.D1SV0Gv7.css +5 -0
  27. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/ConfirmModal.Dd3uP-Sk.css +23 -0
  28. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/EmptyState.DUDM4P19.css +23 -0
  29. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/{ConfirmModal.CdhOYVBb.css → Modal.BuaCfdLj.css} +6 -1
  30. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/Pagination.DZmi2Po-.css +5 -0
  31. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/Toast.DENwYn3g.css +5 -0
  32. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_layout.BuhMvMUj.css +5 -0
  33. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.0Eln51hV.css +5 -0
  34. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.5IJAEAjc.css +5 -0
  35. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.BR3wgXcZ.css +5 -0
  36. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.BWAH0Beh.css +23 -0
  37. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.BZfe6nWe.css +5 -0
  38. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.Bj_a_5lv.css +5 -0
  39. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.BwgOqeMo.css +23 -0
  40. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.CBHi6pzT.css +5 -0
  41. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.CFnbmY-D.css +5 -0
  42. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.CrXpMrqh.css +5 -0
  43. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page._h2o67kg.css +5 -0
  44. package/frontend/.svelte-kit/adapter-node/chunks/BackLink.js +5 -0
  45. package/frontend/.svelte-kit/adapter-node/chunks/Badge.js +5 -0
  46. package/frontend/.svelte-kit/adapter-node/chunks/ConfirmModal.js +12 -20
  47. package/frontend/.svelte-kit/adapter-node/chunks/EmptyState.js +29 -7
  48. package/frontend/.svelte-kit/adapter-node/chunks/Modal.js +43 -0
  49. package/frontend/.svelte-kit/adapter-node/chunks/Toast.js +17 -1
  50. package/frontend/.svelte-kit/adapter-node/chunks/attributes.js +5 -0
  51. package/frontend/.svelte-kit/adapter-node/chunks/auth.js +5 -0
  52. package/frontend/.svelte-kit/adapter-node/{_app/immutable/assets/EmptyState.BdO1q9cJ.css → chunks/auth2.js} +13 -1
  53. package/frontend/.svelte-kit/adapter-node/chunks/client.js +5 -0
  54. package/frontend/.svelte-kit/adapter-node/chunks/common.js +56 -0
  55. package/frontend/.svelte-kit/adapter-node/chunks/constants.js +9 -2
  56. package/frontend/.svelte-kit/adapter-node/chunks/escaping.js +5 -0
  57. package/frontend/.svelte-kit/adapter-node/chunks/exports.js +5 -0
  58. package/frontend/.svelte-kit/adapter-node/chunks/format.js +5 -0
  59. package/frontend/.svelte-kit/adapter-node/chunks/index-server.js +5 -0
  60. package/frontend/.svelte-kit/adapter-node/chunks/index.js +5 -0
  61. package/frontend/.svelte-kit/adapter-node/chunks/index2.js +5 -0
  62. package/frontend/.svelte-kit/adapter-node/chunks/internal.js +7 -2
  63. package/frontend/.svelte-kit/adapter-node/chunks/reports.js +5 -0
  64. package/frontend/.svelte-kit/adapter-node/chunks/reports2.js +109 -0
  65. package/frontend/.svelte-kit/adapter-node/chunks/repository.js +111 -0
  66. package/frontend/.svelte-kit/adapter-node/chunks/runner.js +12 -0
  67. package/frontend/.svelte-kit/adapter-node/chunks/stores.js +5 -0
  68. package/frontend/.svelte-kit/adapter-node/chunks/theme.js +5 -0
  69. package/frontend/.svelte-kit/adapter-node/entries/fallbacks/error.svelte.js +5 -0
  70. package/frontend/.svelte-kit/adapter-node/entries/pages/_layout.js +5 -0
  71. package/frontend/.svelte-kit/adapter-node/entries/pages/_layout.svelte.js +7 -0
  72. package/frontend/.svelte-kit/adapter-node/entries/pages/_page.svelte.js +35 -12
  73. package/frontend/.svelte-kit/adapter-node/entries/pages/login/_page.svelte.js +9 -2
  74. package/frontend/.svelte-kit/adapter-node/entries/pages/reports/_id_/_page.svelte.js +9 -2
  75. package/frontend/.svelte-kit/adapter-node/entries/pages/reports/_page.svelte.js +21 -25
  76. package/frontend/.svelte-kit/adapter-node/entries/pages/reports/live/_page.svelte.js +31 -24
  77. package/frontend/.svelte-kit/adapter-node/entries/pages/scheduled-tests/_page.svelte.js +72 -32
  78. package/frontend/.svelte-kit/adapter-node/entries/pages/settings/_page.svelte.js +276 -95
  79. package/frontend/.svelte-kit/adapter-node/entries/pages/setup/_page.svelte.js +9 -2
  80. package/frontend/.svelte-kit/adapter-node/entries/pages/test-repository/_page.svelte.js +43 -36
  81. package/frontend/.svelte-kit/adapter-node/entries/pages/test-repository/runs/_id_/_page.svelte.js +66 -13
  82. package/frontend/.svelte-kit/adapter-node/entries/pages/test-repository/suites/_id_/_page.svelte.js +23 -17
  83. package/frontend/.svelte-kit/adapter-node/index.js +5 -0
  84. package/frontend/.svelte-kit/adapter-node/internal.js +5 -0
  85. package/frontend/.svelte-kit/adapter-node/manifest-full.js +6 -1
  86. package/frontend/.svelte-kit/adapter-node/manifest.js +6 -1
  87. package/frontend/.svelte-kit/adapter-node/nodes/0.js +7 -2
  88. package/frontend/.svelte-kit/adapter-node/nodes/1.js +6 -1
  89. package/frontend/.svelte-kit/adapter-node/nodes/10.js +7 -2
  90. package/frontend/.svelte-kit/adapter-node/nodes/11.js +7 -2
  91. package/frontend/.svelte-kit/adapter-node/nodes/12.js +7 -2
  92. package/frontend/.svelte-kit/adapter-node/nodes/2.js +7 -2
  93. package/frontend/.svelte-kit/adapter-node/nodes/3.js +6 -1
  94. package/frontend/.svelte-kit/adapter-node/nodes/4.js +7 -2
  95. package/frontend/.svelte-kit/adapter-node/nodes/5.js +6 -1
  96. package/frontend/.svelte-kit/adapter-node/nodes/6.js +6 -1
  97. package/frontend/.svelte-kit/adapter-node/nodes/7.js +7 -2
  98. package/frontend/.svelte-kit/adapter-node/nodes/8.js +7 -2
  99. package/frontend/.svelte-kit/adapter-node/nodes/9.js +6 -1
  100. package/frontend/.svelte-kit/ambient.d.ts +5 -4
  101. package/frontend/.svelte-kit/generated/client/app.js +5 -0
  102. package/frontend/.svelte-kit/generated/client/matchers.js +5 -0
  103. package/frontend/.svelte-kit/generated/client/nodes/0.js +5 -0
  104. package/frontend/.svelte-kit/generated/client/nodes/1.js +5 -0
  105. package/frontend/.svelte-kit/generated/client/nodes/10.js +5 -0
  106. package/frontend/.svelte-kit/generated/client/nodes/11.js +5 -0
  107. package/frontend/.svelte-kit/generated/client/nodes/12.js +5 -0
  108. package/frontend/.svelte-kit/generated/client/nodes/2.js +5 -0
  109. package/frontend/.svelte-kit/generated/client/nodes/3.js +5 -0
  110. package/frontend/.svelte-kit/generated/client/nodes/4.js +5 -0
  111. package/frontend/.svelte-kit/generated/client/nodes/5.js +5 -0
  112. package/frontend/.svelte-kit/generated/client/nodes/6.js +5 -0
  113. package/frontend/.svelte-kit/generated/client/nodes/7.js +5 -0
  114. package/frontend/.svelte-kit/generated/client/nodes/8.js +5 -0
  115. package/frontend/.svelte-kit/generated/client/nodes/9.js +5 -0
  116. package/frontend/.svelte-kit/generated/client-optimized/app.js +5 -0
  117. package/frontend/.svelte-kit/generated/client-optimized/matchers.js +5 -0
  118. package/frontend/.svelte-kit/generated/client-optimized/nodes/0.js +5 -0
  119. package/frontend/.svelte-kit/generated/client-optimized/nodes/1.js +5 -0
  120. package/frontend/.svelte-kit/generated/client-optimized/nodes/10.js +5 -0
  121. package/frontend/.svelte-kit/generated/client-optimized/nodes/11.js +5 -0
  122. package/frontend/.svelte-kit/generated/client-optimized/nodes/12.js +5 -0
  123. package/frontend/.svelte-kit/generated/client-optimized/nodes/2.js +5 -0
  124. package/frontend/.svelte-kit/generated/client-optimized/nodes/3.js +5 -0
  125. package/frontend/.svelte-kit/generated/client-optimized/nodes/4.js +5 -0
  126. package/frontend/.svelte-kit/generated/client-optimized/nodes/5.js +5 -0
  127. package/frontend/.svelte-kit/generated/client-optimized/nodes/6.js +5 -0
  128. package/frontend/.svelte-kit/generated/client-optimized/nodes/7.js +5 -0
  129. package/frontend/.svelte-kit/generated/client-optimized/nodes/8.js +5 -0
  130. package/frontend/.svelte-kit/generated/client-optimized/nodes/9.js +5 -0
  131. package/frontend/.svelte-kit/generated/root.js +5 -0
  132. package/frontend/.svelte-kit/generated/root.svelte +5 -0
  133. package/frontend/.svelte-kit/generated/server/internal.js +7 -2
  134. package/frontend/.svelte-kit/non-ambient.d.ts +5 -0
  135. package/frontend/.svelte-kit/output/client/.vite/manifest.json +404 -351
  136. package/frontend/.svelte-kit/output/client/_app/immutable/assets/0.BhSG-jZH.css +5 -0
  137. package/frontend/.svelte-kit/output/client/_app/immutable/assets/10.CdaQUS6U.css +5 -0
  138. package/frontend/.svelte-kit/output/client/_app/immutable/assets/11.BWAH0Beh.css +23 -0
  139. package/frontend/.svelte-kit/output/client/_app/immutable/assets/12.Bj_a_5lv.css +5 -0
  140. package/frontend/.svelte-kit/output/client/_app/immutable/assets/2.CrXpMrqh.css +5 -0
  141. package/frontend/.svelte-kit/output/client/_app/immutable/assets/3.BR3wgXcZ.css +5 -0
  142. package/frontend/.svelte-kit/output/client/_app/immutable/assets/4.0Eln51hV.css +5 -0
  143. package/frontend/.svelte-kit/output/client/_app/immutable/assets/5.DFV9OgAu.css +5 -0
  144. package/frontend/.svelte-kit/output/client/_app/immutable/assets/6.CFnbmY-D.css +5 -0
  145. package/frontend/.svelte-kit/output/client/_app/immutable/assets/7.CBHi6pzT.css +5 -0
  146. package/frontend/.svelte-kit/output/client/_app/immutable/assets/8.BwgOqeMo.css +23 -0
  147. package/frontend/.svelte-kit/output/client/_app/immutable/assets/9._h2o67kg.css +5 -0
  148. package/frontend/.svelte-kit/output/client/_app/immutable/assets/BackLink.CvWWuO3h.css +5 -0
  149. package/frontend/.svelte-kit/output/client/_app/immutable/assets/Badge.D1SV0Gv7.css +5 -0
  150. package/frontend/.svelte-kit/output/client/_app/immutable/assets/Button.FOWXxvc7.css +5 -0
  151. package/frontend/.svelte-kit/output/client/_app/immutable/assets/ConfirmModal.Dd3uP-Sk.css +23 -0
  152. package/frontend/.svelte-kit/output/client/_app/immutable/assets/EmptyState.DUDM4P19.css +23 -0
  153. package/frontend/{build/client/_app/immutable/assets/ConfirmModal.DmxkcwXv.css → .svelte-kit/output/client/_app/immutable/assets/Modal.BZpm0HP8.css} +6 -1
  154. package/frontend/{build/client/_app/immutable/assets/ConfirmModal.CdhOYVBb.css → .svelte-kit/output/client/_app/immutable/assets/Modal.BuaCfdLj.css} +6 -1
  155. package/frontend/.svelte-kit/output/client/_app/immutable/assets/Pagination.DZmi2Po-.css +5 -0
  156. package/frontend/.svelte-kit/output/client/_app/immutable/assets/Toast.DENwYn3g.css +5 -0
  157. package/frontend/.svelte-kit/output/client/_app/immutable/assets/_layout.BuhMvMUj.css +5 -0
  158. package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.0Eln51hV.css +5 -0
  159. package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.5IJAEAjc.css +5 -0
  160. package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.BR3wgXcZ.css +5 -0
  161. package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.BWAH0Beh.css +23 -0
  162. package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.BZfe6nWe.css +5 -0
  163. package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.Bj_a_5lv.css +5 -0
  164. package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.BwgOqeMo.css +23 -0
  165. package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.CBHi6pzT.css +5 -0
  166. package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.CFnbmY-D.css +5 -0
  167. package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.CrXpMrqh.css +5 -0
  168. package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page._h2o67kg.css +5 -0
  169. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{BLAiBE__.js → 2zMvi6fR.js} +6 -1
  170. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/3IV-uqHa.js +23 -0
  171. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/4N1zIH8t.js +23 -0
  172. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/B98sHkeB.js +23 -0
  173. package/frontend/{build/client/_app/immutable/chunks/C67QNx7Z.js → .svelte-kit/output/client/_app/immutable/chunks/BAACMRH5.js} +6 -1
  174. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/Bfc47y5P.js +5 -0
  175. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/BhvHtTRh.js +23 -0
  176. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/BjUpWNbl.js +23 -0
  177. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{DIx44H9N.js → C1Vid6wz.js} +6 -1
  178. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/C1sukchk.js +23 -0
  179. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/C8OURRSs.js +23 -0
  180. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{DGryW1Vp.js → CKDtmZUQ.js} +6 -1
  181. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/CMBQQ9RZ.js +23 -0
  182. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{C4eeChIU.js → CNdcuGR0.js} +6 -1
  183. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/CgnwuKKO.js +23 -0
  184. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/CuqnZUex.js +23 -0
  185. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/D2cvzNT9.js +23 -0
  186. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{B0pefNHY.js → D2gYTmAA.js} +6 -1
  187. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{uFRI_bmR.js → DCgHuuvs.js} +6 -1
  188. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{CxTX_lpP.js → DDblTLLE.js} +6 -1
  189. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/DW85KPAh.js +24 -0
  190. package/frontend/{build/client/_app/immutable/chunks/BFgtfHj2.js → .svelte-kit/output/client/_app/immutable/chunks/DW_iTTZe.js} +6 -1
  191. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{BVMec-1T.js → DYlaQsvN.js} +6 -1
  192. package/frontend/{build/client/_app/immutable/chunks/BFEiffAL.js → .svelte-kit/output/client/_app/immutable/chunks/DkNBSlo2.js} +6 -1
  193. package/frontend/{build/client/_app/immutable/chunks/BkKmeUbA.js → .svelte-kit/output/client/_app/immutable/chunks/DlNYZJ7K.js} +6 -1
  194. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/Dlnxgs49.js +23 -0
  195. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/DtGXv8RA.js +25 -0
  196. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/TOCyHP97.js +28 -0
  197. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{CyQ_oBw2.js → oN0Z3NSF.js} +6 -1
  198. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{raHbXn_9.js → t-La0hgu.js} +6 -1
  199. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{DP6QP4L6.js → w0D4Uzlq.js} +6 -1
  200. package/frontend/.svelte-kit/output/client/_app/immutable/entry/app.BCWbw5zZ.js +24 -0
  201. package/frontend/{build/client/_app/immutable/entry/start.MMlC62np.js → .svelte-kit/output/client/_app/immutable/entry/start.2_AF42wj.js} +6 -1
  202. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/0.BAqq2UTE.js +28 -0
  203. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/{1.Dbck5ct8.js → 1.D5VvLtGP.js} +6 -1
  204. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/10.Bn4Ma-MU.js +23 -0
  205. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/11.BacEu7sW.js +23 -0
  206. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/12.0YGtl1uj.js +23 -0
  207. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/2.C2jjMA-Z.js +23 -0
  208. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/3.DHx0kho3.js +23 -0
  209. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/4.CnaMiirx.js +23 -0
  210. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/5.B6m-zTVe.js +23 -0
  211. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/6.BPDag1zv.js +23 -0
  212. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/7.D7LwxSvT.js +23 -0
  213. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/8.CCkNX20G.js +26 -0
  214. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/9.HDerA6JV.js +23 -0
  215. package/frontend/.svelte-kit/output/client/_app/version.json +1 -1
  216. package/frontend/.svelte-kit/output/server/.vite/manifest.json +95 -39
  217. package/frontend/.svelte-kit/output/server/_app/immutable/assets/BackLink.CvWWuO3h.css +5 -0
  218. package/frontend/.svelte-kit/output/server/_app/immutable/assets/Badge.D1SV0Gv7.css +5 -0
  219. package/frontend/.svelte-kit/output/server/_app/immutable/assets/ConfirmModal.Dd3uP-Sk.css +23 -0
  220. package/frontend/.svelte-kit/output/server/_app/immutable/assets/EmptyState.DUDM4P19.css +23 -0
  221. package/frontend/.svelte-kit/output/{client/_app/immutable/assets/ConfirmModal.CdhOYVBb.css → server/_app/immutable/assets/Modal.BuaCfdLj.css} +6 -1
  222. package/frontend/.svelte-kit/output/server/_app/immutable/assets/Pagination.DZmi2Po-.css +5 -0
  223. package/frontend/.svelte-kit/output/server/_app/immutable/assets/Toast.DENwYn3g.css +5 -0
  224. package/frontend/.svelte-kit/output/server/_app/immutable/assets/_layout.BuhMvMUj.css +5 -0
  225. package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.0Eln51hV.css +5 -0
  226. package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.5IJAEAjc.css +5 -0
  227. package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.BR3wgXcZ.css +5 -0
  228. package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.BWAH0Beh.css +23 -0
  229. package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.BZfe6nWe.css +5 -0
  230. package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.Bj_a_5lv.css +5 -0
  231. package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.BwgOqeMo.css +23 -0
  232. package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.CBHi6pzT.css +5 -0
  233. package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.CFnbmY-D.css +5 -0
  234. package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.CrXpMrqh.css +5 -0
  235. package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page._h2o67kg.css +5 -0
  236. package/frontend/.svelte-kit/output/server/chunks/BackLink.js +5 -0
  237. package/frontend/.svelte-kit/output/server/chunks/Badge.js +5 -0
  238. package/frontend/.svelte-kit/output/server/chunks/ConfirmModal.js +12 -20
  239. package/frontend/.svelte-kit/output/server/chunks/EmptyState.js +29 -7
  240. package/frontend/.svelte-kit/output/server/chunks/Modal.js +43 -0
  241. package/frontend/.svelte-kit/output/server/chunks/Toast.js +17 -1
  242. package/frontend/.svelte-kit/output/server/chunks/attributes.js +5 -0
  243. package/frontend/.svelte-kit/output/server/chunks/auth.js +5 -0
  244. package/frontend/.svelte-kit/output/{client/_app/immutable/assets/EmptyState.BdO1q9cJ.css → server/chunks/auth2.js} +13 -1
  245. package/frontend/.svelte-kit/output/server/chunks/client.js +5 -0
  246. package/frontend/.svelte-kit/output/server/chunks/common.js +56 -0
  247. package/frontend/.svelte-kit/output/server/chunks/constants.js +9 -2
  248. package/frontend/.svelte-kit/output/server/chunks/escaping.js +5 -0
  249. package/frontend/.svelte-kit/output/server/chunks/exports.js +5 -0
  250. package/frontend/.svelte-kit/output/server/chunks/format.js +5 -0
  251. package/frontend/.svelte-kit/output/server/chunks/index-server.js +5 -0
  252. package/frontend/.svelte-kit/output/server/chunks/index.js +5 -0
  253. package/frontend/.svelte-kit/output/server/chunks/index2.js +5 -0
  254. package/frontend/.svelte-kit/output/server/chunks/internal.js +7 -2
  255. package/frontend/.svelte-kit/output/server/chunks/reports.js +5 -0
  256. package/frontend/.svelte-kit/output/server/chunks/reports2.js +109 -0
  257. package/frontend/.svelte-kit/output/server/chunks/repository.js +111 -0
  258. package/frontend/.svelte-kit/output/server/chunks/runner.js +12 -0
  259. package/frontend/.svelte-kit/output/server/chunks/stores.js +5 -0
  260. package/frontend/.svelte-kit/output/server/chunks/theme.js +5 -0
  261. package/frontend/.svelte-kit/output/server/entries/fallbacks/error.svelte.js +5 -0
  262. package/frontend/.svelte-kit/output/server/entries/pages/_layout.js +5 -0
  263. package/frontend/.svelte-kit/output/server/entries/pages/_layout.svelte.js +7 -0
  264. package/frontend/.svelte-kit/output/server/entries/pages/_page.svelte.js +35 -12
  265. package/frontend/.svelte-kit/output/server/entries/pages/login/_page.svelte.js +9 -2
  266. package/frontend/.svelte-kit/output/server/entries/pages/reports/_id_/_page.svelte.js +9 -2
  267. package/frontend/.svelte-kit/output/server/entries/pages/reports/_page.svelte.js +21 -25
  268. package/frontend/.svelte-kit/output/server/entries/pages/reports/live/_page.svelte.js +31 -24
  269. package/frontend/.svelte-kit/output/server/entries/pages/scheduled-tests/_page.svelte.js +72 -32
  270. package/frontend/.svelte-kit/output/server/entries/pages/settings/_page.svelte.js +276 -95
  271. package/frontend/.svelte-kit/output/server/entries/pages/setup/_page.svelte.js +9 -2
  272. package/frontend/.svelte-kit/output/server/entries/pages/test-repository/_page.svelte.js +43 -36
  273. package/frontend/.svelte-kit/output/server/entries/pages/test-repository/runs/_id_/_page.svelte.js +66 -13
  274. package/frontend/.svelte-kit/output/server/entries/pages/test-repository/suites/_id_/_page.svelte.js +23 -17
  275. package/frontend/.svelte-kit/output/server/index.js +5 -0
  276. package/frontend/.svelte-kit/output/server/internal.js +5 -0
  277. package/frontend/.svelte-kit/output/server/manifest-full.js +6 -1
  278. package/frontend/.svelte-kit/output/server/manifest.js +6 -1
  279. package/frontend/.svelte-kit/output/server/nodes/0.js +7 -2
  280. package/frontend/.svelte-kit/output/server/nodes/1.js +6 -1
  281. package/frontend/.svelte-kit/output/server/nodes/10.js +7 -2
  282. package/frontend/.svelte-kit/output/server/nodes/11.js +7 -2
  283. package/frontend/.svelte-kit/output/server/nodes/12.js +7 -2
  284. package/frontend/.svelte-kit/output/server/nodes/2.js +7 -2
  285. package/frontend/.svelte-kit/output/server/nodes/3.js +6 -1
  286. package/frontend/.svelte-kit/output/server/nodes/4.js +7 -2
  287. package/frontend/.svelte-kit/output/server/nodes/5.js +6 -1
  288. package/frontend/.svelte-kit/output/server/nodes/6.js +6 -1
  289. package/frontend/.svelte-kit/output/server/nodes/7.js +7 -2
  290. package/frontend/.svelte-kit/output/server/nodes/8.js +7 -2
  291. package/frontend/.svelte-kit/output/server/nodes/9.js +6 -1
  292. package/frontend/build/client/_app/immutable/assets/0.BhSG-jZH.css +5 -0
  293. package/frontend/build/client/_app/immutable/assets/0.BhSG-jZH.css.br +0 -0
  294. package/frontend/build/client/_app/immutable/assets/0.BhSG-jZH.css.gz +0 -0
  295. package/frontend/build/client/_app/immutable/assets/10.CdaQUS6U.css +5 -0
  296. package/frontend/build/client/_app/immutable/assets/10.CdaQUS6U.css.br +0 -0
  297. package/frontend/build/client/_app/immutable/assets/10.CdaQUS6U.css.gz +0 -0
  298. package/frontend/build/client/_app/immutable/assets/11.BWAH0Beh.css +23 -0
  299. package/frontend/build/client/_app/immutable/assets/11.BWAH0Beh.css.br +0 -0
  300. package/frontend/build/client/_app/immutable/assets/11.BWAH0Beh.css.gz +0 -0
  301. package/frontend/build/client/_app/immutable/assets/12.Bj_a_5lv.css +5 -0
  302. package/frontend/build/client/_app/immutable/assets/12.Bj_a_5lv.css.br +0 -0
  303. package/frontend/build/client/_app/immutable/assets/12.Bj_a_5lv.css.gz +0 -0
  304. package/frontend/build/client/_app/immutable/assets/2.CrXpMrqh.css +5 -0
  305. package/frontend/build/client/_app/immutable/assets/2.CrXpMrqh.css.br +0 -0
  306. package/frontend/build/client/_app/immutable/assets/2.CrXpMrqh.css.gz +0 -0
  307. package/frontend/build/client/_app/immutable/assets/3.BR3wgXcZ.css +5 -0
  308. package/frontend/build/client/_app/immutable/assets/3.BR3wgXcZ.css.br +0 -0
  309. package/frontend/build/client/_app/immutable/assets/3.BR3wgXcZ.css.gz +0 -0
  310. package/frontend/build/client/_app/immutable/assets/4.0Eln51hV.css +5 -0
  311. package/frontend/build/client/_app/immutable/assets/4.0Eln51hV.css.br +0 -0
  312. package/frontend/build/client/_app/immutable/assets/4.0Eln51hV.css.gz +0 -0
  313. package/frontend/build/client/_app/immutable/assets/5.DFV9OgAu.css +5 -0
  314. package/frontend/build/client/_app/immutable/assets/5.DFV9OgAu.css.br +0 -0
  315. package/frontend/build/client/_app/immutable/assets/5.DFV9OgAu.css.gz +0 -0
  316. package/frontend/build/client/_app/immutable/assets/6.CFnbmY-D.css +5 -0
  317. package/frontend/build/client/_app/immutable/assets/6.CFnbmY-D.css.br +0 -0
  318. package/frontend/build/client/_app/immutable/assets/6.CFnbmY-D.css.gz +0 -0
  319. package/frontend/build/client/_app/immutable/assets/7.CBHi6pzT.css +5 -0
  320. package/frontend/build/client/_app/immutable/assets/7.CBHi6pzT.css.br +0 -0
  321. package/frontend/build/client/_app/immutable/assets/7.CBHi6pzT.css.gz +0 -0
  322. package/frontend/build/client/_app/immutable/assets/8.BwgOqeMo.css +23 -0
  323. package/frontend/build/client/_app/immutable/assets/8.BwgOqeMo.css.br +0 -0
  324. package/frontend/build/client/_app/immutable/assets/8.BwgOqeMo.css.gz +0 -0
  325. package/frontend/build/client/_app/immutable/assets/9._h2o67kg.css +5 -0
  326. package/frontend/build/client/_app/immutable/assets/9._h2o67kg.css.br +0 -0
  327. package/frontend/build/client/_app/immutable/assets/9._h2o67kg.css.gz +0 -0
  328. package/frontend/build/client/_app/immutable/assets/BackLink.CvWWuO3h.css +5 -0
  329. package/frontend/build/client/_app/immutable/assets/BackLink.CvWWuO3h.css.br +0 -0
  330. package/frontend/build/client/_app/immutable/assets/BackLink.CvWWuO3h.css.gz +0 -0
  331. package/frontend/build/client/_app/immutable/assets/Badge.D1SV0Gv7.css +5 -0
  332. package/frontend/build/client/_app/immutable/assets/Badge.D1SV0Gv7.css.br +0 -0
  333. package/frontend/build/client/_app/immutable/assets/Badge.D1SV0Gv7.css.gz +0 -0
  334. package/frontend/build/client/_app/immutable/assets/Button.FOWXxvc7.css +5 -0
  335. package/frontend/build/client/_app/immutable/assets/Button.FOWXxvc7.css.br +0 -0
  336. package/frontend/build/client/_app/immutable/assets/Button.FOWXxvc7.css.gz +0 -0
  337. package/frontend/build/client/_app/immutable/assets/ConfirmModal.Dd3uP-Sk.css +23 -0
  338. package/frontend/build/client/_app/immutable/assets/ConfirmModal.Dd3uP-Sk.css.br +0 -0
  339. package/frontend/build/client/_app/immutable/assets/ConfirmModal.Dd3uP-Sk.css.gz +0 -0
  340. package/frontend/build/client/_app/immutable/assets/EmptyState.DUDM4P19.css +23 -0
  341. package/frontend/build/client/_app/immutable/assets/{EmptyState.BdO1q9cJ.css.gz → EmptyState.DUDM4P19.css.br} +0 -0
  342. package/frontend/build/client/_app/immutable/assets/EmptyState.DUDM4P19.css.gz +0 -0
  343. package/frontend/{.svelte-kit/output/client/_app/immutable/assets/ConfirmModal.DmxkcwXv.css → build/client/_app/immutable/assets/Modal.BZpm0HP8.css} +6 -1
  344. package/frontend/build/client/_app/immutable/assets/Modal.BZpm0HP8.css.br +0 -0
  345. package/frontend/build/client/_app/immutable/assets/Modal.BZpm0HP8.css.gz +0 -0
  346. package/frontend/{.svelte-kit/output/server/_app/immutable/assets/ConfirmModal.CdhOYVBb.css → build/client/_app/immutable/assets/Modal.BuaCfdLj.css} +6 -1
  347. package/frontend/build/client/_app/immutable/assets/Modal.BuaCfdLj.css.br +0 -0
  348. package/frontend/build/client/_app/immutable/assets/Modal.BuaCfdLj.css.gz +0 -0
  349. package/frontend/build/client/_app/immutable/assets/Pagination.DZmi2Po-.css +5 -0
  350. package/frontend/build/client/_app/immutable/assets/Pagination.DZmi2Po-.css.br +0 -0
  351. package/frontend/build/client/_app/immutable/assets/Pagination.DZmi2Po-.css.gz +0 -0
  352. package/frontend/build/client/_app/immutable/assets/Toast.DENwYn3g.css +5 -0
  353. package/frontend/build/client/_app/immutable/assets/Toast.DENwYn3g.css.br +0 -0
  354. package/frontend/build/client/_app/immutable/assets/Toast.DENwYn3g.css.gz +0 -0
  355. package/frontend/build/client/_app/immutable/assets/_layout.BuhMvMUj.css +5 -0
  356. package/frontend/build/client/_app/immutable/assets/_layout.BuhMvMUj.css.br +0 -0
  357. package/frontend/build/client/_app/immutable/assets/_layout.BuhMvMUj.css.gz +0 -0
  358. package/frontend/build/client/_app/immutable/assets/_page.0Eln51hV.css +5 -0
  359. package/frontend/build/client/_app/immutable/assets/_page.0Eln51hV.css.br +0 -0
  360. package/frontend/build/client/_app/immutable/assets/_page.0Eln51hV.css.gz +0 -0
  361. package/frontend/build/client/_app/immutable/assets/_page.5IJAEAjc.css +5 -0
  362. package/frontend/build/client/_app/immutable/assets/_page.5IJAEAjc.css.br +0 -0
  363. package/frontend/build/client/_app/immutable/assets/_page.5IJAEAjc.css.gz +0 -0
  364. package/frontend/build/client/_app/immutable/assets/_page.BR3wgXcZ.css +5 -0
  365. package/frontend/build/client/_app/immutable/assets/_page.BR3wgXcZ.css.br +0 -0
  366. package/frontend/build/client/_app/immutable/assets/_page.BR3wgXcZ.css.gz +0 -0
  367. package/frontend/build/client/_app/immutable/assets/_page.BWAH0Beh.css +23 -0
  368. package/frontend/build/client/_app/immutable/assets/_page.BWAH0Beh.css.br +0 -0
  369. package/frontend/build/client/_app/immutable/assets/_page.BWAH0Beh.css.gz +0 -0
  370. package/frontend/build/client/_app/immutable/assets/_page.BZfe6nWe.css +5 -0
  371. package/frontend/build/client/_app/immutable/assets/_page.BZfe6nWe.css.br +0 -0
  372. package/frontend/build/client/_app/immutable/assets/_page.BZfe6nWe.css.gz +0 -0
  373. package/frontend/build/client/_app/immutable/assets/_page.Bj_a_5lv.css +5 -0
  374. package/frontend/build/client/_app/immutable/assets/_page.Bj_a_5lv.css.br +0 -0
  375. package/frontend/build/client/_app/immutable/assets/_page.Bj_a_5lv.css.gz +0 -0
  376. package/frontend/build/client/_app/immutable/assets/_page.BwgOqeMo.css +23 -0
  377. package/frontend/build/client/_app/immutable/assets/_page.BwgOqeMo.css.br +0 -0
  378. package/frontend/build/client/_app/immutable/assets/_page.BwgOqeMo.css.gz +0 -0
  379. package/frontend/build/client/_app/immutable/assets/_page.CBHi6pzT.css +5 -0
  380. package/frontend/build/client/_app/immutable/assets/_page.CBHi6pzT.css.br +0 -0
  381. package/frontend/build/client/_app/immutable/assets/_page.CBHi6pzT.css.gz +0 -0
  382. package/frontend/build/client/_app/immutable/assets/_page.CFnbmY-D.css +5 -0
  383. package/frontend/build/client/_app/immutable/assets/_page.CFnbmY-D.css.br +0 -0
  384. package/frontend/build/client/_app/immutable/assets/_page.CFnbmY-D.css.gz +0 -0
  385. package/frontend/build/client/_app/immutable/assets/_page.CrXpMrqh.css +5 -0
  386. package/frontend/build/client/_app/immutable/assets/_page.CrXpMrqh.css.br +0 -0
  387. package/frontend/build/client/_app/immutable/assets/_page.CrXpMrqh.css.gz +0 -0
  388. package/frontend/build/client/_app/immutable/assets/_page._h2o67kg.css +5 -0
  389. package/frontend/build/client/_app/immutable/assets/_page._h2o67kg.css.br +0 -0
  390. package/frontend/build/client/_app/immutable/assets/_page._h2o67kg.css.gz +0 -0
  391. package/frontend/build/client/_app/immutable/chunks/{BLAiBE__.js → 2zMvi6fR.js} +6 -1
  392. package/frontend/build/client/_app/immutable/chunks/2zMvi6fR.js.br +0 -0
  393. package/frontend/build/client/_app/immutable/chunks/2zMvi6fR.js.gz +0 -0
  394. package/frontend/build/client/_app/immutable/chunks/3IV-uqHa.js +23 -0
  395. package/frontend/build/client/_app/immutable/chunks/3IV-uqHa.js.br +0 -0
  396. package/frontend/build/client/_app/immutable/chunks/3IV-uqHa.js.gz +0 -0
  397. package/frontend/build/client/_app/immutable/chunks/4N1zIH8t.js +23 -0
  398. package/frontend/build/client/_app/immutable/chunks/4N1zIH8t.js.br +0 -0
  399. package/frontend/build/client/_app/immutable/chunks/4N1zIH8t.js.gz +0 -0
  400. package/frontend/build/client/_app/immutable/chunks/B98sHkeB.js +23 -0
  401. package/frontend/build/client/_app/immutable/chunks/B98sHkeB.js.br +0 -0
  402. package/frontend/build/client/_app/immutable/chunks/B98sHkeB.js.gz +0 -0
  403. package/frontend/{.svelte-kit/output/client/_app/immutable/chunks/C67QNx7Z.js → build/client/_app/immutable/chunks/BAACMRH5.js} +6 -1
  404. package/frontend/build/client/_app/immutable/chunks/BAACMRH5.js.br +0 -0
  405. package/frontend/build/client/_app/immutable/chunks/BAACMRH5.js.gz +0 -0
  406. package/frontend/build/client/_app/immutable/chunks/Bfc47y5P.js +5 -0
  407. package/frontend/build/client/_app/immutable/chunks/Bfc47y5P.js.br +0 -0
  408. package/frontend/build/client/_app/immutable/chunks/Bfc47y5P.js.gz +0 -0
  409. package/frontend/build/client/_app/immutable/chunks/BhvHtTRh.js +23 -0
  410. package/frontend/build/client/_app/immutable/chunks/BhvHtTRh.js.br +0 -0
  411. package/frontend/build/client/_app/immutable/chunks/BhvHtTRh.js.gz +0 -0
  412. package/frontend/build/client/_app/immutable/chunks/BjUpWNbl.js +23 -0
  413. package/frontend/build/client/_app/immutable/chunks/BjUpWNbl.js.br +0 -0
  414. package/frontend/build/client/_app/immutable/chunks/BjUpWNbl.js.gz +0 -0
  415. package/frontend/build/client/_app/immutable/chunks/{DIx44H9N.js → C1Vid6wz.js} +6 -1
  416. package/frontend/build/client/_app/immutable/chunks/C1Vid6wz.js.br +0 -0
  417. package/frontend/build/client/_app/immutable/chunks/C1Vid6wz.js.gz +0 -0
  418. package/frontend/build/client/_app/immutable/chunks/C1sukchk.js +23 -0
  419. package/frontend/build/client/_app/immutable/chunks/C1sukchk.js.br +0 -0
  420. package/frontend/build/client/_app/immutable/chunks/C1sukchk.js.gz +0 -0
  421. package/frontend/build/client/_app/immutable/chunks/C8OURRSs.js +23 -0
  422. package/frontend/build/client/_app/immutable/chunks/C8OURRSs.js.br +0 -0
  423. package/frontend/build/client/_app/immutable/chunks/C8OURRSs.js.gz +0 -0
  424. package/frontend/build/client/_app/immutable/chunks/{DGryW1Vp.js → CKDtmZUQ.js} +6 -1
  425. package/frontend/build/client/_app/immutable/chunks/CKDtmZUQ.js.br +0 -0
  426. package/frontend/build/client/_app/immutable/chunks/CKDtmZUQ.js.gz +0 -0
  427. package/frontend/build/client/_app/immutable/chunks/CMBQQ9RZ.js +23 -0
  428. package/frontend/build/client/_app/immutable/chunks/CMBQQ9RZ.js.br +0 -0
  429. package/frontend/build/client/_app/immutable/chunks/CMBQQ9RZ.js.gz +0 -0
  430. package/frontend/build/client/_app/immutable/chunks/{C4eeChIU.js → CNdcuGR0.js} +6 -1
  431. package/frontend/build/client/_app/immutable/chunks/{BFgtfHj2.js.br → CNdcuGR0.js.br} +0 -0
  432. package/frontend/build/client/_app/immutable/chunks/CNdcuGR0.js.gz +0 -0
  433. package/frontend/build/client/_app/immutable/chunks/CgnwuKKO.js +23 -0
  434. package/frontend/build/client/_app/immutable/chunks/CgnwuKKO.js.br +0 -0
  435. package/frontend/build/client/_app/immutable/chunks/CgnwuKKO.js.gz +0 -0
  436. package/frontend/build/client/_app/immutable/chunks/CuqnZUex.js +23 -0
  437. package/frontend/build/client/_app/immutable/chunks/CuqnZUex.js.br +21 -0
  438. package/frontend/build/client/_app/immutable/chunks/CuqnZUex.js.gz +0 -0
  439. package/frontend/build/client/_app/immutable/chunks/D2cvzNT9.js +23 -0
  440. package/frontend/build/client/_app/immutable/chunks/D2cvzNT9.js.br +0 -0
  441. package/frontend/build/client/_app/immutable/chunks/D2cvzNT9.js.gz +0 -0
  442. package/frontend/build/client/_app/immutable/chunks/{B0pefNHY.js → D2gYTmAA.js} +6 -1
  443. package/frontend/build/client/_app/immutable/chunks/D2gYTmAA.js.br +0 -0
  444. package/frontend/build/client/_app/immutable/chunks/D2gYTmAA.js.gz +0 -0
  445. package/frontend/build/client/_app/immutable/chunks/{uFRI_bmR.js → DCgHuuvs.js} +6 -1
  446. package/frontend/build/client/_app/immutable/{assets/EmptyState.BdO1q9cJ.css.br → chunks/DCgHuuvs.js.br} +0 -0
  447. package/frontend/build/client/_app/immutable/chunks/DCgHuuvs.js.gz +0 -0
  448. package/frontend/build/client/_app/immutable/chunks/{CxTX_lpP.js → DDblTLLE.js} +6 -1
  449. package/frontend/build/client/_app/immutable/chunks/DDblTLLE.js.br +0 -0
  450. package/frontend/build/client/_app/immutable/chunks/DDblTLLE.js.gz +0 -0
  451. package/frontend/build/client/_app/immutable/chunks/DW85KPAh.js +24 -0
  452. package/frontend/build/client/_app/immutable/chunks/DW85KPAh.js.br +0 -0
  453. package/frontend/build/client/_app/immutable/chunks/DW85KPAh.js.gz +0 -0
  454. package/frontend/{.svelte-kit/output/client/_app/immutable/chunks/BFgtfHj2.js → build/client/_app/immutable/chunks/DW_iTTZe.js} +6 -1
  455. package/frontend/build/client/_app/immutable/chunks/{BFgtfHj2.js.gz → DW_iTTZe.js.br} +0 -0
  456. package/frontend/build/client/_app/immutable/chunks/DW_iTTZe.js.gz +0 -0
  457. package/frontend/build/client/_app/immutable/chunks/{BVMec-1T.js → DYlaQsvN.js} +6 -1
  458. package/frontend/build/client/_app/immutable/chunks/DYlaQsvN.js.br +0 -0
  459. package/frontend/build/client/_app/immutable/chunks/DYlaQsvN.js.gz +0 -0
  460. package/frontend/{.svelte-kit/output/client/_app/immutable/chunks/BFEiffAL.js → build/client/_app/immutable/chunks/DkNBSlo2.js} +6 -1
  461. package/frontend/build/client/_app/immutable/chunks/DkNBSlo2.js.br +0 -0
  462. package/frontend/build/client/_app/immutable/chunks/DkNBSlo2.js.gz +0 -0
  463. package/frontend/{.svelte-kit/output/client/_app/immutable/chunks/BkKmeUbA.js → build/client/_app/immutable/chunks/DlNYZJ7K.js} +6 -1
  464. package/frontend/build/client/_app/immutable/chunks/DlNYZJ7K.js.br +0 -0
  465. package/frontend/build/client/_app/immutable/chunks/DlNYZJ7K.js.gz +0 -0
  466. package/frontend/build/client/_app/immutable/chunks/Dlnxgs49.js +23 -0
  467. package/frontend/build/client/_app/immutable/chunks/Dlnxgs49.js.br +0 -0
  468. package/frontend/build/client/_app/immutable/chunks/Dlnxgs49.js.gz +0 -0
  469. package/frontend/build/client/_app/immutable/chunks/DtGXv8RA.js +25 -0
  470. package/frontend/build/client/_app/immutable/chunks/DtGXv8RA.js.br +0 -0
  471. package/frontend/build/client/_app/immutable/chunks/DtGXv8RA.js.gz +0 -0
  472. package/frontend/build/client/_app/immutable/chunks/TOCyHP97.js +28 -0
  473. package/frontend/build/client/_app/immutable/chunks/TOCyHP97.js.br +0 -0
  474. package/frontend/build/client/_app/immutable/chunks/TOCyHP97.js.gz +0 -0
  475. package/frontend/build/client/_app/immutable/chunks/{CyQ_oBw2.js → oN0Z3NSF.js} +6 -1
  476. package/frontend/build/client/_app/immutable/chunks/oN0Z3NSF.js.br +0 -0
  477. package/frontend/build/client/_app/immutable/chunks/oN0Z3NSF.js.gz +0 -0
  478. package/frontend/build/client/_app/immutable/chunks/{raHbXn_9.js → t-La0hgu.js} +6 -1
  479. package/frontend/build/client/_app/immutable/chunks/t-La0hgu.js.br +0 -0
  480. package/frontend/build/client/_app/immutable/chunks/t-La0hgu.js.gz +0 -0
  481. package/frontend/build/client/_app/immutable/chunks/{DP6QP4L6.js → w0D4Uzlq.js} +6 -1
  482. package/frontend/build/client/_app/immutable/chunks/w0D4Uzlq.js.br +0 -0
  483. package/frontend/build/client/_app/immutable/chunks/w0D4Uzlq.js.gz +0 -0
  484. package/frontend/build/client/_app/immutable/entry/app.BCWbw5zZ.js +24 -0
  485. package/frontend/build/client/_app/immutable/entry/app.BCWbw5zZ.js.br +0 -0
  486. package/frontend/build/client/_app/immutable/entry/app.BCWbw5zZ.js.gz +0 -0
  487. package/frontend/{.svelte-kit/output/client/_app/immutable/entry/start.MMlC62np.js → build/client/_app/immutable/entry/start.2_AF42wj.js} +6 -1
  488. package/frontend/build/client/_app/immutable/entry/{start.MMlC62np.js.br → start.2_AF42wj.js.br} +5 -1
  489. package/frontend/build/client/_app/immutable/entry/{start.MMlC62np.js.gz → start.2_AF42wj.js.gz} +0 -0
  490. package/frontend/build/client/_app/immutable/nodes/0.BAqq2UTE.js +28 -0
  491. package/frontend/build/client/_app/immutable/nodes/0.BAqq2UTE.js.br +0 -0
  492. package/frontend/build/client/_app/immutable/nodes/0.BAqq2UTE.js.gz +0 -0
  493. package/frontend/build/client/_app/immutable/nodes/{1.Dbck5ct8.js → 1.D5VvLtGP.js} +6 -1
  494. package/frontend/build/client/_app/immutable/nodes/1.D5VvLtGP.js.br +0 -0
  495. package/frontend/build/client/_app/immutable/nodes/1.D5VvLtGP.js.gz +0 -0
  496. package/frontend/build/client/_app/immutable/nodes/10.Bn4Ma-MU.js +23 -0
  497. package/frontend/build/client/_app/immutable/nodes/10.Bn4Ma-MU.js.br +0 -0
  498. package/frontend/build/client/_app/immutable/nodes/10.Bn4Ma-MU.js.gz +0 -0
  499. package/frontend/build/client/_app/immutable/nodes/11.BacEu7sW.js +23 -0
  500. package/frontend/build/client/_app/immutable/nodes/11.BacEu7sW.js.br +0 -0
  501. package/frontend/build/client/_app/immutable/nodes/11.BacEu7sW.js.gz +0 -0
  502. package/frontend/build/client/_app/immutable/nodes/12.0YGtl1uj.js +23 -0
  503. package/frontend/build/client/_app/immutable/nodes/12.0YGtl1uj.js.br +0 -0
  504. package/frontend/build/client/_app/immutable/nodes/12.0YGtl1uj.js.gz +0 -0
  505. package/frontend/build/client/_app/immutable/nodes/2.C2jjMA-Z.js +23 -0
  506. package/frontend/build/client/_app/immutable/nodes/2.C2jjMA-Z.js.br +0 -0
  507. package/frontend/build/client/_app/immutable/nodes/2.C2jjMA-Z.js.gz +0 -0
  508. package/frontend/build/client/_app/immutable/nodes/3.DHx0kho3.js +23 -0
  509. package/frontend/build/client/_app/immutable/nodes/3.DHx0kho3.js.br +0 -0
  510. package/frontend/build/client/_app/immutable/nodes/3.DHx0kho3.js.gz +0 -0
  511. package/frontend/build/client/_app/immutable/nodes/4.CnaMiirx.js +23 -0
  512. package/frontend/build/client/_app/immutable/nodes/4.CnaMiirx.js.br +0 -0
  513. package/frontend/build/client/_app/immutable/nodes/4.CnaMiirx.js.gz +0 -0
  514. package/frontend/build/client/_app/immutable/nodes/5.B6m-zTVe.js +23 -0
  515. package/frontend/build/client/_app/immutable/nodes/5.B6m-zTVe.js.br +0 -0
  516. package/frontend/build/client/_app/immutable/nodes/5.B6m-zTVe.js.gz +0 -0
  517. package/frontend/build/client/_app/immutable/nodes/6.BPDag1zv.js +23 -0
  518. package/frontend/build/client/_app/immutable/nodes/6.BPDag1zv.js.br +0 -0
  519. package/frontend/build/client/_app/immutable/nodes/6.BPDag1zv.js.gz +0 -0
  520. package/frontend/build/client/_app/immutable/nodes/7.D7LwxSvT.js +23 -0
  521. package/frontend/build/client/_app/immutable/nodes/7.D7LwxSvT.js.br +0 -0
  522. package/frontend/build/client/_app/immutable/nodes/7.D7LwxSvT.js.gz +0 -0
  523. package/frontend/build/client/_app/immutable/nodes/8.CCkNX20G.js +26 -0
  524. package/frontend/build/client/_app/immutable/nodes/8.CCkNX20G.js.br +0 -0
  525. package/frontend/build/client/_app/immutable/nodes/8.CCkNX20G.js.gz +0 -0
  526. package/frontend/build/client/_app/immutable/nodes/9.HDerA6JV.js +23 -0
  527. package/frontend/build/client/_app/immutable/nodes/9.HDerA6JV.js.br +0 -0
  528. package/frontend/build/client/_app/immutable/nodes/9.HDerA6JV.js.gz +0 -0
  529. package/frontend/build/client/_app/version.json +1 -1
  530. package/frontend/build/client/_app/version.json.br +0 -0
  531. package/frontend/build/client/_app/version.json.gz +0 -0
  532. package/frontend/build/env.js +5 -0
  533. package/frontend/build/handler.js +5 -0
  534. package/frontend/build/index.js +5 -0
  535. package/frontend/build/server/chunks/{0-Dzas6zkl.js → 0-Di4jNU9J.js} +9 -4
  536. package/frontend/build/server/chunks/0-Di4jNU9J.js.map +21 -0
  537. package/frontend/build/server/chunks/{1-B4EsP8yr.js → 1-DR5YRUTa.js} +7 -2
  538. package/frontend/build/server/chunks/{1-B4EsP8yr.js.map → 1-DR5YRUTa.js.map} +5 -1
  539. package/frontend/build/server/chunks/10-Bhe409bL.js +31 -0
  540. package/frontend/build/server/chunks/10-Bhe409bL.js.map +21 -0
  541. package/frontend/build/server/chunks/11-DqyXW7n1.js +31 -0
  542. package/frontend/build/server/chunks/11-DqyXW7n1.js.map +21 -0
  543. package/frontend/build/server/chunks/12-BCpjMUbs.js +31 -0
  544. package/frontend/build/server/chunks/12-BCpjMUbs.js.map +21 -0
  545. package/frontend/build/server/chunks/{2-Bkz8H7CT.js → 2-D-0buH5i.js} +9 -4
  546. package/frontend/build/server/chunks/{2-Bkz8H7CT.js.map → 2-D-0buH5i.js.map} +5 -1
  547. package/frontend/build/server/chunks/{3-DDtaiqu7.js → 3-y2kzPO2X.js} +8 -3
  548. package/frontend/build/server/chunks/3-y2kzPO2X.js.map +21 -0
  549. package/frontend/build/server/chunks/4-CFrK8HST.js +31 -0
  550. package/frontend/build/server/chunks/4-CFrK8HST.js.map +21 -0
  551. package/frontend/build/server/chunks/{5-CK5hY2WF.js → 5-B0lJu5bT.js} +8 -3
  552. package/frontend/build/server/chunks/5-B0lJu5bT.js.map +21 -0
  553. package/frontend/build/server/chunks/{6-Cps9fL3Z.js → 6-BD4CEJ3Z.js} +8 -3
  554. package/frontend/build/server/chunks/6-BD4CEJ3Z.js.map +21 -0
  555. package/frontend/build/server/chunks/7-DekQfQHu.js +31 -0
  556. package/frontend/build/server/chunks/7-DekQfQHu.js.map +21 -0
  557. package/frontend/build/server/chunks/8-BMqmu7WF.js +31 -0
  558. package/frontend/build/server/chunks/8-BMqmu7WF.js.map +21 -0
  559. package/frontend/build/server/chunks/{9-CUJxgoIN.js → 9-C5sKo9aY.js} +8 -3
  560. package/frontend/build/server/chunks/9-C5sKo9aY.js.map +21 -0
  561. package/frontend/build/server/chunks/BackLink-KxZNqsaq.js +5 -0
  562. package/frontend/build/server/chunks/BackLink-KxZNqsaq.js.map +4 -0
  563. package/frontend/build/server/chunks/Badge-B5V-z6pI.js +5 -0
  564. package/frontend/build/server/chunks/Badge-B5V-z6pI.js.map +4 -0
  565. package/frontend/build/server/chunks/{ConfirmModal-DBtnLLsU.js → ConfirmModal-Ckkt99Pn.js} +12 -19
  566. package/frontend/build/server/chunks/ConfirmModal-Ckkt99Pn.js.map +21 -0
  567. package/frontend/build/server/chunks/EmptyState-BwwbShnX.js +56 -0
  568. package/frontend/build/server/chunks/EmptyState-BwwbShnX.js.map +21 -0
  569. package/frontend/build/server/chunks/Modal-DG-6c5si.js +43 -0
  570. package/frontend/build/server/chunks/Modal-DG-6c5si.js.map +21 -0
  571. package/frontend/build/server/chunks/{Button-CuacyA7Y.js → Toast-CIG4edEp.js} +22 -3
  572. package/frontend/build/server/chunks/Toast-CIG4edEp.js.map +21 -0
  573. package/frontend/build/server/chunks/{_layout.svelte-DoJXDbP1.js → _layout.svelte-BjPrZpoG.js} +10 -3
  574. package/frontend/build/server/chunks/_layout.svelte-BjPrZpoG.js.map +21 -0
  575. package/frontend/build/server/chunks/{_page.svelte-DNNyBx4y.js → _page.svelte-B9rjnZWE.js} +10 -4
  576. package/frontend/build/server/chunks/_page.svelte-B9rjnZWE.js.map +21 -0
  577. package/frontend/build/server/chunks/{_page.svelte-C0vstY93.js → _page.svelte-BHw14GPR.js} +76 -36
  578. package/frontend/build/server/chunks/_page.svelte-BHw14GPR.js.map +21 -0
  579. package/frontend/build/server/chunks/{_page.svelte-LcJmR5du.js → _page.svelte-BbZNxvCl.js} +29 -31
  580. package/frontend/build/server/chunks/_page.svelte-BbZNxvCl.js.map +21 -0
  581. package/frontend/build/server/chunks/_page.svelte-CLFpft5D.js +118 -0
  582. package/frontend/build/server/chunks/_page.svelte-CLFpft5D.js.map +21 -0
  583. package/frontend/build/server/chunks/_page.svelte-Cr16HubD.js +746 -0
  584. package/frontend/build/server/chunks/_page.svelte-Cr16HubD.js.map +21 -0
  585. package/frontend/build/server/chunks/{_page.svelte-DALHRFEX.js → _page.svelte-D1aYn1PL.js} +10 -4
  586. package/frontend/build/server/chunks/_page.svelte-D1aYn1PL.js.map +21 -0
  587. package/frontend/build/server/chunks/{_page.svelte-CC27sZag.js → _page.svelte-D2oF79cT.js} +45 -38
  588. package/frontend/build/server/chunks/_page.svelte-D2oF79cT.js.map +21 -0
  589. package/frontend/build/server/chunks/{_page.svelte-gnktnXKP.js → _page.svelte-D78qaBDN.js} +35 -28
  590. package/frontend/build/server/chunks/_page.svelte-D78qaBDN.js.map +21 -0
  591. package/frontend/build/server/chunks/{_page.svelte-DqWsUJRp.js → _page.svelte-DyyuZN_3.js} +25 -19
  592. package/frontend/build/server/chunks/_page.svelte-DyyuZN_3.js.map +21 -0
  593. package/frontend/build/server/chunks/{_page.svelte-CYkOPxn2.js → _page.svelte-sbqebZYx.js} +40 -17
  594. package/frontend/build/server/chunks/_page.svelte-sbqebZYx.js.map +21 -0
  595. package/frontend/build/server/chunks/{_page.svelte-BETENC2e.js → _page.svelte-ubW5EUCf.js} +13 -6
  596. package/frontend/build/server/chunks/_page.svelte-ubW5EUCf.js.map +21 -0
  597. package/frontend/build/server/chunks/attributes-BeaNKpgU.js +5 -0
  598. package/frontend/build/server/chunks/attributes-BeaNKpgU.js.map +4 -0
  599. package/frontend/build/server/chunks/auth-rlH-cIzn.js +5 -0
  600. package/frontend/build/server/chunks/auth-rlH-cIzn.js.map +4 -0
  601. package/frontend/{.svelte-kit/output/client/_app/immutable/chunks/BIRVeCLU.js → build/server/chunks/auth2-C02yYDpz.js} +11 -1
  602. package/frontend/build/server/chunks/auth2-C02yYDpz.js.map +21 -0
  603. package/frontend/build/server/chunks/client-DyII78e0.js +5 -0
  604. package/frontend/build/server/chunks/client-DyII78e0.js.map +4 -0
  605. package/frontend/build/server/chunks/common-Db-bgKYG.js +42 -0
  606. package/frontend/build/server/chunks/common-Db-bgKYG.js.map +21 -0
  607. package/frontend/build/server/chunks/{constants-Drz-Vo39.js → constants-cZ2kUwWa.js} +9 -3
  608. package/frontend/build/server/chunks/{constants-Drz-Vo39.js.map → constants-cZ2kUwWa.js.map} +5 -1
  609. package/frontend/build/server/chunks/error.svelte-BDW3iP1O.js +5 -0
  610. package/frontend/build/server/chunks/error.svelte-BDW3iP1O.js.map +4 -0
  611. package/frontend/build/server/chunks/escaping-CqgfEcN3.js +5 -0
  612. package/frontend/build/server/chunks/escaping-CqgfEcN3.js.map +4 -0
  613. package/frontend/build/server/chunks/exports-D0QHgeSL.js +5 -0
  614. package/frontend/build/server/chunks/exports-D0QHgeSL.js.map +4 -0
  615. package/frontend/build/server/chunks/{format-D26ZQccb.js → format-0SSB1oGG.js} +7 -2
  616. package/frontend/build/server/chunks/{format-D26ZQccb.js.map → format-0SSB1oGG.js.map} +5 -1
  617. package/frontend/build/server/chunks/index-server-Dr2Nvcmu.js +5 -0
  618. package/frontend/build/server/chunks/index-server-Dr2Nvcmu.js.map +4 -0
  619. package/frontend/build/server/chunks/index2-DG8XHU5D.js +5 -0
  620. package/frontend/build/server/chunks/index2-DG8XHU5D.js.map +4 -0
  621. package/frontend/build/server/chunks/{reports-Bgi7V5N7.js → reports-DnYbvluH.js} +7 -2
  622. package/frontend/build/server/chunks/{reports-Bgi7V5N7.js.map → reports-DnYbvluH.js.map} +5 -1
  623. package/frontend/build/server/chunks/reports2-DR4XlcJg.js +69 -0
  624. package/frontend/build/server/chunks/reports2-DR4XlcJg.js.map +21 -0
  625. package/frontend/build/server/chunks/repository-D9Derhnk.js +70 -0
  626. package/frontend/build/server/chunks/repository-D9Derhnk.js.map +21 -0
  627. package/frontend/build/server/chunks/{runner-D18Ml_vF.js → runner-DE5sufZH.js} +13 -1
  628. package/frontend/build/server/chunks/runner-DE5sufZH.js.map +21 -0
  629. package/frontend/build/server/chunks/stores-DlkXV308.js +5 -0
  630. package/frontend/build/server/chunks/stores-DlkXV308.js.map +4 -0
  631. package/frontend/build/server/chunks/theme-D_NKm6iI.js +5 -0
  632. package/frontend/build/server/chunks/theme-D_NKm6iI.js.map +4 -0
  633. package/frontend/build/server/index.js +7 -2
  634. package/frontend/build/server/index.js.map +5 -1
  635. package/frontend/build/server/manifest.js +19 -14
  636. package/frontend/build/server/manifest.js.map +5 -1
  637. package/frontend/build/shims.js +5 -0
  638. package/package.json +2 -1
  639. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.BJ-I1gHO.css +0 -18
  640. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.Bhof07Eg.css +0 -18
  641. package/frontend/.svelte-kit/adapter-node/chunks/Button.js +0 -33
  642. package/frontend/.svelte-kit/output/client/_app/immutable/assets/11.BJ-I1gHO.css +0 -18
  643. package/frontend/.svelte-kit/output/client/_app/immutable/assets/8.Bhof07Eg.css +0 -18
  644. package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.BJ-I1gHO.css +0 -18
  645. package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.Bhof07Eg.css +0 -18
  646. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/BKCNyxZ2.js +0 -18
  647. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/BeO8veBd.js +0 -18
  648. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/BgNaeXAp.js +0 -18
  649. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/C3SY6-sX.js +0 -19
  650. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/CVV6HrFb.js +0 -18
  651. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/CstKKb9b.js +0 -18
  652. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/DmRbbcS3.js +0 -23
  653. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/IFIFk6zi.js +0 -18
  654. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/KJdjlibc.js +0 -20
  655. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/ll-VsEGv.js +0 -18
  656. package/frontend/.svelte-kit/output/client/_app/immutable/entry/app.Dz_CBZcR.js +0 -19
  657. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/0.CKD9Qja6.js +0 -23
  658. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/10.BfmGpmC1.js +0 -19
  659. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/11.C7l9HPom.js +0 -18
  660. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/12.Iu9bcGdC.js +0 -19
  661. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/2.BqQhRvYh.js +0 -18
  662. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/3.BZRTKadS.js +0 -18
  663. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/4.BfKoPKdM.js +0 -18
  664. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/5.B4a2uCWn.js +0 -18
  665. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/6.CI508CMS.js +0 -18
  666. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/7.3x_eiof1.js +0 -18
  667. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/8.BfUuob4H.js +0 -29
  668. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/9.BZhCKRJe.js +0 -18
  669. package/frontend/.svelte-kit/output/server/_app/immutable/assets/EmptyState.BdO1q9cJ.css +0 -18
  670. package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.BJ-I1gHO.css +0 -18
  671. package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.Bhof07Eg.css +0 -18
  672. package/frontend/.svelte-kit/output/server/chunks/Button.js +0 -33
  673. package/frontend/build/client/_app/immutable/assets/11.BJ-I1gHO.css +0 -18
  674. package/frontend/build/client/_app/immutable/assets/11.BJ-I1gHO.css.br +0 -0
  675. package/frontend/build/client/_app/immutable/assets/11.BJ-I1gHO.css.gz +0 -0
  676. package/frontend/build/client/_app/immutable/assets/8.Bhof07Eg.css +0 -18
  677. package/frontend/build/client/_app/immutable/assets/8.Bhof07Eg.css.br +0 -0
  678. package/frontend/build/client/_app/immutable/assets/8.Bhof07Eg.css.gz +0 -0
  679. package/frontend/build/client/_app/immutable/assets/ConfirmModal.CdhOYVBb.css.br +0 -0
  680. package/frontend/build/client/_app/immutable/assets/ConfirmModal.CdhOYVBb.css.gz +0 -0
  681. package/frontend/build/client/_app/immutable/assets/ConfirmModal.DmxkcwXv.css.br +0 -0
  682. package/frontend/build/client/_app/immutable/assets/ConfirmModal.DmxkcwXv.css.gz +0 -0
  683. package/frontend/build/client/_app/immutable/assets/EmptyState.BdO1q9cJ.css +0 -18
  684. package/frontend/build/client/_app/immutable/assets/_page.BJ-I1gHO.css +0 -18
  685. package/frontend/build/client/_app/immutable/assets/_page.BJ-I1gHO.css.br +0 -0
  686. package/frontend/build/client/_app/immutable/assets/_page.BJ-I1gHO.css.gz +0 -0
  687. package/frontend/build/client/_app/immutable/assets/_page.Bhof07Eg.css +0 -18
  688. package/frontend/build/client/_app/immutable/assets/_page.Bhof07Eg.css.br +0 -0
  689. package/frontend/build/client/_app/immutable/assets/_page.Bhof07Eg.css.gz +0 -0
  690. package/frontend/build/client/_app/immutable/chunks/B0pefNHY.js.br +0 -0
  691. package/frontend/build/client/_app/immutable/chunks/B0pefNHY.js.gz +0 -0
  692. package/frontend/build/client/_app/immutable/chunks/BFEiffAL.js.br +0 -0
  693. package/frontend/build/client/_app/immutable/chunks/BFEiffAL.js.gz +0 -0
  694. package/frontend/build/client/_app/immutable/chunks/BIRVeCLU.js +0 -18
  695. package/frontend/build/client/_app/immutable/chunks/BIRVeCLU.js.br +0 -20
  696. package/frontend/build/client/_app/immutable/chunks/BIRVeCLU.js.gz +0 -0
  697. package/frontend/build/client/_app/immutable/chunks/BKCNyxZ2.js +0 -18
  698. package/frontend/build/client/_app/immutable/chunks/BKCNyxZ2.js.br +0 -0
  699. package/frontend/build/client/_app/immutable/chunks/BKCNyxZ2.js.gz +0 -0
  700. package/frontend/build/client/_app/immutable/chunks/BLAiBE__.js.br +0 -18
  701. package/frontend/build/client/_app/immutable/chunks/BLAiBE__.js.gz +0 -0
  702. package/frontend/build/client/_app/immutable/chunks/BVMec-1T.js.br +0 -0
  703. package/frontend/build/client/_app/immutable/chunks/BVMec-1T.js.gz +0 -0
  704. package/frontend/build/client/_app/immutable/chunks/BeO8veBd.js +0 -18
  705. package/frontend/build/client/_app/immutable/chunks/BeO8veBd.js.br +0 -0
  706. package/frontend/build/client/_app/immutable/chunks/BeO8veBd.js.gz +0 -0
  707. package/frontend/build/client/_app/immutable/chunks/BgNaeXAp.js +0 -18
  708. package/frontend/build/client/_app/immutable/chunks/BgNaeXAp.js.br +0 -0
  709. package/frontend/build/client/_app/immutable/chunks/BgNaeXAp.js.gz +0 -0
  710. package/frontend/build/client/_app/immutable/chunks/BkKmeUbA.js.br +0 -0
  711. package/frontend/build/client/_app/immutable/chunks/BkKmeUbA.js.gz +0 -0
  712. package/frontend/build/client/_app/immutable/chunks/C3SY6-sX.js +0 -19
  713. package/frontend/build/client/_app/immutable/chunks/C3SY6-sX.js.br +0 -0
  714. package/frontend/build/client/_app/immutable/chunks/C3SY6-sX.js.gz +0 -0
  715. package/frontend/build/client/_app/immutable/chunks/C4eeChIU.js.br +0 -0
  716. package/frontend/build/client/_app/immutable/chunks/C4eeChIU.js.gz +0 -0
  717. package/frontend/build/client/_app/immutable/chunks/C67QNx7Z.js.br +0 -0
  718. package/frontend/build/client/_app/immutable/chunks/C67QNx7Z.js.gz +0 -0
  719. package/frontend/build/client/_app/immutable/chunks/CVV6HrFb.js +0 -18
  720. package/frontend/build/client/_app/immutable/chunks/CVV6HrFb.js.br +0 -0
  721. package/frontend/build/client/_app/immutable/chunks/CVV6HrFb.js.gz +0 -0
  722. package/frontend/build/client/_app/immutable/chunks/CstKKb9b.js +0 -18
  723. package/frontend/build/client/_app/immutable/chunks/CstKKb9b.js.br +0 -0
  724. package/frontend/build/client/_app/immutable/chunks/CstKKb9b.js.gz +0 -0
  725. package/frontend/build/client/_app/immutable/chunks/CxTX_lpP.js.br +0 -0
  726. package/frontend/build/client/_app/immutable/chunks/CxTX_lpP.js.gz +0 -0
  727. package/frontend/build/client/_app/immutable/chunks/CyQ_oBw2.js.br +0 -0
  728. package/frontend/build/client/_app/immutable/chunks/CyQ_oBw2.js.gz +0 -0
  729. package/frontend/build/client/_app/immutable/chunks/DGryW1Vp.js.br +0 -0
  730. package/frontend/build/client/_app/immutable/chunks/DGryW1Vp.js.gz +0 -0
  731. package/frontend/build/client/_app/immutable/chunks/DIx44H9N.js.br +0 -0
  732. package/frontend/build/client/_app/immutable/chunks/DIx44H9N.js.gz +0 -0
  733. package/frontend/build/client/_app/immutable/chunks/DP6QP4L6.js.br +0 -0
  734. package/frontend/build/client/_app/immutable/chunks/DP6QP4L6.js.gz +0 -0
  735. package/frontend/build/client/_app/immutable/chunks/DmRbbcS3.js +0 -23
  736. package/frontend/build/client/_app/immutable/chunks/DmRbbcS3.js.br +0 -0
  737. package/frontend/build/client/_app/immutable/chunks/DmRbbcS3.js.gz +0 -0
  738. package/frontend/build/client/_app/immutable/chunks/IFIFk6zi.js +0 -18
  739. package/frontend/build/client/_app/immutable/chunks/IFIFk6zi.js.br +0 -0
  740. package/frontend/build/client/_app/immutable/chunks/IFIFk6zi.js.gz +0 -0
  741. package/frontend/build/client/_app/immutable/chunks/KJdjlibc.js +0 -20
  742. package/frontend/build/client/_app/immutable/chunks/KJdjlibc.js.br +0 -0
  743. package/frontend/build/client/_app/immutable/chunks/KJdjlibc.js.gz +0 -0
  744. package/frontend/build/client/_app/immutable/chunks/ll-VsEGv.js +0 -18
  745. package/frontend/build/client/_app/immutable/chunks/ll-VsEGv.js.br +0 -0
  746. package/frontend/build/client/_app/immutable/chunks/ll-VsEGv.js.gz +0 -0
  747. package/frontend/build/client/_app/immutable/chunks/raHbXn_9.js.br +0 -0
  748. package/frontend/build/client/_app/immutable/chunks/raHbXn_9.js.gz +0 -0
  749. package/frontend/build/client/_app/immutable/chunks/uFRI_bmR.js.br +0 -0
  750. package/frontend/build/client/_app/immutable/chunks/uFRI_bmR.js.gz +0 -0
  751. package/frontend/build/client/_app/immutable/entry/app.Dz_CBZcR.js +0 -19
  752. package/frontend/build/client/_app/immutable/entry/app.Dz_CBZcR.js.br +0 -0
  753. package/frontend/build/client/_app/immutable/entry/app.Dz_CBZcR.js.gz +0 -0
  754. package/frontend/build/client/_app/immutable/nodes/0.CKD9Qja6.js +0 -23
  755. package/frontend/build/client/_app/immutable/nodes/0.CKD9Qja6.js.br +0 -0
  756. package/frontend/build/client/_app/immutable/nodes/0.CKD9Qja6.js.gz +0 -0
  757. package/frontend/build/client/_app/immutable/nodes/1.Dbck5ct8.js.br +0 -0
  758. package/frontend/build/client/_app/immutable/nodes/1.Dbck5ct8.js.gz +0 -0
  759. package/frontend/build/client/_app/immutable/nodes/10.BfmGpmC1.js +0 -19
  760. package/frontend/build/client/_app/immutable/nodes/10.BfmGpmC1.js.br +0 -0
  761. package/frontend/build/client/_app/immutable/nodes/10.BfmGpmC1.js.gz +0 -0
  762. package/frontend/build/client/_app/immutable/nodes/11.C7l9HPom.js +0 -18
  763. package/frontend/build/client/_app/immutable/nodes/11.C7l9HPom.js.br +0 -0
  764. package/frontend/build/client/_app/immutable/nodes/11.C7l9HPom.js.gz +0 -0
  765. package/frontend/build/client/_app/immutable/nodes/12.Iu9bcGdC.js +0 -19
  766. package/frontend/build/client/_app/immutable/nodes/12.Iu9bcGdC.js.br +0 -0
  767. package/frontend/build/client/_app/immutable/nodes/12.Iu9bcGdC.js.gz +0 -0
  768. package/frontend/build/client/_app/immutable/nodes/2.BqQhRvYh.js +0 -18
  769. package/frontend/build/client/_app/immutable/nodes/2.BqQhRvYh.js.br +0 -0
  770. package/frontend/build/client/_app/immutable/nodes/2.BqQhRvYh.js.gz +0 -0
  771. package/frontend/build/client/_app/immutable/nodes/3.BZRTKadS.js +0 -18
  772. package/frontend/build/client/_app/immutable/nodes/3.BZRTKadS.js.br +0 -0
  773. package/frontend/build/client/_app/immutable/nodes/3.BZRTKadS.js.gz +0 -0
  774. package/frontend/build/client/_app/immutable/nodes/4.BfKoPKdM.js +0 -18
  775. package/frontend/build/client/_app/immutable/nodes/4.BfKoPKdM.js.br +0 -0
  776. package/frontend/build/client/_app/immutable/nodes/4.BfKoPKdM.js.gz +0 -0
  777. package/frontend/build/client/_app/immutable/nodes/5.B4a2uCWn.js +0 -18
  778. package/frontend/build/client/_app/immutable/nodes/5.B4a2uCWn.js.br +0 -0
  779. package/frontend/build/client/_app/immutable/nodes/5.B4a2uCWn.js.gz +0 -0
  780. package/frontend/build/client/_app/immutable/nodes/6.CI508CMS.js +0 -18
  781. package/frontend/build/client/_app/immutable/nodes/6.CI508CMS.js.br +0 -0
  782. package/frontend/build/client/_app/immutable/nodes/6.CI508CMS.js.gz +0 -0
  783. package/frontend/build/client/_app/immutable/nodes/7.3x_eiof1.js +0 -18
  784. package/frontend/build/client/_app/immutable/nodes/7.3x_eiof1.js.br +0 -0
  785. package/frontend/build/client/_app/immutable/nodes/7.3x_eiof1.js.gz +0 -0
  786. package/frontend/build/client/_app/immutable/nodes/8.BfUuob4H.js +0 -29
  787. package/frontend/build/client/_app/immutable/nodes/8.BfUuob4H.js.br +0 -0
  788. package/frontend/build/client/_app/immutable/nodes/8.BfUuob4H.js.gz +0 -0
  789. package/frontend/build/client/_app/immutable/nodes/9.BZhCKRJe.js +0 -18
  790. package/frontend/build/client/_app/immutable/nodes/9.BZhCKRJe.js.br +0 -0
  791. package/frontend/build/client/_app/immutable/nodes/9.BZhCKRJe.js.gz +0 -0
  792. package/frontend/build/server/chunks/0-Dzas6zkl.js.map +0 -17
  793. package/frontend/build/server/chunks/10-UhDQZ5BY.js +0 -26
  794. package/frontend/build/server/chunks/10-UhDQZ5BY.js.map +0 -17
  795. package/frontend/build/server/chunks/11-mTH3nQlX.js +0 -26
  796. package/frontend/build/server/chunks/11-mTH3nQlX.js.map +0 -17
  797. package/frontend/build/server/chunks/12-9mg6kp53.js +0 -26
  798. package/frontend/build/server/chunks/12-9mg6kp53.js.map +0 -17
  799. package/frontend/build/server/chunks/3-DDtaiqu7.js.map +0 -17
  800. package/frontend/build/server/chunks/4-DbdkTAvS.js +0 -26
  801. package/frontend/build/server/chunks/4-DbdkTAvS.js.map +0 -17
  802. package/frontend/build/server/chunks/5-CK5hY2WF.js.map +0 -17
  803. package/frontend/build/server/chunks/6-Cps9fL3Z.js.map +0 -17
  804. package/frontend/build/server/chunks/7-CgUpbaJD.js +0 -26
  805. package/frontend/build/server/chunks/7-CgUpbaJD.js.map +0 -17
  806. package/frontend/build/server/chunks/8-dilaVKYo.js +0 -26
  807. package/frontend/build/server/chunks/8-dilaVKYo.js.map +0 -17
  808. package/frontend/build/server/chunks/9-CUJxgoIN.js.map +0 -17
  809. package/frontend/build/server/chunks/Button-CuacyA7Y.js.map +0 -17
  810. package/frontend/build/server/chunks/ConfirmModal-DBtnLLsU.js.map +0 -17
  811. package/frontend/build/server/chunks/EmptyState-B74-VZ15.js +0 -34
  812. package/frontend/build/server/chunks/EmptyState-B74-VZ15.js.map +0 -17
  813. package/frontend/build/server/chunks/Toast-DDF2wi_5.js +0 -37
  814. package/frontend/build/server/chunks/Toast-DDF2wi_5.js.map +0 -17
  815. package/frontend/build/server/chunks/_layout.svelte-DoJXDbP1.js.map +0 -17
  816. package/frontend/build/server/chunks/_page.svelte-BETENC2e.js.map +0 -17
  817. package/frontend/build/server/chunks/_page.svelte-C0vstY93.js.map +0 -17
  818. package/frontend/build/server/chunks/_page.svelte-CC27sZag.js.map +0 -17
  819. package/frontend/build/server/chunks/_page.svelte-CYkOPxn2.js.map +0 -17
  820. package/frontend/build/server/chunks/_page.svelte-CperUuP9.js +0 -564
  821. package/frontend/build/server/chunks/_page.svelte-CperUuP9.js.map +0 -17
  822. package/frontend/build/server/chunks/_page.svelte-CwrCf0C8.js +0 -65
  823. package/frontend/build/server/chunks/_page.svelte-CwrCf0C8.js.map +0 -17
  824. package/frontend/build/server/chunks/_page.svelte-DALHRFEX.js.map +0 -17
  825. package/frontend/build/server/chunks/_page.svelte-DNNyBx4y.js.map +0 -17
  826. package/frontend/build/server/chunks/_page.svelte-DqWsUJRp.js.map +0 -17
  827. package/frontend/build/server/chunks/_page.svelte-LcJmR5du.js.map +0 -17
  828. package/frontend/build/server/chunks/_page.svelte-gnktnXKP.js.map +0 -17
  829. package/frontend/build/server/chunks/runner-D18Ml_vF.js.map +0 -17
@@ -0,0 +1,23 @@
1
+ /*
2
+ * This file is part of Plum.
3
+ *
4
+ * Plum is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Plum is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Plum. If not, see https://www.gnu.org/licenses/.
16
+ */
17
+
18
+ /*
19
+ * This file is part of Plum.
20
+ * Licensed under the MIT License. See LICENSE file in the project root for details.
21
+ */
22
+
23
+ import{h as Wt,a as i,c as Ue,t as n,s as d,r as Xa,b as ye,e as se}from"../chunks/CMBQQ9RZ.js";import{i as Kt}from"../chunks/CKDtmZUQ.js";import{p as Zt,m as h,o as es,s as l,l as ia,b as as,f as F,c as ts,t as m,x as Pe,g as e,$ as ss,y as je,d as s,j as t,k as a,v as na,n as me}from"../chunks/BAACMRH5.js";import{i as p,s as rs,a as ls}from"../chunks/CgnwuKKO.js";import{e as Be,i as oa,s as ha,t as Ea,a as Ia,f as Da}from"../chunks/TOCyHP97.js";import{b as is,s as re,d as va,D as ns,e as os,r as Xe,f as vs,C as ka,g as ct,h as _t,L as pt,i as ds,j as ut,k as cs,l as _s}from"../chunks/4N1zIH8t.js";import{b as xe}from"../chunks/t-La0hgu.js";import{T as ps,B as Ce,b as qa}from"../chunks/DlNYZJ7K.js";import{s as us}from"../chunks/Bfc47y5P.js";import{b as fs}from"../chunks/CNdcuGR0.js";import{p as hs}from"../chunks/DW_iTTZe.js";import{h as Es,i as ms,j as bs,u as gs,k as ys,l as js,m as xs}from"../chunks/DkNBSlo2.js";import{E as Cs}from"../chunks/C1sukchk.js";import{C as Ts}from"../chunks/3IV-uqHa.js";import{M as ft}from"../chunks/BjUpWNbl.js";import{P as Ls}from"../chunks/w0D4Uzlq.js";import{W as As,X as Ss,Y as $s,T as ht,Z as Is,f as Ja,_ as Ds,h as Oa,$ as ks,d as Et,a0 as Os,a1 as ws,a2 as Ps,a3 as Bs,w as Ms,a4 as Rs,a5 as Ns,a6 as Us,a7 as Fs,a8 as Hs,a9 as Vs,G as zs,aa as mt,ab as Ys,ac as Gs,ad as Xs,ae as qs,af as Js,ag as Qs,ah as Ws,ai as Ks,aj as Zs,ak as er,al as ar,am as tr,an as sr,ao as rr,ap as lr,aq as ir,ar as nr,as as or,at as vr,au as dr,av as bt,aw as cr,ax as gt,ay as _r,az as pr,aA as ur,aB as fr,aC as hr,aD as Er}from"../chunks/BhvHtTRh.js";var mr=n(" <strong> </strong> ",1),br=n("<option> </option>"),gr=n('<p class="form-error svelte-1a8ndj3"> </p>'),yr=n('<div class="form-fields svelte-1a8ndj3"><div class="field svelte-1a8ndj3"><label class="field-label svelte-1a8ndj3" for="tc-title"></label> <input id="tc-title" type="text" class="field-input"></div> <div class="field svelte-1a8ndj3"><label class="field-label svelte-1a8ndj3" for="tc-desc"></label> <textarea id="tc-desc" class="field-input field-textarea svelte-1a8ndj3" rows="2"></textarea></div> <div class="field svelte-1a8ndj3"><label class="field-label svelte-1a8ndj3" for="tc-prio"></label> <select id="tc-prio" class="field-input"></select></div> <!> <div class="modal-actions svelte-1a8ndj3"><!> <!></div></div>'),jr=n("<option> </option>"),xr=n('<div class="form-fields svelte-1a8ndj3"><div class="field svelte-1a8ndj3"><label class="field-label svelte-1a8ndj3" for="es-name"></label> <input id="es-name" type="text" class="field-input"></div> <div class="field svelte-1a8ndj3"><label class="field-label svelte-1a8ndj3" for="es-desc"></label> <textarea id="es-desc" class="field-input field-textarea svelte-1a8ndj3" rows="2"></textarea></div> <div class="field svelte-1a8ndj3"><label class="field-label svelte-1a8ndj3" for="es-prio"></label> <select id="es-prio" class="field-input"></select></div> <div class="modal-actions svelte-1a8ndj3"><!> <!></div></div>'),Cr=n('<div class="loading-state svelte-1a8ndj3"></div>'),Tr=n('<p class="suite-desc svelte-1a8ndj3"> </p>'),Lr=n('<button class="case-search-clear svelte-1a8ndj3"><svg width="10" height="10" 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>'),Ar=n('<div class="case-search svelte-1a8ndj3"><svg class="case-search-icon svelte-1a8ndj3" 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"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg> <input type="search" class="case-search-input svelte-1a8ndj3"> <!></div>'),Sr=n('<span class="case-sort-dir svelte-1a8ndj3"> </span>'),$r=n('<button class="case-sort-chip svelte-1a8ndj3"> <!></button>'),Ir=n('<div class="case-sort-bar svelte-1a8ndj3"></div>'),Dr=n('<div class="case-no-results svelte-1a8ndj3"> <strong> </strong>"</div>'),kr=n('<span class="auto-badge svelte-1a8ndj3"></span>'),Or=n('<div class="case-row svelte-1a8ndj3" role="button" tabindex="0"><div class="case-row-top svelte-1a8ndj3"><span class="id-chip small svelte-1a8ndj3"> </span> <span> </span> <!> <div class="case-row-actions svelte-1a8ndj3"><button class="icon-btn danger small svelte-1a8ndj3"><svg width="11" height="11" 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> <p class="case-title svelte-1a8ndj3"> </p> <span class="case-steps svelte-1a8ndj3"> </span></div>'),wr=n('<div class="cases-pagination svelte-1a8ndj3"><!></div>'),Pr=n('<div class="case-list svelte-1a8ndj3"></div> <!>',1),Br=n('<div class="detail-loading svelte-1a8ndj3"></div>'),Mr=n('<span class="auto-badge svelte-1a8ndj3"></span>'),Rr=n('<button class="icon-btn svelte-1a8ndj3"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"></path><path d="M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"></path></svg></button>'),Nr=n("<option> </option>"),Ur=n('<div class="edit-case-form svelte-1a8ndj3"><div class="field svelte-1a8ndj3"><label class="field-label svelte-1a8ndj3" for="edit-title"></label> <input id="edit-title" type="text" class="field-input"></div> <div class="field svelte-1a8ndj3"><label class="field-label svelte-1a8ndj3" for="edit-desc"></label> <textarea id="edit-desc" class="field-input field-textarea svelte-1a8ndj3" rows="2"></textarea></div> <div class="field svelte-1a8ndj3"><label class="field-label svelte-1a8ndj3" for="edit-prio"></label> <select id="edit-prio" class="field-input"></select></div> <div class="modal-actions svelte-1a8ndj3"><!> <!></div></div>'),Fr=n('<p class="detail-case-desc svelte-1a8ndj3"> </p>'),Hr=n("<span></span>"),Vr=n('<div class="case-history-bars svelte-1a8ndj3"></div>'),zr=n('<h2 class="detail-case-title svelte-1a8ndj3"> </h2> <!> <p class="detail-meta svelte-1a8ndj3"> </p> <!>',1),Yr=n("<!> <!>",1),Gr=n('<button class="add-step-btn svelte-1a8ndj3"></button>'),Xr=n('<p class="no-steps svelte-1a8ndj3"></p>'),qr=n('<div class="step-editor-row svelte-1a8ndj3"><span class="step-num svelte-1a8ndj3"></span> <div class="step-editor-fields svelte-1a8ndj3"><div class="step-field svelte-1a8ndj3"><label class="step-field-label svelte-1a8ndj3"></label> <input type="text" class="field-input"></div> <div class="step-field svelte-1a8ndj3"><label class="step-field-label svelte-1a8ndj3"></label> <input type="text" class="field-input"></div> <div class="step-field svelte-1a8ndj3"><label class="step-field-label svelte-1a8ndj3"></label> <input type="text" class="field-input"></div></div> <button class="icon-btn danger small svelte-1a8ndj3"><svg width="11" height="11" viewBox="0 0 14 14" fill="none"><path d="M1 1l12 12M13 1L1 13" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg></button></div>'),Jr=n('<div class="steps-editor svelte-1a8ndj3"><!></div>'),Qr=n('<div class="steps-table-row svelte-1a8ndj3"><span class="col-num svelte-1a8ndj3"></span> <span class="col-action"> </span> <span class="col-data"> </span> <span class="col-expected"> </span></div>'),Wr=n('<div class="steps-table svelte-1a8ndj3"><div class="steps-table-head svelte-1a8ndj3"><span class="col-num svelte-1a8ndj3">#</span> <span class="col-action"></span> <span class="col-data"></span> <span class="col-expected"></span></div> <!></div>'),Kr=n('<p class="no-steps svelte-1a8ndj3"></p>'),Zr=n('<div class="steps-section svelte-1a8ndj3"><div class="steps-toolbar svelte-1a8ndj3"><!> <!></div> <!></div>'),el=n('<p class="no-steps svelte-1a8ndj3"></p>'),al=n('<a target="_blank" rel="noopener noreferrer" class="history-source history-link svelte-1a8ndj3"></a>'),tl=n('<span class="history-source history-missing svelte-1a8ndj3"></span>'),sl=n('<a target="_blank" rel="noopener noreferrer" class="history-source history-link svelte-1a8ndj3"> </a>'),rl=n('<span class="history-source history-missing svelte-1a8ndj3"></span>'),ll=n('<p class="history-notes svelte-1a8ndj3"> </p>'),il=n('<div class="history-row svelte-1a8ndj3"><span> </span> <div class="history-info svelte-1a8ndj3"><!> <span class="history-by svelte-1a8ndj3"> </span> <span class="history-date svelte-1a8ndj3"> </span></div> <!></div>'),nl=n('<div class="history-list svelte-1a8ndj3"></div>'),ol=n('<div class="history-section svelte-1a8ndj3"><!></div>'),vl=n('<div class="detail-header svelte-1a8ndj3"><div class="detail-title-row svelte-1a8ndj3"><span class="id-chip large svelte-1a8ndj3"> </span> <span> </span> <!> <div class="detail-header-actions svelte-1a8ndj3"><!> <button class="icon-btn svelte-1a8ndj3"><svg width="13" height="13" viewBox="0 0 14 14" fill="none"><path d="M1 1l12 12M13 1L1 13" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg></button></div></div> <!></div> <div class="detail-tabs svelte-1a8ndj3"><button class="detail-tab svelte-1a8ndj3"></button> <button class="detail-tab svelte-1a8ndj3"></button></div> <!>',1),dl=n('<div class="detail-panel svelte-1a8ndj3"><!></div>'),cl=n('<div class="breadcrumb svelte-1a8ndj3"><a href="/test-repository" class="bc-link svelte-1a8ndj3"></a> <span class="bc-sep svelte-1a8ndj3">›</span> <span class="bc-current svelte-1a8ndj3"> </span></div> <div class="suite-header svelte-1a8ndj3"><div class="suite-title-row svelte-1a8ndj3"><span class="id-chip large svelte-1a8ndj3"> </span> <span> </span> <h1 class="suite-title svelte-1a8ndj3"> </h1> <button class="icon-btn svelte-1a8ndj3"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"></path><path d="M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"></path></svg></button></div> <!> <div class="suite-meta svelte-1a8ndj3"><span> </span> <span class="meta-sep svelte-1a8ndj3">·</span> <span> </span></div></div> <div class="workspace svelte-1a8ndj3"><div class="cases-panel svelte-1a8ndj3"><div class="panel-toolbar svelte-1a8ndj3"><h2 class="panel-title svelte-1a8ndj3"></h2> <!></div> <!> <!> <!></div> <!></div>',1),_l=n("<!> <!> <!> <!> <!>",1);function Il(yt,Qa){Zt(Qa,!1);const[jt,xt]=rs(),Ct=()=>ls(hs,"$page",jt),da=h(),ma=h(),ca=h(),wa=h(),Wa=h(),Pa=Ct().params.id,Ba=["Critical","High","Medium","Low"];let v=h(null),Ka=h(!0),Ma=h(null),_a=h(!1),q=h({title:"",description:"",priority:"Medium"}),ba=h(!1),qe=h(""),o=h(null),pa=h(!1),Fe=h(!1),le=h({}),ga=h(!1),He=h(!1),J=h([]),ya=h(!1),Je=h(!1),Ve=h(null),ja=h(!1),Te=h(""),ze=h(1),H=h((()=>{try{const r=sessionStorage.getItem("plum:repo:cases:sort");if(r)return JSON.parse(r)}catch{}return{by:"createdAt",order:"asc"}})());const Za={Critical:0,High:1,Medium:2,Low:3};function Tt(r){e(H).by===r?je(H,e(H).order=e(H).order==="asc"?"desc":"asc"):l(H,{by:r,order:"asc"});try{sessionStorage.setItem("plum:repo:cases:sort",JSON.stringify(e(H)))}catch{}}let ua=h(!1),ie=h({}),xa=h(!1);function de(r,c){l(Ma,{type:r,message:c}),setTimeout(()=>l(Ma,null),is)}es(async()=>{try{l(v,await Es(Pa))}catch{de("error",ws)}finally{l(Ka,!1)}});async function Lt(){if(!e(q).title.trim()){l(qe,Ms);return}l(qe,""),l(ba,!0);try{const r=await bs({suiteId:Pa,...e(q)});l(v,{...e(v),cases:[...e(v).cases,r],_count:{cases:e(v)._count.cases+1}}),l(ze,Math.ceil(e(v).cases.length/va)),l(_a,!1),l(q,{title:"",description:"",priority:"Medium"}),de("success",Rs(r.displayId))}catch(r){l(qe,r.message)}finally{l(ba,!1)}}async function et(r){l(o,null),l(pa,!0),l(Je,!1),l(Fe,!1),l(He,!1);try{l(o,await ys(r.id)),l(J,(e(o).steps??[]).map(c=>({...c})))}catch{de("error",Ws)}finally{l(pa,!1)}}function At(){l(le,{title:e(o).title,description:e(o).description,priority:e(o).priority}),l(Fe,!0)}async function St(){l(ga,!0);try{const r=await js(e(o).id,e(le));l(o,{...e(o),...r}),l(v,{...e(v),cases:e(v).cases.map(c=>c.id===e(o).id?{...c,...r}:c)}),l(Fe,!1),de("success",ar)}catch(r){de("error",r.message)}finally{l(ga,!1)}}function $t(){l(J,[...e(J),{action:"",testData:"",expectedOutput:""}])}function It(r){l(J,e(J).filter((c,T)=>T!==r))}async function Dt(){l(ya,!0);try{const r=await xs(e(o).id,e(J));l(o,{...e(o),steps:r}),l(J,r.map(c=>({...c}))),l(He,!1),de("success",nr)}catch(r){de("error",r.message)}finally{l(ya,!1)}}async function kt(r,c){var T;try{await ms(r),l(v,{...e(v),cases:e(v).cases.filter(Q=>Q.id!==r),_count:{cases:e(v)._count.cases-1}}),((T=e(o))==null?void 0:T.id)===r&&l(o,null),de("success",Os(c))}catch{de("error",Ps)}l(Ve,null),l(ja,!1)}async function Ot(){l(xa,!0);try{const r=await gs(Pa,e(ie));l(v,{...e(v),...r}),l(ua,!1),de("success",Ns)}catch(r){de("error",r.message)}finally{l(xa,!1)}}function Ra(r){return(r==null?void 0:r.toLowerCase())??"medium"}function at(r){return r==="pass"?"pass":r==="fail"?"fail":r==="blocked"?"warn":"muted"}function wt(r){return!r||r.length===0?[]:r.slice(0,_s).slice().reverse()}ia(()=>e(Te),()=>{l(da,e(Te).trim().toLowerCase())}),ia(()=>(e(v),e(da)),()=>{var r;l(ma,(r=e(v))!=null&&r.cases?e(v).cases.filter(c=>!e(da)||c.displayId.toLowerCase().includes(e(da))||c.title.toLowerCase().includes(e(da))):[])}),ia(()=>(e(ma),e(H)),()=>{l(ca,[...e(ma)].sort((r,c)=>{const T=e(H).order==="asc"?1:-1;return e(H).by==="displayId"?T*r.displayId.localeCompare(c.displayId):e(H).by==="name"?T*r.title.localeCompare(c.title):e(H).by==="priority"?T*((Za[r.priority]??4)-(Za[c.priority]??4)):T*(new Date(r.createdAt)-new Date(c.createdAt))}))}),ia(()=>(e(ca),va),()=>{l(wa,Math.ceil(e(ca).length/va))}),ia(()=>e(Te),()=>{e(Te)&&l(ze,1)}),ia(()=>(e(ca),e(ze),va),()=>{l(Wa,e(ca).slice((e(ze)-1)*va,e(ze)*va))}),as(),Kt();var tt=_l();Wt(r=>{m(c=>ss.title=c,[()=>As(e(v))],Pe)});var st=F(tt);ps(st,{get toast(){return e(Ma)}});var rt=t(st,2);Ts(rt,{title:Ss,get open(){return e(ja)},set open(r){l(ja,r)},$$events:{confirm:()=>{var r,c;return kt((r=e(Ve))==null?void 0:r.id,(c=e(Ve))==null?void 0:c.displayId)}},children:(r,c)=>{var T=Ue(),Q=F(T);{var ce=W=>{var V=mr(),_e=F(V);_e.nodeValue=`${ns} `;var K=t(_e),pe=s(K);a(K);var ue=t(K,1,!0);ue.nodeValue=os,m(()=>d(pe,`${e(Ve).displayId??""} — ${e(Ve).title??""}`)),i(W,V)};p(Q,W=>{e(Ve)&&W(ce)})}i(r,T)},$$slots:{default:!0},$$legacy:!0});var lt=t(rt,2);ft(lt,{title:$s,get open(){return e(_a)},set open(r){l(_a,r)},children:(r,c)=>{var T=yr(),Q=s(T),ce=s(Q);ce.textContent=ht;var W=t(ce,2);Xe(W),re(W,"placeholder",Is),a(Q);var V=t(Q,2),_e=s(V);_e.textContent=Ja;var K=t(_e,2);Xa(K),re(K,"placeholder",Ds),a(V);var pe=t(V,2),ue=s(pe);ue.textContent=Oa;var fe=t(ue,2);m(()=>{e(q),na(()=>{})}),Be(fe,5,()=>Ba,oa,(f,M)=>{var O=br(),Ca={},Ta=s(O,!0);a(O),m(()=>{Ca!==(Ca=e(M))&&(O.value=(O.__value=e(M))==null?"":e(M)),d(Ta,e(M))}),i(f,O)}),a(fe),a(pe);var Le=t(pe,2);{var Qe=f=>{var M=gr(),O=s(M,!0);a(M),m(()=>d(O,e(qe))),i(f,M)};p(Le,f=>{e(qe)&&f(Qe)})}var Ae=t(Le,2),B=s(Ae);Ce(B,{get disabled(){return e(ba)},$$events:{click:Lt},children:(f,M)=>{me();var O=ye();m(()=>d(O,e(ba)?vs:Bs)),i(f,O)},$$slots:{default:!0}});var ne=t(B,2);Ce(ne,{variant:"ghost",$$events:{click:()=>{l(_a,!1),l(qe,"")}},children:(f,M)=>{me();var O=ye();O.nodeValue=ka,i(f,O)},$$slots:{default:!0}}),a(Ae),a(T),xe(W,()=>e(q).title,f=>je(q,e(q).title=f)),xe(K,()=>e(q).description,f=>je(q,e(q).description=f)),qa(fe,()=>e(q).priority,f=>je(q,e(q).priority=f)),i(r,T)},$$slots:{default:!0},$$legacy:!0});var it=t(lt,2);ft(it,{title:ks,get open(){return e(ua)},set open(r){l(ua,r)},children:(r,c)=>{var T=xr(),Q=s(T),ce=s(Q);ce.textContent=Et;var W=t(ce,2);Xe(W),a(Q);var V=t(Q,2),_e=s(V);_e.textContent=Ja;var K=t(_e,2);Xa(K),a(V);var pe=t(V,2),ue=s(pe);ue.textContent=Oa;var fe=t(ue,2);m(()=>{e(ie),na(()=>{})}),Be(fe,5,()=>Ba,oa,(B,ne)=>{var f=jr(),M={},O=s(f,!0);a(f),m(()=>{M!==(M=e(ne))&&(f.value=(f.__value=e(ne))==null?"":e(ne)),d(O,e(ne))}),i(B,f)}),a(fe),a(pe);var Le=t(pe,2),Qe=s(Le);Ce(Qe,{get disabled(){return e(xa)},$$events:{click:Ot},children:(B,ne)=>{me();var f=ye();m(()=>d(f,e(xa)?ct:_t)),i(B,f)},$$slots:{default:!0}});var Ae=t(Qe,2);Ce(Ae,{variant:"ghost",$$events:{click:()=>l(ua,!1)},children:(B,ne)=>{me();var f=ye();f.nodeValue=ka,i(B,f)},$$slots:{default:!0}}),a(Le),a(T),xe(W,()=>e(ie).name,B=>je(ie,e(ie).name=B)),xe(K,()=>e(ie).description,B=>je(ie,e(ie).description=B)),qa(fe,()=>e(ie).priority,B=>je(ie,e(ie).priority=B)),i(r,T)},$$slots:{default:!0},$$legacy:!0});var Pt=t(it,2);{var Bt=r=>{var c=Cr();c.textContent=pt,i(r,c)},Mt=r=>{var c=Ue(),T=F(c);{var Q=ce=>{var W=cl(),V=F(W),_e=s(V);_e.textContent=Us;var K=t(_e,4),pe=s(K);a(K),a(V);var ue=t(V,2),fe=s(ue),Le=s(fe),Qe=s(Le,!0);a(Le);var Ae=t(Le,2),B=s(Ae,!0);a(Ae);var ne=t(Ae,2),f=s(ne,!0);a(ne);var M=t(ne,2);re(M,"title",Fs),a(fe);var O=t(fe,2);{var Ca=b=>{var L=Tr(),P=s(L,!0);a(L),m(()=>d(P,e(v).description)),i(b,L)};p(O,b=>{e(v).description&&b(Ca)})}var Ta=t(O,2),Na=s(Ta),Rt=s(Na,!0);a(Na);var nt=t(Na,4),Nt=s(nt,!0);a(nt),a(Ta),a(ue);var Ua=t(ue,2),Fa=s(Ua),Ha=s(Fa),ot=s(Ha);ot.textContent=Hs;var Ut=t(ot,2);Ce(Ut,{size:"sm",$$events:{click:()=>l(_a,!0)},children:(b,L)=>{me();var P=ye();P.nodeValue=Vs,i(b,P)},$$slots:{default:!0}}),a(Ha);var vt=t(Ha,2);{var Ft=b=>{var L=Ar(),P=t(s(L),2);Xe(P),re(P,"placeholder",Ys);var Me=t(P,2);{var Se=S=>{var A=Lr();re(A,"aria-label",ds),se("click",A,()=>l(Te,"")),i(S,A)};p(Me,S=>{e(Te)&&S(Se)})}a(L),xe(P,()=>e(Te),S=>l(Te,S)),i(b,L)};p(vt,b=>{e(v).cases.length>0&&b(Ft)})}var dt=t(vt,2);{var Ht=b=>{var L=Ir();Be(L,5,()=>[["createdAt",Gs],["displayId","ID"],["name",Et],["priority",Oa]],oa,(P,Me)=>{let Se=()=>e(Me)[0],S=()=>e(Me)[1];var A=$r(),he=s(A),Re=t(he);{var $e=z=>{var y=Sr(),Y=s(y,!0);a(y),m(()=>d(Y,e(H).order==="asc"?"↑":"↓")),i(z,y)};p(Re,z=>{e(H).by===Se()&&z($e)})}a(A),m(()=>{Ea(A,"active",e(H).by===Se()),d(he,`${S()??""} `)}),se("click",A,()=>Tt(Se())),i(P,A)}),a(L),i(b,L)};p(dt,b=>{e(v).cases.length>0&&b(Ht)})}var Vt=t(dt,2);{var zt=b=>{Cs(b,{title:qs,description:Xs})},Yt=b=>{var L=Ue(),P=F(L);{var Me=S=>{var A=Dr(),he=s(A);he.nodeValue=`${Js} "`;var Re=t(he),$e=s(Re,!0);a(Re),me(),a(A),m(()=>d($e,e(Te))),i(S,A)},Se=S=>{var A=Pr(),he=F(A);Be(he,5,()=>e(Wa),z=>z.id,(z,y)=>{var Y=Or(),Ie=s(Y),fa=s(Ie),We=s(fa,!0);a(fa);var Ke=t(fa,2),La=s(Ke,!0);a(Ke);var Aa=t(Ke,2);{var Sa=Z=>{var De=kr();De.textContent=ut,i(Z,De)};p(Aa,Z=>{e(y).isAutomated&&Z(Sa)})}var Ze=t(Aa,2),Va=s(Ze);a(Ze),a(Ie);var ea=t(Ie,2),za=s(ea,!0);a(ea);var $a=t(ea,2),Ya=s($a,!0);a($a),a(Y),m((Z,De)=>{var aa;Ea(Y,"selected",((aa=e(o))==null?void 0:aa.id)===e(y).id),d(We,e(y).displayId),ha(Ke,`priority-badge small ${Z??""} svelte-1a8ndj3`),d(La,e(y).priority),d(za,e(y).title),d(Ya,De)},[()=>Ra(e(y).priority),()=>Qs(e(y)._count.steps)],Pe),se("click",Va,()=>{l(Ve,{id:e(y).id,displayId:e(y).displayId,title:e(y).title}),l(ja,!0)}),se("click",Ze,us(function(Z){fs.call(this,Qa,Z)})),se("click",Y,()=>et(e(y))),se("keydown",Y,Z=>Z.key==="Enter"&&et(e(y))),i(z,Y)}),a(he);var Re=t(he,2);{var $e=z=>{var y=wr(),Y=s(y);Ls(Y,{get current(){return e(ze)},get total(){return e(wa)},$$events:{change:Ie=>l(ze,Ie.detail)}}),a(y),i(z,y)};p(Re,z=>{e(wa)>1&&z($e)})}i(S,A)};p(P,S=>{e(ma).length===0?S(Me):S(Se,!1)},!0)}i(b,L)};p(Vt,b=>{e(v).cases.length===0?b(zt):b(Yt,!1)})}a(Fa);var Gt=t(Fa,2);{var Xt=b=>{var L=dl(),P=s(L);{var Me=S=>{var A=Br();A.textContent=pt,i(S,A)},Se=S=>{var A=Ue(),he=F(A);{var Re=$e=>{var z=vl(),y=F(z),Y=s(y),Ie=s(Y),fa=s(Ie,!0);a(Ie);var We=t(Ie,2),Ke=s(We,!0);a(We);var La=t(We,2);{var Aa=x=>{var j=Mr();j.textContent=ut,i(x,j)};p(La,x=>{e(o).isAutomated&&x(Aa)})}var Sa=t(La,2),Ze=s(Sa);{var Va=x=>{var j=Rr();re(j,"title",er),se("click",j,At),i(x,j)};p(Ze,x=>{e(Fe)||x(Va)})}var ea=t(Ze,2);re(ea,"title",cs),a(Sa),a(Y);var za=t(Y,2);{var $a=x=>{var j=Ur(),ee=s(j),ke=s(ee);ke.textContent=ht;var Oe=t(ke,2);Xe(Oe),a(ee);var G=t(ee,2),U=s(G);U.textContent=Ja;var be=t(U,2);Xa(be),a(G);var $=t(G,2),ge=s($);ge.textContent=Oa;var I=t(ge,2);m(()=>{e(le),na(()=>{})}),Be(I,5,()=>Ba,oa,(g,D)=>{var _=Nr(),C={},oe=s(_,!0);a(_),m(()=>{C!==(C=e(D))&&(_.value=(_.__value=e(D))==null?"":e(D)),d(oe,e(D))}),i(g,_)}),a(I),a($);var u=t($,2),E=s(u);Ce(E,{size:"sm",get disabled(){return e(ga)},$$events:{click:St},children:(g,D)=>{me();var _=ye();m(()=>d(_,e(ga)?ct:_t)),i(g,_)},$$slots:{default:!0}});var R=t(E,2);Ce(R,{size:"sm",variant:"ghost",$$events:{click:()=>l(Fe,!1)},children:(g,D)=>{me();var _=ye();_.nodeValue=ka,i(g,_)},$$slots:{default:!0}}),a(u),a(j),xe(Oe,()=>e(le).title,g=>je(le,e(le).title=g)),xe(be,()=>e(le).description,g=>je(le,e(le).description=g)),qa(I,()=>e(le).priority,g=>je(le,e(le).priority=g)),Ia(3,j,()=>Da,()=>({y:-4,duration:150})),i(x,j)},Ya=x=>{var j=zr(),ee=F(j),ke=s(ee,!0);a(ee);var Oe=t(ee,2);{var G=I=>{var u=Fr(),E=s(u,!0);a(u),m(()=>d(E,e(o).description)),i(I,u)};p(Oe,I=>{e(o).description&&I(G)})}var U=t(Oe,2),be=s(U,!0);a(U);var $=t(U,2);{var ge=I=>{var u=Vr();Be(u,5,()=>wt(e(o).history),E=>E.id,(E,R)=>{var g=Hr();m((D,_)=>{ha(g,`history-bar ${D??""} svelte-1a8ndj3`),re(g,"title",`${e(R).result??""} — ${_??""}`)},[()=>at(e(R).result),()=>new Date(e(R).executedAt).toLocaleString()],Pe),i(E,g)}),a(u),i(I,u)};p($,I=>{e(o).history&&e(o).history.length>0&&I(ge)})}m(I=>{d(ke,e(o).title),d(be,I)},[()=>mt(e(o).createdBy.name)],Pe),i(x,j)};p(za,x=>{e(Fe)?x($a):x(Ya,!1)})}a(y);var Z=t(y,2),De=s(Z);De.textContent=Ks;var aa=t(De,2);aa.textContent=Zs,a(Z);var qt=t(Z,2);{var Jt=x=>{var j=Zr(),ee=s(j),ke=s(ee);{var Oe=u=>{Ce(u,{size:"sm",variant:"ghost",$$events:{click:()=>l(He,!0)},children:(E,R)=>{me();var g=ye();g.nodeValue=tr,i(E,g)},$$slots:{default:!0}})},G=u=>{var E=Yr(),R=F(E);Ce(R,{size:"sm",get disabled(){return e(ya)},$$events:{click:Dt},children:(D,_)=>{me();var C=ye();m(oe=>d(C,oe),[()=>sr(e(ya))],Pe),i(D,C)},$$slots:{default:!0}});var g=t(R,2);Ce(g,{size:"sm",variant:"ghost",$$events:{click:()=>{l(He,!1),l(J,(e(o).steps??[]).map(D=>({...D})))}},children:(D,_)=>{me();var C=ye();C.nodeValue=ka,i(D,C)},$$slots:{default:!0}}),i(u,E)};p(ke,u=>{e(He)?u(G,!1):u(Oe)})}var U=t(ke,2);{var be=u=>{var E=Gr();E.textContent=rr,se("click",E,$t),i(u,E)};p(U,u=>{e(He)&&u(be)})}a(ee);var $=t(ee,2);{var ge=u=>{var E=Jr(),R=s(E);{var g=_=>{var C=Xr();C.textContent=or,i(_,C)},D=_=>{var C=Ue(),oe=F(C);Be(oe,1,()=>e(J),oa,(ta,Ee,sa)=>{var w=qr(),k=s(w);k.textContent=sa+1;var X=t(k,2),Ye=s(X),Ne=s(Ye);Ne.textContent=vr;var ae=t(Ne,2);Xe(ae),re(ae,"placeholder",dr),a(Ye);var te=t(Ye,2),ra=s(te);ra.textContent=bt;var we=t(ra,2);Xe(we),re(we,"placeholder",cr),a(te);var la=t(te,2),ve=s(la);ve.textContent=gt;var N=t(ve,2);Xe(N),re(N,"placeholder",_r),a(la),a(X);var Ga=t(X,2);a(w),xe(ae,()=>e(Ee).action,Ge=>(e(Ee).action=Ge,na(()=>e(J)))),xe(we,()=>e(Ee).testData,Ge=>(e(Ee).testData=Ge,na(()=>e(J)))),xe(N,()=>e(Ee).expectedOutput,Ge=>(e(Ee).expectedOutput=Ge,na(()=>e(J)))),se("click",Ga,()=>It(sa)),i(ta,w)}),i(_,C)};p(R,_=>{e(J).length===0?_(g):_(D,!1)})}a(E),i(u,E)},I=u=>{var E=Ue(),R=F(E);{var g=_=>{var C=Wr(),oe=s(C),ta=t(s(oe),2);ta.textContent=pr;var Ee=t(ta,2);Ee.textContent=bt;var sa=t(Ee,2);sa.textContent=gt,a(oe);var w=t(oe,2);Be(w,1,()=>e(o).steps,oa,(k,X,Ye)=>{var Ne=Qr(),ae=s(Ne);ae.textContent=Ye+1;var te=t(ae,2),ra=s(te,!0);a(te);var we=t(te,2),la=s(we,!0);a(we);var ve=t(we,2),N=s(ve,!0);a(ve),a(Ne),m(()=>{d(ra,e(X).action),d(la,e(X).testData||"—"),d(N,e(X).expectedOutput||"—")}),i(k,Ne)}),a(C),i(_,C)},D=_=>{var C=Kr();C.textContent=ur,i(_,C)};p(R,_=>{e(o).steps&&e(o).steps.length>0?_(g):_(D,!1)},!0)}i(u,E)};p($,u=>{e(He)?u(ge):u(I,!1)})}a(j),Ia(3,j,()=>Da,()=>({y:4,duration:140})),i(x,j)},Qt=x=>{var j=ol(),ee=s(j);{var ke=G=>{var U=el();U.textContent=lr,i(G,U)},Oe=G=>{var U=nl();Be(U,5,()=>e(o).history,be=>be.id,(be,$)=>{var ge=il(),I=s(ge),u=s(I,!0);a(I);var E=t(I,2),R=s(E);{var g=w=>{var k=al();k.textContent=ir,m(()=>re(k,"href",`/reports/${e($).report.id??""}`)),i(w,k)},D=w=>{var k=Ue(),X=F(k);{var Ye=ae=>{var te=tl();te.textContent=fr,i(ae,te)},Ne=ae=>{var te=Ue(),ra=F(te);{var we=ve=>{var N=sl(),Ga=s(N,!0);a(N),m(Ge=>{re(N,"href",`/test-repository/runs/${e($).run.id??""}`),d(Ga,Ge)},[()=>hr(e($).run.title)],Pe),i(ve,N)},la=ve=>{var N=rl();N.textContent=Er,i(ve,N)};p(ra,ve=>{var N;(N=e($).run)!=null&&N.id?ve(we):ve(la,!1)},!0)}i(ae,te)};p(X,ae=>{e($).source==="automated"?ae(Ye):ae(Ne,!1)},!0)}i(w,k)};p(R,w=>{var k;e($).source==="automated"&&((k=e($).report)!=null&&k.id)?w(g):w(D,!1)})}var _=t(R,2),C=s(_,!0);a(_);var oe=t(_,2),ta=s(oe,!0);a(oe),a(E);var Ee=t(E,2);{var sa=w=>{var k=ll(),X=s(k,!0);a(k),m(()=>d(X,e($).notes)),i(w,k)};p(Ee,w=>{e($).notes&&w(sa)})}a(ge),m((w,k)=>{var X;ha(I,`result-badge ${w??""} svelte-1a8ndj3`),d(u,e($).result),d(C,((X=e($).executedBy)==null?void 0:X.name)??"—"),d(ta,k)},[()=>at(e($).result),()=>new Date(e($).executedAt).toLocaleString()],Pe),i(be,ge)}),a(U),i(G,U)};p(ee,G=>{!e(o).history||e(o).history.length===0?G(ke):G(Oe,!1)})}a(j),Ia(3,j,()=>Da,()=>({y:4,duration:140})),i(x,j)};p(qt,x=>{e(Je)?x(Qt,!1):x(Jt)})}m(x=>{d(fa,e(o).displayId),ha(We,`priority-badge ${x??""} svelte-1a8ndj3`),d(Ke,e(o).priority),Ea(De,"active",!e(Je)),Ea(aa,"active",e(Je))},[()=>Ra(e(o).priority)],Pe),se("click",ea,()=>{l(o,null),l(Fe,!1)}),se("click",De,()=>l(Je,!1)),se("click",aa,()=>l(Je,!0)),i($e,z)};p(he,$e=>{e(o)&&$e(Re)},!0)}i(S,A)};p(P,S=>{e(pa)?S(Me):S(Se,!1)})}a(L),Ia(3,L,()=>Da,()=>({x:20,duration:200})),i(b,L)};p(Gt,b=>{(e(o)||e(pa))&&b(Xt)})}a(Ua),m((b,L,P)=>{d(pe,`${e(v).displayId??""} — ${e(v).name??""}`),d(Qe,e(v).displayId),ha(Ae,`priority-badge ${b??""} svelte-1a8ndj3`),d(B,e(v).priority),d(f,e(v).name),d(Rt,L),d(Nt,P),Ea(Ua,"split",e(o)||e(pa))},[()=>Ra(e(v).priority),()=>zs(e(v)._count.cases),()=>mt(e(v).createdBy.name)],Pe),se("click",M,()=>{l(ie,{name:e(v).name,description:e(v).description,priority:e(v).priority}),l(ua,!0)}),i(ce,W)};p(T,ce=>{e(v)&&ce(Q)},!0)}i(r,c)};p(Pt,r=>{e(Ka)?r(Bt):r(Mt,!1)})}i(yt,tt),ts(),xt()}export{Il as component};
@@ -0,0 +1,23 @@
1
+ /*
2
+ * This file is part of Plum.
3
+ *
4
+ * Plum is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Plum is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Plum. If not, see https://www.gnu.org/licenses/.
16
+ */
17
+
18
+ /*
19
+ * This file is part of Plum.
20
+ * Licensed under the MIT License. See LICENSE file in the project root for details.
21
+ */
22
+
23
+ import{h as lt,a as v,t as d,b as Me,s as f,e as P}from"../chunks/CMBQQ9RZ.js";import{i as it}from"../chunks/CKDtmZUQ.js";import{p as nt,o as vt,an as ct,l as j,b as ut,f as dt,g as e,c as ht,s as _,$ as ft,d as r,j as n,m as C,k as s,t as m,x as y}from"../chunks/BAACMRH5.js";import{i as I,s as pt,a as bt}from"../chunks/CgnwuKKO.js";import{e as A,i as L,t as he,a as _t,g as mt}from"../chunks/TOCyHP97.js";import{A as gt,p as fe,s as h,r as xt,c as yt,v as wt}from"../chunks/4N1zIH8t.js";import{b as Et}from"../chunks/t-La0hgu.js";import{t as Ct,e as At,f as Lt}from"../chunks/DW85KPAh.js";import{s as Re}from"../chunks/D2gYTmAA.js";import{E as $t}from"../chunks/C1sukchk.js";async function St(){const l=await fetch(`${gt}/tests`),{suites:w}=await l.json();return w.suites??[]}const Tt="Automated Tests — Plum",kt="Tests",It="Search suites or tests…",Bt="No test suites found.",Ne="Run suite",Mt="outline",Rt="Hide",Nt="Steps",Ot="Examples",Pt=l=>`No tests matching "${l}"`,Dt=l=>`Copied ${l}`,Ht=l=>`Copy ${l}`,Ut=l=>`Run ${l}`,Gt=l=>`Run ${l}`,Vt=(l,w)=>`${l} of ${w} tests`,jt=l=>`${l} ${fe(l,"test")}`,qt=(l,w)=>`${l} ${fe(l,"suite")} · ${w} ${fe(w,"test")}`;var zt=d('<button class="search-clear svelte-17hubf3"><svg width="12" height="12" viewBox="0 0 14 14" fill="none" class="svelte-17hubf3"><path d="M1 1l12 12M13 1L1 13" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" class="svelte-17hubf3"></path></svg></button>'),Ft=d('<button class="id-pill svelte-17hubf3"> </button>'),Xt=d('<button class="id-pill svelte-17hubf3"> </button>'),Yt=d('<span class="outline-badge svelte-17hubf3"></span>'),Jt=d('<button class="steps-toggle svelte-17hubf3"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" class="svelte-17hubf3"><polyline points="9 18 15 12 9 6" class="svelte-17hubf3"></polyline></svg> </button>'),Kt=d('<li class="step svelte-17hubf3"> </li>'),Qt=d('<th class="svelte-17hubf3"> </th>'),Wt=d('<td class="svelte-17hubf3"> </td>'),Zt=d('<tr class="svelte-17hubf3"></tr>'),es=d('<div class="examples svelte-17hubf3"><span class="examples-label svelte-17hubf3"></span> <div class="examples-table-wrap svelte-17hubf3"><table class="examples-table svelte-17hubf3"><thead class="svelte-17hubf3"><tr class="svelte-17hubf3"></tr></thead><tbody class="svelte-17hubf3"></tbody></table></div></div>'),ts=d('<div class="steps svelte-17hubf3"><ol class="step-list svelte-17hubf3"></ol> <!></div>'),ss=d('<div class="test-row svelte-17hubf3"><div class="test-main svelte-17hubf3"><button class="run-icon-btn svelte-17hubf3"><svg width="10" height="10" viewBox="0 0 24 24" fill="currentColor" stroke="none" class="svelte-17hubf3"><polygon points="5,3 19,12 5,21" class="svelte-17hubf3"></polygon></svg></button> <div class="test-ids svelte-17hubf3"></div> <span class="test-name svelte-17hubf3"> <!></span> <!></div> <!></div>'),as=d('<div class="suite svelte-17hubf3"><div class="suite-header svelte-17hubf3"><div class="suite-meta svelte-17hubf3"><div class="suite-badges svelte-17hubf3"></div> <span class="suite-name svelte-17hubf3"> </span> <span class="suite-count svelte-17hubf3"> </span></div> <button class="run-btn suite-run svelte-17hubf3"><svg width="11" height="11" viewBox="0 0 24 24" fill="currentColor" stroke="none" class="svelte-17hubf3"><polygon points="5,3 19,12 5,21" class="svelte-17hubf3"></polygon></svg> </button></div> <div class="tests svelte-17hubf3"></div></div>'),rs=d('<div class="suites svelte-17hubf3"></div>'),os=d('<div class="page-header svelte-17hubf3"><div class="header-top svelte-17hubf3"><div class="svelte-17hubf3"><h1 class="svelte-17hubf3"></h1> <p class="subtitle svelte-17hubf3"><!></p></div></div> <div class="search-row svelte-17hubf3"><div class="search-wrap svelte-17hubf3"><svg class="search-icon svelte-17hubf3" 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" class="svelte-17hubf3"></circle><line x1="21" y1="21" x2="16.65" y2="16.65" class="svelte-17hubf3"></line></svg> <input type="text" class="search-input svelte-17hubf3"> <!></div></div></div> <!>',1);function bs(l,w){nt(w,!1);const[Oe,Pe]=pt(),pe=()=>bt(Ct,"$testsVersion",Oe),g=C(),D=C(),Q=C(),be=C();let B=C([]),$=C(""),M=C(new Set),p=C(new Set);const H=new Map;async function _e(){try{_(B,await St())}catch(t){console.error("Failed to fetch suites",t)}}vt(_e);function W(t){return Array.isArray(t.suiteId)?t.suiteId:[t.suiteId]}function me(t){return Array.isArray(t.id)?t.id:[t.id]}function De(t){return Array.isArray(t.id)?t.id[0]:t.id}function He(t){e(M).has(t)?e(M).delete(t):e(M).add(t),_(M,e(M))}function ge(t){At.update(o=>({...o,testID:t})),Lt(t)}function Ue(t){ge(W(t)[0])}async function xe(t){await navigator.clipboard.writeText(t),e(p).add(t),_(p,e(p)),H.has(t)&&clearTimeout(H.get(t)),H.set(t,setTimeout(()=>{e(p).delete(t),_(p,e(p)),H.delete(t)},wt))}ct(()=>{for(const t of H.values())clearTimeout(t)}),j(()=>pe(),()=>{pe()&&_e()}),j(()=>e($),()=>{_(g,e($).trim().toLowerCase())}),j(()=>(e(B),e(g)),()=>{_(D,e(B).map(t=>{if(!e(g))return t;const o=t.suiteName.toLowerCase().includes(e(g))||W(t).some(b=>b.toLowerCase().includes(e(g))),E=t.tests.filter(b=>b.testCase.toLowerCase().includes(e(g))||me(b).some(z=>z.toLowerCase().includes(e(g))));return!o&&E.length===0?null:{...t,tests:o?t.tests:E}}).filter(Boolean))}),j(()=>e(B),()=>{_(Q,e(B).reduce((t,o)=>t+o.tests.length,0))}),j(()=>e(D),()=>{_(be,e(D).reduce((t,o)=>t+o.tests.length,0))}),ut(),it();var ye=os();lt(t=>{ft.title=Tt});var Z=dt(ye),ee=r(Z),we=r(ee),Ee=r(we);Ee.textContent=kt;var Ce=n(Ee,2),Ge=r(Ce);{var Ve=t=>{var o=Me();m(E=>f(o,E),[()=>Vt(e(be),e(Q))],y),v(t,o)},je=t=>{var o=Me();m(E=>f(o,E),[()=>qt(e(B).length,e(Q))],y),v(t,o)};I(Ge,t=>{e(g)?t(Ve):t(je,!1)})}s(Ce),s(we),s(ee);var Ae=n(ee,2),Le=r(Ae),q=n(r(Le),2);xt(q),h(q,"placeholder",It);var qe=n(q,2);{var ze=t=>{var o=zt();h(o,"aria-label",yt),P("click",o,()=>_($,"")),v(t,o)};I(qe,t=>{e($)&&t(ze)})}s(Le),s(Ae),s(Z);var Fe=n(Z,2);{var Xe=t=>{const o=y(()=>e(g)?Pt(e($)):Bt);$t(t,{get message(){return e(o)}})},Ye=t=>{var o=rs();A(o,5,()=>e(D),L,(E,b,z)=>{var F=as(),te=r(F),se=r(te),ae=r(se);A(ae,5,()=>W(e(b)),L,(U,i)=>{var x=Ft(),R=r(x,!0);s(x),m((S,N)=>{h(x,"title",S),h(x,"aria-label",S),he(x,"copied",N),f(R,e(i))},[()=>e(p).has(e(i))?Dt(e(i)):Ht(e(i)),()=>e(p).has(e(i))],y),P("click",x,()=>xe(e(i))),v(U,x)}),s(ae);var re=n(ae,2),Je=r(re,!0);s(re);var $e=n(re,2),Ke=r($e,!0);s($e),s(se);var X=n(se,2);h(X,"title",Ne);var Qe=n(r(X));Qe.nodeValue=` ${Ne}`,s(X),s(te);var Se=n(te,2);A(Se,5,()=>e(b).tests,L,(U,i,x)=>{var R=ss();const S=y(()=>De(e(i))),N=y(()=>e(M).has(e(S)));var oe=r(R),Y=r(oe),le=n(Y,2);A(le,5,()=>me(e(i)),L,(u,a)=>{var c=Xt(),G=r(c,!0);s(c),m((J,T)=>{h(c,"title",J),h(c,"aria-label",J),he(c,"copied",T),f(G,e(a))},[()=>e(p).has(e(a))?`Copied ${e(a)}`:`Copy ${e(a)}`,()=>e(p).has(e(a))],y),P("click",c,()=>xe(e(a))),v(u,c)}),s(le);var ie=n(le,2),Te=r(ie),We=n(Te);{var Ze=u=>{var a=Yt();a.textContent=Mt,v(u,a)};I(We,u=>{e(i).type==="outline"&&u(Ze)})}s(ie);var et=n(ie,2);{var tt=u=>{var a=Jt(),c=r(a),G=n(c);s(a),m(()=>{h(a,"aria-expanded",e(N)),he(c,"rotated",e(N)),f(G,` ${(e(N)?Rt:Nt)??""}`)}),P("click",a,()=>He(e(S))),v(u,a)};I(et,u=>{var a;((a=e(i).steps)==null?void 0:a.length)>0&&u(tt)})}s(oe);var st=n(oe,2);{var at=u=>{var a=ts(),c=r(a);A(c,5,()=>e(i).steps,L,(T,V)=>{var O=Kt(),K=r(O,!0);s(O),m(()=>f(K,e(V))),v(T,O)}),s(c);var G=n(c,2);{var J=T=>{var V=es(),O=r(V);O.textContent=Ot;var K=n(O,2),ke=r(K),ne=r(ke),Ie=r(ne);A(Ie,5,()=>e(i).examples.headers,L,(ve,ce)=>{var k=Qt(),ue=r(k,!0);s(k),m(()=>f(ue,e(ce))),v(ve,k)}),s(Ie),s(ne);var Be=n(ne);A(Be,5,()=>e(i).examples.rows,L,(ve,ce)=>{var k=Zt();A(k,5,()=>e(ce),L,(ue,rt)=>{var de=Wt(),ot=r(de,!0);s(de),m(()=>f(ot,e(rt))),v(ue,de)}),s(k),v(ve,k)}),s(Be),s(ke),s(K),s(V),v(T,V)};I(G,T=>{e(i).examples&&T(J)})}s(a),_t(3,a,()=>mt,()=>({duration:180})),v(u,a)};I(st,u=>{var a;e(N)&&((a=e(i).steps)==null?void 0:a.length)>0&&u(at)})}s(R),m((u,a,c)=>{h(R,"style",u),h(Y,"title",a),h(Y,"aria-label",c),f(Te,`${e(i).testCase??""} `)},[()=>Re(z*4+x,30),()=>Ut(e(S)),()=>Gt(e(i).testCase)],y),P("click",Y,()=>ge(e(S))),v(U,R)}),s(Se),s(F),m((U,i)=>{h(F,"style",U),f(Je,e(b).suiteName),f(Ke,i)},[()=>Re(z,55),()=>jt(e(b).tests.length)],y),P("click",X,()=>Ue(e(b))),v(E,F)}),s(o),v(t,o)};I(Fe,t=>{e(D).length===0?t(Xe):t(Ye,!1)})}Et(q,()=>e($),t=>_($,t)),v(l,ye),ht(),Pe()}export{bs as component};
@@ -0,0 +1,23 @@
1
+ /*
2
+ * This file is part of Plum.
3
+ *
4
+ * Plum is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Plum is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Plum. If not, see https://www.gnu.org/licenses/.
16
+ */
17
+
18
+ /*
19
+ * This file is part of Plum.
20
+ * Licensed under the MIT License. See LICENSE file in the project root for details.
21
+ */
22
+
23
+ import{h as J,a as b,t as h,s as O,e as I}from"../chunks/CMBQQ9RZ.js";import{i as Q}from"../chunks/CKDtmZUQ.js";import{p as X,o as Y,s as i,t as w,c as Z,$ as aa,m as n,d as r,g as e,k as o,j as l,x as ea}from"../chunks/BAACMRH5.js";import{i as R,s as ta,a as sa}from"../chunks/CgnwuKKO.js";import{s as A,E as la,r as T,P as ia}from"../chunks/4N1zIH8t.js";import{b as D}from"../chunks/t-La0hgu.js";import{g as ra}from"../chunks/DtGXv8RA.js";import{a as oa}from"../chunks/C1Vid6wz.js";import{c as na,l as ca}from"../chunks/DYlaQsvN.js";import{t as va}from"../chunks/DCgHuuvs.js";import{L as pa,C as ua,S as da,a as ma,E as _a,P as fa,s as ba,b as ha}from"../chunks/Dlnxgs49.js";var La=h('<p class="checking svelte-cliau1"></p>'),Ea=h('<p class="error svelte-cliau1"> </p>'),ga=h('<div class="card svelte-cliau1"><div class="brand svelte-cliau1"><span class="brand-serif svelte-cliau1">Pl</span><span class="brand-sans svelte-cliau1">um</span></div> <h1 class="title svelte-cliau1"></h1> <p class="subtitle svelte-cliau1"></p> <div class="fields svelte-cliau1"><div class="field svelte-cliau1"><label class="label svelte-cliau1" for="email"></label> <input id="email" type="email" class="input svelte-cliau1" autocomplete="email"></div> <div class="field svelte-cliau1"><label class="label svelte-cliau1" for="password"></label> <input id="password" type="password" class="input svelte-cliau1" autocomplete="current-password"></div></div> <!> <button class="submit-btn svelte-cliau1"> </button></div>'),Ia=h('<div class="page svelte-cliau1"><!></div>');function Oa(B,H){X(H,!1);const[K,M]=ta(),F=()=>sa(va,"$theme",K);let c=n(""),v=n(""),p=n(""),u=n(!1),y=n(!0);Y(async()=>{try{if(await na()){ra("/setup");return}}catch{}i(y,!1)});async function C(){i(p,""),i(u,!0);try{const{token:a,user:s}=await ca({email:e(c),password:e(v)});oa.login(a,s),window.location.href="/"}catch(a){i(p,a.message||ha)}finally{i(u,!1)}}function S(a){a.key==="Enter"&&C()}Q();var d=Ia();J(a=>{aa.title=pa});var W=r(d);{var j=a=>{var s=La();s.textContent=ua,b(a,s)},q=a=>{var s=ga(),k=l(r(s),2);k.textContent=da;var x=l(k,2);x.textContent=ma;var L=l(x,2),E=r(L),N=r(E);N.textContent=la;var m=l(N,2);T(m),A(m,"placeholder",_a),o(E);var P=l(E,2),$=r(P);$.textContent=ia;var _=l($,2);T(_),A(_,"placeholder",fa),o(P),o(L);var G=l(L,2);{var U=t=>{var g=Ea(),z=r(g,!0);o(g),w(()=>O(z,e(p))),b(t,g)};R(G,t=>{e(p)&&t(U)})}var f=l(G,2),V=r(f,!0);o(f),o(s),w(t=>{f.disabled=e(u)||!e(c)||!e(v),O(V,t)},[()=>ba(e(u))],ea),D(m,()=>e(c),t=>i(c,t)),I("keydown",m,S),D(_,()=>e(v),t=>i(v,t)),I("keydown",_,S),I("click",f,C),b(a,s)};R(W,a=>{e(y)?a(j):a(q,!1)})}o(d),w(()=>A(d,"data-theme",F())),b(B,d),Z(),M()}export{Oa as component};
@@ -0,0 +1,23 @@
1
+ /*
2
+ * This file is part of Plum.
3
+ *
4
+ * Plum is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Plum is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Plum. If not, see https://www.gnu.org/licenses/.
16
+ */
17
+
18
+ /*
19
+ * This file is part of Plum.
20
+ * Licensed under the MIT License. See LICENSE file in the project root for details.
21
+ */
22
+
23
+ import{h as Ye,a as f,b as re,s as u,t as R,e as U}from"../chunks/CMBQQ9RZ.js";import{i as Ze}from"../chunks/CKDtmZUQ.js";import{p as et,o as tt,l as B,b as at,f as ie,t as h,c as st,g as e,s as n,z as lt,$ as rt,x,y as it,d as r,m as v,n as J,j as o,k as s}from"../chunks/BAACMRH5.js";import{i as I,s as nt,a as ot}from"../chunks/CgnwuKKO.js";import{t as k,e as be,i as Se}from"../chunks/TOCyHP97.js";import{R as H,s as T,r as xe,B as vt,m as Ee}from"../chunks/4N1zIH8t.js";import{f as $e,d as dt,a as ct,r as pt}from"../chunks/DDblTLLE.js";import{a as mt}from"../chunks/DW85KPAh.js";import{s as Pe,t as _t,i as gt,a as ft}from"../chunks/D2gYTmAA.js";import{B as Te}from"../chunks/CuqnZUex.js";import{P as ut}from"../chunks/w0D4Uzlq.js";import{C as wt}from"../chunks/3IV-uqHa.js";import{E as yt}from"../chunks/C1sukchk.js";import{H as ht,L as kt,d as bt,r as St,a as xt,P as Et,R as $t,t as Pt,T as Tt,p as Rt,f as Lt,N as Ct,S as At,b as Mt,D as Dt,c as Bt}from"../chunks/B98sHkeB.js";var It=R('<div class="rate-display svelte-wkly2m"><span class="rate-number svelte-wkly2m"> </span> <span class="rate-label svelte-wkly2m"></span></div>'),Nt=R('<span class="trend-dot svelte-wkly2m"></span>'),Ot=R('<div class="stats-bar svelte-wkly2m"><div class="pass-bar-track svelte-wkly2m"><div class="pass-bar-fill svelte-wkly2m"></div></div> <div class="bar-legend svelte-wkly2m"><span class="legend-pass svelte-wkly2m"> </span> <span class="legend-fail svelte-wkly2m"> </span></div></div> <div class="trend-row svelte-wkly2m"><span class="trend-label svelte-wkly2m"></span> <div class="trend-dots svelte-wkly2m"></div> <span class="trend-hint svelte-wkly2m"></span></div>',1),Gt=R('<button class="btn-delete-selected svelte-wkly2m"> </button>'),Vt=R('<div class="report-row svelte-wkly2m"><label class="row-check-wrap svelte-wkly2m"><input type="checkbox" class="checkbox svelte-wkly2m"></label> <a class="report-item svelte-wkly2m"><div class="item-left svelte-wkly2m"><span class="status-mark svelte-wkly2m"> </span> <div class="item-meta svelte-wkly2m"><span class="item-tags svelte-wkly2m"> </span> <div class="item-badges svelte-wkly2m"><!> <!></div></div></div> <div class="item-right svelte-wkly2m"><span class="item-date svelte-wkly2m"> </span> <svg class="item-arrow svelte-wkly2m" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline></svg></div></a> <button class="row-delete-btn svelte-wkly2m"><svg width="14" height="14" 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 14H6L5 6"></path><path d="M10 11v6M14 11v6"></path><path d="M9 6V4h6v2"></path></svg></button></div>'),Ht=R('<div class="pagination-wrap svelte-wkly2m"><!></div>'),zt=R('<div class="list-header svelte-wkly2m"><label class="select-all-wrap svelte-wkly2m"><input type="checkbox" class="checkbox svelte-wkly2m"></label> <!></div> <div class="report-list svelte-wkly2m"></div> <!>',1),jt=R('<!> <div class="page-header svelte-wkly2m"><div class="header-top svelte-wkly2m"><div><h1 class="svelte-wkly2m"></h1> <p class="subtitle svelte-wkly2m"> </p></div> <!></div> <!></div> <!>',1);function la(Re,Le){et(Le,!1);const[Ce,Ae]=nt(),ne=()=>ot(mt,"$reportsVersion",Ce),K=v(),L=v(),oe=v(),z=v(),Q=v();let C=v([]),w=v(0),j=v(0),ve=v(0),X=v([]),M=v(1),de=v(!1),d=v(new Set),y=v({open:!1,targets:[]}),Y=v(!1);async function W(){try{let t=await $e({page:e(M),limit:H});t.reports.length===0&&e(M)>1&&(n(M,Math.max(1,Math.ceil(t.total/H))),t=await $e({page:e(M),limit:H})),n(C,t.reports),n(w,t.total),n(j,t.passCount),n(ve,t.failCount),n(X,t.trend),n(d,new Set),await lt(),n(de,!0)}catch(t){console.error("Failed to fetch reports",t)}}function Me(t){n(M,t),W()}tt(W);function De(t,i){i.preventDefault(),i.stopPropagation();const l=new Set(e(d));l.has(t)?l.delete(t):l.add(t),n(d,l)}function Be(t){if(t.stopPropagation(),e(z)){const i=new Set(e(d));e(C).forEach(l=>i.delete(l.id)),n(d,i)}else{const i=new Set(e(d));e(C).forEach(l=>i.add(l.id)),n(d,i)}}function ce(t){n(y,{open:!0,targets:t})}function Ie(t,i){i.preventDefault(),i.stopPropagation(),ce([t])}async function Ne(){n(Y,!0);try{e(y).targets.length===1?await dt(e(y).targets[0]):await ct([...e(y).targets]),n(y,{open:!1,targets:[]}),await W()}catch(t){console.error("Delete failed",t)}finally{n(Y,!1)}}B(()=>(e(w),H),()=>{n(K,Math.ceil(e(w)/H))}),B(()=>(e(w),e(j)),()=>{n(L,e(w)?Math.round(e(j)/e(w)*100):0)}),B(()=>e(X),()=>{n(oe,[...e(X)].reverse())}),B(()=>(e(C),e(d)),()=>{n(z,e(C).length>0&&e(C).every(t=>e(d).has(t.id)))}),B(()=>e(d),()=>{n(Q,e(d).size>0)}),B(()=>ne(),()=>{ne()&&W()}),at(),Ze();var pe=jt();Ye(t=>{rt.title=kt});var me=ie(pe);const Oe=x(()=>xt(e(y).targets.length));wt(me,{get title(){return e(Oe)},get loading(){return e(Y)},get open(){return e(y).open},set open(t){it(y,e(y).open=t)},$$events:{confirm:Ne},children:(t,i)=>{J();var l=re();h(p=>u(l,p),[()=>bt(e(y).targets.length)],x),f(t,l)},$$slots:{default:!0},$$legacy:!0});var Z=o(me,2),ee=r(Z),te=r(ee),_e=r(te);_e.textContent=ht;var ge=o(_e,2),Ge=r(ge,!0);s(ge),s(te);var Ve=o(te,2);{var He=t=>{var i=It(),l=r(i),p=r(l);s(l);var E=o(l,2);E.textContent=Et,s(i),h(()=>{k(l,"pass",e(L)>=80),k(l,"warn",e(L)<80&&e(L)>=50),k(l,"fail",e(L)<50),u(p,`${e(L)??""}%`)}),f(t,i)};I(Ve,t=>{e(w)>0&&t(He)})}s(ee);var ze=o(ee,2);{var je=t=>{var i=Ot(),l=ie(i),p=r(l),E=r(p);s(p);var q=o(p,2),N=r(q),O=r(N,!0);s(N);var F=o(N,2),ae=r(F,!0);s(F),s(q),s(l);var m=o(l,2),a=r(m);a.textContent=$t;var b=o(a,2);be(b,5,()=>e(oe),Se,($,g,P)=>{var S=Nt();h((A,se)=>{T(S,"style",A),T(S,"title",se),k(S,"pass",e(g).status==="PASS"),k(S,"fail",e(g).status!=="PASS")},[()=>Pe(P,35),()=>Pt(e(g).status,e(g).tags,e(g).date)],x),f($,S)}),s(b);var _=o(b,2);_.textContent=Tt,s(m),h(($,g)=>{T(E,"style",`width: ${(e(de)?e(L)+"%":"0")??""}`),u(O,$),u(ae,g)},[()=>Rt(e(j)),()=>Lt(e(ve))],x),f(t,i)};I(ze,t=>{e(w)>0&&t(je)})}s(Z);var We=o(Z,2);{var qe=t=>{yt(t,{message:Ct})},Fe=t=>{var i=zt(),l=ie(i),p=r(l);T(p,"title",At);var E=r(p);xe(E),s(p);var q=o(p,2);{var N=m=>{var a=Gt(),b=r(a,!0);s(a),h(_=>u(b,_),[()=>Bt(e(d).size)],x),U("click",a,()=>ce([...e(d)])),f(m,a)};I(q,m=>{e(Q)&&m(N)})}s(l);var O=o(l,2);be(O,5,()=>e(C),Se,(m,a,b)=>{var _=Vt(),$=r(_);T($,"title",Mt);var g=r($);xe(g),s($);var P=o($,2),S=r(P),A=r(S),se=r(A,!0);s(A);var fe=o(A,2),le=r(fe),Ue=r(le,!0);s(le);var ue=o(le,2),we=r(ue);const Je=x(()=>ft(e(a).triggerType));Te(we,{get variant(){return e(Je)},children:(c,G)=>{J();var V=re();h(D=>u(V,D),[()=>_t(e(a).triggerType)],x),f(c,V)},$$slots:{default:!0}});var Ke=o(we,2);{var Qe=c=>{Te(c,{variant:"neutral",children:(G,V)=>{J();var D=re();h(()=>u(D,e(a).browser)),f(G,D)},$$slots:{default:!0}})};I(Ke,c=>{e(a).browser&&e(a).browser!==vt[0].id&&c(Qe)})}s(ue),s(fe),s(S);var ye=o(S,2),he=r(ye),Xe=r(he,!0);s(he),J(2),s(ye),s(P);var ke=o(P,2);T(ke,"title",Dt),s(_),h((c,G,V,D)=>{T(_,"style",c),k(_,"is-selected",G),Ee(g,G),T(P,"href",V),k(P,"is-pass",e(a).status==="PASS"),k(P,"is-fail",e(a).status!=="PASS"),k(A,"pass",e(a).status==="PASS"),k(A,"fail",e(a).status!=="PASS"),u(se,e(a).status==="PASS"?"✓":"✗"),u(Ue,D),u(Xe,e(a).date)},[()=>Pe(b),()=>e(d).has(e(a).id),()=>pt(e(a).id),()=>{var c;return((c=e(a).testRun)==null?void 0:c.title)??(gt(e(a).triggerType)?e(a).triggerType:e(a).tags)}],x),U("change",g,c=>De(e(a).id,c)),U("click",ke,c=>Ie(e(a).id,c)),f(m,_)}),s(O);var F=o(O,2);{var ae=m=>{var a=Ht(),b=r(a);ut(b,{get current(){return e(M)},get total(){return e(K)},$$events:{change:_=>Me(_.detail)}}),s(a),f(m,a)};I(F,m=>{e(K)>1&&m(ae)})}h(()=>{Ee(E,e(z)),E.indeterminate=e(Q)&&!e(z)}),U("change",E,Be),f(t,i)};I(We,t=>{e(w)===0?t(qe):t(Fe,!1)})}h(t=>u(Ge,t),[()=>St(e(w))],x),f(Re,pe),st(),Ae()}export{la as component};
@@ -0,0 +1,23 @@
1
+ /*
2
+ * This file is part of Plum.
3
+ *
4
+ * Plum is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Plum is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Plum. If not, see https://www.gnu.org/licenses/.
16
+ */
17
+
18
+ /*
19
+ * This file is part of Plum.
20
+ * Licensed under the MIT License. See LICENSE file in the project root for details.
21
+ */
22
+
23
+ import{a as l,t as o,s as c,b as rs,c as Ne,n as ge,e as N,h as Na}from"../chunks/CMBQQ9RZ.js";import{i as la}from"../chunks/CKDtmZUQ.js";import{t as d,d as a,k as s,p as na,l as V,s as g,ai as Va,b as ca,g as e,c as oa,m as S,f as ae,an as za,o as Ka,ap as Ya,$ as Fa,j as t,ao as ws,x as b,n as Ua}from"../chunks/BAACMRH5.js";import{i as _,s as Wa,a as Ja}from"../chunks/CgnwuKKO.js";import{t as k,a as Fs,c as Qa,e as Se,i as Be,g as Xa}from"../chunks/TOCyHP97.js";import{s as C,H as Za,r as et,G as st,p as at,B as Us}from"../chunks/4N1zIH8t.js";import{s as Ws}from"../chunks/Bfc47y5P.js";import{b as tt}from"../chunks/CNdcuGR0.js";import{p as rt}from"../chunks/DW_iTTZe.js";import{b as lt,s as Js}from"../chunks/DDblTLLE.js";import{k as nt,p as ct,g as Qs,f as Xs,s as Zs,b as ts,c as ot,d as ea,t as vt,i as it}from"../chunks/D2gYTmAA.js";import{G as pt,I as dt,g as ut,J as _t,K as gt,M as ht,O as ft,Q as qt,U as yt,X as xt,Y as kt,Z as sa,s as mt,u as wt,_ as bt,$ as St,a0 as Bt,a1 as Et,a2 as Lt,a3 as Ct,a4 as Tt,a5 as At,v as Rt}from"../chunks/B98sHkeB.js";import{B as Pt}from"../chunks/CuqnZUex.js";import{B as It}from"../chunks/oN0Z3NSF.js";import{p as Ee}from"../chunks/C8OURRSs.js";var Dt=o('<span class="status-dot svelte-eg9xrn"></span>');function aa(z,j){let h=Ee(j,"status",8,"passed");var i=Dt();d(()=>{k(i,"pass",h()==="passed"),k(i,"fail",h()==="failed"),k(i,"skip",h()!=="passed"&&h()!=="failed")}),l(z,i)}var Ot=o('<span class="tag-chip svelte-foe7v9"> </span>');function Mt(z,j){let h=Ee(j,"tag",8,"");var i=Ot(),R=a(i,!0);s(i),d(()=>c(R,h())),l(z,i)}var jt=o('<span class="kw svelte-3mvi7i"> </span>');function ta(z,j){na(j,!1);const h=S();let i=Ee(j,"keyword",8,"");V(()=>Va(i()),()=>{g(h,nt(i()))}),ca(),la();var R=jt(),P=a(R,!0);s(R),d(()=>{k(R,"kw-given",e(h)==="kw-given"),k(R,"kw-when",e(h)==="kw-when"),k(R,"kw-then",e(h)==="kw-then"),k(R,"kw-and",e(h)==="kw-and"),c(P,i())}),l(z,R),oa()}var $t=o('<span class="step-status-icon svelte-9zpq1y"><!></span>');function ra(z,j){let h=Ee(j,"status",8,"passed");var i=$t(),R=a(i);{var P=B=>{var m=rs("✓");l(B,m)},K=B=>{var m=Ne(),E=ae(m);{var he=H=>{var $=rs("✗");l(H,$)},te=H=>{var $=rs("−");l(H,$)};_(E,H=>{h()==="failed"?H(he):H(te,!1)},!0)}l(B,m)};_(R,B=>{h()==="passed"?B(P):B(K,!1)})}s(i),d(()=>{k(i,"icon-pass",h()==="passed"),k(i,"icon-fail",h()==="failed"),k(i,"icon-skip",h()!=="passed"&&h()!=="failed")}),l(z,i)}var Gt=ge('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 2c0 4.5-5 7-5 12a5 5 0 0 0 10 0c0-5-5-7.5-5-12z"></path><path d="M12 9c0 2.5-2.5 4-2.5 7a2.5 2.5 0 0 0 5 0c0-3-2.5-4.5-2.5-7z"></path></svg>'),Ht=ge('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><polygon points="12,5.5 14.5,12 12,10.5 9.5,12" fill="currentColor" stroke="none"></polygon><polygon points="12,18.5 9.5,12 12,13.5 14.5,12" fill="currentColor" stroke="none" opacity="0.35"></polygon></svg>'),Nt=ge('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><circle cx="12" cy="12" r="4"></circle><line x1="21.17" y1="8" x2="12" y2="8"></line><line x1="3.95" y1="6.06" x2="8.54" y2="14"></line><line x1="10.88" y1="21.94" x2="15.46" y2="14"></line></svg>');function Vt(z,j){let h=Ee(j,"browser",8,"chromium"),i=Ee(j,"size",8,11);var R=Ne(),P=ae(R);{var K=m=>{var E=Gt();d(()=>{C(E,"width",i()),C(E,"height",i())}),l(m,E)},B=m=>{var E=Ne(),he=ae(E);{var te=$=>{var Y=Ht();d(()=>{C(Y,"width",i()),C(Y,"height",i())}),l($,Y)},H=$=>{var Y=Nt();d(()=>{C(Y,"width",i()),C(Y,"height",i())}),l($,Y)};_(he,$=>{h()==="webkit"?$(te):$(H,!1)},!0)}l(m,E)};_(P,m=>{h()==="firefox"?m(K):m(B,!1)})}l(z,R)}var zt=o('<div class="error-state svelte-1cdcqpr"> </div>'),Kt=o('<div class="loading-state svelte-1cdcqpr"><div class="loading-dots svelte-1cdcqpr"><span class="svelte-1cdcqpr"></span><span class="svelte-1cdcqpr"></span><span class="svelte-1cdcqpr"></span></div></div>'),Yt=ge('<svg width="26" height="26" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" class="svelte-1cdcqpr"><polyline points="20 6 9 17 4 12" class="svelte-1cdcqpr"></polyline></svg>'),Ft=ge('<svg width="26" height="26" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" class="svelte-1cdcqpr"><line x1="18" y1="6" x2="6" y2="18" class="svelte-1cdcqpr"></line><line x1="6" y1="6" x2="18" y2="18" class="svelte-1cdcqpr"></line></svg>'),Ut=o('<span class="run-name-badge svelte-1cdcqpr"> </span>'),Wt=o('<span class="run-name-badge svelte-1cdcqpr"> </span>'),Jt=o('<div class="stat svelte-1cdcqpr"><span class="stat-num fail-color svelte-1cdcqpr"> </span> <span class="stat-label svelte-1cdcqpr"><svg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" class="svelte-1cdcqpr"><line x1="18" y1="6" x2="6" y2="18" class="svelte-1cdcqpr"></line><line x1="6" y1="6" x2="18" y2="18" class="svelte-1cdcqpr"></line></svg> </span></div>'),Qt=o('<div class="stat svelte-1cdcqpr"><span class="stat-num muted-color svelte-1cdcqpr"> </span> <span class="stat-label svelte-1cdcqpr"><svg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" class="svelte-1cdcqpr"><line x1="5" y1="12" x2="19" y2="12" class="svelte-1cdcqpr"></line></svg> </span></div>'),Xt=o('<span class="log-runner-count svelte-1cdcqpr"> </span>'),Zt=o('<button class="log-tab svelte-1cdcqpr"><svg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" class="svelte-1cdcqpr"><rect x="2" y="3" width="20" height="14" rx="2" class="svelte-1cdcqpr"></rect><path d="M8 21h8M12 17v4" class="svelte-1cdcqpr"></path></svg> </button>'),er=o('<div class="log-tabs svelte-1cdcqpr"></div>'),sr=o('<details class="logs-section svelte-1cdcqpr"><summary class="logs-summary svelte-1cdcqpr"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="svelte-1cdcqpr"><polyline points="4 17 10 11 4 5" class="svelte-1cdcqpr"></polyline><line x1="12" y1="19" x2="20" y2="19" class="svelte-1cdcqpr"></line></svg> <!></summary> <!> <pre class="logs-body svelte-1cdcqpr"> </pre></details>'),ar=o('<span class="suite-tag svelte-1cdcqpr"> </span>'),tr=o('<span class="scenario-count svelte-1cdcqpr"> </span>'),rr=o('<span class="scenario-count svelte-1cdcqpr"> </span>'),lr=o('<button class="replay-btn svelte-1cdcqpr"><svg width="11" height="11" viewBox="0 0 24 24" fill="currentColor" stroke="none" class="svelte-1cdcqpr"><polygon points="5,3 19,12 5,21" class="svelte-1cdcqpr"></polygon></svg> </button>'),nr=o('<button class="replay-btn replay-btn-sm svelte-1cdcqpr"><svg width="9" height="9" viewBox="0 0 24 24" fill="currentColor" stroke="none" class="svelte-1cdcqpr"><polygon points="5,3 19,12 5,21" class="svelte-1cdcqpr"></polygon></svg> </button>'),cr=o('<div class="example-header svelte-1cdcqpr"><!> <span class="svelte-1cdcqpr"> </span> <span class="scenario-duration svelte-1cdcqpr"> </span> <!></div>'),or=o('<pre class="step-error svelte-1cdcqpr"> </pre>'),vr=o('<details class="screenshot-wrap svelte-1cdcqpr"><summary class="screenshot-toggle svelte-1cdcqpr"></summary> <img class="screenshot svelte-1cdcqpr"></details>'),ir=o('<div class="step svelte-1cdcqpr"><div class="step-row svelte-1cdcqpr"><!> <!> <span class="step-name svelte-1cdcqpr"> </span> <span class="step-duration svelte-1cdcqpr"> </span></div> <!> <!></div>'),pr=o("<!> <!>",1),dr=o('<div class="steps svelte-1cdcqpr"></div>'),ur=o('<div class="scenario svelte-1cdcqpr"><div class="scenario-row svelte-1cdcqpr"><button class="scenario-header svelte-1cdcqpr"><!> <span class="scenario-name svelte-1cdcqpr"> <!> <!></span> <div class="scenario-tags svelte-1cdcqpr"></div> <span class="scenario-duration svelte-1cdcqpr"> </span> <svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" class="chevron svelte-1cdcqpr"><polyline points="9 18 15 12 9 6" class="svelte-1cdcqpr"></polyline></svg></button> <!></div> <!></div>'),_r=o('<div class="feature svelte-1cdcqpr"><div class="feature-header svelte-1cdcqpr"><h2 class="feature-name svelte-1cdcqpr"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feature-icon svelte-1cdcqpr"><path d="M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z" class="svelte-1cdcqpr"></path><polyline points="14 2 14 8 20 8" class="svelte-1cdcqpr"></polyline></svg> <!></h2> <div class="feature-right svelte-1cdcqpr"><span class="feature-file svelte-1cdcqpr"> </span> <!></div></div> <div class="scenarios svelte-1cdcqpr"></div></div>'),gr=o('<div class="report-header svelte-1cdcqpr"><div class="header-main svelte-1cdcqpr"><div class="header-status svelte-1cdcqpr"><div class="status-icon-wrap svelte-1cdcqpr"><!></div> <div class="svelte-1cdcqpr"><div class="h1-row svelte-1cdcqpr"><h1 class="svelte-1cdcqpr"> </h1> <!></div> <div class="header-meta svelte-1cdcqpr"><span class="mono svelte-1cdcqpr"> </span> <span class="meta-sep svelte-1cdcqpr">·</span> <span class="svelte-1cdcqpr"> </span> <span class="meta-sep svelte-1cdcqpr">·</span> <span class="svelte-1cdcqpr"> </span> <span class="meta-sep svelte-1cdcqpr">·</span> <span class="browser-pill svelte-1cdcqpr"><!> </span></div></div></div> <div class="header-stats svelte-1cdcqpr"><div class="stat svelte-1cdcqpr"><span class="stat-num pass-color svelte-1cdcqpr"> </span> <span class="stat-label svelte-1cdcqpr"><svg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" class="svelte-1cdcqpr"><polyline points="20 6 9 17 4 12" class="svelte-1cdcqpr"></polyline></svg> </span></div> <!> <!> <div class="stat svelte-1cdcqpr"><span class="stat-num svelte-1cdcqpr"> </span> <span class="stat-label svelte-1cdcqpr"><svg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="svelte-1cdcqpr"><circle cx="12" cy="12" r="10" class="svelte-1cdcqpr"></circle><polyline points="12 6 12 12 16 14" class="svelte-1cdcqpr"></polyline></svg> </span></div> <div class="stat svelte-1cdcqpr"><span class="stat-num svelte-1cdcqpr"> </span> <span class="stat-label svelte-1cdcqpr"><svg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" class="svelte-1cdcqpr"><rect x="2" y="3" width="20" height="14" rx="2" class="svelte-1cdcqpr"></rect><path d="M8 21h8M12 17v4" class="svelte-1cdcqpr"></path></svg> </span></div></div></div></div> <!> <!>',1),hr=o('<img class="replay-screenshot svelte-1cdcqpr">'),fr=o('<div class="replay-no-screenshot svelte-1cdcqpr"></div>'),qr=ge('<svg width="14" height="14" viewBox="0 0 24 24" fill="currentColor" stroke="none" class="svelte-1cdcqpr"><rect x="6" y="4" width="4" height="16" rx="1" class="svelte-1cdcqpr"></rect><rect x="14" y="4" width="4" height="16" rx="1" class="svelte-1cdcqpr"></rect></svg>'),yr=ge('<svg width="14" height="14" viewBox="0 0 24 24" fill="currentColor" stroke="none" class="svelte-1cdcqpr"><polygon points="5,3 19,12 5,21" class="svelte-1cdcqpr"></polygon></svg>'),xr=o('<div class="replay-overlay svelte-1cdcqpr"><div class="replay-modal svelte-1cdcqpr"><div class="replay-modal-header svelte-1cdcqpr"><span class="replay-modal-title svelte-1cdcqpr"> </span> <button class="replay-close svelte-1cdcqpr"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" class="svelte-1cdcqpr"><line x1="18" y1="6" x2="6" y2="18" class="svelte-1cdcqpr"></line><line x1="6" y1="6" x2="18" y2="18" class="svelte-1cdcqpr"></line></svg></button></div> <div class="replay-screenshot-area svelte-1cdcqpr"><!></div> <div class="replay-timeline svelte-1cdcqpr"><input type="range" class="replay-slider svelte-1cdcqpr" min="0"></div> <div class="replay-step-info svelte-1cdcqpr"><!> <!> <span class="replay-step-name svelte-1cdcqpr"> </span></div> <div class="replay-nav svelte-1cdcqpr"><button class="replay-nav-btn svelte-1cdcqpr"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" class="svelte-1cdcqpr"><polyline points="15 18 9 12 15 6" class="svelte-1cdcqpr"></polyline></svg></button> <button class="replay-play-btn svelte-1cdcqpr"><!></button> <button class="replay-nav-btn svelte-1cdcqpr"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" class="svelte-1cdcqpr"><polyline points="9 18 15 12 9 6" class="svelte-1cdcqpr"></polyline></svg></button> <span class="replay-counter svelte-1cdcqpr"> </span></div></div></div>'),kr=o("<!> <!> <!>",1);function Mr(z,j){na(j,!1);const[h,i]=Wa(),R=()=>Ja(rt,"$page",h),P=S(),K=S(),B=S(),m=S(),E=S(),he=S(),te=S(),H=S(),$=S(),Y=S(),va=parseInt(R().params.id,10);let q=S(null),ls=S(null),fe=S(new Set),Ve=S(!1),re=S(null),L=S(0),Le=S(!1),qe=null;za(()=>{qe&&clearInterval(qe)});function bs(){g(Le,!0),qe=setInterval(()=>{var r,y;e(L)<(((y=(r=e(re))==null?void 0:r.steps)==null?void 0:y.length)??0)-1?ws(L):le()},Za)}function le(){g(Le,!1),qe&&(clearInterval(qe),qe=null)}function Ss(r){le(),g(re,r),g(L,0),g(Ve,!0),bs()}function ns(){le(),g(Ve,!1),g(re,null)}function Bs(){e(Le)?le():(e(L)>=e(P).length-1&&g(L,0),bs())}function Es(){le(),e(L)>0&&ws(L,-1)}function Ls(){le(),e(L)<e(P).length-1&&ws(L)}function ia(r){e(Ve)&&(r.key==="ArrowRight"?Ls():r.key==="ArrowLeft"?Es():r.key===" "?(r.preventDefault(),Bs()):r.key==="Escape"&&ns())}Ka(async()=>{try{g(q,await lt(va))}catch{g(ls,dt)}});function pa(r){e(fe).has(r)?e(fe).delete(r):e(fe).add(r),g(fe,e(fe))}let ze=S(0);V(()=>e(re),()=>{var r;g(P,((r=e(re))==null?void 0:r.steps)??[])}),V(()=>(e(P),e(L)),()=>{g(K,e(P)[e(L)]??null)}),V(()=>e(q),()=>{var r;g(B,ct(((r=e(q))==null?void 0:r.logs)??null))}),V(()=>e(B),()=>{e(B)&&g(ze,0)}),V(()=>e(q),()=>{var r;g(m,((r=e(q))==null?void 0:r.status)==="PASS")}),V(()=>e(q),()=>{var r;g(E,((r=e(q))==null?void 0:r.features.flatMap(y=>y.scenarios))??[])}),V(()=>e(E),()=>{g(he,e(E).filter(r=>r.status==="passed").length)}),V(()=>e(E),()=>{g(te,e(E).filter(r=>r.status==="failed").length)}),V(()=>e(E),()=>{g(H,e(E).filter(r=>r.status==="skipped"||r.status==="pending").length)}),V(()=>(e(q),e(E)),()=>{var r;g($,((r=e(q))==null?void 0:r.duration)??e(E).reduce((y,F)=>y+F.duration,0))}),V(()=>(e(q),Qs),()=>{var r;g(Y,((r=e(q))==null?void 0:r.features.map(y=>({...y,scenarioGroups:Qs(y.scenarios)})))??[])}),ca(),la();var Cs=kr();N("keydown",Ya,ia),Na(r=>{Fa.title=pt});var Ts=ae(Cs);It(Ts,{href:"/reports",label:ut});var As=t(Ts,2);{var da=r=>{var y=zt(),F=a(y,!0);s(y),d(()=>c(F,e(ls))),l(r,y)},ua=r=>{var y=Ne(),F=ae(y);{var Ce=ee=>{var ye=Kt();l(ee,ye)},Te=ee=>{var ye=gr(),U=ae(ye),Ke=a(U),Ae=a(Ke),ne=a(Ae),Re=a(ne);{var ce=v=>{var n=Yt();l(v,n)},Pe=v=>{var n=Ft();l(v,n)};_(Re,v=>{e(m)?v(ce):v(Pe,!1)})}s(ne);var Ie=t(ne,2),De=a(Ie),xe=a(De),cs=a(xe,!0);s(xe);var Ye=t(xe,2);{var os=v=>{var n=Ut(),x=a(n,!0);s(n),d(()=>c(x,e(q).testRun.title)),l(v,n)},Fe=v=>{var n=Ne(),x=ae(n);{var A=I=>{var G=Wt(),ve=a(G,!0);s(G),d(()=>c(ve,e(q).triggerType)),l(I,G)};_(x,I=>{it(e(q).triggerType)&&I(A)},!0)}l(v,n)};_(Ye,v=>{var n;(n=e(q).testRun)!=null&&n.title?v(os):v(Fe,!1)})}s(De);var ke=t(De,2),W=a(ke),vs=a(W,!0);s(W);var Oe=t(W,4),is=a(Oe,!0);s(Oe);var oe=t(Oe,4),Ue=a(oe,!0);s(oe);var We=t(oe,4),p=a(We);const T=b(()=>e(q).browser??Us[0].id);Vt(p,{get browser(){return e(T)}});var me=t(p);s(We),s(ke),s(Ie),s(Ae);var Je=t(Ae,2),ps=a(Je),ds=a(ps),ha=a(ds,!0);s(ds);var Rs=t(ds,2),fa=t(a(Rs));fa.nodeValue=` ${ht}`,s(Rs),s(ps);var Ps=t(ps,2);{var qa=v=>{var n=Jt(),x=a(n),A=a(x,!0);s(x);var I=t(x,2),G=t(a(I));G.nodeValue=` ${Bt}`,s(I),s(n),d(()=>c(A,e(te))),l(v,n)};_(Ps,v=>{e(te)>0&&v(qa)})}var Is=t(Ps,2);{var ya=v=>{var n=Qt(),x=a(n),A=a(x,!0);s(x);var I=t(x,2),G=t(a(I));G.nodeValue=` ${Et}`,s(I),s(n),d(()=>c(A,e(H))),l(v,n)};_(Is,v=>{e(H)>0&&v(ya)})}var us=t(Is,2),_s=a(us),xa=a(_s,!0);s(_s);var Ds=t(_s,2),ka=t(a(Ds));ka.nodeValue=` ${ft}`,s(Ds),s(us);var Os=t(us,2),gs=a(Os),ma=a(gs,!0);s(gs);var Ms=t(gs,2),wa=t(a(Ms));s(Ms),s(Os),s(Je),s(Ke),s(U);var js=t(U,2);{var ba=v=>{var n=sr(),x=a(n),A=t(a(x));A.nodeValue=` ${Lt} `;var I=t(A);{var G=D=>{var J=Xt(),Me=a(J,!0);s(J),d(je=>c(Me,je),[()=>Rt(e(B).length)],b),l(D,J)};_(I,D=>{e(B).length>1&&D(G)})}s(x);var ve=t(x,2);{var hs=D=>{var J=er();Se(J,5,()=>e(B),Be,(Me,je,$e)=>{var O=Zt(),f=t(a(O));s(O),d(()=>{k(O,"log-tab-active",e(ze)===$e),c(f,` ${e(je).name??""}`)}),N("click",O,Ws(()=>g(ze,$e))),l(Me,O)}),s(J),l(D,J)};_(ve,D=>{e(B).length>1&&D(hs)})}var Qe=t(ve,2),Xe=a(Qe,!0);s(Qe),s(n),d(()=>{var D;return c(Xe,((D=e(B)[e(ze)])==null?void 0:D.content)??"")}),l(v,n)};_(js,v=>{e(B).length>0&&v(ba)})}var Sa=t(js,2);Se(Sa,1,()=>e(Y),Be,(v,n,x)=>{var A=_r(),I=a(A),G=a(I),ve=t(a(G)),hs=t(ve);{var Qe=O=>{var f=ar(),we=a(f,!0);s(f),d(ie=>c(we,ie),[()=>Xs(e(n))],b),l(O,f)};_(hs,O=>{Xs(e(n))&&O(Qe)})}s(G);var Xe=t(G,2),D=a(Xe),J=a(D,!0);s(D);var Me=t(D,2);const je=b(()=>e(n).status==="passed"?"pass":"fail");Pt(Me,{get variant(){return e(je)},children:(O,f)=>{Ua();var we=rs();d(()=>c(we,e(n).status)),l(O,we)},$$slots:{default:!0}}),s(Xe),s(I);var $e=t(I,2);Se($e,5,()=>e(n).scenarioGroups,Be,(O,f,we)=>{var ie=ur();const $s=b(()=>`${x}-${e(f).key}`),Gs=b(()=>e(fe).has(e($s))),Ba=b(()=>e(f).scenarios.some(ea));var fs=a(ie),Ze=a(fs),Hs=a(Ze);aa(Hs,{get status(){return e(f).status}});var qs=t(Hs,2),Ns=a(qs),Vs=t(Ns);{var Ea=w=>{var u=tr(),pe=a(u,!0);s(u),d(Q=>c(pe,Q),[()=>qt(e(f).scenarios.length)],b),l(w,u)};_(Vs,w=>{e(f).scenarios.length>1&&w(Ea)})}var La=t(Vs,2);{var Ca=w=>{var u=rr();C(u,"title",yt);var pe=a(u,!0);s(u),d(Q=>c(pe,Q),[()=>xt(e(f).scenarios[0].attempts)],b),l(w,u)};_(La,w=>{var u;((u=e(f).scenarios[0])==null?void 0:u.attempts)>1&&w(Ca)})}s(qs);var ys=t(qs,2);Se(ys,5,()=>e(f).tags,Be,(w,u)=>{Mt(w,{get tag(){return e(u)}})}),s(ys);var xs=t(ys,2),Ta=a(xs,!0);s(xs);var Aa=t(xs,2);s(Ze);var Ra=t(Ze,2);{var Pa=w=>{var u=lr();C(u,"title",kt);var pe=t(a(u));pe.nodeValue=` ${sa}`,s(u),N("click",u,()=>Ss(e(f).scenarios[0])),l(w,u)};_(Ra,w=>{e(Ba)&&e(f).scenarios.length===1&&w(Pa)})}s(fs);var Ia=t(fs,2);{var Da=w=>{var u=dr();Se(u,5,()=>e(f).scenarios,Be,(pe,Q,Oa)=>{var zs=pr(),Ks=ae(zs);{var Ma=Ge=>{var M=cr(),se=a(M);aa(se,{get status(){return e(Q).status}});var de=t(se,2),es=a(de,!0);s(de);var be=t(de,2),He=a(be,!0);s(be);var ks=t(be,2);{var ss=ue=>{var X=nr(),ms=t(a(X));ms.nodeValue=` ${sa}`,s(X),N("click",X,()=>Ss(e(Q))),l(ue,X)};_(ks,ue=>{ea(e(Q))&&ue(ss)})}s(M),d((ue,X)=>{c(es,ue),c(He,X)},[()=>Ct(Oa+1),()=>ts(e(Q).duration)],b),l(Ge,M)};_(Ks,Ge=>{e(f).scenarios.length>1&&Ge(Ma)})}var ja=t(Ks,2);Se(ja,1,()=>e(Q).steps,Be,(Ge,M)=>{var se=ir(),de=a(se),es=a(de);ra(es,{get status(){return e(M).status}});var be=t(es,2);ta(be,{get keyword(){return e(M).keyword}});var He=t(be,2),ks=a(He,!0);s(He);var ss=t(He,2),ue=a(ss,!0);s(ss),s(de);var X=t(de,2);{var ms=Z=>{var _e=or(),as=a(_e,!0);s(_e),d(()=>c(as,e(M).error)),l(Z,_e)};_(X,Z=>{e(M).error&&Z(ms)})}var $a=t(X,2);{var Ga=Z=>{var _e=vr(),as=a(_e);as.textContent=Tt;var Ys=t(as,2);C(Ys,"alt",At),s(_e),d(Ha=>C(Ys,"src",Ha),[()=>Js(e(M).screenshot)],b),l(Z,_e)};_($a,Z=>{e(M).screenshot&&Z(Ga)})}s(se),d(Z=>{k(se,"step-fail",e(M).status==="failed"),k(se,"step-skip",e(M).status==="skipped"||e(M).status==="pending"),c(ks,e(M).name),c(ue,Z)},[()=>ts(e(M).duration)],b),l(Ge,se)}),l(pe,zs)}),s(u),Fs(3,u,()=>Xa,()=>({duration:200})),l(w,u)};_(Ia,w=>{e(Gs)&&w(Da)})}s(ie),d((w,u)=>{C(ie,"style",w),k(ie,"scenario-fail",e(f).status==="failed"),c(Ns,`${e(f).name??""} `),c(Ta,u),k(Aa,"rotated",e(Gs))},[()=>Zs(x*5+we,40),()=>ts(e(f).duration)],b),N("click",Ze,()=>pa(e($s))),l(O,ie)}),s($e),s(A),d((O,f)=>{C(A,"style",O),k(A,"feature-pass",e(n).status==="passed"),k(A,"feature-fail",e(n).status!=="passed"),c(ve,` ${e(n).name??""} `),C(D,"title",e(n).uri),c(J,f)},[()=>Zs(x,60),()=>ot(e(n).uri)],b),l(v,A)}),d((v,n,x,A)=>{k(U,"pass",e(m)),k(U,"fail",!e(m)),k(ne,"pass-bg",e(m)),k(ne,"fail-bg",!e(m)),c(cs,e(m)?mt:wt),c(vs,e(q).tags),c(is,v),c(Ue,n),c(me,` ${e(q).browser??Us[0].id??""}`),c(ha,e(he)),c(xa,x),c(ma,e(q).runners),c(wa,` ${A??""}`)},[()=>vt(e(q).triggerType),()=>new Date(e(q).createdAt).toLocaleString(),()=>ts(e($)),()=>at(e(q).runners,"runner")],b),l(ee,ye)};_(F,ee=>{e(q)?ee(Te,!1):ee(Ce)},!0)}l(r,y)};_(As,r=>{e(ls)?r(da):r(ua,!1)})}var _a=t(As,2);{var ga=r=>{var y=xr(),F=a(y),Ce=a(F),Te=a(Ce),ee=a(Te,!0);s(Te);var ye=t(Te,2);s(Ce);var U=t(Ce,2),Ke=a(U);{var Ae=p=>{var T=hr();d((me,Je)=>{C(T,"src",me),C(T,"alt",Je)},[()=>Js(e(K).screenshot),()=>bt(e(L)+1)],b),l(p,T)},ne=p=>{var T=fr();T.textContent=St,l(p,T)};_(Ke,p=>{var T;(T=e(K))!=null&&T.screenshot?p(Ae):p(ne,!1)})}s(U);var Re=t(U,2),ce=a(Re);et(ce),s(Re);var Pe=t(Re,2),Ie=a(Pe);const De=b(()=>{var p;return((p=e(K))==null?void 0:p.status)??"skipped"});ra(Ie,{get status(){return e(De)}});var xe=t(Ie,2);const cs=b(()=>{var p;return((p=e(K))==null?void 0:p.keyword)??""});ta(xe,{get keyword(){return e(cs)}});var Ye=t(xe,2),os=a(Ye,!0);s(Ye),s(Pe);var Fe=t(Pe,2),ke=a(Fe),W=t(ke,2),vs=a(W);{var Oe=p=>{var T=qr();l(p,T)},is=p=>{var T=yr();l(p,T)};_(vs,p=>{e(Le)?p(Oe):p(is,!1)})}s(W);var oe=t(W,2),Ue=t(oe,2),We=a(Ue,!0);s(Ue),s(Fe),s(F),s(y),d((p,T)=>{var me;c(ee,e(re).name),C(ce,"max",e(P).length-1),st(ce,e(L)),C(ce,"style",`--fill: ${(e(P).length>1?e(L)/(e(P).length-1)*100:0)??""}%`),c(os,(me=e(K))==null?void 0:me.name),ke.disabled=e(L)===0,C(W,"title",p),oe.disabled=e(L)===e(P).length-1,c(We,T)},[()=>_t(e(Le)),()=>gt(e(L)+1,e(P).length)],b),N("click",ye,ns),N("input",ce,p=>{le(),g(L,Number(p.target.value))}),N("click",ke,Es),N("click",W,Bs),N("click",oe,Ls),N("click",F,Ws(function(p){tt.call(this,j,p)})),Fs(3,y,()=>Qa,()=>({duration:150})),N("click",y,ns),l(r,y)};_(_a,r=>{e(Ve)&&e(re)&&r(ga)})}l(z,Cs),oa(),i()}export{Mr as component};
@@ -0,0 +1,23 @@
1
+ /*
2
+ * This file is part of Plum.
3
+ *
4
+ * Plum is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Plum is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Plum. If not, see https://www.gnu.org/licenses/.
16
+ */
17
+
18
+ /*
19
+ * This file is part of Plum.
20
+ * Licensed under the MIT License. See LICENSE file in the project root for details.
21
+ */
22
+
23
+ import{h as ve,a as v,t as p,c as ot,s as E,e as bt,b as it,n as Mt}from"../chunks/CMBQQ9RZ.js";import{i as oe}from"../chunks/CKDtmZUQ.js";import{h as Ct,_ as ie,a as ce,ak as de,al as _e,Z as pe,a7 as ge,a6 as ue,a8 as fe,U as he,p as me,am as xe,an as Ee,l as S,b as ke,f as T,c as be,$ as Le,g as t,y as Pt,s as L,ao as ye,j as l,m as w,d as n,k as r,t as m,x as tt,n as ct}from"../chunks/BAACMRH5.js";import{i as k,s as Ie,a as Lt}from"../chunks/CgnwuKKO.js";import{e as Vt,t as A,a as yt,f as we,i as Te,c as Ot}from"../chunks/TOCyHP97.js";import{t as It,s as et,u as Se}from"../chunks/4N1zIH8t.js";import{b as jt}from"../chunks/2zMvi6fR.js";import{g as dt}from"../chunks/DtGXv8RA.js";import{p as Re}from"../chunks/DW_iTTZe.js";import{b as Ae,c as Be,d as Ne}from"../chunks/DW85KPAh.js";import{r as wt}from"../chunks/DDblTLLE.js";import{e as Ce,g as Pe,h as Ve,i as Oe,V as je,j as De,k as Ue,l as Ge,w as $e,C as We,m as He,n as Me,o as Fe,q as qe,F as Ye,W as Ke,s as Ze,u as ze,v as Je,A as Qe,x as Xe,y as Dt,z as Ut,B as Gt,E as $t}from"../chunks/B98sHkeB.js";import{t as ts}from"../chunks/D2gYTmAA.js";import{B as es}from"../chunks/oN0Z3NSF.js";import{B as Wt}from"../chunks/CuqnZUex.js";function Ht(_t,pt,K){Ct&&ie();var st=_t,Z=he,B,at=ce()?de:_e;pe(()=>{at(Z,Z=pt())&&(B&&ge(B),B=ue(()=>K(st)))}),Ct&&(st=fe)}var ss=p('<div class="idle-state svelte-4v9t4g"><div class="idle-icon svelte-4v9t4g"><svg width="40" height="40" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="svelte-4v9t4g"><circle cx="12" cy="12" r="10" class="svelte-4v9t4g"></circle><polyline points="12 6 12 12 16 14" class="svelte-4v9t4g"></polyline></svg></div> <h2 class="svelte-4v9t4g"></h2> <p class="svelte-4v9t4g"></p> <a href="/reports" class="idle-link svelte-4v9t4g"></a></div>'),as=p('<a class="cron-task-chip svelte-4v9t4g"> </a>'),rs=p('<div class="cron-running-state svelte-4v9t4g"><div class="cron-running-icon svelte-4v9t4g"><span class="cron-pulse-dot svelte-4v9t4g"></span></div> <h2 class="svelte-4v9t4g"> </h2> <div class="cron-task-list svelte-4v9t4g"></div> <p class="svelte-4v9t4g"></p></div>'),ns=p('<span class="live-badge svelte-4v9t4g"><span class="live-dot svelte-4v9t4g"></span> </span>'),ls=p('<span class="run-title-label svelte-4v9t4g"> </span> <span class="run-sep svelte-4v9t4g">·</span>',1),vs=p('<span class="run-sep svelte-4v9t4g">·</span> <span class="run-detail svelte-4v9t4g"> </span>',1),os=p('<div class="run-info svelte-4v9t4g"><!> <span class="run-tag-label svelte-4v9t4g"> </span> <span class="run-sep svelte-4v9t4g">·</span> <span class="run-detail svelte-4v9t4g"> </span> <span class="run-sep svelte-4v9t4g">·</span> <span class="run-detail svelte-4v9t4g"> </span> <!></div>'),is=p('<button class="cancel-btn svelte-4v9t4g"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="svelte-4v9t4g"><rect x="3" y="3" width="18" height="18" rx="2" class="svelte-4v9t4g"></rect><line x1="9" y1="9" x2="15" y2="15" class="svelte-4v9t4g"></line><line x1="15" y1="9" x2="9" y2="15" class="svelte-4v9t4g"></line></svg> </button>'),cs=Mt('<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" class="svelte-4v9t4g"><polyline points="20 6 9 17 4 12" class="svelte-4v9t4g"></polyline></svg> ',1),ds=Mt('<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" class="svelte-4v9t4g"><line x1="18" y1="6" x2="6" y2="18" class="svelte-4v9t4g"></line><line x1="6" y1="6" x2="18" y2="18" class="svelte-4v9t4g"></line></svg> ',1),_s=p('<div class="completion-bar svelte-4v9t4g"><div class="completion-left svelte-4v9t4g"><!></div> <div class="completion-right svelte-4v9t4g"><span class="redirect-hint svelte-4v9t4g"> </span> <button class="view-now-btn svelte-4v9t4g"> <svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="svelte-4v9t4g"><line x1="5" y1="12" x2="19" y2="12" class="svelte-4v9t4g"></line><polyline points="12 5 19 12 12 19" class="svelte-4v9t4g"></polyline></svg></button></div></div>'),ps=p('<span class="tab-count svelte-4v9t4g"> </span>'),gs=p('<button class="lane-tab svelte-4v9t4g"><span class="tab-dot svelte-4v9t4g"></span> <!></button>'),us=p('<div class="lane-tabs svelte-4v9t4g"></div>'),fs=p('<img class="live-shot svelte-4v9t4g">'),hs=p('<!> <div class="step-overlay svelte-4v9t4g"><span class="step-keyword svelte-4v9t4g"></span> <span class="step-name svelte-4v9t4g"> </span></div>',1),ms=p('<div class="awaiting-state svelte-4v9t4g"><svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" opacity="0.25" class="svelte-4v9t4g"><rect x="2" y="5" width="20" height="14" rx="2" class="svelte-4v9t4g"></rect><circle cx="12" cy="12" r="3" class="svelte-4v9t4g"></circle></svg> <span class="svelte-4v9t4g"> </span></div>'),xs=p('<img class="live-shot svelte-4v9t4g">'),Es=p('<!> <div class="step-overlay svelte-4v9t4g"><span class="step-keyword svelte-4v9t4g"></span> <span class="step-name svelte-4v9t4g"> </span></div>',1),ks=p('<div class="awaiting-state svelte-4v9t4g"><svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" opacity="0.25" class="svelte-4v9t4g"><rect x="2" y="5" width="20" height="14" rx="2" class="svelte-4v9t4g"></rect><circle cx="12" cy="12" r="3" class="svelte-4v9t4g"></circle></svg> <span class="svelte-4v9t4g"> </span></div>'),bs=p('<pre class="terminal svelte-4v9t4g"> </pre>'),Ls=p('<pre class="terminal svelte-4v9t4g"> </pre>'),ys=p('<div class="run-header svelte-4v9t4g"><div class="header-left svelte-4v9t4g"><!> <!></div> <!></div> <!> <!> <div class="run-view svelte-4v9t4g"><div class="screenshot-panel svelte-4v9t4g"><!></div> <div class="terminal-panel svelte-4v9t4g"><div class="terminal-bar svelte-4v9t4g"><span class="dot red svelte-4v9t4g"></span> <span class="dot yellow svelte-4v9t4g"></span> <span class="dot green svelte-4v9t4g"></span> <span class="terminal-label svelte-4v9t4g"><!></span></div> <!></div></div>',1),Is=p("<!> <!>",1);function $s(_t,pt){me(pt,!1);const[K,st]=Ie(),Z=()=>Lt(Re,"$page",K),B=()=>Lt(Ae,"$backgroundRuns",K),at=()=>Lt(Be,"$runnerState",K),V=w(),s=w(),U=w(),N=w(),G=w(),Tt=w(),C=w(),Ft={output:"",running:!1,testCompleted:!1,latestReportId:null,status:"idle",lanes:[],currentRun:null,latestScreenshot:null};let $=w(),W=w(),O=w(null),z=w(It/1e3),j=w(null),P=w(null);xe(()=>{t($)&&Pt($,t($).scrollTop=t($).scrollHeight),t(W)&&Pt(W,t(W).scrollTop=t(W).scrollHeight)}),Ee(()=>{t(O)&&clearTimeout(t(O)),t(j)&&clearInterval(t(j))});function qt(){t(O)&&clearTimeout(t(O)),t(j)&&clearInterval(t(j)),dt(wt(t(s).latestReportId))}S(()=>Z(),()=>{L(V,Z().url.searchParams.get("run"))}),S(()=>(t(V),B(),at()),()=>{L(s,t(V)?B()[t(V)]??Ft:at())}),S(()=>t(s),()=>{L(U,t(s).lanes.length>0)}),S(()=>B(),()=>{L(N,Object.entries(B()).filter(([,y])=>y.running))}),S(()=>(t(V),t(s),t(N)),()=>{L(G,!t(V)&&!t(s).running&&!t(s).testCompleted&&t(N).length>0)}),S(()=>(t(s),t(G)),()=>{L(Tt,!t(s).running&&!t(s).testCompleted&&!t(G))}),S(()=>(t(G),t(N),dt),()=>{t(G)&&t(N).length===1&&dt(`/reports/live?run=${t(N)[0][0]}`)}),S(()=>(t(s),t(P)),()=>{t(s).lanes.length===0?L(P,null):t(s).lanes.find(y=>y.id===t(P))||L(P,t(s).lanes[0].id)}),S(()=>(t(s),t(P)),()=>{L(C,t(s).lanes.find(y=>y.id===t(P))??null)}),S(()=>(t(s),t(O),t(z),t(j),wt),()=>{t(s).testCompleted&&t(s).latestReportId&&!t(O)&&(L(z,It/1e3),L(j,setInterval(()=>{ye(z,-1),t(z)<=0&&clearInterval(t(j))},1e3)),L(O,setTimeout(()=>dt(wt(t(s).latestReportId)),It)))}),ke(),oe();var St=Is();ve(y=>{Le.title=Ce});var Rt=T(St);es(Rt,{href:"/reports",label:Pe});var Yt=l(Rt,2);{var Kt=y=>{var H=ss(),rt=l(n(H),2);rt.textContent=Ve;var nt=l(rt,2);nt.textContent=Oe;var gt=l(nt,2);gt.textContent=je,r(H),v(y,H)},Zt=y=>{var H=ot(),rt=T(H);{var nt=M=>{var F=rs(),R=l(n(F),2),J=n(R,!0);r(R);var q=l(R,2);Vt(q,5,()=>t(N),([D,Q])=>D,(D,Q)=>{let ft=()=>t(Q)[0],lt=()=>t(Q)[1];var Y=as(),vt=n(Y);r(Y),m(ht=>{et(Y,"href",`/reports/live?run=${ft()??""}`),E(vt,`${lt().label??""} · ${ht??""}`)},[()=>ts(lt().kind)],tt),v(D,Y)}),r(q);var ut=l(q,2);ut.textContent=De,r(F),m(D=>E(J,D),[()=>Ue(t(N).length)],tt),v(M,F)},gt=M=>{var F=ys(),R=T(F),J=n(R),q=n(J);{var ut=a=>{var e=ns(),d=l(n(e),1,!0);d.nodeValue=Ge,r(e),v(a,e)},D=a=>{var e=ot(),d=T(e);{var c=i=>{Wt(i,{variant:"pass",children:(o,g)=>{ct();var _=it();_.nodeValue=Ze,v(o,_)},$$slots:{default:!0}})},u=i=>{Wt(i,{variant:"fail",children:(o,g)=>{ct();var _=it();_.nodeValue=ze,v(o,_)},$$slots:{default:!0}})};k(d,i=>{t(s).status==="pass"?i(c):i(u,!1)},!0)}v(a,e)};k(q,a=>{t(s).running?a(ut):a(D,!1)})}var Q=l(q,2);{var ft=a=>{var e=os(),d=n(e);{var c=f=>{var h=ls(),X=T(h),kt=n(X,!0);r(X),ct(2),m(()=>E(kt,t(s).currentRun.runTitle)),v(f,h)};k(d,f=>{t(s).currentRun.runTitle&&f(c)})}var u=l(d,2),i=n(u,!0);r(u);var o=l(u,4),g=n(o,!0);r(o);var _=l(o,4),x=n(_,!0);r(_);var I=l(_,2);{var b=f=>{var h=vs(),X=l(T(h),2),kt=n(X,!0);r(X),m(le=>E(kt,le),[()=>Je(t(s).lanes.length)],tt),v(f,h)};k(I,f=>{t(s).lanes.length>1&&f(b)})}r(e),m(f=>{E(i,t(s).currentRun.tag||Se),E(g,f),E(x,t(s).currentRun.browser)},[()=>$e(t(s).currentRun.workers)],tt),v(a,e)};k(Q,a=>{t(s).currentRun&&a(ft)})}r(J);var lt=l(J,2);{var Y=a=>{var e=is(),d=l(n(e));d.nodeValue=` ${We}`,r(e),bt("click",e,function(...c){var u;(u=Ne)==null||u.apply(this,c)}),v(a,e)};k(lt,a=>{t(s).running&&!t(V)&&a(Y)})}r(R);var vt=l(R,2);{var ht=a=>{var e=_s(),d=n(e),c=n(d);{var u=b=>{var f=cs(),h=l(T(f),1,!0);h.nodeValue=Qe,v(b,f)},i=b=>{var f=ds(),h=l(T(f),1,!0);h.nodeValue=Xe,v(b,f)};k(c,b=>{t(s).status==="pass"?b(u):b(i,!1)})}r(d);var o=l(d,2),g=n(o),_=n(g,!0);r(g);var x=l(g,2),I=n(x);I.nodeValue=`${He} `,ct(),r(x),r(o),r(e),m(b=>{A(e,"pass-bar",t(s).status==="pass"),A(e,"fail-bar",t(s).status==="fail"),E(_,b)},[()=>Me(t(z))],tt),bt("click",x,qt),yt(3,e,()=>we,()=>({y:-8,duration:250})),v(a,e)};k(vt,a=>{t(s).testCompleted&&t(s).latestReportId&&a(ht)})}var At=l(vt,2);{var zt=a=>{var e=us();Vt(e,5,()=>t(s).lanes,Te,(d,c)=>{var u=gs(),i=n(u),o=l(i),g=l(o);{var _=x=>{var I=ps(),b=n(I,!0);r(I),m(()=>E(b,t(c).testCount)),v(x,I)};k(g,x=>{t(c).testCount&&x(_)})}r(u),m(()=>{A(u,"active",t(P)===t(c).id),A(i,"tab-dot-running",t(c).status==="running"),A(i,"tab-dot-done",t(c).status==="done"),A(i,"tab-dot-error",t(c).status==="error"),E(o,` ${t(c).name??""} `)}),bt("click",u,()=>L(P,t(c).id)),v(d,u)}),r(e),v(a,e)};k(At,a=>{t(U)&&a(zt)})}var mt=l(At,2),xt=n(mt),Jt=n(xt);{var Qt=a=>{var e=ot(),d=T(e);{var c=i=>{var o=hs(),g=T(o);Ht(g,()=>t(C).latestScreenshot.data,f=>{var h=fs();et(h,"alt",$t),m(()=>et(h,"src",`data:image/jpeg;base64,${t(C).latestScreenshot.data??""}`)),yt(1,h,()=>Ot,()=>({duration:120})),v(f,h)});var _=l(g,2),x=n(_);x.textContent=Dt;var I=l(x,2),b=n(I,!0);r(I),r(_),m(()=>E(b,t(C).latestScreenshot.stepName)),v(i,o)},u=i=>{var o=ms(),g=l(n(o),2),_=n(g,!0);r(g),r(o),m(()=>{var x;return E(_,((x=t(C))==null?void 0:x.status)==="running"?Ut:Gt)}),v(i,o)};k(d,i=>{var o;(o=t(C))!=null&&o.latestScreenshot?i(c):i(u,!1)})}v(a,e)},Xt=a=>{var e=ot(),d=T(e);{var c=i=>{var o=Es(),g=T(o);Ht(g,()=>t(s).latestScreenshot.data,f=>{var h=xs();et(h,"alt",$t),m(()=>et(h,"src",`data:image/jpeg;base64,${t(s).latestScreenshot.data??""}`)),yt(1,h,()=>Ot,()=>({duration:120})),v(f,h)});var _=l(g,2),x=n(_);x.textContent=Dt;var I=l(x,2),b=n(I,!0);r(I),r(_),m(()=>E(b,t(s).latestScreenshot.stepName)),v(i,o)},u=i=>{var o=ks(),g=l(n(o),2),_=n(g,!0);r(g),r(o),m(()=>E(_,t(s).running?Ut:Gt)),v(i,o)};k(d,i=>{t(s).latestScreenshot?i(c):i(u,!1)},!0)}v(a,e)};k(Jt,a=>{t(U)?a(Qt):a(Xt,!1)})}r(xt);var Bt=l(xt,2),Et=n(Bt),Nt=l(n(Et),6),te=n(Nt);{var ee=a=>{var e=it();m(()=>{var d;return E(e,((d=t(C))==null?void 0:d.name)??Fe)}),v(a,e)},se=a=>{var e=it();m(()=>E(e,t(s).running?qe:Ye)),v(a,e)};k(te,a=>{t(U)?a(ee):a(se,!1)})}r(Nt),r(Et);var ae=l(Et,2);{var re=a=>{var e=bs(),d=n(e,!0);r(e),jt(e,c=>L(W,c),()=>t(W)),m(()=>{var c;return E(d,((c=t(C))==null?void 0:c.logs)||Ke)}),v(a,e)},ne=a=>{var e=Ls(),d=n(e,!0);r(e),jt(e,c=>L($,c),()=>t($)),m(()=>E(d,t(s).output)),v(a,e)};k(ae,a=>{t(U)?a(re):a(ne,!1)})}r(Bt),r(mt),m(()=>{A(R,"header-pass",t(s).status==="pass"),A(R,"header-fail",t(s).status==="fail"),A(mt,"no-top-radius",t(U))}),v(M,F)};k(rt,M=>{t(G)?M(nt):M(gt,!1)},!0)}v(y,H)};k(Yt,y=>{t(Tt)?y(Kt):y(Zt,!1)})}v(_t,St),be(),st()}export{$s as component};
@@ -0,0 +1,23 @@
1
+ /*
2
+ * This file is part of Plum.
3
+ *
4
+ * Plum is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Plum is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Plum. If not, see https://www.gnu.org/licenses/.
16
+ */
17
+
18
+ /*
19
+ * This file is part of Plum.
20
+ * Licensed under the MIT License. See LICENSE file in the project root for details.
21
+ */
22
+
23
+ import{h as Dt,a as u,s as g,e as K,t as x,b as j,c as Ut}from"../chunks/CMBQQ9RZ.js";import{i as Bt}from"../chunks/CKDtmZUQ.js";import{p as Pt,o as Mt,s as o,f as qe,c as Ht,m as w,$ as Wt,t as $,x as H,g as e,y as W,d as n,j as s,k as a,v as Jt,n as Ne}from"../chunks/BAACMRH5.js";import{i as J,s as Gt,a as Ft}from"../chunks/CgnwuKKO.js";import{e as ze,i as Xe,t as xe}from"../chunks/TOCyHP97.js";import{A as Ce,s as q,w as bt,x as z,m as ht,e as Vt,B as Me,b as Kt,r as de,y as qt,z as zt,F as Xt,D as Qt}from"../chunks/4N1zIH8t.js";import{b as lt,a as Et}from"../chunks/t-La0hgu.js";import{T as Yt,B as Qe,b as Zt}from"../chunks/DlNYZJ7K.js";import{p as jt}from"../chunks/Bfc47y5P.js";import{f as es,a as ts}from"../chunks/D2cvzNT9.js";import{b as ss}from"../chunks/DW85KPAh.js";import{s as as}from"../chunks/D2gYTmAA.js";import{B as ns}from"../chunks/CuqnZUex.js";import{M as rs}from"../chunks/BjUpWNbl.js";import{C as ls}from"../chunks/3IV-uqHa.js";import{E as os}from"../chunks/C1sukchk.js";async function ot(){const c=await fetch(`${Ce}/cron-jobs`),{cronJobs:C}=await c.json();return C??[]}async function vs({taskName:c,cronExpression:C,tags:X,workers:Q,browser:O,runnerIds:R,notifyDiscord:T,notifySlack:B,isEditing:E,editTaskName:k}){const b=X.replace(/\sOR\s/gi,P=>P.toLowerCase()),Y=E?`${Ce}/cron-jobs/${encodeURIComponent(k)}`:`${Ce}/cron-jobs`;return(await fetch(Y,{method:E?"PUT":"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({cronExpression:C,taskName:c,tags:b,workers:Q,browser:O,runnerIds:R,notifyDiscord:T??!1,notifySlack:B??!1})})).json()}async function cs(c,C){return(await fetch(`${Ce}/cron-jobs/${encodeURIComponent(c)}/toggle`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({enabled:C})})).json()}async function is(c){return(await fetch(`${Ce}/cron-jobs/${encodeURIComponent(c)}/run`,{method:"POST"})).json()}async function ds(c){return(await fetch(`${Ce}/cron-jobs/${encodeURIComponent(c)}`,{method:"DELETE"})).json()}const us="Scheduled Tests — Plum",fs="Scheduled Tests",_s="Manage recurring test runs via cron jobs",ms="+ New Job",ps="No scheduled tests yet. Create one to get started.",bs="Task Name",hs="Use a unique, meaningful name",Es="nightly-login-suite",gs="Schedule",ks="Select a schedule",ys="Custom…",Ns="0 9 * * 1-5",xs="Invalid cron expression",Cs="Tags",Ts="Multiple: @test-1 or @test-2. Leave blank to run all tests",Ss="@suite-login (optional)",Ls="Workers",$s="Parallel workers for this job",Rs="Browser",Is="Runners",As="Select one or more nodes",ws="this server",Os="Notifications",Ds="All fields are required.",Us="Invalid cron expression.",Bs="Failed to save. Please try again.",gt="Network error.",Ps="Could not update schedule.",Ms="Could not trigger run.",Hs="Could not delete cron job.",Ws="Delete Cron Job",Js="Are you sure you want to delete",Gs="Disable schedule",Fs="Enable schedule",Vs="Running now",Ks="Name",qs="Schedule",zs="Tags",Xs="Workers",Qs="Browser",Ys="Runner",Zs="Actions",js=c=>c?"Edit Cron Job":"New Cron Job",ea=c=>c?"Save Changes":"Add Cron Job",ta=c=>c?Gs:Fs,sa=c=>`Run ${c} now`,aa=c=>`${c} nodes`,na=(c,C)=>`${c?"Updated":"Added"}: ${C}`,ra=c=>`Started: ${c}`,la=c=>`Deleted: ${c}`,oa=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];function va(c){if(!c)return"";const C=c.trim().split(/\s+/);if(C.length!==5)return"";const[X,Q,O,R,T]=C,B=(D,P)=>{const Te=D>=12?"PM":"AM";return`${D%12||12}:${String(P).padStart(2,"0")} ${Te}`},E=D=>/^\d+$/.test(D),k=E(Q)?+Q:null,b=E(X)?+X:null;if(c==="* * * * *")return"Every minute";const Y=X.match(/^\*\/(\d+)$/);if(Y&&Q==="*"&&O==="*"&&R==="*"&&T==="*")return`Every ${Y[1]} minutes`;if(b!==null&&Q==="*"&&O==="*"&&R==="*"&&T==="*")return`Every hour at :${String(b).padStart(2,"0")}`;if(b!==null&&k!==null&&O==="*"&&R==="*"&&T==="1-5")return`Weekdays at ${B(k,b)}`;if(b!==null&&k!==null&&O==="*"&&R==="*"&&T==="*")return`Daily at ${B(k,b)}`;if(b!==null&&k!==null&&O==="*"&&R==="*"&&/^\d$/.test(T))return`Every ${oa[+T]} at ${B(k,b)}`;const I=E(O)?+O:null;return b!==null&&k!==null&&I!==null&&R==="*"&&T==="*"?`Monthly on the ${I}${I===1?"st":I===2?"nd":I===3?"rd":"th"} at ${B(k,b)}`:""}var ca=x('<option class="svelte-13v7bmf"> </option>'),ia=x('<p class="cron-desc svelte-13v7bmf"> </p>'),da=x('<input type="text" class="field-input cron-input svelte-13v7bmf" spellcheck="false"> <!>',1),ua=x('<button type="button" class="seg-btn svelte-13v7bmf"><span class="seg-num svelte-13v7bmf"> </span></button>'),fa=x('<label class="runner-check-option svelte-13v7bmf"><input type="checkbox" class="svelte-13v7bmf"> <span class="runner-check-dot remote svelte-13v7bmf"></span> <span class="svelte-13v7bmf"> </span> <span class="runner-check-hint svelte-13v7bmf"> </span></label>'),_a=x('<label class="notify-check-option svelte-13v7bmf"><input type="checkbox" class="svelte-13v7bmf"> <span class="svelte-13v7bmf"></span></label>'),ma=x('<label class="notify-check-option svelte-13v7bmf"><input type="checkbox" class="svelte-13v7bmf"> <span class="svelte-13v7bmf"></span></label>'),pa=x('<div class="field svelte-13v7bmf"><div class="field-label svelte-13v7bmf"><span class="svelte-13v7bmf"></span></div> <div class="notify-checks svelte-13v7bmf"><!> <!></div></div>'),ba=x('<p class="form-error svelte-13v7bmf"> </p>'),ha=x('<form class="modal-form svelte-13v7bmf"><div class="field svelte-13v7bmf"><div class="field-label svelte-13v7bmf"><span class="svelte-13v7bmf"></span> <span class="field-hint svelte-13v7bmf"></span></div> <input type="text" class="field-input svelte-13v7bmf" required></div> <div class="field svelte-13v7bmf"><div class="field-label svelte-13v7bmf"><span class="svelte-13v7bmf"></span></div> <select class="field-input svelte-13v7bmf" required><option disabled class="svelte-13v7bmf"></option><!><option class="svelte-13v7bmf"></option></select> <!></div> <div class="field svelte-13v7bmf"><div class="field-label svelte-13v7bmf"><span class="svelte-13v7bmf"></span> <span class="field-hint svelte-13v7bmf"></span></div> <input type="text" class="field-input svelte-13v7bmf"></div> <div class="field svelte-13v7bmf"><div class="field-label svelte-13v7bmf"><span class="svelte-13v7bmf"></span> <span class="field-hint svelte-13v7bmf"></span></div> <div class="stepper svelte-13v7bmf"><button type="button" class="step-btn svelte-13v7bmf">−</button> <span class="step-val svelte-13v7bmf"> </span> <button type="button" class="step-btn svelte-13v7bmf">+</button></div></div> <div class="field svelte-13v7bmf"><div class="field-label svelte-13v7bmf"><span class="svelte-13v7bmf"></span></div> <div class="seg-control svelte-13v7bmf"></div></div> <div class="field svelte-13v7bmf"><div class="field-label svelte-13v7bmf"><span class="svelte-13v7bmf"></span> <span class="field-hint svelte-13v7bmf"></span></div> <div class="runner-checks svelte-13v7bmf"><label class="runner-check-option svelte-13v7bmf"><input type="checkbox" class="svelte-13v7bmf"> <span class="runner-check-dot built-in svelte-13v7bmf"></span> <span class="svelte-13v7bmf"></span> <span class="runner-check-hint svelte-13v7bmf"></span></label> <!></div></div> <!> <!> <!></form>'),Ea=x(' <strong class="svelte-13v7bmf"> </strong> ',1),ga=x('<span class="running-dot svelte-13v7bmf"></span>'),ka=x('<tr class="job-row svelte-13v7bmf"><td class="td-toggle svelte-13v7bmf"><button class="toggle-btn svelte-13v7bmf"><span class="toggle-knob svelte-13v7bmf"></span></button></td><td class="td-run svelte-13v7bmf"><button class="run-icon-btn svelte-13v7bmf"><svg width="10" height="10" viewBox="0 0 24 24" fill="currentColor" stroke="none" class="svelte-13v7bmf"><polygon points="5,3 19,12 5,21" class="svelte-13v7bmf"></polygon></svg></button></td><td class="job-name svelte-13v7bmf"><!> </td><td class="svelte-13v7bmf"><!></td><td class="svelte-13v7bmf"><span class="tag-text svelte-13v7bmf"> </span></td><td class="svelte-13v7bmf"><span class="workers-badge svelte-13v7bmf"> </span></td><td class="svelte-13v7bmf"><span class="browser-badge svelte-13v7bmf"> </span></td><td class="svelte-13v7bmf"><span class="runner-badge svelte-13v7bmf"><!></span></td><td class="actions-cell svelte-13v7bmf"><!> <!></td></tr>'),ya=x('<div class="table-wrap svelte-13v7bmf"><table class="data-table svelte-13v7bmf"><thead class="svelte-13v7bmf"><tr class="svelte-13v7bmf"><th class="th-toggle svelte-13v7bmf"></th><th class="th-run svelte-13v7bmf"></th><th class="svelte-13v7bmf"></th><th class="svelte-13v7bmf"></th><th class="svelte-13v7bmf"></th><th class="svelte-13v7bmf"></th><th class="svelte-13v7bmf"></th><th class="svelte-13v7bmf"></th><th class="svelte-13v7bmf"></th></tr></thead><tbody class="svelte-13v7bmf"></tbody></table></div>'),Na=x('<!> <!> <!> <div class="page-header svelte-13v7bmf"><div class="header-row svelte-13v7bmf"><div class="svelte-13v7bmf"><h1 class="svelte-13v7bmf"></h1> <p class="subtitle svelte-13v7bmf"></p></div> <!></div></div> <div class="card svelte-13v7bmf" style="padding: 0; overflow: hidden;"><!></div>',1);function Ha(c,C){Pt(C,!1);const[X,Q]=Gt(),O=()=>Ft(ss,"$backgroundRuns",X),R=/^(\*|([0-5]?[0-9])|\*\/[0-9]+) (\*|([01]?[0-9]|2[0-3])) (\*|([01]?[0-9]|3[01])) (\*|([1-9]|1[0-2])) (\*|[0-6](-[0-6])?)$/,T="__custom__",B=[{label:"Every minute",value:"* * * * *"},{label:"Every hour",value:"0 * * * *"},{label:"Every midnight",value:"0 0 * * *"},{label:"Every Sunday",value:"0 0 * * 0"}];let E=w([]),k=w([]),b=w({discordWebhookUrl:"",slackWebhookUrl:"",notifyPublicUrl:""}),Y=w(null),I=w(!1),D=w(!1),P=w(!1),Te="",Se=w(""),r=w({taskName:"",cronExpression:"",tags:"",workers:1,browser:Me[0].id,runnerIds:[z],notifyDiscord:!1,notifySlack:!1}),Le=w(""),$e=w(!1),G=w("");function ee(t,f){o(Y,{type:t,message:f}),setTimeout(()=>o(Y,null),Kt)}function kt(t){t.target.value===T?(o($e,!0),W(r,e(r).cronExpression="")):(o($e,!1),W(r,e(r).cronExpression=t.target.value))}function vt(t){const f=e(r).runnerIds;f.includes(t)&&f.length===1||W(r,e(r).runnerIds=f.includes(t)?f.filter(d=>d!==t):[...f,t])}function ct(t){W(r,e(r).workers=Math.max(1,Math.min(10,(e(r).workers||1)+t)))}function yt(){o(P,!1),Te="",o(r,{taskName:"",cronExpression:"",tags:"",workers:1,browser:Me[0].id,runnerIds:[z],notifyDiscord:!1,notifySlack:!1}),o(Le,""),o($e,!1),o(G,""),o(I,!0)}function Nt(t){o(P,!0),Te=t.taskName;const f=new Set([z,...e(k).map(y=>y.id)]),S=(t.runnerIds?t.runnerIds.split(",").map(y=>y.trim()):[z]).filter(y=>f.has(y));o(r,{taskName:t.taskName,cronExpression:t.cronExpression,tags:t.tags,workers:t.workers??1,browser:t.browser??Me[0].id,runnerIds:S.length>0?S:[z],notifyDiscord:t.notifyDiscord??!1,notifySlack:t.notifySlack??!1});const L=B.some(y=>y.value===t.cronExpression);o($e,!L),o(Le,L?t.cronExpression:T),o(G,""),o(I,!0)}async function xt(){if(!e(r).taskName||!e(r).cronExpression){o(G,Ds);return}if(!R.test(e(r).cronExpression)){o(G,Us);return}o(G,"");try{(await vs({...e(r),isEditing:e(P),editTaskName:Te})).message?(ee("success",na(e(P),e(r).taskName)),o(I,!1),o(E,await ot())):o(G,Bs)}catch{o(G,gt)}}async function Ct(t){const f=!t.enabled;o(E,e(E).map(d=>d.taskName===t.taskName?{...d,enabled:f}:d));try{await cs(t.taskName,f)}catch{o(E,e(E).map(d=>d.taskName===t.taskName?{...d,enabled:!f}:d)),ee("error",Ps)}}async function Tt(t){try{await is(t),ee("success",ra(t))}catch{ee("error",Ms)}}async function St(){try{(await ds(e(Se))).message?(ee("success",la(e(Se))),o(E,await ot())):ee("error",Hs)}catch{ee("error",gt)}o(D,!1),o(Se,"")}function Lt(t){var f;return((f=B.find(d=>d.value===t))==null?void 0:f.label)??t}Mt(async()=>{await(async t=>(o(E,t[0]),o(k,t[1]),o(b,t[2])))(await Promise.all([ot(),es().catch(()=>[]),ts().catch(()=>({discordWebhookUrl:"",slackWebhookUrl:"",notifyPublicUrl:""}))]))}),Bt();var it=Na();Dt(t=>{Wt.title=us});var dt=qe(it);const $t=H(()=>js(e(P)));rs(dt,{get title(){return e($t)},get open(){return e(I)},set open(t){o(I,t)},children:(t,f)=>{var d=ha(),S=n(d),L=n(S),y=n(L);y.textContent=bs;var ue=s(y,2);ue.textContent=hs,a(L);var fe=s(L,2);de(fe),q(fe,"placeholder",Es),a(S);var _e=s(S,2),me=n(_e),He=n(me);He.textContent=gs,a(me);var te=s(me,2);$(()=>{e(Le),Jt(()=>{})});var se=n(te);se.value=((se.__value="")==null,""),se.textContent=ks;var We=s(se);ze(We,1,()=>B,Xe,(v,i)=>{var l=ca(),h={},A=n(l,!0);a(l),$(()=>{h!==(h=e(i).value)&&(l.value=(l.__value=e(i).value)==null?"":e(i).value),g(A,e(i).label)}),u(v,l)});var m=s(We);m.value=(m.__value=T)==null?"":T,m.textContent=ys,a(te);var je=s(te,2);{var ae=v=>{var i=da(),l=qe(i);de(l),q(l,"placeholder",Ns);var h=s(l,2);{var A=M=>{var F=ia(),Be=n(F,!0);a(F),$((Pe,V)=>{xe(F,"cron-invalid",Pe),g(Be,V)},[()=>!R.test(e(r).cronExpression),()=>R.test(e(r).cronExpression)?va(e(r).cronExpression)||e(r).cronExpression:xs],H),u(M,F)};J(h,M=>{e(r).cronExpression&&M(A)})}lt(l,()=>e(r).cronExpression,M=>W(r,e(r).cronExpression=M)),u(v,i)};J(je,v=>{e($e)&&v(ae)})}a(_e);var U=s(_e,2),ne=n(U),Z=n(ne);Z.textContent=Cs;var Re=s(Z,2);Re.textContent=Ts,a(ne);var pe=s(ne,2);de(pe),q(pe,"placeholder",Ss),a(U);var re=s(U,2),be=n(re),Je=n(be);Je.textContent=Ls;var et=s(Je,2);et.textContent=$s,a(be);var he=s(be,2),Ie=n(he),le=s(Ie,2),Ge=n(le,!0);a(le);var Fe=s(le,2);a(he),a(re);var oe=s(re,2),ve=n(oe),tt=n(ve);tt.textContent=Rs,a(ve);var Ee=s(ve,2);ze(Ee,5,()=>Me,Xe,(v,i)=>{var l=ua(),h=n(l),A=n(h,!0);a(h),a(l),$(()=>{xe(l,"active",e(r).browser===e(i).id),g(A,e(i).label)}),K("click",l,()=>W(r,e(r).browser=e(i).id)),u(v,l)}),a(Ee),a(oe);var ge=s(oe,2),Ae=n(ge),ke=n(Ae);ke.textContent=Is;var we=s(ke,2);we.textContent=As,a(Ae);var Ve=s(Ae,2),Oe=n(Ve),ye=n(Oe);de(ye);var De=s(ye,4);De.textContent=bt;var Ke=s(De,2);Ke.textContent=ws,a(Oe);var st=s(Oe,2);ze(st,1,()=>e(k),Xe,(v,i)=>{var l=fa(),h=n(l);de(h);var A=s(h,4),M=n(A,!0);a(A);var F=s(A,2),Be=n(F,!0);a(F),a(l),$(Pe=>{ht(h,Pe),g(M,e(i).name),g(Be,e(i).url)},[()=>e(r).runnerIds.includes(e(i).id)],H),K("change",h,()=>vt(e(i).id)),u(v,l)}),a(Ve),a(ge);var _=s(ge,2);{var p=v=>{var i=pa(),l=n(i),h=n(l);h.textContent=Os,a(l);var A=s(l,2),M=n(A);{var F=V=>{var ce=_a(),ie=n(ce);de(ie);var nt=s(ie,2);nt.textContent=qt,a(ce),Et(ie,()=>e(r).notifyDiscord,rt=>W(r,e(r).notifyDiscord=rt)),u(V,ce)};J(M,V=>{e(b).discordWebhookUrl&&V(F)})}var Be=s(M,2);{var Pe=V=>{var ce=ma(),ie=n(ce);de(ie);var nt=s(ie,2);nt.textContent=zt,a(ce),Et(ie,()=>e(r).notifySlack,rt=>W(r,e(r).notifySlack=rt)),u(V,ce)};J(Be,V=>{e(b).slackWebhookUrl&&V(Pe)})}a(A),a(i),u(v,i)};J(_,v=>{(e(b).discordWebhookUrl||e(b).slackWebhookUrl)&&v(p)})}var N=s(_,2);{var Ue=v=>{var i=ba(),l=n(i,!0);a(i),$(()=>g(l,e(G))),u(v,i)};J(N,v=>{e(G)&&v(Ue)})}var at=s(N,2);Qe(at,{type:"submit",size:"md",children:(v,i)=>{Ne();var l=j();$(h=>g(l,h),[()=>ea(e(P))],H),u(v,l)},$$slots:{default:!0}}),a(d),$(v=>{Ie.disabled=e(r).workers<=1,g(Ge,e(r).workers),Fe.disabled=e(r).workers>=10,ht(ye,v)},[()=>e(r).runnerIds.includes(z)],H),lt(fe,()=>e(r).taskName,v=>W(r,e(r).taskName=v)),Zt(te,()=>e(Le),v=>o(Le,v)),K("change",te,kt),lt(pe,()=>e(r).tags,v=>W(r,e(r).tags=v)),K("click",Ie,()=>ct(-1)),K("click",Fe,()=>ct(1)),K("change",ye,()=>vt(z)),K("submit",d,jt(xt)),u(t,d)},$$slots:{default:!0},$$legacy:!0});var ut=s(dt,2);ls(ut,{title:Ws,get open(){return e(D)},set open(t){o(D,t)},$$events:{confirm:St},children:(t,f)=>{Ne();var d=Ea(),S=qe(d);S.nodeValue=`${Js} `;var L=s(S),y=n(L,!0);a(L);var ue=s(L,1,!0);ue.nodeValue=Vt,$(()=>g(y,e(Se))),u(t,d)},$$slots:{default:!0},$$legacy:!0});var ft=s(ut,2);Yt(ft,{get toast(){return e(Y)}});var Ye=s(ft,2),_t=n(Ye),Ze=n(_t),mt=n(Ze);mt.textContent=fs;var Rt=s(mt,2);Rt.textContent=_s,a(Ze);var It=s(Ze,2);Qe(It,{$$events:{click:yt},children:(t,f)=>{Ne();var d=j();d.nodeValue=ms,u(t,d)},$$slots:{default:!0}}),a(_t),a(Ye);var pt=s(Ye,2),At=n(pt);{var wt=t=>{os(t,{message:ps,size:"sm"})},Ot=t=>{var f=ya(),d=n(f),S=n(d),L=n(S),y=s(n(L),2);y.textContent=Ks;var ue=s(y);ue.textContent=qs;var fe=s(ue);fe.textContent=zs;var _e=s(fe);_e.textContent=Xs;var me=s(_e);me.textContent=Qs;var He=s(me);He.textContent=Ys;var te=s(He);te.textContent=Zs,a(L),a(S);var se=s(S);ze(se,5,()=>e(E),Xe,(We,m,je)=>{var ae=ka();const U=H(()=>e(m).runnerIds?e(m).runnerIds.split(",").map(_=>_.trim()):[z]);var ne=n(ae),Z=n(ne);a(ne);var Re=s(ne),pe=n(Re);a(Re);var re=s(Re),be=n(re);{var Je=_=>{var p=ga();q(p,"title",Vs),u(_,p)};J(be,_=>{var p;(p=O()[e(m).taskName])!=null&&p.running&&_(Je)})}var et=s(be);a(re);var he=s(re),Ie=n(he);ns(Ie,{variant:"schedule",children:(_,p)=>{Ne();var N=j();$(Ue=>g(N,Ue),[()=>Lt(e(m).cronExpression)],H),u(_,N)},$$slots:{default:!0}}),a(he);var le=s(he),Ge=n(le),Fe=n(Ge,!0);a(Ge),a(le);var oe=s(le),ve=n(oe),tt=n(ve);a(ve),a(oe);var Ee=s(oe),ge=n(Ee),Ae=n(ge,!0);a(ge),a(Ee);var ke=s(Ee),we=n(ke),Ve=n(we);{var Oe=_=>{var p=j();p.nodeValue=bt,u(_,p)},ye=_=>{var p=Ut(),N=qe(p);{var Ue=v=>{var i=j();$(l=>g(i,l),[()=>{var l;return((l=e(k).find(h=>h.id===e(U)[0]))==null?void 0:l.name)??e(U)[0]}],H),u(v,i)},at=v=>{var i=j();$(l=>g(i,l),[()=>aa(e(U).length)],H),u(v,i)};J(N,v=>{e(U).length===1?v(Ue):v(at,!1)},!0)}u(_,p)};J(Ve,_=>{e(U).length===1&&e(U)[0]===z?_(Oe):_(ye,!1)})}a(we),a(ke);var De=s(ke),Ke=n(De);Qe(Ke,{variant:"ghost",size:"sm",$$events:{click:()=>Nt(e(m))},children:(_,p)=>{Ne();var N=j();N.nodeValue=Xt,u(_,N)},$$slots:{default:!0}});var st=s(Ke,2);Qe(st,{variant:"danger",size:"sm",$$events:{click:()=>{o(Se,e(m).taskName),o(D,!0)}},children:(_,p)=>{Ne();var N=j();N.nodeValue=Qt,u(_,N)},$$slots:{default:!0}}),a(De),a(ae),$((_,p,N)=>{q(ae,"style",_),xe(ae,"disabled",!e(m).enabled),q(Z,"title",p),q(Z,"aria-label",p),q(Z,"aria-pressed",e(m).enabled),xe(Z,"on",e(m).enabled),q(pe,"title",N),g(et,` ${e(m).taskName??""}`),g(Fe,e(m).tags),xe(ve,"multi",e(m).workers>1),g(tt,`×${e(m).workers??""}`),g(Ae,e(m).browser??Me[0].id),xe(we,"multi-node",e(U).length>1)},[()=>as(je),()=>ta(e(m).enabled),()=>sa(e(m).taskName)],H),K("click",Z,()=>Ct(e(m))),K("click",pe,()=>Tt(e(m).taskName)),u(We,ae)}),a(se),a(d),a(f),u(t,f)};J(At,t=>{e(E).length===0?t(wt):t(Ot,!1)})}a(pt),u(c,it),Ht(),Q()}export{Ha as component};