screenreader-speech-capture 0.4.0-fix-bundle-material-web.12 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist/cli.mjs +31 -3
  2. package/dist/ui/adapter-node.js +1 -1
  3. package/dist/ui/client/ui/_app/immutable/assets/{0.Ck1JiV_4.css → 0.B2ZWH0rX.css} +1 -1
  4. package/dist/ui/client/ui/_app/immutable/assets/0.B2ZWH0rX.css.br +0 -0
  5. package/dist/ui/client/ui/_app/immutable/assets/0.B2ZWH0rX.css.gz +0 -0
  6. package/dist/ui/client/ui/_app/immutable/assets/2.CtITS5jU.css +1 -0
  7. package/dist/ui/client/ui/_app/immutable/assets/2.CtITS5jU.css.br +0 -0
  8. package/dist/ui/client/ui/_app/immutable/assets/2.CtITS5jU.css.gz +0 -0
  9. package/dist/ui/client/ui/_app/immutable/chunks/w6UAqFO5.js +37 -0
  10. package/dist/ui/client/ui/_app/immutable/chunks/w6UAqFO5.js.br +0 -0
  11. package/dist/ui/client/ui/_app/immutable/chunks/w6UAqFO5.js.gz +0 -0
  12. package/dist/ui/client/ui/_app/immutable/entry/{app.DWG4jy_K.js → app.COo3YJBG.js} +2 -2
  13. package/dist/ui/client/ui/_app/immutable/entry/app.COo3YJBG.js.br +2 -0
  14. package/dist/ui/client/ui/_app/immutable/entry/app.COo3YJBG.js.gz +0 -0
  15. package/dist/ui/client/ui/_app/immutable/nodes/{0.BHaQjZME.js → 0.BKE0tKKK.js} +1 -1
  16. package/dist/ui/client/ui/_app/immutable/nodes/0.BKE0tKKK.js.br +0 -0
  17. package/dist/ui/client/ui/_app/immutable/nodes/0.BKE0tKKK.js.gz +0 -0
  18. package/dist/ui/client/ui/_app/immutable/nodes/2.BCy3UgNz.js +227 -0
  19. package/dist/ui/client/ui/_app/immutable/nodes/2.BCy3UgNz.js.br +0 -0
  20. package/dist/ui/client/ui/_app/immutable/nodes/2.BCy3UgNz.js.gz +0 -0
  21. package/dist/ui/client/ui/_app/version.json +1 -1
  22. package/dist/ui/client/ui/_app/version.json.br +0 -0
  23. package/dist/ui/client/ui/_app/version.json.gz +0 -0
  24. package/dist/ui/server/.vite/manifest.json +33 -2
  25. package/dist/ui/server/_app/immutable/assets/{_layout.Ck1JiV_4.css → _layout.B2ZWH0rX.css} +1 -1
  26. package/dist/ui/server/_app/immutable/assets/_page.CtITS5jU.css +1 -0
  27. package/dist/ui/server/chunks/bridge-api.js +29 -1
  28. package/dist/ui/server/chunks/bridge-api.js.map +1 -1
  29. package/dist/ui/server/chunks/composition.js +180 -3
  30. package/dist/ui/server/chunks/composition.js.map +1 -1
  31. package/dist/ui/server/chunks/instance.js +3 -3
  32. package/dist/ui/server/chunks/internal.js +1 -1
  33. package/dist/ui/server/chunks/src.js +29 -2
  34. package/dist/ui/server/chunks/src.js.map +1 -1
  35. package/dist/ui/server/entries/endpoints/api/markers/_server.ts.js +14 -0
  36. package/dist/ui/server/entries/endpoints/api/markers/_server.ts.js.map +1 -0
  37. package/dist/ui/server/entries/endpoints/api/sessions/_server.ts.js +1 -1
  38. package/dist/ui/server/entries/endpoints/api/speech/_server.ts.js +21 -0
  39. package/dist/ui/server/entries/endpoints/api/speech/_server.ts.js.map +1 -0
  40. package/dist/ui/server/entries/endpoints/api/speech/stream/_server.ts.js +19 -0
  41. package/dist/ui/server/entries/endpoints/api/speech/stream/_server.ts.js.map +1 -0
  42. package/dist/ui/server/entries/pages/_layout.svelte.js +1 -1
  43. package/dist/ui/server/entries/pages/_page.svelte.js +341 -142
  44. package/dist/ui/server/entries/pages/_page.svelte.js.map +1 -1
  45. package/dist/ui/server/manifest-full.js +22 -1
  46. package/dist/ui/server/manifest.js +22 -1
  47. package/dist/ui/server/nodes/0.js +2 -2
  48. package/dist/ui/server/nodes/2.js +2 -2
  49. package/dist/ui/server/server.js +22 -1
  50. package/package.json +1 -1
  51. package/dist/ui/client/ui/_app/immutable/assets/0.Ck1JiV_4.css.br +0 -0
  52. package/dist/ui/client/ui/_app/immutable/assets/0.Ck1JiV_4.css.gz +0 -0
  53. package/dist/ui/client/ui/_app/immutable/assets/2.CnRjX9ZG.css +0 -1
  54. package/dist/ui/client/ui/_app/immutable/assets/2.CnRjX9ZG.css.br +0 -0
  55. package/dist/ui/client/ui/_app/immutable/assets/2.CnRjX9ZG.css.gz +0 -0
  56. package/dist/ui/client/ui/_app/immutable/chunks/WKeSQOEM.js +0 -37
  57. package/dist/ui/client/ui/_app/immutable/chunks/WKeSQOEM.js.br +0 -0
  58. package/dist/ui/client/ui/_app/immutable/chunks/WKeSQOEM.js.gz +0 -0
  59. package/dist/ui/client/ui/_app/immutable/entry/app.DWG4jy_K.js.br +0 -0
  60. package/dist/ui/client/ui/_app/immutable/entry/app.DWG4jy_K.js.gz +0 -0
  61. package/dist/ui/client/ui/_app/immutable/nodes/0.BHaQjZME.js.br +0 -0
  62. package/dist/ui/client/ui/_app/immutable/nodes/0.BHaQjZME.js.gz +0 -0
  63. package/dist/ui/client/ui/_app/immutable/nodes/2.DnTpD-Gs.js +0 -224
  64. package/dist/ui/client/ui/_app/immutable/nodes/2.DnTpD-Gs.js.br +0 -0
  65. package/dist/ui/client/ui/_app/immutable/nodes/2.DnTpD-Gs.js.gz +0 -0
  66. package/dist/ui/server/_app/immutable/assets/_page.CnRjX9ZG.css +0 -1
@@ -1 +1 @@
1
- ul.svelte-19wvxlf{flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;display:flex}li.svelte-19wvxlf{border:1px solid var(--md-sys-color-outline-variant);background:var(--md-sys-color-surface-container-lowest,transparent);height:32px;color:var(--md-sys-color-on-surface);font-family:var(--app-font-mono);font-size:var(--app-mono-size);white-space:nowrap;border-radius:8px;align-items:center;gap:8px;padding:0 12px;display:inline-flex}li.ok.svelte-19wvxlf{--dot:var(--app-success)}li.warning.svelte-19wvxlf{--dot:var(--app-warning);background:var(--app-warning-container);color:var(--app-on-warning-container);border-color:var(--app-warning)}li.error.svelte-19wvxlf{--dot:var(--md-sys-color-error);background:var(--md-sys-color-error-container);color:var(--md-sys-color-on-error-container);border-color:var(--md-sys-color-error)}li.neutral.svelte-19wvxlf{--dot:var(--md-sys-color-outline);color:var(--md-sys-color-on-surface-variant)}li.down.svelte-19wvxlf{--dot:var(--md-sys-color-error)}.dot.svelte-19wvxlf{box-sizing:border-box;background:var(--dot);border:2px solid var(--dot);border-radius:50%;width:8px;height:8px}.dot.hollow.svelte-19wvxlf{background:0 0}@media (width<800px){.chip-label.svelte-19wvxlf{display:none}}.sr-only.svelte-19wvxlf{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}md-icon-button.svelte-5q7qd7{--md-icon-button-icon-color:var(--md-sys-color-on-surface-variant);--md-icon-button-hover-icon-color:var(--md-sys-color-on-surface);--md-icon-button-focus-icon-color:var(--md-sys-color-on-surface)}.spin.svelte-5q7qd7{animation:.8s linear infinite svelte-5q7qd7-spin}@keyframes svelte-5q7qd7-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.spin.svelte-5q7qd7{animation:none}}header.svelte-4j9s4f{background:var(--md-sys-color-surface-container);min-height:68px;color:var(--md-sys-color-on-surface);align-items:center;gap:12px 16px;padding:10px 16px 10px 0;display:flex}.logo-slot.svelte-4j9s4f{width:var(--app-rail-width);flex:none;justify-content:center;align-items:center;display:flex}.logo.svelte-4j9s4f{background:var(--md-sys-color-primary);width:44px;height:44px;color:var(--md-sys-color-on-primary);border-radius:14px;justify-content:center;align-items:center;display:flex}.title.svelte-4j9s4f{flex-direction:column;min-width:0;margin-right:auto;display:flex}header.svelte-4j9s4f{flex-wrap:wrap}.name.svelte-4j9s4f{font-family:var(--md-sys-typescale-title-large-font);font-size:var(--md-sys-typescale-title-large-size);line-height:var(--md-sys-typescale-title-large-line-height);font-weight:var(--md-ref-typeface-weight-medium)}.meta.svelte-4j9s4f{font-family:var(--app-font-mono);font-size:var(--app-mono-size);line-height:var(--app-mono-line-height);color:var(--md-sys-color-on-surface-variant)}nav.svelte-sxtjmn{width:var(--app-rail-width);padding:var(--app-gutter) 0;background:var(--md-sys-color-surface);flex:none}ul.svelte-sxtjmn{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}a.svelte-sxtjmn{min-height:48px;color:var(--md-sys-color-on-surface-variant);flex-direction:column;align-items:center;gap:4px;text-decoration:none;display:flex}.indicator.svelte-sxtjmn{border-radius:16px;justify-content:center;align-items:center;width:56px;height:32px;display:flex}.indicator.current.svelte-sxtjmn{background:var(--md-sys-color-secondary-container);color:var(--md-sys-color-on-secondary-container)}a.svelte-sxtjmn:hover .indicator:where(.svelte-sxtjmn):not(.current){background:color-mix(in srgb, var(--md-sys-color-on-surface) 8%, transparent)}a[aria-current=page].svelte-sxtjmn{color:var(--md-sys-color-on-surface)}.label.svelte-sxtjmn{font-family:var(--md-sys-typescale-label-medium-font);font-size:var(--md-sys-typescale-label-medium-size);line-height:var(--md-sys-typescale-label-medium-line-height);font-weight:var(--md-ref-typeface-weight-medium)}@font-face{font-family:Roboto Flex Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(./roboto-flex-cyrillic-ext-opsz-normal.nDQikIyu.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto Flex Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(./roboto-flex-cyrillic-opsz-normal.SjuC5rw5.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Roboto Flex Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(./roboto-flex-greek-opsz-normal.C14fFRny.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Roboto Flex Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(./roboto-flex-vietnamese-opsz-normal.C-H_yGOU.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto Flex Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(./roboto-flex-latin-ext-opsz-normal.xNclTVCo.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto Flex Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(./roboto-flex-latin-opsz-normal.hy8fyBBC.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-mono-cyrillic-ext-400-normal.BHxv52bw.woff2)format("woff2"),url(./roboto-mono-cyrillic-ext-400-normal.W26xs1TL.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-mono-cyrillic-400-normal.C-_K-ZCn.woff2)format("woff2"),url(./roboto-mono-cyrillic-400-normal.B3hIXASd.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-mono-greek-400-normal.CH_u3Aru.woff2)format("woff2"),url(./roboto-mono-greek-400-normal.P8xe1gs1.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-mono-vietnamese-400-normal.yYTFiTTs.woff2)format("woff2"),url(./roboto-mono-vietnamese-400-normal.CzWHQABp.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-mono-latin-ext-400-normal.DLAV9S_w.woff2)format("woff2"),url(./roboto-mono-latin-ext-400-normal.BwLXVYNz.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-mono-latin-400-normal.GekRknry.woff2)format("woff2"),url(./roboto-mono-latin-400-normal.DBZPkcnn.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:500;src:url(./roboto-mono-cyrillic-ext-500-normal.DC57U9n8.woff2)format("woff2"),url(./roboto-mono-cyrillic-ext-500-normal.6xdwlG7p.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:500;src:url(./roboto-mono-cyrillic-500-normal.DGZ7-lUP.woff2)format("woff2"),url(./roboto-mono-cyrillic-500-normal.NpUJFYX7.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:500;src:url(./roboto-mono-greek-500-normal.DpRFkptA.woff2)format("woff2"),url(./roboto-mono-greek-500-normal.C2M8jX6G.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:500;src:url(./roboto-mono-vietnamese-500-normal.Cq-quQMu.woff2)format("woff2"),url(./roboto-mono-vietnamese-500-normal.IxzxMIj7.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:500;src:url(./roboto-mono-latin-ext-500-normal.Db3ge6Oe.woff2)format("woff2"),url(./roboto-mono-latin-ext-500-normal.B1IjfbhL.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:500;src:url(./roboto-mono-latin-500-normal.pxIOXZmA.woff2)format("woff2"),url(./roboto-mono-latin-500-normal.D6j6AMzd.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Material Symbols Outlined;font-style:normal;font-display:block;font-weight:400;src:url(./material-symbols-outlined-latin-400-normal.BhEvR8fk.woff2)format("woff2")}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--md-sys-color-primary:#415f91;--md-sys-color-on-primary:#fff;--md-sys-color-primary-container:#d6e3ff;--md-sys-color-on-primary-container:#001b3e;--md-sys-color-secondary:#565f71;--md-sys-color-on-secondary:#fff;--md-sys-color-secondary-container:#dae2f9;--md-sys-color-on-secondary-container:#131c2b;--md-sys-color-tertiary:#705575;--md-sys-color-on-tertiary:#fff;--md-sys-color-tertiary-container:#fad8fd;--md-sys-color-on-tertiary-container:#28132e;--md-sys-color-error:#ba1a1a;--md-sys-color-on-error:#fff;--md-sys-color-error-container:#ffdad6;--md-sys-color-on-error-container:#410002;--app-success:#2f6a1e;--app-on-success:#fff;--app-success-container:#b6f29a;--app-on-success-container:#062100;--app-warning:#7a5900;--app-on-warning:#fff;--app-warning-container:#ffdea4;--app-on-warning-container:#261900;--md-sys-color-surface:#f9f9ff;--md-sys-color-on-surface:#191c20;--md-sys-color-on-surface-variant:#44474e;--md-sys-color-outline:#74777f;--md-sys-color-outline-variant:#c4c6d0;--md-sys-color-surface-container-lowest:#fff;--md-sys-color-surface-container-low:#f3f3fa;--md-sys-color-surface-container:#ededf4;--md-sys-color-surface-container-high:#e7e8ee;--md-sys-color-surface-container-highest:#e2e2e9;--md-sys-color-inverse-surface:#2e3036;--md-sys-color-inverse-on-surface:#f0f0f7;--md-sys-color-inverse-primary:#aac7ff;--app-new-row:#415f911a;--md-sys-color-scrim:#00000052}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--md-sys-color-primary:#aac7ff;--md-sys-color-on-primary:#0a305f;--md-sys-color-primary-container:#284777;--md-sys-color-on-primary-container:#d6e3ff;--md-sys-color-secondary:#bec6dc;--md-sys-color-on-secondary:#283141;--md-sys-color-secondary-container:#3e4759;--md-sys-color-on-secondary-container:#dae2f9;--md-sys-color-tertiary:#ddbce0;--md-sys-color-on-tertiary:#3f2844;--md-sys-color-tertiary-container:#573e5c;--md-sys-color-on-tertiary-container:#fad8fd;--md-sys-color-error:#ffb4ab;--md-sys-color-on-error:#690005;--md-sys-color-error-container:#93000a;--md-sys-color-on-error-container:#ffdad6;--app-success:#9bd680;--app-on-success:#0b3900;--app-success-container:#185108;--app-on-success-container:#b6f29a;--app-warning:#f5bf48;--app-on-warning:#412d00;--app-warning-container:#5c4200;--app-on-warning-container:#ffdea4;--md-sys-color-surface:#111318;--md-sys-color-on-surface:#e2e2e9;--md-sys-color-on-surface-variant:#c4c6d0;--md-sys-color-outline:#8e9099;--md-sys-color-outline-variant:#44474e;--md-sys-color-surface-container-lowest:#0c0e13;--md-sys-color-surface-container-low:#191c20;--md-sys-color-surface-container:#1d2024;--md-sys-color-surface-container-high:#282a2f;--md-sys-color-surface-container-highest:#33353a;--md-sys-color-inverse-surface:#e2e2e9;--md-sys-color-inverse-on-surface:#2e3036;--md-sys-color-inverse-primary:#415f91;--app-new-row:#aac7ff1f;--md-sys-color-scrim:#00000080}}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--md-sys-color-primary:#aac7ff;--md-sys-color-on-primary:#0a305f;--md-sys-color-primary-container:#284777;--md-sys-color-on-primary-container:#d6e3ff;--md-sys-color-secondary:#bec6dc;--md-sys-color-on-secondary:#283141;--md-sys-color-secondary-container:#3e4759;--md-sys-color-on-secondary-container:#dae2f9;--md-sys-color-tertiary:#ddbce0;--md-sys-color-on-tertiary:#3f2844;--md-sys-color-tertiary-container:#573e5c;--md-sys-color-on-tertiary-container:#fad8fd;--md-sys-color-error:#ffb4ab;--md-sys-color-on-error:#690005;--md-sys-color-error-container:#93000a;--md-sys-color-on-error-container:#ffdad6;--app-success:#9bd680;--app-on-success:#0b3900;--app-success-container:#185108;--app-on-success-container:#b6f29a;--app-warning:#f5bf48;--app-on-warning:#412d00;--app-warning-container:#5c4200;--app-on-warning-container:#ffdea4;--md-sys-color-surface:#111318;--md-sys-color-on-surface:#e2e2e9;--md-sys-color-on-surface-variant:#c4c6d0;--md-sys-color-outline:#8e9099;--md-sys-color-outline-variant:#44474e;--md-sys-color-surface-container-lowest:#0c0e13;--md-sys-color-surface-container-low:#191c20;--md-sys-color-surface-container:#1d2024;--md-sys-color-surface-container-high:#282a2f;--md-sys-color-surface-container-highest:#33353a;--md-sys-color-inverse-surface:#e2e2e9;--md-sys-color-inverse-on-surface:#2e3036;--md-sys-color-inverse-primary:#415f91;--app-new-row:#aac7ff1f;--md-sys-color-scrim:#00000080}:root{--md-ref-typeface-plain:"Roboto Flex Variable", "Roboto Flex", Roboto, system-ui, sans-serif;--md-ref-typeface-brand:"Roboto Flex Variable", "Roboto Flex", Roboto, system-ui, sans-serif;--md-ref-typeface-weight-regular:400;--md-ref-typeface-weight-medium:500;--md-ref-typeface-weight-bold:700;--md-sys-typescale-display-large-font:var(--md-ref-typeface-plain);--md-sys-typescale-display-large-size:57px;--md-sys-typescale-display-large-line-height:64px;--md-sys-typescale-display-large-weight:400;--md-sys-typescale-display-large-tracking:-.25px;--md-sys-typescale-display-medium-font:var(--md-ref-typeface-plain);--md-sys-typescale-display-medium-size:45px;--md-sys-typescale-display-medium-line-height:52px;--md-sys-typescale-display-medium-weight:400;--md-sys-typescale-display-medium-tracking:0;--md-sys-typescale-display-small-font:var(--md-ref-typeface-plain);--md-sys-typescale-display-small-size:36px;--md-sys-typescale-display-small-line-height:44px;--md-sys-typescale-display-small-weight:400;--md-sys-typescale-display-small-tracking:0;--md-sys-typescale-headline-large-font:var(--md-ref-typeface-plain);--md-sys-typescale-headline-large-size:32px;--md-sys-typescale-headline-large-line-height:40px;--md-sys-typescale-headline-large-weight:400;--md-sys-typescale-headline-large-tracking:0;--md-sys-typescale-headline-medium-font:var(--md-ref-typeface-plain);--md-sys-typescale-headline-medium-size:28px;--md-sys-typescale-headline-medium-line-height:36px;--md-sys-typescale-headline-medium-weight:400;--md-sys-typescale-headline-medium-tracking:0;--md-sys-typescale-headline-small-font:var(--md-ref-typeface-plain);--md-sys-typescale-headline-small-size:24px;--md-sys-typescale-headline-small-line-height:32px;--md-sys-typescale-headline-small-weight:400;--md-sys-typescale-headline-small-tracking:0;--md-sys-typescale-title-large-font:var(--md-ref-typeface-plain);--md-sys-typescale-title-large-size:22px;--md-sys-typescale-title-large-line-height:28px;--md-sys-typescale-title-large-weight:400;--md-sys-typescale-title-large-tracking:0;--md-sys-typescale-title-medium-font:var(--md-ref-typeface-plain);--md-sys-typescale-title-medium-size:16px;--md-sys-typescale-title-medium-line-height:24px;--md-sys-typescale-title-medium-weight:500;--md-sys-typescale-title-medium-tracking:.15px;--md-sys-typescale-title-small-font:var(--md-ref-typeface-plain);--md-sys-typescale-title-small-size:14px;--md-sys-typescale-title-small-line-height:20px;--md-sys-typescale-title-small-weight:500;--md-sys-typescale-title-small-tracking:.1px;--md-sys-typescale-body-large-font:var(--md-ref-typeface-plain);--md-sys-typescale-body-large-size:16px;--md-sys-typescale-body-large-line-height:24px;--md-sys-typescale-body-large-weight:400;--md-sys-typescale-body-large-tracking:.5px;--md-sys-typescale-body-medium-font:var(--md-ref-typeface-plain);--md-sys-typescale-body-medium-size:14px;--md-sys-typescale-body-medium-line-height:20px;--md-sys-typescale-body-medium-weight:400;--md-sys-typescale-body-medium-tracking:.25px;--md-sys-typescale-body-small-font:var(--md-ref-typeface-plain);--md-sys-typescale-body-small-size:12px;--md-sys-typescale-body-small-line-height:16px;--md-sys-typescale-body-small-weight:400;--md-sys-typescale-body-small-tracking:.4px;--md-sys-typescale-label-large-font:var(--md-ref-typeface-plain);--md-sys-typescale-label-large-size:14px;--md-sys-typescale-label-large-line-height:20px;--md-sys-typescale-label-large-weight:500;--md-sys-typescale-label-large-tracking:.1px;--md-sys-typescale-label-medium-font:var(--md-ref-typeface-plain);--md-sys-typescale-label-medium-size:12px;--md-sys-typescale-label-medium-line-height:16px;--md-sys-typescale-label-medium-weight:500;--md-sys-typescale-label-medium-tracking:.5px;--md-sys-typescale-label-small-font:var(--md-ref-typeface-plain);--md-sys-typescale-label-small-size:11px;--md-sys-typescale-label-small-line-height:16px;--md-sys-typescale-label-small-weight:500;--md-sys-typescale-label-small-tracking:.5px;--app-font-mono:"Roboto Mono", ui-monospace, Consolas, monospace;--app-log-text-size:15px;--app-log-text-line-height:22px;--app-mono-size:12px;--app-mono-line-height:16px;--md-sys-shape-corner-none:0;--md-sys-shape-corner-extra-small:4px;--md-sys-shape-corner-small:8px;--md-sys-shape-corner-medium:12px;--md-sys-shape-corner-large:16px;--md-sys-shape-corner-extra-large:28px;--md-sys-shape-corner-full:9999px;--md-sys-state-hover-state-layer-opacity:.08;--md-sys-state-focus-state-layer-opacity:.12;--md-sys-state-pressed-state-layer-opacity:.12;--md-sys-state-dragged-state-layer-opacity:.16;--md-sys-state-focus-indicator-thickness:3px;--md-sys-state-focus-indicator-outer-offset:2px;--app-disabled-content-opacity:.38;--app-disabled-container-opacity:.12;--md-sys-motion-duration-short1:50ms;--md-sys-motion-duration-short2:.1s;--md-sys-motion-duration-short3:.15s;--md-sys-motion-duration-short4:.2s;--md-sys-motion-duration-medium1:.25s;--md-sys-motion-duration-medium2:.3s;--md-sys-motion-duration-medium3:.35s;--md-sys-motion-duration-medium4:.4s;--md-sys-motion-easing-standard:cubic-bezier(.2, 0, 0, 1);--md-sys-motion-easing-standard-accelerate:cubic-bezier(.3, 0, 1, 1);--md-sys-motion-easing-standard-decelerate:cubic-bezier(0, 0, 0, 1);--md-sys-motion-easing-emphasized:cubic-bezier(.2, 0, 0, 1);--md-sys-motion-easing-emphasized-accelerate:cubic-bezier(.3, 0, .8, .15);--md-sys-motion-easing-emphasized-decelerate:cubic-bezier(.05, .7, .1, 1);--md-sys-elevation-level0:0 0 0 0 transparent;--md-sys-elevation-level2:0 1px 2px #0000004d, 0 2px 6px 2px #00000026;--md-sys-elevation-level3:0 1px 3px #0000004d, 0 4px 8px 3px #00000026;--app-rail-width:80px;--app-sessions-width:300px;--app-sessions-collapsed-width:72px;--app-actions-width:360px;--app-status-sheet-width:400px;--app-gutter:12px;--app-log-columns:112px 64px minmax(0, 1fr) 56px;--app-new-row-ms:1600;--app-long-gap-ms:3000}*,:before,:after{box-sizing:border-box}body{background:var(--md-sys-color-surface);color:var(--md-sys-color-on-surface);font-family:var(--md-sys-typescale-body-large-font);font-size:var(--md-sys-typescale-body-large-size);line-height:var(--md-sys-typescale-body-large-line-height);font-weight:var(--md-sys-typescale-body-large-weight);letter-spacing:var(--md-sys-typescale-body-large-tracking);-webkit-font-smoothing:antialiased;margin:0}button,input,select,textarea{font-family:inherit}:focus-visible{outline:var(--md-sys-state-focus-indicator-thickness) solid var(--md-sys-color-secondary);outline-offset:var(--md-sys-state-focus-indicator-outer-offset)}.mono{font-family:var(--app-font-mono)}md-icon-button:not(:defined){justify-content:center;align-items:center;block-size:40px;inline-size:40px;display:inline-flex}html:not([data-icons-ready]) md-icon{color:#0000;-webkit-user-select:none;user-select:none;background:linear-gradient(90deg, transparent, color-mix(in srgb, var(--md-sys-color-surface) 60%, transparent), transparent) 0 0 / 200% 100% no-repeat var(--md-sys-color-surface-container-highest);border-radius:50%;block-size:24px;inline-size:24px;animation:1.2s ease-in-out infinite icon-shimmer;display:inline-flex;overflow:hidden}md-icon:not(:defined){color:#0000;-webkit-user-select:none;user-select:none;background:linear-gradient(90deg, transparent, color-mix(in srgb, var(--md-sys-color-surface) 60%, transparent), transparent) 0 0 / 200% 100% no-repeat var(--md-sys-color-surface-container-highest);border-radius:50%;block-size:24px;inline-size:24px;animation:1.2s ease-in-out infinite icon-shimmer;display:inline-flex;overflow:hidden}@keyframes icon-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@media (prefers-reduced-motion:reduce){html:not([data-icons-ready]) md-icon{animation:none}md-icon:not(:defined){animation:none}}.app.svelte-12qhfyh{flex-direction:column;height:100dvh;display:flex}.body.svelte-12qhfyh{flex:1;align-items:stretch;min-height:0;display:flex}main.svelte-12qhfyh{flex:1;min-width:0;min-height:0;padding:0 16px;overflow:auto}
1
+ ul.svelte-19wvxlf{flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;display:flex}li.svelte-19wvxlf{border:1px solid var(--md-sys-color-outline-variant);background:var(--md-sys-color-surface-container-lowest,transparent);height:32px;color:var(--md-sys-color-on-surface);font-family:var(--app-font-mono);font-size:var(--app-mono-size);white-space:nowrap;border-radius:8px;align-items:center;gap:8px;padding:0 12px;display:inline-flex}li.ok.svelte-19wvxlf{--dot:var(--app-success)}li.warning.svelte-19wvxlf{--dot:var(--app-warning);background:var(--app-warning-container);color:var(--app-on-warning-container);border-color:var(--app-warning)}li.error.svelte-19wvxlf{--dot:var(--md-sys-color-error);background:var(--md-sys-color-error-container);color:var(--md-sys-color-on-error-container);border-color:var(--md-sys-color-error)}li.neutral.svelte-19wvxlf{--dot:var(--md-sys-color-outline);color:var(--md-sys-color-on-surface-variant)}li.down.svelte-19wvxlf{--dot:var(--md-sys-color-error)}.dot.svelte-19wvxlf{box-sizing:border-box;background:var(--dot);border:2px solid var(--dot);border-radius:50%;width:8px;height:8px}.dot.hollow.svelte-19wvxlf{background:0 0}@media (width<800px){.chip-label.svelte-19wvxlf{display:none}}.sr-only.svelte-19wvxlf{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}md-icon-button.svelte-5q7qd7{--md-icon-button-icon-color:var(--md-sys-color-on-surface-variant);--md-icon-button-hover-icon-color:var(--md-sys-color-on-surface);--md-icon-button-focus-icon-color:var(--md-sys-color-on-surface)}.spin.svelte-5q7qd7{animation:.8s linear infinite svelte-5q7qd7-spin}@keyframes svelte-5q7qd7-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.spin.svelte-5q7qd7{animation:none}}header.svelte-4j9s4f{background:var(--md-sys-color-surface-container);min-height:68px;color:var(--md-sys-color-on-surface);align-items:center;gap:12px 16px;padding:10px 16px 10px 0;display:flex}.logo-slot.svelte-4j9s4f{width:var(--app-rail-width);flex:none;justify-content:center;align-items:center;display:flex}.logo.svelte-4j9s4f{background:var(--md-sys-color-primary);width:44px;height:44px;color:var(--md-sys-color-on-primary);border-radius:14px;justify-content:center;align-items:center;display:flex}.title.svelte-4j9s4f{flex-direction:column;min-width:0;margin-right:auto;display:flex}header.svelte-4j9s4f{flex-wrap:wrap}.name.svelte-4j9s4f{font-family:var(--md-sys-typescale-title-large-font);font-size:var(--md-sys-typescale-title-large-size);line-height:var(--md-sys-typescale-title-large-line-height);font-weight:var(--md-ref-typeface-weight-medium)}.meta.svelte-4j9s4f{font-family:var(--app-font-mono);font-size:var(--app-mono-size);line-height:var(--app-mono-line-height);color:var(--md-sys-color-on-surface-variant)}nav.svelte-sxtjmn{width:var(--app-rail-width);padding:var(--app-gutter) 0;background:var(--md-sys-color-surface);flex:none}ul.svelte-sxtjmn{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}a.svelte-sxtjmn{min-height:48px;color:var(--md-sys-color-on-surface-variant);flex-direction:column;align-items:center;gap:4px;text-decoration:none;display:flex}.indicator.svelte-sxtjmn{border-radius:16px;justify-content:center;align-items:center;width:56px;height:32px;display:flex}.indicator.current.svelte-sxtjmn{background:var(--md-sys-color-secondary-container);color:var(--md-sys-color-on-secondary-container)}a.svelte-sxtjmn:hover .indicator:where(.svelte-sxtjmn):not(.current){background:color-mix(in srgb, var(--md-sys-color-on-surface) 8%, transparent)}a[aria-current=page].svelte-sxtjmn{color:var(--md-sys-color-on-surface)}.label.svelte-sxtjmn{font-family:var(--md-sys-typescale-label-medium-font);font-size:var(--md-sys-typescale-label-medium-size);line-height:var(--md-sys-typescale-label-medium-line-height);font-weight:var(--md-ref-typeface-weight-medium)}@font-face{font-family:Roboto Flex Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(./roboto-flex-cyrillic-ext-opsz-normal.nDQikIyu.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto Flex Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(./roboto-flex-cyrillic-opsz-normal.SjuC5rw5.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Roboto Flex Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(./roboto-flex-greek-opsz-normal.C14fFRny.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Roboto Flex Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(./roboto-flex-vietnamese-opsz-normal.C-H_yGOU.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto Flex Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(./roboto-flex-latin-ext-opsz-normal.xNclTVCo.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto Flex Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(./roboto-flex-latin-opsz-normal.hy8fyBBC.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-mono-cyrillic-ext-400-normal.BHxv52bw.woff2)format("woff2"),url(./roboto-mono-cyrillic-ext-400-normal.W26xs1TL.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-mono-cyrillic-400-normal.C-_K-ZCn.woff2)format("woff2"),url(./roboto-mono-cyrillic-400-normal.B3hIXASd.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-mono-greek-400-normal.CH_u3Aru.woff2)format("woff2"),url(./roboto-mono-greek-400-normal.P8xe1gs1.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-mono-vietnamese-400-normal.yYTFiTTs.woff2)format("woff2"),url(./roboto-mono-vietnamese-400-normal.CzWHQABp.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-mono-latin-ext-400-normal.DLAV9S_w.woff2)format("woff2"),url(./roboto-mono-latin-ext-400-normal.BwLXVYNz.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-mono-latin-400-normal.GekRknry.woff2)format("woff2"),url(./roboto-mono-latin-400-normal.DBZPkcnn.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:500;src:url(./roboto-mono-cyrillic-ext-500-normal.DC57U9n8.woff2)format("woff2"),url(./roboto-mono-cyrillic-ext-500-normal.6xdwlG7p.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:500;src:url(./roboto-mono-cyrillic-500-normal.DGZ7-lUP.woff2)format("woff2"),url(./roboto-mono-cyrillic-500-normal.NpUJFYX7.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:500;src:url(./roboto-mono-greek-500-normal.DpRFkptA.woff2)format("woff2"),url(./roboto-mono-greek-500-normal.C2M8jX6G.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:500;src:url(./roboto-mono-vietnamese-500-normal.Cq-quQMu.woff2)format("woff2"),url(./roboto-mono-vietnamese-500-normal.IxzxMIj7.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:500;src:url(./roboto-mono-latin-ext-500-normal.Db3ge6Oe.woff2)format("woff2"),url(./roboto-mono-latin-ext-500-normal.B1IjfbhL.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:500;src:url(./roboto-mono-latin-500-normal.pxIOXZmA.woff2)format("woff2"),url(./roboto-mono-latin-500-normal.D6j6AMzd.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Material Symbols Outlined;font-style:normal;font-display:block;font-weight:400;src:url(./material-symbols-outlined-latin-400-normal.BhEvR8fk.woff2)format("woff2")}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--md-sys-color-primary:#415f91;--md-sys-color-on-primary:#fff;--md-sys-color-primary-container:#d6e3ff;--md-sys-color-on-primary-container:#001b3e;--md-sys-color-secondary:#565f71;--md-sys-color-on-secondary:#fff;--md-sys-color-secondary-container:#dae2f9;--md-sys-color-on-secondary-container:#131c2b;--md-sys-color-tertiary:#705575;--md-sys-color-on-tertiary:#fff;--md-sys-color-tertiary-container:#fad8fd;--md-sys-color-on-tertiary-container:#28132e;--md-sys-color-error:#ba1a1a;--md-sys-color-on-error:#fff;--md-sys-color-error-container:#ffdad6;--md-sys-color-on-error-container:#410002;--app-success:#2f6a1e;--app-on-success:#fff;--app-success-container:#b6f29a;--app-on-success-container:#062100;--app-warning:#7a5900;--app-on-warning:#fff;--app-warning-container:#ffdea4;--app-on-warning-container:#261900;--md-sys-color-surface:#f9f9ff;--md-sys-color-on-surface:#191c20;--md-sys-color-on-surface-variant:#44474e;--md-sys-color-outline:#74777f;--md-sys-color-outline-variant:#c4c6d0;--md-sys-color-surface-container-lowest:#fff;--md-sys-color-surface-container-low:#f3f3fa;--md-sys-color-surface-container:#ededf4;--md-sys-color-surface-container-high:#e7e8ee;--md-sys-color-surface-container-highest:#e2e2e9;--md-sys-color-inverse-surface:#2e3036;--md-sys-color-inverse-on-surface:#f0f0f7;--md-sys-color-inverse-primary:#aac7ff;--app-new-row:#415f911a;--md-sys-color-scrim:#00000052}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--md-sys-color-primary:#aac7ff;--md-sys-color-on-primary:#0a305f;--md-sys-color-primary-container:#284777;--md-sys-color-on-primary-container:#d6e3ff;--md-sys-color-secondary:#bec6dc;--md-sys-color-on-secondary:#283141;--md-sys-color-secondary-container:#3e4759;--md-sys-color-on-secondary-container:#dae2f9;--md-sys-color-tertiary:#ddbce0;--md-sys-color-on-tertiary:#3f2844;--md-sys-color-tertiary-container:#573e5c;--md-sys-color-on-tertiary-container:#fad8fd;--md-sys-color-error:#ffb4ab;--md-sys-color-on-error:#690005;--md-sys-color-error-container:#93000a;--md-sys-color-on-error-container:#ffdad6;--app-success:#9bd680;--app-on-success:#0b3900;--app-success-container:#185108;--app-on-success-container:#b6f29a;--app-warning:#f5bf48;--app-on-warning:#412d00;--app-warning-container:#5c4200;--app-on-warning-container:#ffdea4;--md-sys-color-surface:#111318;--md-sys-color-on-surface:#e2e2e9;--md-sys-color-on-surface-variant:#c4c6d0;--md-sys-color-outline:#8e9099;--md-sys-color-outline-variant:#44474e;--md-sys-color-surface-container-lowest:#0c0e13;--md-sys-color-surface-container-low:#191c20;--md-sys-color-surface-container:#1d2024;--md-sys-color-surface-container-high:#282a2f;--md-sys-color-surface-container-highest:#33353a;--md-sys-color-inverse-surface:#e2e2e9;--md-sys-color-inverse-on-surface:#2e3036;--md-sys-color-inverse-primary:#415f91;--app-new-row:#aac7ff1f;--md-sys-color-scrim:#00000080}}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--md-sys-color-primary:#aac7ff;--md-sys-color-on-primary:#0a305f;--md-sys-color-primary-container:#284777;--md-sys-color-on-primary-container:#d6e3ff;--md-sys-color-secondary:#bec6dc;--md-sys-color-on-secondary:#283141;--md-sys-color-secondary-container:#3e4759;--md-sys-color-on-secondary-container:#dae2f9;--md-sys-color-tertiary:#ddbce0;--md-sys-color-on-tertiary:#3f2844;--md-sys-color-tertiary-container:#573e5c;--md-sys-color-on-tertiary-container:#fad8fd;--md-sys-color-error:#ffb4ab;--md-sys-color-on-error:#690005;--md-sys-color-error-container:#93000a;--md-sys-color-on-error-container:#ffdad6;--app-success:#9bd680;--app-on-success:#0b3900;--app-success-container:#185108;--app-on-success-container:#b6f29a;--app-warning:#f5bf48;--app-on-warning:#412d00;--app-warning-container:#5c4200;--app-on-warning-container:#ffdea4;--md-sys-color-surface:#111318;--md-sys-color-on-surface:#e2e2e9;--md-sys-color-on-surface-variant:#c4c6d0;--md-sys-color-outline:#8e9099;--md-sys-color-outline-variant:#44474e;--md-sys-color-surface-container-lowest:#0c0e13;--md-sys-color-surface-container-low:#191c20;--md-sys-color-surface-container:#1d2024;--md-sys-color-surface-container-high:#282a2f;--md-sys-color-surface-container-highest:#33353a;--md-sys-color-inverse-surface:#e2e2e9;--md-sys-color-inverse-on-surface:#2e3036;--md-sys-color-inverse-primary:#415f91;--app-new-row:#aac7ff1f;--md-sys-color-scrim:#00000080}:root{--md-ref-typeface-plain:"Roboto Flex Variable", "Roboto Flex", Roboto, system-ui, sans-serif;--md-ref-typeface-brand:"Roboto Flex Variable", "Roboto Flex", Roboto, system-ui, sans-serif;--md-ref-typeface-weight-regular:400;--md-ref-typeface-weight-medium:500;--md-ref-typeface-weight-bold:700;--md-sys-typescale-display-large-font:var(--md-ref-typeface-plain);--md-sys-typescale-display-large-size:57px;--md-sys-typescale-display-large-line-height:64px;--md-sys-typescale-display-large-weight:400;--md-sys-typescale-display-large-tracking:-.25px;--md-sys-typescale-display-medium-font:var(--md-ref-typeface-plain);--md-sys-typescale-display-medium-size:45px;--md-sys-typescale-display-medium-line-height:52px;--md-sys-typescale-display-medium-weight:400;--md-sys-typescale-display-medium-tracking:0;--md-sys-typescale-display-small-font:var(--md-ref-typeface-plain);--md-sys-typescale-display-small-size:36px;--md-sys-typescale-display-small-line-height:44px;--md-sys-typescale-display-small-weight:400;--md-sys-typescale-display-small-tracking:0;--md-sys-typescale-headline-large-font:var(--md-ref-typeface-plain);--md-sys-typescale-headline-large-size:32px;--md-sys-typescale-headline-large-line-height:40px;--md-sys-typescale-headline-large-weight:400;--md-sys-typescale-headline-large-tracking:0;--md-sys-typescale-headline-medium-font:var(--md-ref-typeface-plain);--md-sys-typescale-headline-medium-size:28px;--md-sys-typescale-headline-medium-line-height:36px;--md-sys-typescale-headline-medium-weight:400;--md-sys-typescale-headline-medium-tracking:0;--md-sys-typescale-headline-small-font:var(--md-ref-typeface-plain);--md-sys-typescale-headline-small-size:24px;--md-sys-typescale-headline-small-line-height:32px;--md-sys-typescale-headline-small-weight:400;--md-sys-typescale-headline-small-tracking:0;--md-sys-typescale-title-large-font:var(--md-ref-typeface-plain);--md-sys-typescale-title-large-size:22px;--md-sys-typescale-title-large-line-height:28px;--md-sys-typescale-title-large-weight:400;--md-sys-typescale-title-large-tracking:0;--md-sys-typescale-title-medium-font:var(--md-ref-typeface-plain);--md-sys-typescale-title-medium-size:16px;--md-sys-typescale-title-medium-line-height:24px;--md-sys-typescale-title-medium-weight:500;--md-sys-typescale-title-medium-tracking:.15px;--md-sys-typescale-title-small-font:var(--md-ref-typeface-plain);--md-sys-typescale-title-small-size:14px;--md-sys-typescale-title-small-line-height:20px;--md-sys-typescale-title-small-weight:500;--md-sys-typescale-title-small-tracking:.1px;--md-sys-typescale-body-large-font:var(--md-ref-typeface-plain);--md-sys-typescale-body-large-size:16px;--md-sys-typescale-body-large-line-height:24px;--md-sys-typescale-body-large-weight:400;--md-sys-typescale-body-large-tracking:.5px;--md-sys-typescale-body-medium-font:var(--md-ref-typeface-plain);--md-sys-typescale-body-medium-size:14px;--md-sys-typescale-body-medium-line-height:20px;--md-sys-typescale-body-medium-weight:400;--md-sys-typescale-body-medium-tracking:.25px;--md-sys-typescale-body-small-font:var(--md-ref-typeface-plain);--md-sys-typescale-body-small-size:12px;--md-sys-typescale-body-small-line-height:16px;--md-sys-typescale-body-small-weight:400;--md-sys-typescale-body-small-tracking:.4px;--md-sys-typescale-label-large-font:var(--md-ref-typeface-plain);--md-sys-typescale-label-large-size:14px;--md-sys-typescale-label-large-line-height:20px;--md-sys-typescale-label-large-weight:500;--md-sys-typescale-label-large-tracking:.1px;--md-sys-typescale-label-medium-font:var(--md-ref-typeface-plain);--md-sys-typescale-label-medium-size:12px;--md-sys-typescale-label-medium-line-height:16px;--md-sys-typescale-label-medium-weight:500;--md-sys-typescale-label-medium-tracking:.5px;--md-sys-typescale-label-small-font:var(--md-ref-typeface-plain);--md-sys-typescale-label-small-size:11px;--md-sys-typescale-label-small-line-height:16px;--md-sys-typescale-label-small-weight:500;--md-sys-typescale-label-small-tracking:.5px;--app-font-mono:"Roboto Mono", ui-monospace, Consolas, monospace;--app-log-text-size:15px;--app-log-text-line-height:22px;--app-mono-size:12px;--app-mono-line-height:16px;--md-sys-shape-corner-none:0;--md-sys-shape-corner-extra-small:4px;--md-sys-shape-corner-small:8px;--md-sys-shape-corner-medium:12px;--md-sys-shape-corner-large:16px;--md-sys-shape-corner-extra-large:28px;--md-sys-shape-corner-full:9999px;--md-sys-state-hover-state-layer-opacity:.08;--md-sys-state-focus-state-layer-opacity:.12;--md-sys-state-pressed-state-layer-opacity:.12;--md-sys-state-dragged-state-layer-opacity:.16;--md-sys-state-focus-indicator-thickness:3px;--md-sys-state-focus-indicator-outer-offset:2px;--app-disabled-content-opacity:.38;--app-disabled-container-opacity:.12;--md-sys-motion-duration-short1:50ms;--md-sys-motion-duration-short2:.1s;--md-sys-motion-duration-short3:.15s;--md-sys-motion-duration-short4:.2s;--md-sys-motion-duration-medium1:.25s;--md-sys-motion-duration-medium2:.3s;--md-sys-motion-duration-medium3:.35s;--md-sys-motion-duration-medium4:.4s;--md-sys-motion-easing-standard:cubic-bezier(.2, 0, 0, 1);--md-sys-motion-easing-standard-accelerate:cubic-bezier(.3, 0, 1, 1);--md-sys-motion-easing-standard-decelerate:cubic-bezier(0, 0, 0, 1);--md-sys-motion-easing-emphasized:cubic-bezier(.2, 0, 0, 1);--md-sys-motion-easing-emphasized-accelerate:cubic-bezier(.3, 0, .8, .15);--md-sys-motion-easing-emphasized-decelerate:cubic-bezier(.05, .7, .1, 1);--md-sys-elevation-level0:0 0 0 0 transparent;--md-sys-elevation-level2:0 1px 2px #0000004d, 0 2px 6px 2px #00000026;--md-sys-elevation-level3:0 1px 3px #0000004d, 0 4px 8px 3px #00000026;--app-rail-width:80px;--app-sessions-width:300px;--app-sessions-collapsed-width:72px;--app-actions-width:360px;--app-status-sheet-width:400px;--app-gutter:12px;--app-new-row-ms:1600;--app-long-gap-ms:3000}*,:before,:after{box-sizing:border-box}body{background:var(--md-sys-color-surface);color:var(--md-sys-color-on-surface);font-family:var(--md-sys-typescale-body-large-font);font-size:var(--md-sys-typescale-body-large-size);line-height:var(--md-sys-typescale-body-large-line-height);font-weight:var(--md-sys-typescale-body-large-weight);letter-spacing:var(--md-sys-typescale-body-large-tracking);-webkit-font-smoothing:antialiased;margin:0}button,input,select,textarea{font-family:inherit}:focus-visible{outline:var(--md-sys-state-focus-indicator-thickness) solid var(--md-sys-color-secondary);outline-offset:var(--md-sys-state-focus-indicator-outer-offset)}.mono{font-family:var(--app-font-mono)}md-icon-button:not(:defined){justify-content:center;align-items:center;block-size:40px;inline-size:40px;display:inline-flex}html:not([data-icons-ready]) md-icon{color:#0000;-webkit-user-select:none;user-select:none;background:linear-gradient(90deg, transparent, color-mix(in srgb, var(--md-sys-color-surface) 60%, transparent), transparent) 0 0 / 200% 100% no-repeat var(--md-sys-color-surface-container-highest);border-radius:50%;block-size:24px;inline-size:24px;animation:1.2s ease-in-out infinite icon-shimmer;display:inline-flex;overflow:hidden}md-icon:not(:defined){color:#0000;-webkit-user-select:none;user-select:none;background:linear-gradient(90deg, transparent, color-mix(in srgb, var(--md-sys-color-surface) 60%, transparent), transparent) 0 0 / 200% 100% no-repeat var(--md-sys-color-surface-container-highest);border-radius:50%;block-size:24px;inline-size:24px;animation:1.2s ease-in-out infinite icon-shimmer;display:inline-flex;overflow:hidden}@keyframes icon-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@media (prefers-reduced-motion:reduce){html:not([data-icons-ready]) md-icon{animation:none}md-icon:not(:defined){animation:none}}.app.svelte-12qhfyh{flex-direction:column;height:100dvh;display:flex}.body.svelte-12qhfyh{flex:1;align-items:stretch;min-height:0;display:flex}main.svelte-12qhfyh{flex:1;min-width:0;min-height:0;padding:0 16px;overflow:auto}
@@ -0,0 +1 @@
1
+ md-dialog.svelte-ttl1x5{--md-dialog-container-color:var(--md-sys-color-surface-container-high);--md-dialog-headline-color:var(--md-sys-color-on-surface);--md-dialog-supporting-text-color:var(--md-sys-color-on-surface-variant)}form.svelte-ttl1x5{flex-direction:column;gap:16px;min-width:min(360px,70vw);display:flex}.failure.svelte-ttl1x5{color:var(--md-sys-color-error);margin:0}table.svelte-5c13xh{border-collapse:separate;border-spacing:0;width:100%}thead.svelte-5c13xh th:where(.svelte-5c13xh){z-index:1;border-top:1px solid var(--md-sys-color-outline-variant);border-bottom:1px solid var(--md-sys-color-outline-variant);background:var(--md-sys-color-surface-container-low);color:var(--md-sys-color-on-surface-variant);letter-spacing:.5px;text-align:left;text-transform:uppercase;padding:6px 12px;font-size:11px;font-weight:500;position:sticky;top:0}thead.svelte-5c13xh th:where(.svelte-5c13xh):first-child{padding-left:24px}th.seq.svelte-5c13xh,td.seq.svelte-5c13xh{text-align:left;padding-right:24px}tbody.svelte-5c13xh tr:where(.svelte-5c13xh):hover{background:var(--md-sys-color-surface-container)}td.svelte-5c13xh{vertical-align:baseline;padding:7px 12px}td.time.svelte-5c13xh,td.seq.svelte-5c13xh{white-space:nowrap;width:1%}td.time.svelte-5c13xh{color:var(--md-sys-color-on-surface-variant);font-size:var(--app-mono-size);line-height:var(--app-mono-line-height);padding-left:24px}td.text.svelte-5c13xh{color:var(--md-sys-color-on-surface);font-size:var(--app-log-text-size);line-height:var(--app-log-text-line-height);overflow-wrap:anywhere}td.seq.svelte-5c13xh{color:var(--md-sys-color-outline);font-size:11px}tr.fresh.svelte-5c13xh{animation:svelte-5c13xh-fade-new calc(var(--app-new-row-ms) * 1ms) ease-out}@keyframes svelte-5c13xh-fade-new{0%{background:var(--app-new-row)}}@container (width<=520px){th.seq.svelte-5c13xh,td.seq.svelte-5c13xh{display:none}}@media (prefers-reduced-motion:reduce){tr.fresh.svelte-5c13xh{animation:none}}.pill.svelte-5c13xh{background:var(--md-sys-color-tertiary-container);max-width:70%;height:24px;color:var(--md-sys-color-on-tertiary-container);vertical-align:middle;border-radius:6px;align-items:center;gap:4px;padding:0 8px 0 4px;font-size:12px;font-weight:500;line-height:16px;display:inline-flex}.pill.svelte-5c13xh md-icon:where(.svelte-5c13xh){--md-icon-size:16px;font-size:16px}.label.svelte-5c13xh{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.visually-hidden.svelte-5c13xh{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.log.svelte-1jnrixz{box-sizing:border-box;border:1px solid var(--md-sys-color-outline-variant);background:var(--md-sys-color-surface-container-lowest);border-radius:16px;flex-direction:column;height:100%;min-height:0;display:flex;overflow:hidden}header.svelte-1jnrixz{box-sizing:border-box;flex:none;align-items:center;gap:8px;min-height:64px;padding:16px 12px 8px 24px;display:flex}h1.svelte-1jnrixz{min-width:0;color:var(--md-sys-color-on-surface);flex:1;margin:0;font-size:22px;font-weight:500;line-height:28px}.trunc.svelte-1jnrixz{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.scroll.svelte-1jnrixz{flex:1;min-height:0;overflow-y:auto;container-type:inline-size}.empty.svelte-1jnrixz{color:var(--md-sys-color-on-surface-variant);text-align:center;flex-direction:column;align-items:center;padding:96px 24px;animation:0s .25s backwards svelte-1jnrixz-reveal;display:flex}@keyframes svelte-1jnrixz-reveal{0%{visibility:hidden}}.empty.svelte-1jnrixz md-icon:where(.svelte-1jnrixz){--md-icon-size:40px;font-size:40px}.empty.svelte-1jnrixz p:where(.svelte-1jnrixz){margin:4px 0 0;font-size:14px}.empty.svelte-1jnrixz .title:where(.svelte-1jnrixz){color:var(--md-sys-color-on-surface);font-size:16px;font-weight:500}footer.svelte-1jnrixz{border-top:1px solid var(--md-sys-color-outline-variant);background:var(--md-sys-color-surface-container-low);flex:none;justify-content:space-between;align-items:center;gap:12px;padding:8px 12px 8px 24px;display:flex}footer.svelte-1jnrixz p.failed:where(.svelte-1jnrixz){color:var(--md-sys-color-error)}footer.svelte-1jnrixz p:where(.svelte-1jnrixz){color:var(--md-sys-color-on-surface-variant);font-size:var(--app-mono-size);margin:0}li.svelte-3qlloz{border-radius:var(--list-item-shape,var(--md-sys-shape-corner-small,8px));min-height:60px;color:var(--md-sys-color-on-surface);--md-ripple-hover-color:currentColor;--md-ripple-pressed-color:currentColor;align-items:center;display:flex;position:relative}li.selected.svelte-3qlloz{background:var(--md-sys-color-secondary-container);color:var(--md-sys-color-on-secondary-container)}.select.svelte-3qlloz{border-radius:inherit;min-width:0;min-height:60px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1;justify-content:center;align-items:flex-start;gap:4px;padding:8px 16px;display:flex}.title.svelte-3qlloz{max-width:100%;font-size:var(--md-sys-typescale-label-large-size,14px);text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.subtitle.svelte-3qlloz{max-width:100%;color:var(--md-sys-color-on-surface-variant);font-family:var(--app-font-mono);font-size:var(--app-mono-size);white-space:nowrap;overflow:hidden}li.selected.svelte-3qlloz .subtitle:where(.svelte-3qlloz){color:inherit}.trailing.svelte-3qlloz{flex:none;margin-right:8px;display:flex}.sr-only.svelte-3qlloz{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}md-dialog.svelte-17z3k9b{--md-dialog-container-color:var(--md-sys-color-surface-container-high);--md-dialog-headline-color:var(--md-sys-color-on-surface);--md-dialog-supporting-text-color:var(--md-sys-color-on-surface-variant);max-width:min(400px,100% - 48px)}p.svelte-17z3k9b{margin:0}.failure.svelte-17z3k9b{color:var(--md-sys-color-error);margin-top:12px}.meta.svelte-wvg2ho{align-items:center;min-width:0;display:flex}.meta.svelte-wvg2ho>span:where(.svelte-wvg2ho){white-space:nowrap;flex:none}.meta.svelte-wvg2ho>:where(.svelte-wvg2ho):not(:last-child):after{content:" · "}.meta.svelte-wvg2ho>.dot:where(.svelte-wvg2ho):after{content:none}.meta.svelte-wvg2ho>.run:where(.svelte-wvg2ho),.meta.svelte-wvg2ho>span:where(.svelte-wvg2ho):last-child{text-overflow:ellipsis;flex:0 auto;min-width:0;overflow:hidden}.dot.svelte-wvg2ho{background:var(--app-success);border-radius:50%;flex:none;width:8px;height:8px;margin-right:6px;animation:1.6s ease-in-out infinite svelte-wvg2ho-pulse}@keyframes svelte-wvg2ho-pulse{50%{opacity:.35}}@media (prefers-reduced-motion:reduce){.dot.svelte-wvg2ho{animation:none}}md-dialog.svelte-2k1elc{--md-dialog-container-color:var(--md-sys-color-surface-container-high);--md-dialog-headline-color:var(--md-sys-color-on-surface);--md-dialog-supporting-text-color:var(--md-sys-color-on-surface-variant)}form.svelte-2k1elc{flex-direction:column;gap:16px;min-width:min(360px,70vw);display:flex}.failure.svelte-2k1elc{color:var(--md-sys-color-error);margin:0}section.svelte-1fz71rn{box-sizing:border-box;background:var(--md-sys-color-surface-container-low);border-radius:28px;flex-direction:column;height:100%;min-height:0;padding:16px 12px;display:flex}header.svelte-1fz71rn{flex:none;align-items:center;padding:0 4px 8px 0;display:flex}section.collapsed.svelte-1fz71rn{align-items:flex-start}.collapsed.svelte-1fz71rn header:where(.svelte-1fz71rn){flex-direction:column;padding:0}.visually-hidden.svelte-1fz71rn{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}h2.svelte-1fz71rn{font-size:var(--md-sys-typescale-title-medium-size,16px);flex:1;margin:0 0 0 8px;font-weight:500}.start.svelte-1fz71rn{--md-icon-button-icon-color:var(--md-sys-color-primary);--md-icon-button-hover-icon-color:var(--md-sys-color-primary);--md-icon-button-focus-icon-color:var(--md-sys-color-primary)}.stop.svelte-1fz71rn{--md-icon-button-icon-color:var(--md-sys-color-error);--md-icon-button-hover-icon-color:var(--md-sys-color-error);--md-icon-button-focus-icon-color:var(--md-sys-color-error)}ul.svelte-1fz71rn{flex-direction:column;flex:1;gap:4px;min-height:0;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}ul.outside.svelte-1fz71rn{border-top:1px solid var(--md-sys-color-outline-variant);flex:none;margin-top:auto;padding-top:8px;overflow:visible}.empty.svelte-1fz71rn{color:var(--md-sys-color-on-surface-variant);margin:0;padding:8px 16px}.monitor.svelte-1uha8ag{height:100%;padding:var(--app-gutter) 0;align-items:stretch;gap:16px;display:flex}aside.svelte-1uha8ag{width:var(--app-sessions-width);flex:none;min-height:0;transition:width .2s}aside.collapsed.svelte-1uha8ag{width:var(--app-sessions-collapsed-width)}@media (prefers-reduced-motion:reduce){aside.svelte-1uha8ag{transition:none}}.log.svelte-1uha8ag{flex:1;min-width:0;min-height:0}
@@ -1,5 +1,5 @@
1
1
  import { t as error } from "./exports.js";
2
- import { a as SessionListSchema, i as CLIENT_HEADER, n as checkDto, r as StatusSchema, s as StartSessionResponseSchema, t as AnyErrorBodySchema } from "./src.js";
2
+ import { a as SpeechEntrySchema, c as SessionListSchema, n as checkDto, o as SpeechListSchema, r as StatusSchema, s as CLIENT_HEADER, t as AnyErrorBodySchema, u as StartSessionResponseSchema } from "./src.js";
3
3
  // ../shared/src/api-version.ts
4
4
  /** Path prefix of every API route. */
5
5
  var API_PREFIX = "/api/v1";
@@ -46,6 +46,34 @@ function createBridgeApi(baseUrl, fetchFn) {
46
46
  startSession: (request) => read("POST", "/sessions", StartSessionResponseSchema, request),
47
47
  endSession: async () => {
48
48
  await call("POST", "/sessions/end");
49
+ },
50
+ addMarker: (label) => read("POST", "/markers", SpeechEntrySchema, { label }),
51
+ speech: (session, since, limit) => {
52
+ const query = new URLSearchParams({
53
+ since: String(since),
54
+ limit: String(limit)
55
+ });
56
+ if (session !== null) query.set("session", session);
57
+ return read("GET", `/speech?${query}`, SpeechListSchema);
58
+ },
59
+ openSpeechStream: async (session, lastEventId, signal) => {
60
+ const query = session === null ? "" : `?session=${encodeURIComponent(session)}`;
61
+ let response;
62
+ try {
63
+ response = await fetchFn(`${root}/speech/stream${query}`, {
64
+ headers: {
65
+ accept: "text/event-stream",
66
+ origin,
67
+ [CLIENT_HEADER]: UI_CLIENT,
68
+ ...lastEventId === null ? {} : { "last-event-id": lastEventId }
69
+ },
70
+ signal
71
+ });
72
+ } catch (cause) {
73
+ error(502, `The bridge is not reachable: ${describe(cause)}`);
74
+ }
75
+ if (!response.ok || response.body === null) error(response.status === 200 ? 502 : response.status, "The speech stream is not available");
76
+ return response;
49
77
  }
50
78
  };
51
79
  }
@@ -1 +1 @@
1
- {"version":3,"file":"bridge-api.js","names":[],"sources":["../../../../shared/src/api-version.ts","../../../src/lib/server/bridge-api.ts"],"sourcesContent":["/**\n * `<major>.<minor>` of the HTTP API. Minor versions only add things\n * (docs/usage/http-api.md#versioning).\n */\nexport const API_VERSION = '1.15';\n\n/** Path prefix of every API route. */\nexport const API_PREFIX = '/api/v1';\n","import { error } from '@sveltejs/kit';\nimport {\n AnyErrorBodySchema,\n API_PREFIX,\n CLIENT_HEADER,\n checkDto,\n SessionListSchema,\n StartSessionResponseSchema,\n StatusSchema,\n type DtoOf,\n type DtoSchema,\n type SessionListDto,\n type StartSessionRequestDto,\n type StartSessionResponseDto,\n type StatusDto,\n} from '@screenreader-speech-capture/shared';\n\n/** Where the BFF finds the bridge when `SR_BRIDGE_API_URL` is not set (`pnpm dev:ui`). */\nexport const DEFAULT_BRIDGE_URL = 'http://127.0.0.1:5151';\n\ntype Fetch = typeof fetch;\n\n/** The bridge's HTTP API as the BFF uses it: the only place the UI server talks to the bridge. */\nexport interface BridgeApi {\n status(): Promise<StatusDto>;\n sessions(): Promise<SessionListDto>;\n startSession(request: StartSessionRequestDto): Promise<StartSessionResponseDto>;\n /** Ends the current session; does nothing if none is current. */\n endSession(): Promise<void>;\n}\n\n/** Named in the bridge's logs when this UI ends or replaces another client's session. */\nconst UI_CLIENT = 'web-ui';\n\n/**\n * `baseUrl` is the bridge's origin (no path). `fetchFn` is SvelteKit's `event.fetch` in\n * routes and a fake in tests.\n */\nexport function createBridgeApi(baseUrl: string, fetchFn: Fetch): BridgeApi {\n const root = baseUrl.replace(/\\/+$/, '') + API_PREFIX;\n // SvelteKit's `event.fetch` adds `Origin: <the UI's own origin>` to every call to another origin\n // (`pnpm dev:ui`: http://localhost:5173). The bridge refuses a POST from any origin but its own\n // (docs/usage/security.md#host-and-origin), so name the bridge itself: this is a server-side\n // call, not a page of another site.\n const origin = new URL(root).origin;\n\n async function call(method: 'GET' | 'POST', path: string, body?: unknown): Promise<unknown> {\n let response: Response;\n try {\n response = await fetchFn(`${root}${path}`, {\n method,\n headers: {\n accept: 'application/json',\n origin,\n [CLIENT_HEADER]: UI_CLIENT,\n ...(body === undefined ? {} : { 'content-type': 'application/json' }),\n },\n body: body === undefined ? undefined : JSON.stringify(body),\n });\n } catch (cause) {\n error(502, `The bridge is not reachable: ${describe(cause)}`);\n }\n const answer: unknown = await response.json().catch(() => undefined);\n if (!response.ok) {\n const apiError = checkDto(AnyErrorBodySchema, answer);\n error(\n response.status,\n apiError.ok ? apiError.value.error.message : `The bridge answered ${response.status}`,\n );\n }\n return answer;\n }\n\n async function read<S extends DtoSchema>(\n method: 'GET' | 'POST',\n path: string,\n schema: S,\n body?: unknown,\n ): Promise<DtoOf<S>> {\n const checked = checkDto(schema, await call(method, path, body));\n if (!checked.ok) {\n error(502, `Unexpected answer from the bridge at ${checked.field}: ${checked.message}`);\n }\n return checked.value;\n }\n\n return {\n status: () => read('GET', '/status', StatusSchema),\n sessions: () => read('GET', '/sessions', SessionListSchema),\n startSession: (request) => read('POST', '/sessions', StartSessionResponseSchema, request),\n endSession: async () => {\n await call('POST', '/sessions/end');\n },\n };\n}\n\nfunction describe(cause: unknown): string {\n return cause instanceof Error ? cause.message : String(cause);\n}\n\n/** The bridge API of this deployment (read per request, so no SvelteKit env module is needed). */\nexport function bridgeApiFromEnv(fetchFn: Fetch): BridgeApi {\n // The bridge sets SR_BRIDGE_API_URL to its own address when it mounts the UI.\n return createBridgeApi(process.env.SR_BRIDGE_API_URL ?? DEFAULT_BRIDGE_URL, fetchFn);\n}\n"],"mappings":";;;;AAOA,IAAa,aAAa;;ACyB1B,IAAM,YAAY;;;;;AAMlB,SAAgB,gBAAgB,SAAiB,SAA2B;CAC1E,MAAM,OAAO,QAAQ,QAAQ,QAAQ,EAAE,IAAI;CAK3C,MAAM,SAAS,IAAI,IAAI,IAAI,CAAC,CAAC;CAE7B,eAAe,KAAK,QAAwB,MAAc,MAAkC;EAC1F,IAAI;EACJ,IAAI;GACF,WAAW,MAAM,QAAQ,GAAG,OAAO,QAAQ;IACzC;IACA,SAAS;KACP,QAAQ;KACR;MACC,gBAAgB;KACjB,GAAI,SAAS,KAAA,IAAY,CAAC,IAAI,EAAE,gBAAgB,mBAAmB;IACrE;IACA,MAAM,SAAS,KAAA,IAAY,KAAA,IAAY,KAAK,UAAU,IAAI;GAC5D,CAAC;EACH,SAAS,OAAO;GACd,MAAM,KAAK,gCAAgC,SAAS,KAAK,GAAG;EAC9D;EACA,MAAM,SAAkB,MAAM,SAAS,KAAK,CAAC,CAAC,YAAY,KAAA,CAAS;EACnE,IAAI,CAAC,SAAS,IAAI;GAChB,MAAM,WAAW,SAAS,oBAAoB,MAAM;GACpD,MACE,SAAS,QACT,SAAS,KAAK,SAAS,MAAM,MAAM,UAAU,uBAAuB,SAAS,QAC/E;EACF;EACA,OAAO;CACT;CAEA,eAAe,KACb,QACA,MACA,QACA,MACmB;EACnB,MAAM,UAAU,SAAS,QAAQ,MAAM,KAAK,QAAQ,MAAM,IAAI,CAAC;EAC/D,IAAI,CAAC,QAAQ,IACX,MAAM,KAAK,wCAAwC,QAAQ,MAAM,IAAI,QAAQ,SAAS;EAExF,OAAO,QAAQ;CACjB;CAEA,OAAO;EACL,cAAc,KAAK,OAAO,WAAW,YAAY;EACjD,gBAAgB,KAAK,OAAO,aAAa,iBAAiB;EAC1D,eAAe,YAAY,KAAK,QAAQ,aAAa,4BAA4B,OAAO;EACxF,YAAY,YAAY;GACtB,MAAM,KAAK,QAAQ,eAAe;EACpC;CACF;AACF;AAEA,SAAS,SAAS,OAAwB;CACxC,OAAO,iBAAiB,QAAQ,MAAM,UAAU,OAAO,KAAK;AAC9D;;AAGA,SAAgB,iBAAiB,SAA2B;CAE1D,OAAO,gBAAgB,QAAQ,IAAI,qBAAA,yBAAyC,OAAO;AACrF"}
1
+ {"version":3,"file":"bridge-api.js","names":[],"sources":["../../../../shared/src/api-version.ts","../../../src/lib/server/bridge-api.ts"],"sourcesContent":["/**\n * `<major>.<minor>` of the HTTP API. Minor versions only add things\n * (docs/usage/http-api.md#versioning).\n */\nexport const API_VERSION = '1.16';\n\n/** Path prefix of every API route. */\nexport const API_PREFIX = '/api/v1';\n","import { error } from '@sveltejs/kit';\nimport {\n AnyErrorBodySchema,\n API_PREFIX,\n CLIENT_HEADER,\n checkDto,\n SessionListSchema,\n SpeechEntrySchema,\n SpeechListSchema,\n StartSessionResponseSchema,\n StatusSchema,\n type DtoOf,\n type DtoSchema,\n type SessionListDto,\n type SpeechEntryDto,\n type SpeechListDto,\n type StartSessionRequestDto,\n type StartSessionResponseDto,\n type StatusDto,\n} from '@screenreader-speech-capture/shared';\n\n/** Where the BFF finds the bridge when `SR_BRIDGE_API_URL` is not set (`pnpm dev:ui`). */\nexport const DEFAULT_BRIDGE_URL = 'http://127.0.0.1:5151';\n\ntype Fetch = typeof fetch;\n\n/** The bridge's HTTP API as the BFF uses it: the only place the UI server talks to the bridge. */\nexport interface BridgeApi {\n status(): Promise<StatusDto>;\n sessions(): Promise<SessionListDto>;\n startSession(request: StartSessionRequestDto): Promise<StartSessionResponseDto>;\n /** Ends the current session; does nothing if none is current. */\n endSession(): Promise<void>;\n /** Inserts a marker; the bridge files it under the current session (or outside any). */\n addMarker(label: string): Promise<SpeechEntryDto>;\n /** One page of a scope's entries with `seq > since`, oldest first (`session`: an id or `none`). */\n speech(session: string | null, since: number, limit: number): Promise<SpeechListDto>;\n /**\n * Opens the bridge's SSE stream (`session`: an id or `none`). The body is passed on as it is,\n * so `Last-Event-ID` replays and every event name reach the browser untouched.\n */\n openSpeechStream(\n session: string | null,\n lastEventId: string | null,\n signal: AbortSignal,\n ): Promise<Response>;\n}\n\n/** Named in the bridge's logs when this UI ends or replaces another client's session. */\nconst UI_CLIENT = 'web-ui';\n\n/**\n * `baseUrl` is the bridge's origin (no path). `fetchFn` is SvelteKit's `event.fetch` in\n * routes and a fake in tests.\n */\nexport function createBridgeApi(baseUrl: string, fetchFn: Fetch): BridgeApi {\n const root = baseUrl.replace(/\\/+$/, '') + API_PREFIX;\n // SvelteKit's `event.fetch` adds `Origin: <the UI's own origin>` to every call to another origin\n // (`pnpm dev:ui`: http://localhost:5173). The bridge refuses a POST from any origin but its own\n // (docs/usage/security.md#host-and-origin), so name the bridge itself: this is a server-side\n // call, not a page of another site.\n const origin = new URL(root).origin;\n\n async function call(method: 'GET' | 'POST', path: string, body?: unknown): Promise<unknown> {\n let response: Response;\n try {\n response = await fetchFn(`${root}${path}`, {\n method,\n headers: {\n accept: 'application/json',\n origin,\n [CLIENT_HEADER]: UI_CLIENT,\n ...(body === undefined ? {} : { 'content-type': 'application/json' }),\n },\n body: body === undefined ? undefined : JSON.stringify(body),\n });\n } catch (cause) {\n error(502, `The bridge is not reachable: ${describe(cause)}`);\n }\n const answer: unknown = await response.json().catch(() => undefined);\n if (!response.ok) {\n const apiError = checkDto(AnyErrorBodySchema, answer);\n error(\n response.status,\n apiError.ok ? apiError.value.error.message : `The bridge answered ${response.status}`,\n );\n }\n return answer;\n }\n\n async function read<S extends DtoSchema>(\n method: 'GET' | 'POST',\n path: string,\n schema: S,\n body?: unknown,\n ): Promise<DtoOf<S>> {\n const checked = checkDto(schema, await call(method, path, body));\n if (!checked.ok) {\n error(502, `Unexpected answer from the bridge at ${checked.field}: ${checked.message}`);\n }\n return checked.value;\n }\n\n return {\n status: () => read('GET', '/status', StatusSchema),\n sessions: () => read('GET', '/sessions', SessionListSchema),\n startSession: (request) => read('POST', '/sessions', StartSessionResponseSchema, request),\n endSession: async () => {\n await call('POST', '/sessions/end');\n },\n addMarker: (label) => read('POST', '/markers', SpeechEntrySchema, { label }),\n speech: (session, since, limit) => {\n const query = new URLSearchParams({ since: String(since), limit: String(limit) });\n if (session !== null) query.set('session', session);\n return read('GET', `/speech?${query}`, SpeechListSchema);\n },\n openSpeechStream: async (session, lastEventId, signal) => {\n const query = session === null ? '' : `?session=${encodeURIComponent(session)}`;\n let response: Response;\n try {\n response = await fetchFn(`${root}/speech/stream${query}`, {\n headers: {\n accept: 'text/event-stream',\n origin,\n [CLIENT_HEADER]: UI_CLIENT,\n ...(lastEventId === null ? {} : { 'last-event-id': lastEventId }),\n },\n signal,\n });\n } catch (cause) {\n error(502, `The bridge is not reachable: ${describe(cause)}`);\n }\n if (!response.ok || response.body === null) {\n error(\n response.status === 200 ? 502 : response.status,\n 'The speech stream is not available',\n );\n }\n return response;\n },\n };\n}\n\nfunction describe(cause: unknown): string {\n return cause instanceof Error ? cause.message : String(cause);\n}\n\n/** The bridge API of this deployment (read per request, so no SvelteKit env module is needed). */\nexport function bridgeApiFromEnv(fetchFn: Fetch): BridgeApi {\n // The bridge sets SR_BRIDGE_API_URL to its own address when it mounts the UI.\n return createBridgeApi(process.env.SR_BRIDGE_API_URL ?? DEFAULT_BRIDGE_URL, fetchFn);\n}\n"],"mappings":";;;;AAOA,IAAa,aAAa;;AC0C1B,IAAM,YAAY;;;;;AAMlB,SAAgB,gBAAgB,SAAiB,SAA2B;CAC1E,MAAM,OAAO,QAAQ,QAAQ,QAAQ,EAAE,IAAI;CAK3C,MAAM,SAAS,IAAI,IAAI,IAAI,CAAC,CAAC;CAE7B,eAAe,KAAK,QAAwB,MAAc,MAAkC;EAC1F,IAAI;EACJ,IAAI;GACF,WAAW,MAAM,QAAQ,GAAG,OAAO,QAAQ;IACzC;IACA,SAAS;KACP,QAAQ;KACR;MACC,gBAAgB;KACjB,GAAI,SAAS,KAAA,IAAY,CAAC,IAAI,EAAE,gBAAgB,mBAAmB;IACrE;IACA,MAAM,SAAS,KAAA,IAAY,KAAA,IAAY,KAAK,UAAU,IAAI;GAC5D,CAAC;EACH,SAAS,OAAO;GACd,MAAM,KAAK,gCAAgC,SAAS,KAAK,GAAG;EAC9D;EACA,MAAM,SAAkB,MAAM,SAAS,KAAK,CAAC,CAAC,YAAY,KAAA,CAAS;EACnE,IAAI,CAAC,SAAS,IAAI;GAChB,MAAM,WAAW,SAAS,oBAAoB,MAAM;GACpD,MACE,SAAS,QACT,SAAS,KAAK,SAAS,MAAM,MAAM,UAAU,uBAAuB,SAAS,QAC/E;EACF;EACA,OAAO;CACT;CAEA,eAAe,KACb,QACA,MACA,QACA,MACmB;EACnB,MAAM,UAAU,SAAS,QAAQ,MAAM,KAAK,QAAQ,MAAM,IAAI,CAAC;EAC/D,IAAI,CAAC,QAAQ,IACX,MAAM,KAAK,wCAAwC,QAAQ,MAAM,IAAI,QAAQ,SAAS;EAExF,OAAO,QAAQ;CACjB;CAEA,OAAO;EACL,cAAc,KAAK,OAAO,WAAW,YAAY;EACjD,gBAAgB,KAAK,OAAO,aAAa,iBAAiB;EAC1D,eAAe,YAAY,KAAK,QAAQ,aAAa,4BAA4B,OAAO;EACxF,YAAY,YAAY;GACtB,MAAM,KAAK,QAAQ,eAAe;EACpC;EACA,YAAY,UAAU,KAAK,QAAQ,YAAY,mBAAmB,EAAE,MAAM,CAAC;EAC3E,SAAS,SAAS,OAAO,UAAU;GACjC,MAAM,QAAQ,IAAI,gBAAgB;IAAE,OAAO,OAAO,KAAK;IAAG,OAAO,OAAO,KAAK;GAAE,CAAC;GAChF,IAAI,YAAY,MAAM,MAAM,IAAI,WAAW,OAAO;GAClD,OAAO,KAAK,OAAO,WAAW,SAAS,gBAAgB;EACzD;EACA,kBAAkB,OAAO,SAAS,aAAa,WAAW;GACxD,MAAM,QAAQ,YAAY,OAAO,KAAK,YAAY,mBAAmB,OAAO;GAC5E,IAAI;GACJ,IAAI;IACF,WAAW,MAAM,QAAQ,GAAG,KAAK,gBAAgB,SAAS;KACxD,SAAS;MACP,QAAQ;MACR;OACC,gBAAgB;MACjB,GAAI,gBAAgB,OAAO,CAAC,IAAI,EAAE,iBAAiB,YAAY;KACjE;KACA;IACF,CAAC;GACH,SAAS,OAAO;IACd,MAAM,KAAK,gCAAgC,SAAS,KAAK,GAAG;GAC9D;GACA,IAAI,CAAC,SAAS,MAAM,SAAS,SAAS,MACpC,MACE,SAAS,WAAW,MAAM,MAAM,SAAS,QACzC,oCACF;GAEF,OAAO;EACT;CACF;AACF;AAEA,SAAS,SAAS,OAAwB;CACxC,OAAO,iBAAiB,QAAQ,MAAM,UAAU,OAAO,KAAK;AAC9D;;AAGA,SAAgB,iBAAiB,SAA2B;CAE1D,OAAO,gBAAgB,QAAQ,IAAI,qBAAA,yBAAyC,OAAO;AACrF"}
@@ -1,5 +1,5 @@
1
1
  import { mt as resolve } from "./internal.js";
2
- import { a as SessionListSchema, n as checkDto, r as StatusSchema, s as StartSessionResponseSchema } from "./src.js";
2
+ import { a as SpeechEntrySchema, c as SessionListSchema, n as checkDto, o as SpeechListSchema, r as StatusSchema, u as StartSessionResponseSchema } from "./src.js";
3
3
  import "./server2.js";
4
4
  // ../../node_modules/.pnpm/tslib@2.9.1/node_modules/tslib/tslib.es6.mjs
5
5
  function __decorate(decorators, target, key, desc) {
@@ -2660,6 +2660,34 @@ var BrowserThemeStorage = class {
2660
2660
  } catch {}
2661
2661
  }
2662
2662
  };
2663
+ // src/lib/adapters/http-speech-api.ts
2664
+ /** Changes the speech through the UI's own markers route (`url` includes the base path). */
2665
+ var HttpSpeechApi = class {
2666
+ url;
2667
+ constructor(url) {
2668
+ this.url = url;
2669
+ }
2670
+ async addMarker(label) {
2671
+ const response = await fetch(this.url, {
2672
+ method: "POST",
2673
+ headers: {
2674
+ accept: "application/json",
2675
+ "content-type": "application/json"
2676
+ },
2677
+ body: JSON.stringify({ label })
2678
+ });
2679
+ if (!response.ok) throw new Error(await errorMessage$1(response));
2680
+ }
2681
+ };
2682
+ /** SvelteKit's `error()` answers `{ message }`; fall back to the status. */
2683
+ async function errorMessage$1(response) {
2684
+ const body = await response.json().catch(() => void 0);
2685
+ if (typeof body === "object" && body !== null && "message" in body) {
2686
+ const { message } = body;
2687
+ if (typeof message === "string") return message;
2688
+ }
2689
+ return `The request answered ${response.status}`;
2690
+ }
2663
2691
  // src/lib/adapters/http-sessions-api.ts
2664
2692
  /** Reads and changes sessions through the UI's own sessions routes (`url` includes the base path). */
2665
2693
  var HttpSessionsApi = class {
@@ -2704,6 +2732,74 @@ async function errorMessage(response) {
2704
2732
  }
2705
2733
  return `The request answered ${response.status}`;
2706
2734
  }
2735
+ // src/lib/adapters/sse-speech-feed.ts
2736
+ /** Entries read per request when an ended session is read page by page. */
2737
+ var PAGE_SIZE = 1e3;
2738
+ /**
2739
+ * Reads the speech of a scope through the UI's own routes (`urls` include the base path):
2740
+ * - A live scope is followed on the stream relay with `?since=0`, so the bridge replays the
2741
+ * buffer first. `EventSource` reconnects by itself and sends `Last-Event-ID`, so a drop only
2742
+ * shows as `reconnecting` and the missed entries are replayed.
2743
+ * - An ended session never gets new entries: it is read page by page, once, without a stream.
2744
+ */
2745
+ var SseSpeechFeed = class {
2746
+ streamUrl;
2747
+ speechUrl;
2748
+ constructor(streamUrl, speechUrl) {
2749
+ this.streamUrl = streamUrl;
2750
+ this.speechUrl = speechUrl;
2751
+ }
2752
+ open(scope, live, handlers) {
2753
+ handlers.onState("connecting");
2754
+ return live ? this.follow(scope, handlers) : this.read(scope, handlers);
2755
+ }
2756
+ follow(scope, handlers) {
2757
+ const source = new EventSource(`${this.streamUrl}?session=${encodeURIComponent(String(scope))}&since=0`);
2758
+ source.onopen = () => handlers.onState("live");
2759
+ source.onerror = () => handlers.onState("reconnecting");
2760
+ source.addEventListener("entry", (event) => {
2761
+ let data;
2762
+ try {
2763
+ data = JSON.parse(event.data);
2764
+ } catch {
2765
+ return;
2766
+ }
2767
+ const checked = checkDto(SpeechEntrySchema, data);
2768
+ if (checked.ok) handlers.onEntry(checked.value);
2769
+ });
2770
+ source.addEventListener("clear", () => handlers.onClear());
2771
+ return () => source.close();
2772
+ }
2773
+ read(scope, handlers) {
2774
+ const abort = new AbortController();
2775
+ const load = async () => {
2776
+ let since = 0;
2777
+ for (;;) {
2778
+ const query = new URLSearchParams({
2779
+ session: String(scope),
2780
+ since: String(since),
2781
+ limit: String(PAGE_SIZE)
2782
+ });
2783
+ const response = await fetch(`${this.speechUrl}?${query}`, {
2784
+ headers: { accept: "application/json" },
2785
+ signal: abort.signal
2786
+ });
2787
+ if (!response.ok) throw new Error(`The request answered ${response.status}`);
2788
+ const checked = checkDto(SpeechListSchema, await response.json());
2789
+ if (!checked.ok) throw new Error(`Unexpected answer at ${checked.field}`);
2790
+ const { entries, hasMore } = checked.value;
2791
+ handlers.onEntries(entries);
2792
+ const last = entries.at(-1);
2793
+ if (!hasMore || last === void 0) return;
2794
+ since = last.seq;
2795
+ }
2796
+ };
2797
+ load().then(() => handlers.onState("ended"), () => {
2798
+ if (!abort.signal.aborted) handlers.onState("failed");
2799
+ });
2800
+ return () => abort.abort();
2801
+ }
2802
+ };
2707
2803
  // src/lib/adapters/http-status-api.ts
2708
2804
  /** Reads the bridge status through the UI's own status route (`url` includes the base path). */
2709
2805
  var HttpStatusApi = class {
@@ -2748,7 +2844,7 @@ var BrowserSessionsPaneStorage = class {
2748
2844
  };
2749
2845
  // src/lib/stores/sessions-pane.svelte.ts
2750
2846
  function createSessionsPaneStore(storage) {
2751
- let collapsed = false;
2847
+ let collapsed = true;
2752
2848
  return {
2753
2849
  get collapsed() {
2754
2850
  return collapsed;
@@ -2847,6 +2943,86 @@ function createSessionsStore(api) {
2847
2943
  }
2848
2944
  };
2849
2945
  }
2946
+ // src/lib/core/speech.ts
2947
+ /** The table keeps this many rows; the oldest go first (the bridge's own buffer is capped too). */
2948
+ var MAX_ROWS = 5e3;
2949
+ /**
2950
+ * Whether a marker added now shows up in `scope`. The bridge files a marker under the current
2951
+ * session, or outside any session when none is current: it has no way to name another scope.
2952
+ */
2953
+ function canAddMarker(scope, currentId) {
2954
+ return currentId === null ? scope === "none" : scope === currentId;
2955
+ }
2956
+ /** `14:03:07.042` in the browser's time zone. */
2957
+ function formatReceivedTime(iso) {
2958
+ const date = new Date(iso);
2959
+ if (Number.isNaN(date.getTime())) return iso;
2960
+ const two = (value) => String(value).padStart(2, "0");
2961
+ const millis = String(date.getMilliseconds()).padStart(3, "0");
2962
+ return `${two(date.getHours())}:${two(date.getMinutes())}:${two(date.getSeconds())}.${millis}`;
2963
+ }
2964
+ /** `#3 Checkout flow`, or what the log shows when no session is selected. */
2965
+ function logHeading(scope, sessions) {
2966
+ if (scope === "none") return "Outside sessions";
2967
+ const session = sessions.find((candidate) => candidate.id === scope);
2968
+ return session === void 0 ? `#${scope}` : `#${session.id} ${session.name}`;
2969
+ }
2970
+ // src/lib/stores/speech.svelte.ts
2971
+ function createSpeechStore(feed, api) {
2972
+ let entries = [];
2973
+ let connection = "connecting";
2974
+ let close = null;
2975
+ function stop() {
2976
+ close?.();
2977
+ close = null;
2978
+ }
2979
+ /** Adds entries newer than the last one shown (a replay after a reconnect repeats some). */
2980
+ function append(added) {
2981
+ let lastSeq = entries.at(-1)?.seq ?? 0;
2982
+ const fresh = [];
2983
+ for (const entry of added) {
2984
+ if (entry.seq <= lastSeq) continue;
2985
+ fresh.push(entry);
2986
+ lastSeq = entry.seq;
2987
+ }
2988
+ if (fresh.length === 0) return;
2989
+ const next = [...entries, ...fresh];
2990
+ entries = next.length > 5e3 ? next.slice(next.length - MAX_ROWS) : next;
2991
+ }
2992
+ return {
2993
+ get entries() {
2994
+ return entries;
2995
+ },
2996
+ get connection() {
2997
+ return connection;
2998
+ },
2999
+ /**
3000
+ * Shows the speech of `scope`, replacing what was shown. A live scope replays the buffer and
3001
+ * follows; an ended session is read once. After a reconnect the stream resumes where it left
3002
+ * off, and an entry seen twice is dropped. Returns the function that stops the stream.
3003
+ */
3004
+ open(scope, live) {
3005
+ stop();
3006
+ entries = [];
3007
+ connection = "connecting";
3008
+ close = feed.open(scope, live, {
3009
+ onEntry: (entry) => append([entry]),
3010
+ onEntries: append,
3011
+ onClear() {
3012
+ entries = [];
3013
+ },
3014
+ onState(state) {
3015
+ connection = state;
3016
+ }
3017
+ });
3018
+ return stop;
3019
+ },
3020
+ /** Rejects with the reason; the new entry arrives through the feed, so nothing is added here. */
3021
+ addMarker(label) {
3022
+ return api.addMarker(label);
3023
+ }
3024
+ };
3025
+ }
2850
3026
  // src/lib/stores/status.svelte.ts
2851
3027
  function createStatusStore(api) {
2852
3028
  let status = null;
@@ -2910,7 +3086,8 @@ function createThemeStore(storage) {
2910
3086
  var themeStore = createThemeStore(new BrowserThemeStorage());
2911
3087
  var statusStore = createStatusStore(new HttpStatusApi(resolve("/api/status")));
2912
3088
  var sessionsStore = createSessionsStore(new HttpSessionsApi(resolve("/api/sessions")));
3089
+ var speechStore = createSpeechStore(new SseSpeechFeed(resolve("/api/speech/stream"), resolve("/api/speech")), new HttpSpeechApi(resolve("/api/markers")));
2913
3090
  var sessionsPaneStore = createSessionsPaneStore(new BrowserSessionsPaneStorage());
2914
- export { __decorate as A, Z as C, n$2 as D, r$1 as E, i$4 as O, T as S, e$4 as T, t as _, mixinFormSubmitter as a, B as b, internals as c, i as d, u as f, i$1 as g, e$1 as h, themeStore as i, t$3 as k, mixinElementInternals as l, e as m, sessionsStore as n, getFormValue as o, EASING as p, statusStore as r, mixinFormAssociated as s, sessionsPaneStore as t, mixinDelegatesAria as u, i$2 as v, e$3 as w, E as x, A as y };
3091
+ export { r$1 as A, A as C, Z as D, T as E, i$4 as M, t$3 as N, e$3 as O, __decorate as P, i$2 as S, E as T, EASING as _, themeStore as a, i$1 as b, logHeading as c, mixinFormAssociated as d, internals as f, u as g, i as h, statusStore as i, n$2 as j, e$4 as k, mixinFormSubmitter as l, mixinDelegatesAria as m, sessionsStore as n, canAddMarker as o, mixinElementInternals as p, speechStore as r, formatReceivedTime as s, sessionsPaneStore as t, getFormValue as u, e as v, B as w, t as x, e$1 as y };
2915
3092
 
2916
3093
  //# sourceMappingURL=composition.js.map