@fluid-topics/ft-wc-utils 0.2.22 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,25 +1,21 @@
1
1
  import { CSSResult } from "lit";
2
2
  export declare type FtCssVariableCategory = "COLOR" | "NUMBER" | "SIZE" | "UNKNOWN" | "POSITION" | "DISPLAY";
3
- export declare class FtCssVariable {
4
- name: string;
5
- category: FtCssVariableCategory;
6
- fallbackVariable?: FtCssVariable | undefined;
7
- defaultValue?: string | undefined;
8
- context?: string | undefined;
9
- ["_$cssResult$"]: boolean;
10
- get cssText(): string;
11
- get styleSheet(): CSSStyleSheet | undefined;
12
- toString(): string;
13
- value: CSSResult;
14
- private constructor();
3
+ export declare class FtCssVariableFactory {
15
4
  static create(name: string, category: FtCssVariableCategory, defaultValue: string): FtCssVariable;
16
5
  static extend(name: string, fallbackVariable: FtCssVariable, defaultValue?: string): FtCssVariable;
17
6
  static external(externalVariable: FtCssVariable, context: string): FtCssVariable;
18
- get(defaultValue?: string): CSSResult;
7
+ }
8
+ export declare type FtCssVariable = CSSResult & {
9
+ name: string;
10
+ category: FtCssVariableCategory;
11
+ fallbackVariable?: FtCssVariable;
12
+ defaultValue?: string;
13
+ context?: string;
14
+ breadcrumb(): Array<string>;
19
15
  defaultCssValue(defaultValue?: string): CSSResult;
16
+ get(defaultValue?: string): CSSResult;
20
17
  lastResortDefaultValue(): string | undefined;
21
- breadcrumb(): Array<string>;
22
- }
18
+ };
23
19
  export declare type FtCssVariables = Record<string, FtCssVariable>;
24
20
  export declare function setVariable(variable: FtCssVariable, value: string | CSSResult | FtCssVariable): CSSResult;
25
21
  //# sourceMappingURL=FtCssVariables.d.ts.map
@@ -1,48 +1,43 @@
1
1
  import { css, unsafeCSS } from "lit";
2
- export class FtCssVariable {
3
- constructor(name, category, fallbackVariable, defaultValue, context) {
4
- this.name = name;
5
- this.category = category;
6
- this.fallbackVariable = fallbackVariable;
7
- this.defaultValue = defaultValue;
8
- this.context = context;
9
- // --------------
10
- // Copy CSSResult prototype
11
- // We can't extend it because the constructor is private
12
- this["_$cssResult$"] = true;
13
- // --------------
14
- this.value = this.get();
15
- }
16
- get cssText() {
17
- return this.value.cssText;
18
- }
19
- get styleSheet() {
20
- return this.value.styleSheet;
21
- }
22
- toString() {
23
- return this.value.toString();
24
- }
2
+ export class FtCssVariableFactory {
25
3
  static create(name, category, defaultValue) {
26
- return new FtCssVariable(name, category, undefined, defaultValue);
4
+ let defaultCssValue = (contextualDefaultValue) => unsafeCSS(contextualDefaultValue !== null && contextualDefaultValue !== void 0 ? contextualDefaultValue : defaultValue);
5
+ let cssResult = css `var(${unsafeCSS(name)}, ${defaultCssValue(defaultValue)})`;
6
+ cssResult.name = name;
7
+ cssResult.category = category;
8
+ cssResult.defaultValue = defaultValue;
9
+ cssResult.defaultCssValue = defaultCssValue;
10
+ cssResult.get = (defaultValue) => css `var(${unsafeCSS(name)}, ${defaultCssValue(defaultValue)})`;
11
+ cssResult.breadcrumb = () => [];
12
+ cssResult.lastResortDefaultValue = () => defaultValue;
13
+ return cssResult;
27
14
  }
28
15
  static extend(name, fallbackVariable, defaultValue) {
29
- return new FtCssVariable(name, fallbackVariable.category, fallbackVariable, defaultValue);
16
+ let defaultCssValue = (contextualDefaultValue) => fallbackVariable.get(contextualDefaultValue !== null && contextualDefaultValue !== void 0 ? contextualDefaultValue : defaultValue);
17
+ let cssResult = css `var(${unsafeCSS(name)}, ${defaultCssValue(defaultValue)})`;
18
+ cssResult.name = name;
19
+ cssResult.category = fallbackVariable.category;
20
+ cssResult.fallbackVariable = fallbackVariable;
21
+ cssResult.defaultValue = defaultValue;
22
+ cssResult.defaultCssValue = defaultCssValue;
23
+ cssResult.get = (defaultValue) => css `var(${unsafeCSS(name)}, ${defaultCssValue(defaultValue)})`;
24
+ cssResult.breadcrumb = () => [fallbackVariable.name, ...fallbackVariable.breadcrumb()];
25
+ cssResult.lastResortDefaultValue = () => defaultValue;
26
+ return cssResult;
30
27
  }
31
28
  static external(externalVariable, context) {
32
- return new FtCssVariable(externalVariable.name, externalVariable.category, externalVariable.fallbackVariable, externalVariable.defaultValue, context);
33
- }
34
- get(defaultValue) {
35
- return css `var(${unsafeCSS(this.name)}, ${this.defaultCssValue(defaultValue)})`;
36
- }
37
- defaultCssValue(defaultValue) {
38
- return this.fallbackVariable ? this.fallbackVariable.get(defaultValue !== null && defaultValue !== void 0 ? defaultValue : this.defaultValue) : unsafeCSS(defaultValue !== null && defaultValue !== void 0 ? defaultValue : this.defaultValue);
39
- }
40
- lastResortDefaultValue() {
41
- var _a, _b;
42
- return (_a = this.defaultValue) !== null && _a !== void 0 ? _a : (_b = this.fallbackVariable) === null || _b === void 0 ? void 0 : _b.lastResortDefaultValue();
43
- }
44
- breadcrumb() {
45
- return this.fallbackVariable ? [this.fallbackVariable.name, ...this.fallbackVariable.breadcrumb()] : [];
29
+ let defaultCssValue = (contextualDefaultValue) => externalVariable.fallbackVariable ? externalVariable.fallbackVariable.get(contextualDefaultValue !== null && contextualDefaultValue !== void 0 ? contextualDefaultValue : externalVariable.defaultValue) : unsafeCSS(contextualDefaultValue !== null && contextualDefaultValue !== void 0 ? contextualDefaultValue : externalVariable.defaultValue);
30
+ let cssResult = css `var(${unsafeCSS(externalVariable.name)}, ${defaultCssValue(externalVariable.defaultValue)})`;
31
+ cssResult.name = externalVariable.name;
32
+ cssResult.category = externalVariable.category;
33
+ cssResult.fallbackVariable = externalVariable.fallbackVariable;
34
+ cssResult.defaultValue = externalVariable.defaultValue;
35
+ cssResult.context = context;
36
+ cssResult.defaultCssValue = defaultCssValue;
37
+ cssResult.get = (defaultValue) => css `var(${unsafeCSS(externalVariable.name)}, ${defaultCssValue(defaultValue)})`;
38
+ cssResult.breadcrumb = () => externalVariable.fallbackVariable ? [externalVariable.fallbackVariable.name, ...externalVariable.fallbackVariable.breadcrumb()] : [];
39
+ cssResult.lastResortDefaultValue = () => { var _a, _b; return (_a = externalVariable.defaultValue) !== null && _a !== void 0 ? _a : (_b = externalVariable.fallbackVariable) === null || _b === void 0 ? void 0 : _b.lastResortDefaultValue(); };
40
+ return cssResult;
46
41
  }
47
42
  }
48
43
  export function setVariable(variable, value) {
@@ -1,66 +1,65 @@
1
- import { FtCssVariable } from "./FtCssVariables";
2
1
  export declare const designSystemVariables: {
3
- colorPrimary: FtCssVariable;
4
- colorPrimaryVariant: FtCssVariable;
5
- colorSecondary: FtCssVariable;
6
- colorSecondaryVariant: FtCssVariable;
7
- colorSurface: FtCssVariable;
8
- colorContent: FtCssVariable;
9
- colorError: FtCssVariable;
10
- colorOutline: FtCssVariable;
11
- colorOpacityHigh: FtCssVariable;
12
- colorOpacityMedium: FtCssVariable;
13
- colorOpacityDisabled: FtCssVariable;
14
- colorOnPrimary: FtCssVariable;
15
- colorOnPrimaryHigh: FtCssVariable;
16
- colorOnPrimaryMedium: FtCssVariable;
17
- colorOnPrimaryDisabled: FtCssVariable;
18
- colorOnSecondary: FtCssVariable;
19
- colorOnSecondaryHigh: FtCssVariable;
20
- colorOnSecondaryMedium: FtCssVariable;
21
- colorOnSecondaryDisabled: FtCssVariable;
22
- colorOnSurface: FtCssVariable;
23
- colorOnSurfaceHigh: FtCssVariable;
24
- colorOnSurfaceMedium: FtCssVariable;
25
- colorOnSurfaceDisabled: FtCssVariable;
26
- opacityContentOnSurfaceDisabled: FtCssVariable;
27
- opacityContentOnSurfaceEnable: FtCssVariable;
28
- opacityContentOnSurfaceHover: FtCssVariable;
29
- opacityContentOnSurfaceFocused: FtCssVariable;
30
- opacityContentOnSurfacePressed: FtCssVariable;
31
- opacityContentOnSurfaceSelected: FtCssVariable;
32
- opacityContentOnSurfaceDragged: FtCssVariable;
33
- opacityPrimaryOnSurfaceDisabled: FtCssVariable;
34
- opacityPrimaryOnSurfaceEnable: FtCssVariable;
35
- opacityPrimaryOnSurfaceHover: FtCssVariable;
36
- opacityPrimaryOnSurfaceFocused: FtCssVariable;
37
- opacityPrimaryOnSurfacePressed: FtCssVariable;
38
- opacityPrimaryOnSurfaceSelected: FtCssVariable;
39
- opacityPrimaryOnSurfaceDragged: FtCssVariable;
40
- opacitySurfaceOnPrimaryDisabled: FtCssVariable;
41
- opacitySurfaceOnPrimaryEnable: FtCssVariable;
42
- opacitySurfaceOnPrimaryHover: FtCssVariable;
43
- opacitySurfaceOnPrimaryFocused: FtCssVariable;
44
- opacitySurfaceOnPrimaryPressed: FtCssVariable;
45
- opacitySurfaceOnPrimarySelected: FtCssVariable;
46
- opacitySurfaceOnPrimaryDragged: FtCssVariable;
47
- elevation00: FtCssVariable;
48
- elevation01: FtCssVariable;
49
- elevation02: FtCssVariable;
50
- elevation03: FtCssVariable;
51
- elevation04: FtCssVariable;
52
- elevation06: FtCssVariable;
53
- elevation08: FtCssVariable;
54
- elevation12: FtCssVariable;
55
- elevation16: FtCssVariable;
56
- elevation24: FtCssVariable;
57
- borderRadiusS: FtCssVariable;
58
- borderRadiusM: FtCssVariable;
59
- borderRadiusL: FtCssVariable;
60
- borderRadiusXL: FtCssVariable;
61
- titleFont: FtCssVariable;
62
- contentFont: FtCssVariable;
63
- transitionDuration: FtCssVariable;
64
- transitionTimingFunction: FtCssVariable;
2
+ colorPrimary: import("./FtCssVariables").FtCssVariable;
3
+ colorPrimaryVariant: import("./FtCssVariables").FtCssVariable;
4
+ colorSecondary: import("./FtCssVariables").FtCssVariable;
5
+ colorSecondaryVariant: import("./FtCssVariables").FtCssVariable;
6
+ colorSurface: import("./FtCssVariables").FtCssVariable;
7
+ colorContent: import("./FtCssVariables").FtCssVariable;
8
+ colorError: import("./FtCssVariables").FtCssVariable;
9
+ colorOutline: import("./FtCssVariables").FtCssVariable;
10
+ colorOpacityHigh: import("./FtCssVariables").FtCssVariable;
11
+ colorOpacityMedium: import("./FtCssVariables").FtCssVariable;
12
+ colorOpacityDisabled: import("./FtCssVariables").FtCssVariable;
13
+ colorOnPrimary: import("./FtCssVariables").FtCssVariable;
14
+ colorOnPrimaryHigh: import("./FtCssVariables").FtCssVariable;
15
+ colorOnPrimaryMedium: import("./FtCssVariables").FtCssVariable;
16
+ colorOnPrimaryDisabled: import("./FtCssVariables").FtCssVariable;
17
+ colorOnSecondary: import("./FtCssVariables").FtCssVariable;
18
+ colorOnSecondaryHigh: import("./FtCssVariables").FtCssVariable;
19
+ colorOnSecondaryMedium: import("./FtCssVariables").FtCssVariable;
20
+ colorOnSecondaryDisabled: import("./FtCssVariables").FtCssVariable;
21
+ colorOnSurface: import("./FtCssVariables").FtCssVariable;
22
+ colorOnSurfaceHigh: import("./FtCssVariables").FtCssVariable;
23
+ colorOnSurfaceMedium: import("./FtCssVariables").FtCssVariable;
24
+ colorOnSurfaceDisabled: import("./FtCssVariables").FtCssVariable;
25
+ opacityContentOnSurfaceDisabled: import("./FtCssVariables").FtCssVariable;
26
+ opacityContentOnSurfaceEnable: import("./FtCssVariables").FtCssVariable;
27
+ opacityContentOnSurfaceHover: import("./FtCssVariables").FtCssVariable;
28
+ opacityContentOnSurfaceFocused: import("./FtCssVariables").FtCssVariable;
29
+ opacityContentOnSurfacePressed: import("./FtCssVariables").FtCssVariable;
30
+ opacityContentOnSurfaceSelected: import("./FtCssVariables").FtCssVariable;
31
+ opacityContentOnSurfaceDragged: import("./FtCssVariables").FtCssVariable;
32
+ opacityPrimaryOnSurfaceDisabled: import("./FtCssVariables").FtCssVariable;
33
+ opacityPrimaryOnSurfaceEnable: import("./FtCssVariables").FtCssVariable;
34
+ opacityPrimaryOnSurfaceHover: import("./FtCssVariables").FtCssVariable;
35
+ opacityPrimaryOnSurfaceFocused: import("./FtCssVariables").FtCssVariable;
36
+ opacityPrimaryOnSurfacePressed: import("./FtCssVariables").FtCssVariable;
37
+ opacityPrimaryOnSurfaceSelected: import("./FtCssVariables").FtCssVariable;
38
+ opacityPrimaryOnSurfaceDragged: import("./FtCssVariables").FtCssVariable;
39
+ opacitySurfaceOnPrimaryDisabled: import("./FtCssVariables").FtCssVariable;
40
+ opacitySurfaceOnPrimaryEnable: import("./FtCssVariables").FtCssVariable;
41
+ opacitySurfaceOnPrimaryHover: import("./FtCssVariables").FtCssVariable;
42
+ opacitySurfaceOnPrimaryFocused: import("./FtCssVariables").FtCssVariable;
43
+ opacitySurfaceOnPrimaryPressed: import("./FtCssVariables").FtCssVariable;
44
+ opacitySurfaceOnPrimarySelected: import("./FtCssVariables").FtCssVariable;
45
+ opacitySurfaceOnPrimaryDragged: import("./FtCssVariables").FtCssVariable;
46
+ elevation00: import("./FtCssVariables").FtCssVariable;
47
+ elevation01: import("./FtCssVariables").FtCssVariable;
48
+ elevation02: import("./FtCssVariables").FtCssVariable;
49
+ elevation03: import("./FtCssVariables").FtCssVariable;
50
+ elevation04: import("./FtCssVariables").FtCssVariable;
51
+ elevation06: import("./FtCssVariables").FtCssVariable;
52
+ elevation08: import("./FtCssVariables").FtCssVariable;
53
+ elevation12: import("./FtCssVariables").FtCssVariable;
54
+ elevation16: import("./FtCssVariables").FtCssVariable;
55
+ elevation24: import("./FtCssVariables").FtCssVariable;
56
+ borderRadiusS: import("./FtCssVariables").FtCssVariable;
57
+ borderRadiusM: import("./FtCssVariables").FtCssVariable;
58
+ borderRadiusL: import("./FtCssVariables").FtCssVariable;
59
+ borderRadiusXL: import("./FtCssVariables").FtCssVariable;
60
+ titleFont: import("./FtCssVariables").FtCssVariable;
61
+ contentFont: import("./FtCssVariables").FtCssVariable;
62
+ transitionDuration: import("./FtCssVariables").FtCssVariable;
63
+ transitionTimingFunction: import("./FtCssVariables").FtCssVariable;
65
64
  };
66
65
  //# sourceMappingURL=designSystemVariables.d.ts.map
@@ -1,66 +1,66 @@
1
- import { FtCssVariable } from "./FtCssVariables";
1
+ import { FtCssVariableFactory } from "./FtCssVariables";
2
2
  export const designSystemVariables = {
3
- colorPrimary: FtCssVariable.create("--ft-color-primary", "COLOR", "#2196F3"),
4
- colorPrimaryVariant: FtCssVariable.create("--ft-color-primary-variant", "COLOR", "#1976D2"),
5
- colorSecondary: FtCssVariable.create("--ft-color-secondary", "COLOR", "#FFCC80"),
6
- colorSecondaryVariant: FtCssVariable.create("--ft-color-secondary-variant", "COLOR", "#F57C00"),
7
- colorSurface: FtCssVariable.create("--ft-color-surface", "COLOR", "#FFFFFF"),
8
- colorContent: FtCssVariable.create("--ft-color-content", "COLOR", "rgba(0, 0, 0, 0.87)"),
9
- colorError: FtCssVariable.create("--ft-color-error", "COLOR", "#B00020"),
10
- colorOutline: FtCssVariable.create("--ft-color-outline", "COLOR", "rgba(0, 0, 0, 0.14)"),
11
- colorOpacityHigh: FtCssVariable.create("--ft-color-opacity-high", "NUMBER", "1"),
12
- colorOpacityMedium: FtCssVariable.create("--ft-color-opacity-medium", "NUMBER", "0.74"),
13
- colorOpacityDisabled: FtCssVariable.create("--ft-color-opacity-disabled", "NUMBER", "0.38"),
14
- colorOnPrimary: FtCssVariable.create("--ft-color-on-primary", "COLOR", "#FFFFFF"),
15
- colorOnPrimaryHigh: FtCssVariable.create("--ft-color-on-primary-high", "COLOR", "#FFFFFF"),
16
- colorOnPrimaryMedium: FtCssVariable.create("--ft-color-on-primary-medium", "COLOR", "rgba(255, 255, 255, 0.74)"),
17
- colorOnPrimaryDisabled: FtCssVariable.create("--ft-color-on-primary-disabled", "COLOR", "rgba(255, 255, 255, 0.38)"),
18
- colorOnSecondary: FtCssVariable.create("--ft-color-on-secondary", "COLOR", "#FFFFFF"),
19
- colorOnSecondaryHigh: FtCssVariable.create("--ft-color-on-secondary-high", "COLOR", "#FFFFFF"),
20
- colorOnSecondaryMedium: FtCssVariable.create("--ft-color-on-secondary-medium", "COLOR", "rgba(255, 255, 255, 0.74)"),
21
- colorOnSecondaryDisabled: FtCssVariable.create("--ft-color-on-secondary-disabled", "COLOR", "rgba(255, 255, 255, 0.38)"),
22
- colorOnSurface: FtCssVariable.create("--ft-color-on-surface", "COLOR", "rgba(0, 0, 0, 0.87)"),
23
- colorOnSurfaceHigh: FtCssVariable.create("--ft-color-on-surface-high", "COLOR", "rgba(0, 0, 0, 0.87)"),
24
- colorOnSurfaceMedium: FtCssVariable.create("--ft-color-on-surface-medium", "COLOR", "rgba(0, 0, 0, 0.60)"),
25
- colorOnSurfaceDisabled: FtCssVariable.create("--ft-color-on-surface-disabled", "COLOR", "rgba(0, 0, 0, 0.38)"),
26
- opacityContentOnSurfaceDisabled: FtCssVariable.create("--ft-opacity-content-on-surface-disabled", "NUMBER", "0"),
27
- opacityContentOnSurfaceEnable: FtCssVariable.create("--ft-opacity-content-on-surface-enable", "NUMBER", "0"),
28
- opacityContentOnSurfaceHover: FtCssVariable.create("--ft-opacity-content-on-surface-hover", "NUMBER", "0.04"),
29
- opacityContentOnSurfaceFocused: FtCssVariable.create("--ft-opacity-content-on-surface-focused", "NUMBER", "0.12"),
30
- opacityContentOnSurfacePressed: FtCssVariable.create("--ft-opacity-content-on-surface-pressed", "NUMBER", "0.10"),
31
- opacityContentOnSurfaceSelected: FtCssVariable.create("--ft-opacity-content-on-surface-selected", "NUMBER", "0.08"),
32
- opacityContentOnSurfaceDragged: FtCssVariable.create("--ft-opacity-content-on-surface-dragged", "NUMBER", "0.08"),
33
- opacityPrimaryOnSurfaceDisabled: FtCssVariable.create("--ft-opacity-primary-on-surface-disabled", "NUMBER", "0"),
34
- opacityPrimaryOnSurfaceEnable: FtCssVariable.create("--ft-opacity-primary-on-surface-enable", "NUMBER", "0"),
35
- opacityPrimaryOnSurfaceHover: FtCssVariable.create("--ft-opacity-primary-on-surface-hover", "NUMBER", "0.04"),
36
- opacityPrimaryOnSurfaceFocused: FtCssVariable.create("--ft-opacity-primary-on-surface-focused", "NUMBER", "0.12"),
37
- opacityPrimaryOnSurfacePressed: FtCssVariable.create("--ft-opacity-primary-on-surface-pressed", "NUMBER", "0.10"),
38
- opacityPrimaryOnSurfaceSelected: FtCssVariable.create("--ft-opacity-primary-on-surface-selected", "NUMBER", "0.08"),
39
- opacityPrimaryOnSurfaceDragged: FtCssVariable.create("--ft-opacity-primary-on-surface-dragged", "NUMBER", "0.08"),
40
- opacitySurfaceOnPrimaryDisabled: FtCssVariable.create("--ft-opacity-surface-on-primary-disabled", "NUMBER", "0"),
41
- opacitySurfaceOnPrimaryEnable: FtCssVariable.create("--ft-opacity-surface-on-primary-enable", "NUMBER", "0"),
42
- opacitySurfaceOnPrimaryHover: FtCssVariable.create("--ft-opacity-surface-on-primary-hover", "NUMBER", "0.04"),
43
- opacitySurfaceOnPrimaryFocused: FtCssVariable.create("--ft-opacity-surface-on-primary-focused", "NUMBER", "0.12"),
44
- opacitySurfaceOnPrimaryPressed: FtCssVariable.create("--ft-opacity-surface-on-primary-pressed", "NUMBER", "0.10"),
45
- opacitySurfaceOnPrimarySelected: FtCssVariable.create("--ft-opacity-surface-on-primary-selected", "NUMBER", "0.08"),
46
- opacitySurfaceOnPrimaryDragged: FtCssVariable.create("--ft-opacity-surface-on-primary-dragged", "NUMBER", "0.08"),
47
- elevation00: FtCssVariable.create("--ft-elevation-00", "UNKNOWN", "0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),
48
- elevation01: FtCssVariable.create("--ft-elevation-01", "UNKNOWN", "0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),
49
- elevation02: FtCssVariable.create("--ft-elevation-02", "UNKNOWN", "0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),
50
- elevation03: FtCssVariable.create("--ft-elevation-03", "UNKNOWN", "0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),
51
- elevation04: FtCssVariable.create("--ft-elevation-04", "UNKNOWN", "0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),
52
- elevation06: FtCssVariable.create("--ft-elevation-06", "UNKNOWN", "0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),
53
- elevation08: FtCssVariable.create("--ft-elevation-08", "UNKNOWN", "0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),
54
- elevation12: FtCssVariable.create("--ft-elevation-12", "UNKNOWN", "0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),
55
- elevation16: FtCssVariable.create("--ft-elevation-16", "UNKNOWN", "0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),
56
- elevation24: FtCssVariable.create("--ft-elevation-24", "UNKNOWN", "0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),
57
- borderRadiusS: FtCssVariable.create("--ft-border-radius-S", "SIZE", "4px"),
58
- borderRadiusM: FtCssVariable.create("--ft-border-radius-M", "SIZE", "8px"),
59
- borderRadiusL: FtCssVariable.create("--ft-border-radius-L", "SIZE", "12px"),
60
- borderRadiusXL: FtCssVariable.create("--ft-border-radius-XL", "SIZE", "16px"),
61
- titleFont: FtCssVariable.create("--ft-title-font", "UNKNOWN", "Ubuntu, system-ui, sans-serif"),
62
- contentFont: FtCssVariable.create("--ft-content-font", "UNKNOWN", "'Open Sans', system-ui, sans-serif"),
63
- transitionDuration: FtCssVariable.create("--ft-transition-duration", "UNKNOWN", "250ms"),
64
- transitionTimingFunction: FtCssVariable.create("--ft-transition-timing-function", "UNKNOWN", "ease-in-out"),
3
+ colorPrimary: FtCssVariableFactory.create("--ft-color-primary", "COLOR", "#2196F3"),
4
+ colorPrimaryVariant: FtCssVariableFactory.create("--ft-color-primary-variant", "COLOR", "#1976D2"),
5
+ colorSecondary: FtCssVariableFactory.create("--ft-color-secondary", "COLOR", "#FFCC80"),
6
+ colorSecondaryVariant: FtCssVariableFactory.create("--ft-color-secondary-variant", "COLOR", "#F57C00"),
7
+ colorSurface: FtCssVariableFactory.create("--ft-color-surface", "COLOR", "#FFFFFF"),
8
+ colorContent: FtCssVariableFactory.create("--ft-color-content", "COLOR", "rgba(0, 0, 0, 0.87)"),
9
+ colorError: FtCssVariableFactory.create("--ft-color-error", "COLOR", "#B00020"),
10
+ colorOutline: FtCssVariableFactory.create("--ft-color-outline", "COLOR", "rgba(0, 0, 0, 0.14)"),
11
+ colorOpacityHigh: FtCssVariableFactory.create("--ft-color-opacity-high", "NUMBER", "1"),
12
+ colorOpacityMedium: FtCssVariableFactory.create("--ft-color-opacity-medium", "NUMBER", "0.74"),
13
+ colorOpacityDisabled: FtCssVariableFactory.create("--ft-color-opacity-disabled", "NUMBER", "0.38"),
14
+ colorOnPrimary: FtCssVariableFactory.create("--ft-color-on-primary", "COLOR", "#FFFFFF"),
15
+ colorOnPrimaryHigh: FtCssVariableFactory.create("--ft-color-on-primary-high", "COLOR", "#FFFFFF"),
16
+ colorOnPrimaryMedium: FtCssVariableFactory.create("--ft-color-on-primary-medium", "COLOR", "rgba(255, 255, 255, 0.74)"),
17
+ colorOnPrimaryDisabled: FtCssVariableFactory.create("--ft-color-on-primary-disabled", "COLOR", "rgba(255, 255, 255, 0.38)"),
18
+ colorOnSecondary: FtCssVariableFactory.create("--ft-color-on-secondary", "COLOR", "#FFFFFF"),
19
+ colorOnSecondaryHigh: FtCssVariableFactory.create("--ft-color-on-secondary-high", "COLOR", "#FFFFFF"),
20
+ colorOnSecondaryMedium: FtCssVariableFactory.create("--ft-color-on-secondary-medium", "COLOR", "rgba(255, 255, 255, 0.74)"),
21
+ colorOnSecondaryDisabled: FtCssVariableFactory.create("--ft-color-on-secondary-disabled", "COLOR", "rgba(255, 255, 255, 0.38)"),
22
+ colorOnSurface: FtCssVariableFactory.create("--ft-color-on-surface", "COLOR", "rgba(0, 0, 0, 0.87)"),
23
+ colorOnSurfaceHigh: FtCssVariableFactory.create("--ft-color-on-surface-high", "COLOR", "rgba(0, 0, 0, 0.87)"),
24
+ colorOnSurfaceMedium: FtCssVariableFactory.create("--ft-color-on-surface-medium", "COLOR", "rgba(0, 0, 0, 0.60)"),
25
+ colorOnSurfaceDisabled: FtCssVariableFactory.create("--ft-color-on-surface-disabled", "COLOR", "rgba(0, 0, 0, 0.38)"),
26
+ opacityContentOnSurfaceDisabled: FtCssVariableFactory.create("--ft-opacity-content-on-surface-disabled", "NUMBER", "0"),
27
+ opacityContentOnSurfaceEnable: FtCssVariableFactory.create("--ft-opacity-content-on-surface-enable", "NUMBER", "0"),
28
+ opacityContentOnSurfaceHover: FtCssVariableFactory.create("--ft-opacity-content-on-surface-hover", "NUMBER", "0.04"),
29
+ opacityContentOnSurfaceFocused: FtCssVariableFactory.create("--ft-opacity-content-on-surface-focused", "NUMBER", "0.12"),
30
+ opacityContentOnSurfacePressed: FtCssVariableFactory.create("--ft-opacity-content-on-surface-pressed", "NUMBER", "0.10"),
31
+ opacityContentOnSurfaceSelected: FtCssVariableFactory.create("--ft-opacity-content-on-surface-selected", "NUMBER", "0.08"),
32
+ opacityContentOnSurfaceDragged: FtCssVariableFactory.create("--ft-opacity-content-on-surface-dragged", "NUMBER", "0.08"),
33
+ opacityPrimaryOnSurfaceDisabled: FtCssVariableFactory.create("--ft-opacity-primary-on-surface-disabled", "NUMBER", "0"),
34
+ opacityPrimaryOnSurfaceEnable: FtCssVariableFactory.create("--ft-opacity-primary-on-surface-enable", "NUMBER", "0"),
35
+ opacityPrimaryOnSurfaceHover: FtCssVariableFactory.create("--ft-opacity-primary-on-surface-hover", "NUMBER", "0.04"),
36
+ opacityPrimaryOnSurfaceFocused: FtCssVariableFactory.create("--ft-opacity-primary-on-surface-focused", "NUMBER", "0.12"),
37
+ opacityPrimaryOnSurfacePressed: FtCssVariableFactory.create("--ft-opacity-primary-on-surface-pressed", "NUMBER", "0.10"),
38
+ opacityPrimaryOnSurfaceSelected: FtCssVariableFactory.create("--ft-opacity-primary-on-surface-selected", "NUMBER", "0.08"),
39
+ opacityPrimaryOnSurfaceDragged: FtCssVariableFactory.create("--ft-opacity-primary-on-surface-dragged", "NUMBER", "0.08"),
40
+ opacitySurfaceOnPrimaryDisabled: FtCssVariableFactory.create("--ft-opacity-surface-on-primary-disabled", "NUMBER", "0"),
41
+ opacitySurfaceOnPrimaryEnable: FtCssVariableFactory.create("--ft-opacity-surface-on-primary-enable", "NUMBER", "0"),
42
+ opacitySurfaceOnPrimaryHover: FtCssVariableFactory.create("--ft-opacity-surface-on-primary-hover", "NUMBER", "0.04"),
43
+ opacitySurfaceOnPrimaryFocused: FtCssVariableFactory.create("--ft-opacity-surface-on-primary-focused", "NUMBER", "0.12"),
44
+ opacitySurfaceOnPrimaryPressed: FtCssVariableFactory.create("--ft-opacity-surface-on-primary-pressed", "NUMBER", "0.10"),
45
+ opacitySurfaceOnPrimarySelected: FtCssVariableFactory.create("--ft-opacity-surface-on-primary-selected", "NUMBER", "0.08"),
46
+ opacitySurfaceOnPrimaryDragged: FtCssVariableFactory.create("--ft-opacity-surface-on-primary-dragged", "NUMBER", "0.08"),
47
+ elevation00: FtCssVariableFactory.create("--ft-elevation-00", "UNKNOWN", "0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),
48
+ elevation01: FtCssVariableFactory.create("--ft-elevation-01", "UNKNOWN", "0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),
49
+ elevation02: FtCssVariableFactory.create("--ft-elevation-02", "UNKNOWN", "0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),
50
+ elevation03: FtCssVariableFactory.create("--ft-elevation-03", "UNKNOWN", "0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),
51
+ elevation04: FtCssVariableFactory.create("--ft-elevation-04", "UNKNOWN", "0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),
52
+ elevation06: FtCssVariableFactory.create("--ft-elevation-06", "UNKNOWN", "0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),
53
+ elevation08: FtCssVariableFactory.create("--ft-elevation-08", "UNKNOWN", "0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),
54
+ elevation12: FtCssVariableFactory.create("--ft-elevation-12", "UNKNOWN", "0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),
55
+ elevation16: FtCssVariableFactory.create("--ft-elevation-16", "UNKNOWN", "0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),
56
+ elevation24: FtCssVariableFactory.create("--ft-elevation-24", "UNKNOWN", "0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),
57
+ borderRadiusS: FtCssVariableFactory.create("--ft-border-radius-S", "SIZE", "4px"),
58
+ borderRadiusM: FtCssVariableFactory.create("--ft-border-radius-M", "SIZE", "8px"),
59
+ borderRadiusL: FtCssVariableFactory.create("--ft-border-radius-L", "SIZE", "12px"),
60
+ borderRadiusXL: FtCssVariableFactory.create("--ft-border-radius-XL", "SIZE", "16px"),
61
+ titleFont: FtCssVariableFactory.create("--ft-title-font", "UNKNOWN", "Ubuntu, system-ui, sans-serif"),
62
+ contentFont: FtCssVariableFactory.create("--ft-content-font", "UNKNOWN", "'Open Sans', system-ui, sans-serif"),
63
+ transitionDuration: FtCssVariableFactory.create("--ft-transition-duration", "UNKNOWN", "250ms"),
64
+ transitionTimingFunction: FtCssVariableFactory.create("--ft-transition-timing-function", "UNKNOWN", "ease-in-out"),
65
65
  };
66
66
  //# sourceMappingURL=designSystemVariables.js.map
@@ -4,24 +4,24 @@ var t,e;t=this,e=function(t){
4
4
  * Copyright 2019 Google LLC
5
5
  * SPDX-License-Identifier: BSD-3-Clause
6
6
  */
7
- const e=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,n=Symbol(),r=new Map;class i{constructor(t,e){if(this._$cssResult$=!0,e!==n)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=r.get(this.cssText);return e&&void 0===t&&(r.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const o=t=>new i("string"==typeof t?t:t+"",n),s=(t,...e)=>{const r=1===t.length?t[0]:e.reduce(((e,n,r)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+t[r+1]),t[0]);return new i(r,n)},c=(t,n)=>{e?t.adoptedStyleSheets=n.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):n.forEach((e=>{const n=document.createElement("style"),r=window.litNonce;void 0!==r&&n.setAttribute("nonce",r),n.textContent=e.cssText,t.appendChild(n)}))},u=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const n of t.cssRules)e+=n.cssText;return o(e)})(t):t
7
+ const e=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,n=Symbol(),r=new WeakMap;class i{constructor(t,e,r){if(this._$cssResult$=!0,r!==n)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const n=this.t;if(e&&void 0===t){const e=void 0!==n&&1===n.length;e&&(t=r.get(n)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&r.set(n,t))}return t}toString(){return this.cssText}}const o=t=>new i("string"==typeof t?t:t+"",void 0,n),s=(t,...e)=>{const r=1===t.length?t[0]:e.reduce(((e,n,r)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+t[r+1]),t[0]);return new i(r,t,n)},c=(t,n)=>{e?t.adoptedStyleSheets=n.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):n.forEach((e=>{const n=document.createElement("style"),r=window.litNonce;void 0!==r&&n.setAttribute("nonce",r),n.textContent=e.cssText,t.appendChild(n)}))},u=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const n of t.cssRules)e+=n.cssText;return o(e)})(t):t
8
8
  /**
9
9
  * @license
10
10
  * Copyright 2017 Google LLC
11
11
  * SPDX-License-Identifier: BSD-3-Clause
12
- */;var a;const l=window.trustedTypes,f=l?l.emptyScript:"",h=window.reactiveElementPolyfillSupport,d={toAttribute(t,e){switch(e){case Boolean:t=t?f:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let n=t;switch(e){case Boolean:n=null!==t;break;case Number:n=null===t?null:Number(t);break;case Object:case Array:try{n=JSON.parse(t)}catch(t){n=null}}return n}},v=(t,e)=>e!==t&&(e==e||t==t),p={attribute:!0,type:String,converter:d,reflect:!1,hasChanged:v};class b extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,n)=>{const r=this._$Eh(n,e);void 0!==r&&(this._$Eu.set(r,n),t.push(r))})),t}static createProperty(t,e=p){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const n="symbol"==typeof t?Symbol():"__"+t,r=this.getPropertyDescriptor(t,n,e);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}static getPropertyDescriptor(t,e,n){return{get(){return this[e]},set(r){const i=this[t];this[e]=r,this.requestUpdate(t,i,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||p}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const n of e)this.createProperty(n,t[n])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const n=new Set(t.flat(1/0).reverse());for(const t of n)e.unshift(u(t))}else void 0!==t&&e.push(u(t));return e}static _$Eh(t,e){const n=e.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,n;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(n=t.hostConnected)||void 0===n||n.call(t))}removeController(t){var e;null===(e=this._$Eg)||void 0===e||e.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return c(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,n){this._$AK(t,n)}_$ES(t,e,n=p){var r,i;const o=this.constructor._$Eh(t,n);if(void 0!==o&&!0===n.reflect){const s=(null!==(i=null===(r=n.converter)||void 0===r?void 0:r.toAttribute)&&void 0!==i?i:d.toAttribute)(e,n.type);this._$Ei=t,null==s?this.removeAttribute(o):this.setAttribute(o,s),this._$Ei=null}}_$AK(t,e){var n,r,i;const o=this.constructor,s=o._$Eu.get(t);if(void 0!==s&&this._$Ei!==s){const t=o.getPropertyOptions(s),c=t.converter,u=null!==(i=null!==(r=null===(n=c)||void 0===n?void 0:n.fromAttribute)&&void 0!==r?r:"function"==typeof c?c:null)&&void 0!==i?i:d.fromAttribute;this._$Ei=s,this[s]=u(e,t.type),this._$Ei=null}}requestUpdate(t,e,n){let r=!0;void 0!==t&&(((n=n||this.constructor.getPropertyOptions(t)).hasChanged||v)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===n.reflect&&this._$Ei!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,n))):r=!1),!this.isUpdatePending&&r&&(this._$Ep=this._$E_())}async _$E_(){this.isUpdatePending=!0;try{await this._$Ep}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach(((t,e)=>this[e]=t)),this._$Et=void 0);let e=!1;const n=this._$AL;try{e=this.shouldUpdate(n),e?(this.willUpdate(n),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(n)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(n)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Eg)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$ES(e,this[e],t))),this._$EC=void 0),this._$EU()}updated(t){}firstUpdated(t){}}
12
+ */;var a;const l=window.trustedTypes,f=l?l.emptyScript:"",h=window.reactiveElementPolyfillSupport,d={toAttribute(t,e){switch(e){case Boolean:t=t?f:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let n=t;switch(e){case Boolean:n=null!==t;break;case Number:n=null===t?null:Number(t);break;case Object:case Array:try{n=JSON.parse(t)}catch(t){n=null}}return n}},v=(t,e)=>e!==t&&(e==e||t==t),p={attribute:!0,type:String,converter:d,reflect:!1,hasChanged:v};class b extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;null!==(e=this.h)&&void 0!==e||(this.h=[]),this.h.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,n)=>{const r=this._$Ep(n,e);void 0!==r&&(this._$Ev.set(r,n),t.push(r))})),t}static createProperty(t,e=p){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const n="symbol"==typeof t?Symbol():"__"+t,r=this.getPropertyDescriptor(t,n,e);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}static getPropertyDescriptor(t,e,n){return{get(){return this[e]},set(r){const i=this[t];this[e]=r,this.requestUpdate(t,i,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||p}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const n of e)this.createProperty(n,t[n])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const n=new Set(t.flat(1/0).reverse());for(const t of n)e.unshift(u(t))}else void 0!==t&&e.push(u(t));return e}static _$Ep(t,e){const n=e.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,n;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(n=t.hostConnected)||void 0===n||n.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return c(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,n){this._$AK(t,n)}_$EO(t,e,n=p){var r,i;const o=this.constructor._$Ep(t,n);if(void 0!==o&&!0===n.reflect){const s=(null!==(i=null===(r=n.converter)||void 0===r?void 0:r.toAttribute)&&void 0!==i?i:d.toAttribute)(e,n.type);this._$El=t,null==s?this.removeAttribute(o):this.setAttribute(o,s),this._$El=null}}_$AK(t,e){var n,r;const i=this.constructor,o=i._$Ev.get(t);if(void 0!==o&&this._$El!==o){const t=i.getPropertyOptions(o),s=t.converter,c=null!==(r=null!==(n=null==s?void 0:s.fromAttribute)&&void 0!==n?n:"function"==typeof s?s:null)&&void 0!==r?r:d.fromAttribute;this._$El=o,this[o]=c(e,t.type),this._$El=null}}requestUpdate(t,e,n){let r=!0;void 0!==t&&(((n=n||this.constructor.getPropertyOptions(t)).hasChanged||v)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===n.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,n))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const n=this._$AL;try{e=this.shouldUpdate(n),e?(this.willUpdate(n),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(n)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(n)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}
13
13
  /**
14
14
  * @license
15
15
  * Copyright 2017 Google LLC
16
16
  * SPDX-License-Identifier: BSD-3-Clause
17
17
  */
18
- var y;b.finalized=!0,b.elementProperties=new Map,b.elementStyles=[],b.shadowRootOptions={mode:"open"},null==h||h({ReactiveElement:b}),(null!==(a=globalThis.reactiveElementVersions)&&void 0!==a?a:globalThis.reactiveElementVersions=[]).push("1.3.2");const m=globalThis.trustedTypes,w=m?m.createPolicy("lit-html",{createHTML:t=>t}):void 0,O=`lit$${(Math.random()+"").slice(9)}$`,g="?"+O,x=`<${g}>`,S=document,E=(t="")=>S.createComment(t),j=t=>null===t||"object"!=typeof t&&"function"!=typeof t,C=Array.isArray,R=t=>{var e;return C(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])},N=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,M=/-->/g,_=/>/g,A=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,$=/'/g,U=/"/g,P=/^(?:script|style|textarea|title)$/i,k=t=>(e,...n)=>({_$litType$:t,strings:e,values:n}),F=k(1),L=k(2),T=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),B=new WeakMap,W=(t,e,n)=>{var r,i;const o=null!==(r=null==n?void 0:n.renderBefore)&&void 0!==r?r:e;let s=o._$litPart$;if(void 0===s){const t=null!==(i=null==n?void 0:n.renderBefore)&&void 0!==i?i:null;o._$litPart$=s=new q(e.insertBefore(E(),t),t,void 0,null!=n?n:{})}return s._$AI(t),s},H=S.createTreeWalker(S,129,null,!1),I=(t,e)=>{const n=t.length-1,r=[];let i,o=2===e?"<svg>":"",s=N;for(let e=0;e<n;e++){const n=t[e];let c,u,a=-1,l=0;for(;l<n.length&&(s.lastIndex=l,u=s.exec(n),null!==u);)l=s.lastIndex,s===N?"!--"===u[1]?s=M:void 0!==u[1]?s=_:void 0!==u[2]?(P.test(u[2])&&(i=RegExp("</"+u[2],"g")),s=A):void 0!==u[3]&&(s=A):s===A?">"===u[0]?(s=null!=i?i:N,a=-1):void 0===u[1]?a=-2:(a=s.lastIndex-u[2].length,c=u[1],s=void 0===u[3]?A:'"'===u[3]?U:$):s===U||s===$?s=A:s===M||s===_?s=N:(s=A,i=void 0);const f=s===A&&t[e+1].startsWith("/>")?" ":"";o+=s===N?n+x:a>=0?(r.push(c),n.slice(0,a)+"$lit$"+n.slice(a)+O+f):n+O+(-2===a?(r.push(void 0),e):f)}const c=o+(t[n]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==w?w.createHTML(c):c,r]};class K{constructor({strings:t,_$litType$:e},n){let r;this.parts=[];let i=0,o=0;const s=t.length-1,c=this.parts,[u,a]=I(t,e);if(this.el=K.createElement(u,n),H.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(r=H.nextNode())&&c.length<s;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const e of r.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(O)){const n=a[o++];if(t.push(e),void 0!==n){const t=r.getAttribute(n.toLowerCase()+"$lit$").split(O),e=/([.?@])?(.*)/.exec(n);c.push({type:1,index:i,name:e[2],strings:t,ctor:"."===e[1]?J:"?"===e[1]?G:"@"===e[1]?Q:Z})}else c.push({type:6,index:i})}for(const e of t)r.removeAttribute(e)}if(P.test(r.tagName)){const t=r.textContent.split(O),e=t.length-1;if(e>0){r.textContent=m?m.emptyScript:"";for(let n=0;n<e;n++)r.append(t[n],E()),H.nextNode(),c.push({type:2,index:++i});r.append(t[e],E())}}}else if(8===r.nodeType)if(r.data===g)c.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(O,t+1));)c.push({type:7,index:i}),t+=O.length-1}i++}}static createElement(t,e){const n=S.createElement("template");return n.innerHTML=t,n}}function V(t,e,n=t,r){var i,o,s,c;if(e===T)return e;let u=void 0!==r?null===(i=n._$Cl)||void 0===i?void 0:i[r]:n._$Cu;const a=j(e)?void 0:e._$litDirective$;return(null==u?void 0:u.constructor)!==a&&(null===(o=null==u?void 0:u._$AO)||void 0===o||o.call(u,!1),void 0===a?u=void 0:(u=new a(t),u._$AT(t,n,r)),void 0!==r?(null!==(s=(c=n)._$Cl)&&void 0!==s?s:c._$Cl=[])[r]=u:n._$Cu=u),void 0!==u&&(e=V(t,u._$AS(t,e.values),u,r)),e}class z{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:n},parts:r}=this._$AD,i=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:S).importNode(n,!0);H.currentNode=i;let o=H.nextNode(),s=0,c=0,u=r[0];for(;void 0!==u;){if(s===u.index){let e;2===u.type?e=new q(o,o.nextSibling,this,t):1===u.type?e=new u.ctor(o,u.name,u.strings,this,t):6===u.type&&(e=new Y(o,this,t)),this.v.push(e),u=r[++c]}s!==(null==u?void 0:u.index)&&(o=H.nextNode(),s++)}return i}m(t){let e=0;for(const n of this.v)void 0!==n&&(void 0!==n.strings?(n._$AI(t,n,e),e+=n.strings.length-2):n._$AI(t[e])),e++}}class q{constructor(t,e,n,r){var i;this.type=2,this._$AH=D,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=n,this.options=r,this._$Cg=null===(i=null==r?void 0:r.isConnected)||void 0===i||i}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=V(this,t,e),j(t)?t===D||null==t||""===t?(this._$AH!==D&&this._$AR(),this._$AH=D):t!==this._$AH&&t!==T&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):R(t)?this.S(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==D&&j(this._$AH)?this._$AA.nextSibling.data=t:this.k(S.createTextNode(t)),this._$AH=t}T(t){var e;const{values:n,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=K.createElement(r.h,this.options)),r);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===i)this._$AH.m(n);else{const t=new z(i,this),e=t.p(this.options);t.m(n),this.k(e),this._$AH=t}}_$AC(t){let e=B.get(t.strings);return void 0===e&&B.set(t.strings,e=new K(t)),e}S(t){C(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let n,r=0;for(const i of t)r===e.length?e.push(n=new q(this.M(E()),this.M(E()),this,this.options)):n=e[r],n._$AI(i),r++;r<e.length&&(this._$AR(n&&n._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){var n;for(null===(n=this._$AP)||void 0===n||n.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class Z{constructor(t,e,n,r,i){this.type=1,this._$AH=D,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,n.length>2||""!==n[0]||""!==n[1]?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=D}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,n,r){const i=this.strings;let o=!1;if(void 0===i)t=V(this,t,e,0),o=!j(t)||t!==this._$AH&&t!==T,o&&(this._$AH=t);else{const r=t;let s,c;for(t=i[0],s=0;s<i.length-1;s++)c=V(this,r[n+s],e,s),c===T&&(c=this._$AH[s]),o||(o=!j(c)||c!==this._$AH[s]),c===D?t=D:t!==D&&(t+=(null!=c?c:"")+i[s+1]),this._$AH[s]=c}o&&!r&&this.C(t)}C(t){t===D?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class J extends Z{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===D?void 0:t}}const X=m?m.emptyScript:"";class G extends Z{constructor(){super(...arguments),this.type=4}C(t){t&&t!==D?this.element.setAttribute(this.name,X):this.element.removeAttribute(this.name)}}class Q extends Z{constructor(t,e,n,r,i){super(t,e,n,r,i),this.type=5}_$AI(t,e=this){var n;if((t=null!==(n=V(this,t,e,0))&&void 0!==n?n:D)===T)return;const r=this._$AH,i=t===D&&r!==D||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,o=t!==D&&(r===D||i);i&&this.element.removeEventListener(this.name,this,r),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,n;"function"==typeof this._$AH?this._$AH.call(null!==(n=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==n?n:this.element,t):this._$AH.handleEvent(t)}}class Y{constructor(t,e,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){V(this,t)}}const tt={L:"$lit$",P:O,V:g,I:1,N:I,R:z,j:R,D:V,H:q,F:Z,O:G,W:Q,B:J,Z:Y},et=window.litHtmlPolyfillSupport;
18
+ var y;b.finalized=!0,b.elementProperties=new Map,b.elementStyles=[],b.shadowRootOptions={mode:"open"},null==h||h({ReactiveElement:b}),(null!==(a=globalThis.reactiveElementVersions)&&void 0!==a?a:globalThis.reactiveElementVersions=[]).push("1.3.4");const m=globalThis.trustedTypes,w=m?m.createPolicy("lit-html",{createHTML:t=>t}):void 0,O=`lit$${(Math.random()+"").slice(9)}$`,g="?"+O,x=`<${g}>`,S=document,E=(t="")=>S.createComment(t),j=t=>null===t||"object"!=typeof t&&"function"!=typeof t,R=Array.isArray,N=t=>R(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),C=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,M=/-->/g,$=/>/g,_=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),A=/'/g,P=/"/g,U=/^(?:script|style|textarea|title)$/i,k=t=>(e,...n)=>({_$litType$:t,strings:e,values:n}),F=k(1),L=k(2),T=Symbol.for("lit-noChange"),B=Symbol.for("lit-nothing"),D=new WeakMap,W=(t,e,n)=>{var r,i;const o=null!==(r=null==n?void 0:n.renderBefore)&&void 0!==r?r:e;let s=o._$litPart$;if(void 0===s){const t=null!==(i=null==n?void 0:n.renderBefore)&&void 0!==i?i:null;o._$litPart$=s=new q(e.insertBefore(E(),t),t,void 0,null!=n?n:{})}return s._$AI(t),s},H=S.createTreeWalker(S,129,null,!1),I=(t,e)=>{const n=t.length-1,r=[];let i,o=2===e?"<svg>":"",s=C;for(let e=0;e<n;e++){const n=t[e];let c,u,a=-1,l=0;for(;l<n.length&&(s.lastIndex=l,u=s.exec(n),null!==u);)l=s.lastIndex,s===C?"!--"===u[1]?s=M:void 0!==u[1]?s=$:void 0!==u[2]?(U.test(u[2])&&(i=RegExp("</"+u[2],"g")),s=_):void 0!==u[3]&&(s=_):s===_?">"===u[0]?(s=null!=i?i:C,a=-1):void 0===u[1]?a=-2:(a=s.lastIndex-u[2].length,c=u[1],s=void 0===u[3]?_:'"'===u[3]?P:A):s===P||s===A?s=_:s===M||s===$?s=C:(s=_,i=void 0);const f=s===_&&t[e+1].startsWith("/>")?" ":"";o+=s===C?n+x:a>=0?(r.push(c),n.slice(0,a)+"$lit$"+n.slice(a)+O+f):n+O+(-2===a?(r.push(void 0),e):f)}const c=o+(t[n]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==w?w.createHTML(c):c,r]};class K{constructor({strings:t,_$litType$:e},n){let r;this.parts=[];let i=0,o=0;const s=t.length-1,c=this.parts,[u,a]=I(t,e);if(this.el=K.createElement(u,n),H.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(r=H.nextNode())&&c.length<s;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const e of r.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(O)){const n=a[o++];if(t.push(e),void 0!==n){const t=r.getAttribute(n.toLowerCase()+"$lit$").split(O),e=/([.?@])?(.*)/.exec(n);c.push({type:1,index:i,name:e[2],strings:t,ctor:"."===e[1]?Z:"?"===e[1]?G:"@"===e[1]?Q:J})}else c.push({type:6,index:i})}for(const e of t)r.removeAttribute(e)}if(U.test(r.tagName)){const t=r.textContent.split(O),e=t.length-1;if(e>0){r.textContent=m?m.emptyScript:"";for(let n=0;n<e;n++)r.append(t[n],E()),H.nextNode(),c.push({type:2,index:++i});r.append(t[e],E())}}}else if(8===r.nodeType)if(r.data===g)c.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(O,t+1));)c.push({type:7,index:i}),t+=O.length-1}i++}}static createElement(t,e){const n=S.createElement("template");return n.innerHTML=t,n}}function V(t,e,n=t,r){var i,o,s,c;if(e===T)return e;let u=void 0!==r?null===(i=n._$Cl)||void 0===i?void 0:i[r]:n._$Cu;const a=j(e)?void 0:e._$litDirective$;return(null==u?void 0:u.constructor)!==a&&(null===(o=null==u?void 0:u._$AO)||void 0===o||o.call(u,!1),void 0===a?u=void 0:(u=new a(t),u._$AT(t,n,r)),void 0!==r?(null!==(s=(c=n)._$Cl)&&void 0!==s?s:c._$Cl=[])[r]=u:n._$Cu=u),void 0!==u&&(e=V(t,u._$AS(t,e.values),u,r)),e}class z{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:n},parts:r}=this._$AD,i=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:S).importNode(n,!0);H.currentNode=i;let o=H.nextNode(),s=0,c=0,u=r[0];for(;void 0!==u;){if(s===u.index){let e;2===u.type?e=new q(o,o.nextSibling,this,t):1===u.type?e=new u.ctor(o,u.name,u.strings,this,t):6===u.type&&(e=new Y(o,this,t)),this.v.push(e),u=r[++c]}s!==(null==u?void 0:u.index)&&(o=H.nextNode(),s++)}return i}m(t){let e=0;for(const n of this.v)void 0!==n&&(void 0!==n.strings?(n._$AI(t,n,e),e+=n.strings.length-2):n._$AI(t[e])),e++}}class q{constructor(t,e,n,r){var i;this.type=2,this._$AH=B,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=n,this.options=r,this._$C_=null===(i=null==r?void 0:r.isConnected)||void 0===i||i}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$C_}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=V(this,t,e),j(t)?t===B||null==t||""===t?(this._$AH!==B&&this._$AR(),this._$AH=B):t!==this._$AH&&t!==T&&this.T(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.k(t):N(t)?this.S(t):this.T(t)}j(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.j(t))}T(t){this._$AH!==B&&j(this._$AH)?this._$AA.nextSibling.data=t:this.k(S.createTextNode(t)),this._$AH=t}$(t){var e;const{values:n,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=K.createElement(r.h,this.options)),r);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===i)this._$AH.m(n);else{const t=new z(i,this),e=t.p(this.options);t.m(n),this.k(e),this._$AH=t}}_$AC(t){let e=D.get(t.strings);return void 0===e&&D.set(t.strings,e=new K(t)),e}S(t){R(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let n,r=0;for(const i of t)r===e.length?e.push(n=new q(this.j(E()),this.j(E()),this,this.options)):n=e[r],n._$AI(i),r++;r<e.length&&(this._$AR(n&&n._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){var n;for(null===(n=this._$AP)||void 0===n||n.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$C_=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class J{constructor(t,e,n,r,i){this.type=1,this._$AH=B,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,n.length>2||""!==n[0]||""!==n[1]?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=B}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,n,r){const i=this.strings;let o=!1;if(void 0===i)t=V(this,t,e,0),o=!j(t)||t!==this._$AH&&t!==T,o&&(this._$AH=t);else{const r=t;let s,c;for(t=i[0],s=0;s<i.length-1;s++)c=V(this,r[n+s],e,s),c===T&&(c=this._$AH[s]),o||(o=!j(c)||c!==this._$AH[s]),c===B?t=B:t!==B&&(t+=(null!=c?c:"")+i[s+1]),this._$AH[s]=c}o&&!r&&this.P(t)}P(t){t===B?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Z extends J{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===B?void 0:t}}const X=m?m.emptyScript:"";class G extends J{constructor(){super(...arguments),this.type=4}P(t){t&&t!==B?this.element.setAttribute(this.name,X):this.element.removeAttribute(this.name)}}class Q extends J{constructor(t,e,n,r,i){super(t,e,n,r,i),this.type=5}_$AI(t,e=this){var n;if((t=null!==(n=V(this,t,e,0))&&void 0!==n?n:B)===T)return;const r=this._$AH,i=t===B&&r!==B||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,o=t!==B&&(r===B||i);i&&this.element.removeEventListener(this.name,this,r),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,n;"function"==typeof this._$AH?this._$AH.call(null!==(n=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==n?n:this.element,t):this._$AH.handleEvent(t)}}class Y{constructor(t,e,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){V(this,t)}}const tt={A:"$lit$",C:O,M:g,L:1,R:I,V:z,D:N,I:V,H:q,N:J,U:G,B:Q,F:Z,W:Y},et=window.litHtmlPolyfillSupport;
19
19
  /**
20
20
  * @license
21
21
  * Copyright 2017 Google LLC
22
22
  * SPDX-License-Identifier: BSD-3-Clause
23
23
  */
24
- var nt,rt;null==et||et(K,q),(null!==(y=globalThis.litHtmlVersions)&&void 0!==y?y:globalThis.litHtmlVersions=[]).push("2.2.4");const it=b;class ot extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const n=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=n.firstChild),n}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=W(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return T}}ot.finalized=!0,ot._$litElement$=!0,null===(nt=globalThis.litElementHydrateSupport)||void 0===nt||nt.call(globalThis,{LitElement:ot});const st=globalThis.litElementPolyfillSupport;null==st||st({LitElement:ot}),(null!==(rt=globalThis.litElementVersions)&&void 0!==rt?rt:globalThis.litElementVersions=[]).push("3.2.0");var ct=Object.freeze({__proto__:null,CSSResult:i,adoptStyles:c,css:s,getCompatibleStyle:u,supportsAdoptingStyleSheets:e,unsafeCSS:o,ReactiveElement:b,defaultConverter:d,notEqual:v,_$LH:tt,html:F,noChange:T,nothing:D,render:W,svg:L,LitElement:ot,UpdatingElement:it,_$LE:{_$AK:(t,e,n)=>{t._$AK(e,n)},_$AL:t=>t._$AL}});
24
+ var nt,rt;null==et||et(K,q),(null!==(y=globalThis.litHtmlVersions)&&void 0!==y?y:globalThis.litHtmlVersions=[]).push("2.2.7");const it=b;class ot extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const n=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=n.firstChild),n}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=W(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return T}}ot.finalized=!0,ot._$litElement$=!0,null===(nt=globalThis.litElementHydrateSupport)||void 0===nt||nt.call(globalThis,{LitElement:ot});const st=globalThis.litElementPolyfillSupport;null==st||st({LitElement:ot}),(null!==(rt=globalThis.litElementVersions)&&void 0!==rt?rt:globalThis.litElementVersions=[]).push("3.2.2");var ct=Object.freeze({__proto__:null,CSSResult:i,adoptStyles:c,css:s,getCompatibleStyle:u,supportsAdoptingStyleSheets:e,unsafeCSS:o,ReactiveElement:b,defaultConverter:d,notEqual:v,_$LH:tt,html:F,noChange:T,nothing:B,render:W,svg:L,LitElement:ot,UpdatingElement:it,_$LE:{_$AK:(t,e,n)=>{t._$AK(e,n)},_$AL:t=>t._$AL}});
25
25
  /**
26
26
  * @license
27
27
  * Copyright 2017 Google LLC
@@ -83,27 +83,27 @@ var ft;const ht=null!=(null===(ft=window.HTMLSlotElement)||void 0===ft?void 0:ft
83
83
  * @license
84
84
  * Copyright 2020 Google LLC
85
85
  * SPDX-License-Identifier: BSD-3-Clause
86
- */const{H:wt}=tt,Ot=()=>document.createComment(""),gt=(t,e,n)=>{var r;const i=t._$AA.parentNode,o=void 0===e?t._$AB:e._$AA;if(void 0===n){const e=i.insertBefore(Ot(),o),r=i.insertBefore(Ot(),o);n=new wt(e,r,t,t.options)}else{const e=n._$AB.nextSibling,s=n._$AM,c=s!==t;if(c){let e;null===(r=n._$AQ)||void 0===r||r.call(n,t),n._$AM=t,void 0!==n._$AP&&(e=t._$AU)!==s._$AU&&n._$AP(e)}if(e!==o||c){let t=n._$AA;for(;t!==e;){const e=t.nextSibling;i.insertBefore(t,o),t=e}}}return n},xt=(t,e,n=t)=>(t._$AI(e,n),t),St={},Et=t=>{var e;null===(e=t._$AP)||void 0===e||e.call(t,!1,!0);let n=t._$AA;const r=t._$AB.nextSibling;for(;n!==r;){const t=n.nextSibling;n.remove(),n=t}},jt=(t,e,n)=>{const r=new Map;for(let i=e;i<=n;i++)r.set(t[i],i);return r},Ct=yt(class extends mt{constructor(t){if(super(t),t.type!==bt)throw Error("repeat() can only be used in text expressions")}dt(t,e,n){let r;void 0===n?n=e:void 0!==e&&(r=e);const i=[],o=[];let s=0;for(const e of t)i[s]=r?r(e,s):s,o[s]=n(e,s),s++;return{values:o,keys:i}}render(t,e,n){return this.dt(t,e,n).values}update(t,[e,n,r]){var i;const o=(t=>t._$AH)(t),{values:s,keys:c}=this.dt(e,n,r);if(!Array.isArray(o))return this.ut=c,s;const u=null!==(i=this.ut)&&void 0!==i?i:this.ut=[],a=[];let l,f,h=0,d=o.length-1,v=0,p=s.length-1;for(;h<=d&&v<=p;)if(null===o[h])h++;else if(null===o[d])d--;else if(u[h]===c[v])a[v]=xt(o[h],s[v]),h++,v++;else if(u[d]===c[p])a[p]=xt(o[d],s[p]),d--,p--;else if(u[h]===c[p])a[p]=xt(o[h],s[p]),gt(t,a[p+1],o[h]),h++,p--;else if(u[d]===c[v])a[v]=xt(o[d],s[v]),gt(t,o[h],o[d]),d--,v++;else if(void 0===l&&(l=jt(c,v,p),f=jt(u,h,d)),l.has(u[h]))if(l.has(u[d])){const e=f.get(c[v]),n=void 0!==e?o[e]:null;if(null===n){const e=gt(t,o[h]);xt(e,s[v]),a[v]=e}else a[v]=xt(n,s[v]),gt(t,o[h],n),o[e]=null;v++}else Et(o[d]),d--;else Et(o[h]),h++;for(;v<=p;){const e=gt(t,a[p+1]);xt(e,s[v]),a[v++]=e}for(;h<=d;){const t=o[h++];null!==t&&Et(t)}return this.ut=c,((t,e=St)=>{t._$AH=e})(t,a),T}});
86
+ */const{H:wt}=tt,Ot=()=>document.createComment(""),gt=(t,e,n)=>{var r;const i=t._$AA.parentNode,o=void 0===e?t._$AB:e._$AA;if(void 0===n){const e=i.insertBefore(Ot(),o),r=i.insertBefore(Ot(),o);n=new wt(e,r,t,t.options)}else{const e=n._$AB.nextSibling,s=n._$AM,c=s!==t;if(c){let e;null===(r=n._$AQ)||void 0===r||r.call(n,t),n._$AM=t,void 0!==n._$AP&&(e=t._$AU)!==s._$AU&&n._$AP(e)}if(e!==o||c){let t=n._$AA;for(;t!==e;){const e=t.nextSibling;i.insertBefore(t,o),t=e}}}return n},xt=(t,e,n=t)=>(t._$AI(e,n),t),St={},Et=t=>{var e;null===(e=t._$AP)||void 0===e||e.call(t,!1,!0);let n=t._$AA;const r=t._$AB.nextSibling;for(;n!==r;){const t=n.nextSibling;n.remove(),n=t}},jt=(t,e,n)=>{const r=new Map;for(let i=e;i<=n;i++)r.set(t[i],i);return r},Rt=yt(class extends mt{constructor(t){if(super(t),t.type!==bt)throw Error("repeat() can only be used in text expressions")}ht(t,e,n){let r;void 0===n?n=e:void 0!==e&&(r=e);const i=[],o=[];let s=0;for(const e of t)i[s]=r?r(e,s):s,o[s]=n(e,s),s++;return{values:o,keys:i}}render(t,e,n){return this.ht(t,e,n).values}update(t,[e,n,r]){var i;const o=(t=>t._$AH)(t),{values:s,keys:c}=this.ht(e,n,r);if(!Array.isArray(o))return this.ut=c,s;const u=null!==(i=this.ut)&&void 0!==i?i:this.ut=[],a=[];let l,f,h=0,d=o.length-1,v=0,p=s.length-1;for(;h<=d&&v<=p;)if(null===o[h])h++;else if(null===o[d])d--;else if(u[h]===c[v])a[v]=xt(o[h],s[v]),h++,v++;else if(u[d]===c[p])a[p]=xt(o[d],s[p]),d--,p--;else if(u[h]===c[p])a[p]=xt(o[h],s[p]),gt(t,a[p+1],o[h]),h++,p--;else if(u[d]===c[v])a[v]=xt(o[d],s[v]),gt(t,o[h],o[d]),d--,v++;else if(void 0===l&&(l=jt(c,v,p),f=jt(u,h,d)),l.has(u[h]))if(l.has(u[d])){const e=f.get(c[v]),n=void 0!==e?o[e]:null;if(null===n){const e=gt(t,o[h]);xt(e,s[v]),a[v]=e}else a[v]=xt(n,s[v]),gt(t,o[h],n),o[e]=null;v++}else Et(o[d]),d--;else Et(o[h]),h++;for(;v<=p;){const e=gt(t,a[p+1]);xt(e,s[v]),a[v++]=e}for(;h<=d;){const t=o[h++];null!==t&&Et(t)}return this.ut=c,((t,e=St)=>{t._$AH=e})(t,a),T}});
87
87
  /**
88
88
  * @license
89
89
  * Copyright 2017 Google LLC
90
90
  * SPDX-License-Identifier: BSD-3-Clause
91
- */var Rt=Object.freeze({__proto__:null,repeat:Ct});
91
+ */var Nt=Object.freeze({__proto__:null,repeat:Rt});
92
92
  /**
93
93
  * @license
94
94
  * Copyright 2018 Google LLC
95
95
  * SPDX-License-Identifier: BSD-3-Clause
96
- */const Nt=yt(class extends mt{constructor(t){var e;if(super(t),t.type!==pt||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var n,r;if(void 0===this.et){this.et=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(n=this.st)||void 0===n?void 0:n.has(t))&&this.et.add(t);return this.render(e)}const i=t.element.classList;this.et.forEach((t=>{t in e||(i.remove(t),this.et.delete(t))}));for(const t in e){const n=!!e[t];n===this.et.has(t)||(null===(r=this.st)||void 0===r?void 0:r.has(t))||(n?(i.add(t),this.et.add(t)):(i.remove(t),this.et.delete(t)))}return T}});var Mt=Object.freeze({__proto__:null,classMap:Nt});
96
+ */const Ct=yt(class extends mt{constructor(t){var e;if(super(t),t.type!==pt||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var n,r;if(void 0===this.nt){this.nt=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(n=this.st)||void 0===n?void 0:n.has(t))&&this.nt.add(t);return this.render(e)}const i=t.element.classList;this.nt.forEach((t=>{t in e||(i.remove(t),this.nt.delete(t))}));for(const t in e){const n=!!e[t];n===this.nt.has(t)||(null===(r=this.st)||void 0===r?void 0:r.has(t))||(n?(i.add(t),this.nt.add(t)):(i.remove(t),this.nt.delete(t)))}return T}});var Mt=Object.freeze({__proto__:null,classMap:Ct});
97
97
  /**
98
98
  * @license
99
99
  * Copyright 2018 Google LLC
100
100
  * SPDX-License-Identifier: BSD-3-Clause
101
- */const _t=yt(class extends mt{constructor(t){var e;if(super(t),t.type!==pt||"style"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,n)=>{const r=t[n];return null==r?e:e+`${n=n.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`}),"")}update(t,[e]){const{style:n}=t.element;if(void 0===this.ct){this.ct=new Set;for(const t in e)this.ct.add(t);return this.render(e)}this.ct.forEach((t=>{null==e[t]&&(this.ct.delete(t),t.includes("-")?n.removeProperty(t):n[t]="")}));for(const t in e){const r=e[t];null!=r&&(this.ct.add(t),t.includes("-")?n.setProperty(t,r):n[t]=r)}return T}});var At=Object.freeze({__proto__:null,styleMap:_t});
101
+ */const $t=yt(class extends mt{constructor(t){var e;if(super(t),t.type!==pt||"style"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,n)=>{const r=t[n];return null==r?e:e+`${n=n.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`}),"")}update(t,[e]){const{style:n}=t.element;if(void 0===this.vt){this.vt=new Set;for(const t in e)this.vt.add(t);return this.render(e)}this.vt.forEach((t=>{null==e[t]&&(this.vt.delete(t),t.includes("-")?n.removeProperty(t):n[t]="")}));for(const t in e){const r=e[t];null!=r&&(this.vt.add(t),t.includes("-")?n.setProperty(t,r):n[t]=r)}return T}});var _t=Object.freeze({__proto__:null,styleMap:$t});
102
102
  /**
103
103
  * @license
104
104
  * Copyright 2017 Google LLC
105
105
  * SPDX-License-Identifier: BSD-3-Clause
106
- */class $t extends mt{constructor(t){if(super(t),this.it=D,t.type!==bt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===D||null==t)return this.ft=void 0,this.it=t;if(t===T)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this.ft;this.it=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}}$t.directiveName="unsafeHTML",$t.resultType=1;const Ut=yt($t);var Pt=Object.freeze({__proto__:null,UnsafeHTMLDirective:$t,unsafeHTML:Ut});
106
+ */class At extends mt{constructor(t){if(super(t),this.it=B,t.type!==bt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===B||null==t)return this._t=void 0,this.it=t;if(t===T)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}At.directiveName="unsafeHTML",At.resultType=1;const Pt=yt(At);var Ut=Object.freeze({__proto__:null,UnsafeHTMLDirective:At,unsafeHTML:Pt});
107
107
  /**
108
108
  * @license
109
109
  * Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
@@ -118,17 +118,17 @@ var ft;const ht=null!=(null===(ft=window.HTMLSlotElement)||void 0===ft?void 0:ft
118
118
  * http://polymer.github.io/PATENTS.txt
119
119
  *
120
120
  * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
121
- */if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,n=window.customElements.get,r=window.customElements,i=new WeakMap,o=new WeakMap,s=new WeakMap,c=new WeakMap;let u;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const c=i.prototype.attributeChangedCallback,u=new Set(i.observedAttributes||[]);h(i,u,c);const a={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:c,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:u};this._definitionsByTag.set(t,a),this._definitionsByClass.set(i,a);let l=n.call(r,t);l||(l=f(t),e.call(r,t,l)),this===window.customElements&&(s.set(i,a),a.standInClass=l);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)o.delete(t),v(t,a,!0)}const p=this._whenDefinedPromises.get(t);return void 0!==p&&(p.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){b.push(this),r.upgrade.apply(r,arguments),b.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let n=this._whenDefinedPromises.get(t);return void 0===n&&(n={},n.promise=new Promise((t=>n.resolve=t)),this._whenDefinedPromises.set(t,n)),n.promise}_upgradeWhenDefined(t,e,n){let r=this._awaitingUpgrade.get(e);r||this._awaitingUpgrade.set(e,r=new Set),n?r.add(t):r.delete(t)}},window.HTMLElement=function(){let e=u;if(e)return u=void 0,e;const n=s.get(this.constructor);if(!n)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],n.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),i.set(e,n),e},window.HTMLElement.prototype=t.prototype;const a=t=>t===document||t instanceof ShadowRoot,l=t=>{let e=t.getRootNode();if(!a(e)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),a(e)||(e=c.get(e)?.getRootNode()||document)}return e.customElements},f=e=>class{static get formAssociated(){return!0}constructor(){const n=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(n,HTMLElement.prototype);const r=l(n)||window.customElements,i=r._getDefinition(e);return i?v(n,i):o.set(n,r),n}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):o.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):o.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,e,n)=>{if(0===e.size||void 0===n)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);r.call(this,o,i),n.call(this,o,t,i)}else r.call(this,o,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);i.call(this,r),n.call(this,r,t,null)}else i.call(this,r)})},d=e=>{const n=Object.getPrototypeOf(e);if(n!==window.HTMLElement)return n===t||"HTMLElement"===n?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(n)},v=(t,e,n=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),i.set(t,e),u=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((n=>{t.hasAttribute(n)&&e.attributeChangedCallback.call(t,n,null,t.getAttribute(n))})),n&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},p=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=p.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let b=[document];const y=(t,e,n)=>{const r=(n?Object.getPrototypeOf(n):t.prototype)[e];t.prototype[e]=function(){b.push(this);const t=r.apply(n||this,arguments);return void 0!==t&&c.set(t,this),b.pop(),t}};y(ShadowRoot,"createElement",document),y(ShadowRoot,"importNode",document),y(Element,"insertAdjacentHTML");const m=(t,e)=>{const n=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...n,set(t){b.push(this),n.set.call(this,t),b.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,n=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...n){const r=e.call(this,...n);return t.set(r,this),r},n.forEach((e=>{const n=window.ElementInternals.prototype,r=n[e];n[e]=function(...e){const n=t.get(this);if(!0!==i.get(n).formAssociated)throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`);r?.call(this,...e)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class o{constructor(t){const e=new Map;t.forEach(((t,n)=>{const r=t.getAttribute("name"),i=e.get(r)||[];this[+n]=t,i.push(t),e.set(r,i)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new r(t))}))}namedItem(t){return this[t]}}const s=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=s.get.call(this,[]),e=[];for(const n of t){const t=i.get(n);t&&!0!==t.formAssociated||e.push(n)}return new o(e)}})}}try{window.customElements.define("custom-element",null)}catch(t){const e=window.customElements.define;window.customElements.define=(t,n,r)=>{try{e.bind(window.customElements)(t,n,r)}catch(e){console.warn(t,n,r,e)}}}function kt(t,e){const n=()=>JSON.parse(JSON.stringify(t));return at({type:Object,converter:{fromAttribute:t=>{if(null==t)return n();try{return JSON.parse(t)}catch{return n()}},toAttribute:t=>JSON.stringify(t)},...null!=e?e:{}})}class Ft{constructor(t,e,n,r,i){this.name=t,this.category=e,this.fallbackVariable=n,this.defaultValue=r,this.context=i,this._$cssResult$=!0,this.value=this.get()}get cssText(){return this.value.cssText}get styleSheet(){return this.value.styleSheet}toString(){return this.value.toString()}static create(t,e,n){return new Ft(t,e,void 0,n)}static extend(t,e,n){return new Ft(t,e.category,e,n)}static external(t,e){return new Ft(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return s`var(${o(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):o(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,e;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(e=this.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}const Lt={colorPrimary:Ft.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:Ft.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:Ft.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:Ft.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:Ft.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:Ft.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Ft.create("--ft-color-error","COLOR","#B00020"),colorOutline:Ft.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Ft.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:Ft.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:Ft.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:Ft.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:Ft.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:Ft.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Ft.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Ft.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:Ft.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:Ft.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Ft.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Ft.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Ft.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Ft.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Ft.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Ft.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:Ft.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:Ft.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:Ft.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:Ft.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:Ft.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:Ft.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Ft.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Ft.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:Ft.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Ft.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Ft.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Ft.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Ft.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Ft.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Ft.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:Ft.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Ft.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Ft.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Ft.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Ft.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:Ft.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:Ft.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:Ft.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:Ft.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:Ft.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:Ft.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:Ft.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:Ft.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:Ft.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:Ft.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:Ft.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:Ft.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:Ft.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:Ft.create("--ft-border-radius-XL","SIZE","16px"),titleFont:Ft.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Ft.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Ft.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:Ft.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
121
+ */if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,n=window.customElements.get,r=window.customElements,i=new WeakMap,o=new WeakMap,s=new WeakMap,c=new WeakMap;let u;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const c=i.prototype.attributeChangedCallback,u=new Set(i.observedAttributes||[]);h(i,u,c);const a={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:c,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:u};this._definitionsByTag.set(t,a),this._definitionsByClass.set(i,a);let l=n.call(r,t);l||(l=f(t),e.call(r,t,l)),this===window.customElements&&(s.set(i,a),a.standInClass=l);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)o.delete(t),v(t,a,!0)}const p=this._whenDefinedPromises.get(t);return void 0!==p&&(p.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){b.push(this),r.upgrade.apply(r,arguments),b.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let n=this._whenDefinedPromises.get(t);return void 0===n&&(n={},n.promise=new Promise((t=>n.resolve=t)),this._whenDefinedPromises.set(t,n)),n.promise}_upgradeWhenDefined(t,e,n){let r=this._awaitingUpgrade.get(e);r||this._awaitingUpgrade.set(e,r=new Set),n?r.add(t):r.delete(t)}},window.HTMLElement=function(){let e=u;if(e)return u=void 0,e;const n=s.get(this.constructor);if(!n)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],n.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),i.set(e,n),e},window.HTMLElement.prototype=t.prototype;const a=t=>t===document||t instanceof ShadowRoot,l=t=>{let e=t.getRootNode();if(!a(e)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),a(e)||(e=c.get(e)?.getRootNode()||document)}return e.customElements},f=e=>class{static get formAssociated(){return!0}constructor(){const n=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(n,HTMLElement.prototype);const r=l(n)||window.customElements,i=r._getDefinition(e);return i?v(n,i):o.set(n,r),n}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):o.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):o.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,e,n)=>{if(0===e.size||void 0===n)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);r.call(this,o,i),n.call(this,o,t,i)}else r.call(this,o,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);i.call(this,r),n.call(this,r,t,null)}else i.call(this,r)})},d=e=>{const n=Object.getPrototypeOf(e);if(n!==window.HTMLElement)return n===t||"HTMLElement"===n?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(n)},v=(t,e,n=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),i.set(t,e),u=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((n=>{t.hasAttribute(n)&&e.attributeChangedCallback.call(t,n,null,t.getAttribute(n))})),n&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},p=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=p.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let b=[document];const y=(t,e,n)=>{const r=(n?Object.getPrototypeOf(n):t.prototype)[e];t.prototype[e]=function(){b.push(this);const t=r.apply(n||this,arguments);return void 0!==t&&c.set(t,this),b.pop(),t}};y(ShadowRoot,"createElement",document),y(ShadowRoot,"importNode",document),y(Element,"insertAdjacentHTML");const m=(t,e)=>{const n=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...n,set(t){b.push(this),n.set.call(this,t),b.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,n=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...n){const r=e.call(this,...n);return t.set(r,this),r},n.forEach((e=>{const n=window.ElementInternals.prototype,r=n[e];n[e]=function(...e){const n=t.get(this);if(!0!==i.get(n).formAssociated)throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`);r?.call(this,...e)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class o{constructor(t){const e=new Map;t.forEach(((t,n)=>{const r=t.getAttribute("name"),i=e.get(r)||[];this[+n]=t,i.push(t),e.set(r,i)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new r(t))}))}namedItem(t){return this[t]}}const s=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=s.get.call(this,[]),e=[];for(const n of t){const t=i.get(n);t&&!0!==t.formAssociated||e.push(n)}return new o(e)}})}}try{window.customElements.define("custom-element",null)}catch(t){const e=window.customElements.define;window.customElements.define=(t,n,r)=>{try{e.bind(window.customElements)(t,n,r)}catch(e){console.warn(t,n,r,e)}}}function kt(t,e){const n=()=>JSON.parse(JSON.stringify(t));return at({type:Object,converter:{fromAttribute:t=>{if(null==t)return n();try{return JSON.parse(t)}catch{return n()}},toAttribute:t=>JSON.stringify(t)},...null!=e?e:{}})}class Ft{static create(t,e,n){let r=t=>o(null!=t?t:n),i=s`var(${o(t)}, ${r(n)})`;return i.name=t,i.category=e,i.defaultValue=n,i.defaultCssValue=r,i.get=e=>s`var(${o(t)}, ${r(e)})`,i.breadcrumb=()=>[],i.lastResortDefaultValue=()=>n,i}static extend(t,e,n){let r=t=>e.get(null!=t?t:n),i=s`var(${o(t)}, ${r(n)})`;return i.name=t,i.category=e.category,i.fallbackVariable=e,i.defaultValue=n,i.defaultCssValue=r,i.get=e=>s`var(${o(t)}, ${r(e)})`,i.breadcrumb=()=>[e.name,...e.breadcrumb()],i.lastResortDefaultValue=()=>n,i}static external(t,e){let n=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):o(null!=e?e:t.defaultValue),r=s`var(${o(t.name)}, ${n(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=n,r.get=e=>s`var(${o(t.name)}, ${n(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>{var e,n;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(n=t.fallbackVariable)||void 0===n?void 0:n.lastResortDefaultValue()},r}}const Lt={colorPrimary:Ft.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:Ft.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:Ft.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:Ft.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:Ft.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:Ft.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Ft.create("--ft-color-error","COLOR","#B00020"),colorOutline:Ft.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Ft.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:Ft.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:Ft.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:Ft.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:Ft.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:Ft.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Ft.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Ft.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:Ft.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:Ft.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Ft.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Ft.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Ft.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Ft.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Ft.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Ft.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:Ft.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:Ft.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:Ft.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:Ft.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:Ft.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:Ft.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Ft.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Ft.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:Ft.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Ft.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Ft.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Ft.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Ft.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Ft.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Ft.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:Ft.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Ft.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Ft.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Ft.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Ft.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:Ft.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:Ft.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:Ft.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:Ft.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:Ft.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:Ft.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:Ft.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:Ft.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:Ft.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:Ft.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:Ft.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:Ft.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:Ft.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:Ft.create("--ft-border-radius-XL","SIZE","16px"),titleFont:Ft.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Ft.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Ft.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:Ft.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
122
122
  /**
123
123
  * @license
124
124
  * Copyright 2021 Google LLC
125
125
  * SPDX-License-Identifier: BSD-3-Clause
126
- */var Tt=function(t,e,n,r){for(var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r,c=t.length-1;c>=0;c--)(i=t[c])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s};class Dt extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:n,shadowRootOptions:r}=t;n&&!e&&(t.registry=new CustomElementRegistry,Object.entries(n).forEach((([e,n])=>t.registry.define(e,n))));const i=this.renderOptions.creationScope=this.attachShadow({...r,customElements:t.registry});return c(i,this.constructor.elementStyles),i}}}(ot)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),F`
126
+ */var Tt=function(t,e,n,r){for(var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r,c=t.length-1;c>=0;c--)(i=t[c])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s};class Bt extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:n,shadowRootOptions:r}=t;n&&!e&&(t.registry=new CustomElementRegistry,Object.entries(n).forEach((([e,n])=>t.registry.define(e,n))));const i=this.renderOptions.creationScope=this.attachShadow({...r,customElements:t.registry});return c(i,this.constructor.elementStyles),i}}}(ot)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),F`
127
127
  ${t.map((t=>F`
128
128
  <style>${t}</style>
129
129
  `))}
130
130
  ${this.getTemplate()}
131
- `}updated(t){super.updated(t),setTimeout((()=>{var e;this.contentAvailableCallback(t),(null===(e=this.exportpartsPrefix)||void 0===e?void 0:e.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}),0)}setExportpartsAttribute(t){var e,n,r,i,o,s;const c=t=>null!=t&&t.trim().length>0,u=t.filter(c).map((t=>t.trim()));if(0===u.length)return void this.removeAttribute("exportparts");const a=new Set;for(let t of null!==(n=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==n?n:[]){const e=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],n=null!==(s=null===(o=t.getAttribute("exportparts"))||void 0===o?void 0:o.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];new Array(...e,...n).filter(c).map((t=>t.trim())).forEach((t=>a.add(t)))}if(0===a.size)return void this.removeAttribute("exportparts");const l=[...a.values()].flatMap((t=>u.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...l].join(", "))}contentAvailableCallback(t){}}Tt([at()],Dt.prototype,"exportpartsPrefix",void 0),Tt([kt([])],Dt.prototype,"exportpartsPrefixes",void 0);const Bt=s`
131
+ `}updated(t){super.updated(t),setTimeout((()=>{var e;this.contentAvailableCallback(t),(null===(e=this.exportpartsPrefix)||void 0===e?void 0:e.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}),0)}setExportpartsAttribute(t){var e,n,r,i,o,s;const c=t=>null!=t&&t.trim().length>0,u=t.filter(c).map((t=>t.trim()));if(0===u.length)return void this.removeAttribute("exportparts");const a=new Set;for(let t of null!==(n=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==n?n:[]){const e=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],n=null!==(s=null===(o=t.getAttribute("exportparts"))||void 0===o?void 0:o.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];new Array(...e,...n).filter(c).map((t=>t.trim())).forEach((t=>a.add(t)))}if(0===a.size)return void this.removeAttribute("exportparts");const l=[...a.values()].flatMap((t=>u.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...l].join(", "))}contentAvailableCallback(t){}}Tt([at()],Bt.prototype,"exportpartsPrefix",void 0),Tt([kt([])],Bt.prototype,"exportpartsPrefixes",void 0);const Dt=s`
132
132
  .ft-no-text-select {
133
133
  -webkit-touch-callout: none;
134
134
  -webkit-user-select: none;
@@ -137,4 +137,4 @@ var ft;const ht=null!=(null===(ft=window.HTMLSlotElement)||void 0===ft?void 0:ft
137
137
  -ms-user-select: none;
138
138
  user-select: none;
139
139
  }
140
- `;function Wt(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(n.length?" "+n.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ht(t){return!!t&&!!t[Ne]}function It(t){return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var n=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===Me}(t)||Array.isArray(t)||!!t[Re]||!!t.constructor[Re]||Jt(t)||Xt(t))}function Kt(t,e,n){void 0===n&&(n=!1),0===Vt(t)?(n?Object.keys:_e)(t).forEach((function(r){n&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(n,r){return e(r,n,t)}))}function Vt(t){var e=t[Ne];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Jt(t)?2:Xt(t)?3:0}function zt(t,e){return 2===Vt(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function qt(t,e,n){var r=Vt(t);2===r?t.set(e,n):3===r?(t.delete(e),t.add(n)):t[e]=n}function Zt(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function Jt(t){return Se&&t instanceof Map}function Xt(t){return Ee&&t instanceof Set}function Gt(t){return t.o||t.t}function Qt(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Ae(t);delete e[Ne];for(var n=_e(e),r=0;r<n.length;r++){var i=n[r],o=e[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(e[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function Yt(t,e){return void 0===e&&(e=!1),ee(t)||Ht(t)||!It(t)||(Vt(t)>1&&(t.set=t.add=t.clear=t.delete=te),Object.freeze(t),e&&Kt(t,(function(t,e){return Yt(e,!0)}),!0)),t}function te(){Wt(2)}function ee(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function ne(t){var e=$e[t];return e||Wt(18,t),e}function re(){return ge}function ie(t,e){e&&(ne("Patches"),t.u=[],t.s=[],t.v=e)}function oe(t){se(t),t.p.forEach(ue),t.p=null}function se(t){t===ge&&(ge=t.l)}function ce(t){return ge={p:[],l:ge,h:t,m:!0,_:0}}function ue(t){var e=t[Ne];0===e.i||1===e.i?e.j():e.O=!0}function ae(t,e){e._=e.p.length;var n=e.p[0],r=void 0!==t&&t!==n;return e.h.g||ne("ES5").S(e,t,r),r?(n[Ne].P&&(oe(e),Wt(4)),It(t)&&(t=le(e,t),e.l||he(e,t)),e.u&&ne("Patches").M(n[Ne].t,t,e.u,e.s)):t=le(e,n,[]),oe(e),e.u&&e.v(e.u,e.s),t!==Ce?t:void 0}function le(t,e,n){if(ee(e))return e;var r=e[Ne];if(!r)return Kt(e,(function(i,o){return fe(t,r,e,i,o,n)}),!0),e;if(r.A!==t)return e;if(!r.P)return he(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=Qt(r.k):r.o;Kt(3===r.i?new Set(i):i,(function(e,o){return fe(t,r,i,e,o,n)})),he(t,i,!1),n&&t.u&&ne("Patches").R(r,n,t.u,t.s)}return r.o}function fe(t,e,n,r,i,o){if(Ht(i)){var s=le(t,i,o&&e&&3!==e.i&&!zt(e.D,r)?o.concat(r):void 0);if(qt(n,r,s),!Ht(s))return;t.m=!1}if(It(i)&&!ee(i)){if(!t.h.F&&t._<1)return;le(t,i),e&&e.A.l||he(t,i)}}function he(t,e,n){void 0===n&&(n=!1),t.h.F&&t.m&&Yt(e,n)}function de(t,e){var n=t[Ne];return(n?Gt(n):t)[e]}function ve(t,e){if(e in t)for(var n=Object.getPrototypeOf(t);n;){var r=Object.getOwnPropertyDescriptor(n,e);if(r)return r;n=Object.getPrototypeOf(n)}}function pe(t){t.P||(t.P=!0,t.l&&pe(t.l))}function be(t){t.o||(t.o=Qt(t.t))}function ye(t,e,n){var r=Jt(e)?ne("MapSet").N(e,n):Xt(e)?ne("MapSet").T(e,n):t.g?function(t,e){var n=Array.isArray(t),r={i:n?1:0,A:e?e.A:re(),P:!1,I:!1,D:{},l:e,t,k:null,o:null,j:null,C:!1},i=r,o=Ue;n&&(i=[r],o=Pe);var s=Proxy.revocable(i,o),c=s.revoke,u=s.proxy;return r.k=u,r.j=c,u}(e,n):ne("ES5").J(e,n);return(n?n.A:re()).p.push(r),r}function me(t){return Ht(t)||Wt(22,t),function t(e){if(!It(e))return e;var n,r=e[Ne],i=Vt(e);if(r){if(!r.P&&(r.i<4||!ne("ES5").K(r)))return r.t;r.I=!0,n=we(e,i),r.I=!1}else n=we(e,i);return Kt(n,(function(e,i){r&&function(t,e){return 2===Vt(t)?t.get(e):t[e]}(r.t,e)===i||qt(n,e,t(i))})),3===i?new Set(n):n}(t)}function we(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Qt(t)}var Oe,ge,xe="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Se="undefined"!=typeof Map,Ee="undefined"!=typeof Set,je="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Ce=xe?Symbol.for("immer-nothing"):((Oe={})["immer-nothing"]=!0,Oe),Re=xe?Symbol.for("immer-draftable"):"__$immer_draftable",Ne=xe?Symbol.for("immer-state"):"__$immer_state",Me=""+Object.prototype.constructor,_e="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Ae=Object.getOwnPropertyDescriptors||function(t){var e={};return _e(t).forEach((function(n){e[n]=Object.getOwnPropertyDescriptor(t,n)})),e},$e={},Ue={get:function(t,e){if(e===Ne)return t;var n=Gt(t);if(!zt(n,e))return function(t,e,n){var r,i=ve(e,n);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,n,e);var r=n[e];return t.I||!It(r)?r:r===de(t.t,e)?(be(t),t.o[e]=ye(t.A.h,r,t)):r},has:function(t,e){return e in Gt(t)},ownKeys:function(t){return Reflect.ownKeys(Gt(t))},set:function(t,e,n){var r=ve(Gt(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,n),!0;if(!t.P){var i=de(Gt(t),e),o=null==i?void 0:i[Ne];if(o&&o.t===n)return t.o[e]=n,t.D[e]=!1,!0;if(Zt(n,i)&&(void 0!==n||zt(t.t,e)))return!0;be(t),pe(t)}return t.o[e]===n&&"number"!=typeof n&&(void 0!==n||e in t.o)||(t.o[e]=n,t.D[e]=!0,!0)},deleteProperty:function(t,e){return void 0!==de(t.t,e)||e in t.t?(t.D[e]=!1,be(t),pe(t)):delete t.D[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var n=Gt(t),r=Reflect.getOwnPropertyDescriptor(n,e);return r?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:r.enumerable,value:n[e]}:r},defineProperty:function(){Wt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Wt(12)}},Pe={};Kt(Ue,(function(t,e){Pe[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Pe.deleteProperty=function(t,e){return Pe.set.call(this,t,e,void 0)},Pe.set=function(t,e,n){return Ue.set.call(this,t[0],e,n,t[0])};var ke=function(){function t(t){var e=this;this.g=je,this.F=!0,this.produce=function(t,n,r){if("function"==typeof t&&"function"!=typeof n){var i=n;n=t;var o=e;return function(t){var e=this;void 0===t&&(t=i);for(var r=arguments.length,s=Array(r>1?r-1:0),c=1;c<r;c++)s[c-1]=arguments[c];return o.produce(t,(function(t){var r;return(r=n).call.apply(r,[e,t].concat(s))}))}}var s;if("function"!=typeof n&&Wt(6),void 0!==r&&"function"!=typeof r&&Wt(7),It(t)){var c=ce(e),u=ye(e,t,void 0),a=!0;try{s=n(u),a=!1}finally{a?oe(c):se(c)}return"undefined"!=typeof Promise&&s instanceof Promise?s.then((function(t){return ie(c,r),ae(t,c)}),(function(t){throw oe(c),t})):(ie(c,r),ae(s,c))}if(!t||"object"!=typeof t){if(void 0===(s=n(t))&&(s=t),s===Ce&&(s=void 0),e.F&&Yt(s,!0),r){var l=[],f=[];ne("Patches").M(t,s,l,f),r(l,f)}return s}Wt(21,t)},this.produceWithPatches=function(t,n){if("function"==typeof t)return function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return e.produceWithPatches(n,(function(e){return t.apply(void 0,[e].concat(i))}))};var r,i,o=e.produce(t,n,(function(t,e){r=t,i=e}));return"undefined"!=typeof Promise&&o instanceof Promise?o.then((function(t){return[t,r,i]})):[o,r,i]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){It(t)||Wt(8),Ht(t)&&(t=me(t));var e=ce(this),n=ye(this,t,void 0);return n[Ne].C=!0,se(e),n},e.finishDraft=function(t,e){var n=(t&&t[Ne]).A;return ie(n,e),ae(void 0,n)},e.setAutoFreeze=function(t){this.F=t},e.setUseProxies=function(t){t&&!je&&Wt(20),this.g=t},e.applyPatches=function(t,e){var n;for(n=e.length-1;n>=0;n--){var r=e[n];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}n>-1&&(e=e.slice(n+1));var i=ne("Patches").$;return Ht(t)?i(t,e):this.produce(t,(function(t){return i(t,e)}))},t}(),Fe=new ke;function Le(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Te(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function De(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Te(Object(n),!0).forEach((function(e){Le(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Te(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Be(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}Fe.produce,Fe.produceWithPatches.bind(Fe),Fe.setAutoFreeze.bind(Fe),Fe.setUseProxies.bind(Fe),Fe.applyPatches.bind(Fe),Fe.createDraft.bind(Fe),Fe.finishDraft.bind(Fe);var We="function"==typeof Symbol&&Symbol.observable||"@@observable",He=function(){return Math.random().toString(36).substring(7).split("").join(".")},Ie={INIT:"@@redux/INIT"+He(),REPLACE:"@@redux/REPLACE"+He(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+He()}};function Ke(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Ve(t,e,n){var r;if("function"==typeof e&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(Be(0));if("function"==typeof e&&void 0===n&&(n=e,e=void 0),void 0!==n){if("function"!=typeof n)throw new Error(Be(1));return n(Ve)(t,e)}if("function"!=typeof t)throw new Error(Be(2));var i=t,o=e,s=[],c=s,u=!1;function a(){c===s&&(c=s.slice())}function l(){if(u)throw new Error(Be(3));return o}function f(t){if("function"!=typeof t)throw new Error(Be(4));if(u)throw new Error(Be(5));var e=!0;return a(),c.push(t),function(){if(e){if(u)throw new Error(Be(6));e=!1,a();var n=c.indexOf(t);c.splice(n,1),s=null}}}function h(t){if(!Ke(t))throw new Error(Be(7));if(void 0===t.type)throw new Error(Be(8));if(u)throw new Error(Be(9));try{u=!0,o=i(o,t)}finally{u=!1}for(var e=s=c,n=0;n<e.length;n++)(0,e[n])();return t}function d(t){if("function"!=typeof t)throw new Error(Be(10));i=t,h({type:Ie.REPLACE})}function v(){var t,e=f;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Be(11));function n(){t.next&&t.next(l())}return n(),{unsubscribe:e(n)}}})[We]=function(){return this},t}return h({type:Ie.INIT}),(r={dispatch:h,subscribe:f,getState:l,replaceReducer:d})[We]=v,r}function ze(t){for(var e=Object.keys(t),n={},r=0;r<e.length;r++){var i=e[r];"function"==typeof t[i]&&(n[i]=t[i])}var o,s=Object.keys(n);try{!function(t){Object.keys(t).forEach((function(e){var n=t[e];if(void 0===n(void 0,{type:Ie.INIT}))throw new Error(Be(12));if(void 0===n(void 0,{type:Ie.PROBE_UNKNOWN_ACTION()}))throw new Error(Be(13))}))}(n)}catch(t){o=t}return function(t,e){if(void 0===t&&(t={}),o)throw o;for(var r=!1,i={},c=0;c<s.length;c++){var u=s[c],a=n[u],l=t[u],f=a(l,e);if(void 0===f)throw e&&e.type,new Error(Be(14));i[u]=f,r=r||f!==l}return(r=r||s.length!==Object.keys(t).length)?i:t}}function qe(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function Ze(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return function(){var n=t.apply(void 0,arguments),r=function(){throw new Error(Be(15))},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},o=e.map((function(t){return t(i)}));return r=qe.apply(void 0,o)(n.dispatch),De(De({},n),{},{dispatch:r})}}}function Je(t){return function(e){var n=e.dispatch,r=e.getState;return function(e){return function(i){return"function"==typeof i?i(n,r,t):e(i)}}}}var Xe=Je();Xe.withExtraArgument=Je;var Ge,Qe,Ye,tn,en=Xe,nn=(Ge=function(t,e){return Ge=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},Ge(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}Ge(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),rn=function(t,e){for(var n=0,r=e.length,i=t.length;n<r;n++,i++)t[i]=e[n];return t},on=Object.defineProperty,sn=Object.getOwnPropertySymbols,cn=Object.prototype.hasOwnProperty,un=Object.prototype.propertyIsEnumerable,an=function(t,e,n){return e in t?on(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n},ln="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?qe:qe.apply(null,arguments)},fn=function(t){function e(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=t.apply(this,n)||this;return Object.setPrototypeOf(i,e.prototype),i}return nn(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,rn([void 0],t[0].concat(this)))):new(e.bind.apply(e,rn([void 0],t.concat(this))))},e}(Array);function hn(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,n=void 0===e||e;t.immutableCheck,t.serializableCheck;var r=new fn;return n&&(function(t){return"boolean"==typeof t}(n)?r.push(en):r.push(en.withExtraArgument(n.extraArgument))),r}(t)}}function dn(t){var e,n=hn(),r=t||{},i=r.reducer,o=void 0===i?void 0:i,s=r.middleware,c=void 0===s?n():s,u=r.devTools,a=void 0===u||u,l=r.preloadedState,f=void 0===l?void 0:l,h=r.enhancers,d=void 0===h?void 0:h;if("function"==typeof o)e=o;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var n=e;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return e===n}(o))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=ze(o)}var v=c;"function"==typeof v&&(v=v(n));var p=Ze.apply(void 0,v),b=qe;a&&(b=ln(function(t,e){for(var n in e||(e={}))cn.call(e,n)&&an(t,n,e[n]);if(sn)for(var r=0,i=sn(e);r<i.length;r++)n=i[r],un.call(e,n)&&an(t,n,e[n]);return t}({trace:!1},"object"==typeof a&&a)));var y=[p];return Array.isArray(d)?y=rn([p],d):"function"==typeof d&&(y=d(y)),Ve(e,f,b.apply(void 0,y))}!function(){function t(t,e){var n=i[t];return n?n.enumerable=e:i[t]=n={configurable:!0,enumerable:e,get:function(){var e=this[Ne];return Ue.get(e,t)},set:function(e){var n=this[Ne];Ue.set(n,t,e)}},n}function e(t){for(var e=t.length-1;e>=0;e--){var i=t[e][Ne];if(!i.P)switch(i.i){case 5:r(i)&&pe(i);break;case 4:n(i)&&pe(i)}}}function n(t){for(var e=t.t,n=t.k,r=_e(n),i=r.length-1;i>=0;i--){var o=r[i];if(o!==Ne){var s=e[o];if(void 0===s&&!zt(e,o))return!0;var c=n[o],u=c&&c[Ne];if(u?u.t!==s:!Zt(c,s))return!0}}var a=!!e[Ne];return r.length!==_e(e).length+(a?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var n=Object.getOwnPropertyDescriptor(e,e.length-1);if(n&&!n.get)return!0;for(var r=0;r<e.length;r++)if(!e.hasOwnProperty(r))return!0;return!1}var i={};!function(t,e){$e[t]||($e[t]=e)}("ES5",{J:function(e,n){var r=Array.isArray(e),i=function(e,n){if(e){for(var r=Array(n.length),i=0;i<n.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var o=Ae(n);delete o[Ne];for(var s=_e(o),c=0;c<s.length;c++){var u=s[c];o[u]=t(u,e||!!o[u].enumerable)}return Object.create(Object.getPrototypeOf(n),o)}(r,e),o={i:r?5:4,A:n?n.A:re(),P:!1,I:!1,D:{},l:n,t:e,k:i,o:null,O:!1,C:!1};return Object.defineProperty(i,Ne,{value:o,writable:!0}),i},S:function(t,n,i){i?Ht(n)&&n[Ne].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var n=e[Ne];if(n){var i=n.t,o=n.k,s=n.D,c=n.i;if(4===c)Kt(o,(function(e){e!==Ne&&(void 0!==i[e]||zt(i,e)?s[e]||t(o[e]):(s[e]=!0,pe(n)))})),Kt(i,(function(t){void 0!==o[t]||zt(o,t)||(s[t]=!1,pe(n))}));else if(5===c){if(r(n)&&(pe(n),s.length=!0),o.length<i.length)for(var u=o.length;u<i.length;u++)s[u]=!1;else for(var a=i.length;a<o.length;a++)s[a]=!0;for(var l=Math.min(o.length,i.length),f=0;f<l;f++)o.hasOwnProperty(f)||(s[f]=!0),void 0===s[f]&&t(o[f])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?n(t):r(t)}})}();const vn=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(tn=null===(Ye=null===(Qe=window.safari)||void 0===Qe?void 0:Qe.pushNotification)||void 0===Ye?void 0:Ye.toString())&&void 0!==tn?tn:"");var pn=Object.freeze({__proto__:null,isSafari:vn,Debouncer:class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){this.callbacks=[t],this.debounce(e)}queue(t,e){this.callbacks.push(t),this.debounce(e)}cancel(){null!=this._debounce&&window.clearTimeout(this._debounce)}debounce(t){this.cancel(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout)}runCallbacks(){for(let t of this.callbacks)t();this.callbacks=[]}},customElement:t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)},jsonProperty:kt,designSystemVariables:Lt,FtCssVariable:Ft,setVariable:function(t,e){return o(`${t.name}: ${e}`)},FtLitElement:Dt,noTextSelect:Bt,ParametrizedLabelResolver:class{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var n,r;let i=null!==(r=null!==(n=this.labels[t])&&void 0!==n?n:this.defaultLabels[t])&&void 0!==r?r:"";return e.forEach(((t,e)=>i=i.replace(new RegExp(`\\{${e}\\}`,"g"),t))),i}},redux:(t,e)=>(n,r)=>{n.constructor.createProperty(r,{attribute:!1,hasChanged:e});const i=n;i.reduxProperties=i.reduxProperties||new Map,i.reduxProperties.set(r,t)},FtLitElementRedux:class extends Dt{get store(){return this.internalStore}set store(t){this.internalStore=t,this.setupStore()}updateFromStore(){const t=this.store.getState();this.reduxProperties&&this.reduxProperties.forEach(((e,n)=>{this[n]=e(t)}))}setupStore(){this.unsubscribeFromStore&&this.unsubscribeFromStore(),this.updateFromStore(),this.unsubscribeFromStore=this.store.subscribe((()=>{this.updateFromStore()}))}connectedCallback(){super.connectedCallback(),this.store&&this.setupStore()}disconnectedCallback(){this.unsubscribeFromStore&&this.unsubscribeFromStore(),super.disconnectedCallback()}},getStore:function(t,e){window.ftReduxStores||(window.ftReduxStores={});const n=e||t.name;return window.ftReduxStores[n]||(window.ftReduxStores[n]=dn({reducer:t.reducer})),window.ftReduxStores[n]}});t.lit=ct,t.litClassMap=Mt,t.litDecorators=vt,t.litRepeat=Rt,t.litStyleMap=At,t.litUnsafeHTML=Pt,t.wcUtils=pn,Object.defineProperty(t,"U",{value:!0})},"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).ftGlobals={});
140
+ `;function Wt(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(n.length?" "+n.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ht(t){return!!t&&!!t[Ce]}function It(t){return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var n=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===Me}(t)||Array.isArray(t)||!!t[Ne]||!!t.constructor[Ne]||Zt(t)||Xt(t))}function Kt(t,e,n){void 0===n&&(n=!1),0===Vt(t)?(n?Object.keys:$e)(t).forEach((function(r){n&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(n,r){return e(r,n,t)}))}function Vt(t){var e=t[Ce];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Zt(t)?2:Xt(t)?3:0}function zt(t,e){return 2===Vt(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function qt(t,e,n){var r=Vt(t);2===r?t.set(e,n):3===r?(t.delete(e),t.add(n)):t[e]=n}function Jt(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function Zt(t){return Se&&t instanceof Map}function Xt(t){return Ee&&t instanceof Set}function Gt(t){return t.o||t.t}function Qt(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=_e(t);delete e[Ce];for(var n=$e(e),r=0;r<n.length;r++){var i=n[r],o=e[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(e[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function Yt(t,e){return void 0===e&&(e=!1),ee(t)||Ht(t)||!It(t)||(Vt(t)>1&&(t.set=t.add=t.clear=t.delete=te),Object.freeze(t),e&&Kt(t,(function(t,e){return Yt(e,!0)}),!0)),t}function te(){Wt(2)}function ee(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function ne(t){var e=Ae[t];return e||Wt(18,t),e}function re(){return ge}function ie(t,e){e&&(ne("Patches"),t.u=[],t.s=[],t.v=e)}function oe(t){se(t),t.p.forEach(ue),t.p=null}function se(t){t===ge&&(ge=t.l)}function ce(t){return ge={p:[],l:ge,h:t,m:!0,_:0}}function ue(t){var e=t[Ce];0===e.i||1===e.i?e.j():e.O=!0}function ae(t,e){e._=e.p.length;var n=e.p[0],r=void 0!==t&&t!==n;return e.h.g||ne("ES5").S(e,t,r),r?(n[Ce].P&&(oe(e),Wt(4)),It(t)&&(t=le(e,t),e.l||he(e,t)),e.u&&ne("Patches").M(n[Ce].t,t,e.u,e.s)):t=le(e,n,[]),oe(e),e.u&&e.v(e.u,e.s),t!==Re?t:void 0}function le(t,e,n){if(ee(e))return e;var r=e[Ce];if(!r)return Kt(e,(function(i,o){return fe(t,r,e,i,o,n)}),!0),e;if(r.A!==t)return e;if(!r.P)return he(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=Qt(r.k):r.o;Kt(3===r.i?new Set(i):i,(function(e,o){return fe(t,r,i,e,o,n)})),he(t,i,!1),n&&t.u&&ne("Patches").R(r,n,t.u,t.s)}return r.o}function fe(t,e,n,r,i,o){if(Ht(i)){var s=le(t,i,o&&e&&3!==e.i&&!zt(e.D,r)?o.concat(r):void 0);if(qt(n,r,s),!Ht(s))return;t.m=!1}if(It(i)&&!ee(i)){if(!t.h.F&&t._<1)return;le(t,i),e&&e.A.l||he(t,i)}}function he(t,e,n){void 0===n&&(n=!1),t.h.F&&t.m&&Yt(e,n)}function de(t,e){var n=t[Ce];return(n?Gt(n):t)[e]}function ve(t,e){if(e in t)for(var n=Object.getPrototypeOf(t);n;){var r=Object.getOwnPropertyDescriptor(n,e);if(r)return r;n=Object.getPrototypeOf(n)}}function pe(t){t.P||(t.P=!0,t.l&&pe(t.l))}function be(t){t.o||(t.o=Qt(t.t))}function ye(t,e,n){var r=Zt(e)?ne("MapSet").N(e,n):Xt(e)?ne("MapSet").T(e,n):t.g?function(t,e){var n=Array.isArray(t),r={i:n?1:0,A:e?e.A:re(),P:!1,I:!1,D:{},l:e,t,k:null,o:null,j:null,C:!1},i=r,o=Pe;n&&(i=[r],o=Ue);var s=Proxy.revocable(i,o),c=s.revoke,u=s.proxy;return r.k=u,r.j=c,u}(e,n):ne("ES5").J(e,n);return(n?n.A:re()).p.push(r),r}function me(t){return Ht(t)||Wt(22,t),function t(e){if(!It(e))return e;var n,r=e[Ce],i=Vt(e);if(r){if(!r.P&&(r.i<4||!ne("ES5").K(r)))return r.t;r.I=!0,n=we(e,i),r.I=!1}else n=we(e,i);return Kt(n,(function(e,i){r&&function(t,e){return 2===Vt(t)?t.get(e):t[e]}(r.t,e)===i||qt(n,e,t(i))})),3===i?new Set(n):n}(t)}function we(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Qt(t)}var Oe,ge,xe="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Se="undefined"!=typeof Map,Ee="undefined"!=typeof Set,je="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Re=xe?Symbol.for("immer-nothing"):((Oe={})["immer-nothing"]=!0,Oe),Ne=xe?Symbol.for("immer-draftable"):"__$immer_draftable",Ce=xe?Symbol.for("immer-state"):"__$immer_state",Me=""+Object.prototype.constructor,$e="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,_e=Object.getOwnPropertyDescriptors||function(t){var e={};return $e(t).forEach((function(n){e[n]=Object.getOwnPropertyDescriptor(t,n)})),e},Ae={},Pe={get:function(t,e){if(e===Ce)return t;var n=Gt(t);if(!zt(n,e))return function(t,e,n){var r,i=ve(e,n);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,n,e);var r=n[e];return t.I||!It(r)?r:r===de(t.t,e)?(be(t),t.o[e]=ye(t.A.h,r,t)):r},has:function(t,e){return e in Gt(t)},ownKeys:function(t){return Reflect.ownKeys(Gt(t))},set:function(t,e,n){var r=ve(Gt(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,n),!0;if(!t.P){var i=de(Gt(t),e),o=null==i?void 0:i[Ce];if(o&&o.t===n)return t.o[e]=n,t.D[e]=!1,!0;if(Jt(n,i)&&(void 0!==n||zt(t.t,e)))return!0;be(t),pe(t)}return t.o[e]===n&&"number"!=typeof n&&(void 0!==n||e in t.o)||(t.o[e]=n,t.D[e]=!0,!0)},deleteProperty:function(t,e){return void 0!==de(t.t,e)||e in t.t?(t.D[e]=!1,be(t),pe(t)):delete t.D[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var n=Gt(t),r=Reflect.getOwnPropertyDescriptor(n,e);return r?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:r.enumerable,value:n[e]}:r},defineProperty:function(){Wt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Wt(12)}},Ue={};Kt(Pe,(function(t,e){Ue[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Ue.deleteProperty=function(t,e){return Ue.set.call(this,t,e,void 0)},Ue.set=function(t,e,n){return Pe.set.call(this,t[0],e,n,t[0])};var ke=function(){function t(t){var e=this;this.g=je,this.F=!0,this.produce=function(t,n,r){if("function"==typeof t&&"function"!=typeof n){var i=n;n=t;var o=e;return function(t){var e=this;void 0===t&&(t=i);for(var r=arguments.length,s=Array(r>1?r-1:0),c=1;c<r;c++)s[c-1]=arguments[c];return o.produce(t,(function(t){var r;return(r=n).call.apply(r,[e,t].concat(s))}))}}var s;if("function"!=typeof n&&Wt(6),void 0!==r&&"function"!=typeof r&&Wt(7),It(t)){var c=ce(e),u=ye(e,t,void 0),a=!0;try{s=n(u),a=!1}finally{a?oe(c):se(c)}return"undefined"!=typeof Promise&&s instanceof Promise?s.then((function(t){return ie(c,r),ae(t,c)}),(function(t){throw oe(c),t})):(ie(c,r),ae(s,c))}if(!t||"object"!=typeof t){if(void 0===(s=n(t))&&(s=t),s===Re&&(s=void 0),e.F&&Yt(s,!0),r){var l=[],f=[];ne("Patches").M(t,s,l,f),r(l,f)}return s}Wt(21,t)},this.produceWithPatches=function(t,n){if("function"==typeof t)return function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return e.produceWithPatches(n,(function(e){return t.apply(void 0,[e].concat(i))}))};var r,i,o=e.produce(t,n,(function(t,e){r=t,i=e}));return"undefined"!=typeof Promise&&o instanceof Promise?o.then((function(t){return[t,r,i]})):[o,r,i]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){It(t)||Wt(8),Ht(t)&&(t=me(t));var e=ce(this),n=ye(this,t,void 0);return n[Ce].C=!0,se(e),n},e.finishDraft=function(t,e){var n=(t&&t[Ce]).A;return ie(n,e),ae(void 0,n)},e.setAutoFreeze=function(t){this.F=t},e.setUseProxies=function(t){t&&!je&&Wt(20),this.g=t},e.applyPatches=function(t,e){var n;for(n=e.length-1;n>=0;n--){var r=e[n];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}n>-1&&(e=e.slice(n+1));var i=ne("Patches").$;return Ht(t)?i(t,e):this.produce(t,(function(t){return i(t,e)}))},t}(),Fe=new ke;function Le(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Te(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Be(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Te(Object(n),!0).forEach((function(e){Le(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Te(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function De(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}Fe.produce,Fe.produceWithPatches.bind(Fe),Fe.setAutoFreeze.bind(Fe),Fe.setUseProxies.bind(Fe),Fe.applyPatches.bind(Fe),Fe.createDraft.bind(Fe),Fe.finishDraft.bind(Fe);var We="function"==typeof Symbol&&Symbol.observable||"@@observable",He=function(){return Math.random().toString(36).substring(7).split("").join(".")},Ie={INIT:"@@redux/INIT"+He(),REPLACE:"@@redux/REPLACE"+He(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+He()}};function Ke(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Ve(t,e,n){var r;if("function"==typeof e&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(De(0));if("function"==typeof e&&void 0===n&&(n=e,e=void 0),void 0!==n){if("function"!=typeof n)throw new Error(De(1));return n(Ve)(t,e)}if("function"!=typeof t)throw new Error(De(2));var i=t,o=e,s=[],c=s,u=!1;function a(){c===s&&(c=s.slice())}function l(){if(u)throw new Error(De(3));return o}function f(t){if("function"!=typeof t)throw new Error(De(4));if(u)throw new Error(De(5));var e=!0;return a(),c.push(t),function(){if(e){if(u)throw new Error(De(6));e=!1,a();var n=c.indexOf(t);c.splice(n,1),s=null}}}function h(t){if(!Ke(t))throw new Error(De(7));if(void 0===t.type)throw new Error(De(8));if(u)throw new Error(De(9));try{u=!0,o=i(o,t)}finally{u=!1}for(var e=s=c,n=0;n<e.length;n++)(0,e[n])();return t}function d(t){if("function"!=typeof t)throw new Error(De(10));i=t,h({type:Ie.REPLACE})}function v(){var t,e=f;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(De(11));function n(){t.next&&t.next(l())}return n(),{unsubscribe:e(n)}}})[We]=function(){return this},t}return h({type:Ie.INIT}),(r={dispatch:h,subscribe:f,getState:l,replaceReducer:d})[We]=v,r}function ze(t){for(var e=Object.keys(t),n={},r=0;r<e.length;r++){var i=e[r];"function"==typeof t[i]&&(n[i]=t[i])}var o,s=Object.keys(n);try{!function(t){Object.keys(t).forEach((function(e){var n=t[e];if(void 0===n(void 0,{type:Ie.INIT}))throw new Error(De(12));if(void 0===n(void 0,{type:Ie.PROBE_UNKNOWN_ACTION()}))throw new Error(De(13))}))}(n)}catch(t){o=t}return function(t,e){if(void 0===t&&(t={}),o)throw o;for(var r=!1,i={},c=0;c<s.length;c++){var u=s[c],a=n[u],l=t[u],f=a(l,e);if(void 0===f)throw e&&e.type,new Error(De(14));i[u]=f,r=r||f!==l}return(r=r||s.length!==Object.keys(t).length)?i:t}}function qe(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function Je(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return function(){var n=t.apply(void 0,arguments),r=function(){throw new Error(De(15))},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},o=e.map((function(t){return t(i)}));return r=qe.apply(void 0,o)(n.dispatch),Be(Be({},n),{},{dispatch:r})}}}function Ze(t){return function(e){var n=e.dispatch,r=e.getState;return function(e){return function(i){return"function"==typeof i?i(n,r,t):e(i)}}}}var Xe=Ze();Xe.withExtraArgument=Ze;var Ge,Qe,Ye,tn,en=Xe,nn=(Ge=function(t,e){return Ge=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},Ge(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}Ge(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),rn=function(t,e){for(var n=0,r=e.length,i=t.length;n<r;n++,i++)t[i]=e[n];return t},on=Object.defineProperty,sn=Object.getOwnPropertySymbols,cn=Object.prototype.hasOwnProperty,un=Object.prototype.propertyIsEnumerable,an=function(t,e,n){return e in t?on(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n},ln="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?qe:qe.apply(null,arguments)},fn=function(t){function e(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=t.apply(this,n)||this;return Object.setPrototypeOf(i,e.prototype),i}return nn(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,rn([void 0],t[0].concat(this)))):new(e.bind.apply(e,rn([void 0],t.concat(this))))},e}(Array);function hn(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,n=void 0===e||e;t.immutableCheck,t.serializableCheck;var r=new fn;return n&&(function(t){return"boolean"==typeof t}(n)?r.push(en):r.push(en.withExtraArgument(n.extraArgument))),r}(t)}}function dn(t){var e,n=hn(),r=t||{},i=r.reducer,o=void 0===i?void 0:i,s=r.middleware,c=void 0===s?n():s,u=r.devTools,a=void 0===u||u,l=r.preloadedState,f=void 0===l?void 0:l,h=r.enhancers,d=void 0===h?void 0:h;if("function"==typeof o)e=o;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var n=e;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return e===n}(o))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=ze(o)}var v=c;"function"==typeof v&&(v=v(n));var p=Je.apply(void 0,v),b=qe;a&&(b=ln(function(t,e){for(var n in e||(e={}))cn.call(e,n)&&an(t,n,e[n]);if(sn)for(var r=0,i=sn(e);r<i.length;r++)n=i[r],un.call(e,n)&&an(t,n,e[n]);return t}({trace:!1},"object"==typeof a&&a)));var y=[p];return Array.isArray(d)?y=rn([p],d):"function"==typeof d&&(y=d(y)),Ve(e,f,b.apply(void 0,y))}!function(){function t(t,e){var n=i[t];return n?n.enumerable=e:i[t]=n={configurable:!0,enumerable:e,get:function(){var e=this[Ce];return Pe.get(e,t)},set:function(e){var n=this[Ce];Pe.set(n,t,e)}},n}function e(t){for(var e=t.length-1;e>=0;e--){var i=t[e][Ce];if(!i.P)switch(i.i){case 5:r(i)&&pe(i);break;case 4:n(i)&&pe(i)}}}function n(t){for(var e=t.t,n=t.k,r=$e(n),i=r.length-1;i>=0;i--){var o=r[i];if(o!==Ce){var s=e[o];if(void 0===s&&!zt(e,o))return!0;var c=n[o],u=c&&c[Ce];if(u?u.t!==s:!Jt(c,s))return!0}}var a=!!e[Ce];return r.length!==$e(e).length+(a?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var n=Object.getOwnPropertyDescriptor(e,e.length-1);if(n&&!n.get)return!0;for(var r=0;r<e.length;r++)if(!e.hasOwnProperty(r))return!0;return!1}var i={};!function(t,e){Ae[t]||(Ae[t]=e)}("ES5",{J:function(e,n){var r=Array.isArray(e),i=function(e,n){if(e){for(var r=Array(n.length),i=0;i<n.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var o=_e(n);delete o[Ce];for(var s=$e(o),c=0;c<s.length;c++){var u=s[c];o[u]=t(u,e||!!o[u].enumerable)}return Object.create(Object.getPrototypeOf(n),o)}(r,e),o={i:r?5:4,A:n?n.A:re(),P:!1,I:!1,D:{},l:n,t:e,k:i,o:null,O:!1,C:!1};return Object.defineProperty(i,Ce,{value:o,writable:!0}),i},S:function(t,n,i){i?Ht(n)&&n[Ce].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var n=e[Ce];if(n){var i=n.t,o=n.k,s=n.D,c=n.i;if(4===c)Kt(o,(function(e){e!==Ce&&(void 0!==i[e]||zt(i,e)?s[e]||t(o[e]):(s[e]=!0,pe(n)))})),Kt(i,(function(t){void 0!==o[t]||zt(o,t)||(s[t]=!1,pe(n))}));else if(5===c){if(r(n)&&(pe(n),s.length=!0),o.length<i.length)for(var u=o.length;u<i.length;u++)s[u]=!1;else for(var a=i.length;a<o.length;a++)s[a]=!0;for(var l=Math.min(o.length,i.length),f=0;f<l;f++)o.hasOwnProperty(f)||(s[f]=!0),void 0===s[f]&&t(o[f])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?n(t):r(t)}})}();const vn=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(tn=null===(Ye=null===(Qe=window.safari)||void 0===Qe?void 0:Qe.pushNotification)||void 0===Ye?void 0:Ye.toString())&&void 0!==tn?tn:"");var pn=Object.freeze({__proto__:null,isSafari:vn,Debouncer:class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){this.callbacks=[t],this.debounce(e)}queue(t,e){this.callbacks.push(t),this.debounce(e)}cancel(){null!=this._debounce&&window.clearTimeout(this._debounce)}debounce(t){this.cancel(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout)}runCallbacks(){for(let t of this.callbacks)t();this.callbacks=[]}},customElement:t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)},jsonProperty:kt,designSystemVariables:Lt,FtCssVariableFactory:Ft,setVariable:function(t,e){return o(`${t.name}: ${e}`)},FtLitElement:Bt,noTextSelect:Dt,ParametrizedLabelResolver:class{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var n,r;let i=null!==(r=null!==(n=this.labels[t])&&void 0!==n?n:this.defaultLabels[t])&&void 0!==r?r:"";return e.forEach(((t,e)=>i=i.replace(new RegExp(`\\{${e}\\}`,"g"),t))),i}},redux:(t,e)=>(n,r)=>{n.constructor.createProperty(r,{attribute:!1,hasChanged:e});const i=n;i.reduxProperties=i.reduxProperties||new Map,i.reduxProperties.set(r,t)},FtLitElementRedux:class extends Bt{get store(){return this.internalStore}set store(t){this.internalStore=t,this.setupStore()}updateFromStore(){const t=this.store.getState();this.reduxProperties&&this.reduxProperties.forEach(((e,n)=>{this[n]=e(t)}))}setupStore(){this.unsubscribeFromStore&&this.unsubscribeFromStore(),this.updateFromStore(),this.unsubscribeFromStore=this.store.subscribe((()=>{this.updateFromStore()}))}connectedCallback(){super.connectedCallback(),this.store&&this.setupStore()}disconnectedCallback(){this.unsubscribeFromStore&&this.unsubscribeFromStore(),super.disconnectedCallback()}},getStore:function(t,e){window.ftReduxStores||(window.ftReduxStores={});const n=e||t.name;return window.ftReduxStores[n]||(window.ftReduxStores[n]=dn({reducer:t.reducer})),window.ftReduxStores[n]}});t.lit=ct,t.litClassMap=Mt,t.litDecorators=vt,t.litRepeat=Nt,t.litStyleMap=_t,t.litUnsafeHTML=Ut,t.wcUtils=pn,Object.defineProperty(t,"q",{value:!0})},"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).ftGlobals={});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-wc-utils",
3
- "version": "0.2.22",
3
+ "version": "0.3.2",
4
4
  "description": "Internal web components tools",
5
5
  "author": "Fluid Topics <devtopics@antidot.net>",
6
6
  "license": "ISC",
@@ -8,16 +8,14 @@
8
8
  "typings": "build/index",
9
9
  "type": "module",
10
10
  "files": [
11
- "build/*.ts",
12
- "build/*.js",
11
+ "build/**/*.ts",
12
+ "build/**/*.js",
13
13
  "lib/*"
14
14
  ],
15
15
  "dependencies": {
16
- "@lit-labs/scoped-registry-mixin": "1.0.0",
17
- "@reduxjs/toolkit": "^1.6.2"
16
+ "@lit-labs/scoped-registry-mixin": "1.0.1",
17
+ "@reduxjs/toolkit": "^1.6.2",
18
+ "lit": "2.2.8"
18
19
  },
19
- "peerDependencies": {
20
- "lit": "2.1.3"
21
- },
22
- "gitHead": "ab090c14b14524bfa890cffb6fe3a38f2362dea9"
20
+ "gitHead": "c1ecfa5c8c0216ac178b5d8363142c3db3d75ef9"
23
21
  }