screenreader-speech-capture 0.8.1 → 0.8.2

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 (39) hide show
  1. package/dist/cli.mjs +22 -1
  2. package/dist/ui/adapter-node.js +1 -1
  3. package/dist/ui/client/ui/_app/immutable/assets/2.ChCvyBVk.css +1 -0
  4. package/dist/ui/client/ui/_app/immutable/assets/2.ChCvyBVk.css.br +0 -0
  5. package/dist/ui/client/ui/_app/immutable/assets/2.ChCvyBVk.css.gz +0 -0
  6. package/dist/ui/client/ui/_app/immutable/entry/{app.D_WMpF1j.js → app.BQe0vf14.js} +2 -2
  7. package/dist/ui/client/ui/_app/immutable/entry/app.BQe0vf14.js.br +0 -0
  8. package/dist/ui/client/ui/_app/immutable/entry/app.BQe0vf14.js.gz +0 -0
  9. package/dist/ui/client/ui/_app/immutable/nodes/2.CWoJ2uhd.js +52 -0
  10. package/dist/ui/client/ui/_app/immutable/nodes/2.CWoJ2uhd.js.br +0 -0
  11. package/dist/ui/client/ui/_app/immutable/nodes/2.CWoJ2uhd.js.gz +0 -0
  12. package/dist/ui/client/ui/_app/version.json +1 -1
  13. package/dist/ui/client/ui/_app/version.json.br +0 -0
  14. package/dist/ui/client/ui/_app/version.json.gz +0 -0
  15. package/dist/ui/server/.vite/manifest.json +11 -2
  16. package/dist/ui/server/_app/immutable/assets/_page.ChCvyBVk.css +1 -0
  17. package/dist/ui/server/chunks/instance.js +4 -3
  18. package/dist/ui/server/chunks/instance.js.map +1 -1
  19. package/dist/ui/server/chunks/internal.js +1 -1
  20. package/dist/ui/server/entries/hooks.server.js +14 -0
  21. package/dist/ui/server/entries/hooks.server.js.map +1 -0
  22. package/dist/ui/server/entries/pages/_layout.server.ts.js +9 -3
  23. package/dist/ui/server/entries/pages/_layout.server.ts.js.map +1 -1
  24. package/dist/ui/server/entries/pages/_page.svelte.js +20 -4
  25. package/dist/ui/server/entries/pages/_page.svelte.js.map +1 -1
  26. package/dist/ui/server/manifest-full.js +1 -1
  27. package/dist/ui/server/manifest.js +1 -1
  28. package/dist/ui/server/nodes/2.js +2 -2
  29. package/dist/ui/server/server.js +1 -1
  30. package/package.json +1 -1
  31. package/dist/ui/client/ui/_app/immutable/assets/2.IKhva0W0.css +0 -1
  32. package/dist/ui/client/ui/_app/immutable/assets/2.IKhva0W0.css.br +0 -0
  33. package/dist/ui/client/ui/_app/immutable/assets/2.IKhva0W0.css.gz +0 -0
  34. package/dist/ui/client/ui/_app/immutable/entry/app.D_WMpF1j.js.br +0 -0
  35. package/dist/ui/client/ui/_app/immutable/entry/app.D_WMpF1j.js.gz +0 -0
  36. package/dist/ui/client/ui/_app/immutable/nodes/2.Y_rJeHBb.js +0 -50
  37. package/dist/ui/client/ui/_app/immutable/nodes/2.Y_rJeHBb.js.br +0 -0
  38. package/dist/ui/client/ui/_app/immutable/nodes/2.Y_rJeHBb.js.gz +0 -0
  39. package/dist/ui/server/_app/immutable/assets/_page.IKhva0W0.css +0 -1
@@ -5,6 +5,6 @@ let component_cache;
5
5
  export const component = async () => component_cache ??= (await import('../entries/pages/_page.svelte.js')).default;
6
6
  export { server };
7
7
  export const server_id = "src/routes/+page.server.ts";
8
- export const imports = ["_app/immutable/nodes/2.Y_rJeHBb.js","_app/immutable/chunks/h7UQ89-l.js","_app/immutable/chunks/Dksil5Gu.js","_app/immutable/entry/payload.DSmR2FwN.js","_app/immutable/chunks/CVUOwNb5.js","_app/immutable/chunks/C67ohLw_.js","_app/immutable/chunks/CXrPUR7p.js","_app/immutable/chunks/DnL0kOQY.js","_app/immutable/chunks/CM9WugkD.js","_app/immutable/chunks/Fimt9aTv.js"];
9
- export const stylesheets = ["_app/immutable/assets/2.IKhva0W0.css"];
8
+ export const imports = ["_app/immutable/nodes/2.CWoJ2uhd.js","_app/immutable/chunks/h7UQ89-l.js","_app/immutable/chunks/Dksil5Gu.js","_app/immutable/entry/payload.DSmR2FwN.js","_app/immutable/chunks/CVUOwNb5.js","_app/immutable/chunks/C67ohLw_.js","_app/immutable/chunks/CXrPUR7p.js","_app/immutable/chunks/DnL0kOQY.js","_app/immutable/chunks/Fimt9aTv.js","_app/immutable/chunks/CM9WugkD.js"];
9
+ export const stylesheets = ["_app/immutable/assets/2.ChCvyBVk.css"];
10
10
  export const fonts = [];
@@ -10,7 +10,7 @@ return {
10
10
  app_path: "ui/_app",
11
11
  assets: new Set(["robots.txt"]),
12
12
  mime_types: {".txt":"text/plain"},
13
- client: {start:"_app/immutable/entry/start.uodUAHNT.js",app:"_app/immutable/entry/app.D_WMpF1j.js",imports:["_app/immutable/entry/start.uodUAHNT.js","_app/immutable/entry/payload.DSmR2FwN.js","_app/immutable/chunks/DclECHGd.js","_app/immutable/chunks/CKeiBgOI.js","_app/immutable/chunks/CVUOwNb5.js","_app/immutable/chunks/h7UQ89-l.js","_app/immutable/chunks/Dksil5Gu.js","_app/immutable/chunks/C67ohLw_.js","_app/immutable/entry/app.D_WMpF1j.js"],stylesheets:[],fonts:[],uses_env_dynamic_public:false},
13
+ client: {start:"_app/immutable/entry/start.uodUAHNT.js",app:"_app/immutable/entry/app.BQe0vf14.js",imports:["_app/immutable/entry/start.uodUAHNT.js","_app/immutable/entry/payload.DSmR2FwN.js","_app/immutable/chunks/DclECHGd.js","_app/immutable/chunks/CKeiBgOI.js","_app/immutable/chunks/CVUOwNb5.js","_app/immutable/chunks/h7UQ89-l.js","_app/immutable/chunks/Dksil5Gu.js","_app/immutable/chunks/C67ohLw_.js","_app/immutable/entry/app.BQe0vf14.js"],stylesheets:[],fonts:[],uses_env_dynamic_public:false},
14
14
 
15
15
  nodes: [
16
16
  __memo(() => import('./nodes/0.js')),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "screenreader-speech-capture",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "description": "Capture what a screen reader says (JAWS / NVDA via a SAPI 5 socket voice) and expose it over HTTP for automated tests.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -1 +0,0 @@
1
- md-dialog.svelte-qieqgw{--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-qieqgw{margin:0}.failure.svelte-qieqgw{color:var(--md-sys-color-error);margin-top:12px}md-dialog.svelte-1sof82u{--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-1sof82u{margin:0}.failure.svelte-1sof82u{color:var(--md-sys-color-error);margin-top:12px}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}tr.fresh.svelte-5c13xh td:where(.svelte-5c13xh):first-child{animation:svelte-5c13xh-fade-new-edge calc(var(--app-new-row-ms) * 1ms) ease-out}@keyframes svelte-5c13xh-fade-new{0%{background:var(--app-new-row)}}@keyframes svelte-5c13xh-fade-new-edge{0%{box-shadow:inset calc(var(--app-border-width) * 2) 0 0 var(--md-sys-color-primary)}}@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);border-width:max(1px, var(--app-border-width));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{outline:var(--app-border-width) solid var(--md-sys-color-outline);outline-offset:calc(var(--app-border-width) * -1);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;border:var(--app-border-width) solid var(--md-sys-color-outline);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,50 +0,0 @@
1
- import{C as e,D as t,E as n,G as r,H as i,I as a,K as o,L as s,N as c,O as l,P as u,R as d,T as f,U as p,V as m,W as h,c as g,g as _,h as v,i as y,j as b,l as x,m as S,n as C,o as w,p as T,q as E,t as D,u as O,w as k,x as A,y as j,z as M}from"../chunks/h7UQ89-l.js";import{t as N}from"../chunks/Dksil5Gu.js";import{t as P}from"../chunks/CVUOwNb5.js";import{B as F,C as I,D as L,E as R,F as z,H as B,L as V,M as H,U,V as W,c as G,d as K,f as q,i as J,j as ee,l as te,m as ne,n as Y,r as X,s as re,u as ie,z as Z}from"../chunks/CXrPUR7p.js";import{n as ae}from"../chunks/C67ohLw_.js";import"../chunks/DnL0kOQY.js";import{i as oe,n as se,r as ce,t as le}from"../chunks/CM9WugkD.js";import"../chunks/Fimt9aTv.js";var ue=class extends oe{renderElevationOrOutline(){return z`<md-elevation part="elevation"></md-elevation>`}},de=W`:host{--_container-color: var(--md-filled-tonal-button-container-color, var(--md-sys-color-secondary-container, #e8def8));--_container-elevation: var(--md-filled-tonal-button-container-elevation, 0);--_container-height: var(--md-filled-tonal-button-container-height, 40px);--_container-shadow-color: var(--md-filled-tonal-button-container-shadow-color, var(--md-sys-color-shadow, #000));--_disabled-container-color: var(--md-filled-tonal-button-disabled-container-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-container-elevation: var(--md-filled-tonal-button-disabled-container-elevation, 0);--_disabled-container-opacity: var(--md-filled-tonal-button-disabled-container-opacity, 0.12);--_disabled-label-text-color: var(--md-filled-tonal-button-disabled-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-label-text-opacity: var(--md-filled-tonal-button-disabled-label-text-opacity, 0.38);--_focus-container-elevation: var(--md-filled-tonal-button-focus-container-elevation, 0);--_focus-label-text-color: var(--md-filled-tonal-button-focus-label-text-color, var(--md-sys-color-on-secondary-container, #1d192b));--_hover-container-elevation: var(--md-filled-tonal-button-hover-container-elevation, 1);--_hover-label-text-color: var(--md-filled-tonal-button-hover-label-text-color, var(--md-sys-color-on-secondary-container, #1d192b));--_hover-state-layer-color: var(--md-filled-tonal-button-hover-state-layer-color, var(--md-sys-color-on-secondary-container, #1d192b));--_hover-state-layer-opacity: var(--md-filled-tonal-button-hover-state-layer-opacity, 0.08);--_label-text-color: var(--md-filled-tonal-button-label-text-color, var(--md-sys-color-on-secondary-container, #1d192b));--_label-text-font: var(--md-filled-tonal-button-label-text-font, var(--md-sys-typescale-label-large-font, var(--md-ref-typeface-plain, Roboto)));--_label-text-line-height: var(--md-filled-tonal-button-label-text-line-height, var(--md-sys-typescale-label-large-line-height, 1.25rem));--_label-text-size: var(--md-filled-tonal-button-label-text-size, var(--md-sys-typescale-label-large-size, 0.875rem));--_label-text-weight: var(--md-filled-tonal-button-label-text-weight, var(--md-sys-typescale-label-large-weight, var(--md-ref-typeface-weight-medium, 500)));--_pressed-container-elevation: var(--md-filled-tonal-button-pressed-container-elevation, 0);--_pressed-label-text-color: var(--md-filled-tonal-button-pressed-label-text-color, var(--md-sys-color-on-secondary-container, #1d192b));--_pressed-state-layer-color: var(--md-filled-tonal-button-pressed-state-layer-color, var(--md-sys-color-on-secondary-container, #1d192b));--_pressed-state-layer-opacity: var(--md-filled-tonal-button-pressed-state-layer-opacity, 0.12);--_disabled-icon-color: var(--md-filled-tonal-button-disabled-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-icon-opacity: var(--md-filled-tonal-button-disabled-icon-opacity, 0.38);--_focus-icon-color: var(--md-filled-tonal-button-focus-icon-color, var(--md-sys-color-on-secondary-container, #1d192b));--_hover-icon-color: var(--md-filled-tonal-button-hover-icon-color, var(--md-sys-color-on-secondary-container, #1d192b));--_icon-color: var(--md-filled-tonal-button-icon-color, var(--md-sys-color-on-secondary-container, #1d192b));--_icon-size: var(--md-filled-tonal-button-icon-size, 18px);--_pressed-icon-color: var(--md-filled-tonal-button-pressed-icon-color, var(--md-sys-color-on-secondary-container, #1d192b));--_container-shape-start-start: var(--md-filled-tonal-button-container-shape-start-start, var(--md-filled-tonal-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-start-end: var(--md-filled-tonal-button-container-shape-start-end, var(--md-filled-tonal-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-end-end: var(--md-filled-tonal-button-container-shape-end-end, var(--md-filled-tonal-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-end-start: var(--md-filled-tonal-button-container-shape-end-start, var(--md-filled-tonal-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_leading-space: var(--md-filled-tonal-button-leading-space, 24px);--_trailing-space: var(--md-filled-tonal-button-trailing-space, 24px);--_with-leading-icon-leading-space: var(--md-filled-tonal-button-with-leading-icon-leading-space, 16px);--_with-leading-icon-trailing-space: var(--md-filled-tonal-button-with-leading-icon-trailing-space, 24px);--_with-trailing-icon-leading-space: var(--md-filled-tonal-button-with-trailing-icon-leading-space, 24px);--_with-trailing-icon-trailing-space: var(--md-filled-tonal-button-with-trailing-icon-trailing-space, 16px)}
2
- `;de.styleSheet;var fe=class extends ue{};fe.styles=[se,ce,de],fe=U([B(`md-filled-tonal-button`)],fe);var Q=class extends ee{constructor(){super(...arguments),this.inset=!1,this.insetStart=!1,this.insetEnd=!1}};U([F({type:Boolean,reflect:!0})],Q.prototype,`inset`,void 0),U([F({type:Boolean,reflect:!0,attribute:`inset-start`})],Q.prototype,`insetStart`,void 0),U([F({type:Boolean,reflect:!0,attribute:`inset-end`})],Q.prototype,`insetEnd`,void 0);var pe=W`:host{box-sizing:border-box;color:var(--md-divider-color, var(--md-sys-color-outline-variant, #cac4d0));display:flex;height:var(--md-divider-thickness, 1px);width:100%}:host([inset]),:host([inset-start]){padding-inline-start:16px}:host([inset]),:host([inset-end]){padding-inline-end:16px}:host::before{background:currentColor;content:"";height:100%;width:100%}@media(forced-colors: active){:host::before{background:CanvasText}}
3
- `;pe.styleSheet;var me=class extends Q{};me.styles=[pe],me=U([B(`md-divider`)],me);var he={dialog:[[[{transform:`translateY(-50px)`},{transform:`translateY(0)`}],{duration:500,easing:R.EMPHASIZED}]],scrim:[[[{opacity:0},{opacity:.32}],{duration:500,easing:`linear`}]],container:[[[{opacity:0},{opacity:1}],{duration:50,easing:`linear`,pseudoElement:`::before`}],[[{height:`35%`},{height:`100%`}],{duration:500,easing:R.EMPHASIZED,pseudoElement:`::before`}]],headline:[[[{opacity:0},{opacity:0,offset:.2},{opacity:1}],{duration:250,easing:`linear`,fill:`forwards`}]],content:[[[{opacity:0},{opacity:0,offset:.2},{opacity:1}],{duration:250,easing:`linear`,fill:`forwards`}]],actions:[[[{opacity:0},{opacity:0,offset:.5},{opacity:1}],{duration:300,easing:`linear`,fill:`forwards`}]]},ge={dialog:[[[{transform:`translateY(0)`},{transform:`translateY(-50px)`}],{duration:150,easing:R.EMPHASIZED_ACCELERATE}]],scrim:[[[{opacity:.32},{opacity:0}],{duration:150,easing:`linear`}]],container:[[[{height:`100%`},{height:`35%`}],{duration:150,easing:R.EMPHASIZED_ACCELERATE,pseudoElement:`::before`}],[[{opacity:`1`},{opacity:`0`}],{delay:100,duration:50,easing:`linear`,pseudoElement:`::before`}]],headline:[[[{opacity:1},{opacity:0}],{duration:100,easing:`linear`,fill:`forwards`}]],content:[[[{opacity:1},{opacity:0}],{duration:100,easing:`linear`,fill:`forwards`}]],actions:[[[{opacity:1},{opacity:0}],{duration:100,easing:`linear`,fill:`forwards`}]]},_e=I(ee),$=class extends _e{get open(){return this.isOpen}set open(e){e!==this.isOpen&&(this.isOpen=e,e?(this.setAttribute(`open`,``),this.show()):(this.removeAttribute(`open`),this.close()))}constructor(){super(),this.quick=!1,this.returnValue=``,this.noFocusTrap=!1,this.getOpenAnimation=()=>he,this.getCloseAnimation=()=>ge,this.isOpen=!1,this.isOpening=!1,this.isConnectedPromise=this.getIsConnectedPromise(),this.isAtScrollTop=!1,this.isAtScrollBottom=!1,this.nextClickIsFromContent=!1,this.hasHeadline=!1,this.hasActions=!1,this.hasIcon=!1,this.escapePressedWithoutCancel=!1,this.treewalker=document.createTreeWalker(this,NodeFilter.SHOW_ELEMENT),this.addEventListener(`submit`,this.handleSubmit)}async show(){this.isOpening=!0,await this.isConnectedPromise,await this.updateComplete;let e=this.dialog;e.open||!this.isOpening?this.isOpening=!1:this.dispatchEvent(new Event(`open`,{cancelable:!0}))?(e.showModal(),this.open=!0,this.scroller&&(this.scroller.scrollTop=0),this.querySelector(`[autofocus]`)?.focus(),await this.animateDialog(this.getOpenAnimation()),this.dispatchEvent(new Event(`opened`)),this.isOpening=!1):(this.open=!1,this.isOpening=!1)}async close(e=this.returnValue){if(this.isOpening=!1,!this.isConnected){this.open=!1;return}await this.updateComplete;let t=this.dialog;if(!t.open||this.isOpening){this.open=!1;return}let n=this.returnValue;this.returnValue=e,this.dispatchEvent(new Event(`close`,{cancelable:!0}))?(await this.animateDialog(this.getCloseAnimation()),t.close(e),this.open=!1,this.dispatchEvent(new Event(`closed`))):this.returnValue=n}connectedCallback(){super.connectedCallback(),this.isConnectedPromiseResolve()}disconnectedCallback(){super.disconnectedCallback(),this.isConnectedPromise=this.getIsConnectedPromise()}render(){let e=this.open&&!(this.isAtScrollTop&&this.isAtScrollBottom),t={"has-headline":this.hasHeadline,"has-actions":this.hasActions,"has-icon":this.hasIcon,scrollable:e,"show-top-divider":e&&!this.isAtScrollTop,"show-bottom-divider":e&&!this.isAtScrollBottom},n=this.open&&!this.noFocusTrap,r=z`
4
- <div
5
- class="focus-trap"
6
- tabindex="0"
7
- aria-hidden="true"
8
- @focus=${this.handleFocusTrapFocus}></div>
9
- `,{ariaLabel:i}=this;return z`
10
- <div class="scrim"></div>
11
- <dialog
12
- class=${L(t)}
13
- aria-label=${i||H}
14
- aria-labelledby=${this.hasHeadline?`headline`:H}
15
- role=${this.type===`alert`?`alertdialog`:H}
16
- @cancel=${this.handleCancel}
17
- @click=${this.handleDialogClick}
18
- @close=${this.handleClose}
19
- @keydown=${this.handleKeydown}
20
- .returnValue=${this.returnValue||H}>
21
- ${n?r:H}
22
- <div class="container" @click=${this.handleContentClick}>
23
- <div class="headline">
24
- <div class="icon" aria-hidden="true">
25
- <slot name="icon" @slotchange=${this.handleIconChange}></slot>
26
- </div>
27
- <h2 id="headline" aria-hidden=${!this.hasHeadline||H}>
28
- <slot
29
- name="headline"
30
- @slotchange=${this.handleHeadlineChange}></slot>
31
- </h2>
32
- <md-divider></md-divider>
33
- </div>
34
- <div class="scroller">
35
- <div class="content">
36
- <div class="top anchor"></div>
37
- <slot name="content"></slot>
38
- <div class="bottom anchor"></div>
39
- </div>
40
- </div>
41
- <div class="actions">
42
- <md-divider></md-divider>
43
- <slot name="actions" @slotchange=${this.handleActionsChange}></slot>
44
- </div>
45
- </div>
46
- ${n?r:H}
47
- </dialog>
48
- `}firstUpdated(){this.intersectionObserver=new IntersectionObserver(e=>{for(let t of e)this.handleAnchorIntersection(t)},{root:this.scroller}),this.intersectionObserver.observe(this.topAnchor),this.intersectionObserver.observe(this.bottomAnchor)}handleDialogClick(){this.nextClickIsFromContent?this.nextClickIsFromContent=!1:this.dispatchEvent(new Event(`cancel`,{cancelable:!0}))&&this.close()}handleContentClick(){this.nextClickIsFromContent=!0}handleSubmit(e){let t=e.target,{submitter:n}=e;t.getAttribute(`method`)===`dialog`&&n&&this.close(n.getAttribute(`value`)??this.returnValue)}handleCancel(e){if(e.target!==this.dialog)return;this.escapePressedWithoutCancel=!1;let t=!le(this,e);e.preventDefault(),t||this.close()}handleClose(){this.escapePressedWithoutCancel&&(this.escapePressedWithoutCancel=!1,this.dialog?.dispatchEvent(new Event(`cancel`,{cancelable:!0})))}handleKeydown(e){e.key===`Escape`&&(this.escapePressedWithoutCancel=!0,setTimeout(()=>{this.escapePressedWithoutCancel=!1}))}async animateDialog(e){if(this.cancelAnimations?.abort(),this.cancelAnimations=new AbortController,this.quick)return;let{dialog:t,scrim:n,container:r,headline:i,content:a,actions:o}=this;if(!t||!n||!r||!i||!a||!o)return;let{container:s,dialog:c,scrim:l,headline:u,content:d,actions:f}=e,p=[[t,c??[]],[n,l??[]],[r,s??[]],[i,u??[]],[a,d??[]],[o,f??[]]],m=[];for(let[e,t]of p)for(let n of t){let t=e.animate(...n);this.cancelAnimations.signal.addEventListener(`abort`,()=>{t.cancel()}),m.push(t)}await Promise.all(m.map(e=>e.finished.catch(()=>{})))}handleHeadlineChange(e){let t=e.target;this.hasHeadline=t.assignedElements().length>0}handleActionsChange(e){let t=e.target;this.hasActions=t.assignedElements().length>0}handleIconChange(e){let t=e.target;this.hasIcon=t.assignedElements().length>0}handleAnchorIntersection(e){let{target:t,isIntersecting:n}=e;t===this.topAnchor&&(this.isAtScrollTop=n),t===this.bottomAnchor&&(this.isAtScrollBottom=n)}getIsConnectedPromise(){return new Promise(e=>{this.isConnectedPromiseResolve=e})}handleFocusTrapFocus(e){let[t,n]=this.getFirstAndLastFocusableChildren();if(!t||!n){this.dialog?.focus();return}let r=e.target===this.firstFocusTrap,i=!r,a=e.relatedTarget===t,o=e.relatedTarget===n,s=!a&&!o;i&&o||r&&s?t.focus():(r&&a||i&&s)&&n.focus()}getFirstAndLastFocusableChildren(){if(!this.treewalker)return[null,null];let e=null,t=null;for(this.treewalker.currentNode=this.treewalker.root;this.treewalker.nextNode();){let n=this.treewalker.currentNode;ve(n)&&(e||=n,t=n)}return[e,t]}};U([F({type:Boolean})],$.prototype,`open`,null),U([F({type:Boolean})],$.prototype,`quick`,void 0),U([F({attribute:!1})],$.prototype,`returnValue`,void 0),U([F()],$.prototype,`type`,void 0),U([F({type:Boolean,attribute:`no-focus-trap`})],$.prototype,`noFocusTrap`,void 0),U([V(`dialog`)],$.prototype,`dialog`,void 0),U([V(`.scrim`)],$.prototype,`scrim`,void 0),U([V(`.container`)],$.prototype,`container`,void 0),U([V(`.headline`)],$.prototype,`headline`,void 0),U([V(`.content`)],$.prototype,`content`,void 0),U([V(`.actions`)],$.prototype,`actions`,void 0),U([Z()],$.prototype,`isAtScrollTop`,void 0),U([Z()],$.prototype,`isAtScrollBottom`,void 0),U([V(`.scroller`)],$.prototype,`scroller`,void 0),U([V(`.top.anchor`)],$.prototype,`topAnchor`,void 0),U([V(`.bottom.anchor`)],$.prototype,`bottomAnchor`,void 0),U([V(`.focus-trap`)],$.prototype,`firstFocusTrap`,void 0),U([Z()],$.prototype,`hasHeadline`,void 0),U([Z()],$.prototype,`hasActions`,void 0),U([Z()],$.prototype,`hasIcon`,void 0);function ve(e){let t=`:not(:disabled,[disabled])`;return e.matches(`:is(button,input,select,textarea,object,:is(a,area)[href],[tabindex],[contenteditable=true])`+t+`:not([tabindex^="-"])`)?!0:!e.localName.includes(`-`)||!e.matches(t)?!1:e.shadowRoot?.delegatesFocus??!1}var ye=W`:host{border-start-start-radius:var(--md-dialog-container-shape-start-start, var(--md-dialog-container-shape, var(--md-sys-shape-corner-extra-large, 28px)));border-start-end-radius:var(--md-dialog-container-shape-start-end, var(--md-dialog-container-shape, var(--md-sys-shape-corner-extra-large, 28px)));border-end-end-radius:var(--md-dialog-container-shape-end-end, var(--md-dialog-container-shape, var(--md-sys-shape-corner-extra-large, 28px)));border-end-start-radius:var(--md-dialog-container-shape-end-start, var(--md-dialog-container-shape, var(--md-sys-shape-corner-extra-large, 28px)));display:contents;margin:auto;max-height:min(560px,100% - 48px);max-width:min(560px,100% - 48px);min-height:140px;min-width:280px;position:fixed;height:fit-content;width:fit-content}dialog{background:rgba(0,0,0,0);border:none;border-radius:inherit;flex-direction:column;height:inherit;margin:inherit;max-height:inherit;max-width:inherit;min-height:inherit;min-width:inherit;outline:none;overflow:visible;padding:0;width:inherit}dialog[open]{display:flex}::backdrop{background:none}.scrim{background:var(--md-sys-color-scrim, #000);display:none;inset:0;opacity:32%;pointer-events:none;position:fixed;z-index:1}:host([open]) .scrim{display:flex}h2{all:unset;align-self:stretch}.headline{align-items:center;color:var(--md-dialog-headline-color, var(--md-sys-color-on-surface, #1d1b20));display:flex;flex-direction:column;font-family:var(--md-dialog-headline-font, var(--md-sys-typescale-headline-small-font, var(--md-ref-typeface-brand, Roboto)));font-size:var(--md-dialog-headline-size, var(--md-sys-typescale-headline-small-size, 1.5rem));line-height:var(--md-dialog-headline-line-height, var(--md-sys-typescale-headline-small-line-height, 2rem));font-weight:var(--md-dialog-headline-weight, var(--md-sys-typescale-headline-small-weight, var(--md-ref-typeface-weight-regular, 400)));position:relative}slot[name=headline]::slotted(*){align-items:center;align-self:stretch;box-sizing:border-box;display:flex;gap:8px;padding:24px 24px 0}.icon{display:flex}slot[name=icon]::slotted(*){color:var(--md-dialog-icon-color, var(--md-sys-color-secondary, #625b71));fill:currentColor;font-size:var(--md-dialog-icon-size, 24px);margin-top:24px;height:var(--md-dialog-icon-size, 24px);width:var(--md-dialog-icon-size, 24px)}.has-icon slot[name=headline]::slotted(*){justify-content:center;padding-top:16px}.scrollable slot[name=headline]::slotted(*){padding-bottom:16px}.scrollable.has-headline slot[name=content]::slotted(*){padding-top:8px}.container{border-radius:inherit;display:flex;flex-direction:column;flex-grow:1;overflow:hidden;position:relative;transform-origin:top}.container::before{background:var(--md-dialog-container-color, var(--md-sys-color-surface-container-high, #ece6f0));border-radius:inherit;content:"";inset:0;position:absolute}.scroller{display:flex;flex:1;flex-direction:column;overflow:hidden;z-index:1}.scrollable .scroller{overflow-y:scroll}.content{color:var(--md-dialog-supporting-text-color, var(--md-sys-color-on-surface-variant, #49454f));font-family:var(--md-dialog-supporting-text-font, var(--md-sys-typescale-body-medium-font, var(--md-ref-typeface-plain, Roboto)));font-size:var(--md-dialog-supporting-text-size, var(--md-sys-typescale-body-medium-size, 0.875rem));line-height:var(--md-dialog-supporting-text-line-height, var(--md-sys-typescale-body-medium-line-height, 1.25rem));flex:1;font-weight:var(--md-dialog-supporting-text-weight, var(--md-sys-typescale-body-medium-weight, var(--md-ref-typeface-weight-regular, 400)));height:min-content;position:relative}slot[name=content]::slotted(*){box-sizing:border-box;padding:24px}.anchor{position:absolute}.top.anchor{top:0}.bottom.anchor{bottom:0}.actions{position:relative}slot[name=actions]::slotted(*){box-sizing:border-box;display:flex;gap:8px;justify-content:flex-end;padding:16px 24px 24px}.has-actions slot[name=content]::slotted(*){padding-bottom:8px}md-divider{display:none;position:absolute}.has-headline.show-top-divider .headline md-divider,.has-actions.show-bottom-divider .actions md-divider{display:flex}.headline md-divider{bottom:0}.actions md-divider{top:0}@media(forced-colors: active){dialog{outline:2px solid WindowText}}
49
- `;ye.styleSheet;var be=class extends ${};be.styles=[ye],be=U([B(`md-dialog`)],be);var xe=e(`<p role="alert" class="failure svelte-qieqgw"> </p>`),Se=e(`<md-dialog><div slot="headline">Clear speech?</div> <div slot="content"><p class="svelte-qieqgw">The speech of <strong> </strong> is removed from the bridge. The session keeps running.
50
- This cannot be undone.</p> <!></div> <div slot="actions"><md-text-button>Cancel</md-text-button> <md-text-button>Clear</md-text-button></div></md-dialog>`,2);function Ce(e,s){r(s,!0);let f=i(``),p=i(!1);u(()=>{s.open&&m(f,``)});async function g(){if(!l(p)){m(f,``),m(p,!0);try{await s.onClear(),s.onClose()}catch(e){m(f,e instanceof Error?e.message:`The speech could not be cleared.`,!0)}finally{m(p,!1)}}}var _=Se();c(()=>w(_,`open`,s.open)),x(_,1,`svelte-qieqgw`);var v=M(a(_),2),y=a(v),b=M(a(y)),C=d(b,!0);o(),E(y);var T=M(y,2),D=e=>{var t=xe(),n=d(t,!0);c(()=>j(n,l(f))),A(e,t)};S(T,e=>{l(f)!==``&&e(D)}),E(v);var O=M(v,2),k=a(O);w(k,`type`,`button`);var N=M(k,2);w(N,`type`,`button`),c(()=>w(N,`disabled`,l(p))),E(O),E(_),c(()=>j(C,s.heading)),t(`closed`,_,function(...e){s.onClose?.apply(this,e)}),n(`click`,k,function(...e){s.onClose?.apply(this,e)}),n(`click`,N,g),A(e,_),h()}f([`click`]);var we=e(`<p role="alert" class="failure svelte-1sof82u"> </p>`),Te=e(`<md-dialog><div slot="headline">Delete session?</div> <div slot="content"><p class="svelte-1sof82u"><strong> </strong> and its speech are removed from the bridge. This cannot be undone.</p> <!></div> <div slot="actions"><md-text-button>Cancel</md-text-button> <md-text-button>Delete</md-text-button></div></md-dialog>`,2);function Ee(e,s){r(s,!0);let f=i(``),p=i(!1);u(()=>{s.open&&m(f,``)});async function g(){if(!l(p)){m(f,``),m(p,!0);try{await s.onDelete(),s.onClose()}catch(e){m(f,e instanceof Error?e.message:`The session could not be deleted.`,!0)}finally{m(p,!1)}}}var _=Te();c(()=>w(_,`open`,s.open)),x(_,1,`svelte-1sof82u`);var v=M(a(_),2),y=a(v),b=a(y),C=d(b,!0);o(),E(y);var T=M(y,2),D=e=>{var t=we(),n=d(t,!0);c(()=>j(n,l(f))),A(e,t)};S(T,e=>{l(f)!==``&&e(D)}),E(v);var O=M(v,2),k=a(O);w(k,`type`,`button`);var N=M(k,2);w(N,`type`,`button`),c(()=>w(N,`disabled`,l(p))),E(O),E(_),c(()=>j(C,s.heading)),t(`closed`,_,function(...e){s.onClose?.apply(this,e)}),n(`click`,k,function(...e){s.onClose?.apply(this,e)}),n(`click`,N,g),A(e,_),h()}f([`click`]);var De=e(`<p role="alert" class="failure svelte-ttl1x5"> </p>`),Oe=e(`<md-dialog><div slot="headline">Add a marker</div> <form slot="content" id="add-marker-form" novalidate="" class="svelte-ttl1x5"><md-outlined-text-field></md-outlined-text-field> <!></form> <div slot="actions"><md-text-button>Cancel</md-text-button> <md-text-button>Add</md-text-button></div></md-dialog>`,2);function ke(e,o){r(o,!0);let s=i(``),f=i(``),p=i(``),g=i(!1);u(()=>{o.open&&(m(s,``),m(f,``),m(p,``))});async function _(e){if(e.preventDefault(),l(g))return;let t=l(s).trim();if(t===``)m(f,`Enter a label.`);else{m(f,``),m(p,``),m(g,!0);try{await o.onAdd(t),o.onClose()}catch(e){m(p,e instanceof Error?e.message:`The marker could not be added.`,!0)}finally{m(g,!1)}}}var v=Oe();c(()=>w(v,`open`,o.open)),x(v,1,`svelte-ttl1x5`);var y=M(a(v),2),b=a(y);w(b,`label`,`Label`),w(b,`required`,!0),c(()=>w(b,`maxlength`,ne.markerLength)),w(b,`supporting-text`,`Shows in the log as a row of its own, for example “step 3”.`),c(()=>w(b,`value`,l(s))),c(()=>w(b,`error`,l(f)!==``)),c(()=>w(b,`error-text`,l(f)));var C=M(b,2),T=e=>{var t=De(),n=d(t,!0);c(()=>j(n,l(p))),A(e,t)};S(C,e=>{l(p)!==``&&e(T)}),E(y);var D=M(y,2),O=a(D);w(O,`type`,`button`);var k=M(O,2);w(k,`type`,`submit`),w(k,`form`,`add-marker-form`),c(()=>w(k,`disabled`,l(g))),E(D),E(v),t(`closed`,v,function(...e){o.onClose?.apply(this,e)}),t(`submit`,y,_),n(`input`,b,e=>m(s,e.target.value,!0)),n(`click`,O,function(...e){o.onClose?.apply(this,e)}),A(e,v),h()}f([`input`,`click`]);var Ae=e(`<span class="pill svelte-5c13xh"><md-icon>bookmark</md-icon> <span class="visually-hidden svelte-5c13xh">Marker:</span> <span class="label mono svelte-5c13xh"> </span></span>`,2),je=e(`<tr><td class="time mono svelte-5c13xh"> </td><td class="text svelte-5c13xh"><!></td><td class="seq mono svelte-5c13xh"> </td></tr>`),Me=e(`<table aria-label="Speech" class="svelte-5c13xh"><thead class="svelte-5c13xh"><tr><th scope="col" class="svelte-5c13xh">Received</th><th scope="col" class="svelte-5c13xh">Spoken text</th><th scope="col" class="seq svelte-5c13xh">Seq</th></tr></thead><tbody class="svelte-5c13xh"></tbody></table>`);function Ne(e,t){r(t,!0);let n=e=>Date.now()-Date.parse(e.receivedAt)<2e3;var i=Me(),o=M(a(i));T(o,21,()=>t.entries,e=>e.seq,(e,t)=>{var r=je();let i;var o=a(r),s=d(o,!0),u=M(o),f=a(u),p=e=>{var n=Ae(),r=a(n);w(r,`aria-hidden`,`true`),x(r,1,`svelte-5c13xh`);var i=M(r,4),o=d(i,!0);E(n),c(()=>{y(n,`title`,l(t).text),j(o,l(t).text)}),A(e,n)},m=e=>{var n=k();c(()=>j(n,l(t).text)),A(e,n)};S(f,e=>{l(t).kind===`marker`?e(p):e(m,-1)}),E(u);var h=M(u),g=d(h);E(r),c((e,n)=>{i=x(r,1,`svelte-5c13xh`,null,i,{fresh:e,marker:l(t).kind===`marker`}),j(s,n),j(g,`#${l(t).seq??``}`)},[()=>n(l(t)),()=>ie(l(t).receivedAt)]),A(e,r)}),E(o),E(i),A(e,i),h()}var Pe=e(`<md-icon-button><md-icon>bookmark_add</md-icon></md-icon-button>`,2),Fe=e(`<md-icon-button><md-icon>delete_sweep</md-icon></md-icon-button>`,2),Ie=e(`<md-icon-button><md-icon>delete</md-icon></md-icon-button>`,2),Le=e(`<div role="toolbar" aria-label="Log actions"><!> <!> <!></div>`),Re=e(`<p class="title svelte-1jnrixz">No entries left</p> <p class="svelte-1jnrixz">This session's entries are no longer in the buffer.</p>`,1),ze=e(`<p class="title svelte-1jnrixz">No speech yet</p> <p class="svelte-1jnrixz">Make the screen reader speak.</p>`,1),Be=e(`<div class="empty svelte-1jnrixz"><md-icon>mic</md-icon> <!></div>`,2),Ve=e(`<p role="status" class="mono svelte-1jnrixz">Connection lost, reconnecting…</p>`),He=e(`<p role="alert" class="mono failed svelte-1jnrixz">The speech could not be loaded.</p>`),Ue=e(`<span></span>`),We=e(`<md-filled-tonal-button><md-icon>arrow_downward</md-icon> Jump to latest</md-filled-tonal-button>`,2),Ge=e(`<footer class="svelte-1jnrixz"><!> <!></footer>`),Ke=e(`<section class="log svelte-1jnrixz" aria-labelledby="log-heading"><header class="svelte-1jnrixz"><h1 id="log-heading" class="trunc svelte-1jnrixz"> </h1> <!></header> <div class="scroll svelte-1jnrixz" role="region" aria-label="Speech log" aria-live="off" tabindex="0"><!> <!></div> <!></section> <!> <!> <!>`,1);function qe(e,f){r(f,!0);let p=i(!1),g=i(!1),_=i(!1),v=i(void 0),y=i(!0);function b(){l(v)&&m(y,l(v).scrollHeight-l(v).scrollTop-l(v).clientHeight<=48)}function T(){m(y,!0),l(v)?.scrollTo({top:l(v).scrollHeight})}u(()=>{f.entries.length===0&&m(y,!0),l(y)&&l(v)&&(l(v).scrollTop=l(v).scrollHeight)});var D=Ke(),O=s(D),k=a(O),N=a(k),P=d(N,!0),F=M(N,2),I=e=>{var t=Le(),r=a(t),i=e=>{var t=Pe();w(t,`title`,`Add marker`),w(t,`aria-label`,`Add marker`);var r=a(t);w(r,`aria-hidden`,`true`),E(t),n(`click`,t,()=>m(p,!0)),A(e,t)};S(r,e=>{f.canMark&&e(i)});var o=M(r,2),s=e=>{var t=Fe();w(t,`title`,`Clear speech`),w(t,`aria-label`,`Clear speech`),c(()=>w(t,`disabled`,f.entries.length===0));var r=a(t);w(r,`aria-hidden`,`true`),E(t),n(`click`,t,()=>m(_,!0)),A(e,t)};S(o,e=>{f.canClear&&e(s)});var l=M(o,2),u=e=>{var t=Ie();w(t,`title`,`Delete session`),w(t,`aria-label`,`Delete session`);var r=a(t);w(r,`aria-hidden`,`true`),E(t),n(`click`,t,()=>m(g,!0)),A(e,t)};S(l,e=>{f.canDelete&&e(u)}),E(t),A(e,t)};S(F,e=>{(f.canMark||f.canClear||f.canDelete)&&e(I)}),E(k);var L=M(k,2),R=a(L);Ne(R,{get entries(){return f.entries}});var z=M(R,2),B=e=>{var t=Be(),n=a(t);w(n,`aria-hidden`,`true`),x(n,1,`svelte-1jnrixz`);var r=M(n,2),i=e=>{var t=Re();o(2),A(e,t)},s=e=>{var t=ze();o(2),A(e,t)};S(r,e=>{f.connection===`ended`?e(i):e(s,-1)}),E(t),A(e,t)};S(z,e=>{f.entries.length===0&&e(B)}),E(L),C(L,e=>m(v,e),()=>l(v));var V=M(L,2),H=e=>{var t=Ge(),r=a(t),i=e=>{var t=Ve();A(e,t)},s=e=>{var t=He();A(e,t)},c=e=>{var t=Ue();A(e,t)};S(r,e=>{f.connection===`reconnecting`?e(i):f.connection===`failed`?e(s,1):e(c,-1)});var u=M(r,2),d=e=>{var t=We(),r=a(t);w(r,`slot`,`icon`),w(r,`aria-hidden`,`true`),o(),E(t),n(`click`,t,T),A(e,t)};S(u,e=>{l(y)||e(d)}),E(t),A(e,t)};S(V,e=>{f.connection!==`reconnecting`&&f.connection!==`failed`&&l(y)||e(H)}),E(O);var U=M(O,2),W=e=>{ke(e,{get open(){return l(p)},get onAdd(){return f.onAddMarker},onClose:()=>m(p,!1)})};S(U,e=>{f.canMark&&e(W)});var G=M(U,2),K=e=>{Ce(e,{get open(){return l(_)},get heading(){return f.heading},get onClear(){return f.onClear},onClose:()=>m(_,!1)})};S(G,e=>{f.canClear&&e(K)});var q=M(G,2),J=e=>{Ee(e,{get open(){return l(g)},get heading(){return f.heading},get onDelete(){return f.onDelete},onClose:()=>m(g,!1)})};S(q,e=>{f.canDelete&&e(J)}),c(()=>j(P,f.heading)),t(`scroll`,L,b),A(e,D),h()}f([`click`]);var Je=e(`<span class="subtitle svelte-3qlloz"><!></span>`),Ye=e(`<span class="sr-only svelte-3qlloz"> </span>`),Xe=e(`<span class="trailing svelte-3qlloz"><!></span>`),Ze=e(`<li><md-ripple></md-ripple> <button type="button" class="select svelte-3qlloz"><span class="title svelte-3qlloz"> </span> <!> <!></button> <!></li>`,2);function Qe(e,t){let r=D(t,`selected`,3,!1);var i=Ze();let o,s;var l=a(i);w(l,`aria-hidden`,`true`);var u=M(l,2),f=a(u),p=d(f,!0),m=M(f,2),h=e=>{var n=Je(),r=a(n);_(r,()=>t.subtitle),E(n),c(()=>y(n,`aria-hidden`,t.description===void 0?void 0:`true`)),A(e,n)};S(m,e=>{t.subtitle&&e(h)});var v=M(m,2),b=e=>{var n=Ye(),r=d(n,!0);c(()=>j(r,t.description)),A(e,n)};S(v,e=>{t.description!==void 0&&e(b)}),E(u);var C=M(u,2),T=e=>{var n=Xe(),r=a(n);_(r,()=>t.trailing),E(n),A(e,n)};S(C,e=>{t.trailing&&e(T)}),E(i),c(()=>{o=x(i,1,`svelte-3qlloz`,null,o,{selected:r()}),s=g(i,``,s,{"--list-item-shape":t.shape}),y(u,`aria-current`,r()?`true`:void 0),j(p,t.title)}),n(`click`,u,function(...e){t.onSelect?.apply(this,e)}),A(e,i)}f([`click`]);function $e(e){let t=Math.max(0,Math.floor(e/1e3)),n=Math.floor(t/3600),r=Math.floor(t%3600/60),i=t%60;return n>0?`${n} h ${String(r).padStart(2,`0`)} min`:r>0?`${r} min ${i} s`:`${i} s`}function et(e,t){let n=$e((e.endedAt===null?t:Date.parse(e.endedAt))-Date.parse(e.startedAt)),r=e.endedAt===null,i=`${e.entries} ${e.entries===1?`entry`:`entries`}`,a=[`Session ${e.id}`,r?`live`:null,e.run===null?null:`run ${e.run}`,n,i];return{id:`#${e.id}`,run:e.run,duration:n,entries:i,spoken:a.filter(e=>e!==null).join(`, `)}}var tt=`none`;function nt(e,t,n){if(e===`none`)return tt;let r=e===null||!/^\d+$/.test(e)?null:Number(e);return r!==null&&t.some(e=>e.id===r)?r:n??`none`}function rt(e,t){let n=t.findIndex(t=>t.id===e);return n===-1?null:(t[n+1]??t[n-1])?.id??null}var it=e(`<p class="svelte-17z3k9b">This session has no entries, so ending it deletes it. Its number is not reused.</p>`),at=e(`<p class="svelte-17z3k9b">Speech captured after this belongs to no session.</p>`),ot=e(`<p role="alert" class="failure svelte-17z3k9b"> </p>`),st=e(`<md-dialog><div slot="headline"> </div> <div slot="content"><!> <!></div> <div slot="actions"><md-text-button>Cancel</md-text-button> <md-text-button>End session</md-text-button></div></md-dialog>`,2);function ct(e,o){r(o,!0);let s=p(()=>o.entries===0),f=i(``),g=i(!1);u(()=>{o.open&&m(f,``)});async function _(){if(!l(g)){m(f,``),m(g,!0);try{await o.onEnd(),o.onClose()}catch(e){m(f,e instanceof Error?e.message:`The session could not be ended.`,!0)}finally{m(g,!1)}}}var v=st();c(()=>w(v,`open`,o.open)),x(v,1,`svelte-17z3k9b`);var y=a(v),b=d(y),C=M(y,2),T=a(C),D=e=>{var t=it();A(e,t)},O=e=>{var t=at();A(e,t)};S(T,e=>{l(s)?e(D):e(O,-1)});var k=M(T,2),N=e=>{var t=ot(),n=d(t,!0);c(()=>j(n,l(f))),A(e,t)};S(k,e=>{l(f)!==``&&e(N)}),E(C);var P=M(C,2),F=a(P);w(F,`type`,`button`);var I=M(F,2);w(I,`type`,`button`),c(()=>w(I,`disabled`,l(g))),E(P),E(v),c(()=>j(b,`${l(s)?`Drop`:`End`} session ${o.sessionId===null?``:`#${o.sessionId}`}?`)),t(`closed`,v,function(...e){o.onClose?.apply(this,e)}),n(`click`,F,function(...e){o.onClose?.apply(this,e)}),n(`click`,I,_),A(e,v),h()}f([`click`]);var lt=e(`<span class="dot svelte-wvg2ho"></span>`),ut=e(`<span class="run svelte-wvg2ho"> </span>`),dt=e(`<span class="meta svelte-wvg2ho"><!> <span class="svelte-wvg2ho"> </span> <!> <span class="svelte-wvg2ho"> </span> <span class="svelte-wvg2ho"> </span></span>`);function ft(e,t){r(t,!0);let n=e=>{var n=dt(),r=a(n),o=e=>{var t=lt();A(e,t)};S(r,e=>{t.live&&e(o)});var s=M(r,2),u=d(s,!0),f=M(s,2),p=e=>{var t=ut(),n=d(t,!0);c(()=>j(n,l(i).run)),A(e,t)};S(f,e=>{l(i).run!==null&&e(p)});var m=M(f,2),h=d(m,!0),g=M(m,2),_=d(g,!0);E(n),c(()=>{j(u,l(i).id),j(h,l(i).duration),j(_,l(i).entries)}),A(e,n)},i=p(()=>et(t.session,t.now));Qe(e,{get title(){return t.session.name},shape:`var(--md-sys-shape-corner-extra-large, 28px)`,get subtitle(){return n},get selected(){return t.selected},get description(){return l(i).spoken},get onSelect(){return t.onSelect}}),h()}var pt=e(`<p role="alert" class="failure svelte-2k1elc"> </p>`),mt=e(`<md-dialog><div slot="headline">Start a session</div> <form slot="content" id="start-session-form" novalidate="" class="svelte-2k1elc"><md-outlined-text-field></md-outlined-text-field> <md-outlined-text-field></md-outlined-text-field> <!></form> <div slot="actions"><md-text-button>Cancel</md-text-button> <md-text-button>Start</md-text-button></div></md-dialog>`,2);function ht(e,o){r(o,!0);let s=i(``),f=i(``),p=i(``),g=i(``),_=i(!1);u(()=>{o.open&&(m(s,``),m(f,``),m(p,``),m(g,``))});async function v(e){if(e.preventDefault(),l(_))return;let t=l(s).trim();if(t===``)m(p,`Enter a name.`);else{m(p,``),m(g,``),m(_,!0);try{await o.onStart(t,l(f).trim()===``?null:l(f).trim()),o.onClose()}catch(e){m(g,e instanceof Error?e.message:`The session could not be started.`,!0)}finally{m(_,!1)}}}var y=mt();c(()=>w(y,`open`,o.open)),x(y,1,`svelte-2k1elc`);var b=M(a(y),2),C=a(b);w(C,`label`,`Name`),w(C,`required`,!0),c(()=>w(C,`maxlength`,ne.sessionLabelLength)),c(()=>w(C,`value`,l(s))),c(()=>w(C,`error`,l(p)!==``)),c(()=>w(C,`error-text`,l(p)));var T=M(C,2);w(T,`label`,`Run (optional)`),w(T,`supporting-text`,`Groups sessions, for example one run id per test run.`),c(()=>w(T,`maxlength`,ne.sessionLabelLength)),c(()=>w(T,`value`,l(f)));var D=M(T,2),O=e=>{var t=pt(),n=d(t,!0);c(()=>j(n,l(g))),A(e,t)};S(D,e=>{l(g)!==``&&e(O)}),E(b);var k=M(b,2),N=a(k);w(N,`type`,`button`);var P=M(N,2);w(P,`type`,`submit`),w(P,`form`,`start-session-form`),c(()=>w(P,`disabled`,l(_))),E(k),E(y),t(`closed`,y,function(...e){o.onClose?.apply(this,e)}),t(`submit`,b,v),n(`input`,C,e=>m(s,e.target.value,!0)),n(`input`,T,e=>m(f,e.target.value,!0)),n(`click`,N,function(...e){o.onClose?.apply(this,e)}),A(e,y),h()}f([`input`,`click`]);var gt=e(`<span> </span>`),_t=e(`<md-icon-button><md-icon> </md-icon></md-icon-button>`,2),vt=e(`<p class="empty svelte-1fz71rn">No sessions in the buffer. Start one with the play button.</p>`),yt=e(`<ul aria-labelledby="sessions-heading" class="svelte-1fz71rn"></ul>`),bt=e(`<ul class="outside svelte-1fz71rn" aria-label="Outside sessions"><!></ul>`),xt=e(`<section aria-labelledby="sessions-heading"><header class="svelte-1fz71rn"><!> <h2 id="sessions-heading">Sessions</h2> <md-icon-button><md-icon> </md-icon></md-icon-button></header> <!> <!></section> <!> <!>`,3);function St(e,t){r(t,!0);let o=e=>{var t=gt(),n=d(t,!0);c(()=>j(n,l(y))),A(e,t)},u=D(t,`collapsed`,3,!1),f=i(!1),g=i(!1),_=p(()=>t.currentId===null?`Start a session`:`End session ${t.currentId}`),v=p(()=>u()?`Expand sessions`:`Collapse sessions`),y=p(()=>t.outsideEntries===1?`1 entry`:`${t.outsideEntries} entries`);var b=xt(),C=s(b);let k;var N=a(C),P=a(N),F=e=>{var r=_t();x(r,1,`collapse`),c(()=>w(r,`title`,l(v))),c(()=>w(r,`aria-label`,l(v))),c(()=>w(r,`aria-expanded`,!u()));var i=a(r);w(i,`aria-hidden`,`true`);var o=d(i,!0);E(r),c(()=>j(o,u()?`left_panel_open`:`left_panel_close`)),n(`click`,r,function(...e){t.onToggleCollapse?.apply(this,e)}),A(e,r)};S(P,e=>{t.onToggleCollapse&&e(F)});var I=M(P,2);let L;var R=M(I,2);c(()=>w(R,`title`,l(_))),c(()=>w(R,`aria-label`,l(_)));var z=a(R);w(z,`aria-hidden`,`true`);var B=d(z,!0);E(R),E(N);var V=M(N,2),H=e=>{},U=e=>{var t=vt();A(e,t)},W=e=>{var n=yt();T(n,21,()=>t.sessions,e=>e.id,(e,n)=>{{let r=p(()=>l(n).id===t.currentId),i=p(()=>l(n).id===t.selectedId);ft(e,{get session(){return l(n)},get now(){return t.now},get live(){return l(r)},get selected(){return l(i)},onSelect:()=>t.onSelect(l(n).id)})}}),E(n),A(e,n)};S(V,e=>{u()?e(H):t.sessions.length===0?e(U,1):e(W,-1)});var G=M(V,2),K=e=>{var n=bt(),r=a(n);{let e=p(()=>t.selectedId===tt),n=p(()=>`Speech captured while no session was running, ${l(y)}`);Qe(r,{title:`Outside sessions`,shape:`var(--md-sys-shape-corner-extra-large, 28px)`,get subtitle(){return o},get selected(){return l(e)},get description(){return l(n)},onSelect:()=>t.onSelect(tt)})}E(n),A(e,n)};S(G,e=>{u()||e(K)}),E(C);var q=M(C,2);ht(q,{get open(){return l(f)},get onStart(){return t.onStart},onClose:()=>m(f,!1)});var J=M(q,2);{let e=p(()=>t.sessions.find(e=>e.id===t.currentId)?.entries??null);ct(J,{get open(){return l(g)},get sessionId(){return t.currentId},get entries(){return l(e)},get onEnd(){return t.onEnd},onClose:()=>m(g,!1)})}c(()=>{k=x(C,1,`svelte-1fz71rn`,null,k,{collapsed:u()}),L=x(I,1,`svelte-1fz71rn`,null,L,{"visually-hidden":u()}),x(R,1,O(t.currentId===null?`start`:`stop`),`svelte-1fz71rn`),j(B,t.currentId===null?`play_arrow`:`stop`)}),n(`click`,R,()=>t.currentId===null?m(f,!0):m(g,!0)),A(e,b),h()}f([`click`]);var Ct=e(`<div class="monitor svelte-1uha8ag"><aside><!></aside> <div class="log svelte-1uha8ag"><!></div></div>`);function wt(e,t){r(t,!0);let n=p(()=>X.loaded?{sessions:X.sessions,currentId:X.currentId,outsideEntries:X.outsideEntries}:t.data.sessions??{sessions:[],currentId:null,outsideEntries:0}),i=p(()=>X.loaded?X.now:t.data.now),o=p(()=>nt(ae.url.searchParams.get(`session`),l(n).sessions,l(n).currentId)),s=p(()=>q(l(o),l(n).sessions)),d=p(()=>re(l(o),l(n).currentId)),f=p(()=>G(l(o),l(n).currentId)),m=p(()=>te(l(o),l(n).currentId));v(()=>(Y.init(),X.init(t.data.sessions))),u(()=>J.open(l(o),b(()=>K(l(o),l(n).currentId))));function g(e){return P(e===null?N(`/`):`${N(`/`)}?session=${e}`,{reset:!1})}async function _(){let e=l(n).currentId;await X.end(),e!==null&&!l(n).sessions.some(t=>t.id===e)&&await g(null)}async function y(){await J.clear(l(o)),await X.refresh()}async function S(){if(typeof l(o)!=`number`)return;let e=rt(l(o),l(n).sessions);await X.delete(l(o)),await g(e)}async function C(e,t){await g((await X.start(e,t)).id)}var w=Ct(),T=a(w);let D;St(a(T),{get collapsed(){return Y.collapsed},onToggleCollapse:()=>Y.toggle(),get sessions(){return l(n).sessions},get currentId(){return l(n).currentId},get outsideEntries(){return l(n).outsideEntries},get selectedId(){return l(o)},get now(){return l(i)},onSelect:e=>void g(e),onStart:C,onEnd:_}),E(T);var O=M(T,2);qe(a(O),{get heading(){return l(s)},get entries(){return J.entries},get connection(){return J.connection},get canMark(){return l(d)},onAddMarker:e=>J.addMarker(e),get canClear(){return l(f)},onClear:y,get canDelete(){return l(m)},onDelete:S}),E(O),E(w),c(()=>D=x(T,1,`svelte-1uha8ag`,null,D,{collapsed:Y.collapsed})),A(e,w),h()}export{wt as component};
@@ -1 +0,0 @@
1
- md-dialog.svelte-qieqgw{--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-qieqgw{margin:0}.failure.svelte-qieqgw{color:var(--md-sys-color-error);margin-top:12px}md-dialog.svelte-1sof82u{--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-1sof82u{margin:0}.failure.svelte-1sof82u{color:var(--md-sys-color-error);margin-top:12px}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}tr.fresh.svelte-5c13xh td:where(.svelte-5c13xh):first-child{animation:svelte-5c13xh-fade-new-edge calc(var(--app-new-row-ms) * 1ms) ease-out}@keyframes svelte-5c13xh-fade-new{0%{background:var(--app-new-row)}}@keyframes svelte-5c13xh-fade-new-edge{0%{box-shadow:inset calc(var(--app-border-width) * 2) 0 0 var(--md-sys-color-primary)}}@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);border-width:max(1px, var(--app-border-width));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{outline:var(--app-border-width) solid var(--md-sys-color-outline);outline-offset:calc(var(--app-border-width) * -1);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;border:var(--app-border-width) solid var(--md-sys-color-outline);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}