@fluid-topics/ft-select 0.2.20 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { PropertyValues } from "lit";
2
- import { ElementDefinitionsMap, FtCssVariable, FtLitElement } from "@fluid-topics/ft-wc-utils";
2
+ import { ElementDefinitionsMap, FtLitElement } from "@fluid-topics/ft-wc-utils";
3
3
  export interface FtSelectOptionProperties {
4
4
  label?: string;
5
5
  value?: any;
@@ -24,20 +24,20 @@ export interface FtSelectProperties {
24
24
  selectedOption?: FtSelectOptionProperties;
25
25
  }
26
26
  export declare const FtSelectCssVariables: {
27
- labelSize: FtCssVariable;
28
- selectedOptionSize: FtCssVariable;
29
- verticalSpacing: FtCssVariable;
30
- optionsHeight: FtCssVariable;
31
- selectedOptionColor: FtCssVariable;
32
- helperColor: FtCssVariable;
33
- optionsColor: FtCssVariable;
34
- optionsZIndex: FtCssVariable;
35
- colorSurface: FtCssVariable;
36
- colorOnSurfaceDisabled: FtCssVariable;
37
- colorPrimary: FtCssVariable;
38
- borderRadiusS: FtCssVariable;
39
- elevation02: FtCssVariable;
40
- colorError: FtCssVariable;
27
+ labelSize: import("@fluid-topics/ft-wc-utils").FtCssVariable;
28
+ selectedOptionSize: import("@fluid-topics/ft-wc-utils").FtCssVariable;
29
+ verticalSpacing: import("@fluid-topics/ft-wc-utils").FtCssVariable;
30
+ optionsHeight: import("@fluid-topics/ft-wc-utils").FtCssVariable;
31
+ selectedOptionColor: import("@fluid-topics/ft-wc-utils").FtCssVariable;
32
+ helperColor: import("@fluid-topics/ft-wc-utils").FtCssVariable;
33
+ optionsColor: import("@fluid-topics/ft-wc-utils").FtCssVariable;
34
+ optionsZIndex: import("@fluid-topics/ft-wc-utils").FtCssVariable;
35
+ colorSurface: import("@fluid-topics/ft-wc-utils").FtCssVariable;
36
+ colorOnSurfaceDisabled: import("@fluid-topics/ft-wc-utils").FtCssVariable;
37
+ colorPrimary: import("@fluid-topics/ft-wc-utils").FtCssVariable;
38
+ borderRadiusS: import("@fluid-topics/ft-wc-utils").FtCssVariable;
39
+ elevation02: import("@fluid-topics/ft-wc-utils").FtCssVariable;
40
+ colorError: import("@fluid-topics/ft-wc-utils").FtCssVariable;
41
41
  };
42
42
  export declare class FtSelect extends FtLitElement implements FtSelectProperties {
43
43
  static elementDefinitions: ElementDefinitionsMap;
@@ -8,7 +8,7 @@ import { css, html } from "lit";
8
8
  import { property, query, state } from "lit/decorators.js";
9
9
  import { classMap } from "lit/directives/class-map.js";
10
10
  import { repeat } from "lit/directives/repeat.js";
11
- import { designSystemVariables, FtCssVariable, FtLitElement, setVariable } from "@fluid-topics/ft-wc-utils";
11
+ import { designSystemVariables, FtCssVariableFactory, FtLitElement, setVariable } from "@fluid-topics/ft-wc-utils";
12
12
  import { FtTypography, FtTypographyBody1CssVariables, FtTypographyBody2, FtTypographyCaption } from "@fluid-topics/ft-typography";
13
13
  import { FtInputLabel, FtInputLabelCssVariables } from "@fluid-topics/ft-input-label";
14
14
  import { FtRipple, FtRippleCssVariables } from "@fluid-topics/ft-ripple";
@@ -39,20 +39,20 @@ __decorate([
39
39
  property({ type: Boolean, reflect: true })
40
40
  ], FtSelectOption.prototype, "selected", void 0);
41
41
  export const FtSelectCssVariables = {
42
- labelSize: FtCssVariable.create("--ft-select-label-size", "SIZE", "11px"),
43
- selectedOptionSize: FtCssVariable.create("--ft-select-selected-option-size", "SIZE", "14px"),
44
- verticalSpacing: FtCssVariable.create("--ft-select-vertical-spacing", "SIZE", "4px"),
45
- optionsHeight: FtCssVariable.create("--ft-select-options-height", "SIZE", "unset"),
46
- selectedOptionColor: FtCssVariable.extend("--ft-select-selected-option-color", designSystemVariables.colorOnSurface),
47
- helperColor: FtCssVariable.extend("--ft-select-helper-color", designSystemVariables.colorOnSurfaceMedium),
48
- optionsColor: FtCssVariable.extend("--ft-select-options-color", designSystemVariables.colorOnSurface),
49
- optionsZIndex: FtCssVariable.create("--ft-select-options-z-index", "NUMBER", "3"),
50
- colorSurface: FtCssVariable.external(designSystemVariables.colorSurface, "Design system"),
51
- colorOnSurfaceDisabled: FtCssVariable.external(designSystemVariables.colorOnSurfaceDisabled, "Design system"),
52
- colorPrimary: FtCssVariable.external(designSystemVariables.colorPrimary, "Design system"),
53
- borderRadiusS: FtCssVariable.external(designSystemVariables.borderRadiusS, "Design system"),
54
- elevation02: FtCssVariable.external(designSystemVariables.elevation02, "Design system"),
55
- colorError: FtCssVariable.external(designSystemVariables.colorError, "Design system"),
42
+ labelSize: FtCssVariableFactory.create("--ft-select-label-size", "SIZE", "11px"),
43
+ selectedOptionSize: FtCssVariableFactory.create("--ft-select-selected-option-size", "SIZE", "14px"),
44
+ verticalSpacing: FtCssVariableFactory.create("--ft-select-vertical-spacing", "SIZE", "4px"),
45
+ optionsHeight: FtCssVariableFactory.create("--ft-select-options-height", "SIZE", "unset"),
46
+ selectedOptionColor: FtCssVariableFactory.extend("--ft-select-selected-option-color", designSystemVariables.colorOnSurface),
47
+ helperColor: FtCssVariableFactory.extend("--ft-select-helper-color", designSystemVariables.colorOnSurfaceMedium),
48
+ optionsColor: FtCssVariableFactory.extend("--ft-select-options-color", designSystemVariables.colorOnSurface),
49
+ optionsZIndex: FtCssVariableFactory.create("--ft-select-options-z-index", "NUMBER", "3"),
50
+ colorSurface: FtCssVariableFactory.external(designSystemVariables.colorSurface, "Design system"),
51
+ colorOnSurfaceDisabled: FtCssVariableFactory.external(designSystemVariables.colorOnSurfaceDisabled, "Design system"),
52
+ colorPrimary: FtCssVariableFactory.external(designSystemVariables.colorPrimary, "Design system"),
53
+ borderRadiusS: FtCssVariableFactory.external(designSystemVariables.borderRadiusS, "Design system"),
54
+ elevation02: FtCssVariableFactory.external(designSystemVariables.elevation02, "Design system"),
55
+ colorError: FtCssVariableFactory.external(designSystemVariables.colorError, "Design system"),
56
56
  };
57
57
  export class FtSelect extends FtLitElement {
58
58
  constructor() {
@@ -4,13 +4,13 @@
4
4
  * Copyright 2017 Google LLC
5
5
  * SPDX-License-Identifier: BSD-3-Clause
6
6
  */
7
- var r;const p=globalThis.trustedTypes,a=p?p.createPolicy("lit-html",{createHTML:t=>t}):void 0,f=`lit$${(Math.random()+"").slice(9)}$`,h="?"+f,d=`<${h}>`,c=document,u=(t="")=>c.createComment(t),y=t=>null===t||"object"!=typeof t&&"function"!=typeof t,x=Array.isArray,g=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,b=/-->/g,v=/>/g,m=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,$=/'/g,w=/"/g,k=/^(?:script|style|textarea|title)$/i,z=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),S=Symbol.for("lit-noChange"),O=Symbol.for("lit-nothing"),C=new WeakMap,E=c.createTreeWalker(c,129,null,!1),j=(t,e)=>{const i=t.length-1,o=[];let s,l=2===e?"<svg>":"",n=g;for(let e=0;e<i;e++){const i=t[e];let r,p,a=-1,h=0;for(;h<i.length&&(n.lastIndex=h,p=n.exec(i),null!==p);)h=n.lastIndex,n===g?"!--"===p[1]?n=b:void 0!==p[1]?n=v:void 0!==p[2]?(k.test(p[2])&&(s=RegExp("</"+p[2],"g")),n=m):void 0!==p[3]&&(n=m):n===m?">"===p[0]?(n=null!=s?s:g,a=-1):void 0===p[1]?a=-2:(a=n.lastIndex-p[2].length,r=p[1],n=void 0===p[3]?m:'"'===p[3]?w:$):n===w||n===$?n=m:n===b||n===v?n=g:(n=m,s=void 0);const c=n===m&&t[e+1].startsWith("/>")?" ":"";l+=n===g?i+d:a>=0?(o.push(r),i.slice(0,a)+"$lit$"+i.slice(a)+f+c):i+f+(-2===a?(o.push(void 0),e):c)}const r=l+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==a?a.createHTML(r):r,o]};class A{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,l=0;const n=t.length-1,r=this.parts,[a,d]=j(t,e);if(this.el=A.createElement(a,i),E.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=E.nextNode())&&r.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(f)){const i=d[l++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(f),e=/([.?@])?(.*)/.exec(i);r.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?B:"?"===e[1]?Z:"@"===e[1]?U:M})}else r.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(k.test(o.tagName)){const t=o.textContent.split(f),e=t.length-1;if(e>0){o.textContent=p?p.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],u()),E.nextNode(),r.push({type:2,index:++s});o.append(t[e],u())}}}else if(8===o.nodeType)if(o.data===h)r.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(f,t+1));)r.push({type:7,index:s}),t+=f.length-1}s++}}static createElement(t,e){const i=c.createElement("template");return i.innerHTML=t,i}}function N(t,e,i=t,o){var s,l,n,r;if(e===S)return e;let p=void 0!==o?null===(s=i._$Cl)||void 0===s?void 0:s[o]:i._$Cu;const a=y(e)?void 0:e._$litDirective$;return(null==p?void 0:p.constructor)!==a&&(null===(l=null==p?void 0:p._$AO)||void 0===l||l.call(p,!1),void 0===a?p=void 0:(p=new a(t),p._$AT(t,i,o)),void 0!==o?(null!==(n=(r=i)._$Cl)&&void 0!==n?n:r._$Cl=[])[o]=p:i._$Cu=p),void 0!==p&&(e=N(t,p._$AS(t,e.values),p,o)),e}class D{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:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:c).importNode(i,!0);E.currentNode=s;let l=E.nextNode(),n=0,r=0,p=o[0];for(;void 0!==p;){if(n===p.index){let e;2===p.type?e=new I(l,l.nextSibling,this,t):1===p.type?e=new p.ctor(l,p.name,p.strings,this,t):6===p.type&&(e=new T(l,this,t)),this.v.push(e),p=o[++r]}n!==(null==p?void 0:p.index)&&(l=E.nextNode(),n++)}return s}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class I{constructor(t,e,i,o){var s;this.type=2,this._$AH=O,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}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=N(this,t,e),y(t)?t===O||null==t||""===t?(this._$AH!==O&&this._$AR(),this._$AH=O):t!==this._$AH&&t!==S&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>{var e;return x(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(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!==O&&y(this._$AH)?this._$AA.nextSibling.data=t:this.k(c.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=A.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.m(i);else{const t=new D(s,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=C.get(t.strings);return void 0===e&&C.set(t.strings,e=new A(t)),e}S(t){x(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new I(this.M(u()),this.M(u()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.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 M{constructor(t,e,i,o,s){this.type=1,this._$AH=O,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=O}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let l=!1;if(void 0===s)t=N(this,t,e,0),l=!y(t)||t!==this._$AH&&t!==S,l&&(this._$AH=t);else{const o=t;let n,r;for(t=s[0],n=0;n<s.length-1;n++)r=N(this,o[i+n],e,n),r===S&&(r=this._$AH[n]),l||(l=!y(r)||r!==this._$AH[n]),r===O?t=O:t!==O&&(t+=(null!=r?r:"")+s[n+1]),this._$AH[n]=r}l&&!o&&this.C(t)}C(t){t===O?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class B extends M{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===O?void 0:t}}const _=p?p.emptyScript:"";class Z extends M{constructor(){super(...arguments),this.type=4}C(t){t&&t!==O?this.element.setAttribute(this.name,_):this.element.removeAttribute(this.name)}}class U extends M{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=N(this,t,e,0))&&void 0!==i?i:O)===S)return;const o=this._$AH,s=t===O&&o!==O||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,l=t!==O&&(o===O||s);s&&this.element.removeEventListener(this.name,this,o),l&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class T{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){N(this,t)}}const R=window.litHtmlPolyfillSupport;null==R||R(A,I),(null!==(r=globalThis.litHtmlVersions)&&void 0!==r?r:globalThis.litHtmlVersions=[]).push("2.2.4");
7
+ var r;const p=globalThis.trustedTypes,a=p?p.createPolicy("lit-html",{createHTML:t=>t}):void 0,f=`lit$${(Math.random()+"").slice(9)}$`,h="?"+f,d=`<${h}>`,c=document,u=(t="")=>c.createComment(t),y=t=>null===t||"object"!=typeof t&&"function"!=typeof t,x=Array.isArray,g=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,b=/-->/g,v=/>/g,m=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),$=/'/g,w=/"/g,k=/^(?:script|style|textarea|title)$/i,z=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),S=Symbol.for("lit-noChange"),O=Symbol.for("lit-nothing"),E=new WeakMap,C=c.createTreeWalker(c,129,null,!1),j=(t,e)=>{const i=t.length-1,o=[];let s,l=2===e?"<svg>":"",n=g;for(let e=0;e<i;e++){const i=t[e];let r,p,a=-1,h=0;for(;h<i.length&&(n.lastIndex=h,p=n.exec(i),null!==p);)h=n.lastIndex,n===g?"!--"===p[1]?n=b:void 0!==p[1]?n=v:void 0!==p[2]?(k.test(p[2])&&(s=RegExp("</"+p[2],"g")),n=m):void 0!==p[3]&&(n=m):n===m?">"===p[0]?(n=null!=s?s:g,a=-1):void 0===p[1]?a=-2:(a=n.lastIndex-p[2].length,r=p[1],n=void 0===p[3]?m:'"'===p[3]?w:$):n===w||n===$?n=m:n===b||n===v?n=g:(n=m,s=void 0);const c=n===m&&t[e+1].startsWith("/>")?" ":"";l+=n===g?i+d:a>=0?(o.push(r),i.slice(0,a)+"$lit$"+i.slice(a)+f+c):i+f+(-2===a?(o.push(void 0),e):c)}const r=l+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==a?a.createHTML(r):r,o]};class A{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,l=0;const n=t.length-1,r=this.parts,[a,d]=j(t,e);if(this.el=A.createElement(a,i),C.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=C.nextNode())&&r.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(f)){const i=d[l++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(f),e=/([.?@])?(.*)/.exec(i);r.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?B:"?"===e[1]?Z:"@"===e[1]?T:M})}else r.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(k.test(o.tagName)){const t=o.textContent.split(f),e=t.length-1;if(e>0){o.textContent=p?p.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],u()),C.nextNode(),r.push({type:2,index:++s});o.append(t[e],u())}}}else if(8===o.nodeType)if(o.data===h)r.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(f,t+1));)r.push({type:7,index:s}),t+=f.length-1}s++}}static createElement(t,e){const i=c.createElement("template");return i.innerHTML=t,i}}function N(t,e,i=t,o){var s,l,n,r;if(e===S)return e;let p=void 0!==o?null===(s=i._$Cl)||void 0===s?void 0:s[o]:i._$Cu;const a=y(e)?void 0:e._$litDirective$;return(null==p?void 0:p.constructor)!==a&&(null===(l=null==p?void 0:p._$AO)||void 0===l||l.call(p,!1),void 0===a?p=void 0:(p=new a(t),p._$AT(t,i,o)),void 0!==o?(null!==(n=(r=i)._$Cl)&&void 0!==n?n:r._$Cl=[])[o]=p:i._$Cu=p),void 0!==p&&(e=N(t,p._$AS(t,e.values),p,o)),e}class D{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:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:c).importNode(i,!0);C.currentNode=s;let l=C.nextNode(),n=0,r=0,p=o[0];for(;void 0!==p;){if(n===p.index){let e;2===p.type?e=new I(l,l.nextSibling,this,t):1===p.type?e=new p.ctor(l,p.name,p.strings,this,t):6===p.type&&(e=new U(l,this,t)),this.v.push(e),p=o[++r]}n!==(null==p?void 0:p.index)&&(l=C.nextNode(),n++)}return s}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class I{constructor(t,e,i,o){var s;this.type=2,this._$AH=O,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$C_=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}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=N(this,t,e),y(t)?t===O||null==t||""===t?(this._$AH!==O&&this._$AR(),this._$AH=O):t!==this._$AH&&t!==S&&this.T(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.k(t):(t=>x(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(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!==O&&y(this._$AH)?this._$AA.nextSibling.data=t:this.k(c.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=A.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.m(i);else{const t=new D(s,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=E.get(t.strings);return void 0===e&&E.set(t.strings,e=new A(t)),e}S(t){x(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new I(this.j(u()),this.j(u()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.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 M{constructor(t,e,i,o,s){this.type=1,this._$AH=O,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=O}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let l=!1;if(void 0===s)t=N(this,t,e,0),l=!y(t)||t!==this._$AH&&t!==S,l&&(this._$AH=t);else{const o=t;let n,r;for(t=s[0],n=0;n<s.length-1;n++)r=N(this,o[i+n],e,n),r===S&&(r=this._$AH[n]),l||(l=!y(r)||r!==this._$AH[n]),r===O?t=O:t!==O&&(t+=(null!=r?r:"")+s[n+1]),this._$AH[n]=r}l&&!o&&this.P(t)}P(t){t===O?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class B extends M{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===O?void 0:t}}const _=p?p.emptyScript:"";class Z extends M{constructor(){super(...arguments),this.type=4}P(t){t&&t!==O?this.element.setAttribute(this.name,_):this.element.removeAttribute(this.name)}}class T extends M{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=N(this,t,e,0))&&void 0!==i?i:O)===S)return;const o=this._$AH,s=t===O&&o!==O||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,l=t!==O&&(o===O||s);s&&this.element.removeEventListener(this.name,this,o),l&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class U{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){N(this,t)}}const R=window.litHtmlPolyfillSupport;null==R||R(A,I),(null!==(r=globalThis.litHtmlVersions)&&void 0!==r?r:globalThis.litHtmlVersions=[]).push("2.2.7");
8
8
  /**
9
9
  * @license
10
10
  * Copyright 2020 Google LLC
11
11
  * SPDX-License-Identifier: BSD-3-Clause
12
12
  */
13
- const W=Symbol.for(""),K=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===W)return null===(i=t)||void 0===i?void 0:i._$litStatic$},F=t=>({_$litStatic$:t,r:W}),G=new Map,H=(t=>(e,...i)=>{const o=i.length;let s,l;const n=[],r=[];let p,a=0,f=!1;for(;a<o;){for(p=e[a];a<o&&void 0!==(l=i[a],s=K(l));)p+=s+e[++a],f=!0;r.push(l),n.push(p),a++}if(a===o&&n.push(e[o]),f){const t=n.join("$$lit$$");void 0===(e=G.get(t))&&(n.raw=n,G.set(t,e=n)),i=r}return t(e,...i)})(z);var P,q=function(t,e,i,o){for(var s,l=arguments.length,n=l<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(s=t[r])&&(n=(l<3?s(n):l>3?s(e,i,n):s(e,i))||n);return l>3&&n&&Object.defineProperty(e,i,n),n};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(P||(P={}));const L=e.FtCssVariable.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),X=e.FtCssVariable.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),Y={fontFamily:X,fontSize:e.FtCssVariable.create("--ft-typography-font-size","SIZE","16px"),fontWeight:e.FtCssVariable.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:e.FtCssVariable.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:e.FtCssVariable.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:e.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},J=e.FtCssVariable.extend("--ft-typography-title-font-family",L),Q=e.FtCssVariable.extend("--ft-typography-title-font-size",Y.fontSize,"20px"),V=e.FtCssVariable.extend("--ft-typography-title-font-weight",Y.fontWeight,"normal"),tt=e.FtCssVariable.extend("--ft-typography-title-letter-spacing",Y.letterSpacing,"0.15px"),et=e.FtCssVariable.extend("--ft-typography-title-line-height",Y.lineHeight,"1.2"),it=e.FtCssVariable.extend("--ft-typography-title-text-transform",Y.textTransform,"inherit"),ot=e.FtCssVariable.extend("--ft-typography-title-dense-font-family",L),st=e.FtCssVariable.extend("--ft-typography-title-dense-font-size",Y.fontSize,"14px"),lt=e.FtCssVariable.extend("--ft-typography-title-dense-font-weight",Y.fontWeight,"normal"),nt=e.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",Y.letterSpacing,"0.105px"),rt=e.FtCssVariable.extend("--ft-typography-title-dense-line-height",Y.lineHeight,"1.7"),pt=e.FtCssVariable.extend("--ft-typography-title-dense-text-transform",Y.textTransform,"inherit"),at=e.FtCssVariable.extend("--ft-typography-subtitle1-font-family",X),ft=e.FtCssVariable.extend("--ft-typography-subtitle1-font-size",Y.fontSize,"16px"),ht=e.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",Y.fontWeight,"600"),dt=e.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",Y.letterSpacing,"0.144px"),ct=e.FtCssVariable.extend("--ft-typography-subtitle1-line-height",Y.lineHeight,"1.5"),ut=e.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",Y.textTransform,"inherit"),yt=e.FtCssVariable.extend("--ft-typography-subtitle2-font-family",X),xt=e.FtCssVariable.extend("--ft-typography-subtitle2-font-size",Y.fontSize,"14px"),gt=e.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",Y.fontWeight,"normal"),bt=e.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",Y.letterSpacing,"0.098px"),vt=e.FtCssVariable.extend("--ft-typography-subtitle2-line-height",Y.lineHeight,"1.7"),mt=e.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",Y.textTransform,"inherit"),$t={fontFamily:e.FtCssVariable.extend("--ft-typography-body1-font-family",X),fontSize:e.FtCssVariable.extend("--ft-typography-body1-font-size",Y.fontSize,"16px"),fontWeight:e.FtCssVariable.extend("--ft-typography-body1-font-weight",Y.fontWeight,"normal"),letterSpacing:e.FtCssVariable.extend("--ft-typography-body1-letter-spacing",Y.letterSpacing,"0.496px"),lineHeight:e.FtCssVariable.extend("--ft-typography-body1-line-height",Y.lineHeight,"1.5"),textTransform:e.FtCssVariable.extend("--ft-typography-body1-text-transform",Y.textTransform,"inherit")},wt=e.FtCssVariable.extend("--ft-typography-body2-font-family",X),kt=e.FtCssVariable.extend("--ft-typography-body2-font-size",Y.fontSize,"14px"),zt=e.FtCssVariable.extend("--ft-typography-body2-font-weight",Y.fontWeight,"normal"),St=e.FtCssVariable.extend("--ft-typography-body2-letter-spacing",Y.letterSpacing,"0.252px"),Ot=e.FtCssVariable.extend("--ft-typography-body2-line-height",Y.lineHeight,"1.4"),Ct=e.FtCssVariable.extend("--ft-typography-body2-text-transform",Y.textTransform,"inherit"),Et={fontFamily:e.FtCssVariable.extend("--ft-typography-caption-font-family",X),fontSize:e.FtCssVariable.extend("--ft-typography-caption-font-size",Y.fontSize,"12px"),fontWeight:e.FtCssVariable.extend("--ft-typography-caption-font-weight",Y.fontWeight,"normal"),letterSpacing:e.FtCssVariable.extend("--ft-typography-caption-letter-spacing",Y.letterSpacing,"0.396px"),lineHeight:e.FtCssVariable.extend("--ft-typography-caption-line-height",Y.lineHeight,"1.33"),textTransform:e.FtCssVariable.extend("--ft-typography-caption-text-transform",Y.textTransform,"inherit")},jt=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",X),At=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",Y.fontSize,"10px"),Nt=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",Y.fontWeight,"normal"),Dt=e.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",Y.letterSpacing,"0.33px"),It=e.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",Y.lineHeight,"1.6"),Mt=e.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",Y.textTransform,"inherit"),Bt=e.FtCssVariable.extend("--ft-typography-overline-font-family",X),_t=e.FtCssVariable.extend("--ft-typography-overline-font-size",Y.fontSize,"10px"),Zt=e.FtCssVariable.extend("--ft-typography-overline-font-weight",Y.fontWeight,"normal"),Ut=e.FtCssVariable.extend("--ft-typography-overline-letter-spacing",Y.letterSpacing,"1.5px"),Tt=e.FtCssVariable.extend("--ft-typography-overline-line-height",Y.lineHeight,"1.6"),Rt=e.FtCssVariable.extend("--ft-typography-overline-text-transform",Y.textTransform,"uppercase"),Wt=e.FtCssVariable.extend("--ft-typography-button-font-family",X),Kt=e.FtCssVariable.extend("--ft-typography-button-font-size",Y.fontSize,"14px"),Ft=e.FtCssVariable.extend("--ft-typography-button-font-weight",Y.fontWeight,"600"),Gt=e.FtCssVariable.extend("--ft-typography-button-letter-spacing",Y.letterSpacing,"1.246px"),Ht=e.FtCssVariable.extend("--ft-typography-button-line-height",Y.lineHeight,"1.15"),Pt=e.FtCssVariable.extend("--ft-typography-button-text-transform",Y.textTransform,"uppercase"),qt=i.css`
13
+ const W=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===W)return null==t?void 0:t._$litStatic$},P=t=>({_$litStatic$:t,r:W}),F=new Map,G=(t=>(e,...i)=>{const o=i.length;let s,l;const n=[],r=[];let p,a=0,f=!1;for(;a<o;){for(p=e[a];a<o&&void 0!==(l=i[a],s=K(l));)p+=s+e[++a],f=!0;r.push(l),n.push(p),a++}if(a===o&&n.push(e[o]),f){const t=n.join("$$lit$$");void 0===(e=F.get(t))&&(n.raw=n,F.set(t,e=n)),i=r}return t(e,...i)})(z);var H,q=function(t,e,i,o){for(var s,l=arguments.length,n=l<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(s=t[r])&&(n=(l<3?s(n):l>3?s(e,i,n):s(e,i))||n);return l>3&&n&&Object.defineProperty(e,i,n),n};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(H||(H={}));const L=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),X=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),Y={fontFamily:X,fontSize:e.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:e.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:e.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:e.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:e.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},J=e.FtCssVariableFactory.extend("--ft-typography-title-font-family",L),Q=e.FtCssVariableFactory.extend("--ft-typography-title-font-size",Y.fontSize,"20px"),V=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight",Y.fontWeight,"normal"),tt=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",Y.letterSpacing,"0.15px"),et=e.FtCssVariableFactory.extend("--ft-typography-title-line-height",Y.lineHeight,"1.2"),it=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform",Y.textTransform,"inherit"),ot=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",L),st=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",Y.fontSize,"14px"),lt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",Y.fontWeight,"normal"),nt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",Y.letterSpacing,"0.105px"),rt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",Y.lineHeight,"1.7"),pt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",Y.textTransform,"inherit"),at=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",X),ft=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",Y.fontSize,"16px"),ht=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",Y.fontWeight,"600"),dt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",Y.letterSpacing,"0.144px"),ct=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",Y.lineHeight,"1.5"),ut=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",Y.textTransform,"inherit"),yt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",X),xt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",Y.fontSize,"14px"),gt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",Y.fontWeight,"normal"),bt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",Y.letterSpacing,"0.098px"),vt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",Y.lineHeight,"1.7"),mt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",Y.textTransform,"inherit"),$t={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-body1-font-family",X),fontSize:e.FtCssVariableFactory.extend("--ft-typography-body1-font-size",Y.fontSize,"16px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",Y.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",Y.letterSpacing,"0.496px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-body1-line-height",Y.lineHeight,"1.5"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",Y.textTransform,"inherit")},wt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-family",X),kt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-size",Y.fontSize,"14px"),zt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",Y.fontWeight,"normal"),St=e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",Y.letterSpacing,"0.252px"),Ot=e.FtCssVariableFactory.extend("--ft-typography-body2-line-height",Y.lineHeight,"1.4"),Et=e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",Y.textTransform,"inherit"),Ct={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-caption-font-family",X),fontSize:e.FtCssVariableFactory.extend("--ft-typography-caption-font-size",Y.fontSize,"12px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",Y.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",Y.letterSpacing,"0.396px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-caption-line-height",Y.lineHeight,"1.33"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",Y.textTransform,"inherit")},jt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",X),At=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",Y.fontSize,"10px"),Nt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",Y.fontWeight,"normal"),Dt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",Y.letterSpacing,"0.33px"),It=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",Y.lineHeight,"1.6"),Mt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",Y.textTransform,"inherit"),Bt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family",X),_t=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size",Y.fontSize,"10px"),Zt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",Y.fontWeight,"normal"),Tt=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",Y.letterSpacing,"1.5px"),Ut=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height",Y.lineHeight,"1.6"),Rt=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",Y.textTransform,"uppercase"),Wt=e.FtCssVariableFactory.extend("--ft-typography-button-font-family",X),Kt=e.FtCssVariableFactory.extend("--ft-typography-button-font-size",Y.fontSize,"14px"),Pt=e.FtCssVariableFactory.extend("--ft-typography-button-font-weight",Y.fontWeight,"600"),Ft=e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",Y.letterSpacing,"1.246px"),Gt=e.FtCssVariableFactory.extend("--ft-typography-button-line-height",Y.lineHeight,"1.15"),Ht=e.FtCssVariableFactory.extend("--ft-typography-button-text-transform",Y.textTransform,"uppercase"),qt=i.css`
14
14
  .ft-typography--title {
15
15
  font-family: ${J};
16
16
  font-size: ${Q};
@@ -63,16 +63,16 @@ const W=Symbol.for(""),K=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===
63
63
  font-weight: ${zt};
64
64
  letter-spacing: ${St};
65
65
  line-height: ${Ot};
66
- text-transform: ${Ct};
66
+ text-transform: ${Et};
67
67
  }
68
68
  `,Vt=i.css`
69
69
  .ft-typography--caption {
70
- font-family: ${Et.fontFamily};
71
- font-size: ${Et.fontSize};
72
- font-weight: ${Et.fontWeight};
73
- letter-spacing: ${Et.letterSpacing};
74
- line-height: ${Et.lineHeight};
75
- text-transform: ${Et.textTransform};
70
+ font-family: ${Ct.fontFamily};
71
+ font-size: ${Ct.fontSize};
72
+ font-weight: ${Ct.fontWeight};
73
+ letter-spacing: ${Ct.letterSpacing};
74
+ line-height: ${Ct.lineHeight};
75
+ text-transform: ${Ct.textTransform};
76
76
  }
77
77
  `,te=i.css`
78
78
  .ft-typography--breadcrumb {
@@ -88,31 +88,31 @@ const W=Symbol.for(""),K=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===
88
88
  font-family: ${Bt};
89
89
  font-size: ${_t};
90
90
  font-weight: ${Zt};
91
- letter-spacing: ${Ut};
92
- line-height: ${Tt};
91
+ letter-spacing: ${Tt};
92
+ line-height: ${Ut};
93
93
  text-transform: ${Rt};
94
94
  }
95
95
  `,ie=i.css`
96
96
  .ft-typography--button {
97
97
  font-family: ${Wt};
98
98
  font-size: ${Kt};
99
- font-weight: ${Ft};
100
- letter-spacing: ${Gt};
101
- line-height: ${Ht};
102
- text-transform: ${Pt};
99
+ font-weight: ${Pt};
100
+ letter-spacing: ${Ft};
101
+ line-height: ${Gt};
102
+ text-transform: ${Ht};
103
103
  }
104
- `;class oe extends e.FtLitElement{constructor(){super(...arguments),this.variant=P.body1}render(){return this.element?H`
105
- <${F(this.element)}
104
+ `;class oe extends e.FtLitElement{constructor(){super(...arguments),this.variant=H.body1}render(){return this.element?G`
105
+ <${P(this.element)}
106
106
  class="ft-typography ft-typography--${this.variant}">
107
107
  <slot></slot>
108
- </${F(this.element)}>
109
- `:H`
108
+ </${P(this.element)}>
109
+ `:G`
110
110
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
111
111
  `}}oe.styles=[qt,Lt,Xt,Yt,Jt,Qt,Vt,te,ee,ie,i.css`
112
112
  .ft-typography {
113
113
  vertical-align: inherit;
114
114
  }
115
- `],q([o.property()],oe.prototype,"element",void 0),q([o.property()],oe.prototype,"variant",void 0),e.customElement("ft-typography")(oe);var se=function(t,e,i,o){for(var s,l=arguments.length,n=l<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(s=t[r])&&(n=(l<3?s(n):l>3?s(e,i,n):s(e,i))||n);return l>3&&n&&Object.defineProperty(e,i,n),n};const le={fontSize:e.FtCssVariable.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:e.FtCssVariable.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:e.FtCssVariable.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:e.FtCssVariable.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:e.FtCssVariable.create("--ft-input-label-horizontal-spacing","SIZE","12px"),borderColor:e.FtCssVariable.extend("--ft-input-label-border-color",e.designSystemVariables.colorOutline),textColor:e.FtCssVariable.extend("--ft-input-label-text-color",e.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:e.FtCssVariable.extend("--ft-input-label-disabled-text-color",e.designSystemVariables.colorOnSurfaceDisabled),colorSurface:e.FtCssVariable.external(e.designSystemVariables.colorSurface,"Design system"),borderRadiusS:e.FtCssVariable.external(e.designSystemVariables.borderRadiusS,"Design system"),colorError:e.FtCssVariable.external(e.designSystemVariables.colorError,"Design system")};class ne extends e.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return i.html`
115
+ `],q([o.property()],oe.prototype,"element",void 0),q([o.property()],oe.prototype,"variant",void 0),e.customElement("ft-typography")(oe);var se=function(t,e,i,o){for(var s,l=arguments.length,n=l<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(s=t[r])&&(n=(l<3?s(n):l>3?s(e,i,n):s(e,i))||n);return l>3&&n&&Object.defineProperty(e,i,n),n};const le={fontSize:e.FtCssVariableFactory.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:e.FtCssVariableFactory.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:e.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:e.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:e.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","SIZE","12px"),borderColor:e.FtCssVariableFactory.extend("--ft-input-label-border-color",e.designSystemVariables.colorOutline),textColor:e.FtCssVariableFactory.extend("--ft-input-label-text-color",e.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:e.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color",e.designSystemVariables.colorOnSurfaceDisabled),colorSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),borderRadiusS:e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),colorError:e.FtCssVariableFactory.external(e.designSystemVariables.colorError,"Design system")};class ne extends e.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return i.html`
116
116
  <div class="${s.classMap(t)}">
117
117
  ${this.text?i.html`
118
118
  <div class="ft-input-label--text ft-typography--caption">
@@ -170,8 +170,8 @@ const W=Symbol.for(""),K=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===
170
170
  border-color: inherit;
171
171
  color: ${le.textColor};
172
172
  transition: font-size 250ms, line-height 250ms, color 250ms;
173
- ${e.setVariable(Et.fontSize,le.fontSize)};
174
- ${e.setVariable(Et.lineHeight,le.fontSize)};
173
+ ${e.setVariable(Ct.fontSize,le.fontSize)};
174
+ ${e.setVariable(Ct.lineHeight,le.fontSize)};
175
175
  }
176
176
 
177
177
  .ft-input-label--in-error .ft-input-label--text {
@@ -191,7 +191,6 @@ const W=Symbol.for(""),K=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===
191
191
  position: absolute;
192
192
  top: calc(50% - var(--ft-typography-caption-line-height) / 2);
193
193
  transition: top 250ms;
194
- width: calc(100% - 8px);
195
194
  overflow: hidden;
196
195
  white-space: nowrap;
197
196
  text-overflow: ellipsis;
@@ -200,8 +199,8 @@ const W=Symbol.for(""),K=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===
200
199
  }
201
200
 
202
201
  .ft-input-label--raised .ft-input-label--text {
203
- ${e.setVariable(Et.fontSize,le.raisedFontSize)};
204
- ${e.setVariable(Et.lineHeight,le.raisedFontSize)};
202
+ ${e.setVariable(Ct.fontSize,le.raisedFontSize)};
203
+ ${e.setVariable(Ct.lineHeight,le.raisedFontSize)};
205
204
  }
206
205
 
207
206
  .ft-input-label--raised .ft-input-label--floating-text {
@@ -238,7 +237,7 @@ const W=Symbol.for(""),K=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===
238
237
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
239
238
  border-top: none;
240
239
  }
241
- `],se([o.property({type:String})],ne.prototype,"text",void 0),se([o.property({type:Boolean})],ne.prototype,"raised",void 0),se([o.property({type:Boolean})],ne.prototype,"outlined",void 0),se([o.property({type:Boolean})],ne.prototype,"disabled",void 0),se([o.property({type:Boolean})],ne.prototype,"error",void 0),e.customElement("ft-input-label")(ne);var re=function(t,e,i,o){for(var s,l=arguments.length,n=l<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(s=t[r])&&(n=(l<3?s(n):l>3?s(e,i,n):s(e,i))||n);return l>3&&n&&Object.defineProperty(e,i,n),n};const pe=e.FtCssVariable.extend("--ft-ripple-color",e.designSystemVariables.colorContent),ae={color:pe,backgroundColor:e.FtCssVariable.extend("--ft-ripple-background-color",pe),opacityContentOnSurfacePressed:e.FtCssVariable.external(e.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:e.FtCssVariable.external(e.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:e.FtCssVariable.external(e.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:e.FtCssVariable.external(e.designSystemVariables.opacityContentOnSurfaceSelected,"Design system")},fe=e.FtCssVariable.extend("--ft-ripple-color",e.designSystemVariables.colorPrimary),he=fe,de=e.FtCssVariable.extend("--ft-ripple-background-color",fe),ce=e.FtCssVariable.extend("--ft-ripple-color",e.designSystemVariables.colorSecondary),ue=ce,ye=e.FtCssVariable.extend("--ft-ripple-background-color",ce);class xe extends e.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new e.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:s}=this.getCoordinates(t),l=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-l.x:l.width/2),this.originY=Math.round(null!=s?s-l.y:l.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return i.html`
240
+ `],se([o.property({type:String})],ne.prototype,"text",void 0),se([o.property({type:Boolean})],ne.prototype,"raised",void 0),se([o.property({type:Boolean})],ne.prototype,"outlined",void 0),se([o.property({type:Boolean})],ne.prototype,"disabled",void 0),se([o.property({type:Boolean})],ne.prototype,"error",void 0),e.customElement("ft-input-label")(ne);var re=function(t,e,i,o){for(var s,l=arguments.length,n=l<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(s=t[r])&&(n=(l<3?s(n):l>3?s(e,i,n):s(e,i))||n);return l>3&&n&&Object.defineProperty(e,i,n),n};const pe=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorContent),ae={color:pe,backgroundColor:e.FtCssVariableFactory.extend("--ft-ripple-background-color",pe),opacityContentOnSurfacePressed:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceSelected,"Design system")},fe=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorPrimary),he=fe,de=e.FtCssVariableFactory.extend("--ft-ripple-background-color",fe),ce=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorSecondary),ue=ce,ye=e.FtCssVariableFactory.extend("--ft-ripple-background-color",ce);class xe extends e.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new e.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:s}=this.getCoordinates(t),l=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-l.x:l.width/2),this.originY=Math.round(null!=s?s-l.y:l.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return i.html`
242
241
  <style>
243
242
  .ft-ripple .ft-ripple--effect,
244
243
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -344,47 +343,48 @@ const W=Symbol.for(""),K=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===
344
343
  opacity: ${ae.opacityContentOnSurfacePressed};
345
344
  transform: translate(-50%, -50%) scale(1);
346
345
  }
347
- `,re([o.property({type:Boolean})],xe.prototype,"primary",void 0),re([o.property({type:Boolean})],xe.prototype,"secondary",void 0),re([o.property({type:Boolean})],xe.prototype,"unbounded",void 0),re([o.property({type:Boolean})],xe.prototype,"activated",void 0),re([o.property({type:Boolean})],xe.prototype,"selected",void 0),re([o.property({type:Boolean})],xe.prototype,"disabled",void 0),re([o.state()],xe.prototype,"hovered",void 0),re([o.state()],xe.prototype,"focused",void 0),re([o.state()],xe.prototype,"pressed",void 0),re([o.state()],xe.prototype,"rippling",void 0),re([o.state()],xe.prototype,"rippleSize",void 0),re([o.state()],xe.prototype,"originX",void 0),re([o.state()],xe.prototype,"originY",void 0),re([o.query(".ft-ripple")],xe.prototype,"ripple",void 0),re([o.query(".ft-ripple--effect")],xe.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(xe),function(t){t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(ge||(ge={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(be||(be={})),new Map([...["abw"].map((t=>[t,be.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,be.AUDIO])),...["avi"].map((t=>[t,be.AVI])),...["chm","xhs"].map((t=>[t,be.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,be.CODE])),...["csv"].map((t=>[t,be.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,be.DITA])),...["epub"].map((t=>[t,be.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,be.EXCEL])),...["flac"].map((t=>[t,be.FLAC])),...["gif"].map((t=>[t,be.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,be.GZIP])),...["html","htm","xhtml"].map((t=>[t,be.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,be.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,be.JPEG])),...["json"].map((t=>[t,be.JSON])),...["m4a","m4p"].map((t=>[t,be.M4A])),...["mov","qt"].map((t=>[t,be.MOV])),...["mp3"].map((t=>[t,be.MP3])),...["mp4","m4v"].map((t=>[t,be.MP4])),...["ogg","oga"].map((t=>[t,be.OGG])),...["pdf","ps"].map((t=>[t,be.PDF])),...["png"].map((t=>[t,be.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,be.POWERPOINT])),...["rar"].map((t=>[t,be.RAR])),...["stp"].map((t=>[t,be.STP])),...["txt","rtf","md","mdown"].map((t=>[t,be.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,be.VIDEO])),...["wav"].map((t=>[t,be.WAV])),...["wma"].map((t=>[t,be.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,be.WORD])),...["xml","xsl","rdf"].map((t=>[t,be.XML])),...["yaml","yml","x-yaml"].map((t=>[t,be.YAML])),...["zip"].map((t=>[t,be.ZIP]))]);var ve,me=function(t,e,i,o){for(var s,l=arguments.length,n=l<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(s=t[r])&&(n=(l<3?s(n):l>3?s(e,i,n):s(e,i))||n);return l>3&&n&&Object.defineProperty(e,i,n),n};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ve||(ve={}));const $e=e.FtCssVariable.create("--ft-icon-font-size","SIZE","24px"),we=e.FtCssVariable.extend("--ft-icon-fluid-topics-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-icons")),ke=e.FtCssVariable.extend("--ft-icon-file-format-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-mime")),ze=e.FtCssVariable.extend("--ft-icon-material-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","Material Icons"));class Se extends e.FtLitElement{constructor(){super(...arguments),this.variant=ve.fluid_topics}render(){return i.html`
348
- <i class="ft-icon ${"ft-icon--"+this.variant}">
349
- ${n.unsafeHTML(this.getIcon())}
350
- <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
351
- </i>
352
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let o=this.textContent;return this.variant===ve.file_format?null!==(t=be[o.toUpperCase()])&&void 0!==t?t:o:this.variant===ve.fluid_topics?null!==(e=ge[o.toUpperCase()])&&void 0!==e?e:o:i.nothing}}Se.elementDefinitions={},Se.styles=i.css`
353
- :host {
354
- display: inline-block;
355
- }
356
- :host, i.ft-icon {
357
- width: ${$e};
358
- height: ${$e};
359
- text-align: center;
360
- }
346
+ `,re([o.property({type:Boolean})],xe.prototype,"primary",void 0),re([o.property({type:Boolean})],xe.prototype,"secondary",void 0),re([o.property({type:Boolean})],xe.prototype,"unbounded",void 0),re([o.property({type:Boolean})],xe.prototype,"activated",void 0),re([o.property({type:Boolean})],xe.prototype,"selected",void 0),re([o.property({type:Boolean})],xe.prototype,"disabled",void 0),re([o.state()],xe.prototype,"hovered",void 0),re([o.state()],xe.prototype,"focused",void 0),re([o.state()],xe.prototype,"pressed",void 0),re([o.state()],xe.prototype,"rippling",void 0),re([o.state()],xe.prototype,"rippleSize",void 0),re([o.state()],xe.prototype,"originX",void 0),re([o.state()],xe.prototype,"originY",void 0),re([o.query(".ft-ripple")],xe.prototype,"ripple",void 0),re([o.query(".ft-ripple--effect")],xe.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(xe),function(t){t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(ge||(ge={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(be||(be={})),new Map([...["abw"].map((t=>[t,be.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,be.AUDIO])),...["avi"].map((t=>[t,be.AVI])),...["chm","xhs"].map((t=>[t,be.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,be.CODE])),...["csv"].map((t=>[t,be.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,be.DITA])),...["epub"].map((t=>[t,be.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,be.EXCEL])),...["flac"].map((t=>[t,be.FLAC])),...["gif"].map((t=>[t,be.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,be.GZIP])),...["html","htm","xhtml"].map((t=>[t,be.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,be.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,be.JPEG])),...["json"].map((t=>[t,be.JSON])),...["m4a","m4p"].map((t=>[t,be.M4A])),...["mov","qt"].map((t=>[t,be.MOV])),...["mp3"].map((t=>[t,be.MP3])),...["mp4","m4v"].map((t=>[t,be.MP4])),...["ogg","oga"].map((t=>[t,be.OGG])),...["pdf","ps"].map((t=>[t,be.PDF])),...["png"].map((t=>[t,be.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,be.POWERPOINT])),...["rar"].map((t=>[t,be.RAR])),...["stp"].map((t=>[t,be.STP])),...["txt","rtf","md","mdown"].map((t=>[t,be.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,be.VIDEO])),...["wav"].map((t=>[t,be.WAV])),...["wma"].map((t=>[t,be.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,be.WORD])),...["xml","xsl","rdf"].map((t=>[t,be.XML])),...["yaml","yml","x-yaml"].map((t=>[t,be.YAML])),...["zip"].map((t=>[t,be.ZIP]))]);var ve,me=function(t,e,i,o){for(var s,l=arguments.length,n=l<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(s=t[r])&&(n=(l<3?s(n):l>3?s(e,i,n):s(e,i))||n);return l>3&&n&&Object.defineProperty(e,i,n),n};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ve||(ve={}));const $e=e.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),we=e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),ke=e.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),ze=e.FtCssVariableFactory.extend("--ft-icon-material-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons"));class Se extends e.FtLitElement{constructor(){super(...arguments),this.variant=ve.fluid_topics}getStyles(){return i.css`
347
+ :host {
348
+ display: inline-block;
349
+ }
361
350
 
362
- i.ft-icon {
363
- font-size: ${$e};
364
- line-height: 1;
365
- font-weight: normal;
366
- text-transform: none;
367
- font-style: normal;
368
- font-variant: normal;
369
- speak: none;
370
- text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
371
- text-rendering: auto;
372
- -webkit-font-smoothing: antialiased;
373
- -moz-osx-font-smoothing: grayscale;
374
- }
351
+ :host, i.ft-icon {
352
+ width: ${$e};
353
+ height: ${$e};
354
+ text-align: center;
355
+ }
375
356
 
376
- .ft-icon--fluid-topics {
377
- font-family: ${we}, ft-icons, fticons, sans-serif;
378
- }
357
+ i.ft-icon {
358
+ font-size: ${$e};
359
+ line-height: 1;
360
+ font-weight: normal;
361
+ text-transform: none;
362
+ font-style: normal;
363
+ font-variant: normal;
364
+ speak: none;
365
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
366
+ text-rendering: auto;
367
+ -webkit-font-smoothing: antialiased;
368
+ -moz-osx-font-smoothing: grayscale;
369
+ }
379
370
 
380
- .ft-icon--file-format {
381
- font-family: ${ke}, ft-mime, sans-serif;
382
- }
371
+ .ft-icon--fluid-topics {
372
+ font-family: ${we}, ft-icons, fticons, sans-serif;
373
+ }
383
374
 
384
- .ft-icon--material {
385
- font-family: ${ze}, "Material Icons", sans-serif;
386
- }
387
- `,me([o.property()],Se.prototype,"variant",void 0),me([o.query("slot")],Se.prototype,"slottedContent",void 0),e.customElement("ft-icon")(Se);var Oe=function(t,e,i,o){for(var s,l=arguments.length,n=l<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(s=t[r])&&(n=(l<3?s(n):l>3?s(e,i,n):s(e,i))||n);return l>3&&n&&Object.defineProperty(e,i,n),n};class Ce extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return i.html``}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Ce.elementDefinitions={},Oe([o.property({type:String})],Ce.prototype,"label",void 0),Oe([o.property({type:Object,converter:t=>t})],Ce.prototype,"value",void 0),Oe([o.property({type:Boolean,reflect:!0})],Ce.prototype,"selected",void 0);const Ee={labelSize:e.FtCssVariable.create("--ft-select-label-size","SIZE","11px"),selectedOptionSize:e.FtCssVariable.create("--ft-select-selected-option-size","SIZE","14px"),verticalSpacing:e.FtCssVariable.create("--ft-select-vertical-spacing","SIZE","4px"),optionsHeight:e.FtCssVariable.create("--ft-select-options-height","SIZE","unset"),selectedOptionColor:e.FtCssVariable.extend("--ft-select-selected-option-color",e.designSystemVariables.colorOnSurface),helperColor:e.FtCssVariable.extend("--ft-select-helper-color",e.designSystemVariables.colorOnSurfaceMedium),optionsColor:e.FtCssVariable.extend("--ft-select-options-color",e.designSystemVariables.colorOnSurface),optionsZIndex:e.FtCssVariable.create("--ft-select-options-z-index","NUMBER","3"),colorSurface:e.FtCssVariable.external(e.designSystemVariables.colorSurface,"Design system"),colorOnSurfaceDisabled:e.FtCssVariable.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:e.FtCssVariable.external(e.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:e.FtCssVariable.external(e.designSystemVariables.borderRadiusS,"Design system"),elevation02:e.FtCssVariable.external(e.designSystemVariables.elevation02,"Design system"),colorError:e.FtCssVariable.external(e.designSystemVariables.colorError,"Design system")};class je extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,e,o,n,r;let p=this.hasOptionsMenuOpen,a=this.disabled||!this.hasOptions;const f=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(o=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==o?o:"").length>0,h={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":a,"ft-select--options-displayed":p,"ft-select--has-option-selected":f,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return i.html`
375
+ .ft-icon--file-format {
376
+ font-family: ${ke}, ft-mime, sans-serif;
377
+ }
378
+
379
+ .ft-icon--material {
380
+ font-family: ${ze}, "Material Icons", sans-serif;
381
+ }
382
+ `}getTemplate(){return i.html`
383
+ <i class="ft-icon ${"ft-icon--"+this.variant}">
384
+ ${n.unsafeHTML(this.getIcon())}
385
+ <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
386
+ </i>
387
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let o=this.textContent;return this.variant===ve.file_format?null!==(t=be[o.toUpperCase()])&&void 0!==t?t:o:this.variant===ve.fluid_topics?null!==(e=ge[o.toUpperCase()])&&void 0!==e?e:o:i.nothing}}Se.elementDefinitions={},me([o.property()],Se.prototype,"variant",void 0),me([o.query("slot")],Se.prototype,"slottedContent",void 0),e.customElement("ft-icon")(Se);var Oe=function(t,e,i,o){for(var s,l=arguments.length,n=l<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(s=t[r])&&(n=(l<3?s(n):l>3?s(e,i,n):s(e,i))||n);return l>3&&n&&Object.defineProperty(e,i,n),n};class Ee extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return i.html``}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Ee.elementDefinitions={},Oe([o.property({type:String})],Ee.prototype,"label",void 0),Oe([o.property({type:Object,converter:t=>t})],Ee.prototype,"value",void 0),Oe([o.property({type:Boolean,reflect:!0})],Ee.prototype,"selected",void 0);const Ce={labelSize:e.FtCssVariableFactory.create("--ft-select-label-size","SIZE","11px"),selectedOptionSize:e.FtCssVariableFactory.create("--ft-select-selected-option-size","SIZE","14px"),verticalSpacing:e.FtCssVariableFactory.create("--ft-select-vertical-spacing","SIZE","4px"),optionsHeight:e.FtCssVariableFactory.create("--ft-select-options-height","SIZE","unset"),selectedOptionColor:e.FtCssVariableFactory.extend("--ft-select-selected-option-color",e.designSystemVariables.colorOnSurface),helperColor:e.FtCssVariableFactory.extend("--ft-select-helper-color",e.designSystemVariables.colorOnSurfaceMedium),optionsColor:e.FtCssVariableFactory.extend("--ft-select-options-color",e.designSystemVariables.colorOnSurface),optionsZIndex:e.FtCssVariableFactory.create("--ft-select-options-z-index","NUMBER","3"),colorSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),colorOnSurfaceDisabled:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),elevation02:e.FtCssVariableFactory.external(e.designSystemVariables.elevation02,"Design system"),colorError:e.FtCssVariableFactory.external(e.designSystemVariables.colorError,"Design system")};class je extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,e,o,n,r;let p=this.hasOptionsMenuOpen,a=this.disabled||!this.hasOptions;const f=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(o=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==o?o:"").length>0,h={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":a,"ft-select--options-displayed":p,"ft-select--has-option-selected":f,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return i.html`
388
388
  <div class="${s.classMap(h)}" part="container">
389
389
  <div class="ft-select--main-panel" part="main-panel">
390
390
  <ft-input-label text="${this.label}"
@@ -446,7 +446,7 @@ const W=Symbol.for(""),K=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===
446
446
  .ft-select--main-panel {
447
447
  position: relative;
448
448
  display: flex;
449
- height: calc(4 * ${Ee.verticalSpacing} + ${Ee.labelSize} + ${Ee.selectedOptionSize});
449
+ height: calc(4 * ${Ce.verticalSpacing} + ${Ce.labelSize} + ${Ce.selectedOptionSize});
450
450
  }
451
451
 
452
452
  .ft-select--input-panel {
@@ -458,8 +458,8 @@ const W=Symbol.for(""),K=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===
458
458
  padding-left: 16px;
459
459
  padding-right: 8px;
460
460
  gap: 8px;
461
- color: ${Ee.selectedOptionColor};
462
- ${e.setVariable(ae.color,Ee.selectedOptionColor)};
461
+ color: ${Ce.selectedOptionColor};
462
+ ${e.setVariable(ae.color,Ce.selectedOptionColor)};
463
463
  }
464
464
 
465
465
  .ft-select--input-panel,
@@ -475,7 +475,7 @@ const W=Symbol.for(""),K=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===
475
475
 
476
476
  .ft-select--disabled .ft-select--input-panel,
477
477
  .ft-select--disabled .ft-select--option {
478
- color: ${Ee.colorOnSurfaceDisabled};
478
+ color: ${Ce.colorOnSurfaceDisabled};
479
479
  }
480
480
 
481
481
  .ft-select:not(.ft-select--disabled) .ft-select--input-panel,
@@ -484,18 +484,18 @@ const W=Symbol.for(""),K=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===
484
484
  }
485
485
 
486
486
  ft-input-label {
487
- ${e.setVariable(le.fontSize,Ee.selectedOptionSize)};
488
- ${e.setVariable(le.raisedFontSize,Ee.labelSize)};
489
- ${e.setVariable(le.verticalSpacing,Ee.verticalSpacing)};
487
+ ${e.setVariable(le.fontSize,Ce.selectedOptionSize)};
488
+ ${e.setVariable(le.raisedFontSize,Ce.labelSize)};
489
+ ${e.setVariable(le.verticalSpacing,Ce.verticalSpacing)};
490
490
  }
491
491
 
492
492
  .ft-select:not(.ft-select--disabled):focus-within ft-icon {
493
- color: ${Ee.colorPrimary};
493
+ color: ${Ce.colorPrimary};
494
494
  }
495
495
 
496
496
  .ft-select:not(.ft-select--disabled):focus-within ft-input-label {
497
- ${e.setVariable(le.borderColor,Ee.colorPrimary)};
498
- ${e.setVariable(le.textColor,Ee.colorPrimary)};
497
+ ${e.setVariable(le.borderColor,Ce.colorPrimary)};
498
+ ${e.setVariable(le.textColor,Ce.colorPrimary)};
499
499
  }
500
500
 
501
501
  .ft-select--selected-option {
@@ -505,12 +505,12 @@ const W=Symbol.for(""),K=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===
505
505
  overflow: hidden;
506
506
  white-space: nowrap;
507
507
  text-overflow: ellipsis;
508
- ${e.setVariable($t.fontSize,Ee.selectedOptionSize)};
509
- ${e.setVariable($t.lineHeight,Ee.selectedOptionSize)};
508
+ ${e.setVariable($t.fontSize,Ce.selectedOptionSize)};
509
+ ${e.setVariable($t.lineHeight,Ce.selectedOptionSize)};
510
510
  }
511
511
 
512
512
  .ft-select--in-error .ft-select--selected-option {
513
- color: ${Ee.colorError};
513
+ color: ${Ce.colorError};
514
514
  }
515
515
 
516
516
  ft-icon {
@@ -522,16 +522,16 @@ const W=Symbol.for(""),K=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===
522
522
  }
523
523
 
524
524
  .ft-select--filled .ft-select--input-panel {
525
- border-radius: ${Ee.borderRadiusS} ${Ee.borderRadiusS} 0 0;
525
+ border-radius: ${Ce.borderRadiusS} ${Ce.borderRadiusS} 0 0;
526
526
  }
527
527
 
528
528
  .ft-select--filled:not(.ft-select--no-label) .ft-select--selected-option {
529
529
  align-self: stretch;
530
- padding-top: calc(${Ee.labelSize} + 2 * ${Ee.verticalSpacing});
530
+ padding-top: calc(${Ce.labelSize} + 2 * ${Ce.verticalSpacing});
531
531
  }
532
532
 
533
533
  .ft-select--outlined .ft-select--input-panel {
534
- border-radius: ${Ee.borderRadiusS};
534
+ border-radius: ${Ce.borderRadiusS};
535
535
  }
536
536
 
537
537
  .ft-select--options {
@@ -540,10 +540,10 @@ const W=Symbol.for(""),K=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===
540
540
  top: 100%;
541
541
  left: 0;
542
542
  right: 0;
543
- color: ${Ee.optionsColor};
544
- background: ${Ee.colorSurface};
545
- z-index: ${Ee.optionsZIndex};
546
- box-shadow: ${Ee.elevation02};
543
+ color: ${Ce.optionsColor};
544
+ background: ${Ce.colorSurface};
545
+ z-index: ${Ce.optionsZIndex};
546
+ box-shadow: ${Ce.elevation02};
547
547
  }
548
548
 
549
549
  .ft-select--fixed .ft-select--options {
@@ -554,7 +554,7 @@ const W=Symbol.for(""),K=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===
554
554
 
555
555
  .ft-select--options-displayed .ft-select--options {
556
556
  display: block;
557
- max-height: ${Ee.optionsHeight};
557
+ max-height: ${Ce.optionsHeight};
558
558
  overflow-y: auto;
559
559
  }
560
560
 
@@ -568,10 +568,10 @@ const W=Symbol.for(""),K=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===
568
568
 
569
569
  .ft-select--helper-text {
570
570
  padding: 0 12px 0 16px;
571
- color: ${Ee.helperColor};
571
+ color: ${Ce.helperColor};
572
572
  }
573
573
 
574
574
  .ft-select--in-error .ft-select--helper-text {
575
- color: ${Ee.colorError};
575
+ color: ${Ce.colorError};
576
576
  }
577
- `],Oe([o.property({type:String})],je.prototype,"label",void 0),Oe([o.property({type:String})],je.prototype,"helper",void 0),Oe([o.property({type:Boolean})],je.prototype,"outlined",void 0),Oe([o.property({type:Boolean})],je.prototype,"disabled",void 0),Oe([o.property({type:Boolean})],je.prototype,"error",void 0),Oe([o.property({type:Boolean})],je.prototype,"fixedMenuPosition",void 0),Oe([o.property({type:Array})],je.prototype,"options",void 0),Oe([o.state()],je.prototype,"selectedOption",void 0),Oe([o.state()],je.prototype,"optionsDisplayed",void 0),Oe([o.state()],je.prototype,"focusOptions",void 0),Oe([o.query(".ft-select")],je.prototype,"container",void 0),Oe([o.query(".ft-select--options")],je.prototype,"optionsMenu",void 0),Oe([o.query(".ft-select--input-panel")],je.prototype,"mainPanel",void 0),Oe([o.query(".ft-select--option:first-child")],je.prototype,"firstOption",void 0),Oe([o.query(".ft-select--option:focus")],je.prototype,"focusedOption",void 0),Oe([o.query(".ft-select--option.ft-select--option-selected")],je.prototype,"selectedOptionElement",void 0),Oe([o.query(".ft-select--option:last-child")],je.prototype,"lastOption",void 0),Oe([o.query("slot")],je.prototype,"optionsSlot",void 0),e.customElement("ft-select")(je),e.customElement("ft-select-option")(Ce),t.FtSelect=je,t.FtSelectCssVariables=Ee,t.FtSelectOption=Ce,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litRepeat,ftGlobals.litUnsafeHTML);
577
+ `],Oe([o.property({type:String})],je.prototype,"label",void 0),Oe([o.property({type:String})],je.prototype,"helper",void 0),Oe([o.property({type:Boolean})],je.prototype,"outlined",void 0),Oe([o.property({type:Boolean})],je.prototype,"disabled",void 0),Oe([o.property({type:Boolean})],je.prototype,"error",void 0),Oe([o.property({type:Boolean})],je.prototype,"fixedMenuPosition",void 0),Oe([o.property({type:Array})],je.prototype,"options",void 0),Oe([o.state()],je.prototype,"selectedOption",void 0),Oe([o.state()],je.prototype,"optionsDisplayed",void 0),Oe([o.state()],je.prototype,"focusOptions",void 0),Oe([o.query(".ft-select")],je.prototype,"container",void 0),Oe([o.query(".ft-select--options")],je.prototype,"optionsMenu",void 0),Oe([o.query(".ft-select--input-panel")],je.prototype,"mainPanel",void 0),Oe([o.query(".ft-select--option:first-child")],je.prototype,"firstOption",void 0),Oe([o.query(".ft-select--option:focus")],je.prototype,"focusedOption",void 0),Oe([o.query(".ft-select--option.ft-select--option-selected")],je.prototype,"selectedOptionElement",void 0),Oe([o.query(".ft-select--option:last-child")],je.prototype,"lastOption",void 0),Oe([o.query("slot")],je.prototype,"optionsSlot",void 0),e.customElement("ft-select")(je),e.customElement("ft-select-option")(Ee),t.FtSelect=je,t.FtSelectCssVariables=Ce,t.FtSelectOption=Ee,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litRepeat,ftGlobals.litUnsafeHTML);
@@ -46,30 +46,30 @@ function n(t,e){return(({finisher:t,descriptor:e})=>(i,o)=>{var s;if(void 0===o)
46
46
  * Copyright 2019 Google LLC
47
47
  * SPDX-License-Identifier: BSD-3-Clause
48
48
  */
49
- const a=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,p=Symbol(),c=new Map;class h{constructor(t,e){if(this._$cssResult$=!0,e!==p)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=c.get(this.cssText);return a&&void 0===t&&(c.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const f=t=>new h("string"==typeof t?t:t+"",p),d=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>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.")})(i)+t[o+1]),t[0]);return new h(i,p)},u=(t,e)=>{a?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=window.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},y=a?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return f(e)})(t):t
49
+ const a=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,p=Symbol(),c=new WeakMap;class h{constructor(t,e,i){if(this._$cssResult$=!0,i!==p)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(a&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=c.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&c.set(e,t))}return t}toString(){return this.cssText}}const f=t=>new h("string"==typeof t?t:t+"",void 0,p),d=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>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.")})(i)+t[o+1]),t[0]);return new h(i,t,p)},u=(t,e)=>{a?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=window.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},y=a?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return f(e)})(t):t
50
50
  /**
51
51
  * @license
52
52
  * Copyright 2017 Google LLC
53
53
  * SPDX-License-Identifier: BSD-3-Clause
54
- */;var x;const v=window.trustedTypes,b=v?v.emptyScript:"",g=window.reactiveElementPolyfillSupport,m={toAttribute(t,e){switch(e){case Boolean:t=t?b:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},w=(t,e)=>e!==t&&(e==e||t==t),$={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:w};class O 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,i)=>{const o=this._$Eh(i,e);void 0!==o&&(this._$Eu.set(o,i),t.push(o))})),t}static createProperty(t,e=$){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const s=this[t];this[e]=o,this.requestUpdate(t,s,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||$}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 i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(y(t))}else void 0!==t&&e.push(y(t));return e}static _$Eh(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"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,i;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.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 u(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,i){this._$AK(t,i)}_$ES(t,e,i=$){var o,s;const n=this.constructor._$Eh(t,i);if(void 0!==n&&!0===i.reflect){const r=(null!==(s=null===(o=i.converter)||void 0===o?void 0:o.toAttribute)&&void 0!==s?s:m.toAttribute)(e,i.type);this._$Ei=t,null==r?this.removeAttribute(n):this.setAttribute(n,r),this._$Ei=null}}_$AK(t,e){var i,o,s;const n=this.constructor,r=n._$Eu.get(t);if(void 0!==r&&this._$Ei!==r){const t=n.getPropertyOptions(r),l=t.converter,a=null!==(s=null!==(o=null===(i=l)||void 0===i?void 0:i.fromAttribute)&&void 0!==o?o:"function"==typeof l?l:null)&&void 0!==s?s:m.fromAttribute;this._$Ei=r,this[r]=a(e,t.type),this._$Ei=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||w)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(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 i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),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(i)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}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){}}
54
+ */;var x;const v=window.trustedTypes,b=v?v.emptyScript:"",g=window.reactiveElementPolyfillSupport,m={toAttribute(t,e){switch(e){case Boolean:t=t?b:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},$=(t,e)=>e!==t&&(e==e||t==t),w={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:$};class O 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,i)=>{const o=this._$Ep(i,e);void 0!==o&&(this._$Ev.set(o,i),t.push(o))})),t}static createProperty(t,e=w){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const s=this[t];this[e]=o,this.requestUpdate(t,s,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||w}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 i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(y(t))}else void 0!==t&&e.push(y(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"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,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.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 u(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,i){this._$AK(t,i)}_$EO(t,e,i=w){var o,s;const n=this.constructor._$Ep(t,i);if(void 0!==n&&!0===i.reflect){const r=(null!==(s=null===(o=i.converter)||void 0===o?void 0:o.toAttribute)&&void 0!==s?s:m.toAttribute)(e,i.type);this._$El=t,null==r?this.removeAttribute(n):this.setAttribute(n,r),this._$El=null}}_$AK(t,e){var i,o;const s=this.constructor,n=s._$Ev.get(t);if(void 0!==n&&this._$El!==n){const t=s.getPropertyOptions(n),r=t.converter,l=null!==(o=null!==(i=null==r?void 0:r.fromAttribute)&&void 0!==i?i:"function"==typeof r?r:null)&&void 0!==o?o:m.fromAttribute;this._$El=n,this[n]=l(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||$)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(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 i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),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(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}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){}}
55
55
  /**
56
56
  * @license
57
57
  * Copyright 2017 Google LLC
58
58
  * SPDX-License-Identifier: BSD-3-Clause
59
59
  */
60
- var S;O.finalized=!0,O.elementProperties=new Map,O.elementStyles=[],O.shadowRootOptions={mode:"open"},null==g||g({ReactiveElement:O}),(null!==(x=globalThis.reactiveElementVersions)&&void 0!==x?x:globalThis.reactiveElementVersions=[]).push("1.3.2");const k=globalThis.trustedTypes,C=k?k.createPolicy("lit-html",{createHTML:t=>t}):void 0,E=`lit$${(Math.random()+"").slice(9)}$`,N="?"+E,R=`<${N}>`,M=document,U=(t="")=>M.createComment(t),z=t=>null===t||"object"!=typeof t&&"function"!=typeof t,F=Array.isArray,j=t=>{var e;return F(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])},A=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,D=/-->/g,B=/>/g,L=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,T=/'/g,P=/"/g,_=/^(?:script|style|textarea|title)$/i,I=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),W=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),K=new WeakMap,Z=M.createTreeWalker(M,129,null,!1),V=(t,e)=>{const i=t.length-1,o=[];let s,n=2===e?"<svg>":"",r=A;for(let e=0;e<i;e++){const i=t[e];let l,a,p=-1,c=0;for(;c<i.length&&(r.lastIndex=c,a=r.exec(i),null!==a);)c=r.lastIndex,r===A?"!--"===a[1]?r=D:void 0!==a[1]?r=B:void 0!==a[2]?(_.test(a[2])&&(s=RegExp("</"+a[2],"g")),r=L):void 0!==a[3]&&(r=L):r===L?">"===a[0]?(r=null!=s?s:A,p=-1):void 0===a[1]?p=-2:(p=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?L:'"'===a[3]?P:T):r===P||r===T?r=L:r===D||r===B?r=A:(r=L,s=void 0);const h=r===L&&t[e+1].startsWith("/>")?" ":"";n+=r===A?i+R:p>=0?(o.push(l),i.slice(0,p)+"$lit$"+i.slice(p)+E+h):i+E+(-2===p?(o.push(void 0),e):h)}const l=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==C?C.createHTML(l):l,o]};class J{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,n=0;const r=t.length-1,l=this.parts,[a,p]=V(t,e);if(this.el=J.createElement(a,i),Z.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=Z.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(E)){const i=p[n++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(E),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?Q:"?"===e[1]?et:"@"===e[1]?it:G})}else l.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(_.test(o.tagName)){const t=o.textContent.split(E),e=t.length-1;if(e>0){o.textContent=k?k.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],U()),Z.nextNode(),l.push({type:2,index:++s});o.append(t[e],U())}}}else if(8===o.nodeType)if(o.data===N)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(E,t+1));)l.push({type:7,index:s}),t+=E.length-1}s++}}static createElement(t,e){const i=M.createElement("template");return i.innerHTML=t,i}}function q(t,e,i=t,o){var s,n,r,l;if(e===W)return e;let a=void 0!==o?null===(s=i._$Cl)||void 0===s?void 0:s[o]:i._$Cu;const p=z(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==p&&(null===(n=null==a?void 0:a._$AO)||void 0===n||n.call(a,!1),void 0===p?a=void 0:(a=new p(t),a._$AT(t,i,o)),void 0!==o?(null!==(r=(l=i)._$Cl)&&void 0!==r?r:l._$Cl=[])[o]=a:i._$Cu=a),void 0!==a&&(e=q(t,a._$AS(t,e.values),a,o)),e}class X{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:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:M).importNode(i,!0);Z.currentNode=s;let n=Z.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new Y(n,n.nextSibling,this,t):1===a.type?e=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(e=new ot(n,this,t)),this.v.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(n=Z.nextNode(),r++)}return s}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Y{constructor(t,e,i,o){var s;this.type=2,this._$AH=H,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}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=q(this,t,e),z(t)?t===H||null==t||""===t?(this._$AH!==H&&this._$AR(),this._$AH=H):t!==this._$AH&&t!==W&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):j(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!==H&&z(this._$AH)?this._$AA.nextSibling.data=t:this.k(M.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=J.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.m(i);else{const t=new X(s,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=K.get(t.strings);return void 0===e&&K.set(t.strings,e=new J(t)),e}S(t){F(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new Y(this.M(U()),this.M(U()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.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 G{constructor(t,e,i,o,s){this.type=1,this._$AH=H,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=H}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let n=!1;if(void 0===s)t=q(this,t,e,0),n=!z(t)||t!==this._$AH&&t!==W,n&&(this._$AH=t);else{const o=t;let r,l;for(t=s[0],r=0;r<s.length-1;r++)l=q(this,o[i+r],e,r),l===W&&(l=this._$AH[r]),n||(n=!z(l)||l!==this._$AH[r]),l===H?t=H:t!==H&&(t+=(null!=l?l:"")+s[r+1]),this._$AH[r]=l}n&&!o&&this.C(t)}C(t){t===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Q extends G{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===H?void 0:t}}const tt=k?k.emptyScript:"";class et extends G{constructor(){super(...arguments),this.type=4}C(t){t&&t!==H?this.element.setAttribute(this.name,tt):this.element.removeAttribute(this.name)}}class it extends G{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=q(this,t,e,0))&&void 0!==i?i:H)===W)return;const o=this._$AH,s=t===H&&o!==H||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==H&&(o===H||s);s&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class ot{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){q(this,t)}}const st={L:"$lit$",P:E,V:N,I:1,N:V,R:X,j,D:q,H:Y,F:G,O:et,W:it,B:Q,Z:ot},nt=window.litHtmlPolyfillSupport;
60
+ var S;O.finalized=!0,O.elementProperties=new Map,O.elementStyles=[],O.shadowRootOptions={mode:"open"},null==g||g({ReactiveElement:O}),(null!==(x=globalThis.reactiveElementVersions)&&void 0!==x?x:globalThis.reactiveElementVersions=[]).push("1.3.4");const k=globalThis.trustedTypes,E=k?k.createPolicy("lit-html",{createHTML:t=>t}):void 0,C=`lit$${(Math.random()+"").slice(9)}$`,N="?"+C,R=`<${N}>`,M=document,U=(t="")=>M.createComment(t),z=t=>null===t||"object"!=typeof t&&"function"!=typeof t,F=Array.isArray,j=t=>F(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),A=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,B=/-->/g,D=/>/g,P=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),L=/'/g,T=/"/g,_=/^(?:script|style|textarea|title)$/i,W=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),I=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),K=new WeakMap,Z=M.createTreeWalker(M,129,null,!1),V=(t,e)=>{const i=t.length-1,o=[];let s,n=2===e?"<svg>":"",r=A;for(let e=0;e<i;e++){const i=t[e];let l,a,p=-1,c=0;for(;c<i.length&&(r.lastIndex=c,a=r.exec(i),null!==a);)c=r.lastIndex,r===A?"!--"===a[1]?r=B:void 0!==a[1]?r=D:void 0!==a[2]?(_.test(a[2])&&(s=RegExp("</"+a[2],"g")),r=P):void 0!==a[3]&&(r=P):r===P?">"===a[0]?(r=null!=s?s:A,p=-1):void 0===a[1]?p=-2:(p=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?P:'"'===a[3]?T:L):r===T||r===L?r=P:r===B||r===D?r=A:(r=P,s=void 0);const h=r===P&&t[e+1].startsWith("/>")?" ":"";n+=r===A?i+R:p>=0?(o.push(l),i.slice(0,p)+"$lit$"+i.slice(p)+C+h):i+C+(-2===p?(o.push(void 0),e):h)}const l=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==E?E.createHTML(l):l,o]};class J{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,n=0;const r=t.length-1,l=this.parts,[a,p]=V(t,e);if(this.el=J.createElement(a,i),Z.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=Z.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(C)){const i=p[n++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(C),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?Q:"?"===e[1]?et:"@"===e[1]?it:G})}else l.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(_.test(o.tagName)){const t=o.textContent.split(C),e=t.length-1;if(e>0){o.textContent=k?k.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],U()),Z.nextNode(),l.push({type:2,index:++s});o.append(t[e],U())}}}else if(8===o.nodeType)if(o.data===N)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(C,t+1));)l.push({type:7,index:s}),t+=C.length-1}s++}}static createElement(t,e){const i=M.createElement("template");return i.innerHTML=t,i}}function q(t,e,i=t,o){var s,n,r,l;if(e===I)return e;let a=void 0!==o?null===(s=i._$Cl)||void 0===s?void 0:s[o]:i._$Cu;const p=z(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==p&&(null===(n=null==a?void 0:a._$AO)||void 0===n||n.call(a,!1),void 0===p?a=void 0:(a=new p(t),a._$AT(t,i,o)),void 0!==o?(null!==(r=(l=i)._$Cl)&&void 0!==r?r:l._$Cl=[])[o]=a:i._$Cu=a),void 0!==a&&(e=q(t,a._$AS(t,e.values),a,o)),e}class X{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:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:M).importNode(i,!0);Z.currentNode=s;let n=Z.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new Y(n,n.nextSibling,this,t):1===a.type?e=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(e=new ot(n,this,t)),this.v.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(n=Z.nextNode(),r++)}return s}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Y{constructor(t,e,i,o){var s;this.type=2,this._$AH=H,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$C_=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}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=q(this,t,e),z(t)?t===H||null==t||""===t?(this._$AH!==H&&this._$AR(),this._$AH=H):t!==this._$AH&&t!==I&&this.T(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.k(t):j(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!==H&&z(this._$AH)?this._$AA.nextSibling.data=t:this.k(M.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=J.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.m(i);else{const t=new X(s,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=K.get(t.strings);return void 0===e&&K.set(t.strings,e=new J(t)),e}S(t){F(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new Y(this.j(U()),this.j(U()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.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 G{constructor(t,e,i,o,s){this.type=1,this._$AH=H,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=H}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let n=!1;if(void 0===s)t=q(this,t,e,0),n=!z(t)||t!==this._$AH&&t!==I,n&&(this._$AH=t);else{const o=t;let r,l;for(t=s[0],r=0;r<s.length-1;r++)l=q(this,o[i+r],e,r),l===I&&(l=this._$AH[r]),n||(n=!z(l)||l!==this._$AH[r]),l===H?t=H:t!==H&&(t+=(null!=l?l:"")+s[r+1]),this._$AH[r]=l}n&&!o&&this.P(t)}P(t){t===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Q extends G{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===H?void 0:t}}const tt=k?k.emptyScript:"";class et extends G{constructor(){super(...arguments),this.type=4}P(t){t&&t!==H?this.element.setAttribute(this.name,tt):this.element.removeAttribute(this.name)}}class it extends G{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=q(this,t,e,0))&&void 0!==i?i:H)===I)return;const o=this._$AH,s=t===H&&o!==H||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==H&&(o===H||s);s&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class ot{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){q(this,t)}}const st={A:"$lit$",C,M:N,L:1,R:V,V:X,D:j,I:q,H:Y,N:G,U:et,B:it,F:Q,W:ot},nt=window.litHtmlPolyfillSupport;
61
61
  /**
62
62
  * @license
63
63
  * Copyright 2017 Google LLC
64
64
  * SPDX-License-Identifier: BSD-3-Clause
65
65
  */
66
- var rt,lt;null==nt||nt(J,Y),(null!==(S=globalThis.litHtmlVersions)&&void 0!==S?S:globalThis.litHtmlVersions=[]).push("2.2.4");class at extends O{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=((t,e,i)=>{var o,s;const n=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let r=n._$litPart$;if(void 0===r){const t=null!==(s=null==i?void 0:i.renderBefore)&&void 0!==s?s:null;n._$litPart$=r=new Y(e.insertBefore(U(),t),t,void 0,null!=i?i:{})}return r._$AI(t),r})(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 W}}at.finalized=!0,at._$litElement$=!0,null===(rt=globalThis.litElementHydrateSupport)||void 0===rt||rt.call(globalThis,{LitElement:at});const pt=globalThis.litElementPolyfillSupport;null==pt||pt({LitElement:at}),(null!==(lt=globalThis.litElementVersions)&&void 0!==lt?lt:globalThis.litElementVersions=[]).push("3.2.0");class ct{constructor(t,e,i,o,s){this.name=t,this.category=e,this.fallbackVariable=i,this.defaultValue=o,this.context=s,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,i){return new ct(t,e,void 0,i)}static extend(t,e,i){return new ct(t,e.category,e,i)}static external(t,e){return new ct(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return d`var(${f(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):f(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()]:[]}}function ht(t,e){return f(`${t.name}: ${e}`)}const ft={colorPrimary:ct.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:ct.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:ct.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:ct.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:ct.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:ct.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ct.create("--ft-color-error","COLOR","#B00020"),colorOutline:ct.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ct.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:ct.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:ct.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:ct.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:ct.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:ct.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ct.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ct.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:ct.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:ct.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ct.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ct.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ct.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ct.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ct.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ct.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:ct.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:ct.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:ct.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:ct.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:ct.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:ct.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ct.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ct.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:ct.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ct.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ct.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ct.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ct.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ct.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ct.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:ct.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ct.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ct.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ct.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ct.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:ct.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:ct.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:ct.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:ct.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:ct.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:ct.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:ct.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:ct.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:ct.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:ct.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:ct.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:ct.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:ct.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:ct.create("--ft-border-radius-XL","SIZE","16px"),titleFont:ct.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ct.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ct.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:ct.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
66
+ var rt,lt;null==nt||nt(J,Y),(null!==(S=globalThis.litHtmlVersions)&&void 0!==S?S:globalThis.litHtmlVersions=[]).push("2.2.7");class at extends O{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var o,s;const n=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let r=n._$litPart$;if(void 0===r){const t=null!==(s=null==i?void 0:i.renderBefore)&&void 0!==s?s:null;n._$litPart$=r=new Y(e.insertBefore(U(),t),t,void 0,null!=i?i:{})}return r._$AI(t),r})(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 I}}at.finalized=!0,at._$litElement$=!0,null===(rt=globalThis.litElementHydrateSupport)||void 0===rt||rt.call(globalThis,{LitElement:at});const pt=globalThis.litElementPolyfillSupport;null==pt||pt({LitElement:at}),(null!==(lt=globalThis.litElementVersions)&&void 0!==lt?lt:globalThis.litElementVersions=[]).push("3.2.2");class ct{static create(t,e,i){let o=t=>f(null!=t?t:i),s=d`var(${f(t)}, ${o(i)})`;return s.name=t,s.category=e,s.defaultValue=i,s.defaultCssValue=o,s.get=e=>d`var(${f(t)}, ${o(e)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),s=d`var(${f(t)}, ${o(i)})`;return s.name=t,s.category=e.category,s.fallbackVariable=e,s.defaultValue=i,s.defaultCssValue=o,s.get=e=>d`var(${f(t)}, ${o(e)})`,s.breadcrumb=()=>[e.name,...e.breadcrumb()],s.lastResortDefaultValue=()=>i,s}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):f(null!=e?e:t.defaultValue),o=d`var(${f(t.name)}, ${i(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=e,o.defaultCssValue=i,o.get=e=>d`var(${f(t.name)}, ${i(e)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},o}}function ht(t,e){return f(`${t.name}: ${e}`)}const ft={colorPrimary:ct.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:ct.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:ct.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:ct.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:ct.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:ct.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ct.create("--ft-color-error","COLOR","#B00020"),colorOutline:ct.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ct.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:ct.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:ct.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:ct.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:ct.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:ct.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ct.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ct.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:ct.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:ct.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ct.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ct.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ct.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ct.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ct.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ct.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:ct.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:ct.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:ct.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:ct.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:ct.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:ct.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ct.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ct.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:ct.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ct.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ct.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ct.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ct.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ct.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ct.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:ct.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ct.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ct.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ct.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ct.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:ct.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:ct.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:ct.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:ct.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:ct.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:ct.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:ct.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:ct.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:ct.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:ct.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:ct.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:ct.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:ct.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:ct.create("--ft-border-radius-XL","SIZE","16px"),titleFont:ct.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ct.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ct.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:ct.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
67
67
  /**
68
68
  * @license
69
69
  * Copyright 2021 Google LLC
70
70
  * SPDX-License-Identifier: BSD-3-Clause
71
- */var dt,ut,yt=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class xt extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:o}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const s=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return u(s,this.constructor.elementStyles),s}}}(at)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),I`
72
- ${t.map((t=>I`
71
+ */var dt,ut,yt=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class xt extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:o}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const s=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return u(s,this.constructor.elementStyles),s}}}(at)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),W`
72
+ ${t.map((t=>W`
73
73
  <style>${t}</style>
74
74
  `))}
75
75
  ${this.getTemplate()}
@@ -93,21 +93,21 @@ const vt=1,bt=2,gt=t=>(...e)=>({_$litDirective$:t,values:e});class mt{constructo
93
93
  * @license
94
94
  * Copyright 2018 Google LLC
95
95
  * SPDX-License-Identifier: BSD-3-Clause
96
- */const wt=gt(class extends mt{constructor(t){var e;if(super(t),t.type!==vt||"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 i,o;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===(i=this.st)||void 0===i?void 0:i.has(t))&&this.et.add(t);return this.render(e)}const s=t.element.classList;this.et.forEach((t=>{t in e||(s.remove(t),this.et.delete(t))}));for(const t in e){const i=!!e[t];i===this.et.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(s.add(t),this.et.add(t)):(s.remove(t),this.et.delete(t)))}return W}}),{H:$t}=st,Ot=()=>document.createComment(""),St=(t,e,i)=>{var o;const s=t._$AA.parentNode,n=void 0===e?t._$AB:e._$AA;if(void 0===i){const e=s.insertBefore(Ot(),n),o=s.insertBefore(Ot(),n);i=new $t(e,o,t,t.options)}else{const e=i._$AB.nextSibling,r=i._$AM,l=r!==t;if(l){let e;null===(o=i._$AQ)||void 0===o||o.call(i,t),i._$AM=t,void 0!==i._$AP&&(e=t._$AU)!==r._$AU&&i._$AP(e)}if(e!==n||l){let t=i._$AA;for(;t!==e;){const e=t.nextSibling;s.insertBefore(t,n),t=e}}}return i},kt=(t,e,i=t)=>(t._$AI(e,i),t),Ct={},Et=t=>{var e;null===(e=t._$AP)||void 0===e||e.call(t,!1,!0);let i=t._$AA;const o=t._$AB.nextSibling;for(;i!==o;){const t=i.nextSibling;i.remove(),i=t}},Nt=(t,e,i)=>{const o=new Map;for(let s=e;s<=i;s++)o.set(t[s],s);return o},Rt=gt(class extends mt{constructor(t){if(super(t),t.type!==bt)throw Error("repeat() can only be used in text expressions")}dt(t,e,i){let o;void 0===i?i=e:void 0!==e&&(o=e);const s=[],n=[];let r=0;for(const e of t)s[r]=o?o(e,r):r,n[r]=i(e,r),r++;return{values:n,keys:s}}render(t,e,i){return this.dt(t,e,i).values}update(t,[e,i,o]){var s;const n=(t=>t._$AH)(t),{values:r,keys:l}=this.dt(e,i,o);if(!Array.isArray(n))return this.ut=l,r;const a=null!==(s=this.ut)&&void 0!==s?s:this.ut=[],p=[];let c,h,f=0,d=n.length-1,u=0,y=r.length-1;for(;f<=d&&u<=y;)if(null===n[f])f++;else if(null===n[d])d--;else if(a[f]===l[u])p[u]=kt(n[f],r[u]),f++,u++;else if(a[d]===l[y])p[y]=kt(n[d],r[y]),d--,y--;else if(a[f]===l[y])p[y]=kt(n[f],r[y]),St(t,p[y+1],n[f]),f++,y--;else if(a[d]===l[u])p[u]=kt(n[d],r[u]),St(t,n[f],n[d]),d--,u++;else if(void 0===c&&(c=Nt(l,u,y),h=Nt(a,f,d)),c.has(a[f]))if(c.has(a[d])){const e=h.get(l[u]),i=void 0!==e?n[e]:null;if(null===i){const e=St(t,n[f]);kt(e,r[u]),p[u]=e}else p[u]=kt(i,r[u]),St(t,n[f],i),n[e]=null;u++}else Et(n[d]),d--;else Et(n[f]),f++;for(;u<=y;){const e=St(t,p[y+1]);kt(e,r[u]),p[u++]=e}for(;f<=d;){const t=n[f++];null!==t&&Et(t)}return this.ut=l,((t,e=Ct)=>{t._$AH=e})(t,p),W}}),Mt=Symbol.for(""),Ut=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===Mt)return null===(i=t)||void 0===i?void 0:i._$litStatic$},zt=t=>({_$litStatic$:t,r:Mt}),Ft=new Map,jt=(t=>(e,...i)=>{const o=i.length;let s,n;const r=[],l=[];let a,p=0,c=!1;for(;p<o;){for(a=e[p];p<o&&void 0!==(n=i[p],s=Ut(n));)a+=s+e[++p],c=!0;l.push(n),r.push(a),p++}if(p===o&&r.push(e[o]),c){const t=r.join("$$lit$$");void 0===(e=Ft.get(t))&&(r.raw=r,Ft.set(t,e=r)),i=l}return t(e,...i)})(I);
96
+ */const $t=gt(class extends mt{constructor(t){var e;if(super(t),t.type!==vt||"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 i,o;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===(i=this.st)||void 0===i?void 0:i.has(t))&&this.nt.add(t);return this.render(e)}const s=t.element.classList;this.nt.forEach((t=>{t in e||(s.remove(t),this.nt.delete(t))}));for(const t in e){const i=!!e[t];i===this.nt.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(s.add(t),this.nt.add(t)):(s.remove(t),this.nt.delete(t)))}return I}}),{H:wt}=st,Ot=()=>document.createComment(""),St=(t,e,i)=>{var o;const s=t._$AA.parentNode,n=void 0===e?t._$AB:e._$AA;if(void 0===i){const e=s.insertBefore(Ot(),n),o=s.insertBefore(Ot(),n);i=new wt(e,o,t,t.options)}else{const e=i._$AB.nextSibling,r=i._$AM,l=r!==t;if(l){let e;null===(o=i._$AQ)||void 0===o||o.call(i,t),i._$AM=t,void 0!==i._$AP&&(e=t._$AU)!==r._$AU&&i._$AP(e)}if(e!==n||l){let t=i._$AA;for(;t!==e;){const e=t.nextSibling;s.insertBefore(t,n),t=e}}}return i},kt=(t,e,i=t)=>(t._$AI(e,i),t),Et={},Ct=t=>{var e;null===(e=t._$AP)||void 0===e||e.call(t,!1,!0);let i=t._$AA;const o=t._$AB.nextSibling;for(;i!==o;){const t=i.nextSibling;i.remove(),i=t}},Nt=(t,e,i)=>{const o=new Map;for(let s=e;s<=i;s++)o.set(t[s],s);return o},Rt=gt(class extends mt{constructor(t){if(super(t),t.type!==bt)throw Error("repeat() can only be used in text expressions")}ht(t,e,i){let o;void 0===i?i=e:void 0!==e&&(o=e);const s=[],n=[];let r=0;for(const e of t)s[r]=o?o(e,r):r,n[r]=i(e,r),r++;return{values:n,keys:s}}render(t,e,i){return this.ht(t,e,i).values}update(t,[e,i,o]){var s;const n=(t=>t._$AH)(t),{values:r,keys:l}=this.ht(e,i,o);if(!Array.isArray(n))return this.ut=l,r;const a=null!==(s=this.ut)&&void 0!==s?s:this.ut=[],p=[];let c,h,f=0,d=n.length-1,u=0,y=r.length-1;for(;f<=d&&u<=y;)if(null===n[f])f++;else if(null===n[d])d--;else if(a[f]===l[u])p[u]=kt(n[f],r[u]),f++,u++;else if(a[d]===l[y])p[y]=kt(n[d],r[y]),d--,y--;else if(a[f]===l[y])p[y]=kt(n[f],r[y]),St(t,p[y+1],n[f]),f++,y--;else if(a[d]===l[u])p[u]=kt(n[d],r[u]),St(t,n[f],n[d]),d--,u++;else if(void 0===c&&(c=Nt(l,u,y),h=Nt(a,f,d)),c.has(a[f]))if(c.has(a[d])){const e=h.get(l[u]),i=void 0!==e?n[e]:null;if(null===i){const e=St(t,n[f]);kt(e,r[u]),p[u]=e}else p[u]=kt(i,r[u]),St(t,n[f],i),n[e]=null;u++}else Ct(n[d]),d--;else Ct(n[f]),f++;for(;u<=y;){const e=St(t,p[y+1]);kt(e,r[u]),p[u++]=e}for(;f<=d;){const t=n[f++];null!==t&&Ct(t)}return this.ut=l,((t,e=Et)=>{t._$AH=e})(t,p),I}}),Mt=Symbol.for(""),Ut=t=>{if((null==t?void 0:t.r)===Mt)return null==t?void 0:t._$litStatic$},zt=t=>({_$litStatic$:t,r:Mt}),Ft=new Map,jt=(t=>(e,...i)=>{const o=i.length;let s,n;const r=[],l=[];let a,p=0,c=!1;for(;p<o;){for(a=e[p];p<o&&void 0!==(n=i[p],s=Ut(n));)a+=s+e[++p],c=!0;l.push(n),r.push(a),p++}if(p===o&&r.push(e[o]),c){const t=r.join("$$lit$$");void 0===(e=Ft.get(t))&&(r.raw=r,Ft.set(t,e=r)),i=l}return t(e,...i)})(W);
97
97
  /**
98
98
  * @license
99
99
  * Copyright 2020 Google LLC
100
100
  * SPDX-License-Identifier: BSD-3-Clause
101
- */var At,Dt=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(At||(At={}));const Bt=ct.extend("--ft-typography-font-family",ft.titleFont),Lt=ct.extend("--ft-typography-font-family",ft.contentFont),Tt={fontFamily:Lt,fontSize:ct.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ct.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ct.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ct.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:ct.create("--ft-typography-text-transform","UNKNOWN","inherit")},Pt=ct.extend("--ft-typography-title-font-family",Bt),_t=ct.extend("--ft-typography-title-font-size",Tt.fontSize,"20px"),It=ct.extend("--ft-typography-title-font-weight",Tt.fontWeight,"normal"),Wt=ct.extend("--ft-typography-title-letter-spacing",Tt.letterSpacing,"0.15px"),Ht=ct.extend("--ft-typography-title-line-height",Tt.lineHeight,"1.2"),Kt=ct.extend("--ft-typography-title-text-transform",Tt.textTransform,"inherit"),Zt=ct.extend("--ft-typography-title-dense-font-family",Bt),Vt=ct.extend("--ft-typography-title-dense-font-size",Tt.fontSize,"14px"),Jt=ct.extend("--ft-typography-title-dense-font-weight",Tt.fontWeight,"normal"),qt=ct.extend("--ft-typography-title-dense-letter-spacing",Tt.letterSpacing,"0.105px"),Xt=ct.extend("--ft-typography-title-dense-line-height",Tt.lineHeight,"1.7"),Yt=ct.extend("--ft-typography-title-dense-text-transform",Tt.textTransform,"inherit"),Gt=ct.extend("--ft-typography-subtitle1-font-family",Lt),Qt=ct.extend("--ft-typography-subtitle1-font-size",Tt.fontSize,"16px"),te=ct.extend("--ft-typography-subtitle1-font-weight",Tt.fontWeight,"600"),ee=ct.extend("--ft-typography-subtitle1-letter-spacing",Tt.letterSpacing,"0.144px"),ie=ct.extend("--ft-typography-subtitle1-line-height",Tt.lineHeight,"1.5"),oe=ct.extend("--ft-typography-subtitle1-text-transform",Tt.textTransform,"inherit"),se=ct.extend("--ft-typography-subtitle2-font-family",Lt),ne=ct.extend("--ft-typography-subtitle2-font-size",Tt.fontSize,"14px"),re=ct.extend("--ft-typography-subtitle2-font-weight",Tt.fontWeight,"normal"),le=ct.extend("--ft-typography-subtitle2-letter-spacing",Tt.letterSpacing,"0.098px"),ae=ct.extend("--ft-typography-subtitle2-line-height",Tt.lineHeight,"1.7"),pe=ct.extend("--ft-typography-subtitle2-text-transform",Tt.textTransform,"inherit"),ce={fontFamily:ct.extend("--ft-typography-body1-font-family",Lt),fontSize:ct.extend("--ft-typography-body1-font-size",Tt.fontSize,"16px"),fontWeight:ct.extend("--ft-typography-body1-font-weight",Tt.fontWeight,"normal"),letterSpacing:ct.extend("--ft-typography-body1-letter-spacing",Tt.letterSpacing,"0.496px"),lineHeight:ct.extend("--ft-typography-body1-line-height",Tt.lineHeight,"1.5"),textTransform:ct.extend("--ft-typography-body1-text-transform",Tt.textTransform,"inherit")},he=ct.extend("--ft-typography-body2-font-family",Lt),fe=ct.extend("--ft-typography-body2-font-size",Tt.fontSize,"14px"),de=ct.extend("--ft-typography-body2-font-weight",Tt.fontWeight,"normal"),ue=ct.extend("--ft-typography-body2-letter-spacing",Tt.letterSpacing,"0.252px"),ye=ct.extend("--ft-typography-body2-line-height",Tt.lineHeight,"1.4"),xe=ct.extend("--ft-typography-body2-text-transform",Tt.textTransform,"inherit"),ve={fontFamily:ct.extend("--ft-typography-caption-font-family",Lt),fontSize:ct.extend("--ft-typography-caption-font-size",Tt.fontSize,"12px"),fontWeight:ct.extend("--ft-typography-caption-font-weight",Tt.fontWeight,"normal"),letterSpacing:ct.extend("--ft-typography-caption-letter-spacing",Tt.letterSpacing,"0.396px"),lineHeight:ct.extend("--ft-typography-caption-line-height",Tt.lineHeight,"1.33"),textTransform:ct.extend("--ft-typography-caption-text-transform",Tt.textTransform,"inherit")},be=ct.extend("--ft-typography-breadcrumb-font-family",Lt),ge=ct.extend("--ft-typography-breadcrumb-font-size",Tt.fontSize,"10px"),me=ct.extend("--ft-typography-breadcrumb-font-weight",Tt.fontWeight,"normal"),we=ct.extend("--ft-typography-breadcrumb-letter-spacing",Tt.letterSpacing,"0.33px"),$e=ct.extend("--ft-typography-breadcrumb-line-height",Tt.lineHeight,"1.6"),Oe=ct.extend("--ft-typography-breadcrumb-text-transform",Tt.textTransform,"inherit"),Se=ct.extend("--ft-typography-overline-font-family",Lt),ke=ct.extend("--ft-typography-overline-font-size",Tt.fontSize,"10px"),Ce=ct.extend("--ft-typography-overline-font-weight",Tt.fontWeight,"normal"),Ee=ct.extend("--ft-typography-overline-letter-spacing",Tt.letterSpacing,"1.5px"),Ne=ct.extend("--ft-typography-overline-line-height",Tt.lineHeight,"1.6"),Re=ct.extend("--ft-typography-overline-text-transform",Tt.textTransform,"uppercase"),Me=ct.extend("--ft-typography-button-font-family",Lt),Ue=ct.extend("--ft-typography-button-font-size",Tt.fontSize,"14px"),ze=ct.extend("--ft-typography-button-font-weight",Tt.fontWeight,"600"),Fe=ct.extend("--ft-typography-button-letter-spacing",Tt.letterSpacing,"1.246px"),je=ct.extend("--ft-typography-button-line-height",Tt.lineHeight,"1.15"),Ae=ct.extend("--ft-typography-button-text-transform",Tt.textTransform,"uppercase"),De=d`
101
+ */var At,Bt=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(At||(At={}));const Dt=ct.extend("--ft-typography-font-family",ft.titleFont),Pt=ct.extend("--ft-typography-font-family",ft.contentFont),Lt={fontFamily:Pt,fontSize:ct.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ct.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ct.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ct.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:ct.create("--ft-typography-text-transform","UNKNOWN","inherit")},Tt=ct.extend("--ft-typography-title-font-family",Dt),_t=ct.extend("--ft-typography-title-font-size",Lt.fontSize,"20px"),Wt=ct.extend("--ft-typography-title-font-weight",Lt.fontWeight,"normal"),It=ct.extend("--ft-typography-title-letter-spacing",Lt.letterSpacing,"0.15px"),Ht=ct.extend("--ft-typography-title-line-height",Lt.lineHeight,"1.2"),Kt=ct.extend("--ft-typography-title-text-transform",Lt.textTransform,"inherit"),Zt=ct.extend("--ft-typography-title-dense-font-family",Dt),Vt=ct.extend("--ft-typography-title-dense-font-size",Lt.fontSize,"14px"),Jt=ct.extend("--ft-typography-title-dense-font-weight",Lt.fontWeight,"normal"),qt=ct.extend("--ft-typography-title-dense-letter-spacing",Lt.letterSpacing,"0.105px"),Xt=ct.extend("--ft-typography-title-dense-line-height",Lt.lineHeight,"1.7"),Yt=ct.extend("--ft-typography-title-dense-text-transform",Lt.textTransform,"inherit"),Gt=ct.extend("--ft-typography-subtitle1-font-family",Pt),Qt=ct.extend("--ft-typography-subtitle1-font-size",Lt.fontSize,"16px"),te=ct.extend("--ft-typography-subtitle1-font-weight",Lt.fontWeight,"600"),ee=ct.extend("--ft-typography-subtitle1-letter-spacing",Lt.letterSpacing,"0.144px"),ie=ct.extend("--ft-typography-subtitle1-line-height",Lt.lineHeight,"1.5"),oe=ct.extend("--ft-typography-subtitle1-text-transform",Lt.textTransform,"inherit"),se=ct.extend("--ft-typography-subtitle2-font-family",Pt),ne=ct.extend("--ft-typography-subtitle2-font-size",Lt.fontSize,"14px"),re=ct.extend("--ft-typography-subtitle2-font-weight",Lt.fontWeight,"normal"),le=ct.extend("--ft-typography-subtitle2-letter-spacing",Lt.letterSpacing,"0.098px"),ae=ct.extend("--ft-typography-subtitle2-line-height",Lt.lineHeight,"1.7"),pe=ct.extend("--ft-typography-subtitle2-text-transform",Lt.textTransform,"inherit"),ce={fontFamily:ct.extend("--ft-typography-body1-font-family",Pt),fontSize:ct.extend("--ft-typography-body1-font-size",Lt.fontSize,"16px"),fontWeight:ct.extend("--ft-typography-body1-font-weight",Lt.fontWeight,"normal"),letterSpacing:ct.extend("--ft-typography-body1-letter-spacing",Lt.letterSpacing,"0.496px"),lineHeight:ct.extend("--ft-typography-body1-line-height",Lt.lineHeight,"1.5"),textTransform:ct.extend("--ft-typography-body1-text-transform",Lt.textTransform,"inherit")},he=ct.extend("--ft-typography-body2-font-family",Pt),fe=ct.extend("--ft-typography-body2-font-size",Lt.fontSize,"14px"),de=ct.extend("--ft-typography-body2-font-weight",Lt.fontWeight,"normal"),ue=ct.extend("--ft-typography-body2-letter-spacing",Lt.letterSpacing,"0.252px"),ye=ct.extend("--ft-typography-body2-line-height",Lt.lineHeight,"1.4"),xe=ct.extend("--ft-typography-body2-text-transform",Lt.textTransform,"inherit"),ve={fontFamily:ct.extend("--ft-typography-caption-font-family",Pt),fontSize:ct.extend("--ft-typography-caption-font-size",Lt.fontSize,"12px"),fontWeight:ct.extend("--ft-typography-caption-font-weight",Lt.fontWeight,"normal"),letterSpacing:ct.extend("--ft-typography-caption-letter-spacing",Lt.letterSpacing,"0.396px"),lineHeight:ct.extend("--ft-typography-caption-line-height",Lt.lineHeight,"1.33"),textTransform:ct.extend("--ft-typography-caption-text-transform",Lt.textTransform,"inherit")},be=ct.extend("--ft-typography-breadcrumb-font-family",Pt),ge=ct.extend("--ft-typography-breadcrumb-font-size",Lt.fontSize,"10px"),me=ct.extend("--ft-typography-breadcrumb-font-weight",Lt.fontWeight,"normal"),$e=ct.extend("--ft-typography-breadcrumb-letter-spacing",Lt.letterSpacing,"0.33px"),we=ct.extend("--ft-typography-breadcrumb-line-height",Lt.lineHeight,"1.6"),Oe=ct.extend("--ft-typography-breadcrumb-text-transform",Lt.textTransform,"inherit"),Se=ct.extend("--ft-typography-overline-font-family",Pt),ke=ct.extend("--ft-typography-overline-font-size",Lt.fontSize,"10px"),Ee=ct.extend("--ft-typography-overline-font-weight",Lt.fontWeight,"normal"),Ce=ct.extend("--ft-typography-overline-letter-spacing",Lt.letterSpacing,"1.5px"),Ne=ct.extend("--ft-typography-overline-line-height",Lt.lineHeight,"1.6"),Re=ct.extend("--ft-typography-overline-text-transform",Lt.textTransform,"uppercase"),Me=ct.extend("--ft-typography-button-font-family",Pt),Ue=ct.extend("--ft-typography-button-font-size",Lt.fontSize,"14px"),ze=ct.extend("--ft-typography-button-font-weight",Lt.fontWeight,"600"),Fe=ct.extend("--ft-typography-button-letter-spacing",Lt.letterSpacing,"1.246px"),je=ct.extend("--ft-typography-button-line-height",Lt.lineHeight,"1.15"),Ae=ct.extend("--ft-typography-button-text-transform",Lt.textTransform,"uppercase"),Be=d`
102
102
  .ft-typography--title {
103
- font-family: ${Pt};
103
+ font-family: ${Tt};
104
104
  font-size: ${_t};
105
- font-weight: ${It};
106
- letter-spacing: ${Wt};
105
+ font-weight: ${Wt};
106
+ letter-spacing: ${It};
107
107
  line-height: ${Ht};
108
108
  text-transform: ${Kt};
109
109
  }
110
- `,Be=d`
110
+ `,De=d`
111
111
  .ft-typography--title-dense {
112
112
  font-family: ${Zt};
113
113
  font-size: ${Vt};
@@ -116,7 +116,7 @@ const vt=1,bt=2,gt=t=>(...e)=>({_$litDirective$:t,values:e});class mt{constructo
116
116
  line-height: ${Xt};
117
117
  text-transform: ${Yt};
118
118
  }
119
- `,Le=d`
119
+ `,Pe=d`
120
120
  .ft-typography--subtitle1 {
121
121
  font-family: ${Gt};
122
122
  font-size: ${Qt};
@@ -125,7 +125,7 @@ const vt=1,bt=2,gt=t=>(...e)=>({_$litDirective$:t,values:e});class mt{constructo
125
125
  line-height: ${ie};
126
126
  text-transform: ${oe};
127
127
  }
128
- `,Te=d`
128
+ `,Le=d`
129
129
  .ft-typography--subtitle2 {
130
130
  font-family: ${se};
131
131
  font-size: ${ne};
@@ -135,7 +135,7 @@ const vt=1,bt=2,gt=t=>(...e)=>({_$litDirective$:t,values:e});class mt{constructo
135
135
  text-transform: ${pe};
136
136
  }
137
137
 
138
- `,Pe=d`
138
+ `,Te=d`
139
139
  .ft-typography--body1 {
140
140
  font-family: ${ce.fontFamily};
141
141
  font-size: ${ce.fontSize};
@@ -153,7 +153,7 @@ const vt=1,bt=2,gt=t=>(...e)=>({_$litDirective$:t,values:e});class mt{constructo
153
153
  line-height: ${ye};
154
154
  text-transform: ${xe};
155
155
  }
156
- `,Ie=d`
156
+ `,We=d`
157
157
  .ft-typography--caption {
158
158
  font-family: ${ve.fontFamily};
159
159
  font-size: ${ve.fontSize};
@@ -162,21 +162,21 @@ const vt=1,bt=2,gt=t=>(...e)=>({_$litDirective$:t,values:e});class mt{constructo
162
162
  line-height: ${ve.lineHeight};
163
163
  text-transform: ${ve.textTransform};
164
164
  }
165
- `,We=d`
165
+ `,Ie=d`
166
166
  .ft-typography--breadcrumb {
167
167
  font-family: ${be};
168
168
  font-size: ${ge};
169
169
  font-weight: ${me};
170
- letter-spacing: ${we};
171
- line-height: ${$e};
170
+ letter-spacing: ${$e};
171
+ line-height: ${we};
172
172
  text-transform: ${Oe};
173
173
  }
174
174
  `,He=d`
175
175
  .ft-typography--overline {
176
176
  font-family: ${Se};
177
177
  font-size: ${ke};
178
- font-weight: ${Ce};
179
- letter-spacing: ${Ee};
178
+ font-weight: ${Ee};
179
+ letter-spacing: ${Ce};
180
180
  line-height: ${Ne};
181
181
  text-transform: ${Re};
182
182
  }
@@ -196,20 +196,20 @@ const vt=1,bt=2,gt=t=>(...e)=>({_$litDirective$:t,values:e});class mt{constructo
196
196
  </${zt(this.element)}>
197
197
  `:jt`
198
198
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
199
- `}}Ze.styles=[De,Be,Le,Te,Pe,_e,Ie,We,He,Ke,d`
199
+ `}}Ze.styles=[Be,De,Pe,Le,Te,_e,We,Ie,He,Ke,d`
200
200
  .ft-typography {
201
201
  vertical-align: inherit;
202
202
  }
203
- `],Dt([o()],Ze.prototype,"element",void 0),Dt([o()],Ze.prototype,"variant",void 0),l("ft-typography")(Ze);var Ve=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Je={fontSize:ct.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:ct.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:ct.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:ct.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:ct.create("--ft-input-label-horizontal-spacing","SIZE","12px"),borderColor:ct.extend("--ft-input-label-border-color",ft.colorOutline),textColor:ct.extend("--ft-input-label-text-color",ft.colorOnSurfaceMedium),disabledTextColor:ct.extend("--ft-input-label-disabled-text-color",ft.colorOnSurfaceDisabled),colorSurface:ct.external(ft.colorSurface,"Design system"),borderRadiusS:ct.external(ft.borderRadiusS,"Design system"),colorError:ct.external(ft.colorError,"Design system")};class qe extends xt{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return I`
204
- <div class="${wt(t)}">
205
- ${this.text?I`
203
+ `],Bt([o()],Ze.prototype,"element",void 0),Bt([o()],Ze.prototype,"variant",void 0),l("ft-typography")(Ze);var Ve=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Je={fontSize:ct.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:ct.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:ct.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:ct.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:ct.create("--ft-input-label-horizontal-spacing","SIZE","12px"),borderColor:ct.extend("--ft-input-label-border-color",ft.colorOutline),textColor:ct.extend("--ft-input-label-text-color",ft.colorOnSurfaceMedium),disabledTextColor:ct.extend("--ft-input-label-disabled-text-color",ft.colorOnSurfaceDisabled),colorSurface:ct.external(ft.colorSurface,"Design system"),borderRadiusS:ct.external(ft.borderRadiusS,"Design system"),colorError:ct.external(ft.colorError,"Design system")};class qe extends xt{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return W`
204
+ <div class="${$t(t)}">
205
+ ${this.text?W`
206
206
  <div class="ft-input-label--text ft-typography--caption">
207
207
  <span class="ft-input-label--floating-text">${this.text}</span>
208
208
  <span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
209
209
  </div>
210
210
  `:null}
211
211
  </div>
212
- `}}qe.elementDefinitions={},qe.styles=[Ie,d`
212
+ `}}qe.elementDefinitions={},qe.styles=[We,d`
213
213
  .ft-input-label {
214
214
  position: absolute;
215
215
  inset: 0;
@@ -279,7 +279,6 @@ const vt=1,bt=2,gt=t=>(...e)=>({_$litDirective$:t,values:e});class mt{constructo
279
279
  position: absolute;
280
280
  top: calc(50% - var(--ft-typography-caption-line-height) / 2);
281
281
  transition: top 250ms;
282
- width: calc(100% - 8px);
283
282
  overflow: hidden;
284
283
  white-space: nowrap;
285
284
  text-overflow: ellipsis;
@@ -326,7 +325,7 @@ const vt=1,bt=2,gt=t=>(...e)=>({_$litDirective$:t,values:e});class mt{constructo
326
325
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
327
326
  border-top: none;
328
327
  }
329
- `],Ve([o({type:String})],qe.prototype,"text",void 0),Ve([o({type:Boolean})],qe.prototype,"raised",void 0),Ve([o({type:Boolean})],qe.prototype,"outlined",void 0),Ve([o({type:Boolean})],qe.prototype,"disabled",void 0),Ve([o({type:Boolean})],qe.prototype,"error",void 0),l("ft-input-label")(qe);var Xe=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Ye=ct.extend("--ft-ripple-color",ft.colorContent),Ge={color:Ye,backgroundColor:ct.extend("--ft-ripple-background-color",Ye),opacityContentOnSurfacePressed:ct.external(ft.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ct.external(ft.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ct.external(ft.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ct.external(ft.opacityContentOnSurfaceSelected,"Design system")},Qe=ct.extend("--ft-ripple-color",ft.colorPrimary),ti=Qe,ei=ct.extend("--ft-ripple-background-color",Qe),ii=ct.extend("--ft-ripple-color",ft.colorSecondary),oi=ii,si=ct.extend("--ft-ripple-background-color",ii);class ni extends xt{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:s}=this.getCoordinates(t),n=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-n.x:n.width/2),this.originY=Math.round(null!=s?s-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return I`
328
+ `],Ve([o({type:String})],qe.prototype,"text",void 0),Ve([o({type:Boolean})],qe.prototype,"raised",void 0),Ve([o({type:Boolean})],qe.prototype,"outlined",void 0),Ve([o({type:Boolean})],qe.prototype,"disabled",void 0),Ve([o({type:Boolean})],qe.prototype,"error",void 0),l("ft-input-label")(qe);var Xe=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Ye=ct.extend("--ft-ripple-color",ft.colorContent),Ge={color:Ye,backgroundColor:ct.extend("--ft-ripple-background-color",Ye),opacityContentOnSurfacePressed:ct.external(ft.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ct.external(ft.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ct.external(ft.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ct.external(ft.opacityContentOnSurfaceSelected,"Design system")},Qe=ct.extend("--ft-ripple-color",ft.colorPrimary),ti=Qe,ei=ct.extend("--ft-ripple-background-color",Qe),ii=ct.extend("--ft-ripple-color",ft.colorSecondary),oi=ii,si=ct.extend("--ft-ripple-background-color",ii);class ni extends xt{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:s}=this.getCoordinates(t),n=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-n.x:n.width/2),this.originY=Math.round(null!=s?s-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return W`
330
329
  <style>
331
330
  .ft-ripple .ft-ripple--effect,
332
331
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -339,7 +338,7 @@ const vt=1,bt=2,gt=t=>(...e)=>({_$litDirective$:t,values:e});class mt{constructo
339
338
  top: ${this.originY}px;
340
339
  }
341
340
  </style>
342
- <div class="${wt(t)}">
341
+ <div class="${$t(t)}">
343
342
  <div class="ft-ripple--background"></div>
344
343
  <div class="ft-ripple--effect"></div>
345
344
  </div>
@@ -438,48 +437,49 @@ const vt=1,bt=2,gt=t=>(...e)=>({_$litDirective$:t,values:e});class mt{constructo
438
437
  * Copyright 2017 Google LLC
439
438
  * SPDX-License-Identifier: BSD-3-Clause
440
439
  */
441
- class ri extends mt{constructor(t){if(super(t),this.it=H,t.type!==bt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===H||null==t)return this.ft=void 0,this.it=t;if(t===W)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:[]}}}ri.directiveName="unsafeHTML",ri.resultType=1;const li=gt(ri);var ai,pi;!function(t){t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(ai||(ai={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(pi||(pi={})),new Map([...["abw"].map((t=>[t,pi.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,pi.AUDIO])),...["avi"].map((t=>[t,pi.AVI])),...["chm","xhs"].map((t=>[t,pi.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,pi.CODE])),...["csv"].map((t=>[t,pi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,pi.DITA])),...["epub"].map((t=>[t,pi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,pi.EXCEL])),...["flac"].map((t=>[t,pi.FLAC])),...["gif"].map((t=>[t,pi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,pi.GZIP])),...["html","htm","xhtml"].map((t=>[t,pi.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,pi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,pi.JPEG])),...["json"].map((t=>[t,pi.JSON])),...["m4a","m4p"].map((t=>[t,pi.M4A])),...["mov","qt"].map((t=>[t,pi.MOV])),...["mp3"].map((t=>[t,pi.MP3])),...["mp4","m4v"].map((t=>[t,pi.MP4])),...["ogg","oga"].map((t=>[t,pi.OGG])),...["pdf","ps"].map((t=>[t,pi.PDF])),...["png"].map((t=>[t,pi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,pi.POWERPOINT])),...["rar"].map((t=>[t,pi.RAR])),...["stp"].map((t=>[t,pi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,pi.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,pi.VIDEO])),...["wav"].map((t=>[t,pi.WAV])),...["wma"].map((t=>[t,pi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,pi.WORD])),...["xml","xsl","rdf"].map((t=>[t,pi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,pi.YAML])),...["zip"].map((t=>[t,pi.ZIP]))]);var ci,hi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ci||(ci={}));const fi=ct.create("--ft-icon-font-size","SIZE","24px"),di=ct.extend("--ft-icon-fluid-topics-font-family",ct.create("--ft-icon-font-family","UNKNOWN","ft-icons")),ui=ct.extend("--ft-icon-file-format-font-family",ct.create("--ft-icon-font-family","UNKNOWN","ft-mime")),yi=ct.extend("--ft-icon-material-font-family",ct.create("--ft-icon-font-family","UNKNOWN","Material Icons"));class xi extends xt{constructor(){super(...arguments),this.variant=ci.fluid_topics}render(){return I`
442
- <i class="ft-icon ${"ft-icon--"+this.variant}">
443
- ${li(this.getIcon())}
444
- <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
445
- </i>
446
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let i=this.textContent;return this.variant===ci.file_format?null!==(t=pi[i.toUpperCase()])&&void 0!==t?t:i:this.variant===ci.fluid_topics?null!==(e=ai[i.toUpperCase()])&&void 0!==e?e:i:H}}xi.elementDefinitions={},xi.styles=d`
447
- :host {
448
- display: inline-block;
449
- }
450
- :host, i.ft-icon {
451
- width: ${fi};
452
- height: ${fi};
453
- text-align: center;
454
- }
440
+ class ri extends mt{constructor(t){if(super(t),this.it=H,t.type!==bt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===H||null==t)return this._t=void 0,this.it=t;if(t===I)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:[]}}}ri.directiveName="unsafeHTML",ri.resultType=1;const li=gt(ri);var ai,pi;!function(t){t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(ai||(ai={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(pi||(pi={})),new Map([...["abw"].map((t=>[t,pi.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,pi.AUDIO])),...["avi"].map((t=>[t,pi.AVI])),...["chm","xhs"].map((t=>[t,pi.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,pi.CODE])),...["csv"].map((t=>[t,pi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,pi.DITA])),...["epub"].map((t=>[t,pi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,pi.EXCEL])),...["flac"].map((t=>[t,pi.FLAC])),...["gif"].map((t=>[t,pi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,pi.GZIP])),...["html","htm","xhtml"].map((t=>[t,pi.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,pi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,pi.JPEG])),...["json"].map((t=>[t,pi.JSON])),...["m4a","m4p"].map((t=>[t,pi.M4A])),...["mov","qt"].map((t=>[t,pi.MOV])),...["mp3"].map((t=>[t,pi.MP3])),...["mp4","m4v"].map((t=>[t,pi.MP4])),...["ogg","oga"].map((t=>[t,pi.OGG])),...["pdf","ps"].map((t=>[t,pi.PDF])),...["png"].map((t=>[t,pi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,pi.POWERPOINT])),...["rar"].map((t=>[t,pi.RAR])),...["stp"].map((t=>[t,pi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,pi.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,pi.VIDEO])),...["wav"].map((t=>[t,pi.WAV])),...["wma"].map((t=>[t,pi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,pi.WORD])),...["xml","xsl","rdf"].map((t=>[t,pi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,pi.YAML])),...["zip"].map((t=>[t,pi.ZIP]))]);var ci,hi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ci||(ci={}));const fi=ct.create("--ft-icon-font-size","SIZE","24px"),di=ct.extend("--ft-icon-fluid-topics-font-family",ct.create("--ft-icon-font-family","UNKNOWN","ft-icons")),ui=ct.extend("--ft-icon-file-format-font-family",ct.create("--ft-icon-font-family","UNKNOWN","ft-mime")),yi=ct.extend("--ft-icon-material-font-family",ct.create("--ft-icon-font-family","UNKNOWN","Material Icons"));class xi extends xt{constructor(){super(...arguments),this.variant=ci.fluid_topics}getStyles(){return d`
441
+ :host {
442
+ display: inline-block;
443
+ }
455
444
 
456
- i.ft-icon {
457
- font-size: ${fi};
458
- line-height: 1;
459
- font-weight: normal;
460
- text-transform: none;
461
- font-style: normal;
462
- font-variant: normal;
463
- speak: none;
464
- text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
465
- text-rendering: auto;
466
- -webkit-font-smoothing: antialiased;
467
- -moz-osx-font-smoothing: grayscale;
468
- }
445
+ :host, i.ft-icon {
446
+ width: ${fi};
447
+ height: ${fi};
448
+ text-align: center;
449
+ }
469
450
 
470
- .ft-icon--fluid-topics {
471
- font-family: ${di}, ft-icons, fticons, sans-serif;
472
- }
451
+ i.ft-icon {
452
+ font-size: ${fi};
453
+ line-height: 1;
454
+ font-weight: normal;
455
+ text-transform: none;
456
+ font-style: normal;
457
+ font-variant: normal;
458
+ speak: none;
459
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
460
+ text-rendering: auto;
461
+ -webkit-font-smoothing: antialiased;
462
+ -moz-osx-font-smoothing: grayscale;
463
+ }
473
464
 
474
- .ft-icon--file-format {
475
- font-family: ${ui}, ft-mime, sans-serif;
476
- }
465
+ .ft-icon--fluid-topics {
466
+ font-family: ${di}, ft-icons, fticons, sans-serif;
467
+ }
477
468
 
478
- .ft-icon--material {
479
- font-family: ${yi}, "Material Icons", sans-serif;
480
- }
481
- `,hi([o()],xi.prototype,"variant",void 0),hi([n("slot")],xi.prototype,"slottedContent",void 0),l("ft-icon")(xi);var vi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class bi extends xt{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return I``}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}bi.elementDefinitions={},vi([o({type:String})],bi.prototype,"label",void 0),vi([o({type:Object,converter:t=>t})],bi.prototype,"value",void 0),vi([o({type:Boolean,reflect:!0})],bi.prototype,"selected",void 0);const gi={labelSize:ct.create("--ft-select-label-size","SIZE","11px"),selectedOptionSize:ct.create("--ft-select-selected-option-size","SIZE","14px"),verticalSpacing:ct.create("--ft-select-vertical-spacing","SIZE","4px"),optionsHeight:ct.create("--ft-select-options-height","SIZE","unset"),selectedOptionColor:ct.extend("--ft-select-selected-option-color",ft.colorOnSurface),helperColor:ct.extend("--ft-select-helper-color",ft.colorOnSurfaceMedium),optionsColor:ct.extend("--ft-select-options-color",ft.colorOnSurface),optionsZIndex:ct.create("--ft-select-options-z-index","NUMBER","3"),colorSurface:ct.external(ft.colorSurface,"Design system"),colorOnSurfaceDisabled:ct.external(ft.colorOnSurfaceDisabled,"Design system"),colorPrimary:ct.external(ft.colorPrimary,"Design system"),borderRadiusS:ct.external(ft.borderRadiusS,"Design system"),elevation02:ct.external(ft.elevation02,"Design system"),colorError:ct.external(ft.colorError,"Design system")};class mi extends xt{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,e,i,o,s;let n=this.hasOptionsMenuOpen,r=this.disabled||!this.hasOptions;const l=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(i=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==i?i:"").length>0,a={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":r,"ft-select--options-displayed":n,"ft-select--has-option-selected":l,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return I`
482
- <div class="${wt(a)}" part="container">
469
+ .ft-icon--file-format {
470
+ font-family: ${ui}, ft-mime, sans-serif;
471
+ }
472
+
473
+ .ft-icon--material {
474
+ font-family: ${yi}, "Material Icons", sans-serif;
475
+ }
476
+ `}getTemplate(){return W`
477
+ <i class="ft-icon ${"ft-icon--"+this.variant}">
478
+ ${li(this.getIcon())}
479
+ <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
480
+ </i>
481
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let i=this.textContent;return this.variant===ci.file_format?null!==(t=pi[i.toUpperCase()])&&void 0!==t?t:i:this.variant===ci.fluid_topics?null!==(e=ai[i.toUpperCase()])&&void 0!==e?e:i:H}}xi.elementDefinitions={},hi([o()],xi.prototype,"variant",void 0),hi([n("slot")],xi.prototype,"slottedContent",void 0),l("ft-icon")(xi);var vi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class bi extends xt{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return W``}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}bi.elementDefinitions={},vi([o({type:String})],bi.prototype,"label",void 0),vi([o({type:Object,converter:t=>t})],bi.prototype,"value",void 0),vi([o({type:Boolean,reflect:!0})],bi.prototype,"selected",void 0);const gi={labelSize:ct.create("--ft-select-label-size","SIZE","11px"),selectedOptionSize:ct.create("--ft-select-selected-option-size","SIZE","14px"),verticalSpacing:ct.create("--ft-select-vertical-spacing","SIZE","4px"),optionsHeight:ct.create("--ft-select-options-height","SIZE","unset"),selectedOptionColor:ct.extend("--ft-select-selected-option-color",ft.colorOnSurface),helperColor:ct.extend("--ft-select-helper-color",ft.colorOnSurfaceMedium),optionsColor:ct.extend("--ft-select-options-color",ft.colorOnSurface),optionsZIndex:ct.create("--ft-select-options-z-index","NUMBER","3"),colorSurface:ct.external(ft.colorSurface,"Design system"),colorOnSurfaceDisabled:ct.external(ft.colorOnSurfaceDisabled,"Design system"),colorPrimary:ct.external(ft.colorPrimary,"Design system"),borderRadiusS:ct.external(ft.borderRadiusS,"Design system"),elevation02:ct.external(ft.elevation02,"Design system"),colorError:ct.external(ft.colorError,"Design system")};class mi extends xt{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,e,i,o,s;let n=this.hasOptionsMenuOpen,r=this.disabled||!this.hasOptions;const l=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(i=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==i?i:"").length>0,a={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":r,"ft-select--options-displayed":n,"ft-select--has-option-selected":l,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return W`
482
+ <div class="${$t(a)}" part="container">
483
483
  <div class="ft-select--main-panel" part="main-panel">
484
484
  <ft-input-label text="${this.label}"
485
485
  part="label"
@@ -509,15 +509,15 @@ class ri extends mt{constructor(t){if(super(t),this.it=H,t.type!==bt)throw Error
509
509
  ${Rt(this.options,(t=>t.value),(t=>this.renderOption(t)))}
510
510
  </div>
511
511
  </div>
512
- ${this.helper?I`
512
+ ${this.helper?W`
513
513
  <ft-typography class="ft-select--helper-text" variant="caption">${this.helper}
514
514
  </ft-typography>`:void 0}
515
515
  </div>
516
516
  <slot @slotchange=${this.updateOptionsFromSlot}
517
517
  @option-change=${this.updateOptionsFromSlot}
518
518
  ></slot>
519
- `}renderOption(t){let e=this.selectedOption===t;return I`
520
- <div class="${wt({"ft-select--option":!0,"ft-select--option-selected":e,"ft-typography--body2":!0})}"
519
+ `}renderOption(t){let e=this.selectedOption===t;return W`
520
+ <div class="${$t({"ft-select--option":!0,"ft-select--option-selected":e,"ft-typography--body2":!0})}"
521
521
  part="option"
522
522
  tabindex="0"
523
523
  data-value="${t.value}"
@@ -526,7 +526,7 @@ class ri extends mt{constructor(t){if(super(t),this.it=H,t.type!==bt)throw Error
526
526
  <ft-ripple ?primary=${e} ?activated=${e}></ft-ripple>
527
527
  ${t.label}
528
528
  </div>
529
- `}updated(t){var e;super.updated(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1,this.dispatchEvent(new CustomEvent("change",{detail:null===(e=this.selectedOption)||void 0===e?void 0:e.value}))),t.has("optionsDisplayed")&&this.fixedMenuPosition&&this.hasOptionsMenuOpen&&this.positionOptionsMenu()}positionOptionsMenu(){this.optionsMenu.style.top=this.mainPanel.getBoundingClientRect().top+this.mainPanel.getBoundingClientRect().height+"px",this.optionsMenu.style.left=this.mainPanel.getBoundingClientRect().left+"px",this.optionsMenu.style.minWidth=this.mainPanel.getBoundingClientRect().width+"px"}contentAvailableCallback(t){var e,i;t.has("focusOptions")&&this.focusOptions&&(null===(i=null!==(e=this.selectedOptionElement)&&void 0!==e?e:this.firstOption)||void 0===i||i.focus(),this.focusOptions=!1)}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var e;t.stopPropagation();let i=null===(e=this.optionsSlot)||void 0===e?void 0:e.assignedElements().map((t=>t));i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0}}onOptionsKeyDown(t){var e,i,o,s,n;let r;switch(t.key){case"Escape":this.optionsDisplayed=!1,null===(e=this.mainPanel)||void 0===e||e.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),r=null!==(o=null===(i=this.focusedOption)||void 0===i?void 0:i.previousElementSibling)&&void 0!==o?o:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),r=null!==(n=null===(s=this.focusedOption)||void 0===s?void 0:s.nextElementSibling)&&void 0!==n?n:this.firstOption}null==r||r.focus()}onOptionKeyDown(t,e){var i;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),this.selectOption(e),this.optionsDisplayed=!1,null===(i=this.mainPanel)||void 0===i||i.focus())}selectOption(t){this.selectedOption=t;for(let e of this.options)e.selected=e===t}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}mi.elementDefinitions={"ft-input-label":qe,"ft-typography":Ze,"ft-ripple":ni,"ft-icon":xi},mi.styles=[_e,Ie,d`
529
+ `}updated(t){var e;super.updated(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1,this.dispatchEvent(new CustomEvent("change",{detail:null===(e=this.selectedOption)||void 0===e?void 0:e.value}))),t.has("optionsDisplayed")&&this.fixedMenuPosition&&this.hasOptionsMenuOpen&&this.positionOptionsMenu()}positionOptionsMenu(){this.optionsMenu.style.top=this.mainPanel.getBoundingClientRect().top+this.mainPanel.getBoundingClientRect().height+"px",this.optionsMenu.style.left=this.mainPanel.getBoundingClientRect().left+"px",this.optionsMenu.style.minWidth=this.mainPanel.getBoundingClientRect().width+"px"}contentAvailableCallback(t){var e,i;t.has("focusOptions")&&this.focusOptions&&(null===(i=null!==(e=this.selectedOptionElement)&&void 0!==e?e:this.firstOption)||void 0===i||i.focus(),this.focusOptions=!1)}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var e;t.stopPropagation();let i=null===(e=this.optionsSlot)||void 0===e?void 0:e.assignedElements().map((t=>t));i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0}}onOptionsKeyDown(t){var e,i,o,s,n;let r;switch(t.key){case"Escape":this.optionsDisplayed=!1,null===(e=this.mainPanel)||void 0===e||e.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),r=null!==(o=null===(i=this.focusedOption)||void 0===i?void 0:i.previousElementSibling)&&void 0!==o?o:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),r=null!==(n=null===(s=this.focusedOption)||void 0===s?void 0:s.nextElementSibling)&&void 0!==n?n:this.firstOption}null==r||r.focus()}onOptionKeyDown(t,e){var i;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),this.selectOption(e),this.optionsDisplayed=!1,null===(i=this.mainPanel)||void 0===i||i.focus())}selectOption(t){this.selectedOption=t;for(let e of this.options)e.selected=e===t}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}mi.elementDefinitions={"ft-input-label":qe,"ft-typography":Ze,"ft-ripple":ni,"ft-icon":xi},mi.styles=[_e,We,d`
530
530
  *:focus {
531
531
  outline: none;
532
532
  }
@@ -668,4 +668,4 @@ class ri extends mt{constructor(t){if(super(t),this.it=H,t.type!==bt)throw Error
668
668
  .ft-select--in-error .ft-select--helper-text {
669
669
  color: ${gi.colorError};
670
670
  }
671
- `],vi([o({type:String})],mi.prototype,"label",void 0),vi([o({type:String})],mi.prototype,"helper",void 0),vi([o({type:Boolean})],mi.prototype,"outlined",void 0),vi([o({type:Boolean})],mi.prototype,"disabled",void 0),vi([o({type:Boolean})],mi.prototype,"error",void 0),vi([o({type:Boolean})],mi.prototype,"fixedMenuPosition",void 0),vi([o({type:Array})],mi.prototype,"options",void 0),vi([s()],mi.prototype,"selectedOption",void 0),vi([s()],mi.prototype,"optionsDisplayed",void 0),vi([s()],mi.prototype,"focusOptions",void 0),vi([n(".ft-select")],mi.prototype,"container",void 0),vi([n(".ft-select--options")],mi.prototype,"optionsMenu",void 0),vi([n(".ft-select--input-panel")],mi.prototype,"mainPanel",void 0),vi([n(".ft-select--option:first-child")],mi.prototype,"firstOption",void 0),vi([n(".ft-select--option:focus")],mi.prototype,"focusedOption",void 0),vi([n(".ft-select--option.ft-select--option-selected")],mi.prototype,"selectedOptionElement",void 0),vi([n(".ft-select--option:last-child")],mi.prototype,"lastOption",void 0),vi([n("slot")],mi.prototype,"optionsSlot",void 0),l("ft-select")(mi),l("ft-select-option")(bi),t.FtSelect=mi,t.FtSelectCssVariables=gi,t.FtSelectOption=bi,Object.defineProperty(t,"t",{value:!0})}({});
671
+ `],vi([o({type:String})],mi.prototype,"label",void 0),vi([o({type:String})],mi.prototype,"helper",void 0),vi([o({type:Boolean})],mi.prototype,"outlined",void 0),vi([o({type:Boolean})],mi.prototype,"disabled",void 0),vi([o({type:Boolean})],mi.prototype,"error",void 0),vi([o({type:Boolean})],mi.prototype,"fixedMenuPosition",void 0),vi([o({type:Array})],mi.prototype,"options",void 0),vi([s()],mi.prototype,"selectedOption",void 0),vi([s()],mi.prototype,"optionsDisplayed",void 0),vi([s()],mi.prototype,"focusOptions",void 0),vi([n(".ft-select")],mi.prototype,"container",void 0),vi([n(".ft-select--options")],mi.prototype,"optionsMenu",void 0),vi([n(".ft-select--input-panel")],mi.prototype,"mainPanel",void 0),vi([n(".ft-select--option:first-child")],mi.prototype,"firstOption",void 0),vi([n(".ft-select--option:focus")],mi.prototype,"focusedOption",void 0),vi([n(".ft-select--option.ft-select--option-selected")],mi.prototype,"selectedOptionElement",void 0),vi([n(".ft-select--option:last-child")],mi.prototype,"lastOption",void 0),vi([n("slot")],mi.prototype,"optionsSlot",void 0),l("ft-select")(mi),l("ft-select-option")(bi),t.FtSelect=mi,t.FtSelectCssVariables=gi,t.FtSelectOption=bi,Object.defineProperty(t,"i",{value:!0})}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-select",
3
- "version": "0.2.20",
3
+ "version": "0.3.0",
4
4
  "description": "Value selector for a predefined list of choices",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,12 +19,12 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-icon": "^0.2.20",
23
- "@fluid-topics/ft-input-label": "^0.2.20",
24
- "@fluid-topics/ft-ripple": "^0.2.20",
25
- "@fluid-topics/ft-typography": "^0.2.20",
26
- "@fluid-topics/ft-wc-utils": "^0.2.20",
27
- "lit": "2.1.3"
22
+ "@fluid-topics/ft-icon": "^0.3.0",
23
+ "@fluid-topics/ft-input-label": "^0.3.0",
24
+ "@fluid-topics/ft-ripple": "^0.3.0",
25
+ "@fluid-topics/ft-typography": "^0.3.0",
26
+ "@fluid-topics/ft-wc-utils": "^0.3.0",
27
+ "lit": "2.2.8"
28
28
  },
29
- "gitHead": "12b770753cd907c340153c5f9fed0909ecb1eefc"
29
+ "gitHead": "2019aceb4a578402211f951ec3d68dbc0acf25c7"
30
30
  }