screenreader-speech-capture 0.4.0-fix-bundle-material-web.12 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.mjs +31 -3
- package/dist/ui/adapter-node.js +1 -1
- package/dist/ui/client/ui/_app/immutable/assets/{0.Ck1JiV_4.css → 0.B2ZWH0rX.css} +1 -1
- package/dist/ui/client/ui/_app/immutable/assets/0.B2ZWH0rX.css.br +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/0.B2ZWH0rX.css.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/2.CtITS5jU.css +1 -0
- package/dist/ui/client/ui/_app/immutable/assets/2.CtITS5jU.css.br +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/2.CtITS5jU.css.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/w6UAqFO5.js +37 -0
- package/dist/ui/client/ui/_app/immutable/chunks/w6UAqFO5.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/w6UAqFO5.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/entry/{app.DWG4jy_K.js → app.COo3YJBG.js} +2 -2
- package/dist/ui/client/ui/_app/immutable/entry/app.COo3YJBG.js.br +2 -0
- package/dist/ui/client/ui/_app/immutable/entry/app.COo3YJBG.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/{0.BHaQjZME.js → 0.BKE0tKKK.js} +1 -1
- package/dist/ui/client/ui/_app/immutable/nodes/0.BKE0tKKK.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/0.BKE0tKKK.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/2.BCy3UgNz.js +227 -0
- package/dist/ui/client/ui/_app/immutable/nodes/2.BCy3UgNz.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/2.BCy3UgNz.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 +33 -2
- package/dist/ui/server/_app/immutable/assets/{_layout.Ck1JiV_4.css → _layout.B2ZWH0rX.css} +1 -1
- package/dist/ui/server/_app/immutable/assets/_page.CtITS5jU.css +1 -0
- package/dist/ui/server/chunks/bridge-api.js +29 -1
- package/dist/ui/server/chunks/bridge-api.js.map +1 -1
- package/dist/ui/server/chunks/composition.js +180 -3
- 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/src.js +29 -2
- package/dist/ui/server/chunks/src.js.map +1 -1
- package/dist/ui/server/entries/endpoints/api/markers/_server.ts.js +14 -0
- package/dist/ui/server/entries/endpoints/api/markers/_server.ts.js.map +1 -0
- package/dist/ui/server/entries/endpoints/api/sessions/_server.ts.js +1 -1
- package/dist/ui/server/entries/endpoints/api/speech/_server.ts.js +21 -0
- package/dist/ui/server/entries/endpoints/api/speech/_server.ts.js.map +1 -0
- package/dist/ui/server/entries/endpoints/api/speech/stream/_server.ts.js +19 -0
- package/dist/ui/server/entries/endpoints/api/speech/stream/_server.ts.js.map +1 -0
- package/dist/ui/server/entries/pages/_layout.svelte.js +1 -1
- package/dist/ui/server/entries/pages/_page.svelte.js +341 -142
- package/dist/ui/server/entries/pages/_page.svelte.js.map +1 -1
- package/dist/ui/server/manifest-full.js +22 -1
- package/dist/ui/server/manifest.js +22 -1
- package/dist/ui/server/nodes/0.js +2 -2
- package/dist/ui/server/nodes/2.js +2 -2
- package/dist/ui/server/server.js +22 -1
- package/package.json +1 -1
- package/dist/ui/client/ui/_app/immutable/assets/0.Ck1JiV_4.css.br +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/0.Ck1JiV_4.css.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/2.CnRjX9ZG.css +0 -1
- package/dist/ui/client/ui/_app/immutable/assets/2.CnRjX9ZG.css.br +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/2.CnRjX9ZG.css.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/WKeSQOEM.js +0 -37
- package/dist/ui/client/ui/_app/immutable/chunks/WKeSQOEM.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/WKeSQOEM.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/entry/app.DWG4jy_K.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/entry/app.DWG4jy_K.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/0.BHaQjZME.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/0.BHaQjZME.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/2.DnTpD-Gs.js +0 -224
- package/dist/ui/client/ui/_app/immutable/nodes/2.DnTpD-Gs.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/2.DnTpD-Gs.js.gz +0 -0
- package/dist/ui/server/_app/immutable/assets/_page.CnRjX9ZG.css +0 -1
|
@@ -2,8 +2,8 @@ import { mt as resolve } from "../../chunks/internal.js";
|
|
|
2
2
|
import { f as escape_html, i as ensure_array_like, l as attr, n as attr_style, r as derived, t as attr_class, u as clsx } from "../../chunks/server2.js";
|
|
3
3
|
import { t as page } from "../../chunks/state.js";
|
|
4
4
|
import { n as goto } from "../../chunks/navigation.js";
|
|
5
|
-
import { A as
|
|
6
|
-
import {
|
|
5
|
+
import { A as r$1, C as A, D as Z, E as T, M as i$3, N as t$1, O as e$2, P as __decorate, S as i$2, T as E, _ as EASING, b as i$4, c as logHeading, d as mixinFormAssociated, f as internals, g as u$1, h as i$5, j as n$2, k as e$1, l as mixinFormSubmitter, m as mixinDelegatesAria, n as sessionsStore, o as canAddMarker, p as mixinElementInternals, r as speechStore, s as formatReceivedTime, t as sessionsPaneStore, u as getFormValue, v as e$3, w as B, x as t$2, y as e$4 } from "../../chunks/composition.js";
|
|
6
|
+
import { d as API_LIMITS } from "../../chunks/src.js";
|
|
7
7
|
// ../../node_modules/.pnpm/@lit+reactive-element@2.1.2/node_modules/@lit/reactive-element/node/decorators/query-assigned-elements.js
|
|
8
8
|
/**
|
|
9
9
|
* @license
|
|
@@ -18,90 +18,50 @@ import { c as API_LIMITS } from "../../chunks/src.js";
|
|
|
18
18
|
} });
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
|
-
//
|
|
22
|
-
function ListItem($$renderer, $$props) {
|
|
23
|
-
/** One line, cut off with an ellipsis. */
|
|
24
|
-
/** The muted monospace line under the title. */
|
|
25
|
-
/** Actions at the end of the row. They sit beside the select button, never inside it. */
|
|
26
|
-
/** Highlights the row and sets `aria-current`. */
|
|
27
|
-
/**
|
|
28
|
-
* What a screen reader should hear instead of the visual subtitle. Without it the subtitle
|
|
29
|
-
* is read as it is.
|
|
30
|
-
*/
|
|
31
|
-
/**
|
|
32
|
-
* The row's corner radius as a CSS value. Defaults to 8px, the radius of md-list-item's
|
|
33
|
-
* focus ring (md-list-item itself has no container shape).
|
|
34
|
-
*/
|
|
35
|
-
let { title, subtitle, trailing, selected = false, description, shape, onSelect } = $$props;
|
|
36
|
-
$$renderer.push(`<li${attr_class("svelte-3qlloz", void 0, { "selected": selected })}${attr_style("", { "--list-item-shape": shape })}><md-ripple aria-hidden="true"></md-ripple> <button type="button" class="select svelte-3qlloz"${attr("aria-current", selected ? "true" : void 0)}><span class="title svelte-3qlloz">${escape_html(title)}</span> `);
|
|
37
|
-
if (subtitle) {
|
|
38
|
-
$$renderer.push(`<!--[0--><span class="subtitle svelte-3qlloz"${attr("aria-hidden", description === void 0 ? void 0 : "true")}>`);
|
|
39
|
-
subtitle($$renderer);
|
|
40
|
-
$$renderer.push(`<!----></span>`);
|
|
41
|
-
} else $$renderer.push("<!--[-1-->");
|
|
42
|
-
$$renderer.push(`<!--]--> `);
|
|
43
|
-
if (description !== void 0) $$renderer.push(`<!--[0--><span class="sr-only svelte-3qlloz">${escape_html(description)}</span>`);
|
|
44
|
-
else $$renderer.push("<!--[-1-->");
|
|
45
|
-
$$renderer.push(`<!--]--></button> `);
|
|
46
|
-
if (trailing) {
|
|
47
|
-
$$renderer.push(`<!--[0--><span class="trailing svelte-3qlloz">`);
|
|
48
|
-
trailing($$renderer);
|
|
49
|
-
$$renderer.push(`<!----></span>`);
|
|
50
|
-
} else $$renderer.push("<!--[-1-->");
|
|
51
|
-
$$renderer.push(`<!--]--></li>`);
|
|
52
|
-
}
|
|
53
|
-
// src/lib/core/sessions.ts
|
|
54
|
-
/** `4 s`, `3 min 12 s`, `1 h 05 min`. Never negative (the bridge's clock may run ahead). */
|
|
55
|
-
function formatDuration(milliseconds) {
|
|
56
|
-
const total = Math.max(0, Math.floor(milliseconds / 1e3));
|
|
57
|
-
const hours = Math.floor(total / 3600);
|
|
58
|
-
const minutes = Math.floor(total % 3600 / 60);
|
|
59
|
-
const seconds = total % 60;
|
|
60
|
-
if (hours > 0) return `${hours} h ${String(minutes).padStart(2, "0")} min`;
|
|
61
|
-
if (minutes > 0) return `${minutes} min ${seconds} s`;
|
|
62
|
-
return `${seconds} s`;
|
|
63
|
-
}
|
|
64
|
-
/** What a row shows under the name. `now` (epoch ms) is the end of a session that is still live. */
|
|
65
|
-
function describeSession(session, now) {
|
|
66
|
-
const duration = formatDuration((session.endedAt === null ? now : Date.parse(session.endedAt)) - Date.parse(session.startedAt));
|
|
67
|
-
const live = session.endedAt === null;
|
|
68
|
-
const entries = `${session.entries} ${session.entries === 1 ? "entry" : "entries"}`;
|
|
69
|
-
const parts = [
|
|
70
|
-
`Session ${session.id}`,
|
|
71
|
-
live ? "live" : null,
|
|
72
|
-
session.run === null ? null : `run ${session.run}`,
|
|
73
|
-
duration,
|
|
74
|
-
entries
|
|
75
|
-
];
|
|
76
|
-
return {
|
|
77
|
-
id: `#${session.id}`,
|
|
78
|
-
run: session.run,
|
|
79
|
-
duration,
|
|
80
|
-
entries,
|
|
81
|
-
spoken: parts.filter((part) => part !== null).join(", ")
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
|
-
/** The URL value that selects the speech outside any session (the bridge's `session=none`). */
|
|
85
|
-
var OUTSIDE_SESSIONS = "none";
|
|
21
|
+
// ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/elevation/internal/elevation.js
|
|
86
22
|
/**
|
|
87
|
-
*
|
|
88
|
-
*
|
|
23
|
+
* @license
|
|
24
|
+
* Copyright 2022 Google LLC
|
|
25
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
89
26
|
*/
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
27
|
+
/**
|
|
28
|
+
* A component for elevation.
|
|
29
|
+
*/
|
|
30
|
+
var Elevation = class extends i$2 {
|
|
31
|
+
connectedCallback() {
|
|
32
|
+
super.connectedCallback();
|
|
33
|
+
this.setAttribute("aria-hidden", "true");
|
|
34
|
+
}
|
|
35
|
+
render() {
|
|
36
|
+
return T`<span class="shadow"></span>`;
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
// ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/elevation/internal/elevation-styles.cssresult.js
|
|
97
40
|
/**
|
|
98
41
|
* @license
|
|
99
42
|
* Copyright 2026 Google LLC
|
|
100
43
|
* SPDX-License-Identifier: Apache-2.0
|
|
101
44
|
*/
|
|
102
|
-
var styles$
|
|
45
|
+
var styles$10 = i$3`:host,.shadow,.shadow::before,.shadow::after{border-radius:inherit;inset:0;position:absolute;transition-duration:inherit;transition-property:inherit;transition-timing-function:inherit}:host{display:flex;pointer-events:none;transition-property:box-shadow,opacity}.shadow::before,.shadow::after{content:"";transition-property:box-shadow,opacity;--_level: var(--md-elevation-level, 0);--_shadow-color: var(--md-elevation-shadow-color, var(--md-sys-color-shadow, #000))}.shadow::before{box-shadow:0px calc(1px*(clamp(0,var(--_level),1) + clamp(0,var(--_level) - 3,1) + 2*clamp(0,var(--_level) - 4,1))) calc(1px*(2*clamp(0,var(--_level),1) + clamp(0,var(--_level) - 2,1) + clamp(0,var(--_level) - 4,1))) 0px var(--_shadow-color);opacity:.3}.shadow::after{box-shadow:0px calc(1px*(clamp(0,var(--_level),1) + clamp(0,var(--_level) - 1,1) + 2*clamp(0,var(--_level) - 2,3))) calc(1px*(3*clamp(0,var(--_level),2) + 2*clamp(0,var(--_level) - 2,3))) calc(1px*(clamp(0,var(--_level),4) + 2*clamp(0,var(--_level) - 4,1))) var(--_shadow-color);opacity:.15}
|
|
103
46
|
`;
|
|
104
|
-
styles$
|
|
47
|
+
styles$10.styleSheet;
|
|
48
|
+
// ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/elevation/elevation.js
|
|
49
|
+
/**
|
|
50
|
+
* @license
|
|
51
|
+
* Copyright 2022 Google LLC
|
|
52
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
53
|
+
*/
|
|
54
|
+
/**
|
|
55
|
+
* The `<md-elevation>` custom element with default styles.
|
|
56
|
+
*
|
|
57
|
+
* Elevation is the relative distance between two surfaces along the z-axis.
|
|
58
|
+
*
|
|
59
|
+
* @final
|
|
60
|
+
* @suppress {visibility}
|
|
61
|
+
*/
|
|
62
|
+
var MdElevation = class MdElevation extends Elevation {};
|
|
63
|
+
MdElevation.styles = [styles$10];
|
|
64
|
+
MdElevation = __decorate([t$1("md-elevation")], MdElevation);
|
|
105
65
|
// ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/internal/events/form-label-activation.js
|
|
106
66
|
/**
|
|
107
67
|
* @license
|
|
@@ -188,7 +148,7 @@ async function squelchEventsForMicrotask() {
|
|
|
188
148
|
* Copyright 2019 Google LLC
|
|
189
149
|
* SPDX-License-Identifier: Apache-2.0
|
|
190
150
|
*/
|
|
191
|
-
var buttonBaseClass = mixinDelegatesAria(mixinFormSubmitter(mixinFormAssociated(mixinElementInternals(i$
|
|
151
|
+
var buttonBaseClass = mixinDelegatesAria(mixinFormSubmitter(mixinFormAssociated(mixinElementInternals(i$2))));
|
|
192
152
|
/**
|
|
193
153
|
* A button component.
|
|
194
154
|
*/
|
|
@@ -334,6 +294,81 @@ __decorate([o$1({
|
|
|
334
294
|
slot: "icon",
|
|
335
295
|
flatten: true
|
|
336
296
|
})], Button.prototype, "assignedIcons", void 0);
|
|
297
|
+
// ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/button/internal/filled-tonal-button.js
|
|
298
|
+
/**
|
|
299
|
+
* @license
|
|
300
|
+
* Copyright 2021 Google LLC
|
|
301
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
302
|
+
*/
|
|
303
|
+
/**
|
|
304
|
+
* A filled tonal button component.
|
|
305
|
+
*/
|
|
306
|
+
var FilledTonalButton = class extends Button {
|
|
307
|
+
renderElevationOrOutline() {
|
|
308
|
+
return T`<md-elevation part="elevation"></md-elevation>`;
|
|
309
|
+
}
|
|
310
|
+
};
|
|
311
|
+
// ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/button/internal/filled-tonal-styles.cssresult.js
|
|
312
|
+
/**
|
|
313
|
+
* @license
|
|
314
|
+
* Copyright 2026 Google LLC
|
|
315
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
316
|
+
*/
|
|
317
|
+
var styles$9 = i$3`: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)}
|
|
318
|
+
`;
|
|
319
|
+
styles$9.styleSheet;
|
|
320
|
+
// ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/button/internal/shared-elevation-styles.cssresult.js
|
|
321
|
+
/**
|
|
322
|
+
* @license
|
|
323
|
+
* Copyright 2026 Google LLC
|
|
324
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
325
|
+
*/
|
|
326
|
+
var styles$8 = i$3`md-elevation{transition-duration:280ms}:host(:is([disabled],[soft-disabled])) md-elevation{transition:none}md-elevation{--md-elevation-level: var(--_container-elevation);--md-elevation-shadow-color: var(--_container-shadow-color)}:host(:focus-within) md-elevation{--md-elevation-level: var(--_focus-container-elevation)}:host(:hover) md-elevation{--md-elevation-level: var(--_hover-container-elevation)}:host(:active) md-elevation{--md-elevation-level: var(--_pressed-container-elevation)}:host(:is([disabled],[soft-disabled])) md-elevation{--md-elevation-level: var(--_disabled-container-elevation)}
|
|
327
|
+
`;
|
|
328
|
+
styles$8.styleSheet;
|
|
329
|
+
// ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/button/internal/shared-styles.cssresult.js
|
|
330
|
+
/**
|
|
331
|
+
* @license
|
|
332
|
+
* Copyright 2026 Google LLC
|
|
333
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
334
|
+
*/
|
|
335
|
+
var styles$7 = i$3`:host{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);box-sizing:border-box;cursor:pointer;display:inline-flex;gap:8px;min-height:var(--_container-height);outline:none;padding-block:calc((var(--_container-height) - max(var(--_label-text-line-height),var(--_icon-size)))/2);padding-inline-start:var(--_leading-space);padding-inline-end:var(--_trailing-space);place-content:center;place-items:center;position:relative;font-family:var(--_label-text-font);font-size:var(--_label-text-size);line-height:var(--_label-text-line-height);font-weight:var(--_label-text-weight);text-overflow:ellipsis;text-wrap:nowrap;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);vertical-align:top;--md-ripple-hover-color: var(--_hover-state-layer-color);--md-ripple-pressed-color: var(--_pressed-state-layer-color);--md-ripple-hover-opacity: var(--_hover-state-layer-opacity);--md-ripple-pressed-opacity: var(--_pressed-state-layer-opacity)}md-focus-ring{--md-focus-ring-shape-start-start: var(--_container-shape-start-start);--md-focus-ring-shape-start-end: var(--_container-shape-start-end);--md-focus-ring-shape-end-end: var(--_container-shape-end-end);--md-focus-ring-shape-end-start: var(--_container-shape-end-start)}:host(:is([disabled],[soft-disabled])){cursor:default;pointer-events:none}.button{border-radius:inherit;cursor:inherit;display:inline-flex;align-items:center;justify-content:center;border:none;outline:none;-webkit-appearance:none;vertical-align:middle;background:rgba(0,0,0,0);text-decoration:none;min-width:calc(64px - var(--_leading-space) - var(--_trailing-space));width:100%;z-index:0;height:100%;font:inherit;color:var(--_label-text-color);padding:0;gap:inherit;text-transform:inherit}.button::-moz-focus-inner{padding:0;border:0}:host(:hover) .button{color:var(--_hover-label-text-color)}:host(:focus-within) .button{color:var(--_focus-label-text-color)}:host(:active) .button{color:var(--_pressed-label-text-color)}.background{background:var(--_container-color);border-radius:inherit;inset:0;position:absolute}.label{overflow:hidden}:is(.button,.label,.label slot),.label ::slotted(*){text-overflow:inherit}:host(:is([disabled],[soft-disabled])) .label{color:var(--_disabled-label-text-color);opacity:var(--_disabled-label-text-opacity)}:host(:is([disabled],[soft-disabled])) .background{background:var(--_disabled-container-color);opacity:var(--_disabled-container-opacity)}@media(forced-colors: active){.background{border:1px solid CanvasText}:host(:is([disabled],[soft-disabled])){--_disabled-icon-color: GrayText;--_disabled-icon-opacity: 1;--_disabled-container-opacity: 1;--_disabled-label-text-color: GrayText;--_disabled-label-text-opacity: 1}}:host([has-icon]:not([trailing-icon])){padding-inline-start:var(--_with-leading-icon-leading-space);padding-inline-end:var(--_with-leading-icon-trailing-space)}:host([has-icon][trailing-icon]){padding-inline-start:var(--_with-trailing-icon-leading-space);padding-inline-end:var(--_with-trailing-icon-trailing-space)}::slotted([slot=icon]){display:inline-flex;position:relative;writing-mode:horizontal-tb;fill:currentColor;flex-shrink:0;color:var(--_icon-color);font-size:var(--_icon-size);inline-size:var(--_icon-size);block-size:var(--_icon-size)}:host(:hover) ::slotted([slot=icon]){color:var(--_hover-icon-color)}:host(:focus-within) ::slotted([slot=icon]){color:var(--_focus-icon-color)}:host(:active) ::slotted([slot=icon]){color:var(--_pressed-icon-color)}:host(:is([disabled],[soft-disabled])) ::slotted([slot=icon]){color:var(--_disabled-icon-color);opacity:var(--_disabled-icon-opacity)}.touch{position:absolute;top:50%;height:max(48px,100%);left:0;right:0;transform:translateY(-50%)}:host([touch-target=wrapper]){margin:max(0px,(48px - var(--_container-height))/2) 0}:host([touch-target=none]) .touch{display:none}
|
|
336
|
+
`;
|
|
337
|
+
styles$7.styleSheet;
|
|
338
|
+
// ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/button/filled-tonal-button.js
|
|
339
|
+
/**
|
|
340
|
+
* @license
|
|
341
|
+
* Copyright 2021 Google LLC
|
|
342
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
343
|
+
*/
|
|
344
|
+
/**
|
|
345
|
+
* @summary Buttons help people take action, such as sending an email, sharing a
|
|
346
|
+
* document, or liking a comment.
|
|
347
|
+
*
|
|
348
|
+
* @description
|
|
349
|
+
* __Emphasis:__ Medium emphasis – For important actions that don’t distract
|
|
350
|
+
* from other onscreen elements.
|
|
351
|
+
*
|
|
352
|
+
* __Rationale:__ Filled tonal buttons have a lighter background color and
|
|
353
|
+
* darker label color, making them less visually prominent than a regular,
|
|
354
|
+
* filled button. They’re still used for final or unblocking actions in a flow,
|
|
355
|
+
* but do so with less emphasis.
|
|
356
|
+
*
|
|
357
|
+
* __Example usages:__
|
|
358
|
+
* - Save
|
|
359
|
+
* - Confirm
|
|
360
|
+
* - Done
|
|
361
|
+
*
|
|
362
|
+
* @final
|
|
363
|
+
* @suppress {visibility}
|
|
364
|
+
*/
|
|
365
|
+
var MdFilledTonalButton = class MdFilledTonalButton extends FilledTonalButton {};
|
|
366
|
+
MdFilledTonalButton.styles = [
|
|
367
|
+
styles$7,
|
|
368
|
+
styles$8,
|
|
369
|
+
styles$9
|
|
370
|
+
];
|
|
371
|
+
MdFilledTonalButton = __decorate([t$1("md-filled-tonal-button")], MdFilledTonalButton);
|
|
337
372
|
// ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/button/internal/text-button.js
|
|
338
373
|
/**
|
|
339
374
|
* @license
|
|
@@ -350,7 +385,7 @@ var TextButton = class extends Button {};
|
|
|
350
385
|
* Copyright 2026 Google LLC
|
|
351
386
|
* SPDX-License-Identifier: Apache-2.0
|
|
352
387
|
*/
|
|
353
|
-
var styles$6 = i$
|
|
388
|
+
var styles$6 = i$3`:host{--_container-height: var(--md-text-button-container-height, 40px);--_disabled-label-text-color: var(--md-text-button-disabled-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-label-text-opacity: var(--md-text-button-disabled-label-text-opacity, 0.38);--_focus-label-text-color: var(--md-text-button-focus-label-text-color, var(--md-sys-color-primary, #6750a4));--_hover-label-text-color: var(--md-text-button-hover-label-text-color, var(--md-sys-color-primary, #6750a4));--_hover-state-layer-color: var(--md-text-button-hover-state-layer-color, var(--md-sys-color-primary, #6750a4));--_hover-state-layer-opacity: var(--md-text-button-hover-state-layer-opacity, 0.08);--_label-text-color: var(--md-text-button-label-text-color, var(--md-sys-color-primary, #6750a4));--_label-text-font: var(--md-text-button-label-text-font, var(--md-sys-typescale-label-large-font, var(--md-ref-typeface-plain, Roboto)));--_label-text-line-height: var(--md-text-button-label-text-line-height, var(--md-sys-typescale-label-large-line-height, 1.25rem));--_label-text-size: var(--md-text-button-label-text-size, var(--md-sys-typescale-label-large-size, 0.875rem));--_label-text-weight: var(--md-text-button-label-text-weight, var(--md-sys-typescale-label-large-weight, var(--md-ref-typeface-weight-medium, 500)));--_pressed-label-text-color: var(--md-text-button-pressed-label-text-color, var(--md-sys-color-primary, #6750a4));--_pressed-state-layer-color: var(--md-text-button-pressed-state-layer-color, var(--md-sys-color-primary, #6750a4));--_pressed-state-layer-opacity: var(--md-text-button-pressed-state-layer-opacity, 0.12);--_disabled-icon-color: var(--md-text-button-disabled-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-icon-opacity: var(--md-text-button-disabled-icon-opacity, 0.38);--_focus-icon-color: var(--md-text-button-focus-icon-color, var(--md-sys-color-primary, #6750a4));--_hover-icon-color: var(--md-text-button-hover-icon-color, var(--md-sys-color-primary, #6750a4));--_icon-color: var(--md-text-button-icon-color, var(--md-sys-color-primary, #6750a4));--_icon-size: var(--md-text-button-icon-size, 18px);--_pressed-icon-color: var(--md-text-button-pressed-icon-color, var(--md-sys-color-primary, #6750a4));--_container-shape-start-start: var(--md-text-button-container-shape-start-start, var(--md-text-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-start-end: var(--md-text-button-container-shape-start-end, var(--md-text-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-end-end: var(--md-text-button-container-shape-end-end, var(--md-text-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-end-start: var(--md-text-button-container-shape-end-start, var(--md-text-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_leading-space: var(--md-text-button-leading-space, 12px);--_trailing-space: var(--md-text-button-trailing-space, 12px);--_with-leading-icon-leading-space: var(--md-text-button-with-leading-icon-leading-space, 12px);--_with-leading-icon-trailing-space: var(--md-text-button-with-leading-icon-trailing-space, 16px);--_with-trailing-icon-leading-space: var(--md-text-button-with-trailing-icon-leading-space, 16px);--_with-trailing-icon-trailing-space: var(--md-text-button-with-trailing-icon-trailing-space, 12px);--_container-color: none;--_disabled-container-color: none;--_disabled-container-opacity: 0}
|
|
354
389
|
`;
|
|
355
390
|
styles$6.styleSheet;
|
|
356
391
|
// ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/button/text-button.js
|
|
@@ -391,7 +426,7 @@ MdTextButton = __decorate([t$1("md-text-button")], MdTextButton);
|
|
|
391
426
|
/**
|
|
392
427
|
* A divider component.
|
|
393
428
|
*/
|
|
394
|
-
var Divider = class extends i$
|
|
429
|
+
var Divider = class extends i$2 {
|
|
395
430
|
constructor() {
|
|
396
431
|
super(...arguments);
|
|
397
432
|
/**
|
|
@@ -428,7 +463,7 @@ __decorate([n$2({
|
|
|
428
463
|
* Copyright 2026 Google LLC
|
|
429
464
|
* SPDX-License-Identifier: Apache-2.0
|
|
430
465
|
*/
|
|
431
|
-
var styles$5 = i$
|
|
466
|
+
var styles$5 = i$3`: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}}
|
|
432
467
|
`;
|
|
433
468
|
styles$5.styleSheet;
|
|
434
469
|
// ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/divider/divider.js
|
|
@@ -592,7 +627,7 @@ var DIALOG_DEFAULT_CLOSE_ANIMATION = {
|
|
|
592
627
|
* Copyright 2023 Google LLC
|
|
593
628
|
* SPDX-License-Identifier: Apache-2.0
|
|
594
629
|
*/
|
|
595
|
-
var dialogBaseClass = mixinDelegatesAria(i$
|
|
630
|
+
var dialogBaseClass = mixinDelegatesAria(i$2);
|
|
596
631
|
/**
|
|
597
632
|
* A dialog component.
|
|
598
633
|
*
|
|
@@ -964,7 +999,7 @@ function isFocusable(element) {
|
|
|
964
999
|
* Copyright 2026 Google LLC
|
|
965
1000
|
* SPDX-License-Identifier: Apache-2.0
|
|
966
1001
|
*/
|
|
967
|
-
var styles$4 = i$
|
|
1002
|
+
var styles$4 = i$3`: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}}
|
|
968
1003
|
`;
|
|
969
1004
|
styles$4.styleSheet;
|
|
970
1005
|
// ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/dialog/dialog.js
|
|
@@ -1003,47 +1038,6 @@ styles$4.styleSheet;
|
|
|
1003
1038
|
var MdDialog = class MdDialog extends Dialog {};
|
|
1004
1039
|
MdDialog.styles = [styles$4];
|
|
1005
1040
|
MdDialog = __decorate([t$1("md-dialog")], MdDialog);
|
|
1006
|
-
// src/lib/components/SessionsPane/EndSessionDialog.svelte
|
|
1007
|
-
function EndSessionDialog($$renderer, $$props) {
|
|
1008
|
-
$$renderer.component(($$renderer) => {
|
|
1009
|
-
/** The session's entry count; the bridge forgets a session that ends with none. */
|
|
1010
|
-
/** Rejects with a message to show; resolves when the session has ended. */
|
|
1011
|
-
let { open, sessionId, entries, onEnd, onClose } = $$props;
|
|
1012
|
-
const empty = derived(() => entries === 0);
|
|
1013
|
-
let busy = false;
|
|
1014
|
-
$$renderer.push(`<md-dialog${attr("open", open, true)} class="svelte-17z3k9b"><div slot="headline">${escape_html(empty() ? "Drop" : "End")} session ${escape_html(sessionId === null ? "" : `#${sessionId}`)}?</div> <div slot="content">`);
|
|
1015
|
-
if (empty()) $$renderer.push(`<!--[0--><p class="svelte-17z3k9b">This session has no entries, so ending it deletes it. Its number is not reused.</p>`);
|
|
1016
|
-
else $$renderer.push(`<!--[-1--><p class="svelte-17z3k9b">Speech captured after this belongs to no session.</p>`);
|
|
1017
|
-
$$renderer.push(`<!--]--> `);
|
|
1018
|
-
$$renderer.push("<!--[-1-->");
|
|
1019
|
-
$$renderer.push(`<!--]--></div> <div slot="actions"><md-text-button type="button">Cancel</md-text-button> <md-text-button type="button"${attr("disabled", busy, true)}>End session</md-text-button></div></md-dialog>`);
|
|
1020
|
-
});
|
|
1021
|
-
}
|
|
1022
|
-
// src/lib/components/SessionsPane/SessionRow.svelte
|
|
1023
|
-
function SessionRow($$renderer, $$props) {
|
|
1024
|
-
$$renderer.component(($$renderer) => {
|
|
1025
|
-
/** Epoch ms: the end of a live session's duration. */
|
|
1026
|
-
let { session, now, selected, live, onSelect } = $$props;
|
|
1027
|
-
const meta = derived(() => describeSession(session, now));
|
|
1028
|
-
function subtitle($$renderer) {
|
|
1029
|
-
$$renderer.push(`<span class="meta svelte-wvg2ho">`);
|
|
1030
|
-
if (live) $$renderer.push(`<!--[0--><span class="dot svelte-wvg2ho"></span>`);
|
|
1031
|
-
else $$renderer.push("<!--[-1-->");
|
|
1032
|
-
$$renderer.push(`<!--]--> <span class="svelte-wvg2ho">${escape_html(meta().id)}</span> `);
|
|
1033
|
-
if (meta().run !== null) $$renderer.push(`<!--[0--><span class="run svelte-wvg2ho">${escape_html(meta().run)}</span>`);
|
|
1034
|
-
else $$renderer.push("<!--[-1-->");
|
|
1035
|
-
$$renderer.push(`<!--]--> <span class="svelte-wvg2ho">${escape_html(meta().duration)}</span> <span class="svelte-wvg2ho">${escape_html(meta().entries)}</span></span>`);
|
|
1036
|
-
}
|
|
1037
|
-
ListItem($$renderer, {
|
|
1038
|
-
title: session.name,
|
|
1039
|
-
shape: "var(--md-sys-shape-corner-extra-large, 28px)",
|
|
1040
|
-
subtitle,
|
|
1041
|
-
selected,
|
|
1042
|
-
description: meta().spoken,
|
|
1043
|
-
onSelect
|
|
1044
|
-
});
|
|
1045
|
-
});
|
|
1046
|
-
}
|
|
1047
1041
|
// ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/field/internal/field.js
|
|
1048
1042
|
/**
|
|
1049
1043
|
* @license
|
|
@@ -1053,7 +1047,7 @@ function SessionRow($$renderer, $$props) {
|
|
|
1053
1047
|
/**
|
|
1054
1048
|
* A field component.
|
|
1055
1049
|
*/
|
|
1056
|
-
var Field = class extends i$
|
|
1050
|
+
var Field = class extends i$2 {
|
|
1057
1051
|
constructor() {
|
|
1058
1052
|
super(...arguments);
|
|
1059
1053
|
this.disabled = false;
|
|
@@ -1313,7 +1307,7 @@ var OutlinedField = class extends Field {
|
|
|
1313
1307
|
* Copyright 2026 Google LLC
|
|
1314
1308
|
* SPDX-License-Identifier: Apache-2.0
|
|
1315
1309
|
*/
|
|
1316
|
-
var styles$3 = i$2`@layer styles{:host{--_bottom-space: var(--md-outlined-field-bottom-space, 16px);--_content-color: var(--md-outlined-field-content-color, var(--md-sys-color-on-surface, #1d1b20));--_content-font: var(--md-outlined-field-content-font, var(--md-sys-typescale-body-large-font, var(--md-ref-typeface-plain, Roboto)));--_content-line-height: var(--md-outlined-field-content-line-height, var(--md-sys-typescale-body-large-line-height, 1.5rem));--_content-size: var(--md-outlined-field-content-size, var(--md-sys-typescale-body-large-size, 1rem));--_content-space: var(--md-outlined-field-content-space, 16px);--_content-weight: var(--md-outlined-field-content-weight, var(--md-sys-typescale-body-large-weight, var(--md-ref-typeface-weight-regular, 400)));--_disabled-content-color: var(--md-outlined-field-disabled-content-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-content-opacity: var(--md-outlined-field-disabled-content-opacity, 0.38);--_disabled-label-text-color: var(--md-outlined-field-disabled-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-label-text-opacity: var(--md-outlined-field-disabled-label-text-opacity, 0.38);--_disabled-leading-content-color: var(--md-outlined-field-disabled-leading-content-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-leading-content-opacity: var(--md-outlined-field-disabled-leading-content-opacity, 0.38);--_disabled-outline-color: var(--md-outlined-field-disabled-outline-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-outline-opacity: var(--md-outlined-field-disabled-outline-opacity, 0.12);--_disabled-outline-width: var(--md-outlined-field-disabled-outline-width, 1px);--_disabled-supporting-text-color: var(--md-outlined-field-disabled-supporting-text-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-supporting-text-opacity: var(--md-outlined-field-disabled-supporting-text-opacity, 0.38);--_disabled-trailing-content-color: var(--md-outlined-field-disabled-trailing-content-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-trailing-content-opacity: var(--md-outlined-field-disabled-trailing-content-opacity, 0.38);--_error-content-color: var(--md-outlined-field-error-content-color, var(--md-sys-color-on-surface, #1d1b20));--_error-focus-content-color: var(--md-outlined-field-error-focus-content-color, var(--md-sys-color-on-surface, #1d1b20));--_error-focus-label-text-color: var(--md-outlined-field-error-focus-label-text-color, var(--md-sys-color-error, #b3261e));--_error-focus-leading-content-color: var(--md-outlined-field-error-focus-leading-content-color, var(--md-sys-color-on-surface-variant, #49454f));--_error-focus-outline-color: var(--md-outlined-field-error-focus-outline-color, var(--md-sys-color-error, #b3261e));--_error-focus-supporting-text-color: var(--md-outlined-field-error-focus-supporting-text-color, var(--md-sys-color-error, #b3261e));--_error-focus-trailing-content-color: var(--md-outlined-field-error-focus-trailing-content-color, var(--md-sys-color-error, #b3261e));--_error-hover-content-color: var(--md-outlined-field-error-hover-content-color, var(--md-sys-color-on-surface, #1d1b20));--_error-hover-label-text-color: var(--md-outlined-field-error-hover-label-text-color, var(--md-sys-color-on-error-container, #410e0b));--_error-hover-leading-content-color: var(--md-outlined-field-error-hover-leading-content-color, var(--md-sys-color-on-surface-variant, #49454f));--_error-hover-outline-color: var(--md-outlined-field-error-hover-outline-color, var(--md-sys-color-on-error-container, #410e0b));--_error-hover-supporting-text-color: var(--md-outlined-field-error-hover-supporting-text-color, var(--md-sys-color-error, #b3261e));--_error-hover-trailing-content-color: var(--md-outlined-field-error-hover-trailing-content-color, var(--md-sys-color-on-error-container, #410e0b));--_error-label-text-color: var(--md-outlined-field-error-label-text-color, var(--md-sys-color-error, #b3261e));--_error-leading-content-color: var(--md-outlined-field-error-leading-content-color, var(--md-sys-color-on-surface-variant, #49454f));--_error-outline-color: var(--md-outlined-field-error-outline-color, var(--md-sys-color-error, #b3261e));--_error-supporting-text-color: var(--md-outlined-field-error-supporting-text-color, var(--md-sys-color-error, #b3261e));--_error-trailing-content-color: var(--md-outlined-field-error-trailing-content-color, var(--md-sys-color-error, #b3261e));--_focus-content-color: var(--md-outlined-field-focus-content-color, var(--md-sys-color-on-surface, #1d1b20));--_focus-label-text-color: var(--md-outlined-field-focus-label-text-color, var(--md-sys-color-primary, #6750a4));--_focus-leading-content-color: var(--md-outlined-field-focus-leading-content-color, var(--md-sys-color-on-surface-variant, #49454f));--_focus-outline-color: var(--md-outlined-field-focus-outline-color, var(--md-sys-color-primary, #6750a4));--_focus-outline-width: var(--md-outlined-field-focus-outline-width, 3px);--_focus-supporting-text-color: var(--md-outlined-field-focus-supporting-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_focus-trailing-content-color: var(--md-outlined-field-focus-trailing-content-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-content-color: var(--md-outlined-field-hover-content-color, var(--md-sys-color-on-surface, #1d1b20));--_hover-label-text-color: var(--md-outlined-field-hover-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_hover-leading-content-color: var(--md-outlined-field-hover-leading-content-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-outline-color: var(--md-outlined-field-hover-outline-color, var(--md-sys-color-on-surface, #1d1b20));--_hover-outline-width: var(--md-outlined-field-hover-outline-width, 1px);--_hover-supporting-text-color: var(--md-outlined-field-hover-supporting-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-trailing-content-color: var(--md-outlined-field-hover-trailing-content-color, var(--md-sys-color-on-surface-variant, #49454f));--_label-text-color: var(--md-outlined-field-label-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_label-text-font: var(--md-outlined-field-label-text-font, var(--md-sys-typescale-body-large-font, var(--md-ref-typeface-plain, Roboto)));--_label-text-line-height: var(--md-outlined-field-label-text-line-height, var(--md-sys-typescale-body-large-line-height, 1.5rem));--_label-text-padding-bottom: var(--md-outlined-field-label-text-padding-bottom, 8px);--_label-text-populated-line-height: var(--md-outlined-field-label-text-populated-line-height, var(--md-sys-typescale-body-small-line-height, 1rem));--_label-text-populated-size: var(--md-outlined-field-label-text-populated-size, var(--md-sys-typescale-body-small-size, 0.75rem));--_label-text-size: var(--md-outlined-field-label-text-size, var(--md-sys-typescale-body-large-size, 1rem));--_label-text-weight: var(--md-outlined-field-label-text-weight, var(--md-sys-typescale-body-large-weight, var(--md-ref-typeface-weight-regular, 400)));--_leading-content-color: var(--md-outlined-field-leading-content-color, var(--md-sys-color-on-surface-variant, #49454f));--_leading-space: var(--md-outlined-field-leading-space, 16px);--_outline-color: var(--md-outlined-field-outline-color, var(--md-sys-color-outline, #79747e));--_outline-label-padding: var(--md-outlined-field-outline-label-padding, 4px);--_outline-width: var(--md-outlined-field-outline-width, 1px);--_supporting-text-color: var(--md-outlined-field-supporting-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_supporting-text-font: var(--md-outlined-field-supporting-text-font, var(--md-sys-typescale-body-small-font, var(--md-ref-typeface-plain, Roboto)));--_supporting-text-leading-space: var(--md-outlined-field-supporting-text-leading-space, 16px);--_supporting-text-line-height: var(--md-outlined-field-supporting-text-line-height, var(--md-sys-typescale-body-small-line-height, 1rem));--_supporting-text-size: var(--md-outlined-field-supporting-text-size, var(--md-sys-typescale-body-small-size, 0.75rem));--_supporting-text-top-space: var(--md-outlined-field-supporting-text-top-space, 4px);--_supporting-text-trailing-space: var(--md-outlined-field-supporting-text-trailing-space, 16px);--_supporting-text-weight: var(--md-outlined-field-supporting-text-weight, var(--md-sys-typescale-body-small-weight, var(--md-ref-typeface-weight-regular, 400)));--_top-space: var(--md-outlined-field-top-space, 16px);--_trailing-content-color: var(--md-outlined-field-trailing-content-color, var(--md-sys-color-on-surface-variant, #49454f));--_trailing-space: var(--md-outlined-field-trailing-space, 16px);--_with-leading-content-leading-space: var(--md-outlined-field-with-leading-content-leading-space, 12px);--_with-trailing-content-trailing-space: var(--md-outlined-field-with-trailing-content-trailing-space, 12px);--_container-shape-start-start: var(--md-outlined-field-container-shape-start-start, var(--md-outlined-field-container-shape, var(--md-sys-shape-corner-extra-small, 4px)));--_container-shape-start-end: var(--md-outlined-field-container-shape-start-end, var(--md-outlined-field-container-shape, var(--md-sys-shape-corner-extra-small, 4px)));--_container-shape-end-end: var(--md-outlined-field-container-shape-end-end, var(--md-outlined-field-container-shape, var(--md-sys-shape-corner-extra-small, 4px)));--_container-shape-end-start: var(--md-outlined-field-container-shape-end-start, var(--md-outlined-field-container-shape, var(--md-sys-shape-corner-extra-small, 4px)))}.outline{border-color:var(--_outline-color);border-radius:inherit;display:flex;pointer-events:none;height:100%;position:absolute;width:100%;z-index:1}.outline-start::before,.outline-start::after,.outline-panel-inactive::before,.outline-panel-inactive::after,.outline-panel-active::before,.outline-panel-active::after,.outline-end::before,.outline-end::after{border:inherit;content:"";inset:0;position:absolute}.outline-start,.outline-end{border:inherit;border-radius:inherit;box-sizing:border-box;position:relative}.outline-start::before,.outline-start::after,.outline-end::before,.outline-end::after{border-bottom-style:solid;border-top-style:solid}.outline-start::after,.outline-end::after{opacity:0;transition:opacity 150ms cubic-bezier(0.2, 0, 0, 1)}.focused .outline-start::after,.focused .outline-end::after{opacity:1}.outline-start::before,.outline-start::after{border-inline-start-style:solid;border-inline-end-style:none;border-start-start-radius:inherit;border-start-end-radius:0;border-end-start-radius:inherit;border-end-end-radius:0;margin-inline-end:var(--_outline-label-padding)}.outline-end{flex-grow:1;margin-inline-start:calc(-1*var(--_outline-label-padding))}.outline-end::before,.outline-end::after{border-inline-start-style:none;border-inline-end-style:solid;border-start-start-radius:0;border-start-end-radius:inherit;border-end-start-radius:0;border-end-end-radius:inherit}.outline-notch{align-items:flex-start;border:inherit;display:flex;margin-inline-start:calc(-1*var(--_outline-label-padding));margin-inline-end:var(--_outline-label-padding);max-width:calc(100% - var(--_leading-space) - var(--_trailing-space));padding:0 var(--_outline-label-padding);position:relative}.no-label .outline-notch{display:none}.outline-panel-inactive,.outline-panel-active{border:inherit;border-bottom-style:solid;inset:0;position:absolute}.outline-panel-inactive::before,.outline-panel-inactive::after,.outline-panel-active::before,.outline-panel-active::after{border-top-style:solid;border-bottom:none;bottom:auto;transform:scaleX(1);transition:transform 150ms cubic-bezier(0.2, 0, 0, 1)}.outline-panel-inactive::before,.outline-panel-active::before{right:50%;transform-origin:top left}.outline-panel-inactive::after,.outline-panel-active::after{left:50%;transform-origin:top right}.populated .outline-panel-inactive::before,.populated .outline-panel-inactive::after,.populated .outline-panel-active::before,.populated .outline-panel-active::after,.focused .outline-panel-inactive::before,.focused .outline-panel-inactive::after,.focused .outline-panel-active::before,.focused .outline-panel-active::after{transform:scaleX(0)}.outline-panel-active{opacity:0;transition:opacity 150ms cubic-bezier(0.2, 0, 0, 1)}.focused .outline-panel-active{opacity:1}.outline-label{display:flex;max-width:100%;transform:translateY(calc(-100% + var(--_label-text-padding-bottom)))}.outline-start,.field:not(.with-start) .content ::slotted(*){padding-inline-start:max(var(--_leading-space),max(var(--_container-shape-start-start),var(--_container-shape-end-start)) + var(--_outline-label-padding))}.field:not(.with-start) .label-wrapper{margin-inline-start:max(var(--_leading-space),max(var(--_container-shape-start-start),var(--_container-shape-end-start)) + var(--_outline-label-padding))}.field:not(.with-end) .content ::slotted(*){padding-inline-end:max(var(--_trailing-space),max(var(--_container-shape-start-end),var(--_container-shape-end-end)))}.field:not(.with-end) .label-wrapper{margin-inline-end:max(var(--_trailing-space),max(var(--_container-shape-start-end),var(--_container-shape-end-end)))}.outline-start::before,.outline-end::before,.outline-panel-inactive,.outline-panel-inactive::before,.outline-panel-inactive::after{border-width:var(--_outline-width)}:hover .outline{border-color:var(--_hover-outline-color);color:var(--_hover-outline-color)}:hover .outline-start::before,:hover .outline-end::before,:hover .outline-panel-inactive,:hover .outline-panel-inactive::before,:hover .outline-panel-inactive::after{border-width:var(--_hover-outline-width)}.focused .outline{border-color:var(--_focus-outline-color);color:var(--_focus-outline-color)}.outline-start::after,.outline-end::after,.outline-panel-active,.outline-panel-active::before,.outline-panel-active::after{border-width:var(--_focus-outline-width)}.disabled .outline{border-color:var(--_disabled-outline-color);color:var(--_disabled-outline-color)}.disabled .outline-start,.disabled .outline-end,.disabled .outline-panel-inactive{opacity:var(--_disabled-outline-opacity)}.disabled .outline-start::before,.disabled .outline-end::before,.disabled .outline-panel-inactive,.disabled .outline-panel-inactive::before,.disabled .outline-panel-inactive::after{border-width:var(--_disabled-outline-width)}.error .outline{border-color:var(--_error-outline-color);color:var(--_error-outline-color)}.error:hover .outline{border-color:var(--_error-hover-outline-color);color:var(--_error-hover-outline-color)}.error.focused .outline{border-color:var(--_error-focus-outline-color);color:var(--_error-focus-outline-color)}.resizable .container{bottom:var(--_focus-outline-width);inset-inline-end:var(--_focus-outline-width);clip-path:inset(var(--_focus-outline-width) 0 0 var(--_focus-outline-width))}.resizable .container>*{top:var(--_focus-outline-width);inset-inline-start:var(--_focus-outline-width)}.resizable .container:dir(rtl){clip-path:inset(var(--_focus-outline-width) var(--_focus-outline-width) 0 0)}}@layer hcm{@media(forced-colors: active){.disabled .outline{border-color:GrayText;color:GrayText}.disabled :is(.outline-start,.outline-end,.outline-panel-inactive){opacity:1}}}
|
|
1310
|
+
var styles$3 = i$3`@layer styles{:host{--_bottom-space: var(--md-outlined-field-bottom-space, 16px);--_content-color: var(--md-outlined-field-content-color, var(--md-sys-color-on-surface, #1d1b20));--_content-font: var(--md-outlined-field-content-font, var(--md-sys-typescale-body-large-font, var(--md-ref-typeface-plain, Roboto)));--_content-line-height: var(--md-outlined-field-content-line-height, var(--md-sys-typescale-body-large-line-height, 1.5rem));--_content-size: var(--md-outlined-field-content-size, var(--md-sys-typescale-body-large-size, 1rem));--_content-space: var(--md-outlined-field-content-space, 16px);--_content-weight: var(--md-outlined-field-content-weight, var(--md-sys-typescale-body-large-weight, var(--md-ref-typeface-weight-regular, 400)));--_disabled-content-color: var(--md-outlined-field-disabled-content-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-content-opacity: var(--md-outlined-field-disabled-content-opacity, 0.38);--_disabled-label-text-color: var(--md-outlined-field-disabled-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-label-text-opacity: var(--md-outlined-field-disabled-label-text-opacity, 0.38);--_disabled-leading-content-color: var(--md-outlined-field-disabled-leading-content-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-leading-content-opacity: var(--md-outlined-field-disabled-leading-content-opacity, 0.38);--_disabled-outline-color: var(--md-outlined-field-disabled-outline-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-outline-opacity: var(--md-outlined-field-disabled-outline-opacity, 0.12);--_disabled-outline-width: var(--md-outlined-field-disabled-outline-width, 1px);--_disabled-supporting-text-color: var(--md-outlined-field-disabled-supporting-text-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-supporting-text-opacity: var(--md-outlined-field-disabled-supporting-text-opacity, 0.38);--_disabled-trailing-content-color: var(--md-outlined-field-disabled-trailing-content-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-trailing-content-opacity: var(--md-outlined-field-disabled-trailing-content-opacity, 0.38);--_error-content-color: var(--md-outlined-field-error-content-color, var(--md-sys-color-on-surface, #1d1b20));--_error-focus-content-color: var(--md-outlined-field-error-focus-content-color, var(--md-sys-color-on-surface, #1d1b20));--_error-focus-label-text-color: var(--md-outlined-field-error-focus-label-text-color, var(--md-sys-color-error, #b3261e));--_error-focus-leading-content-color: var(--md-outlined-field-error-focus-leading-content-color, var(--md-sys-color-on-surface-variant, #49454f));--_error-focus-outline-color: var(--md-outlined-field-error-focus-outline-color, var(--md-sys-color-error, #b3261e));--_error-focus-supporting-text-color: var(--md-outlined-field-error-focus-supporting-text-color, var(--md-sys-color-error, #b3261e));--_error-focus-trailing-content-color: var(--md-outlined-field-error-focus-trailing-content-color, var(--md-sys-color-error, #b3261e));--_error-hover-content-color: var(--md-outlined-field-error-hover-content-color, var(--md-sys-color-on-surface, #1d1b20));--_error-hover-label-text-color: var(--md-outlined-field-error-hover-label-text-color, var(--md-sys-color-on-error-container, #410e0b));--_error-hover-leading-content-color: var(--md-outlined-field-error-hover-leading-content-color, var(--md-sys-color-on-surface-variant, #49454f));--_error-hover-outline-color: var(--md-outlined-field-error-hover-outline-color, var(--md-sys-color-on-error-container, #410e0b));--_error-hover-supporting-text-color: var(--md-outlined-field-error-hover-supporting-text-color, var(--md-sys-color-error, #b3261e));--_error-hover-trailing-content-color: var(--md-outlined-field-error-hover-trailing-content-color, var(--md-sys-color-on-error-container, #410e0b));--_error-label-text-color: var(--md-outlined-field-error-label-text-color, var(--md-sys-color-error, #b3261e));--_error-leading-content-color: var(--md-outlined-field-error-leading-content-color, var(--md-sys-color-on-surface-variant, #49454f));--_error-outline-color: var(--md-outlined-field-error-outline-color, var(--md-sys-color-error, #b3261e));--_error-supporting-text-color: var(--md-outlined-field-error-supporting-text-color, var(--md-sys-color-error, #b3261e));--_error-trailing-content-color: var(--md-outlined-field-error-trailing-content-color, var(--md-sys-color-error, #b3261e));--_focus-content-color: var(--md-outlined-field-focus-content-color, var(--md-sys-color-on-surface, #1d1b20));--_focus-label-text-color: var(--md-outlined-field-focus-label-text-color, var(--md-sys-color-primary, #6750a4));--_focus-leading-content-color: var(--md-outlined-field-focus-leading-content-color, var(--md-sys-color-on-surface-variant, #49454f));--_focus-outline-color: var(--md-outlined-field-focus-outline-color, var(--md-sys-color-primary, #6750a4));--_focus-outline-width: var(--md-outlined-field-focus-outline-width, 3px);--_focus-supporting-text-color: var(--md-outlined-field-focus-supporting-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_focus-trailing-content-color: var(--md-outlined-field-focus-trailing-content-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-content-color: var(--md-outlined-field-hover-content-color, var(--md-sys-color-on-surface, #1d1b20));--_hover-label-text-color: var(--md-outlined-field-hover-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_hover-leading-content-color: var(--md-outlined-field-hover-leading-content-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-outline-color: var(--md-outlined-field-hover-outline-color, var(--md-sys-color-on-surface, #1d1b20));--_hover-outline-width: var(--md-outlined-field-hover-outline-width, 1px);--_hover-supporting-text-color: var(--md-outlined-field-hover-supporting-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-trailing-content-color: var(--md-outlined-field-hover-trailing-content-color, var(--md-sys-color-on-surface-variant, #49454f));--_label-text-color: var(--md-outlined-field-label-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_label-text-font: var(--md-outlined-field-label-text-font, var(--md-sys-typescale-body-large-font, var(--md-ref-typeface-plain, Roboto)));--_label-text-line-height: var(--md-outlined-field-label-text-line-height, var(--md-sys-typescale-body-large-line-height, 1.5rem));--_label-text-padding-bottom: var(--md-outlined-field-label-text-padding-bottom, 8px);--_label-text-populated-line-height: var(--md-outlined-field-label-text-populated-line-height, var(--md-sys-typescale-body-small-line-height, 1rem));--_label-text-populated-size: var(--md-outlined-field-label-text-populated-size, var(--md-sys-typescale-body-small-size, 0.75rem));--_label-text-size: var(--md-outlined-field-label-text-size, var(--md-sys-typescale-body-large-size, 1rem));--_label-text-weight: var(--md-outlined-field-label-text-weight, var(--md-sys-typescale-body-large-weight, var(--md-ref-typeface-weight-regular, 400)));--_leading-content-color: var(--md-outlined-field-leading-content-color, var(--md-sys-color-on-surface-variant, #49454f));--_leading-space: var(--md-outlined-field-leading-space, 16px);--_outline-color: var(--md-outlined-field-outline-color, var(--md-sys-color-outline, #79747e));--_outline-label-padding: var(--md-outlined-field-outline-label-padding, 4px);--_outline-width: var(--md-outlined-field-outline-width, 1px);--_supporting-text-color: var(--md-outlined-field-supporting-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_supporting-text-font: var(--md-outlined-field-supporting-text-font, var(--md-sys-typescale-body-small-font, var(--md-ref-typeface-plain, Roboto)));--_supporting-text-leading-space: var(--md-outlined-field-supporting-text-leading-space, 16px);--_supporting-text-line-height: var(--md-outlined-field-supporting-text-line-height, var(--md-sys-typescale-body-small-line-height, 1rem));--_supporting-text-size: var(--md-outlined-field-supporting-text-size, var(--md-sys-typescale-body-small-size, 0.75rem));--_supporting-text-top-space: var(--md-outlined-field-supporting-text-top-space, 4px);--_supporting-text-trailing-space: var(--md-outlined-field-supporting-text-trailing-space, 16px);--_supporting-text-weight: var(--md-outlined-field-supporting-text-weight, var(--md-sys-typescale-body-small-weight, var(--md-ref-typeface-weight-regular, 400)));--_top-space: var(--md-outlined-field-top-space, 16px);--_trailing-content-color: var(--md-outlined-field-trailing-content-color, var(--md-sys-color-on-surface-variant, #49454f));--_trailing-space: var(--md-outlined-field-trailing-space, 16px);--_with-leading-content-leading-space: var(--md-outlined-field-with-leading-content-leading-space, 12px);--_with-trailing-content-trailing-space: var(--md-outlined-field-with-trailing-content-trailing-space, 12px);--_container-shape-start-start: var(--md-outlined-field-container-shape-start-start, var(--md-outlined-field-container-shape, var(--md-sys-shape-corner-extra-small, 4px)));--_container-shape-start-end: var(--md-outlined-field-container-shape-start-end, var(--md-outlined-field-container-shape, var(--md-sys-shape-corner-extra-small, 4px)));--_container-shape-end-end: var(--md-outlined-field-container-shape-end-end, var(--md-outlined-field-container-shape, var(--md-sys-shape-corner-extra-small, 4px)));--_container-shape-end-start: var(--md-outlined-field-container-shape-end-start, var(--md-outlined-field-container-shape, var(--md-sys-shape-corner-extra-small, 4px)))}.outline{border-color:var(--_outline-color);border-radius:inherit;display:flex;pointer-events:none;height:100%;position:absolute;width:100%;z-index:1}.outline-start::before,.outline-start::after,.outline-panel-inactive::before,.outline-panel-inactive::after,.outline-panel-active::before,.outline-panel-active::after,.outline-end::before,.outline-end::after{border:inherit;content:"";inset:0;position:absolute}.outline-start,.outline-end{border:inherit;border-radius:inherit;box-sizing:border-box;position:relative}.outline-start::before,.outline-start::after,.outline-end::before,.outline-end::after{border-bottom-style:solid;border-top-style:solid}.outline-start::after,.outline-end::after{opacity:0;transition:opacity 150ms cubic-bezier(0.2, 0, 0, 1)}.focused .outline-start::after,.focused .outline-end::after{opacity:1}.outline-start::before,.outline-start::after{border-inline-start-style:solid;border-inline-end-style:none;border-start-start-radius:inherit;border-start-end-radius:0;border-end-start-radius:inherit;border-end-end-radius:0;margin-inline-end:var(--_outline-label-padding)}.outline-end{flex-grow:1;margin-inline-start:calc(-1*var(--_outline-label-padding))}.outline-end::before,.outline-end::after{border-inline-start-style:none;border-inline-end-style:solid;border-start-start-radius:0;border-start-end-radius:inherit;border-end-start-radius:0;border-end-end-radius:inherit}.outline-notch{align-items:flex-start;border:inherit;display:flex;margin-inline-start:calc(-1*var(--_outline-label-padding));margin-inline-end:var(--_outline-label-padding);max-width:calc(100% - var(--_leading-space) - var(--_trailing-space));padding:0 var(--_outline-label-padding);position:relative}.no-label .outline-notch{display:none}.outline-panel-inactive,.outline-panel-active{border:inherit;border-bottom-style:solid;inset:0;position:absolute}.outline-panel-inactive::before,.outline-panel-inactive::after,.outline-panel-active::before,.outline-panel-active::after{border-top-style:solid;border-bottom:none;bottom:auto;transform:scaleX(1);transition:transform 150ms cubic-bezier(0.2, 0, 0, 1)}.outline-panel-inactive::before,.outline-panel-active::before{right:50%;transform-origin:top left}.outline-panel-inactive::after,.outline-panel-active::after{left:50%;transform-origin:top right}.populated .outline-panel-inactive::before,.populated .outline-panel-inactive::after,.populated .outline-panel-active::before,.populated .outline-panel-active::after,.focused .outline-panel-inactive::before,.focused .outline-panel-inactive::after,.focused .outline-panel-active::before,.focused .outline-panel-active::after{transform:scaleX(0)}.outline-panel-active{opacity:0;transition:opacity 150ms cubic-bezier(0.2, 0, 0, 1)}.focused .outline-panel-active{opacity:1}.outline-label{display:flex;max-width:100%;transform:translateY(calc(-100% + var(--_label-text-padding-bottom)))}.outline-start,.field:not(.with-start) .content ::slotted(*){padding-inline-start:max(var(--_leading-space),max(var(--_container-shape-start-start),var(--_container-shape-end-start)) + var(--_outline-label-padding))}.field:not(.with-start) .label-wrapper{margin-inline-start:max(var(--_leading-space),max(var(--_container-shape-start-start),var(--_container-shape-end-start)) + var(--_outline-label-padding))}.field:not(.with-end) .content ::slotted(*){padding-inline-end:max(var(--_trailing-space),max(var(--_container-shape-start-end),var(--_container-shape-end-end)))}.field:not(.with-end) .label-wrapper{margin-inline-end:max(var(--_trailing-space),max(var(--_container-shape-start-end),var(--_container-shape-end-end)))}.outline-start::before,.outline-end::before,.outline-panel-inactive,.outline-panel-inactive::before,.outline-panel-inactive::after{border-width:var(--_outline-width)}:hover .outline{border-color:var(--_hover-outline-color);color:var(--_hover-outline-color)}:hover .outline-start::before,:hover .outline-end::before,:hover .outline-panel-inactive,:hover .outline-panel-inactive::before,:hover .outline-panel-inactive::after{border-width:var(--_hover-outline-width)}.focused .outline{border-color:var(--_focus-outline-color);color:var(--_focus-outline-color)}.outline-start::after,.outline-end::after,.outline-panel-active,.outline-panel-active::before,.outline-panel-active::after{border-width:var(--_focus-outline-width)}.disabled .outline{border-color:var(--_disabled-outline-color);color:var(--_disabled-outline-color)}.disabled .outline-start,.disabled .outline-end,.disabled .outline-panel-inactive{opacity:var(--_disabled-outline-opacity)}.disabled .outline-start::before,.disabled .outline-end::before,.disabled .outline-panel-inactive,.disabled .outline-panel-inactive::before,.disabled .outline-panel-inactive::after{border-width:var(--_disabled-outline-width)}.error .outline{border-color:var(--_error-outline-color);color:var(--_error-outline-color)}.error:hover .outline{border-color:var(--_error-hover-outline-color);color:var(--_error-hover-outline-color)}.error.focused .outline{border-color:var(--_error-focus-outline-color);color:var(--_error-focus-outline-color)}.resizable .container{bottom:var(--_focus-outline-width);inset-inline-end:var(--_focus-outline-width);clip-path:inset(var(--_focus-outline-width) 0 0 var(--_focus-outline-width))}.resizable .container>*{top:var(--_focus-outline-width);inset-inline-start:var(--_focus-outline-width)}.resizable .container:dir(rtl){clip-path:inset(var(--_focus-outline-width) var(--_focus-outline-width) 0 0)}}@layer hcm{@media(forced-colors: active){.disabled .outline{border-color:GrayText;color:GrayText}.disabled :is(.outline-start,.outline-end,.outline-panel-inactive){opacity:1}}}
|
|
1317
1311
|
`;
|
|
1318
1312
|
styles$3.styleSheet;
|
|
1319
1313
|
// ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/field/internal/shared-styles.cssresult.js
|
|
@@ -1322,7 +1316,7 @@ styles$3.styleSheet;
|
|
|
1322
1316
|
* Copyright 2026 Google LLC
|
|
1323
1317
|
* SPDX-License-Identifier: Apache-2.0
|
|
1324
1318
|
*/
|
|
1325
|
-
var styles$2 = i$
|
|
1319
|
+
var styles$2 = i$3`:host{display:inline-flex;resize:both}.field{display:flex;flex:1;flex-direction:column;writing-mode:horizontal-tb;max-width:100%}.container-overflow{border-start-start-radius:var(--_container-shape-start-start);border-start-end-radius:var(--_container-shape-start-end);border-end-end-radius:var(--_container-shape-end-end);border-end-start-radius:var(--_container-shape-end-start);display:flex;height:100%;position:relative}.container{align-items:center;border-radius:inherit;display:flex;flex:1;max-height:100%;min-height:100%;min-width:min-content;position:relative}.field,.container-overflow{resize:inherit}.resizable:not(.disabled) .container{resize:inherit;overflow:hidden}.disabled{pointer-events:none}slot[name=container]{border-radius:inherit}slot[name=container]::slotted(*){border-radius:inherit;inset:0;pointer-events:none;position:absolute}@layer styles{.start,.middle,.end{display:flex;box-sizing:border-box;height:100%;position:relative}.start{color:var(--_leading-content-color)}.end{color:var(--_trailing-content-color)}.start,.end{align-items:center;justify-content:center}.with-start .start{margin-inline:var(--_with-leading-content-leading-space) var(--_content-space)}.with-end .end{margin-inline:var(--_content-space) var(--_with-trailing-content-trailing-space)}.middle{align-items:stretch;align-self:baseline;flex:1}.content{color:var(--_content-color);display:flex;flex:1;opacity:0;transition:opacity 83ms cubic-bezier(0.2, 0, 0, 1)}.no-label .content,.focused .content,.populated .content{opacity:1;transition-delay:67ms}:is(.disabled,.disable-transitions) .content{transition:none}.content ::slotted(*){all:unset;color:currentColor;font-family:var(--_content-font);font-size:var(--_content-size);line-height:var(--_content-line-height);font-weight:var(--_content-weight);width:100%;overflow-wrap:revert;white-space:revert}.content ::slotted(:not(textarea)){padding-top:var(--_top-space);padding-bottom:var(--_bottom-space)}.content ::slotted(textarea){margin-top:var(--_top-space);margin-bottom:var(--_bottom-space)}:hover .content{color:var(--_hover-content-color)}:hover .start{color:var(--_hover-leading-content-color)}:hover .end{color:var(--_hover-trailing-content-color)}.focused .content{color:var(--_focus-content-color)}.focused .start{color:var(--_focus-leading-content-color)}.focused .end{color:var(--_focus-trailing-content-color)}.disabled .content{color:var(--_disabled-content-color)}.disabled.no-label .content,.disabled.focused .content,.disabled.populated .content{opacity:var(--_disabled-content-opacity)}.disabled .start{color:var(--_disabled-leading-content-color);opacity:var(--_disabled-leading-content-opacity)}.disabled .end{color:var(--_disabled-trailing-content-color);opacity:var(--_disabled-trailing-content-opacity)}.error .content{color:var(--_error-content-color)}.error .start{color:var(--_error-leading-content-color)}.error .end{color:var(--_error-trailing-content-color)}.error:hover .content{color:var(--_error-hover-content-color)}.error:hover .start{color:var(--_error-hover-leading-content-color)}.error:hover .end{color:var(--_error-hover-trailing-content-color)}.error.focused .content{color:var(--_error-focus-content-color)}.error.focused .start{color:var(--_error-focus-leading-content-color)}.error.focused .end{color:var(--_error-focus-trailing-content-color)}}@layer hcm{@media(forced-colors: active){.disabled :is(.start,.content,.end){color:GrayText;opacity:1}}}@layer styles{.label{box-sizing:border-box;color:var(--_label-text-color);overflow:hidden;max-width:100%;text-overflow:ellipsis;white-space:nowrap;z-index:1;font-family:var(--_label-text-font);font-size:var(--_label-text-size);line-height:var(--_label-text-line-height);font-weight:var(--_label-text-weight);width:min-content}.label-wrapper{inset:0;pointer-events:none;position:absolute}.label.resting{position:absolute;top:var(--_top-space)}.label.floating{font-size:var(--_label-text-populated-size);line-height:var(--_label-text-populated-line-height);transform-origin:top left}.label.hidden{opacity:0}.no-label .label{display:none}.label-wrapper{inset:0;position:absolute;text-align:initial}:hover .label{color:var(--_hover-label-text-color)}.focused .label{color:var(--_focus-label-text-color)}.disabled .label{color:var(--_disabled-label-text-color)}.disabled .label:not(.hidden){opacity:var(--_disabled-label-text-opacity)}.error .label{color:var(--_error-label-text-color)}.error:hover .label{color:var(--_error-hover-label-text-color)}.error.focused .label{color:var(--_error-focus-label-text-color)}}@layer hcm{@media(forced-colors: active){.disabled .label:not(.hidden){color:GrayText;opacity:1}}}@layer styles{.supporting-text{color:var(--_supporting-text-color);display:flex;font-family:var(--_supporting-text-font);font-size:var(--_supporting-text-size);line-height:var(--_supporting-text-line-height);font-weight:var(--_supporting-text-weight);gap:16px;justify-content:space-between;padding-inline-start:var(--_supporting-text-leading-space);padding-inline-end:var(--_supporting-text-trailing-space);padding-top:var(--_supporting-text-top-space)}.supporting-text :nth-child(2){flex-shrink:0}:hover .supporting-text{color:var(--_hover-supporting-text-color)}.focus .supporting-text{color:var(--_focus-supporting-text-color)}.disabled .supporting-text{color:var(--_disabled-supporting-text-color);opacity:var(--_disabled-supporting-text-opacity)}.error .supporting-text{color:var(--_error-supporting-text-color)}.error:hover .supporting-text{color:var(--_error-hover-supporting-text-color)}.error.focus .supporting-text{color:var(--_error-focus-supporting-text-color)}}@layer hcm{@media(forced-colors: active){.disabled .supporting-text{color:GrayText;opacity:1}}}
|
|
1326
1320
|
`;
|
|
1327
1321
|
styles$2.styleSheet;
|
|
1328
1322
|
// ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/field/outlined-field.js
|
|
@@ -1345,7 +1339,7 @@ MdOutlinedField = __decorate([t$1("md-outlined-field")], MdOutlinedField);
|
|
|
1345
1339
|
* Copyright 2026 Google LLC
|
|
1346
1340
|
* SPDX-License-Identifier: Apache-2.0
|
|
1347
1341
|
*/
|
|
1348
|
-
var styles$1 = i$2`:host{--_caret-color: var(--md-outlined-text-field-caret-color, var(--md-sys-color-primary, #6750a4));--_disabled-input-text-color: var(--md-outlined-text-field-disabled-input-text-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-input-text-opacity: var(--md-outlined-text-field-disabled-input-text-opacity, 0.38);--_disabled-label-text-color: var(--md-outlined-text-field-disabled-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-label-text-opacity: var(--md-outlined-text-field-disabled-label-text-opacity, 0.38);--_disabled-leading-icon-color: var(--md-outlined-text-field-disabled-leading-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-leading-icon-opacity: var(--md-outlined-text-field-disabled-leading-icon-opacity, 0.38);--_disabled-outline-color: var(--md-outlined-text-field-disabled-outline-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-outline-opacity: var(--md-outlined-text-field-disabled-outline-opacity, 0.12);--_disabled-outline-width: var(--md-outlined-text-field-disabled-outline-width, 1px);--_disabled-supporting-text-color: var(--md-outlined-text-field-disabled-supporting-text-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-supporting-text-opacity: var(--md-outlined-text-field-disabled-supporting-text-opacity, 0.38);--_disabled-trailing-icon-color: var(--md-outlined-text-field-disabled-trailing-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-trailing-icon-opacity: var(--md-outlined-text-field-disabled-trailing-icon-opacity, 0.38);--_error-focus-caret-color: var(--md-outlined-text-field-error-focus-caret-color, var(--md-sys-color-error, #b3261e));--_error-focus-input-text-color: var(--md-outlined-text-field-error-focus-input-text-color, var(--md-sys-color-on-surface, #1d1b20));--_error-focus-label-text-color: var(--md-outlined-text-field-error-focus-label-text-color, var(--md-sys-color-error, #b3261e));--_error-focus-leading-icon-color: var(--md-outlined-text-field-error-focus-leading-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_error-focus-outline-color: var(--md-outlined-text-field-error-focus-outline-color, var(--md-sys-color-error, #b3261e));--_error-focus-supporting-text-color: var(--md-outlined-text-field-error-focus-supporting-text-color, var(--md-sys-color-error, #b3261e));--_error-focus-trailing-icon-color: var(--md-outlined-text-field-error-focus-trailing-icon-color, var(--md-sys-color-error, #b3261e));--_error-hover-input-text-color: var(--md-outlined-text-field-error-hover-input-text-color, var(--md-sys-color-on-surface, #1d1b20));--_error-hover-label-text-color: var(--md-outlined-text-field-error-hover-label-text-color, var(--md-sys-color-on-error-container, #410e0b));--_error-hover-leading-icon-color: var(--md-outlined-text-field-error-hover-leading-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_error-hover-outline-color: var(--md-outlined-text-field-error-hover-outline-color, var(--md-sys-color-on-error-container, #410e0b));--_error-hover-supporting-text-color: var(--md-outlined-text-field-error-hover-supporting-text-color, var(--md-sys-color-error, #b3261e));--_error-hover-trailing-icon-color: var(--md-outlined-text-field-error-hover-trailing-icon-color, var(--md-sys-color-on-error-container, #410e0b));--_error-input-text-color: var(--md-outlined-text-field-error-input-text-color, var(--md-sys-color-on-surface, #1d1b20));--_error-label-text-color: var(--md-outlined-text-field-error-label-text-color, var(--md-sys-color-error, #b3261e));--_error-leading-icon-color: var(--md-outlined-text-field-error-leading-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_error-outline-color: var(--md-outlined-text-field-error-outline-color, var(--md-sys-color-error, #b3261e));--_error-supporting-text-color: var(--md-outlined-text-field-error-supporting-text-color, var(--md-sys-color-error, #b3261e));--_error-trailing-icon-color: var(--md-outlined-text-field-error-trailing-icon-color, var(--md-sys-color-error, #b3261e));--_focus-input-text-color: var(--md-outlined-text-field-focus-input-text-color, var(--md-sys-color-on-surface, #1d1b20));--_focus-label-text-color: var(--md-outlined-text-field-focus-label-text-color, var(--md-sys-color-primary, #6750a4));--_focus-leading-icon-color: var(--md-outlined-text-field-focus-leading-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_focus-outline-color: var(--md-outlined-text-field-focus-outline-color, var(--md-sys-color-primary, #6750a4));--_focus-outline-width: var(--md-outlined-text-field-focus-outline-width, 3px);--_focus-supporting-text-color: var(--md-outlined-text-field-focus-supporting-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_focus-trailing-icon-color: var(--md-outlined-text-field-focus-trailing-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-input-text-color: var(--md-outlined-text-field-hover-input-text-color, var(--md-sys-color-on-surface, #1d1b20));--_hover-label-text-color: var(--md-outlined-text-field-hover-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_hover-leading-icon-color: var(--md-outlined-text-field-hover-leading-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-outline-color: var(--md-outlined-text-field-hover-outline-color, var(--md-sys-color-on-surface, #1d1b20));--_hover-outline-width: var(--md-outlined-text-field-hover-outline-width, 1px);--_hover-supporting-text-color: var(--md-outlined-text-field-hover-supporting-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-trailing-icon-color: var(--md-outlined-text-field-hover-trailing-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_input-text-color: var(--md-outlined-text-field-input-text-color, var(--md-sys-color-on-surface, #1d1b20));--_input-text-font: var(--md-outlined-text-field-input-text-font, var(--md-sys-typescale-body-large-font, var(--md-ref-typeface-plain, Roboto)));--_input-text-line-height: var(--md-outlined-text-field-input-text-line-height, var(--md-sys-typescale-body-large-line-height, 1.5rem));--_input-text-placeholder-color: var(--md-outlined-text-field-input-text-placeholder-color, var(--md-sys-color-on-surface-variant, #49454f));--_input-text-prefix-color: var(--md-outlined-text-field-input-text-prefix-color, var(--md-sys-color-on-surface-variant, #49454f));--_input-text-size: var(--md-outlined-text-field-input-text-size, var(--md-sys-typescale-body-large-size, 1rem));--_input-text-suffix-color: var(--md-outlined-text-field-input-text-suffix-color, var(--md-sys-color-on-surface-variant, #49454f));--_input-text-weight: var(--md-outlined-text-field-input-text-weight, var(--md-sys-typescale-body-large-weight, var(--md-ref-typeface-weight-regular, 400)));--_label-text-color: var(--md-outlined-text-field-label-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_label-text-font: var(--md-outlined-text-field-label-text-font, var(--md-sys-typescale-body-large-font, var(--md-ref-typeface-plain, Roboto)));--_label-text-line-height: var(--md-outlined-text-field-label-text-line-height, var(--md-sys-typescale-body-large-line-height, 1.5rem));--_label-text-populated-line-height: var(--md-outlined-text-field-label-text-populated-line-height, var(--md-sys-typescale-body-small-line-height, 1rem));--_label-text-populated-size: var(--md-outlined-text-field-label-text-populated-size, var(--md-sys-typescale-body-small-size, 0.75rem));--_label-text-size: var(--md-outlined-text-field-label-text-size, var(--md-sys-typescale-body-large-size, 1rem));--_label-text-weight: var(--md-outlined-text-field-label-text-weight, var(--md-sys-typescale-body-large-weight, var(--md-ref-typeface-weight-regular, 400)));--_leading-icon-color: var(--md-outlined-text-field-leading-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_leading-icon-size: var(--md-outlined-text-field-leading-icon-size, 24px);--_outline-color: var(--md-outlined-text-field-outline-color, var(--md-sys-color-outline, #79747e));--_outline-width: var(--md-outlined-text-field-outline-width, 1px);--_supporting-text-color: var(--md-outlined-text-field-supporting-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_supporting-text-font: var(--md-outlined-text-field-supporting-text-font, var(--md-sys-typescale-body-small-font, var(--md-ref-typeface-plain, Roboto)));--_supporting-text-line-height: var(--md-outlined-text-field-supporting-text-line-height, var(--md-sys-typescale-body-small-line-height, 1rem));--_supporting-text-size: var(--md-outlined-text-field-supporting-text-size, var(--md-sys-typescale-body-small-size, 0.75rem));--_supporting-text-weight: var(--md-outlined-text-field-supporting-text-weight, var(--md-sys-typescale-body-small-weight, var(--md-ref-typeface-weight-regular, 400)));--_trailing-icon-color: var(--md-outlined-text-field-trailing-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_trailing-icon-size: var(--md-outlined-text-field-trailing-icon-size, 24px);--_container-shape-start-start: var(--md-outlined-text-field-container-shape-start-start, var(--md-outlined-text-field-container-shape, var(--md-sys-shape-corner-extra-small, 4px)));--_container-shape-start-end: var(--md-outlined-text-field-container-shape-start-end, var(--md-outlined-text-field-container-shape, var(--md-sys-shape-corner-extra-small, 4px)));--_container-shape-end-end: var(--md-outlined-text-field-container-shape-end-end, var(--md-outlined-text-field-container-shape, var(--md-sys-shape-corner-extra-small, 4px)));--_container-shape-end-start: var(--md-outlined-text-field-container-shape-end-start, var(--md-outlined-text-field-container-shape, var(--md-sys-shape-corner-extra-small, 4px)));--_icon-input-space: var(--md-outlined-text-field-icon-input-space, 16px);--_leading-space: var(--md-outlined-text-field-leading-space, 16px);--_trailing-space: var(--md-outlined-text-field-trailing-space, 16px);--_top-space: var(--md-outlined-text-field-top-space, 16px);--_bottom-space: var(--md-outlined-text-field-bottom-space, 16px);--_input-text-prefix-trailing-space: var(--md-outlined-text-field-input-text-prefix-trailing-space, 2px);--_input-text-suffix-leading-space: var(--md-outlined-text-field-input-text-suffix-leading-space, 2px);--_focus-caret-color: var(--md-outlined-text-field-focus-caret-color, var(--md-sys-color-primary, #6750a4));--_with-leading-icon-leading-space: var(--md-outlined-text-field-with-leading-icon-leading-space, 12px);--_with-trailing-icon-trailing-space: var(--md-outlined-text-field-with-trailing-icon-trailing-space, 12px);--md-outlined-field-bottom-space: var(--_bottom-space);--md-outlined-field-container-shape-end-end: var(--_container-shape-end-end);--md-outlined-field-container-shape-end-start: var(--_container-shape-end-start);--md-outlined-field-container-shape-start-end: var(--_container-shape-start-end);--md-outlined-field-container-shape-start-start: var(--_container-shape-start-start);--md-outlined-field-content-color: var(--_input-text-color);--md-outlined-field-content-font: var(--_input-text-font);--md-outlined-field-content-line-height: var(--_input-text-line-height);--md-outlined-field-content-size: var(--_input-text-size);--md-outlined-field-content-space: var(--_icon-input-space);--md-outlined-field-content-weight: var(--_input-text-weight);--md-outlined-field-disabled-content-color: var(--_disabled-input-text-color);--md-outlined-field-disabled-content-opacity: var(--_disabled-input-text-opacity);--md-outlined-field-disabled-label-text-color: var(--_disabled-label-text-color);--md-outlined-field-disabled-label-text-opacity: var(--_disabled-label-text-opacity);--md-outlined-field-disabled-leading-content-color: var(--_disabled-leading-icon-color);--md-outlined-field-disabled-leading-content-opacity: var(--_disabled-leading-icon-opacity);--md-outlined-field-disabled-outline-color: var(--_disabled-outline-color);--md-outlined-field-disabled-outline-opacity: var(--_disabled-outline-opacity);--md-outlined-field-disabled-outline-width: var(--_disabled-outline-width);--md-outlined-field-disabled-supporting-text-color: var(--_disabled-supporting-text-color);--md-outlined-field-disabled-supporting-text-opacity: var(--_disabled-supporting-text-opacity);--md-outlined-field-disabled-trailing-content-color: var(--_disabled-trailing-icon-color);--md-outlined-field-disabled-trailing-content-opacity: var(--_disabled-trailing-icon-opacity);--md-outlined-field-error-content-color: var(--_error-input-text-color);--md-outlined-field-error-focus-content-color: var(--_error-focus-input-text-color);--md-outlined-field-error-focus-label-text-color: var(--_error-focus-label-text-color);--md-outlined-field-error-focus-leading-content-color: var(--_error-focus-leading-icon-color);--md-outlined-field-error-focus-outline-color: var(--_error-focus-outline-color);--md-outlined-field-error-focus-supporting-text-color: var(--_error-focus-supporting-text-color);--md-outlined-field-error-focus-trailing-content-color: var(--_error-focus-trailing-icon-color);--md-outlined-field-error-hover-content-color: var(--_error-hover-input-text-color);--md-outlined-field-error-hover-label-text-color: var(--_error-hover-label-text-color);--md-outlined-field-error-hover-leading-content-color: var(--_error-hover-leading-icon-color);--md-outlined-field-error-hover-outline-color: var(--_error-hover-outline-color);--md-outlined-field-error-hover-supporting-text-color: var(--_error-hover-supporting-text-color);--md-outlined-field-error-hover-trailing-content-color: var(--_error-hover-trailing-icon-color);--md-outlined-field-error-label-text-color: var(--_error-label-text-color);--md-outlined-field-error-leading-content-color: var(--_error-leading-icon-color);--md-outlined-field-error-outline-color: var(--_error-outline-color);--md-outlined-field-error-supporting-text-color: var(--_error-supporting-text-color);--md-outlined-field-error-trailing-content-color: var(--_error-trailing-icon-color);--md-outlined-field-focus-content-color: var(--_focus-input-text-color);--md-outlined-field-focus-label-text-color: var(--_focus-label-text-color);--md-outlined-field-focus-leading-content-color: var(--_focus-leading-icon-color);--md-outlined-field-focus-outline-color: var(--_focus-outline-color);--md-outlined-field-focus-outline-width: var(--_focus-outline-width);--md-outlined-field-focus-supporting-text-color: var(--_focus-supporting-text-color);--md-outlined-field-focus-trailing-content-color: var(--_focus-trailing-icon-color);--md-outlined-field-hover-content-color: var(--_hover-input-text-color);--md-outlined-field-hover-label-text-color: var(--_hover-label-text-color);--md-outlined-field-hover-leading-content-color: var(--_hover-leading-icon-color);--md-outlined-field-hover-outline-color: var(--_hover-outline-color);--md-outlined-field-hover-outline-width: var(--_hover-outline-width);--md-outlined-field-hover-supporting-text-color: var(--_hover-supporting-text-color);--md-outlined-field-hover-trailing-content-color: var(--_hover-trailing-icon-color);--md-outlined-field-label-text-color: var(--_label-text-color);--md-outlined-field-label-text-font: var(--_label-text-font);--md-outlined-field-label-text-line-height: var(--_label-text-line-height);--md-outlined-field-label-text-populated-line-height: var(--_label-text-populated-line-height);--md-outlined-field-label-text-populated-size: var(--_label-text-populated-size);--md-outlined-field-label-text-size: var(--_label-text-size);--md-outlined-field-label-text-weight: var(--_label-text-weight);--md-outlined-field-leading-content-color: var(--_leading-icon-color);--md-outlined-field-leading-space: var(--_leading-space);--md-outlined-field-outline-color: var(--_outline-color);--md-outlined-field-outline-width: var(--_outline-width);--md-outlined-field-supporting-text-color: var(--_supporting-text-color);--md-outlined-field-supporting-text-font: var(--_supporting-text-font);--md-outlined-field-supporting-text-line-height: var(--_supporting-text-line-height);--md-outlined-field-supporting-text-size: var(--_supporting-text-size);--md-outlined-field-supporting-text-weight: var(--_supporting-text-weight);--md-outlined-field-top-space: var(--_top-space);--md-outlined-field-trailing-content-color: var(--_trailing-icon-color);--md-outlined-field-trailing-space: var(--_trailing-space);--md-outlined-field-with-leading-content-leading-space: var(--_with-leading-icon-leading-space);--md-outlined-field-with-trailing-content-trailing-space: var(--_with-trailing-icon-trailing-space)}
|
|
1342
|
+
var styles$1 = i$3`:host{--_caret-color: var(--md-outlined-text-field-caret-color, var(--md-sys-color-primary, #6750a4));--_disabled-input-text-color: var(--md-outlined-text-field-disabled-input-text-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-input-text-opacity: var(--md-outlined-text-field-disabled-input-text-opacity, 0.38);--_disabled-label-text-color: var(--md-outlined-text-field-disabled-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-label-text-opacity: var(--md-outlined-text-field-disabled-label-text-opacity, 0.38);--_disabled-leading-icon-color: var(--md-outlined-text-field-disabled-leading-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-leading-icon-opacity: var(--md-outlined-text-field-disabled-leading-icon-opacity, 0.38);--_disabled-outline-color: var(--md-outlined-text-field-disabled-outline-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-outline-opacity: var(--md-outlined-text-field-disabled-outline-opacity, 0.12);--_disabled-outline-width: var(--md-outlined-text-field-disabled-outline-width, 1px);--_disabled-supporting-text-color: var(--md-outlined-text-field-disabled-supporting-text-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-supporting-text-opacity: var(--md-outlined-text-field-disabled-supporting-text-opacity, 0.38);--_disabled-trailing-icon-color: var(--md-outlined-text-field-disabled-trailing-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-trailing-icon-opacity: var(--md-outlined-text-field-disabled-trailing-icon-opacity, 0.38);--_error-focus-caret-color: var(--md-outlined-text-field-error-focus-caret-color, var(--md-sys-color-error, #b3261e));--_error-focus-input-text-color: var(--md-outlined-text-field-error-focus-input-text-color, var(--md-sys-color-on-surface, #1d1b20));--_error-focus-label-text-color: var(--md-outlined-text-field-error-focus-label-text-color, var(--md-sys-color-error, #b3261e));--_error-focus-leading-icon-color: var(--md-outlined-text-field-error-focus-leading-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_error-focus-outline-color: var(--md-outlined-text-field-error-focus-outline-color, var(--md-sys-color-error, #b3261e));--_error-focus-supporting-text-color: var(--md-outlined-text-field-error-focus-supporting-text-color, var(--md-sys-color-error, #b3261e));--_error-focus-trailing-icon-color: var(--md-outlined-text-field-error-focus-trailing-icon-color, var(--md-sys-color-error, #b3261e));--_error-hover-input-text-color: var(--md-outlined-text-field-error-hover-input-text-color, var(--md-sys-color-on-surface, #1d1b20));--_error-hover-label-text-color: var(--md-outlined-text-field-error-hover-label-text-color, var(--md-sys-color-on-error-container, #410e0b));--_error-hover-leading-icon-color: var(--md-outlined-text-field-error-hover-leading-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_error-hover-outline-color: var(--md-outlined-text-field-error-hover-outline-color, var(--md-sys-color-on-error-container, #410e0b));--_error-hover-supporting-text-color: var(--md-outlined-text-field-error-hover-supporting-text-color, var(--md-sys-color-error, #b3261e));--_error-hover-trailing-icon-color: var(--md-outlined-text-field-error-hover-trailing-icon-color, var(--md-sys-color-on-error-container, #410e0b));--_error-input-text-color: var(--md-outlined-text-field-error-input-text-color, var(--md-sys-color-on-surface, #1d1b20));--_error-label-text-color: var(--md-outlined-text-field-error-label-text-color, var(--md-sys-color-error, #b3261e));--_error-leading-icon-color: var(--md-outlined-text-field-error-leading-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_error-outline-color: var(--md-outlined-text-field-error-outline-color, var(--md-sys-color-error, #b3261e));--_error-supporting-text-color: var(--md-outlined-text-field-error-supporting-text-color, var(--md-sys-color-error, #b3261e));--_error-trailing-icon-color: var(--md-outlined-text-field-error-trailing-icon-color, var(--md-sys-color-error, #b3261e));--_focus-input-text-color: var(--md-outlined-text-field-focus-input-text-color, var(--md-sys-color-on-surface, #1d1b20));--_focus-label-text-color: var(--md-outlined-text-field-focus-label-text-color, var(--md-sys-color-primary, #6750a4));--_focus-leading-icon-color: var(--md-outlined-text-field-focus-leading-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_focus-outline-color: var(--md-outlined-text-field-focus-outline-color, var(--md-sys-color-primary, #6750a4));--_focus-outline-width: var(--md-outlined-text-field-focus-outline-width, 3px);--_focus-supporting-text-color: var(--md-outlined-text-field-focus-supporting-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_focus-trailing-icon-color: var(--md-outlined-text-field-focus-trailing-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-input-text-color: var(--md-outlined-text-field-hover-input-text-color, var(--md-sys-color-on-surface, #1d1b20));--_hover-label-text-color: var(--md-outlined-text-field-hover-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_hover-leading-icon-color: var(--md-outlined-text-field-hover-leading-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-outline-color: var(--md-outlined-text-field-hover-outline-color, var(--md-sys-color-on-surface, #1d1b20));--_hover-outline-width: var(--md-outlined-text-field-hover-outline-width, 1px);--_hover-supporting-text-color: var(--md-outlined-text-field-hover-supporting-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-trailing-icon-color: var(--md-outlined-text-field-hover-trailing-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_input-text-color: var(--md-outlined-text-field-input-text-color, var(--md-sys-color-on-surface, #1d1b20));--_input-text-font: var(--md-outlined-text-field-input-text-font, var(--md-sys-typescale-body-large-font, var(--md-ref-typeface-plain, Roboto)));--_input-text-line-height: var(--md-outlined-text-field-input-text-line-height, var(--md-sys-typescale-body-large-line-height, 1.5rem));--_input-text-placeholder-color: var(--md-outlined-text-field-input-text-placeholder-color, var(--md-sys-color-on-surface-variant, #49454f));--_input-text-prefix-color: var(--md-outlined-text-field-input-text-prefix-color, var(--md-sys-color-on-surface-variant, #49454f));--_input-text-size: var(--md-outlined-text-field-input-text-size, var(--md-sys-typescale-body-large-size, 1rem));--_input-text-suffix-color: var(--md-outlined-text-field-input-text-suffix-color, var(--md-sys-color-on-surface-variant, #49454f));--_input-text-weight: var(--md-outlined-text-field-input-text-weight, var(--md-sys-typescale-body-large-weight, var(--md-ref-typeface-weight-regular, 400)));--_label-text-color: var(--md-outlined-text-field-label-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_label-text-font: var(--md-outlined-text-field-label-text-font, var(--md-sys-typescale-body-large-font, var(--md-ref-typeface-plain, Roboto)));--_label-text-line-height: var(--md-outlined-text-field-label-text-line-height, var(--md-sys-typescale-body-large-line-height, 1.5rem));--_label-text-populated-line-height: var(--md-outlined-text-field-label-text-populated-line-height, var(--md-sys-typescale-body-small-line-height, 1rem));--_label-text-populated-size: var(--md-outlined-text-field-label-text-populated-size, var(--md-sys-typescale-body-small-size, 0.75rem));--_label-text-size: var(--md-outlined-text-field-label-text-size, var(--md-sys-typescale-body-large-size, 1rem));--_label-text-weight: var(--md-outlined-text-field-label-text-weight, var(--md-sys-typescale-body-large-weight, var(--md-ref-typeface-weight-regular, 400)));--_leading-icon-color: var(--md-outlined-text-field-leading-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_leading-icon-size: var(--md-outlined-text-field-leading-icon-size, 24px);--_outline-color: var(--md-outlined-text-field-outline-color, var(--md-sys-color-outline, #79747e));--_outline-width: var(--md-outlined-text-field-outline-width, 1px);--_supporting-text-color: var(--md-outlined-text-field-supporting-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_supporting-text-font: var(--md-outlined-text-field-supporting-text-font, var(--md-sys-typescale-body-small-font, var(--md-ref-typeface-plain, Roboto)));--_supporting-text-line-height: var(--md-outlined-text-field-supporting-text-line-height, var(--md-sys-typescale-body-small-line-height, 1rem));--_supporting-text-size: var(--md-outlined-text-field-supporting-text-size, var(--md-sys-typescale-body-small-size, 0.75rem));--_supporting-text-weight: var(--md-outlined-text-field-supporting-text-weight, var(--md-sys-typescale-body-small-weight, var(--md-ref-typeface-weight-regular, 400)));--_trailing-icon-color: var(--md-outlined-text-field-trailing-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_trailing-icon-size: var(--md-outlined-text-field-trailing-icon-size, 24px);--_container-shape-start-start: var(--md-outlined-text-field-container-shape-start-start, var(--md-outlined-text-field-container-shape, var(--md-sys-shape-corner-extra-small, 4px)));--_container-shape-start-end: var(--md-outlined-text-field-container-shape-start-end, var(--md-outlined-text-field-container-shape, var(--md-sys-shape-corner-extra-small, 4px)));--_container-shape-end-end: var(--md-outlined-text-field-container-shape-end-end, var(--md-outlined-text-field-container-shape, var(--md-sys-shape-corner-extra-small, 4px)));--_container-shape-end-start: var(--md-outlined-text-field-container-shape-end-start, var(--md-outlined-text-field-container-shape, var(--md-sys-shape-corner-extra-small, 4px)));--_icon-input-space: var(--md-outlined-text-field-icon-input-space, 16px);--_leading-space: var(--md-outlined-text-field-leading-space, 16px);--_trailing-space: var(--md-outlined-text-field-trailing-space, 16px);--_top-space: var(--md-outlined-text-field-top-space, 16px);--_bottom-space: var(--md-outlined-text-field-bottom-space, 16px);--_input-text-prefix-trailing-space: var(--md-outlined-text-field-input-text-prefix-trailing-space, 2px);--_input-text-suffix-leading-space: var(--md-outlined-text-field-input-text-suffix-leading-space, 2px);--_focus-caret-color: var(--md-outlined-text-field-focus-caret-color, var(--md-sys-color-primary, #6750a4));--_with-leading-icon-leading-space: var(--md-outlined-text-field-with-leading-icon-leading-space, 12px);--_with-trailing-icon-trailing-space: var(--md-outlined-text-field-with-trailing-icon-trailing-space, 12px);--md-outlined-field-bottom-space: var(--_bottom-space);--md-outlined-field-container-shape-end-end: var(--_container-shape-end-end);--md-outlined-field-container-shape-end-start: var(--_container-shape-end-start);--md-outlined-field-container-shape-start-end: var(--_container-shape-start-end);--md-outlined-field-container-shape-start-start: var(--_container-shape-start-start);--md-outlined-field-content-color: var(--_input-text-color);--md-outlined-field-content-font: var(--_input-text-font);--md-outlined-field-content-line-height: var(--_input-text-line-height);--md-outlined-field-content-size: var(--_input-text-size);--md-outlined-field-content-space: var(--_icon-input-space);--md-outlined-field-content-weight: var(--_input-text-weight);--md-outlined-field-disabled-content-color: var(--_disabled-input-text-color);--md-outlined-field-disabled-content-opacity: var(--_disabled-input-text-opacity);--md-outlined-field-disabled-label-text-color: var(--_disabled-label-text-color);--md-outlined-field-disabled-label-text-opacity: var(--_disabled-label-text-opacity);--md-outlined-field-disabled-leading-content-color: var(--_disabled-leading-icon-color);--md-outlined-field-disabled-leading-content-opacity: var(--_disabled-leading-icon-opacity);--md-outlined-field-disabled-outline-color: var(--_disabled-outline-color);--md-outlined-field-disabled-outline-opacity: var(--_disabled-outline-opacity);--md-outlined-field-disabled-outline-width: var(--_disabled-outline-width);--md-outlined-field-disabled-supporting-text-color: var(--_disabled-supporting-text-color);--md-outlined-field-disabled-supporting-text-opacity: var(--_disabled-supporting-text-opacity);--md-outlined-field-disabled-trailing-content-color: var(--_disabled-trailing-icon-color);--md-outlined-field-disabled-trailing-content-opacity: var(--_disabled-trailing-icon-opacity);--md-outlined-field-error-content-color: var(--_error-input-text-color);--md-outlined-field-error-focus-content-color: var(--_error-focus-input-text-color);--md-outlined-field-error-focus-label-text-color: var(--_error-focus-label-text-color);--md-outlined-field-error-focus-leading-content-color: var(--_error-focus-leading-icon-color);--md-outlined-field-error-focus-outline-color: var(--_error-focus-outline-color);--md-outlined-field-error-focus-supporting-text-color: var(--_error-focus-supporting-text-color);--md-outlined-field-error-focus-trailing-content-color: var(--_error-focus-trailing-icon-color);--md-outlined-field-error-hover-content-color: var(--_error-hover-input-text-color);--md-outlined-field-error-hover-label-text-color: var(--_error-hover-label-text-color);--md-outlined-field-error-hover-leading-content-color: var(--_error-hover-leading-icon-color);--md-outlined-field-error-hover-outline-color: var(--_error-hover-outline-color);--md-outlined-field-error-hover-supporting-text-color: var(--_error-hover-supporting-text-color);--md-outlined-field-error-hover-trailing-content-color: var(--_error-hover-trailing-icon-color);--md-outlined-field-error-label-text-color: var(--_error-label-text-color);--md-outlined-field-error-leading-content-color: var(--_error-leading-icon-color);--md-outlined-field-error-outline-color: var(--_error-outline-color);--md-outlined-field-error-supporting-text-color: var(--_error-supporting-text-color);--md-outlined-field-error-trailing-content-color: var(--_error-trailing-icon-color);--md-outlined-field-focus-content-color: var(--_focus-input-text-color);--md-outlined-field-focus-label-text-color: var(--_focus-label-text-color);--md-outlined-field-focus-leading-content-color: var(--_focus-leading-icon-color);--md-outlined-field-focus-outline-color: var(--_focus-outline-color);--md-outlined-field-focus-outline-width: var(--_focus-outline-width);--md-outlined-field-focus-supporting-text-color: var(--_focus-supporting-text-color);--md-outlined-field-focus-trailing-content-color: var(--_focus-trailing-icon-color);--md-outlined-field-hover-content-color: var(--_hover-input-text-color);--md-outlined-field-hover-label-text-color: var(--_hover-label-text-color);--md-outlined-field-hover-leading-content-color: var(--_hover-leading-icon-color);--md-outlined-field-hover-outline-color: var(--_hover-outline-color);--md-outlined-field-hover-outline-width: var(--_hover-outline-width);--md-outlined-field-hover-supporting-text-color: var(--_hover-supporting-text-color);--md-outlined-field-hover-trailing-content-color: var(--_hover-trailing-icon-color);--md-outlined-field-label-text-color: var(--_label-text-color);--md-outlined-field-label-text-font: var(--_label-text-font);--md-outlined-field-label-text-line-height: var(--_label-text-line-height);--md-outlined-field-label-text-populated-line-height: var(--_label-text-populated-line-height);--md-outlined-field-label-text-populated-size: var(--_label-text-populated-size);--md-outlined-field-label-text-size: var(--_label-text-size);--md-outlined-field-label-text-weight: var(--_label-text-weight);--md-outlined-field-leading-content-color: var(--_leading-icon-color);--md-outlined-field-leading-space: var(--_leading-space);--md-outlined-field-outline-color: var(--_outline-color);--md-outlined-field-outline-width: var(--_outline-width);--md-outlined-field-supporting-text-color: var(--_supporting-text-color);--md-outlined-field-supporting-text-font: var(--_supporting-text-font);--md-outlined-field-supporting-text-line-height: var(--_supporting-text-line-height);--md-outlined-field-supporting-text-size: var(--_supporting-text-size);--md-outlined-field-supporting-text-weight: var(--_supporting-text-weight);--md-outlined-field-top-space: var(--_top-space);--md-outlined-field-trailing-content-color: var(--_trailing-icon-color);--md-outlined-field-trailing-space: var(--_trailing-space);--md-outlined-field-with-leading-content-leading-space: var(--_with-leading-icon-leading-space);--md-outlined-field-with-trailing-content-trailing-space: var(--_with-trailing-icon-trailing-space)}
|
|
1349
1343
|
`;
|
|
1350
1344
|
styles$1.styleSheet;
|
|
1351
1345
|
// ../../node_modules/.pnpm/lit-html@3.3.3/node_modules/lit-html/node/directive-helpers.js
|
|
@@ -1866,7 +1860,7 @@ function isInputState(state) {
|
|
|
1866
1860
|
* Copyright 2021 Google LLC
|
|
1867
1861
|
* SPDX-License-Identifier: Apache-2.0
|
|
1868
1862
|
*/
|
|
1869
|
-
var textFieldBaseClass = mixinDelegatesAria(mixinOnReportValidity(mixinConstraintValidation(mixinFormAssociated(mixinElementInternals(i$
|
|
1863
|
+
var textFieldBaseClass = mixinDelegatesAria(mixinOnReportValidity(mixinConstraintValidation(mixinFormAssociated(mixinElementInternals(i$2)))));
|
|
1870
1864
|
/**
|
|
1871
1865
|
* A text field component.
|
|
1872
1866
|
*
|
|
@@ -2406,7 +2400,7 @@ var TextField = class extends textFieldBaseClass {
|
|
|
2406
2400
|
};
|
|
2407
2401
|
/** @nocollapse */
|
|
2408
2402
|
TextField.shadowRootOptions = {
|
|
2409
|
-
...i$
|
|
2403
|
+
...i$2.shadowRootOptions,
|
|
2410
2404
|
delegatesFocus: true
|
|
2411
2405
|
};
|
|
2412
2406
|
__decorate([n$2({
|
|
@@ -2492,7 +2486,7 @@ var OutlinedTextField = class extends TextField {
|
|
|
2492
2486
|
* Copyright 2026 Google LLC
|
|
2493
2487
|
* SPDX-License-Identifier: Apache-2.0
|
|
2494
2488
|
*/
|
|
2495
|
-
var styles = i$
|
|
2489
|
+
var styles = i$3`:host{display:inline-flex;outline:none;resize:both;text-align:start;-webkit-tap-highlight-color:rgba(0,0,0,0)}.text-field,.field{width:100%}.text-field{display:inline-flex}.field{cursor:text}.disabled .field{cursor:default}.text-field,.textarea .field{resize:inherit}slot[name=container]{border-radius:inherit}.icon{color:currentColor;display:flex;align-items:center;justify-content:center;fill:currentColor;position:relative}.icon ::slotted(*){display:flex;position:absolute}[has-start] .icon.leading{font-size:var(--_leading-icon-size);height:var(--_leading-icon-size);width:var(--_leading-icon-size)}[has-end] .icon.trailing{font-size:var(--_trailing-icon-size);height:var(--_trailing-icon-size);width:var(--_trailing-icon-size)}.input-wrapper{display:flex}.input-wrapper>*{all:inherit;padding:0}.input{caret-color:var(--_caret-color);overflow-x:hidden;text-align:inherit}.input::placeholder{color:currentColor;opacity:1}.input::-webkit-calendar-picker-indicator{display:none}.input::-webkit-search-decoration,.input::-webkit-search-cancel-button{display:none}@media(forced-colors: active){.input{background:none}}.no-spinner .input::-webkit-inner-spin-button,.no-spinner .input::-webkit-outer-spin-button{display:none}.no-spinner .input[type=number]{-moz-appearance:textfield}:focus-within .input{caret-color:var(--_focus-caret-color)}.error:focus-within .input{caret-color:var(--_error-focus-caret-color)}.text-field:not(.disabled) .prefix{color:var(--_input-text-prefix-color)}.text-field:not(.disabled) .suffix{color:var(--_input-text-suffix-color)}.text-field:not(.disabled) .input::placeholder{color:var(--_input-text-placeholder-color)}.prefix,.suffix{text-wrap:nowrap;width:min-content}.prefix{padding-inline-end:var(--_input-text-prefix-trailing-space)}.suffix{padding-inline-start:var(--_input-text-suffix-leading-space)}
|
|
2496
2490
|
`;
|
|
2497
2491
|
styles.styleSheet;
|
|
2498
2492
|
// ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/textfield/outlined-text-field.js
|
|
@@ -2514,6 +2508,201 @@ var MdOutlinedTextField = class MdOutlinedTextField extends OutlinedTextField {
|
|
|
2514
2508
|
};
|
|
2515
2509
|
MdOutlinedTextField.styles = [styles, styles$1];
|
|
2516
2510
|
MdOutlinedTextField = __decorate([t$1("md-outlined-text-field")], MdOutlinedTextField);
|
|
2511
|
+
// src/lib/components/SpeechLog/MarkerDialog.svelte
|
|
2512
|
+
function MarkerDialog($$renderer, $$props) {
|
|
2513
|
+
$$renderer.component(($$renderer) => {
|
|
2514
|
+
/** Rejects with a message to show; resolves when the marker is in. */
|
|
2515
|
+
let { open, onAdd, onClose } = $$props;
|
|
2516
|
+
let label = "";
|
|
2517
|
+
let labelError = "";
|
|
2518
|
+
let busy = false;
|
|
2519
|
+
$$renderer.push(`<md-dialog${attr("open", open, true)} class="svelte-ttl1x5"><div slot="headline">Add a marker</div> <form slot="content" id="add-marker-form" novalidate="" class="svelte-ttl1x5"><md-outlined-text-field label="Label" required=""${attr("maxlength", API_LIMITS.markerLength)} supporting-text="Shows in the log as a row of its own, for example “step 3”."${attr("value", label)}${attr("error", false)}${attr("error-text", labelError)}></md-outlined-text-field> `);
|
|
2520
|
+
$$renderer.push("<!--[-1-->");
|
|
2521
|
+
$$renderer.push(`<!--]--></form> <div slot="actions"><md-text-button type="button">Cancel</md-text-button> <md-text-button type="submit" form="add-marker-form"${attr("disabled", busy, true)}>Add</md-text-button></div></md-dialog>`);
|
|
2522
|
+
});
|
|
2523
|
+
}
|
|
2524
|
+
// src/lib/components/SpeechLog/SpeechTable.svelte
|
|
2525
|
+
function SpeechTable($$renderer, $$props) {
|
|
2526
|
+
$$renderer.component(($$renderer) => {
|
|
2527
|
+
/** Oldest first. */
|
|
2528
|
+
let { entries } = $$props;
|
|
2529
|
+
/** A row that arrived this recently gets the tint that fades out (see `--app-new-row-ms`). */
|
|
2530
|
+
const FRESH_MS = 2e3;
|
|
2531
|
+
const fresh = (entry) => Date.now() - Date.parse(entry.receivedAt) < FRESH_MS;
|
|
2532
|
+
$$renderer.push(`<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"><!--[-->`);
|
|
2533
|
+
const each_array = ensure_array_like(entries);
|
|
2534
|
+
for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
|
|
2535
|
+
let entry = each_array[$$index];
|
|
2536
|
+
$$renderer.push(`<tr${attr_class("svelte-5c13xh", void 0, {
|
|
2537
|
+
"fresh": fresh(entry),
|
|
2538
|
+
"marker": entry.kind === "marker"
|
|
2539
|
+
})}><td class="time mono svelte-5c13xh">${escape_html(formatReceivedTime(entry.receivedAt))}</td><td class="text svelte-5c13xh">`);
|
|
2540
|
+
if (entry.kind === "marker") $$renderer.push(`<!--[0--><span class="pill svelte-5c13xh"${attr("title", entry.text)}><md-icon aria-hidden="true" class="svelte-5c13xh">bookmark</md-icon> <span class="visually-hidden svelte-5c13xh">Marker:</span> <span class="label mono svelte-5c13xh">${escape_html(entry.text)}</span></span>`);
|
|
2541
|
+
else $$renderer.push(`<!--[-1-->${escape_html(entry.text)}`);
|
|
2542
|
+
$$renderer.push(`<!--]--></td><td class="seq mono svelte-5c13xh">#${escape_html(entry.seq)}</td></tr>`);
|
|
2543
|
+
}
|
|
2544
|
+
$$renderer.push(`<!--]--></tbody></table>`);
|
|
2545
|
+
});
|
|
2546
|
+
}
|
|
2547
|
+
// src/lib/components/SpeechLog/SpeechLog.svelte
|
|
2548
|
+
function SpeechLog($$renderer, $$props) {
|
|
2549
|
+
$$renderer.component(($$renderer) => {
|
|
2550
|
+
/** `#3 Checkout flow`, or `Outside sessions`. */
|
|
2551
|
+
/** Oldest first. */
|
|
2552
|
+
/** Whether a marker added now shows up in this log (see `canAddMarker`). */
|
|
2553
|
+
/** Rejects with a message to show; resolves when the marker is in. */
|
|
2554
|
+
let { heading, entries, connection, canMark, onAddMarker } = $$props;
|
|
2555
|
+
let markerOpen = false;
|
|
2556
|
+
$$renderer.push(`<section class="log svelte-1jnrixz" aria-labelledby="log-heading"><header class="svelte-1jnrixz"><h1 id="log-heading" class="trunc svelte-1jnrixz">${escape_html(heading)}</h1> `);
|
|
2557
|
+
if (canMark) $$renderer.push(`<!--[0--><div role="toolbar" aria-label="Log actions"><md-icon-button title="Add marker" aria-label="Add marker"><md-icon aria-hidden="true">bookmark_add</md-icon></md-icon-button></div>`);
|
|
2558
|
+
else $$renderer.push("<!--[-1-->");
|
|
2559
|
+
$$renderer.push(`<!--]--></header> <div class="scroll svelte-1jnrixz" role="region" aria-label="Speech log" aria-live="off" tabindex="0">`);
|
|
2560
|
+
SpeechTable($$renderer, { entries });
|
|
2561
|
+
$$renderer.push(`<!----> `);
|
|
2562
|
+
if (entries.length === 0) {
|
|
2563
|
+
$$renderer.push(`<!--[0--><div class="empty svelte-1jnrixz"><md-icon aria-hidden="true" class="svelte-1jnrixz">mic</md-icon> `);
|
|
2564
|
+
if (connection === "ended") $$renderer.push(`<!--[0--><p class="title svelte-1jnrixz">No entries left</p> <p class="svelte-1jnrixz">This session's entries are no longer in the buffer.</p>`);
|
|
2565
|
+
else $$renderer.push(`<!--[-1--><p class="title svelte-1jnrixz">No speech yet</p> <p class="svelte-1jnrixz">Make the screen reader speak.</p>`);
|
|
2566
|
+
$$renderer.push(`<!--]--></div>`);
|
|
2567
|
+
} else $$renderer.push("<!--[-1-->");
|
|
2568
|
+
$$renderer.push(`<!--]--></div> `);
|
|
2569
|
+
if (connection === "reconnecting" || connection === "failed" || false) {
|
|
2570
|
+
$$renderer.push(`<!--[0--><footer class="svelte-1jnrixz">`);
|
|
2571
|
+
if (connection === "reconnecting") $$renderer.push(`<!--[0--><p role="status" class="mono svelte-1jnrixz">Connection lost, reconnecting…</p>`);
|
|
2572
|
+
else if (connection === "failed") $$renderer.push(`<!--[1--><p role="alert" class="mono failed svelte-1jnrixz">The speech could not be loaded.</p>`);
|
|
2573
|
+
else $$renderer.push(`<!--[-1--><span></span>`);
|
|
2574
|
+
$$renderer.push(`<!--]--> `);
|
|
2575
|
+
$$renderer.push("<!--[-1-->");
|
|
2576
|
+
$$renderer.push(`<!--]--></footer>`);
|
|
2577
|
+
} else $$renderer.push("<!--[-1-->");
|
|
2578
|
+
$$renderer.push(`<!--]--></section> `);
|
|
2579
|
+
if (canMark) {
|
|
2580
|
+
$$renderer.push("<!--[0-->");
|
|
2581
|
+
MarkerDialog($$renderer, {
|
|
2582
|
+
open: markerOpen,
|
|
2583
|
+
onAdd: onAddMarker,
|
|
2584
|
+
onClose: () => markerOpen = false
|
|
2585
|
+
});
|
|
2586
|
+
} else $$renderer.push("<!--[-1-->");
|
|
2587
|
+
$$renderer.push(`<!--]-->`);
|
|
2588
|
+
});
|
|
2589
|
+
}
|
|
2590
|
+
// src/lib/components/ListItem/ListItem.svelte
|
|
2591
|
+
function ListItem($$renderer, $$props) {
|
|
2592
|
+
/** One line, cut off with an ellipsis. */
|
|
2593
|
+
/** The muted monospace line under the title. */
|
|
2594
|
+
/** Actions at the end of the row. They sit beside the select button, never inside it. */
|
|
2595
|
+
/** Highlights the row and sets `aria-current`. */
|
|
2596
|
+
/**
|
|
2597
|
+
* What a screen reader should hear instead of the visual subtitle. Without it the subtitle
|
|
2598
|
+
* is read as it is.
|
|
2599
|
+
*/
|
|
2600
|
+
/**
|
|
2601
|
+
* The row's corner radius as a CSS value. Defaults to 8px, the radius of md-list-item's
|
|
2602
|
+
* focus ring (md-list-item itself has no container shape).
|
|
2603
|
+
*/
|
|
2604
|
+
let { title, subtitle, trailing, selected = false, description, shape, onSelect } = $$props;
|
|
2605
|
+
$$renderer.push(`<li${attr_class("svelte-3qlloz", void 0, { "selected": selected })}${attr_style("", { "--list-item-shape": shape })}><md-ripple aria-hidden="true"></md-ripple> <button type="button" class="select svelte-3qlloz"${attr("aria-current", selected ? "true" : void 0)}><span class="title svelte-3qlloz">${escape_html(title)}</span> `);
|
|
2606
|
+
if (subtitle) {
|
|
2607
|
+
$$renderer.push(`<!--[0--><span class="subtitle svelte-3qlloz"${attr("aria-hidden", description === void 0 ? void 0 : "true")}>`);
|
|
2608
|
+
subtitle($$renderer);
|
|
2609
|
+
$$renderer.push(`<!----></span>`);
|
|
2610
|
+
} else $$renderer.push("<!--[-1-->");
|
|
2611
|
+
$$renderer.push(`<!--]--> `);
|
|
2612
|
+
if (description !== void 0) $$renderer.push(`<!--[0--><span class="sr-only svelte-3qlloz">${escape_html(description)}</span>`);
|
|
2613
|
+
else $$renderer.push("<!--[-1-->");
|
|
2614
|
+
$$renderer.push(`<!--]--></button> `);
|
|
2615
|
+
if (trailing) {
|
|
2616
|
+
$$renderer.push(`<!--[0--><span class="trailing svelte-3qlloz">`);
|
|
2617
|
+
trailing($$renderer);
|
|
2618
|
+
$$renderer.push(`<!----></span>`);
|
|
2619
|
+
} else $$renderer.push("<!--[-1-->");
|
|
2620
|
+
$$renderer.push(`<!--]--></li>`);
|
|
2621
|
+
}
|
|
2622
|
+
// src/lib/core/sessions.ts
|
|
2623
|
+
/** `4 s`, `3 min 12 s`, `1 h 05 min`. Never negative (the bridge's clock may run ahead). */
|
|
2624
|
+
function formatDuration(milliseconds) {
|
|
2625
|
+
const total = Math.max(0, Math.floor(milliseconds / 1e3));
|
|
2626
|
+
const hours = Math.floor(total / 3600);
|
|
2627
|
+
const minutes = Math.floor(total % 3600 / 60);
|
|
2628
|
+
const seconds = total % 60;
|
|
2629
|
+
if (hours > 0) return `${hours} h ${String(minutes).padStart(2, "0")} min`;
|
|
2630
|
+
if (minutes > 0) return `${minutes} min ${seconds} s`;
|
|
2631
|
+
return `${seconds} s`;
|
|
2632
|
+
}
|
|
2633
|
+
/** What a row shows under the name. `now` (epoch ms) is the end of a session that is still live. */
|
|
2634
|
+
function describeSession(session, now) {
|
|
2635
|
+
const duration = formatDuration((session.endedAt === null ? now : Date.parse(session.endedAt)) - Date.parse(session.startedAt));
|
|
2636
|
+
const live = session.endedAt === null;
|
|
2637
|
+
const entries = `${session.entries} ${session.entries === 1 ? "entry" : "entries"}`;
|
|
2638
|
+
const parts = [
|
|
2639
|
+
`Session ${session.id}`,
|
|
2640
|
+
live ? "live" : null,
|
|
2641
|
+
session.run === null ? null : `run ${session.run}`,
|
|
2642
|
+
duration,
|
|
2643
|
+
entries
|
|
2644
|
+
];
|
|
2645
|
+
return {
|
|
2646
|
+
id: `#${session.id}`,
|
|
2647
|
+
run: session.run,
|
|
2648
|
+
duration,
|
|
2649
|
+
entries,
|
|
2650
|
+
spoken: parts.filter((part) => part !== null).join(", ")
|
|
2651
|
+
};
|
|
2652
|
+
}
|
|
2653
|
+
/** The URL value that selects the speech outside any session (the bridge's `session=none`). */
|
|
2654
|
+
var OUTSIDE_SESSIONS = "none";
|
|
2655
|
+
/**
|
|
2656
|
+
* The scope a pane shows: `none` if the URL asks for it, the session named in the URL if it still
|
|
2657
|
+
* exists, otherwise the current one (following), otherwise the speech outside any session.
|
|
2658
|
+
*/
|
|
2659
|
+
function selectedScope(requested, sessions, currentId) {
|
|
2660
|
+
if (requested === "none") return OUTSIDE_SESSIONS;
|
|
2661
|
+
const id = requested === null || !/^\d+$/.test(requested) ? null : Number(requested);
|
|
2662
|
+
if (id !== null && sessions.some((session) => session.id === id)) return id;
|
|
2663
|
+
return currentId ?? "none";
|
|
2664
|
+
}
|
|
2665
|
+
// src/lib/components/SessionsPane/EndSessionDialog.svelte
|
|
2666
|
+
function EndSessionDialog($$renderer, $$props) {
|
|
2667
|
+
$$renderer.component(($$renderer) => {
|
|
2668
|
+
/** The session's entry count; the bridge forgets a session that ends with none. */
|
|
2669
|
+
/** Rejects with a message to show; resolves when the session has ended. */
|
|
2670
|
+
let { open, sessionId, entries, onEnd, onClose } = $$props;
|
|
2671
|
+
const empty = derived(() => entries === 0);
|
|
2672
|
+
let busy = false;
|
|
2673
|
+
$$renderer.push(`<md-dialog${attr("open", open, true)} class="svelte-17z3k9b"><div slot="headline">${escape_html(empty() ? "Drop" : "End")} session ${escape_html(sessionId === null ? "" : `#${sessionId}`)}?</div> <div slot="content">`);
|
|
2674
|
+
if (empty()) $$renderer.push(`<!--[0--><p class="svelte-17z3k9b">This session has no entries, so ending it deletes it. Its number is not reused.</p>`);
|
|
2675
|
+
else $$renderer.push(`<!--[-1--><p class="svelte-17z3k9b">Speech captured after this belongs to no session.</p>`);
|
|
2676
|
+
$$renderer.push(`<!--]--> `);
|
|
2677
|
+
$$renderer.push("<!--[-1-->");
|
|
2678
|
+
$$renderer.push(`<!--]--></div> <div slot="actions"><md-text-button type="button">Cancel</md-text-button> <md-text-button type="button"${attr("disabled", busy, true)}>End session</md-text-button></div></md-dialog>`);
|
|
2679
|
+
});
|
|
2680
|
+
}
|
|
2681
|
+
// src/lib/components/SessionsPane/SessionRow.svelte
|
|
2682
|
+
function SessionRow($$renderer, $$props) {
|
|
2683
|
+
$$renderer.component(($$renderer) => {
|
|
2684
|
+
/** Epoch ms: the end of a live session's duration. */
|
|
2685
|
+
let { session, now, selected, live, onSelect } = $$props;
|
|
2686
|
+
const meta = derived(() => describeSession(session, now));
|
|
2687
|
+
function subtitle($$renderer) {
|
|
2688
|
+
$$renderer.push(`<span class="meta svelte-wvg2ho">`);
|
|
2689
|
+
if (live) $$renderer.push(`<!--[0--><span class="dot svelte-wvg2ho"></span>`);
|
|
2690
|
+
else $$renderer.push("<!--[-1-->");
|
|
2691
|
+
$$renderer.push(`<!--]--> <span class="svelte-wvg2ho">${escape_html(meta().id)}</span> `);
|
|
2692
|
+
if (meta().run !== null) $$renderer.push(`<!--[0--><span class="run svelte-wvg2ho">${escape_html(meta().run)}</span>`);
|
|
2693
|
+
else $$renderer.push("<!--[-1-->");
|
|
2694
|
+
$$renderer.push(`<!--]--> <span class="svelte-wvg2ho">${escape_html(meta().duration)}</span> <span class="svelte-wvg2ho">${escape_html(meta().entries)}</span></span>`);
|
|
2695
|
+
}
|
|
2696
|
+
ListItem($$renderer, {
|
|
2697
|
+
title: session.name,
|
|
2698
|
+
shape: "var(--md-sys-shape-corner-extra-large, 28px)",
|
|
2699
|
+
subtitle,
|
|
2700
|
+
selected,
|
|
2701
|
+
description: meta().spoken,
|
|
2702
|
+
onSelect
|
|
2703
|
+
});
|
|
2704
|
+
});
|
|
2705
|
+
}
|
|
2517
2706
|
// src/lib/components/SessionsPane/StartSessionDialog.svelte
|
|
2518
2707
|
function StartSessionDialog($$renderer, $$props) {
|
|
2519
2708
|
$$renderer.component(($$renderer) => {
|
|
@@ -2567,7 +2756,7 @@ function SessionsPane($$renderer, $$props) {
|
|
|
2567
2756
|
$$renderer.push(`<!--]--></ul>`);
|
|
2568
2757
|
}
|
|
2569
2758
|
$$renderer.push(`<!--]--> `);
|
|
2570
|
-
if (!collapsed
|
|
2759
|
+
if (!collapsed) {
|
|
2571
2760
|
$$renderer.push(`<!--[0--><ul class="outside svelte-1fz71rn" aria-label="Outside sessions">`);
|
|
2572
2761
|
ListItem($$renderer, {
|
|
2573
2762
|
title: "Outside sessions",
|
|
@@ -2611,13 +2800,18 @@ function _page($$renderer, $$props) {
|
|
|
2611
2800
|
});
|
|
2612
2801
|
const now = derived(() => sessionsStore.loaded ? sessionsStore.now : data.now);
|
|
2613
2802
|
const selectedId = derived(() => selectedScope(page.url.searchParams.get("session"), list().sessions, list().currentId));
|
|
2803
|
+
const heading = derived(() => logHeading(selectedId(), list().sessions));
|
|
2804
|
+
const canMark = derived(() => canAddMarker(selectedId(), list().currentId));
|
|
2614
2805
|
function select(id) {
|
|
2615
|
-
|
|
2616
|
-
|
|
2806
|
+
return goto(id === null ? resolve("/") : `${resolve("/")}?session=${id}`, { reset: false });
|
|
2807
|
+
}
|
|
2808
|
+
async function end() {
|
|
2809
|
+
const ended = list().currentId;
|
|
2810
|
+
await sessionsStore.end();
|
|
2811
|
+
if (ended !== null && !list().sessions.some((session) => session.id === ended)) await select(null);
|
|
2617
2812
|
}
|
|
2618
2813
|
async function start(name, run) {
|
|
2619
|
-
await sessionsStore.start(name, run);
|
|
2620
|
-
await select(null);
|
|
2814
|
+
await select((await sessionsStore.start(name, run)).id);
|
|
2621
2815
|
}
|
|
2622
2816
|
$$renderer.push(`<div class="monitor svelte-1uha8ag"><aside${attr_class("svelte-1uha8ag", void 0, { "collapsed": sessionsPaneStore.collapsed })}>`);
|
|
2623
2817
|
SessionsPane($$renderer, {
|
|
@@ -2630,12 +2824,17 @@ function _page($$renderer, $$props) {
|
|
|
2630
2824
|
now: now(),
|
|
2631
2825
|
onSelect: (id) => void select(id),
|
|
2632
2826
|
onStart: start,
|
|
2633
|
-
onEnd:
|
|
2827
|
+
onEnd: end
|
|
2828
|
+
});
|
|
2829
|
+
$$renderer.push(`<!----></aside> <div class="log svelte-1uha8ag">`);
|
|
2830
|
+
SpeechLog($$renderer, {
|
|
2831
|
+
heading: heading(),
|
|
2832
|
+
entries: speechStore.entries,
|
|
2833
|
+
connection: speechStore.connection,
|
|
2834
|
+
canMark: canMark(),
|
|
2835
|
+
onAddMarker: (label) => speechStore.addMarker(label)
|
|
2634
2836
|
});
|
|
2635
|
-
$$renderer.push(`<!----></
|
|
2636
|
-
if (data.status) $$renderer.push(`<!--[0--><p>Bridge ${escape_html(data.status.bridge.version)} is ${escape_html(data.status.bridge.state)}.</p>`);
|
|
2637
|
-
else $$renderer.push(`<!--[-1--><p>The bridge is not reachable.</p>`);
|
|
2638
|
-
$$renderer.push(`<!--]--></div></div>`);
|
|
2837
|
+
$$renderer.push(`<!----></div></div>`);
|
|
2639
2838
|
});
|
|
2640
2839
|
}
|
|
2641
2840
|
export { _page as default };
|