@screenreader-speech-capture/bridge 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.mjs +255 -27
- package/dist/ui/adapter-node.js +1 -1
- package/dist/ui/client/ui/_app/immutable/assets/{4.DyY1vjRV.css → 4.DEk4yqpA.css} +1 -1
- package/dist/ui/client/ui/_app/immutable/assets/4.DEk4yqpA.css.br +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/4.DEk4yqpA.css.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/{Cc902J0D.js → Bq3k_s8n.js} +1 -1
- package/dist/ui/client/ui/_app/immutable/chunks/Bq3k_s8n.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/Bq3k_s8n.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/{D9JU-e3z.js → CEGGem4o.js} +1 -1
- package/dist/ui/client/ui/_app/immutable/chunks/CEGGem4o.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/CEGGem4o.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/{ux9AxWa3.js → Cwz551Q0.js} +4 -3
- package/dist/ui/client/ui/_app/immutable/chunks/Cwz551Q0.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/Cwz551Q0.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/{Roub4aju.js → DJvJc_zO.js} +1 -1
- package/dist/ui/client/ui/_app/immutable/chunks/DJvJc_zO.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/DJvJc_zO.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/{C7D7xLuA.js → DU8ibkb0.js} +1 -1
- package/dist/ui/client/ui/_app/immutable/chunks/DU8ibkb0.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/DU8ibkb0.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/{BrPqgVT6.js → Dk73DTz3.js} +1 -1
- package/dist/ui/client/ui/_app/immutable/chunks/Dk73DTz3.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/Dk73DTz3.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/{KD5R77Wj.js → DoG5cwE3.js} +1 -1
- package/dist/ui/client/ui/_app/immutable/chunks/DoG5cwE3.js.br +3 -0
- package/dist/ui/client/ui/_app/immutable/chunks/DoG5cwE3.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/hhZsYtkz.js +3 -0
- package/dist/ui/client/ui/_app/immutable/chunks/hhZsYtkz.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/hhZsYtkz.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/entry/app.Bic9wlww.js +2 -0
- package/dist/ui/client/ui/_app/immutable/entry/app.Bic9wlww.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/entry/app.Bic9wlww.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/0.IqK6bsxB.js +1 -0
- package/dist/ui/client/ui/_app/immutable/nodes/0.IqK6bsxB.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/0.IqK6bsxB.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/{3.CywuMQ0y.js → 3.DYZ3H5TS.js} +1 -1
- package/dist/ui/client/ui/_app/immutable/nodes/3.DYZ3H5TS.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/3.DYZ3H5TS.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/4.Lwlmq1AY.js +180 -0
- package/dist/ui/client/ui/_app/immutable/nodes/4.Lwlmq1AY.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/4.Lwlmq1AY.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/{5.xWNFTFjr.js → 5.rBMVkFpN.js} +5 -5
- package/dist/ui/client/ui/_app/immutable/nodes/5.rBMVkFpN.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/5.rBMVkFpN.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/6.nui9awM2.js +6 -0
- package/dist/ui/client/ui/_app/immutable/nodes/6.nui9awM2.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/6.nui9awM2.js.gz +0 -0
- package/dist/ui/client/ui/_app/version.json +1 -1
- package/dist/ui/client/ui/_app/version.json.br +0 -0
- package/dist/ui/client/ui/_app/version.json.gz +0 -0
- package/dist/ui/server/.vite/manifest.json +18 -29
- package/dist/ui/server/_app/immutable/assets/{_page.DyY1vjRV.css → _page.DEk4yqpA.css} +1 -1
- package/dist/ui/server/chunks/composition.js +52 -0
- package/dist/ui/server/chunks/composition.js.map +1 -1
- package/dist/ui/server/chunks/instance.js +3 -3
- package/dist/ui/server/chunks/internal.js +1 -1
- package/dist/ui/server/chunks/outlined-button.js +116 -0
- package/dist/ui/server/chunks/outlined-button.js.map +1 -0
- package/dist/ui/server/entries/pages/_layout.svelte.js +1 -2
- package/dist/ui/server/entries/pages/_layout.svelte.js.map +1 -1
- package/dist/ui/server/entries/pages/_page.svelte.js +0 -1
- package/dist/ui/server/entries/pages/_page.svelte.js.map +1 -1
- package/dist/ui/server/entries/pages/settings/_page.svelte.js +139 -13
- package/dist/ui/server/entries/pages/settings/_page.svelte.js.map +1 -1
- package/dist/ui/server/entries/pages/setup/_page.svelte.js +2 -3
- package/dist/ui/server/entries/pages/setup/_page.svelte.js.map +1 -1
- package/dist/ui/server/entries/pages/setup/instructions/_page.svelte.js +14 -9
- package/dist/ui/server/entries/pages/setup/instructions/_page.svelte.js.map +1 -1
- package/dist/ui/server/manifest-full.js +1 -1
- package/dist/ui/server/manifest.js +1 -1
- package/dist/ui/server/nodes/0.js +1 -1
- package/dist/ui/server/nodes/3.js +1 -1
- package/dist/ui/server/nodes/4.js +2 -2
- package/dist/ui/server/nodes/5.js +1 -1
- package/dist/ui/server/nodes/6.js +1 -1
- package/dist/ui/server/server.js +1 -1
- package/package.json +1 -1
- package/dist/ui/client/ui/_app/immutable/assets/4.DyY1vjRV.css.br +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/4.DyY1vjRV.css.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/BfHif6xP.js +0 -2
- package/dist/ui/client/ui/_app/immutable/chunks/BfHif6xP.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/BfHif6xP.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/BrPqgVT6.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/BrPqgVT6.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/C7D7xLuA.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/C7D7xLuA.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/Cc902J0D.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/Cc902J0D.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/D9JU-e3z.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/D9JU-e3z.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/KD5R77Wj.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/KD5R77Wj.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/PzCUpBms.js +0 -3
- package/dist/ui/client/ui/_app/immutable/chunks/PzCUpBms.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/PzCUpBms.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/Roub4aju.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/Roub4aju.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/ux9AxWa3.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/ux9AxWa3.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/entry/app.DM2PRoLw.js +0 -2
- package/dist/ui/client/ui/_app/immutable/entry/app.DM2PRoLw.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/entry/app.DM2PRoLw.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/0.fKLM0nQo.js +0 -1
- package/dist/ui/client/ui/_app/immutable/nodes/0.fKLM0nQo.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/0.fKLM0nQo.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/3.CywuMQ0y.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/3.CywuMQ0y.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/4.BYvsTY13.js +0 -160
- package/dist/ui/client/ui/_app/immutable/nodes/4.BYvsTY13.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/4.BYvsTY13.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/5.xWNFTFjr.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/5.xWNFTFjr.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/6.Dnf8S10l.js +0 -6
- package/dist/ui/client/ui/_app/immutable/nodes/6.Dnf8S10l.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/6.Dnf8S10l.js.gz +0 -0
- package/dist/ui/server/chunks/filled-button.js +0 -116
- package/dist/ui/server/chunks/filled-button.js.map +0 -1
- package/dist/ui/server/chunks/icon.js +0 -49
- package/dist/ui/server/chunks/icon.js.map +0 -1
|
@@ -212,7 +212,7 @@ function server_data_serializer(event, state) {
|
|
|
212
212
|
let promise_id = 1;
|
|
213
213
|
let max_nodes = -1;
|
|
214
214
|
const iterator = create_async_iterator();
|
|
215
|
-
const global = "
|
|
215
|
+
const global = "__sveltekit_1qfdq1i";
|
|
216
216
|
/** @param {number} index */
|
|
217
217
|
function get_replacer(index) {
|
|
218
218
|
/** @param {any} thing */
|
|
@@ -1485,7 +1485,7 @@ async function render_response({ branch, fetched, page_config, status, error = n
|
|
|
1485
1485
|
"crossorigin"
|
|
1486
1486
|
]);
|
|
1487
1487
|
}
|
|
1488
|
-
const global = "
|
|
1488
|
+
const global = "__sveltekit_1qfdq1i";
|
|
1489
1489
|
const { data, chunks } = data_serializer.get_data(csp);
|
|
1490
1490
|
if (page_config.ssr && page_config.csr) body += `\n\t\t\t${fetched.map((item) => serialize_data(item, resolve_opts.filterSerializedResponseHeaders, is_prerendering(state))).join("\n ")}`;
|
|
1491
1491
|
if (page_config.csr && client) {
|
|
@@ -1509,7 +1509,7 @@ async function render_response({ branch, fetched, page_config, status, error = n
|
|
|
1509
1509
|
}
|
|
1510
1510
|
}
|
|
1511
1511
|
const blocks = [];
|
|
1512
|
-
const properties = [`base: ${base_expression}`, `version: ${s("
|
|
1512
|
+
const properties = [`base: ${base_expression}`, `version: ${s("1796326031249")}`];
|
|
1513
1513
|
if (assets) properties.push(`assets: ${s(assets)}`);
|
|
1514
1514
|
if (client.uses_env_dynamic_public) properties.push(`env: ${load_env_eagerly ? "null" : uneval(rendered_env)}`);
|
|
1515
1515
|
if (chunks) {
|
|
@@ -2679,7 +2679,7 @@ function is_prerendering(state) {
|
|
|
2679
2679
|
* @param {Response} response
|
|
2680
2680
|
*/
|
|
2681
2681
|
function with_version_header(response) {
|
|
2682
|
-
response.headers.set("x-sveltekit-version", "
|
|
2682
|
+
response.headers.set("x-sveltekit-version", "1796326031249");
|
|
2683
2683
|
return response;
|
|
2684
2684
|
}
|
|
2685
2685
|
/**
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { G as t, I as T, K as __decorate, W as i } from "./composition.js";
|
|
2
|
+
import { n as Button, t as styles$2 } from "./text-button.js";
|
|
3
|
+
import { n as styles$3 } from "./redispatch-event.js";
|
|
4
|
+
// ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/button/internal/filled-button.js
|
|
5
|
+
/**
|
|
6
|
+
* @license
|
|
7
|
+
* Copyright 2021 Google LLC
|
|
8
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* A filled button component.
|
|
12
|
+
*/
|
|
13
|
+
var FilledButton = class extends Button {
|
|
14
|
+
renderElevationOrOutline() {
|
|
15
|
+
return T`<md-elevation part="elevation"></md-elevation>`;
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
// ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/button/internal/filled-styles.cssresult.js
|
|
19
|
+
/**
|
|
20
|
+
* @license
|
|
21
|
+
* Copyright 2026 Google LLC
|
|
22
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
23
|
+
*/
|
|
24
|
+
var styles$1 = i`:host{--_container-color: var(--md-filled-button-container-color, var(--md-sys-color-primary, #6750a4));--_container-elevation: var(--md-filled-button-container-elevation, 0);--_container-height: var(--md-filled-button-container-height, 40px);--_container-shadow-color: var(--md-filled-button-container-shadow-color, var(--md-sys-color-shadow, #000));--_disabled-container-color: var(--md-filled-button-disabled-container-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-container-elevation: var(--md-filled-button-disabled-container-elevation, 0);--_disabled-container-opacity: var(--md-filled-button-disabled-container-opacity, 0.12);--_disabled-label-text-color: var(--md-filled-button-disabled-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-label-text-opacity: var(--md-filled-button-disabled-label-text-opacity, 0.38);--_focus-container-elevation: var(--md-filled-button-focus-container-elevation, 0);--_focus-label-text-color: var(--md-filled-button-focus-label-text-color, var(--md-sys-color-on-primary, #fff));--_hover-container-elevation: var(--md-filled-button-hover-container-elevation, 1);--_hover-label-text-color: var(--md-filled-button-hover-label-text-color, var(--md-sys-color-on-primary, #fff));--_hover-state-layer-color: var(--md-filled-button-hover-state-layer-color, var(--md-sys-color-on-primary, #fff));--_hover-state-layer-opacity: var(--md-filled-button-hover-state-layer-opacity, 0.08);--_label-text-color: var(--md-filled-button-label-text-color, var(--md-sys-color-on-primary, #fff));--_label-text-font: var(--md-filled-button-label-text-font, var(--md-sys-typescale-label-large-font, var(--md-ref-typeface-plain, Roboto)));--_label-text-line-height: var(--md-filled-button-label-text-line-height, var(--md-sys-typescale-label-large-line-height, 1.25rem));--_label-text-size: var(--md-filled-button-label-text-size, var(--md-sys-typescale-label-large-size, 0.875rem));--_label-text-weight: var(--md-filled-button-label-text-weight, var(--md-sys-typescale-label-large-weight, var(--md-ref-typeface-weight-medium, 500)));--_pressed-container-elevation: var(--md-filled-button-pressed-container-elevation, 0);--_pressed-label-text-color: var(--md-filled-button-pressed-label-text-color, var(--md-sys-color-on-primary, #fff));--_pressed-state-layer-color: var(--md-filled-button-pressed-state-layer-color, var(--md-sys-color-on-primary, #fff));--_pressed-state-layer-opacity: var(--md-filled-button-pressed-state-layer-opacity, 0.12);--_disabled-icon-color: var(--md-filled-button-disabled-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-icon-opacity: var(--md-filled-button-disabled-icon-opacity, 0.38);--_focus-icon-color: var(--md-filled-button-focus-icon-color, var(--md-sys-color-on-primary, #fff));--_hover-icon-color: var(--md-filled-button-hover-icon-color, var(--md-sys-color-on-primary, #fff));--_icon-color: var(--md-filled-button-icon-color, var(--md-sys-color-on-primary, #fff));--_icon-size: var(--md-filled-button-icon-size, 18px);--_pressed-icon-color: var(--md-filled-button-pressed-icon-color, var(--md-sys-color-on-primary, #fff));--_container-shape-start-start: var(--md-filled-button-container-shape-start-start, var(--md-filled-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-start-end: var(--md-filled-button-container-shape-start-end, var(--md-filled-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-end-end: var(--md-filled-button-container-shape-end-end, var(--md-filled-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-end-start: var(--md-filled-button-container-shape-end-start, var(--md-filled-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_leading-space: var(--md-filled-button-leading-space, 24px);--_trailing-space: var(--md-filled-button-trailing-space, 24px);--_with-leading-icon-leading-space: var(--md-filled-button-with-leading-icon-leading-space, 16px);--_with-leading-icon-trailing-space: var(--md-filled-button-with-leading-icon-trailing-space, 24px);--_with-trailing-icon-leading-space: var(--md-filled-button-with-trailing-icon-leading-space, 24px);--_with-trailing-icon-trailing-space: var(--md-filled-button-with-trailing-icon-trailing-space, 16px)}
|
|
25
|
+
`;
|
|
26
|
+
styles$1.styleSheet;
|
|
27
|
+
// ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/button/filled-button.js
|
|
28
|
+
/**
|
|
29
|
+
* @license
|
|
30
|
+
* Copyright 2021 Google LLC
|
|
31
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
32
|
+
*/
|
|
33
|
+
/**
|
|
34
|
+
* @summary Buttons help people take action, such as sending an email, sharing a
|
|
35
|
+
* document, or liking a comment.
|
|
36
|
+
*
|
|
37
|
+
* @description
|
|
38
|
+
* __Emphasis:__ High emphasis – For the primary, most important, or most common
|
|
39
|
+
* action on a screen
|
|
40
|
+
*
|
|
41
|
+
* __Rationale:__ The filled button’s contrasting surface color makes it the
|
|
42
|
+
* most prominent button after the FAB. It’s used for final or unblocking
|
|
43
|
+
* actions in a flow.
|
|
44
|
+
*
|
|
45
|
+
* __Example usages:__
|
|
46
|
+
* - Save
|
|
47
|
+
* - Confirm
|
|
48
|
+
* - Done
|
|
49
|
+
*
|
|
50
|
+
* @final
|
|
51
|
+
* @suppress {visibility}
|
|
52
|
+
*/
|
|
53
|
+
var MdFilledButton = class MdFilledButton extends FilledButton {};
|
|
54
|
+
MdFilledButton.styles = [
|
|
55
|
+
styles$2,
|
|
56
|
+
styles$3,
|
|
57
|
+
styles$1
|
|
58
|
+
];
|
|
59
|
+
MdFilledButton = __decorate([t("md-filled-button")], MdFilledButton);
|
|
60
|
+
// ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/button/internal/outlined-button.js
|
|
61
|
+
/**
|
|
62
|
+
* @license
|
|
63
|
+
* Copyright 2021 Google LLC
|
|
64
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
65
|
+
*/
|
|
66
|
+
/**
|
|
67
|
+
* An outlined button component.
|
|
68
|
+
*/
|
|
69
|
+
var OutlinedButton = class extends Button {
|
|
70
|
+
renderElevationOrOutline() {
|
|
71
|
+
return T`<div class="outline"></div>`;
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
// ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/button/internal/outlined-styles.cssresult.js
|
|
75
|
+
/**
|
|
76
|
+
* @license
|
|
77
|
+
* Copyright 2026 Google LLC
|
|
78
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
79
|
+
*/
|
|
80
|
+
var styles = i`:host{--_container-height: var(--md-outlined-button-container-height, 40px);--_disabled-label-text-color: var(--md-outlined-button-disabled-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-label-text-opacity: var(--md-outlined-button-disabled-label-text-opacity, 0.38);--_disabled-outline-color: var(--md-outlined-button-disabled-outline-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-outline-opacity: var(--md-outlined-button-disabled-outline-opacity, 0.12);--_focus-label-text-color: var(--md-outlined-button-focus-label-text-color, var(--md-sys-color-primary, #6750a4));--_hover-label-text-color: var(--md-outlined-button-hover-label-text-color, var(--md-sys-color-primary, #6750a4));--_hover-state-layer-color: var(--md-outlined-button-hover-state-layer-color, var(--md-sys-color-primary, #6750a4));--_hover-state-layer-opacity: var(--md-outlined-button-hover-state-layer-opacity, 0.08);--_label-text-color: var(--md-outlined-button-label-text-color, var(--md-sys-color-primary, #6750a4));--_label-text-font: var(--md-outlined-button-label-text-font, var(--md-sys-typescale-label-large-font, var(--md-ref-typeface-plain, Roboto)));--_label-text-line-height: var(--md-outlined-button-label-text-line-height, var(--md-sys-typescale-label-large-line-height, 1.25rem));--_label-text-size: var(--md-outlined-button-label-text-size, var(--md-sys-typescale-label-large-size, 0.875rem));--_label-text-weight: var(--md-outlined-button-label-text-weight, var(--md-sys-typescale-label-large-weight, var(--md-ref-typeface-weight-medium, 500)));--_outline-color: var(--md-outlined-button-outline-color, var(--md-sys-color-outline, #79747e));--_outline-width: var(--md-outlined-button-outline-width, 1px);--_pressed-label-text-color: var(--md-outlined-button-pressed-label-text-color, var(--md-sys-color-primary, #6750a4));--_pressed-outline-color: var(--md-outlined-button-pressed-outline-color, var(--md-sys-color-outline, #79747e));--_pressed-state-layer-color: var(--md-outlined-button-pressed-state-layer-color, var(--md-sys-color-primary, #6750a4));--_pressed-state-layer-opacity: var(--md-outlined-button-pressed-state-layer-opacity, 0.12);--_disabled-icon-color: var(--md-outlined-button-disabled-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-icon-opacity: var(--md-outlined-button-disabled-icon-opacity, 0.38);--_focus-icon-color: var(--md-outlined-button-focus-icon-color, var(--md-sys-color-primary, #6750a4));--_hover-icon-color: var(--md-outlined-button-hover-icon-color, var(--md-sys-color-primary, #6750a4));--_icon-color: var(--md-outlined-button-icon-color, var(--md-sys-color-primary, #6750a4));--_icon-size: var(--md-outlined-button-icon-size, 18px);--_pressed-icon-color: var(--md-outlined-button-pressed-icon-color, var(--md-sys-color-primary, #6750a4));--_container-shape-start-start: var(--md-outlined-button-container-shape-start-start, var(--md-outlined-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-start-end: var(--md-outlined-button-container-shape-start-end, var(--md-outlined-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-end-end: var(--md-outlined-button-container-shape-end-end, var(--md-outlined-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-end-start: var(--md-outlined-button-container-shape-end-start, var(--md-outlined-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_leading-space: var(--md-outlined-button-leading-space, 24px);--_trailing-space: var(--md-outlined-button-trailing-space, 24px);--_with-leading-icon-leading-space: var(--md-outlined-button-with-leading-icon-leading-space, 16px);--_with-leading-icon-trailing-space: var(--md-outlined-button-with-leading-icon-trailing-space, 24px);--_with-trailing-icon-leading-space: var(--md-outlined-button-with-trailing-icon-leading-space, 24px);--_with-trailing-icon-trailing-space: var(--md-outlined-button-with-trailing-icon-trailing-space, 16px);--_container-color: none;--_disabled-container-color: none;--_disabled-container-opacity: 0}.outline{inset:0;border-style:solid;position:absolute;box-sizing:border-box;border-color:var(--_outline-color);border-start-start-radius:var(--_container-shape-start-start);border-start-end-radius:var(--_container-shape-start-end);border-end-start-radius:var(--_container-shape-end-start);border-end-end-radius:var(--_container-shape-end-end)}:host(:active) .outline{border-color:var(--_pressed-outline-color)}:host(:is([disabled],[soft-disabled])) .outline{border-color:var(--_disabled-outline-color);opacity:var(--_disabled-outline-opacity)}@media(forced-colors: active){:host(:is([disabled],[soft-disabled])) .background{border-color:GrayText}:host(:is([disabled],[soft-disabled])) .outline{opacity:1}}.outline,md-ripple{border-width:var(--_outline-width)}md-ripple{inline-size:calc(100% - 2*var(--_outline-width));block-size:calc(100% - 2*var(--_outline-width));border-style:solid;border-color:rgba(0,0,0,0)}
|
|
81
|
+
`;
|
|
82
|
+
styles.styleSheet;
|
|
83
|
+
// ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/button/outlined-button.js
|
|
84
|
+
/**
|
|
85
|
+
* @license
|
|
86
|
+
* Copyright 2021 Google LLC
|
|
87
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
88
|
+
*/
|
|
89
|
+
/**
|
|
90
|
+
* @summary Buttons help people take action, such as sending an email, sharing a
|
|
91
|
+
* document, or liking a comment.
|
|
92
|
+
*
|
|
93
|
+
* @description
|
|
94
|
+
* __Emphasis:__ Medium emphasis – For important actions that don’t distract
|
|
95
|
+
* from other onscreen elements.
|
|
96
|
+
*
|
|
97
|
+
* __Rationale:__ Use an outlined button for actions that need attention but
|
|
98
|
+
* aren’t the primary action, such as “See all” or “Add to cart.” This is also
|
|
99
|
+
* the button to use for giving someone the opportunity to change their mind or
|
|
100
|
+
* escape a flow.
|
|
101
|
+
*
|
|
102
|
+
* __Example usages:__
|
|
103
|
+
* - Reply
|
|
104
|
+
* - View all
|
|
105
|
+
* - Add to cart
|
|
106
|
+
* - Take out of trash
|
|
107
|
+
*
|
|
108
|
+
* @final
|
|
109
|
+
* @suppress {visibility}
|
|
110
|
+
*/
|
|
111
|
+
var MdOutlinedButton = class MdOutlinedButton extends OutlinedButton {};
|
|
112
|
+
MdOutlinedButton.styles = [styles$2, styles];
|
|
113
|
+
MdOutlinedButton = __decorate([t("md-outlined-button")], MdOutlinedButton);
|
|
114
|
+
export {};
|
|
115
|
+
|
|
116
|
+
//# sourceMappingURL=outlined-button.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"outlined-button.js","names":["html","styles","css","sharedStyles","sharedElevationStyles","filledStyles","customElement","html","css","sharedStyles","outlinedStyles","customElement"],"sources":["../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/button/internal/filled-button.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/button/internal/filled-styles.cssresult.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/button/filled-button.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/button/internal/outlined-button.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/button/internal/outlined-styles.cssresult.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/button/outlined-button.js"],"sourcesContent":["/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport '../../elevation/elevation.js';\nimport { html } from 'lit';\nimport { Button } from './button.js';\n/**\n * A filled button component.\n */\nexport class FilledButton extends Button {\n renderElevationOrOutline() {\n return html `<md-elevation part=\"elevation\"></md-elevation>`;\n }\n}\n//# sourceMappingURL=filled-button.js.map","/**\n * @license\n * Copyright 2026 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n// Generated stylesheet for ./button/internal/filled-styles.css.\nimport { css } from 'lit';\nexport const styles = css `:host{--_container-color: var(--md-filled-button-container-color, var(--md-sys-color-primary, #6750a4));--_container-elevation: var(--md-filled-button-container-elevation, 0);--_container-height: var(--md-filled-button-container-height, 40px);--_container-shadow-color: var(--md-filled-button-container-shadow-color, var(--md-sys-color-shadow, #000));--_disabled-container-color: var(--md-filled-button-disabled-container-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-container-elevation: var(--md-filled-button-disabled-container-elevation, 0);--_disabled-container-opacity: var(--md-filled-button-disabled-container-opacity, 0.12);--_disabled-label-text-color: var(--md-filled-button-disabled-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-label-text-opacity: var(--md-filled-button-disabled-label-text-opacity, 0.38);--_focus-container-elevation: var(--md-filled-button-focus-container-elevation, 0);--_focus-label-text-color: var(--md-filled-button-focus-label-text-color, var(--md-sys-color-on-primary, #fff));--_hover-container-elevation: var(--md-filled-button-hover-container-elevation, 1);--_hover-label-text-color: var(--md-filled-button-hover-label-text-color, var(--md-sys-color-on-primary, #fff));--_hover-state-layer-color: var(--md-filled-button-hover-state-layer-color, var(--md-sys-color-on-primary, #fff));--_hover-state-layer-opacity: var(--md-filled-button-hover-state-layer-opacity, 0.08);--_label-text-color: var(--md-filled-button-label-text-color, var(--md-sys-color-on-primary, #fff));--_label-text-font: var(--md-filled-button-label-text-font, var(--md-sys-typescale-label-large-font, var(--md-ref-typeface-plain, Roboto)));--_label-text-line-height: var(--md-filled-button-label-text-line-height, var(--md-sys-typescale-label-large-line-height, 1.25rem));--_label-text-size: var(--md-filled-button-label-text-size, var(--md-sys-typescale-label-large-size, 0.875rem));--_label-text-weight: var(--md-filled-button-label-text-weight, var(--md-sys-typescale-label-large-weight, var(--md-ref-typeface-weight-medium, 500)));--_pressed-container-elevation: var(--md-filled-button-pressed-container-elevation, 0);--_pressed-label-text-color: var(--md-filled-button-pressed-label-text-color, var(--md-sys-color-on-primary, #fff));--_pressed-state-layer-color: var(--md-filled-button-pressed-state-layer-color, var(--md-sys-color-on-primary, #fff));--_pressed-state-layer-opacity: var(--md-filled-button-pressed-state-layer-opacity, 0.12);--_disabled-icon-color: var(--md-filled-button-disabled-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-icon-opacity: var(--md-filled-button-disabled-icon-opacity, 0.38);--_focus-icon-color: var(--md-filled-button-focus-icon-color, var(--md-sys-color-on-primary, #fff));--_hover-icon-color: var(--md-filled-button-hover-icon-color, var(--md-sys-color-on-primary, #fff));--_icon-color: var(--md-filled-button-icon-color, var(--md-sys-color-on-primary, #fff));--_icon-size: var(--md-filled-button-icon-size, 18px);--_pressed-icon-color: var(--md-filled-button-pressed-icon-color, var(--md-sys-color-on-primary, #fff));--_container-shape-start-start: var(--md-filled-button-container-shape-start-start, var(--md-filled-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-start-end: var(--md-filled-button-container-shape-start-end, var(--md-filled-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-end-end: var(--md-filled-button-container-shape-end-end, var(--md-filled-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-end-start: var(--md-filled-button-container-shape-end-start, var(--md-filled-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_leading-space: var(--md-filled-button-leading-space, 24px);--_trailing-space: var(--md-filled-button-trailing-space, 24px);--_with-leading-icon-leading-space: var(--md-filled-button-with-leading-icon-leading-space, 16px);--_with-leading-icon-trailing-space: var(--md-filled-button-with-leading-icon-trailing-space, 24px);--_with-trailing-icon-leading-space: var(--md-filled-button-with-trailing-icon-leading-space, 24px);--_with-trailing-icon-trailing-space: var(--md-filled-button-with-trailing-icon-trailing-space, 16px)}\n`;\nexport default styles.styleSheet;\n//# sourceMappingURL=filled-styles.cssresult.js.map","/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { __decorate } from \"tslib\";\nimport { customElement } from 'lit/decorators.js';\nimport { FilledButton } from './internal/filled-button.js';\nimport { styles as filledStyles } from './internal/filled-styles.cssresult.js';\nimport { styles as sharedElevationStyles } from './internal/shared-elevation-styles.cssresult.js';\nimport { styles as sharedStyles } from './internal/shared-styles.cssresult.js';\n/**\n * @summary Buttons help people take action, such as sending an email, sharing a\n * document, or liking a comment.\n *\n * @description\n * __Emphasis:__ High emphasis – For the primary, most important, or most common\n * action on a screen\n *\n * __Rationale:__ The filled button’s contrasting surface color makes it the\n * most prominent button after the FAB. It’s used for final or unblocking\n * actions in a flow.\n *\n * __Example usages:__\n * - Save\n * - Confirm\n * - Done\n *\n * @final\n * @suppress {visibility}\n */\nlet MdFilledButton = class MdFilledButton extends FilledButton {\n};\nMdFilledButton.styles = [\n sharedStyles,\n sharedElevationStyles,\n filledStyles,\n];\nMdFilledButton = __decorate([\n customElement('md-filled-button')\n], MdFilledButton);\nexport { MdFilledButton };\n//# sourceMappingURL=filled-button.js.map","/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { html } from 'lit';\nimport { Button } from './button.js';\n/**\n * An outlined button component.\n */\nexport class OutlinedButton extends Button {\n renderElevationOrOutline() {\n return html `<div class=\"outline\"></div>`;\n }\n}\n//# sourceMappingURL=outlined-button.js.map","/**\n * @license\n * Copyright 2026 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n// Generated stylesheet for ./button/internal/outlined-styles.css.\nimport { css } from 'lit';\nexport const styles = css `:host{--_container-height: var(--md-outlined-button-container-height, 40px);--_disabled-label-text-color: var(--md-outlined-button-disabled-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-label-text-opacity: var(--md-outlined-button-disabled-label-text-opacity, 0.38);--_disabled-outline-color: var(--md-outlined-button-disabled-outline-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-outline-opacity: var(--md-outlined-button-disabled-outline-opacity, 0.12);--_focus-label-text-color: var(--md-outlined-button-focus-label-text-color, var(--md-sys-color-primary, #6750a4));--_hover-label-text-color: var(--md-outlined-button-hover-label-text-color, var(--md-sys-color-primary, #6750a4));--_hover-state-layer-color: var(--md-outlined-button-hover-state-layer-color, var(--md-sys-color-primary, #6750a4));--_hover-state-layer-opacity: var(--md-outlined-button-hover-state-layer-opacity, 0.08);--_label-text-color: var(--md-outlined-button-label-text-color, var(--md-sys-color-primary, #6750a4));--_label-text-font: var(--md-outlined-button-label-text-font, var(--md-sys-typescale-label-large-font, var(--md-ref-typeface-plain, Roboto)));--_label-text-line-height: var(--md-outlined-button-label-text-line-height, var(--md-sys-typescale-label-large-line-height, 1.25rem));--_label-text-size: var(--md-outlined-button-label-text-size, var(--md-sys-typescale-label-large-size, 0.875rem));--_label-text-weight: var(--md-outlined-button-label-text-weight, var(--md-sys-typescale-label-large-weight, var(--md-ref-typeface-weight-medium, 500)));--_outline-color: var(--md-outlined-button-outline-color, var(--md-sys-color-outline, #79747e));--_outline-width: var(--md-outlined-button-outline-width, 1px);--_pressed-label-text-color: var(--md-outlined-button-pressed-label-text-color, var(--md-sys-color-primary, #6750a4));--_pressed-outline-color: var(--md-outlined-button-pressed-outline-color, var(--md-sys-color-outline, #79747e));--_pressed-state-layer-color: var(--md-outlined-button-pressed-state-layer-color, var(--md-sys-color-primary, #6750a4));--_pressed-state-layer-opacity: var(--md-outlined-button-pressed-state-layer-opacity, 0.12);--_disabled-icon-color: var(--md-outlined-button-disabled-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-icon-opacity: var(--md-outlined-button-disabled-icon-opacity, 0.38);--_focus-icon-color: var(--md-outlined-button-focus-icon-color, var(--md-sys-color-primary, #6750a4));--_hover-icon-color: var(--md-outlined-button-hover-icon-color, var(--md-sys-color-primary, #6750a4));--_icon-color: var(--md-outlined-button-icon-color, var(--md-sys-color-primary, #6750a4));--_icon-size: var(--md-outlined-button-icon-size, 18px);--_pressed-icon-color: var(--md-outlined-button-pressed-icon-color, var(--md-sys-color-primary, #6750a4));--_container-shape-start-start: var(--md-outlined-button-container-shape-start-start, var(--md-outlined-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-start-end: var(--md-outlined-button-container-shape-start-end, var(--md-outlined-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-end-end: var(--md-outlined-button-container-shape-end-end, var(--md-outlined-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-end-start: var(--md-outlined-button-container-shape-end-start, var(--md-outlined-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_leading-space: var(--md-outlined-button-leading-space, 24px);--_trailing-space: var(--md-outlined-button-trailing-space, 24px);--_with-leading-icon-leading-space: var(--md-outlined-button-with-leading-icon-leading-space, 16px);--_with-leading-icon-trailing-space: var(--md-outlined-button-with-leading-icon-trailing-space, 24px);--_with-trailing-icon-leading-space: var(--md-outlined-button-with-trailing-icon-leading-space, 24px);--_with-trailing-icon-trailing-space: var(--md-outlined-button-with-trailing-icon-trailing-space, 16px);--_container-color: none;--_disabled-container-color: none;--_disabled-container-opacity: 0}.outline{inset:0;border-style:solid;position:absolute;box-sizing:border-box;border-color:var(--_outline-color);border-start-start-radius:var(--_container-shape-start-start);border-start-end-radius:var(--_container-shape-start-end);border-end-start-radius:var(--_container-shape-end-start);border-end-end-radius:var(--_container-shape-end-end)}:host(:active) .outline{border-color:var(--_pressed-outline-color)}:host(:is([disabled],[soft-disabled])) .outline{border-color:var(--_disabled-outline-color);opacity:var(--_disabled-outline-opacity)}@media(forced-colors: active){:host(:is([disabled],[soft-disabled])) .background{border-color:GrayText}:host(:is([disabled],[soft-disabled])) .outline{opacity:1}}.outline,md-ripple{border-width:var(--_outline-width)}md-ripple{inline-size:calc(100% - 2*var(--_outline-width));block-size:calc(100% - 2*var(--_outline-width));border-style:solid;border-color:rgba(0,0,0,0)}\n`;\nexport default styles.styleSheet;\n//# sourceMappingURL=outlined-styles.cssresult.js.map","/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { __decorate } from \"tslib\";\nimport { customElement } from 'lit/decorators.js';\nimport { OutlinedButton } from './internal/outlined-button.js';\nimport { styles as outlinedStyles } from './internal/outlined-styles.cssresult.js';\nimport { styles as sharedStyles } from './internal/shared-styles.cssresult.js';\n/**\n * @summary Buttons help people take action, such as sending an email, sharing a\n * document, or liking a comment.\n *\n * @description\n * __Emphasis:__ Medium emphasis – For important actions that don’t distract\n * from other onscreen elements.\n *\n * __Rationale:__ Use an outlined button for actions that need attention but\n * aren’t the primary action, such as “See all” or “Add to cart.” This is also\n * the button to use for giving someone the opportunity to change their mind or\n * escape a flow.\n *\n * __Example usages:__\n * - Reply\n * - View all\n * - Add to cart\n * - Take out of trash\n *\n * @final\n * @suppress {visibility}\n */\nlet MdOutlinedButton = class MdOutlinedButton extends OutlinedButton {\n};\nMdOutlinedButton.styles = [sharedStyles, outlinedStyles];\nMdOutlinedButton = __decorate([\n customElement('md-outlined-button')\n], MdOutlinedButton);\nexport { MdOutlinedButton };\n//# sourceMappingURL=outlined-button.js.map"],"ignoreList":[0,1,2,3,4,5],"mappings":";;;;;;;;;;;;AAWA,IAAa,eAAb,cAAkC,OAAO;CACrC,2BAA2B;EACvB,OAAOA,CAAK;CAChB;AACJ;;;;;;;ACRA,IAAaC,WAASC,CAAI;;AAEXD,SAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;ACsBtB,IAAI,iBAAiB,MAAM,uBAAuB,aAAa,CAC/D;AACA,eAAe,SAAS;CACpBE;CACAC;CACAC;AACJ;AACA,iBAAiB,WAAW,CACxBC,EAAc,kBAAkB,CACpC,GAAG,cAAc;;;;;;;;;;AC9BjB,IAAa,iBAAb,cAAoC,OAAO;CACvC,2BAA2B;EACvB,OAAOC,CAAK;CAChB;AACJ;;;;;;;ACPA,IAAa,SAASC,CAAI;;AAEX,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACuBtB,IAAI,mBAAmB,MAAM,yBAAyB,eAAe,CACrE;AACA,iBAAiB,SAAS,CAACC,UAAcC,MAAc;AACvD,mBAAmB,WAAW,CAC1BC,EAAc,oBAAoB,CACtC,GAAG,gBAAgB"}
|
|
@@ -3,9 +3,8 @@ import { a as head, c as stringify, d as attr, f as clsx, h as escape_html, i as
|
|
|
3
3
|
import "../../chunks/index-server.js";
|
|
4
4
|
import "../../chunks/paths.js";
|
|
5
5
|
import { t as page } from "../../chunks/state.js";
|
|
6
|
-
import "../../chunks/icon.js";
|
|
7
|
-
import "../../chunks/icon-button.js";
|
|
8
6
|
import { n as provideAppStores, t as appStores } from "../../chunks/composition.js";
|
|
7
|
+
import "../../chunks/icon-button.js";
|
|
9
8
|
import { t as isCurrent } from "../../chunks/navigation.js";
|
|
10
9
|
// src/lib/assets/favicon.svg
|
|
11
10
|
var favicon_default = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='44'%20height='44'%20viewBox='0%200%2044%2044'%3e%3ctitle%3eSpeech%20Capture%3c/title%3e%3crect%20width='44'%20height='44'%20rx='14'%20fill='%23415f91'/%3e%3cpath%20d='M4%2010v4M8%206v12M12%203v18M16%208v8M20%2011v2'%20transform='translate(10%2010)'%20fill='none'%20stroke='%23fff'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_layout.svelte.js","names":["$.ensure_array_like","$.attr_class","$.clsx","$.attr","$.stringify","$.escape","$.attr_class","$.derived","onMount","$.escape","$.props_id","$.ensure_array_like","$.attr","$.attr_class","$.escape","onMount","$.attr","favicon","iconFont"],"sources":["../../../../src/lib/assets/favicon.svg","../../../../../../node_modules/.pnpm/@fontsource+material-symbols-outlined@5.3.9/node_modules/@fontsource/material-symbols-outlined/files/material-symbols-outlined-latin-400-normal.woff2?url","../../../../src/lib/components/StatusChips/StatusChips.svelte","../../../../src/lib/components/StatusRefresh/StatusRefresh.svelte","../../../../src/lib/adapters/icon-font.ts","../../../../src/lib/core/status.ts","../../../../src/lib/components/BridgeStatus/BridgeStatus.svelte","../../../../src/lib/components/AppHeader/AppHeader.svelte","../../../../src/lib/components/NavRail/NavRail.svelte","../../../../src/routes/+layout.svelte"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='44'%20height='44'%20viewBox='0%200%2044%2044'%3e%3ctitle%3eSpeech%20Capture%3c/title%3e%3crect%20width='44'%20height='44'%20rx='14'%20fill='%23415f91'/%3e%3cpath%20d='M4%2010v4M8%206v12M12%203v18M16%208v8M20%2011v2'%20transform='translate(10%2010)'%20fill='none'%20stroke='%23fff'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\"","export default import.meta.ROLLDOWN_FILE_URL_l8JNr3EuSZUlWjWYrZY85w","<script lang=\"ts\">\n import type { Chip } from '#lib/core/status.js';\n\n type Props = { chips: Chip[]; announcement: string };\n\n let { chips, announcement }: Props = $props();\n</script>\n\n{#if chips.length > 0}\n <ul aria-label=\"Bridge status\">\n {#each chips as chip (chip.id)}\n <li class={chip.tone} class:down={chip.down}>\n <!-- The tooltip sits on the hidden part, so it is never read next to the description. -->\n <span class=\"face\" title={chip.text} aria-hidden=\"true\">\n <span class=\"dot {chip.dot}\"></span>\n <span class=\"chip-label\">{chip.text}</span>\n </span>\n <!-- As text: screen readers can skip an `aria-label` on a list item. -->\n <span class=\"visually-hidden\">{chip.description}</span>\n </li>\n {/each}\n </ul>\n{/if}\n<!-- Only changes of a problem state speak; a refresh leaves this text as it is. -->\n<span class=\"visually-hidden\" role=\"status\">{announcement}</span>\n\n<style>\n ul {\n display: flex;\n flex-wrap: wrap;\n gap: 8px;\n margin: 0;\n padding: 0;\n list-style: none;\n }\n\n li {\n position: relative;\n display: inline-flex;\n height: 32px;\n border: 1px solid var(--md-sys-color-outline-variant);\n border-width: max(1px, var(--app-border-width));\n border-radius: 8px;\n background: var(--md-sys-color-surface-container-lowest, transparent);\n color: var(--md-sys-color-on-surface);\n font-family: var(--app-font-mono);\n font-size: var(--app-mono-size);\n white-space: nowrap;\n }\n\n li.ok {\n --dot: var(--app-success);\n }\n li.warning {\n --dot: var(--app-warning);\n background: var(--app-warning-container);\n color: var(--app-on-warning-container);\n border-color: var(--app-warning);\n }\n li.error {\n --dot: var(--md-sys-color-error);\n background: var(--md-sys-color-error-container);\n color: var(--md-sys-color-on-error-container);\n border-color: var(--md-sys-color-error);\n }\n li.neutral {\n --dot: var(--md-sys-color-outline);\n color: var(--md-sys-color-on-surface-variant);\n }\n\n li.down {\n --dot: var(--md-sys-color-error);\n }\n\n /* Fills the chip, so the tooltip shows wherever the pointer is on it. */\n .face {\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 0 12px;\n }\n\n .dot {\n box-sizing: border-box;\n width: 8px;\n height: 8px;\n border-radius: 50%;\n background: var(--dot);\n border: 2px solid var(--dot);\n }\n .dot.hollow {\n background: transparent;\n }\n\n /* On a narrow screen only the dot stays; the hidden description still says what it is. */\n @media (width < 800px) {\n .chip-label {\n display: none;\n }\n }\n</style>\n","<script lang=\"ts\">\n import '@material/web/icon/icon.js';\n import '@material/web/iconbutton/icon-button.js';\n\n type Props = { loading: boolean; onRetry: () => void };\n\n let { loading, onRetry }: Props = $props();\n</script>\n\n<!-- svelte-ignore a11y_click_events_have_key_events, a11y_no_static_element_interactions -->\n<!-- md-icon-button wraps a real <button> in its shadow DOM, which handles keys and role. -->\n<md-icon-button title=\"Refresh status\" aria-label=\"Refresh status\" onclick={onRetry}>\n <md-icon class:spin={loading} aria-hidden=\"true\">refresh</md-icon>\n</md-icon-button>\n\n<style>\n md-icon-button {\n --md-icon-button-icon-color: var(--md-sys-color-on-surface-variant);\n --md-icon-button-hover-icon-color: var(--md-sys-color-on-surface);\n --md-icon-button-focus-icon-color: var(--md-sys-color-on-surface);\n }\n\n .spin {\n animation: spin 0.8s linear infinite;\n }\n\n @keyframes spin {\n to {\n transform: rotate(360deg);\n }\n }\n\n @media (prefers-reduced-motion: reduce) {\n .spin {\n animation: none;\n }\n }\n</style>\n","const ICON_FONT = '24px \"Material Symbols Outlined\"';\n\n/**\n * Loads the icon font and then sets `data-icons-ready` on `<html>`, which ends the placeholder\n * shimmer in `global.css`. If loading fails the icons show anyway rather than shimmer forever.\n */\nexport async function markIconFontReady(): Promise<void> {\n try {\n await document.fonts.load(ICON_FONT);\n } catch {\n // fall through: show the icons\n }\n document.documentElement.setAttribute('data-icons-ready', '');\n}\n","import type { ServiceStatusDto, StatusDto } from '@screenreader-speech-capture/shared';\n\n/** Where the status comes from (the HTTP adapter asks the BFF, which asks the bridge). */\nexport interface StatusApi {\n fetch(): Promise<StatusDto>;\n}\n\nexport type ChipId = 'playwright' | 'mcp' | 'bridge';\nexport type ChipTone = 'ok' | 'error' | 'warning' | 'neutral';\n\nexport type Chip = {\n id: ChipId;\n /** What the chip shows. */\n text: string;\n tone: ChipTone;\n /** A hollow dot means \"nothing there yet\"; a filled one means \"there is state\". */\n dot: 'filled' | 'hollow';\n /** Spoken name of the state, so it is never colour alone. */\n description: string;\n /** Not connected or not ready: the dot is red while the chip itself stays neutral. */\n down?: boolean;\n};\n\n/**\n * Only what needs a look: a service that is not running (not enabled) has no chip, and the session\n * is the sessions pane's business. An unreachable bridge is a chip of its own.\n */\nexport function deriveChips(status: StatusDto | null, reachable: boolean): Chip[] {\n if (!reachable) {\n return [\n {\n id: 'bridge',\n text: 'Bridge unreachable',\n tone: 'error',\n dot: 'filled',\n description: 'Bridge unreachable',\n },\n ];\n }\n if (status === null) return [];\n return [\n serviceChip('playwright', 'Playwright', status.playwright),\n serviceChip('mcp', 'MCP', status.mcp),\n ].filter((chip): chip is Chip => chip !== null);\n}\n\nfunction serviceChip(id: ChipId, name: string, service: ServiceStatusDto): Chip | null {\n const base = `${name} ${service.version}`;\n switch (service.state) {\n case 'running':\n return { id, text: base, tone: 'ok', dot: 'filled', description: `${base}, running` };\n case 'crashed':\n case 'failed':\n return {\n id,\n text: `${base} · ${service.state}`,\n tone: 'warning',\n dot: 'filled',\n description: `${base}, ${service.state}`,\n };\n case 'starting':\n return {\n id,\n text: base,\n tone: 'neutral',\n dot: 'hollow',\n description: `${base}, starting`,\n down: true,\n };\n case 'stopped':\n return null;\n }\n}\n\n/**\n * The words a screen reader gets when the state changes. Empty while everything is fine, so the\n * regular refresh never speaks.\n */\nexport function announcement(chips: Chip[], reachable: boolean): string {\n if (!reachable) return 'Bridge unreachable.';\n return chips\n .filter((chip) => chip.tone === 'error' || chip.tone === 'warning')\n .map((chip) => `${chip.description}.`)\n .join(' ');\n}\n","<script lang=\"ts\">\n import { onMount } from 'svelte';\n import { page } from '$app/state';\n import StatusChips from '#lib/components/StatusChips/StatusChips.svelte';\n import StatusRefresh from '#lib/components/StatusRefresh/StatusRefresh.svelte';\n import { appStores } from '#lib/composition.js';\n import { announcement, deriveChips } from '#lib/core/status.js';\n import type { StatusDto } from '@screenreader-speech-capture/shared';\n\n const statusStore = appStores().status;\n\n // The status the server rendered (`+layout.server.ts`); it fills in until the store has its own.\n const seed = $derived(page.data.status as StatusDto | null);\n const status = $derived(statusStore.status ?? seed);\n const chips = $derived(deriveChips(status, statusStore.reachable));\n\n onMount(() => statusStore.init(seed));\n</script>\n\n<StatusChips {chips} announcement={announcement(chips, statusStore.reachable)} />\n<!-- Status is read once, so the retry only shows when there is something to recover from. -->\n{#if !statusStore.reachable}\n <StatusRefresh loading={statusStore.loading} onRetry={() => void statusStore.retry()} />\n{/if}\n","<script lang=\"ts\">\n import '@material/web/icon/icon.js';\n import '@material/web/iconbutton/icon-button.js';\n import BridgeStatus from '#lib/components/BridgeStatus/BridgeStatus.svelte';\n\n type Props = {\n host: string;\n };\n\n let { host }: Props = $props();\n</script>\n\n<header>\n <div class=\"logo-slot\">\n <div class=\"logo\">\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n aria-hidden=\"true\"\n >\n <path d=\"M4 10v4M8 6v12M12 3v18M16 8v8M20 11v2\" />\n </svg>\n </div>\n </div>\n <div class=\"title\">\n <span class=\"name\">Speech Capture</span>\n <span class=\"meta\">{host}</span>\n </div>\n <BridgeStatus />\n</header>\n\n<style>\n header {\n display: flex;\n align-items: center;\n gap: 12px 16px;\n min-height: 68px;\n padding: 10px 16px 10px 0;\n background: var(--md-sys-color-surface-container);\n color: var(--md-sys-color-on-surface);\n }\n\n /* As wide as the navigation rail, so the logo sits centered over it. */\n .logo-slot {\n display: flex;\n flex: none;\n align-items: center;\n justify-content: center;\n width: var(--app-rail-width);\n }\n\n .logo {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 44px;\n height: 44px;\n border-radius: 14px;\n background: var(--md-sys-color-primary);\n color: var(--md-sys-color-on-primary);\n }\n\n .title {\n display: flex;\n flex-direction: column;\n min-width: 0;\n margin-right: auto;\n }\n\n header {\n flex-wrap: wrap;\n }\n\n .name {\n font-family: var(--md-sys-typescale-title-large-font);\n font-size: var(--md-sys-typescale-title-large-size);\n line-height: var(--md-sys-typescale-title-large-line-height);\n font-weight: var(--md-ref-typeface-weight-medium);\n }\n\n .meta {\n font-family: var(--app-font-mono);\n font-size: var(--app-mono-size);\n line-height: var(--app-mono-line-height);\n color: var(--md-sys-color-on-surface-variant);\n }\n\n md-icon-button {\n --md-icon-button-icon-color: var(--md-sys-color-on-surface-variant);\n --md-icon-button-hover-icon-color: var(--md-sys-color-on-surface);\n --md-icon-button-focus-icon-color: var(--md-sys-color-on-surface);\n --md-icon-button-pressed-icon-color: var(--md-sys-color-on-surface);\n }\n</style>\n","<script lang=\"ts\">\n import '@material/web/icon/icon.js';\n import '@material/web/ripple/ripple.js';\n import { arrowNavigation } from '#lib/components/arrow-navigation.js';\n import { isCurrent, type NavItem } from '#lib/core/navigation.js';\n\n type Props = { items: NavItem[]; currentPath: string };\n\n let { items, currentPath }: Props = $props();\n\n const id = $props.id();\n\n /** Long enough for a screen reader to notice the emptied region before the next text. */\n const ANNOUNCE_DELAY_MS = 100;\n\n let announcement = $state('');\n let timer: ReturnType<typeof setTimeout> | undefined;\n\n // What was said belongs to the page it was said on.\n $effect(() => {\n void currentPath;\n return () => {\n clearTimeout(timer);\n announcement = '';\n };\n });\n\n /**\n * The link to the page already shown: navigating would change nothing, say nothing and send the\n * focus back to the start of the page. Stay, and say that this is the current page.\n */\n function onclick(event: MouseEvent & { currentTarget: HTMLAnchorElement }, label: string) {\n // With a modifier the browser opens the link somewhere else.\n if (event.ctrlKey || event.metaKey || event.shiftKey || event.altKey) return;\n // The whole URL: `/ui/` still leads away from `/ui/?session=7`.\n const link = event.currentTarget;\n if (link.href !== link.ownerDocument.URL) return;\n event.preventDefault();\n clearTimeout(timer);\n announcement = '';\n // Emptied first, so the same words are spoken again.\n timer = setTimeout(() => (announcement = `${label}, current page`), ANNOUNCE_DELAY_MS);\n }\n\n /** Links only react to Enter by themselves; a navigation rail's items also take Space. */\n function onkeydown(event: KeyboardEvent & { currentTarget: HTMLAnchorElement }) {\n if (event.key !== ' ') return;\n if (event.altKey || event.ctrlKey || event.metaKey || event.shiftKey) return;\n event.preventDefault(); // no scrolling\n if (!event.repeat) event.currentTarget.click();\n }\n</script>\n\n<nav aria-label=\"Pages\">\n <ul {@attach arrowNavigation('a')}>\n {#each items as item, index (item.href)}\n {@const current = isCurrent(item, currentPath)}\n {@const linkId = `${id}-link-${index}`}\n {@const labelId = `${linkId}-label`}\n <li>\n <!-- Named by the label alone: from the content, Chromium also reads the icon's\n ligature text (\"settings Settings\"), despite its aria-hidden. -->\n <!-- No reset: SvelteKit would move the focus to the body after changing pages. Its\n announcer still says the new page's title. -->\n <!-- The layout passes hrefs it built with resolve(). -->\n <!-- eslint-disable svelte/no-navigation-without-resolve -->\n <a\n id={linkId}\n href={item.href}\n aria-labelledby={labelId}\n aria-current={current ? 'page' : undefined}\n data-sveltekit-reset=\"false\"\n onclick={(event) => onclick(event, item.label)}\n {onkeydown}\n >\n <!-- eslint-enable svelte/no-navigation-without-resolve -->\n <span class=\"indicator\" class:current>\n <!-- Hover and press on the whole link show in the indicator. -->\n <md-ripple for={linkId} aria-hidden=\"true\"></md-ripple>\n <md-icon aria-hidden=\"true\">{item.icon}</md-icon>\n </span>\n <span id={labelId} class=\"label\">{item.label}</span>\n </a>\n </li>\n {/each}\n </ul>\n</nav>\n<!-- Outside the navigation, so reading through it doesn't run into this. -->\n<span class=\"visually-hidden\" role=\"status\">{announcement}</span>\n\n<style>\n nav {\n flex: none;\n width: var(--app-rail-width);\n /* With the links' own 4px, the first icon sits one gutter below the top. */\n padding: calc(var(--app-gutter) - 4px) 0;\n /* Large text in a low window. */\n overflow-y: auto;\n background: var(--md-sys-color-surface);\n }\n\n ul {\n display: flex;\n flex-direction: column;\n gap: 4px;\n margin: 0;\n padding: 0;\n list-style: none;\n }\n\n a {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 4px;\n min-height: 48px;\n /* Room for the focus ring around the icon and the label. */\n padding: 4px 0;\n color: var(--md-sys-color-on-surface-variant);\n text-decoration: none;\n }\n\n /* Inside the link: the rail is at the window's edge and clips what sticks out. */\n a:focus-visible {\n outline-offset: calc(-1 * var(--md-sys-state-focus-indicator-thickness));\n }\n\n .indicator {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 56px;\n height: 32px;\n border: var(--app-border-width) solid transparent;\n box-sizing: border-box;\n border-radius: 16px;\n --md-ripple-hover-color: currentColor;\n --md-ripple-pressed-color: currentColor;\n }\n\n .indicator.current {\n border-color: var(--md-sys-color-outline);\n background: var(--md-sys-color-secondary-container);\n color: var(--md-sys-color-on-secondary-container);\n }\n\n a[aria-current='page'] {\n color: var(--md-sys-color-on-surface);\n }\n\n /* The whole label stays visible at large text sizes: it wraps and the item grows. */\n .label {\n max-width: 100%;\n text-align: center;\n hyphens: auto;\n overflow-wrap: anywhere;\n font-family: var(--md-sys-typescale-label-medium-font);\n font-size: var(--md-sys-typescale-label-medium-size);\n line-height: var(--md-sys-typescale-label-medium-line-height);\n font-weight: var(--md-ref-typeface-weight-medium);\n }\n</style>\n","<script lang=\"ts\">\n import { onMount } from 'svelte';\n import { resolve } from '$app/paths';\n import { page } from '$app/state';\n import favicon from '#lib/assets/favicon.svg';\n import iconFont from '@fontsource/material-symbols-outlined/files/material-symbols-outlined-latin-400-normal.woff2?url';\n import AppHeader from '#lib/components/AppHeader/AppHeader.svelte';\n import NavRail from '#lib/components/NavRail/NavRail.svelte';\n import { markIconFontReady, provideAppStores } from '#lib/composition.js';\n import type { NavItem } from '#lib/core/navigation.js';\n import '#lib/styles/fonts.css';\n import '#lib/styles/tokens.css';\n import '#lib/styles/global.css';\n import type { LayoutProps } from './$types';\n\n let { children }: LayoutProps = $props();\n\n // One set of stores per app: per request on the server, once in the browser.\n const { theme: themeStore } = provideAppStores();\n\n const navItems: NavItem[] = [\n { href: resolve('/'), label: 'Monitor', icon: 'monitor', exact: true },\n { href: resolve('/settings'), label: 'Settings', icon: 'settings' },\n { href: resolve('/setup'), label: 'Setup', icon: 'build' },\n ];\n\n onMount(() => {\n themeStore.init();\n void markIconFontReady();\n });\n</script>\n\n<svelte:head>\n <link rel=\"icon\" href={favicon} />\n <link rel=\"preload\" as=\"font\" type=\"font/woff2\" href={iconFont} crossorigin=\"anonymous\" />\n <meta name=\"color-scheme\" content=\"light dark\" />\n</svelte:head>\n\n<div class=\"app\">\n <AppHeader host={page.url.host} />\n\n <div class=\"body\">\n <NavRail items={navItems} currentPath={page.url.pathname} />\n <main>\n {@render children()}\n </main>\n </div>\n</div>\n\n<style>\n /* The window height is fixed, so a page can fill what is left below the header (which grows\n when its chips wrap). */\n .app {\n display: flex;\n flex-direction: column;\n height: 100dvh;\n }\n\n .body {\n display: flex;\n flex: 1;\n align-items: stretch;\n min-height: 0;\n }\n\n main {\n flex: 1;\n min-width: 0;\n min-height: 0;\n padding: 0 16px;\n overflow: auto;\n }\n</style>\n"],"ignoreList":[1],"mappings":";;;;;;;;;;AAAA,IAAA,kBAAe;;ACAf,IAAA,qDAAe;;;CCAf,WAAA,WAAA,eAAA;EAKE,IAAI,EAAE,OAAO,iBAAqB;EAG/B,IAAA,MAAM,SAAS,GAAC;;GAEV,MAAA,aAAAA,kBAAA,KAAK;;IAAI,IAAA,OAAI,WAAA;IACP,WAAA,KAAA,MAAAC,WAAAC,KAAA,KAAK,IAAI,GAAA,kBAAA,EAAA,QAAc,KAAK,KAAI,CAAA,EAAA,oCAAAC,KAAA,SAEf,KAAK,IAAI,EAAA,2BAAAF,WAAA,OAAAG,UACf,KAAK,GAAG,KAAA,gBAAA,EAAA,mDAAAC,YACA,KAAK,IAAI,EAAA,+CAAAA,YAGN,KAAK,WAAW,EAAA,aAAA;;;;EAMV,WAAA,KAAA,wDAAAA,YAAA,YAAY,EAAA,QAAA;CAlBjD,CAAA;;;ACNR,SAAA,cAAA,YAAA,SAAA;CAME,IAAI,EAAE,SAAS,YAAgB;CAMV,WAAA,KAAA,uHAAAC,WAAA,iBAAA,KAAA,GAAA,EAAA,QAAA,QAAO,CAAA,EAAA,oCAAA;AALtB;;;;;;AEoBR,SAAgB,YAAY,QAA0B,WAA4B;CAChF,IAAI,CAAC,WACH,OAAO,CACL;EACE,IAAI;EACJ,MAAM;EACN,MAAM;EACN,KAAK;EACL,aAAa;CACf,CACF;CAEF,IAAI,WAAW,MAAM,OAAO,CAAC;CAC7B,OAAO,CACL,YAAY,cAAc,cAAc,OAAO,UAAU,GACzD,YAAY,OAAO,OAAO,OAAO,GAAG,CACtC,CAAC,CAAC,QAAQ,SAAuB,SAAS,IAAI;AAChD;AAEA,SAAS,YAAY,IAAY,MAAc,SAAwC;CACrF,MAAM,OAAO,GAAG,KAAK,GAAG,QAAQ;CAChC,QAAQ,QAAQ,OAAhB;EACE,KAAK,WACH,OAAO;GAAE;GAAI,MAAM;GAAM,MAAM;GAAM,KAAK;GAAU,aAAa,GAAG,KAAK;EAAW;EACtF,KAAK;EACL,KAAK,UACH,OAAO;GACL;GACA,MAAM,GAAG,KAAK,KAAK,QAAQ;GAC3B,MAAM;GACN,KAAK;GACL,aAAa,GAAG,KAAK,IAAI,QAAQ;EACnC;EACF,KAAK,YACH,OAAO;GACL;GACA,MAAM;GACN,MAAM;GACN,KAAK;GACL,aAAa,GAAG,KAAK;GACrB,MAAM;EACR;EACF,KAAK,WACH,OAAO;CACX;AACF;;;;;AAMA,SAAgB,aAAa,OAAe,WAA4B;CACtE,IAAI,CAAC,WAAW,OAAO;CACvB,OAAO,MACJ,QAAQ,SAAS,KAAK,SAAS,WAAW,KAAK,SAAS,SAAS,CAAC,CAClE,KAAK,SAAS,GAAG,KAAK,YAAY,EAAE,CAAC,CACrC,KAAK,GAAG;AACb;;;CCpFA,WAAA,WAAA,eAAA;EASE,MAAM,cAAc,UAAS,CAAE,CAAC;EAGhC,MAAM,OAAIC,cAAY,KAAK,KAAK,MAAM;EACtC,MAAM,SAAMA,cAAY,YAAY,UAAU,KAAI,CAAA;EAClD,MAAM,QAAKA,cAAY,YAAY,OAAM,GAAE,YAAY,SAAS,CAAC;;GAKrD,OAAA,MAAK;GAAgB,cAAA,aAAa,MAAK,GAAE,YAAY,SAAS;;;EAEvE,IAAA,CAAC,YAAY,WAAS;;;IACD,SAAA,YAAY;IAAkB,eAAM,KAAK,YAAY,MAAK;;;;CAL5E,CAAA;;;ACjBR,SAAA,UAAA,YAAA,SAAA;CASE,IAAI,EAAE,SAAa;CAuBG,WAAA,KAAA,8cAAAE,YAAA,IAAI,EAAA,eAAA;;;AAtBpB;;;CCVR,WAAA,WAAA,eAAA;EAUQ,MAAA,KAAEC,SAAA,UAAA;EAFR,IAAI,EAAE,OAAO,gBAAoB;EAOjC,IAAI,eAAsB;;EAwCjB,MAAA,aAAAC,kBAAA,KAAK;;GAAI,IAAA,OAAI,WAAA;GACV,MAAA,UAAU,UAAU,MAAM,WAAW;GACrC,MAAA,SAAS,GAAG,GAAE,QAAS;GACvB,MAAA,UAAU,GAAG,OAAM;GASnB,WAAA,KAAA,SAAAC,KAAA,MAAA,MAAM,IAAAA,KAAA,QACJ,KAAK,IAAI,IAAAA,KAAA,mBACE,OAAO,IAAAA,KAAA,gBACV,UAAU,SAAS,KAAA,CAAS,EAAA,2DAAAC,WAAA,2BAAA,KAAA,GAAA,EAAA,WAAA,QAAA,CAAA,EAAA,aAAAD,KAAA,OAQxB,MAAM,EAAA,+DAAAE,YACO,KAAK,IAAI,EAAA,yBAAAF,KAAA,MAE9B,OAAO,EAAA,+BAAAE,YAAiB,KAAK,KAAK,EAAA,iBAAA;;EAOT,WAAA,KAAA,mEAAAA,YAAA,YAAY,EAAA,QAAA;CArCjD,CAAA;;;;CCnDR,WAAA,WAAA,eAAA;EAeE,IAAI,EAAE,aAAuB;EAG7B,MAAM,EAAE,OAAO,eAAe,iBAAgB;EAE9C,MAAM,WAAsB;GAC1B;IAAE,MAAM,QAAQ,GAAG;IAAG,OAAO;IAAW,MAAM;IAAW,OAAO;GAAM;GACtE;IAAE,MAAM,QAAQ,WAAW;IAAG,OAAO;IAAY,MAAM;GAAY;GACnE;IAAE,MAAM,QAAQ,QAAQ;IAAG,OAAO;IAAS,MAAM;GAAO;EACzD;;GASsB,WAAA,KAAA,mBAAAE,KAAA,QAAAC,eAAO,EAAA,oDAAAD,KAAA,QACwBE,kDAAQ,EAAA,4EAAA;;;EAK7C,UAAA,YAAA,EAAA,MAAA,KAAK,IAAI,KAAI,CAAA;;EAGZ,QAAA,YAAA;GAAA,OAAA;GAAQ,aAAe,KAAK,IAAI;EAAQ,CAAA;;EAE7C,SAAQ,UAAA;;CAdf,CAAA"}
|
|
1
|
+
{"version":3,"file":"_layout.svelte.js","names":["$.ensure_array_like","$.attr_class","$.clsx","$.attr","$.stringify","$.escape","$.attr_class","$.derived","onMount","$.escape","$.props_id","$.ensure_array_like","$.attr","$.attr_class","$.escape","onMount","$.attr","favicon","iconFont"],"sources":["../../../../src/lib/assets/favicon.svg","../../../../../../node_modules/.pnpm/@fontsource+material-symbols-outlined@5.3.9/node_modules/@fontsource/material-symbols-outlined/files/material-symbols-outlined-latin-400-normal.woff2?url","../../../../src/lib/components/StatusChips/StatusChips.svelte","../../../../src/lib/components/StatusRefresh/StatusRefresh.svelte","../../../../src/lib/adapters/icon-font.ts","../../../../src/lib/core/status.ts","../../../../src/lib/components/BridgeStatus/BridgeStatus.svelte","../../../../src/lib/components/AppHeader/AppHeader.svelte","../../../../src/lib/components/NavRail/NavRail.svelte","../../../../src/routes/+layout.svelte"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='44'%20height='44'%20viewBox='0%200%2044%2044'%3e%3ctitle%3eSpeech%20Capture%3c/title%3e%3crect%20width='44'%20height='44'%20rx='14'%20fill='%23415f91'/%3e%3cpath%20d='M4%2010v4M8%206v12M12%203v18M16%208v8M20%2011v2'%20transform='translate(10%2010)'%20fill='none'%20stroke='%23fff'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\"","export default import.meta.ROLLDOWN_FILE_URL_l8JNr3EuSZUlWjWYrZY85w","<script lang=\"ts\">\n import type { Chip } from '#lib/core/status.js';\n\n type Props = { chips: Chip[]; announcement: string };\n\n let { chips, announcement }: Props = $props();\n</script>\n\n{#if chips.length > 0}\n <ul aria-label=\"Bridge status\">\n {#each chips as chip (chip.id)}\n <li class={chip.tone} class:down={chip.down}>\n <!-- The tooltip sits on the hidden part, so it is never read next to the description. -->\n <span class=\"face\" title={chip.text} aria-hidden=\"true\">\n <span class=\"dot {chip.dot}\"></span>\n <span class=\"chip-label\">{chip.text}</span>\n </span>\n <!-- As text: screen readers can skip an `aria-label` on a list item. -->\n <span class=\"visually-hidden\">{chip.description}</span>\n </li>\n {/each}\n </ul>\n{/if}\n<!-- Only changes of a problem state speak; a refresh leaves this text as it is. -->\n<span class=\"visually-hidden\" role=\"status\">{announcement}</span>\n\n<style>\n ul {\n display: flex;\n flex-wrap: wrap;\n gap: 8px;\n margin: 0;\n padding: 0;\n list-style: none;\n }\n\n li {\n position: relative;\n display: inline-flex;\n height: 32px;\n border: 1px solid var(--md-sys-color-outline-variant);\n border-width: max(1px, var(--app-border-width));\n border-radius: 8px;\n background: var(--md-sys-color-surface-container-lowest, transparent);\n color: var(--md-sys-color-on-surface);\n font-family: var(--app-font-mono);\n font-size: var(--app-mono-size);\n white-space: nowrap;\n }\n\n li.ok {\n --dot: var(--app-success);\n }\n li.warning {\n --dot: var(--app-warning);\n background: var(--app-warning-container);\n color: var(--app-on-warning-container);\n border-color: var(--app-warning);\n }\n li.error {\n --dot: var(--md-sys-color-error);\n background: var(--md-sys-color-error-container);\n color: var(--md-sys-color-on-error-container);\n border-color: var(--md-sys-color-error);\n }\n li.neutral {\n --dot: var(--md-sys-color-outline);\n color: var(--md-sys-color-on-surface-variant);\n }\n\n li.down {\n --dot: var(--md-sys-color-error);\n }\n\n /* Fills the chip, so the tooltip shows wherever the pointer is on it. */\n .face {\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 0 12px;\n }\n\n .dot {\n box-sizing: border-box;\n width: 8px;\n height: 8px;\n border-radius: 50%;\n background: var(--dot);\n border: 2px solid var(--dot);\n }\n .dot.hollow {\n background: transparent;\n }\n\n /* On a narrow screen only the dot stays; the hidden description still says what it is. */\n @media (width < 800px) {\n .chip-label {\n display: none;\n }\n }\n</style>\n","<script lang=\"ts\">\n import '@material/web/icon/icon.js';\n import '@material/web/iconbutton/icon-button.js';\n\n type Props = { loading: boolean; onRetry: () => void };\n\n let { loading, onRetry }: Props = $props();\n</script>\n\n<!-- svelte-ignore a11y_click_events_have_key_events, a11y_no_static_element_interactions -->\n<!-- md-icon-button wraps a real <button> in its shadow DOM, which handles keys and role. -->\n<md-icon-button title=\"Refresh status\" aria-label=\"Refresh status\" onclick={onRetry}>\n <md-icon class:spin={loading} aria-hidden=\"true\">refresh</md-icon>\n</md-icon-button>\n\n<style>\n md-icon-button {\n --md-icon-button-icon-color: var(--md-sys-color-on-surface-variant);\n --md-icon-button-hover-icon-color: var(--md-sys-color-on-surface);\n --md-icon-button-focus-icon-color: var(--md-sys-color-on-surface);\n }\n\n .spin {\n animation: spin 0.8s linear infinite;\n }\n\n @keyframes spin {\n to {\n transform: rotate(360deg);\n }\n }\n\n @media (prefers-reduced-motion: reduce) {\n .spin {\n animation: none;\n }\n }\n</style>\n","const ICON_FONT = '24px \"Material Symbols Outlined\"';\n\n/**\n * Loads the icon font and then sets `data-icons-ready` on `<html>`, which ends the placeholder\n * shimmer in `global.css`. If loading fails the icons show anyway rather than shimmer forever.\n */\nexport async function markIconFontReady(): Promise<void> {\n try {\n await document.fonts.load(ICON_FONT);\n } catch {\n // fall through: show the icons\n }\n document.documentElement.setAttribute('data-icons-ready', '');\n}\n","import type { ServiceStatusDto, StatusDto } from '@screenreader-speech-capture/shared';\n\n/** Where the status comes from (the HTTP adapter asks the BFF, which asks the bridge). */\nexport interface StatusApi {\n fetch(): Promise<StatusDto>;\n}\n\nexport type ChipId = 'playwright' | 'mcp' | 'bridge';\nexport type ChipTone = 'ok' | 'error' | 'warning' | 'neutral';\n\nexport type Chip = {\n id: ChipId;\n /** What the chip shows. */\n text: string;\n tone: ChipTone;\n /** A hollow dot means \"nothing there yet\"; a filled one means \"there is state\". */\n dot: 'filled' | 'hollow';\n /** Spoken name of the state, so it is never colour alone. */\n description: string;\n /** Not connected or not ready: the dot is red while the chip itself stays neutral. */\n down?: boolean;\n};\n\n/**\n * Only what needs a look: a service that is not running (not enabled) has no chip, and the session\n * is the sessions pane's business. An unreachable bridge is a chip of its own.\n */\nexport function deriveChips(status: StatusDto | null, reachable: boolean): Chip[] {\n if (!reachable) {\n return [\n {\n id: 'bridge',\n text: 'Bridge unreachable',\n tone: 'error',\n dot: 'filled',\n description: 'Bridge unreachable',\n },\n ];\n }\n if (status === null) return [];\n return [\n serviceChip('playwright', 'Playwright', status.playwright),\n serviceChip('mcp', 'MCP', status.mcp),\n ].filter((chip): chip is Chip => chip !== null);\n}\n\nfunction serviceChip(id: ChipId, name: string, service: ServiceStatusDto): Chip | null {\n const base = `${name} ${service.version}`;\n switch (service.state) {\n case 'running':\n return { id, text: base, tone: 'ok', dot: 'filled', description: `${base}, running` };\n case 'crashed':\n case 'failed':\n return {\n id,\n text: `${base} · ${service.state}`,\n tone: 'warning',\n dot: 'filled',\n description: `${base}, ${service.state}`,\n };\n case 'starting':\n return {\n id,\n text: base,\n tone: 'neutral',\n dot: 'hollow',\n description: `${base}, starting`,\n down: true,\n };\n case 'stopped':\n return null;\n }\n}\n\n/**\n * The words a screen reader gets when the state changes. Empty while everything is fine, so the\n * regular refresh never speaks.\n */\nexport function announcement(chips: Chip[], reachable: boolean): string {\n if (!reachable) return 'Bridge unreachable.';\n return chips\n .filter((chip) => chip.tone === 'error' || chip.tone === 'warning')\n .map((chip) => `${chip.description}.`)\n .join(' ');\n}\n","<script lang=\"ts\">\n import { onMount } from 'svelte';\n import { page } from '$app/state';\n import StatusChips from '#lib/components/StatusChips/StatusChips.svelte';\n import StatusRefresh from '#lib/components/StatusRefresh/StatusRefresh.svelte';\n import { appStores } from '#lib/composition.js';\n import { announcement, deriveChips } from '#lib/core/status.js';\n import type { StatusDto } from '@screenreader-speech-capture/shared';\n\n const statusStore = appStores().status;\n\n // The status the server rendered (`+layout.server.ts`); it fills in until the store has its own.\n const seed = $derived(page.data.status as StatusDto | null);\n const status = $derived(statusStore.status ?? seed);\n const chips = $derived(deriveChips(status, statusStore.reachable));\n\n onMount(() => statusStore.init(seed));\n</script>\n\n<StatusChips {chips} announcement={announcement(chips, statusStore.reachable)} />\n<!-- Status is read once, so the retry only shows when there is something to recover from. -->\n{#if !statusStore.reachable}\n <StatusRefresh loading={statusStore.loading} onRetry={() => void statusStore.retry()} />\n{/if}\n","<script lang=\"ts\">\n import '@material/web/icon/icon.js';\n import '@material/web/iconbutton/icon-button.js';\n import BridgeStatus from '#lib/components/BridgeStatus/BridgeStatus.svelte';\n\n type Props = {\n host: string;\n };\n\n let { host }: Props = $props();\n</script>\n\n<header>\n <div class=\"logo-slot\">\n <div class=\"logo\">\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n aria-hidden=\"true\"\n >\n <path d=\"M4 10v4M8 6v12M12 3v18M16 8v8M20 11v2\" />\n </svg>\n </div>\n </div>\n <div class=\"title\">\n <span class=\"name\">Speech Capture</span>\n <span class=\"meta\">{host}</span>\n </div>\n <BridgeStatus />\n</header>\n\n<style>\n header {\n display: flex;\n align-items: center;\n gap: 12px 16px;\n min-height: 68px;\n padding: 10px 16px 10px 0;\n background: var(--md-sys-color-surface-container);\n color: var(--md-sys-color-on-surface);\n }\n\n /* As wide as the navigation rail, so the logo sits centered over it. */\n .logo-slot {\n display: flex;\n flex: none;\n align-items: center;\n justify-content: center;\n width: var(--app-rail-width);\n }\n\n .logo {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 44px;\n height: 44px;\n border-radius: 14px;\n background: var(--md-sys-color-primary);\n color: var(--md-sys-color-on-primary);\n }\n\n .title {\n display: flex;\n flex-direction: column;\n min-width: 0;\n margin-right: auto;\n }\n\n header {\n flex-wrap: wrap;\n }\n\n .name {\n font-family: var(--md-sys-typescale-title-large-font);\n font-size: var(--md-sys-typescale-title-large-size);\n line-height: var(--md-sys-typescale-title-large-line-height);\n font-weight: var(--md-ref-typeface-weight-medium);\n }\n\n .meta {\n font-family: var(--app-font-mono);\n font-size: var(--app-mono-size);\n line-height: var(--app-mono-line-height);\n color: var(--md-sys-color-on-surface-variant);\n }\n\n md-icon-button {\n --md-icon-button-icon-color: var(--md-sys-color-on-surface-variant);\n --md-icon-button-hover-icon-color: var(--md-sys-color-on-surface);\n --md-icon-button-focus-icon-color: var(--md-sys-color-on-surface);\n --md-icon-button-pressed-icon-color: var(--md-sys-color-on-surface);\n }\n</style>\n","<script lang=\"ts\">\n import '@material/web/icon/icon.js';\n import '@material/web/ripple/ripple.js';\n import { arrowNavigation } from '#lib/components/arrow-navigation.js';\n import { isCurrent, type NavItem } from '#lib/core/navigation.js';\n\n type Props = { items: NavItem[]; currentPath: string };\n\n let { items, currentPath }: Props = $props();\n\n const id = $props.id();\n\n /** Long enough for a screen reader to notice the emptied region before the next text. */\n const ANNOUNCE_DELAY_MS = 100;\n\n let announcement = $state('');\n let timer: ReturnType<typeof setTimeout> | undefined;\n\n // What was said belongs to the page it was said on.\n $effect(() => {\n void currentPath;\n return () => {\n clearTimeout(timer);\n announcement = '';\n };\n });\n\n /**\n * The link to the page already shown: navigating would change nothing, say nothing and send the\n * focus back to the start of the page. Stay, and say that this is the current page.\n */\n function onclick(event: MouseEvent & { currentTarget: HTMLAnchorElement }, label: string) {\n // With a modifier the browser opens the link somewhere else.\n if (event.ctrlKey || event.metaKey || event.shiftKey || event.altKey) return;\n // The whole URL: `/ui/` still leads away from `/ui/?session=7`.\n const link = event.currentTarget;\n if (link.href !== link.ownerDocument.URL) return;\n event.preventDefault();\n clearTimeout(timer);\n announcement = '';\n // Emptied first, so the same words are spoken again.\n timer = setTimeout(() => (announcement = `${label}, current page`), ANNOUNCE_DELAY_MS);\n }\n\n /** Links only react to Enter by themselves; a navigation rail's items also take Space. */\n function onkeydown(event: KeyboardEvent & { currentTarget: HTMLAnchorElement }) {\n if (event.key !== ' ') return;\n if (event.altKey || event.ctrlKey || event.metaKey || event.shiftKey) return;\n event.preventDefault(); // no scrolling\n if (!event.repeat) event.currentTarget.click();\n }\n</script>\n\n<nav aria-label=\"Pages\">\n <ul {@attach arrowNavigation('a')}>\n {#each items as item, index (item.href)}\n {@const current = isCurrent(item, currentPath)}\n {@const linkId = `${id}-link-${index}`}\n {@const labelId = `${linkId}-label`}\n <li>\n <!-- Named by the label alone: from the content, Chromium also reads the icon's\n ligature text (\"settings Settings\"), despite its aria-hidden. -->\n <!-- No reset: SvelteKit would move the focus to the body after changing pages. Its\n announcer still says the new page's title. -->\n <!-- The layout passes hrefs it built with resolve(). -->\n <!-- eslint-disable svelte/no-navigation-without-resolve -->\n <a\n id={linkId}\n href={item.href}\n aria-labelledby={labelId}\n aria-current={current ? 'page' : undefined}\n data-sveltekit-reset=\"false\"\n onclick={(event) => onclick(event, item.label)}\n {onkeydown}\n >\n <!-- eslint-enable svelte/no-navigation-without-resolve -->\n <span class=\"indicator\" class:current>\n <!-- Hover and press on the whole link show in the indicator. -->\n <md-ripple for={linkId} aria-hidden=\"true\"></md-ripple>\n <md-icon aria-hidden=\"true\">{item.icon}</md-icon>\n </span>\n <span id={labelId} class=\"label\">{item.label}</span>\n </a>\n </li>\n {/each}\n </ul>\n</nav>\n<!-- Outside the navigation, so reading through it doesn't run into this. -->\n<span class=\"visually-hidden\" role=\"status\">{announcement}</span>\n\n<style>\n nav {\n flex: none;\n width: var(--app-rail-width);\n /* With the links' own 4px, the first icon sits one gutter below the top. */\n padding: calc(var(--app-gutter) - 4px) 0;\n /* Large text in a low window. */\n overflow-y: auto;\n background: var(--md-sys-color-surface);\n }\n\n ul {\n display: flex;\n flex-direction: column;\n gap: 4px;\n margin: 0;\n padding: 0;\n list-style: none;\n }\n\n a {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 4px;\n min-height: 48px;\n /* Room for the focus ring around the icon and the label. */\n padding: 4px 0;\n color: var(--md-sys-color-on-surface-variant);\n text-decoration: none;\n }\n\n /* Inside the link: the rail is at the window's edge and clips what sticks out. */\n a:focus-visible {\n outline-offset: calc(-1 * var(--md-sys-state-focus-indicator-thickness));\n }\n\n .indicator {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 56px;\n height: 32px;\n border: var(--app-border-width) solid transparent;\n box-sizing: border-box;\n border-radius: 16px;\n --md-ripple-hover-color: currentColor;\n --md-ripple-pressed-color: currentColor;\n }\n\n .indicator.current {\n border-color: var(--md-sys-color-outline);\n background: var(--md-sys-color-secondary-container);\n color: var(--md-sys-color-on-secondary-container);\n }\n\n a[aria-current='page'] {\n color: var(--md-sys-color-on-surface);\n }\n\n /* The whole label stays visible at large text sizes: it wraps and the item grows. */\n .label {\n max-width: 100%;\n text-align: center;\n hyphens: auto;\n overflow-wrap: anywhere;\n font-family: var(--md-sys-typescale-label-medium-font);\n font-size: var(--md-sys-typescale-label-medium-size);\n line-height: var(--md-sys-typescale-label-medium-line-height);\n font-weight: var(--md-ref-typeface-weight-medium);\n }\n</style>\n","<script lang=\"ts\">\n import { onMount } from 'svelte';\n import { resolve } from '$app/paths';\n import { page } from '$app/state';\n import favicon from '#lib/assets/favicon.svg';\n import iconFont from '@fontsource/material-symbols-outlined/files/material-symbols-outlined-latin-400-normal.woff2?url';\n import AppHeader from '#lib/components/AppHeader/AppHeader.svelte';\n import NavRail from '#lib/components/NavRail/NavRail.svelte';\n import { markIconFontReady, provideAppStores } from '#lib/composition.js';\n import type { NavItem } from '#lib/core/navigation.js';\n import '#lib/styles/fonts.css';\n import '#lib/styles/tokens.css';\n import '#lib/styles/global.css';\n import type { LayoutProps } from './$types';\n\n let { children }: LayoutProps = $props();\n\n // One set of stores per app: per request on the server, once in the browser.\n const { theme: themeStore } = provideAppStores();\n\n const navItems: NavItem[] = [\n { href: resolve('/'), label: 'Monitor', icon: 'monitor', exact: true },\n { href: resolve('/settings'), label: 'Settings', icon: 'settings' },\n { href: resolve('/setup'), label: 'Setup', icon: 'build' },\n ];\n\n onMount(() => {\n themeStore.init();\n void markIconFontReady();\n });\n</script>\n\n<svelte:head>\n <link rel=\"icon\" href={favicon} />\n <link rel=\"preload\" as=\"font\" type=\"font/woff2\" href={iconFont} crossorigin=\"anonymous\" />\n <meta name=\"color-scheme\" content=\"light dark\" />\n</svelte:head>\n\n<div class=\"app\">\n <AppHeader host={page.url.host} />\n\n <div class=\"body\">\n <NavRail items={navItems} currentPath={page.url.pathname} />\n <main>\n {@render children()}\n </main>\n </div>\n</div>\n\n<style>\n /* The window height is fixed, so a page can fill what is left below the header (which grows\n when its chips wrap). */\n .app {\n display: flex;\n flex-direction: column;\n height: 100dvh;\n }\n\n .body {\n display: flex;\n flex: 1;\n align-items: stretch;\n min-height: 0;\n }\n\n main {\n flex: 1;\n min-width: 0;\n min-height: 0;\n padding: 0 16px;\n overflow: auto;\n }\n</style>\n"],"ignoreList":[1],"mappings":"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"}
|
|
@@ -4,7 +4,6 @@ import "../../chunks/index-server.js";
|
|
|
4
4
|
import { n as goto } from "../../chunks/navigation2.js";
|
|
5
5
|
import "../../chunks/paths.js";
|
|
6
6
|
import { t as page } from "../../chunks/state.js";
|
|
7
|
-
import "../../chunks/icon.js";
|
|
8
7
|
import { G as t, I as T, K as __decorate, W as i, c as canClearSpeech, d as logHeading, l as canDeleteSession, s as canAddMarker, t as appStores, u as formatReceivedTime } from "../../chunks/composition.js";
|
|
9
8
|
import { n as styles$1 } from "../../chunks/redispatch-event.js";
|
|
10
9
|
import { n as Button, t as styles$2 } from "../../chunks/text-button.js";
|