@fluid-topics/ft-text-field 0.2.15 → 0.2.18

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.
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
16
16
  */
17
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,n=new WeakMap,s=new WeakMap,r=new WeakMap,l=new WeakMap;let a;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=n.prototype.attributeChangedCallback,a=new Set(n.observedAttributes||[]);c(n,a,l);const p={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:a};this._definitionsByTag.set(t,p),this._definitionsByClass.set(n,p);let f=i.call(o,t);f||(f=h(t),e.call(o,t,f)),this===window.customElements&&(r.set(n,p),p.standInClass=f);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)s.delete(t),u(t,p,!0)}const x=this._whenDefinedPromises.get(t);return void 0!==x&&(x.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){y.push(this),o.upgrade.apply(o,arguments),y.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=a;if(e)return a=void 0,e;const i=r.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),n.set(e,i),e},window.HTMLElement.prototype=t.prototype;const p=t=>t===document||t instanceof ShadowRoot,f=t=>{let e=t.getRootNode();if(!p(e)){const t=y[y.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),p(e)||(e=l.get(e)?.getRootNode()||document)}return e.customElements},h=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=f(i)||window.customElements,n=o._getDefinition(e);return n?u(i,n):s.set(i,o),i}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},c=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,n){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);o.call(this,s,n),i.call(this,s,t,n)}else o.call(this,s,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);n.call(this,o),i.call(this,o,t,null)}else n.call(this,o)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),a=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},x=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=x.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let y=[document];const g=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){y.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&l.set(t,this),y.pop(),t}};g(ShadowRoot,"createElement",document),g(ShadowRoot,"importNode",document),g(Element,"insertAdjacentHTML");const b=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){y.push(this),i.set.call(this,t),y.pop()}})};if(b(Element,"innerHTML"),b(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==n.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class s{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),n=e.get(o)||[];this[+i]=t,n.push(t),e.set(o,n)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const r=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=r.get.call(this,[]),e=[];for(const i of t){const t=n.get(i);t&&!0!==t.formAssociated||e.push(i)}return new s(e)}})}}try{window.customElements.define("custom-element",null)}catch(Xe){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.warn(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){this.callbacks=[t],this.debounce(e)}queue(t,e){this.callbacks.push(t),this.debounce(e)}cancel(){null!=this._debounce&&window.clearTimeout(this._debounce)}debounce(t){this.cancel(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout)}runCallbacks(){for(let t of this.callbacks)t();this.callbacks=[]}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,r=new WeakMap,n=new WeakMap,s=new WeakMap,l=new WeakMap;let a;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=r.prototype.attributeChangedCallback,a=new Set(r.observedAttributes||[]);c(r,a,l);const p={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:a};this._definitionsByTag.set(t,p),this._definitionsByClass.set(r,p);let f=i.call(o,t);f||(f=h(t),e.call(o,t,f)),this===window.customElements&&(s.set(r,p),p.standInClass=f);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,p,!0)}const x=this._whenDefinedPromises.get(t);return void 0!==x&&(x.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){y.push(this),o.upgrade.apply(o,arguments),y.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=a;if(e)return a=void 0,e;const i=s.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,i),e},window.HTMLElement.prototype=t.prototype;const p=t=>t===document||t instanceof ShadowRoot,f=t=>{let e=t.getRootNode();if(!p(e)){const t=y[y.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),p(e)||(e=l.get(e)?.getRootNode()||document)}return e.customElements},h=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=f(i)||window.customElements,r=o._getDefinition(e);return r?u(i,r):n.set(i,o),i}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){r.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},c=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);o.call(this,n,r),i.call(this,n,t,r)}else o.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);r.call(this,o),i.call(this,o,t,null)}else r.call(this,o)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),a=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},x=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=x.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let y=[document];const g=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){y.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&l.set(t,this),y.pop(),t}};g(ShadowRoot,"createElement",document),g(ShadowRoot,"importNode",document),g(Element,"insertAdjacentHTML");const b=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){y.push(this),i.set.call(this,t),y.pop()}})};if(b(Element,"innerHTML"),b(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==r.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),r=e.get(o)||[];this[+i]=t,r.push(t),e.set(o,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const s=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=s.get.call(this,[]),e=[];for(const i of t){const t=r.get(i);t&&!0!==t.formAssociated||e.push(i)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(Xe){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.warn(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){this.callbacks=[t],this.debounce(e)}queue(t,e){this.callbacks.push(t),this.debounce(e)}cancel(){null!=this._debounce&&window.clearTimeout(this._debounce)}debounce(t){this.cancel(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout)}runCallbacks(){for(let t of this.callbacks)t();this.callbacks=[]}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
@@ -24,7 +24,7 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
24
24
  * @license
25
25
  * Copyright 2017 Google LLC
26
26
  * SPDX-License-Identifier: BSD-3-Clause
27
- */}function n(t){return o({...t,state:!0})}
27
+ */}function r(t){return o({...t,state:!0})}
28
28
  /**
29
29
  * @license
30
30
  * Copyright 2017 Google LLC
@@ -35,44 +35,45 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
35
35
  * Copyright 2017 Google LLC
36
36
  * SPDX-License-Identifier: BSD-3-Clause
37
37
  */
38
- function s(t,e){return(({finisher:t,descriptor:e})=>(i,o)=>{var n;if(void 0===o){const o=null!==(n=i.originalKey)&&void 0!==n?n:i.key,s=null!=e?{kind:"method",placement:"prototype",key:o,descriptor:e(i.key)}:{...i,key:o};return null!=t&&(s.finisher=function(e){t(e,o)}),s}{const n=i.constructor;void 0!==e&&Object.defineProperty(i,o,e(o)),null==t||t(n,o)}})({descriptor:i=>{const o={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;o.get=function(){var i,o;return void 0===this[e]&&(this[e]=null!==(o=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==o?o:null),this[e]}}return o}})}
38
+ function n(t,e){return(({finisher:t,descriptor:e})=>(i,o)=>{var r;if(void 0===o){const o=null!==(r=i.originalKey)&&void 0!==r?r:i.key,n=null!=e?{kind:"method",placement:"prototype",key:o,descriptor:e(i.key)}:{...i,key:o};return null!=t&&(n.finisher=function(e){t(e,o)}),n}{const r=i.constructor;void 0!==e&&Object.defineProperty(i,o,e(o)),null==t||t(r,o)}})({descriptor:i=>{const o={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;o.get=function(){var i,o;return void 0===this[e]&&(this[e]=null!==(o=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==o?o:null),this[e]}}return o}})}
39
39
  /**
40
40
  * @license
41
41
  * Copyright 2021 Google LLC
42
42
  * SPDX-License-Identifier: BSD-3-Clause
43
- */var r;null===(r=window.HTMLSlotElement)||void 0===r||r.prototype.assignedElements;const l=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)}
43
+ */var s;null===(s=window.HTMLSlotElement)||void 0===s||s.prototype.assignedElements;const l=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};
44
44
  /**
45
45
  * @license
46
46
  * Copyright 2019 Google LLC
47
47
  * SPDX-License-Identifier: BSD-3-Clause
48
- */,a=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,p=Symbol(),f=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=f.get(this.cssText);return a&&void 0===t&&(f.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const c=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)}))},x=a?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return c(e)})(t):t
48
+ */
49
+ const a=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,p=Symbol(),f=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=f.get(this.cssText);return a&&void 0===t&&(f.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const c=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)}))},x=a?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return c(e)})(t):t
49
50
  /**
50
51
  * @license
51
52
  * Copyright 2017 Google LLC
52
53
  * SPDX-License-Identifier: BSD-3-Clause
53
- */;var y;const g=window.trustedTypes,b=g?g.emptyScript:"",v=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 S 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 n=this[t];this[e]=o,this.requestUpdate(t,n,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(x(t))}else void 0!==t&&e.push(x(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,n;const s=this.constructor._$Eh(t,i);if(void 0!==s&&!0===i.reflect){const r=(null!==(n=null===(o=i.converter)||void 0===o?void 0:o.toAttribute)&&void 0!==n?n:m.toAttribute)(e,i.type);this._$Ei=t,null==r?this.removeAttribute(s):this.setAttribute(s,r),this._$Ei=null}}_$AK(t,e){var i,o,n;const s=this.constructor,r=s._$Eu.get(t);if(void 0!==r&&this._$Ei!==r){const t=s.getPropertyOptions(r),l=t.converter,a=null!==(n=null!==(o=null===(i=l)||void 0===i?void 0:i.fromAttribute)&&void 0!==o?o:"function"==typeof l?l:null)&&void 0!==n?n: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 y;const g=window.trustedTypes,b=g?g.emptyScript:"",v=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._$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=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 r=this[t];this[e]=o,this.requestUpdate(t,r,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._$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(x(t))}else void 0!==t&&e.push(x(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=w){var o,r;const n=this.constructor._$Eh(t,i);if(void 0!==n&&!0===i.reflect){const s=(null!==(r=null===(o=i.converter)||void 0===o?void 0:o.toAttribute)&&void 0!==r?r:m.toAttribute)(e,i.type);this._$Ei=t,null==s?this.removeAttribute(n):this.setAttribute(n,s),this._$Ei=null}}_$AK(t,e){var i,o,r;const n=this.constructor,s=n._$Eu.get(t);if(void 0!==s&&this._$Ei!==s){const t=n.getPropertyOptions(s),l=t.converter,a=null!==(r=null!==(o=null===(i=l)||void 0===i?void 0:i.fromAttribute)&&void 0!==o?o:"function"==typeof l?l:null)&&void 0!==r?r:m.fromAttribute;this._$Ei=s,this[s]=a(e,t.type),this._$Ei=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._$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
55
  /**
55
56
  * @license
56
57
  * Copyright 2017 Google LLC
57
58
  * SPDX-License-Identifier: BSD-3-Clause
58
59
  */
59
- var O;S.finalized=!0,S.elementProperties=new Map,S.elementStyles=[],S.shadowRootOptions={mode:"open"},null==v||v({ReactiveElement:S}),(null!==(y=globalThis.reactiveElementVersions)&&void 0!==y?y:globalThis.reactiveElementVersions=[]).push("1.3.2");const C=globalThis.trustedTypes,k=C?C.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=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,B=/-->/g,D=/>/g,L=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,T=/'/g,A=/"/g,_=/^(?:script|style|textarea|title)$/i,P=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),I=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),H=new WeakMap,K=M.createTreeWalker(M,129,null,!1),Z=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",r=j;for(let e=0;e<i;e++){const i=t[e];let l,a,p=-1,f=0;for(;f<i.length&&(r.lastIndex=f,a=r.exec(i),null!==a);)f=r.lastIndex,r===j?"!--"===a[1]?r=B:void 0!==a[1]?r=D:void 0!==a[2]?(_.test(a[2])&&(n=RegExp("</"+a[2],"g")),r=L):void 0!==a[3]&&(r=L):r===L?">"===a[0]?(r=null!=n?n:j,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]?A:T):r===A||r===T?r=L:r===B||r===D?r=j:(r=L,n=void 0);const h=r===L&&t[e+1].startsWith("/>")?" ":"";s+=r===j?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=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==k?k.createHTML(l):l,o]};class V{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,s=0;const r=t.length-1,l=this.parts,[a,p]=Z(t,e);if(this.el=V.createElement(a,i),K.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=K.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[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(E),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?G:"?"===e[1]?tt:"@"===e[1]?et:Y})}else l.push({type:6,index:n})}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=C?C.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],U()),K.nextNode(),l.push({type:2,index:++n});o.append(t[e],U())}}}else if(8===o.nodeType)if(o.data===N)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(E,t+1));)l.push({type:7,index:n}),t+=E.length-1}n++}}static createElement(t,e){const i=M.createElement("template");return i.innerHTML=t,i}}function q(t,e,i=t,o){var n,s,r,l;if(e===I)return e;let a=void 0!==o?null===(n=i._$Cl)||void 0===n?void 0:n[o]:i._$Cu;const p=z(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==p&&(null===(s=null==a?void 0:a._$AO)||void 0===s||s.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,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:M).importNode(i,!0);K.currentNode=n;let s=K.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new J(s,s.nextSibling,this,t):1===a.type?e=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(e=new it(s,this,t)),this.v.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(s=K.nextNode(),r++)}return n}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 J{constructor(t,e,i,o){var n;this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}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===W||null==t||""===t?(this._$AH!==W&&this._$AR(),this._$AH=W):t!==this._$AH&&t!==I&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>{var e;return F(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!==W&&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,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=V.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.m(i);else{const t=new X(n,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=H.get(t.strings);return void 0===e&&H.set(t.strings,e=new V(t)),e}S(t){F(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new J(this.M(U()),this.M(U()),this,this.options)):i=e[o],i._$AI(n),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 Y{constructor(t,e,i,o,n){this.type=1,this._$AH=W,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=W}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let s=!1;if(void 0===n)t=q(this,t,e,0),s=!z(t)||t!==this._$AH&&t!==I,s&&(this._$AH=t);else{const o=t;let r,l;for(t=n[0],r=0;r<n.length-1;r++)l=q(this,o[i+r],e,r),l===I&&(l=this._$AH[r]),s||(s=!z(l)||l!==this._$AH[r]),l===W?t=W:t!==W&&(t+=(null!=l?l:"")+n[r+1]),this._$AH[r]=l}s&&!o&&this.C(t)}C(t){t===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class G extends Y{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===W?void 0:t}}const Q=C?C.emptyScript:"";class tt extends Y{constructor(){super(...arguments),this.type=4}C(t){t&&t!==W?this.element.setAttribute(this.name,Q):this.element.removeAttribute(this.name)}}class et extends Y{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=q(this,t,e,0))&&void 0!==i?i:W)===I)return;const o=this._$AH,n=t===W&&o!==W||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==W&&(o===W||n);n&&this.element.removeEventListener(this.name,this,o),s&&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 it{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 ot=window.litHtmlPolyfillSupport;
60
+ var S;O.finalized=!0,O.elementProperties=new Map,O.elementStyles=[],O.shadowRootOptions={mode:"open"},null==v||v({ReactiveElement:O}),(null!==(y=globalThis.reactiveElementVersions)&&void 0!==y?y:globalThis.reactiveElementVersions=[]).push("1.3.2");const C=globalThis.trustedTypes,N=C?C.createPolicy("lit-html",{createHTML:t=>t}):void 0,k=`lit$${(Math.random()+"").slice(9)}$`,E="?"+k,R=`<${E}>`,M=document,U=(t="")=>M.createComment(t),z=t=>null===t||"object"!=typeof t&&"function"!=typeof t,F=Array.isArray,j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,B=/-->/g,A=/>/g,D=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,L=/'/g,T=/"/g,_=/^(?:script|style|textarea|title)$/i,P=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),I=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),H=new WeakMap,K=M.createTreeWalker(M,129,null,!1),Z=(t,e)=>{const i=t.length-1,o=[];let r,n=2===e?"<svg>":"",s=j;for(let e=0;e<i;e++){const i=t[e];let l,a,p=-1,f=0;for(;f<i.length&&(s.lastIndex=f,a=s.exec(i),null!==a);)f=s.lastIndex,s===j?"!--"===a[1]?s=B:void 0!==a[1]?s=A:void 0!==a[2]?(_.test(a[2])&&(r=RegExp("</"+a[2],"g")),s=D):void 0!==a[3]&&(s=D):s===D?">"===a[0]?(s=null!=r?r:j,p=-1):void 0===a[1]?p=-2:(p=s.lastIndex-a[2].length,l=a[1],s=void 0===a[3]?D:'"'===a[3]?T:L):s===T||s===L?s=D:s===B||s===A?s=j:(s=D,r=void 0);const h=s===D&&t[e+1].startsWith("/>")?" ":"";n+=s===j?i+R:p>=0?(o.push(l),i.slice(0,p)+"$lit$"+i.slice(p)+k+h):i+k+(-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!==N?N.createHTML(l):l,o]};class V{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let r=0,n=0;const s=t.length-1,l=this.parts,[a,p]=Z(t,e);if(this.el=V.createElement(a,i),K.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=K.nextNode())&&l.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(k)){const i=p[n++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(k),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?G:"?"===e[1]?tt:"@"===e[1]?et:Y})}else l.push({type:6,index:r})}for(const e of t)o.removeAttribute(e)}if(_.test(o.tagName)){const t=o.textContent.split(k),e=t.length-1;if(e>0){o.textContent=C?C.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],U()),K.nextNode(),l.push({type:2,index:++r});o.append(t[e],U())}}}else if(8===o.nodeType)if(o.data===E)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=o.data.indexOf(k,t+1));)l.push({type:7,index:r}),t+=k.length-1}r++}}static createElement(t,e){const i=M.createElement("template");return i.innerHTML=t,i}}function J(t,e,i=t,o){var r,n,s,l;if(e===I)return e;let a=void 0!==o?null===(r=i._$Cl)||void 0===r?void 0:r[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!==(s=(l=i)._$Cl)&&void 0!==s?s:l._$Cl=[])[o]=a:i._$Cu=a),void 0!==a&&(e=J(t,a._$AS(t,e.values),a,o)),e}class q{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,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:M).importNode(i,!0);K.currentNode=r;let n=K.nextNode(),s=0,l=0,a=o[0];for(;void 0!==a;){if(s===a.index){let e;2===a.type?e=new X(n,n.nextSibling,this,t):1===a.type?e=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(e=new it(n,this,t)),this.v.push(e),a=o[++l]}s!==(null==a?void 0:a.index)&&(n=K.nextNode(),s++)}return r}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 X{constructor(t,e,i,o){var r;this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(r=null==o?void 0:o.isConnected)||void 0===r||r}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=J(this,t,e),z(t)?t===W||null==t||""===t?(this._$AH!==W&&this._$AR(),this._$AH=W):t!==this._$AH&&t!==I&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>{var e;return F(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!==W&&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,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=V.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.m(i);else{const t=new q(r,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=H.get(t.strings);return void 0===e&&H.set(t.strings,e=new V(t)),e}S(t){F(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const r of t)o===e.length?e.push(i=new X(this.M(U()),this.M(U()),this,this.options)):i=e[o],i._$AI(r),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 Y{constructor(t,e,i,o,r){this.type=1,this._$AH=W,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=r,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=W}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const r=this.strings;let n=!1;if(void 0===r)t=J(this,t,e,0),n=!z(t)||t!==this._$AH&&t!==I,n&&(this._$AH=t);else{const o=t;let s,l;for(t=r[0],s=0;s<r.length-1;s++)l=J(this,o[i+s],e,s),l===I&&(l=this._$AH[s]),n||(n=!z(l)||l!==this._$AH[s]),l===W?t=W:t!==W&&(t+=(null!=l?l:"")+r[s+1]),this._$AH[s]=l}n&&!o&&this.C(t)}C(t){t===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class G extends Y{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===W?void 0:t}}const Q=C?C.emptyScript:"";class tt extends Y{constructor(){super(...arguments),this.type=4}C(t){t&&t!==W?this.element.setAttribute(this.name,Q):this.element.removeAttribute(this.name)}}class et extends Y{constructor(t,e,i,o,r){super(t,e,i,o,r),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=J(this,t,e,0))&&void 0!==i?i:W)===I)return;const o=this._$AH,r=t===W&&o!==W||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==W&&(o===W||r);r&&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 it{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){J(this,t)}}const ot=window.litHtmlPolyfillSupport;
60
61
  /**
61
62
  * @license
62
63
  * Copyright 2017 Google LLC
63
64
  * SPDX-License-Identifier: BSD-3-Clause
64
65
  */
65
- var nt,st;null==ot||ot(V,J),(null!==(O=globalThis.litHtmlVersions)&&void 0!==O?O:globalThis.litHtmlVersions=[]).push("2.2.4");class rt extends S{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,n;const s=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let r=s._$litPart$;if(void 0===r){const t=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:null;s._$litPart$=r=new J(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 I}}rt.finalized=!0,rt._$litElement$=!0,null===(nt=globalThis.litElementHydrateSupport)||void 0===nt||nt.call(globalThis,{LitElement:rt});const lt=globalThis.litElementPolyfillSupport;null==lt||lt({LitElement:rt}),(null!==(st=globalThis.litElementVersions)&&void 0!==st?st:globalThis.litElementVersions=[]).push("3.2.0");class at{constructor(t,e,i,o,n){this.name=t,this.category=e,this.fallbackVariable=i,this.defaultValue=o,this.context=n,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 at(t,e,void 0,i)}static extend(t,e,i){return new at(t,e.category,e,i)}static external(t,e){return new at(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return d`var(${c(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):c(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 pt(t,e){return c(`${t.name}: ${e}`)}const ft={colorPrimary:at.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:at.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:at.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:at.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:at.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:at.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:at.create("--ft-color-error","COLOR","#B00020"),colorOutline:at.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:at.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:at.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:at.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:at.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:at.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:at.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:at.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:at.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:at.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:at.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:at.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:at.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:at.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:at.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:at.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:at.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:at.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:at.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:at.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:at.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:at.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:at.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:at.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:at.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:at.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:at.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:at.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:at.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:at.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:at.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:at.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:at.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:at.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:at.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:at.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:at.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:at.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:at.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:at.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:at.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:at.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:at.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:at.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:at.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:at.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:at.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:at.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:at.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:at.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:at.create("--ft-border-radius-XL","SIZE","16px"),titleFont:at.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:at.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:at.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:at.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
66
+ var rt,nt;null==ot||ot(V,X),(null!==(S=globalThis.litHtmlVersions)&&void 0!==S?S:globalThis.litHtmlVersions=[]).push("2.2.4");class st 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,r;const n=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let s=n._$litPart$;if(void 0===s){const t=null!==(r=null==i?void 0:i.renderBefore)&&void 0!==r?r:null;n._$litPart$=s=new X(e.insertBefore(U(),t),t,void 0,null!=i?i:{})}return s._$AI(t),s})(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 I}}st.finalized=!0,st._$litElement$=!0,null===(rt=globalThis.litElementHydrateSupport)||void 0===rt||rt.call(globalThis,{LitElement:st});const lt=globalThis.litElementPolyfillSupport;null==lt||lt({LitElement:st}),(null!==(nt=globalThis.litElementVersions)&&void 0!==nt?nt:globalThis.litElementVersions=[]).push("3.2.0");class at{constructor(t,e,i,o,r){this.name=t,this.category=e,this.fallbackVariable=i,this.defaultValue=o,this.context=r,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 at(t,e,void 0,i)}static extend(t,e,i){return new at(t,e.category,e,i)}static external(t,e){return new at(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return d`var(${c(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):c(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 pt(t,e){return c(`${t.name}: ${e}`)}const ft={colorPrimary:at.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:at.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:at.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:at.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:at.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:at.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:at.create("--ft-color-error","COLOR","#B00020"),colorOutline:at.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:at.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:at.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:at.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:at.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:at.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:at.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:at.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:at.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:at.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:at.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:at.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:at.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:at.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:at.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:at.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:at.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:at.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:at.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:at.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:at.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:at.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:at.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:at.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:at.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:at.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:at.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:at.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:at.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:at.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:at.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:at.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:at.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:at.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:at.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:at.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:at.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:at.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:at.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:at.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:at.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:at.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:at.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:at.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:at.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:at.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:at.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:at.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:at.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:at.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:at.create("--ft-border-radius-XL","SIZE","16px"),titleFont:at.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:at.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:at.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:at.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
66
67
  /**
67
68
  * @license
68
69
  * Copyright 2021 Google LLC
69
70
  * SPDX-License-Identifier: BSD-3-Clause
70
- */class ht 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 n=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return u(n,this.constructor.elementStyles),n}}}(rt)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),P`
71
+ */var ht,ct,dt=function(t,e,i,o){for(var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(r=t[l])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};class ut 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 r=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return u(r,this.constructor.elementStyles),r}}}(st)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),P`
71
72
  ${t.map((t=>P`
72
73
  <style>${t}</style>
73
74
  `))}
74
75
  ${this.getTemplate()}
75
- `}updated(t){super.updated(t),setTimeout((()=>this.contentAvailableCallback(t)),0)}contentAvailableCallback(t){}}var ct,dt;d`
76
+ `}updated(t){super.updated(t),setTimeout((()=>{var e;this.contentAvailableCallback(t),(null===(e=this.exportpartsPrefix)||void 0===e?void 0:e.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}),0)}setExportpartsAttribute(t){var e,i,o,r,n,s;const l=t=>null!=t&&t.trim().length>0,a=t.filter(l).map((t=>t.trim()));if(0===a.length)return void this.removeAttribute("exportparts");const p=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(r=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==r?r:[],i=null!==(s=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];new Array(...e,...i).filter(l).map((t=>t.trim())).forEach((t=>p.add(t)))}if(0===p.size)return void this.removeAttribute("exportparts");const f=[...p.values()].flatMap((t=>a.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}contentAvailableCallback(t){}}dt([o()],ut.prototype,"exportpartsPrefix",void 0),dt([function(t,e){const i=()=>JSON.parse(JSON.stringify(t));return o({type:Object,converter:{fromAttribute:t=>{if(null==t)return i();try{return JSON.parse(t)}catch{return i()}},toAttribute:t=>JSON.stringify(t)},...null!=e?e:{}})}([])],ut.prototype,"exportpartsPrefixes",void 0),d`
76
77
  .ft-no-text-select {
77
78
  -webkit-touch-callout: none;
78
79
  -webkit-user-select: none;
@@ -81,126 +82,126 @@ var nt,st;null==ot||ot(V,J),(null!==(O=globalThis.litHtmlVersions)&&void 0!==O?O
81
82
  -ms-user-select: none;
82
83
  user-select: none;
83
84
  }
84
- `,navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(dt=null===(ct=window.safari)||void 0===ct?void 0:ct.pushNotification)||void 0===dt||dt.toString());
85
+ `,navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(ct=null===(ht=window.safari)||void 0===ht?void 0:ht.pushNotification)||void 0===ct||ct.toString());
85
86
  /**
86
87
  * @license
87
88
  * Copyright 2017 Google LLC
88
89
  * SPDX-License-Identifier: BSD-3-Clause
89
90
  */
90
- const ut=1,xt=2,yt=t=>(...e)=>({_$litDirective$:t,values:e});class gt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
91
+ const xt=1,yt=2,gt=t=>(...e)=>({_$litDirective$:t,values:e});class bt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
91
92
  /**
92
93
  * @license
93
94
  * Copyright 2018 Google LLC
94
95
  * SPDX-License-Identifier: BSD-3-Clause
95
- */const bt=yt(class extends gt{constructor(t){var e;if(super(t),t.type!==ut||"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 n=t.element.classList;this.et.forEach((t=>{t in e||(n.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?(n.add(t),this.et.add(t)):(n.remove(t),this.et.delete(t)))}return I}}),vt=Symbol.for(""),mt=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===vt)return null===(i=t)||void 0===i?void 0:i._$litStatic$},wt=t=>({_$litStatic$:t,r:vt}),$t=new Map,St=(t=>(e,...i)=>{const o=i.length;let n,s;const r=[],l=[];let a,p=0,f=!1;for(;p<o;){for(a=e[p];p<o&&void 0!==(s=i[p],n=mt(s));)a+=n+e[++p],f=!0;l.push(s),r.push(a),p++}if(p===o&&r.push(e[o]),f){const t=r.join("$$lit$$");void 0===(e=$t.get(t))&&(r.raw=r,$t.set(t,e=r)),i=l}return t(e,...i)})(P);
96
+ */const vt=gt(class extends bt{constructor(t){var e;if(super(t),t.type!==xt||"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 r=t.element.classList;this.et.forEach((t=>{t in e||(r.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?(r.add(t),this.et.add(t)):(r.remove(t),this.et.delete(t)))}return I}}),mt=Symbol.for(""),$t=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$},wt=t=>({_$litStatic$:t,r:mt}),Ot=new Map,St=(t=>(e,...i)=>{const o=i.length;let r,n;const s=[],l=[];let a,p=0,f=!1;for(;p<o;){for(a=e[p];p<o&&void 0!==(n=i[p],r=$t(n));)a+=r+e[++p],f=!0;l.push(n),s.push(a),p++}if(p===o&&s.push(e[o]),f){const t=s.join("$$lit$$");void 0===(e=Ot.get(t))&&(s.raw=s,Ot.set(t,e=s)),i=l}return t(e,...i)})(P);
96
97
  /**
97
98
  * @license
98
99
  * Copyright 2020 Google LLC
99
100
  * SPDX-License-Identifier: BSD-3-Clause
100
- */var Ot,Ct=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>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"}(Ot||(Ot={}));const kt=at.extend("--ft-typography-font-family",ft.titleFont),Et=at.extend("--ft-typography-font-family",ft.contentFont),Nt={fontFamily:Et,fontSize:at.create("--ft-typography-font-size","SIZE","16px"),fontWeight:at.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:at.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:at.create("--ft-typography-line-height","SIZE","24px"),textTransform:at.create("--ft-typography-text-transform","UNKNOWN","inherit")},Rt=at.extend("--ft-typography-title-font-family",kt),Mt=at.extend("--ft-typography-title-font-size",Nt.fontSize,"20px"),Ut=at.extend("--ft-typography-title-font-weight",Nt.fontWeight,"normal"),zt=at.extend("--ft-typography-title-letter-spacing",Nt.letterSpacing,"0.15px"),Ft=at.extend("--ft-typography-title-line-height",Nt.lineHeight,"24px"),jt=at.extend("--ft-typography-title-text-transform",Nt.textTransform,"inherit"),Bt=at.extend("--ft-typography-title-dense-font-family",kt),Dt=at.extend("--ft-typography-title-dense-font-size",Nt.fontSize,"14px"),Lt=at.extend("--ft-typography-title-dense-font-weight",Nt.fontWeight,"normal"),Tt=at.extend("--ft-typography-title-dense-letter-spacing",Nt.letterSpacing,"0.105px"),At=at.extend("--ft-typography-title-dense-line-height",Nt.lineHeight,"24px"),_t=at.extend("--ft-typography-title-dense-text-transform",Nt.textTransform,"inherit"),Pt=at.extend("--ft-typography-subtitle1-font-family",Et),It=at.extend("--ft-typography-subtitle1-font-size",Nt.fontSize,"16px"),Wt=at.extend("--ft-typography-subtitle1-font-weight",Nt.fontWeight,"600"),Ht=at.extend("--ft-typography-subtitle1-letter-spacing",Nt.letterSpacing,"0.144px"),Kt=at.extend("--ft-typography-subtitle1-line-height",Nt.lineHeight,"24px"),Zt=at.extend("--ft-typography-subtitle1-text-transform",Nt.textTransform,"inherit"),Vt=at.extend("--ft-typography-subtitle2-font-family",Et),qt=at.extend("--ft-typography-subtitle2-font-size",Nt.fontSize,"14px"),Xt=at.extend("--ft-typography-subtitle2-font-weight",Nt.fontWeight,"normal"),Jt=at.extend("--ft-typography-subtitle2-letter-spacing",Nt.letterSpacing,"0.098px"),Yt=at.extend("--ft-typography-subtitle2-line-height",Nt.lineHeight,"24px"),Gt=at.extend("--ft-typography-subtitle2-text-transform",Nt.textTransform,"inherit"),Qt={fontFamily:at.extend("--ft-typography-body1-font-family",Et),fontSize:at.extend("--ft-typography-body1-font-size",Nt.fontSize,"16px"),fontWeight:at.extend("--ft-typography-body1-font-weight",Nt.fontWeight,"normal"),letterSpacing:at.extend("--ft-typography-body1-letter-spacing",Nt.letterSpacing,"0.496px"),lineHeight:at.extend("--ft-typography-body1-line-height",Nt.lineHeight,"24px"),textTransform:at.extend("--ft-typography-body1-text-transform",Nt.textTransform,"inherit")},te=at.extend("--ft-typography-body2-font-family",Et),ee=at.extend("--ft-typography-body2-font-size",Nt.fontSize,"14px"),ie=at.extend("--ft-typography-body2-font-weight",Nt.fontWeight,"normal"),oe=at.extend("--ft-typography-body2-letter-spacing",Nt.letterSpacing,"0.252px"),ne=at.extend("--ft-typography-body2-line-height",Nt.lineHeight,"20px"),se=at.extend("--ft-typography-body2-text-transform",Nt.textTransform,"inherit"),re={fontFamily:at.extend("--ft-typography-caption-font-family",Et),fontSize:at.extend("--ft-typography-caption-font-size",Nt.fontSize,"12px"),fontWeight:at.extend("--ft-typography-caption-font-weight",Nt.fontWeight,"normal"),letterSpacing:at.extend("--ft-typography-caption-letter-spacing",Nt.letterSpacing,"0.396px"),lineHeight:at.extend("--ft-typography-caption-line-height",Nt.lineHeight,"16px"),textTransform:at.extend("--ft-typography-caption-text-transform",Nt.textTransform,"inherit")},le=at.extend("--ft-typography-breadcrumb-font-family",Et),ae=at.extend("--ft-typography-breadcrumb-font-size",Nt.fontSize,"10px"),pe=at.extend("--ft-typography-breadcrumb-font-weight",Nt.fontWeight,"normal"),fe=at.extend("--ft-typography-breadcrumb-letter-spacing",Nt.letterSpacing,"0.33px"),he=at.extend("--ft-typography-breadcrumb-line-height",Nt.lineHeight,"16px"),ce=at.extend("--ft-typography-breadcrumb-text-transform",Nt.textTransform,"inherit"),de=at.extend("--ft-typography-overline-font-family",Et),ue=at.extend("--ft-typography-overline-font-size",Nt.fontSize,"10px"),xe=at.extend("--ft-typography-overline-font-weight",Nt.fontWeight,"normal"),ye=at.extend("--ft-typography-overline-letter-spacing",Nt.letterSpacing,"1.5px"),ge=at.extend("--ft-typography-overline-line-height",Nt.lineHeight,"16px"),be=at.extend("--ft-typography-overline-text-transform",Nt.textTransform,"uppercase"),ve=at.extend("--ft-typography-button-font-family",Et),me=at.extend("--ft-typography-button-font-size",Nt.fontSize,"14px"),we=at.extend("--ft-typography-button-font-weight",Nt.fontWeight,"600"),$e=at.extend("--ft-typography-button-letter-spacing",Nt.letterSpacing,"1.246px"),Se=at.extend("--ft-typography-button-line-height",Nt.lineHeight,"16px"),Oe=at.extend("--ft-typography-button-text-transform",Nt.textTransform,"uppercase"),Ce=d`
101
+ */var Ct,Nt=function(t,e,i,o){for(var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(r=t[l])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};!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"}(Ct||(Ct={}));const kt=at.extend("--ft-typography-font-family",ft.titleFont),Et=at.extend("--ft-typography-font-family",ft.contentFont),Rt={fontFamily:Et,fontSize:at.create("--ft-typography-font-size","SIZE","16px"),fontWeight:at.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:at.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:at.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:at.create("--ft-typography-text-transform","UNKNOWN","inherit")},Mt=at.extend("--ft-typography-title-font-family",kt),Ut=at.extend("--ft-typography-title-font-size",Rt.fontSize,"20px"),zt=at.extend("--ft-typography-title-font-weight",Rt.fontWeight,"normal"),Ft=at.extend("--ft-typography-title-letter-spacing",Rt.letterSpacing,"0.15px"),jt=at.extend("--ft-typography-title-line-height",Rt.lineHeight,"1.2"),Bt=at.extend("--ft-typography-title-text-transform",Rt.textTransform,"inherit"),At=at.extend("--ft-typography-title-dense-font-family",kt),Dt=at.extend("--ft-typography-title-dense-font-size",Rt.fontSize,"14px"),Lt=at.extend("--ft-typography-title-dense-font-weight",Rt.fontWeight,"normal"),Tt=at.extend("--ft-typography-title-dense-letter-spacing",Rt.letterSpacing,"0.105px"),_t=at.extend("--ft-typography-title-dense-line-height",Rt.lineHeight,"1.7"),Pt=at.extend("--ft-typography-title-dense-text-transform",Rt.textTransform,"inherit"),It=at.extend("--ft-typography-subtitle1-font-family",Et),Wt=at.extend("--ft-typography-subtitle1-font-size",Rt.fontSize,"16px"),Ht=at.extend("--ft-typography-subtitle1-font-weight",Rt.fontWeight,"600"),Kt=at.extend("--ft-typography-subtitle1-letter-spacing",Rt.letterSpacing,"0.144px"),Zt=at.extend("--ft-typography-subtitle1-line-height",Rt.lineHeight,"1.5"),Vt=at.extend("--ft-typography-subtitle1-text-transform",Rt.textTransform,"inherit"),Jt=at.extend("--ft-typography-subtitle2-font-family",Et),qt=at.extend("--ft-typography-subtitle2-font-size",Rt.fontSize,"14px"),Xt=at.extend("--ft-typography-subtitle2-font-weight",Rt.fontWeight,"normal"),Yt=at.extend("--ft-typography-subtitle2-letter-spacing",Rt.letterSpacing,"0.098px"),Gt=at.extend("--ft-typography-subtitle2-line-height",Rt.lineHeight,"1.7"),Qt=at.extend("--ft-typography-subtitle2-text-transform",Rt.textTransform,"inherit"),te={fontFamily:at.extend("--ft-typography-body1-font-family",Et),fontSize:at.extend("--ft-typography-body1-font-size",Rt.fontSize,"16px"),fontWeight:at.extend("--ft-typography-body1-font-weight",Rt.fontWeight,"normal"),letterSpacing:at.extend("--ft-typography-body1-letter-spacing",Rt.letterSpacing,"0.496px"),lineHeight:at.extend("--ft-typography-body1-line-height",Rt.lineHeight,"1.5"),textTransform:at.extend("--ft-typography-body1-text-transform",Rt.textTransform,"inherit")},ee=at.extend("--ft-typography-body2-font-family",Et),ie=at.extend("--ft-typography-body2-font-size",Rt.fontSize,"14px"),oe=at.extend("--ft-typography-body2-font-weight",Rt.fontWeight,"normal"),re=at.extend("--ft-typography-body2-letter-spacing",Rt.letterSpacing,"0.252px"),ne=at.extend("--ft-typography-body2-line-height",Rt.lineHeight,"1.4"),se=at.extend("--ft-typography-body2-text-transform",Rt.textTransform,"inherit"),le={fontFamily:at.extend("--ft-typography-caption-font-family",Et),fontSize:at.extend("--ft-typography-caption-font-size",Rt.fontSize,"12px"),fontWeight:at.extend("--ft-typography-caption-font-weight",Rt.fontWeight,"normal"),letterSpacing:at.extend("--ft-typography-caption-letter-spacing",Rt.letterSpacing,"0.396px"),lineHeight:at.extend("--ft-typography-caption-line-height",Rt.lineHeight,"1.33"),textTransform:at.extend("--ft-typography-caption-text-transform",Rt.textTransform,"inherit")},ae=at.extend("--ft-typography-breadcrumb-font-family",Et),pe=at.extend("--ft-typography-breadcrumb-font-size",Rt.fontSize,"10px"),fe=at.extend("--ft-typography-breadcrumb-font-weight",Rt.fontWeight,"normal"),he=at.extend("--ft-typography-breadcrumb-letter-spacing",Rt.letterSpacing,"0.33px"),ce=at.extend("--ft-typography-breadcrumb-line-height",Rt.lineHeight,"1.6"),de=at.extend("--ft-typography-breadcrumb-text-transform",Rt.textTransform,"inherit"),ue=at.extend("--ft-typography-overline-font-family",Et),xe=at.extend("--ft-typography-overline-font-size",Rt.fontSize,"10px"),ye=at.extend("--ft-typography-overline-font-weight",Rt.fontWeight,"normal"),ge=at.extend("--ft-typography-overline-letter-spacing",Rt.letterSpacing,"1.5px"),be=at.extend("--ft-typography-overline-line-height",Rt.lineHeight,"1.6"),ve=at.extend("--ft-typography-overline-text-transform",Rt.textTransform,"uppercase"),me=at.extend("--ft-typography-button-font-family",Et),$e=at.extend("--ft-typography-button-font-size",Rt.fontSize,"14px"),we=at.extend("--ft-typography-button-font-weight",Rt.fontWeight,"600"),Oe=at.extend("--ft-typography-button-letter-spacing",Rt.letterSpacing,"1.246px"),Se=at.extend("--ft-typography-button-line-height",Rt.lineHeight,"1.15"),Ce=at.extend("--ft-typography-button-text-transform",Rt.textTransform,"uppercase"),Ne=d`
101
102
  .ft-typography--title {
102
- font-family: ${Rt};
103
- font-size: ${Mt};
104
- font-weight: ${Ut};
105
- letter-spacing: ${zt};
106
- line-height: ${Ft};
107
- text-transform: ${jt};
103
+ font-family: ${Mt};
104
+ font-size: ${Ut};
105
+ font-weight: ${zt};
106
+ letter-spacing: ${Ft};
107
+ line-height: ${jt};
108
+ text-transform: ${Bt};
108
109
  }
109
110
  `,ke=d`
110
111
  .ft-typography--title-dense {
111
- font-family: ${Bt};
112
+ font-family: ${At};
112
113
  font-size: ${Dt};
113
114
  font-weight: ${Lt};
114
115
  letter-spacing: ${Tt};
115
- line-height: ${At};
116
- text-transform: ${_t};
116
+ line-height: ${_t};
117
+ text-transform: ${Pt};
117
118
  }
118
119
  `,Ee=d`
119
120
  .ft-typography--subtitle1 {
120
- font-family: ${Pt};
121
- font-size: ${It};
122
- font-weight: ${Wt};
123
- letter-spacing: ${Ht};
124
- line-height: ${Kt};
125
- text-transform: ${Zt};
121
+ font-family: ${It};
122
+ font-size: ${Wt};
123
+ font-weight: ${Ht};
124
+ letter-spacing: ${Kt};
125
+ line-height: ${Zt};
126
+ text-transform: ${Vt};
126
127
  }
127
- `,Ne=d`
128
+ `,Re=d`
128
129
  .ft-typography--subtitle2 {
129
- font-family: ${Vt};
130
+ font-family: ${Jt};
130
131
  font-size: ${qt};
131
132
  font-weight: ${Xt};
132
- letter-spacing: ${Jt};
133
- line-height: ${Yt};
134
- text-transform: ${Gt};
133
+ letter-spacing: ${Yt};
134
+ line-height: ${Gt};
135
+ text-transform: ${Qt};
135
136
  }
136
137
 
137
- `,Re=d`
138
+ `,Me=d`
138
139
  .ft-typography--body1 {
139
- font-family: ${Qt.fontFamily};
140
- font-size: ${Qt.fontSize};
141
- font-weight: ${Qt.fontWeight};
142
- letter-spacing: ${Qt.letterSpacing};
143
- line-height: ${Qt.lineHeight};
144
- text-transform: ${Qt.textTransform};
140
+ font-family: ${te.fontFamily};
141
+ font-size: ${te.fontSize};
142
+ font-weight: ${te.fontWeight};
143
+ letter-spacing: ${te.letterSpacing};
144
+ line-height: ${te.lineHeight};
145
+ text-transform: ${te.textTransform};
145
146
  }
146
- `,Me=d`
147
+ `,Ue=d`
147
148
  .ft-typography--body2 {
148
- font-family: ${te};
149
- font-size: ${ee};
150
- font-weight: ${ie};
151
- letter-spacing: ${oe};
149
+ font-family: ${ee};
150
+ font-size: ${ie};
151
+ font-weight: ${oe};
152
+ letter-spacing: ${re};
152
153
  line-height: ${ne};
153
154
  text-transform: ${se};
154
155
  }
155
- `,Ue=d`
156
+ `,ze=d`
156
157
  .ft-typography--caption {
157
- font-family: ${re.fontFamily};
158
- font-size: ${re.fontSize};
159
- font-weight: ${re.fontWeight};
160
- letter-spacing: ${re.letterSpacing};
161
- line-height: ${re.lineHeight};
162
- text-transform: ${re.textTransform};
158
+ font-family: ${le.fontFamily};
159
+ font-size: ${le.fontSize};
160
+ font-weight: ${le.fontWeight};
161
+ letter-spacing: ${le.letterSpacing};
162
+ line-height: ${le.lineHeight};
163
+ text-transform: ${le.textTransform};
163
164
  }
164
- `,ze=d`
165
+ `,Fe=d`
165
166
  .ft-typography--breadcrumb {
166
- font-family: ${le};
167
- font-size: ${ae};
168
- font-weight: ${pe};
169
- letter-spacing: ${fe};
170
- line-height: ${he};
171
- text-transform: ${ce};
167
+ font-family: ${ae};
168
+ font-size: ${pe};
169
+ font-weight: ${fe};
170
+ letter-spacing: ${he};
171
+ line-height: ${ce};
172
+ text-transform: ${de};
172
173
  }
173
- `,Fe=d`
174
+ `,je=d`
174
175
  .ft-typography--overline {
175
- font-family: ${de};
176
- font-size: ${ue};
177
- font-weight: ${xe};
178
- letter-spacing: ${ye};
179
- line-height: ${ge};
180
- text-transform: ${be};
176
+ font-family: ${ue};
177
+ font-size: ${xe};
178
+ font-weight: ${ye};
179
+ letter-spacing: ${ge};
180
+ line-height: ${be};
181
+ text-transform: ${ve};
181
182
  }
182
- `,je=d`
183
+ `,Be=d`
183
184
  .ft-typography--button {
184
- font-family: ${ve};
185
- font-size: ${me};
185
+ font-family: ${me};
186
+ font-size: ${$e};
186
187
  font-weight: ${we};
187
- letter-spacing: ${$e};
188
+ letter-spacing: ${Oe};
188
189
  line-height: ${Se};
189
- text-transform: ${Oe};
190
+ text-transform: ${Ce};
190
191
  }
191
- `;class Be extends ht{constructor(){super(...arguments),this.variant=Ot.body1}render(){return this.element?St`
192
+ `;class Ae extends ut{constructor(){super(...arguments),this.variant=Ct.body1}render(){return this.element?St`
192
193
  <${wt(this.element)}
193
194
  class="ft-typography ft-typography--${this.variant}">
194
195
  <slot></slot>
195
196
  </${wt(this.element)}>
196
197
  `:St`
197
198
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
198
- `}}Be.styles=[Ce,ke,Ee,Ne,Re,Me,Ue,ze,Fe,je,d`
199
+ `}}Ae.styles=[Ne,ke,Ee,Re,Me,Ue,ze,Fe,je,Be,d`
199
200
  .ft-typography {
200
201
  vertical-align: inherit;
201
202
  }
202
- `],Ct([o()],Be.prototype,"element",void 0),Ct([o()],Be.prototype,"variant",void 0),l("ft-typography")(Be);var De=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const Le={fontSize:at.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:at.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:at.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:at.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:at.create("--ft-input-label-horizontal-spacing","SIZE","12px"),borderColor:at.extend("--ft-input-label-border-color",ft.colorOutline),textColor:at.extend("--ft-input-label-text-color",ft.colorOnSurfaceMedium),disabledTextColor:at.extend("--ft-input-label-disabled-text-color",ft.colorOnSurfaceDisabled),colorSurface:at.external(ft.colorSurface,"Design system"),borderRadiusS:at.external(ft.borderRadiusS,"Design system"),colorError:at.external(ft.colorError,"Design system")};class Te extends ht{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 P`
203
- <div class="${bt(t)}">
203
+ `],Nt([o()],Ae.prototype,"element",void 0),Nt([o()],Ae.prototype,"variant",void 0),l("ft-typography")(Ae);var De=function(t,e,i,o){for(var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(r=t[l])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const Le={fontSize:at.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:at.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:at.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:at.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:at.create("--ft-input-label-horizontal-spacing","SIZE","12px"),borderColor:at.extend("--ft-input-label-border-color",ft.colorOutline),textColor:at.extend("--ft-input-label-text-color",ft.colorOnSurfaceMedium),disabledTextColor:at.extend("--ft-input-label-disabled-text-color",ft.colorOnSurfaceDisabled),colorSurface:at.external(ft.colorSurface,"Design system"),borderRadiusS:at.external(ft.borderRadiusS,"Design system"),colorError:at.external(ft.colorError,"Design system")};class Te extends ut{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 P`
204
+ <div class="${vt(t)}">
204
205
  ${this.text?P`
205
206
  <div class="ft-input-label--text ft-typography--caption">
206
207
  <span class="ft-input-label--floating-text">${this.text}</span>
@@ -208,11 +209,17 @@ const ut=1,xt=2,yt=t=>(...e)=>({_$litDirective$:t,values:e});class gt{constructo
208
209
  </div>
209
210
  `:null}
210
211
  </div>
211
- `}}Te.elementDefinitions={},Te.styles=[Ue,d`
212
+ `}}Te.elementDefinitions={},Te.styles=[ze,d`
212
213
  .ft-input-label {
213
214
  position: absolute;
214
215
  inset: 0;
215
216
  display: flex;
217
+ background-color: ${Le.colorSurface};
218
+ border-radius: ${Le.borderRadiusS} ${Le.borderRadiusS} 0 0;
219
+ }
220
+
221
+ .ft-input-label--outlined {
222
+ border-radius: ${Le.borderRadiusS};
216
223
  }
217
224
 
218
225
  .ft-input-label {
@@ -251,8 +258,8 @@ const ut=1,xt=2,yt=t=>(...e)=>({_$litDirective$:t,values:e});class gt{constructo
251
258
  border-color: inherit;
252
259
  color: ${Le.textColor};
253
260
  transition: font-size 250ms, line-height 250ms, color 250ms;
254
- ${pt(re.fontSize,Le.fontSize)};
255
- ${pt(re.lineHeight,Le.fontSize)};
261
+ ${pt(le.fontSize,Le.fontSize)};
262
+ ${pt(le.lineHeight,Le.fontSize)};
256
263
  }
257
264
 
258
265
  .ft-input-label--in-error .ft-input-label--text {
@@ -281,8 +288,8 @@ const ut=1,xt=2,yt=t=>(...e)=>({_$litDirective$:t,values:e});class gt{constructo
281
288
  }
282
289
 
283
290
  .ft-input-label--raised .ft-input-label--text {
284
- ${pt(re.fontSize,Le.raisedFontSize)};
285
- ${pt(re.lineHeight,Le.raisedFontSize)};
291
+ ${pt(le.fontSize,Le.raisedFontSize)};
292
+ ${pt(le.lineHeight,Le.raisedFontSize)};
286
293
  }
287
294
 
288
295
  .ft-input-label--raised .ft-input-label--floating-text {
@@ -319,7 +326,7 @@ const ut=1,xt=2,yt=t=>(...e)=>({_$litDirective$:t,values:e});class gt{constructo
319
326
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
320
327
  border-top: none;
321
328
  }
322
- `],De([o({type:String})],Te.prototype,"text",void 0),De([o({type:Boolean})],Te.prototype,"raised",void 0),De([o({type:Boolean})],Te.prototype,"outlined",void 0),De([o({type:Boolean})],Te.prototype,"disabled",void 0),De([o({type:Boolean})],Te.prototype,"error",void 0),l("ft-input-label")(Te);var Ae=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const _e=at.extend("--ft-ripple-color",ft.colorContent),Pe={color:_e,backgroundColor:at.extend("--ft-ripple-background-color",_e),opacityContentOnSurfacePressed:at.external(ft.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:at.external(ft.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:at.external(ft.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:at.external(ft.opacityContentOnSurfaceSelected,"Design system")},Ie=at.extend("--ft-ripple-color",ft.colorPrimary),We=Ie,He=at.extend("--ft-ripple-background-color",Ie),Ke=at.extend("--ft-ripple-color",ft.colorSecondary),Ze=Ke,Ve=at.extend("--ft-ripple-background-color",Ke);class qe extends ht{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:n}=this.getCoordinates(t),s=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-s.x:s.width/2),this.originY=Math.round(null!=n?n-s.y:s.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 P`
329
+ `],De([o({type:String})],Te.prototype,"text",void 0),De([o({type:Boolean})],Te.prototype,"raised",void 0),De([o({type:Boolean})],Te.prototype,"outlined",void 0),De([o({type:Boolean})],Te.prototype,"disabled",void 0),De([o({type:Boolean})],Te.prototype,"error",void 0),l("ft-input-label")(Te);var _e=function(t,e,i,o){for(var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(r=t[l])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const Pe=at.extend("--ft-ripple-color",ft.colorContent),Ie={color:Pe,backgroundColor:at.extend("--ft-ripple-background-color",Pe),opacityContentOnSurfacePressed:at.external(ft.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:at.external(ft.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:at.external(ft.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:at.external(ft.opacityContentOnSurfaceSelected,"Design system")},We=at.extend("--ft-ripple-color",ft.colorPrimary),He=We,Ke=at.extend("--ft-ripple-background-color",We),Ze=at.extend("--ft-ripple-color",ft.colorSecondary),Ve=Ze,Je=at.extend("--ft-ripple-background-color",Ze);class qe extends ut{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:r}=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!=r?r-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 P`
323
330
  <style>
324
331
  .ft-ripple .ft-ripple--effect,
325
332
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -332,11 +339,11 @@ const ut=1,xt=2,yt=t=>(...e)=>({_$litDirective$:t,values:e});class gt{constructo
332
339
  top: ${this.originY}px;
333
340
  }
334
341
  </style>
335
- <div class="${bt(t)}">
342
+ <div class="${vt(t)}">
336
343
  <div class="ft-ripple--background"></div>
337
344
  <div class="ft-ripple--effect"></div>
338
345
  </div>
339
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",n),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",n),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let o,n;return null!=e.x?({x:o,y:n}=e):null!=i.touches&&(o=i.touches[0].clientX,n=i.touches[0].clientY),{x:o,y:n}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}qe.elementDefinitions={},qe.styles=d`
346
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let o,r;return null!=e.x?({x:o,y:r}=e):null!=i.touches&&(o=i.touches[0].clientX,r=i.touches[0].clientY),{x:o,y:r}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}qe.elementDefinitions={},qe.styles=d`
340
347
  :host {
341
348
  display: contents;
342
349
  }
@@ -358,27 +365,27 @@ const ut=1,xt=2,yt=t=>(...e)=>({_$litDirective$:t,values:e});class gt{constructo
358
365
  }
359
366
 
360
367
  .ft-ripple .ft-ripple--background {
361
- background-color: ${Pe.backgroundColor};
368
+ background-color: ${Ie.backgroundColor};
362
369
  }
363
370
 
364
371
  .ft-ripple .ft-ripple--effect {
365
- background-color: ${Pe.color};
372
+ background-color: ${Ie.color};
366
373
  }
367
374
 
368
375
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
369
- background-color: ${Ve};
376
+ background-color: ${Je};
370
377
  }
371
378
 
372
379
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
373
- background-color: ${Ze};
380
+ background-color: ${Ve};
374
381
  }
375
382
 
376
383
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
377
- background-color: ${He};
384
+ background-color: ${Ke};
378
385
  }
379
386
 
380
387
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
381
- background-color: ${We};
388
+ background-color: ${He};
382
389
  }
383
390
 
384
391
  .ft-ripple .ft-ripple--background {
@@ -410,42 +417,44 @@ const ut=1,xt=2,yt=t=>(...e)=>({_$litDirective$:t,values:e});class gt{constructo
410
417
  }
411
418
 
412
419
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
413
- opacity: ${Pe.opacityContentOnSurfaceHover};
420
+ opacity: ${Ie.opacityContentOnSurfaceHover};
414
421
  }
415
422
 
416
423
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
417
- opacity: ${Pe.opacityContentOnSurfaceSelected};
424
+ opacity: ${Ie.opacityContentOnSurfaceSelected};
418
425
  }
419
426
 
420
427
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
421
- opacity: ${Pe.opacityContentOnSurfaceFocused};
428
+ opacity: ${Ie.opacityContentOnSurfaceFocused};
422
429
  }
423
430
 
424
431
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
425
- opacity: ${Pe.opacityContentOnSurfacePressed};
432
+ opacity: ${Ie.opacityContentOnSurfacePressed};
426
433
  transform: translate(-50%, -50%) scale(1);
427
434
  }
428
- `,Ae([o({type:Boolean})],qe.prototype,"primary",void 0),Ae([o({type:Boolean})],qe.prototype,"secondary",void 0),Ae([o({type:Boolean})],qe.prototype,"unbounded",void 0),Ae([o({type:Boolean})],qe.prototype,"activated",void 0),Ae([o({type:Boolean})],qe.prototype,"selected",void 0),Ae([o({type:Boolean})],qe.prototype,"disabled",void 0),Ae([n()],qe.prototype,"hovered",void 0),Ae([n()],qe.prototype,"focused",void 0),Ae([n()],qe.prototype,"pressed",void 0),Ae([n()],qe.prototype,"rippling",void 0),Ae([n()],qe.prototype,"rippleSize",void 0),Ae([n()],qe.prototype,"originX",void 0),Ae([n()],qe.prototype,"originY",void 0),Ae([s(".ft-ripple")],qe.prototype,"ripple",void 0),Ae([s(".ft-ripple--effect")],qe.prototype,"rippleEffect",void 0),l("ft-ripple")(qe);
435
+ `,_e([o({type:Boolean})],qe.prototype,"primary",void 0),_e([o({type:Boolean})],qe.prototype,"secondary",void 0),_e([o({type:Boolean})],qe.prototype,"unbounded",void 0),_e([o({type:Boolean})],qe.prototype,"activated",void 0),_e([o({type:Boolean})],qe.prototype,"selected",void 0),_e([o({type:Boolean})],qe.prototype,"disabled",void 0),_e([r()],qe.prototype,"hovered",void 0),_e([r()],qe.prototype,"focused",void 0),_e([r()],qe.prototype,"pressed",void 0),_e([r()],qe.prototype,"rippling",void 0),_e([r()],qe.prototype,"rippleSize",void 0),_e([r()],qe.prototype,"originX",void 0),_e([r()],qe.prototype,"originY",void 0),_e([n(".ft-ripple")],qe.prototype,"ripple",void 0),_e([n(".ft-ripple--effect")],qe.prototype,"rippleEffect",void 0),l("ft-ripple")(qe);
429
436
  /**
430
437
  * @license
431
438
  * Copyright 2017 Google LLC
432
439
  * SPDX-License-Identifier: BSD-3-Clause
433
440
  */
434
- class Xe extends gt{constructor(t){if(super(t),this.it=W,t.type!==xt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===W||null==t)return this.ft=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.ft;this.it=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Xe.directiveName="unsafeHTML",Xe.resultType=1;const Je=yt(Xe);var Ye,Ge;!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;"}(Ye||(Ye={})),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;"}(Ge||(Ge={})),new Map([...["abw"].map((t=>[t,Ge.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,Ge.AUDIO])),...["avi"].map((t=>[t,Ge.AVI])),...["chm","xhs"].map((t=>[t,Ge.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,Ge.CODE])),...["csv"].map((t=>[t,Ge.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ge.DITA])),...["epub"].map((t=>[t,Ge.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ge.EXCEL])),...["flac"].map((t=>[t,Ge.FLAC])),...["gif"].map((t=>[t,Ge.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ge.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ge.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,Ge.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ge.JPEG])),...["json"].map((t=>[t,Ge.JSON])),...["m4a","m4p"].map((t=>[t,Ge.M4A])),...["mov","qt"].map((t=>[t,Ge.MOV])),...["mp3"].map((t=>[t,Ge.MP3])),...["mp4","m4v"].map((t=>[t,Ge.MP4])),...["ogg","oga"].map((t=>[t,Ge.OGG])),...["pdf","ps"].map((t=>[t,Ge.PDF])),...["png"].map((t=>[t,Ge.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ge.POWERPOINT])),...["rar"].map((t=>[t,Ge.RAR])),...["stp"].map((t=>[t,Ge.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ge.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,Ge.VIDEO])),...["wav"].map((t=>[t,Ge.WAV])),...["wma"].map((t=>[t,Ge.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ge.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ge.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ge.YAML])),...["zip"].map((t=>[t,Ge.ZIP]))]);var Qe,ti=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Qe||(Qe={}));const ei=at.create("--ft-icon-font-size","SIZE","24px"),ii=at.extend("--ft-icon-fluid-topics-font-family",at.create("--ft-icon-font-family","UNKNOWN","ft-icons")),oi=at.extend("--ft-icon-file-format-font-family",at.create("--ft-icon-font-family","UNKNOWN","ft-mime")),ni=at.extend("--ft-icon-material-font-family",at.create("--ft-icon-font-family","UNKNOWN","Material Icons"));class si extends ht{constructor(){super(...arguments),this.variant=Qe.fluid_topics}render(){return P`
441
+ class Xe extends bt{constructor(t){if(super(t),this.it=W,t.type!==yt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===W||null==t)return this.ft=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.ft;this.it=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Xe.directiveName="unsafeHTML",Xe.resultType=1;const Ye=gt(Xe);var Ge,Qe;!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;"}(Qe||(Qe={})),new Map([...["abw"].map((t=>[t,Qe.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,Qe.AUDIO])),...["avi"].map((t=>[t,Qe.AVI])),...["chm","xhs"].map((t=>[t,Qe.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,Qe.CODE])),...["csv"].map((t=>[t,Qe.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Qe.DITA])),...["epub"].map((t=>[t,Qe.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Qe.EXCEL])),...["flac"].map((t=>[t,Qe.FLAC])),...["gif"].map((t=>[t,Qe.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Qe.GZIP])),...["html","htm","xhtml"].map((t=>[t,Qe.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,Qe.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Qe.JPEG])),...["json"].map((t=>[t,Qe.JSON])),...["m4a","m4p"].map((t=>[t,Qe.M4A])),...["mov","qt"].map((t=>[t,Qe.MOV])),...["mp3"].map((t=>[t,Qe.MP3])),...["mp4","m4v"].map((t=>[t,Qe.MP4])),...["ogg","oga"].map((t=>[t,Qe.OGG])),...["pdf","ps"].map((t=>[t,Qe.PDF])),...["png"].map((t=>[t,Qe.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Qe.POWERPOINT])),...["rar"].map((t=>[t,Qe.RAR])),...["stp"].map((t=>[t,Qe.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Qe.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,Qe.VIDEO])),...["wav"].map((t=>[t,Qe.WAV])),...["wma"].map((t=>[t,Qe.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Qe.WORD])),...["xml","xsl","rdf"].map((t=>[t,Qe.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Qe.YAML])),...["zip"].map((t=>[t,Qe.ZIP]))]);var ti,ei=function(t,e,i,o){for(var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(r=t[l])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ti||(ti={}));const ii=at.create("--ft-icon-font-size","SIZE","24px"),oi=at.extend("--ft-icon-fluid-topics-font-family",at.create("--ft-icon-font-family","UNKNOWN","ft-icons")),ri=at.extend("--ft-icon-file-format-font-family",at.create("--ft-icon-font-family","UNKNOWN","ft-mime")),ni=at.extend("--ft-icon-material-font-family",at.create("--ft-icon-font-family","UNKNOWN","Material Icons"));class si extends ut{constructor(){super(...arguments),this.variant=ti.fluid_topics}render(){return P`
435
442
  <i class="ft-icon ${"ft-icon--"+this.variant}">
436
- ${Je(this.getIcon())}
443
+ ${Ye(this.getIcon())}
437
444
  <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
438
445
  </i>
439
- `}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===Qe.file_format?null!==(t=Ge[i.toUpperCase()])&&void 0!==t?t:i:this.variant===Qe.fluid_topics?null!==(e=Ye[i.toUpperCase()])&&void 0!==e?e:i:W}}si.elementDefinitions={},si.styles=d`
440
- :host, i.ft-icon {
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===ti.file_format?null!==(t=Qe[i.toUpperCase()])&&void 0!==t?t:i:this.variant===ti.fluid_topics?null!==(e=Ge[i.toUpperCase()])&&void 0!==e?e:i:W}}si.elementDefinitions={},si.styles=d`
447
+ :host {
441
448
  display: inline-block;
442
- width: ${ei};
443
- height: ${ei};
449
+ }
450
+ :host, i.ft-icon {
451
+ width: ${ii};
452
+ height: ${ii};
444
453
  text-align: center;
445
454
  }
446
455
 
447
456
  i.ft-icon {
448
- font-size: ${ei};
457
+ font-size: ${ii};
449
458
  line-height: 1;
450
459
  font-weight: normal;
451
460
  text-transform: none;
@@ -459,18 +468,18 @@ class Xe extends gt{constructor(t){if(super(t),this.it=W,t.type!==xt)throw Error
459
468
  }
460
469
 
461
470
  .ft-icon--fluid-topics {
462
- font-family: ${ii}, ft-icons, fticons, sans-serif;
471
+ font-family: ${oi}, ft-icons, fticons, sans-serif;
463
472
  }
464
473
 
465
474
  .ft-icon--file-format {
466
- font-family: ${oi}, ft-mime, sans-serif;
475
+ font-family: ${ri}, ft-mime, sans-serif;
467
476
  }
468
477
 
469
478
  .ft-icon--material {
470
479
  font-family: ${ni}, "Material Icons", sans-serif;
471
480
  }
472
- `,ti([o()],si.prototype,"variant",void 0),ti([s("slot")],si.prototype,"slottedContent",void 0),l("ft-icon")(si);var ri=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const li={fontSize:at.create("--ft-text-field-font-size","SIZE","14px"),labelSize:at.create("--ft-text-field-label-size","SIZE","11px"),verticalSpacing:at.create("--ft-text-field-vertical-spacing","SIZE","4px"),horizontalSpacing:at.create("--ft-text-field-horizontal-spacing","SIZE","16px"),helperColor:at.extend("--ft-text-field-helper-color",ft.colorOnSurfaceMedium),colorPrimary:at.external(ft.colorPrimary,"Design system"),colorOnSurface:at.external(ft.colorOnSurface,"Design system"),colorOnSurfaceDisabled:at.external(ft.colorOnSurfaceDisabled,"Design system"),borderRadiusS:at.external(ft.borderRadiusS,"Design system"),colorError:at.external(ft.colorError,"Design system"),prefixColor:at.extend("--ft-text-field-prefix-color",ft.colorOnSurfaceMedium),iconColor:at.extend("--ft-text-field-icon-color",ft.colorOnSurfaceMedium)};class ai extends ht{constructor(){super(...arguments),this.label="",this.value="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix="",this.icon="",this.iconVariant="",this.focused=!1}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}render(){const t={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--no-label":!this.label,"ft-text-field--in-error":this.error,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--raised-label":this.focused||""!=this.value};return P`
473
- <div class="${bt(t)}">
481
+ `,ei([o()],si.prototype,"variant",void 0),ei([n("slot")],si.prototype,"slottedContent",void 0),l("ft-icon")(si);var li=function(t,e,i,o){for(var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(r=t[l])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const ai={fontSize:at.create("--ft-text-field-font-size","SIZE","14px"),labelSize:at.create("--ft-text-field-label-size","SIZE","11px"),verticalSpacing:at.create("--ft-text-field-vertical-spacing","SIZE","4px"),horizontalSpacing:at.create("--ft-text-field-horizontal-spacing","SIZE","16px"),helperColor:at.extend("--ft-text-field-helper-color",ft.colorOnSurfaceMedium),colorPrimary:at.external(ft.colorPrimary,"Design system"),colorOnSurface:at.external(ft.colorOnSurface,"Design system"),colorOnSurfaceDisabled:at.external(ft.colorOnSurfaceDisabled,"Design system"),borderRadiusS:at.external(ft.borderRadiusS,"Design system"),colorError:at.external(ft.colorError,"Design system"),prefixColor:at.extend("--ft-text-field-prefix-color",ft.colorOnSurfaceMedium),iconColor:at.extend("--ft-text-field-icon-color",ft.colorOnSurfaceMedium)};class pi extends ut{constructor(){super(...arguments),this.label="",this.value="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix="",this.icon="",this.iconVariant="",this.focused=!1}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}render(){const t={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--no-label":!this.label,"ft-text-field--in-error":this.error,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--raised-label":this.focused||""!=this.value};return P`
482
+ <div class="${vt(t)}">
474
483
  <div class="ft-text-field--main-panel">
475
484
  <ft-input-label text="${this.label}"
476
485
  ?disabled=${this.disabled}
@@ -504,7 +513,7 @@ class Xe extends gt{constructor(t){if(super(t),this.it=W,t.type!==xt)throw Error
504
513
  <ft-typography class="ft-text-field--helper-text" variant="caption">${this.helper}
505
514
  </ft-typography>`:void 0}
506
515
  </div>
507
- `}updated(t){super.updated(t),t.has("value")&&this.dispatchEvent(new CustomEvent("live-change",{detail:this.value}))}updateValueFromInputField(){var t;this.value=(null===(t=this.input)||void 0===t?void 0:t.value)||"",this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}liveUpdateValueFromInputField(){var t;this.value=(null===(t=this.input)||void 0===t?void 0:t.value)||""}}ai.elementDefinitions={"ft-input-label":Te,"ft-ripple":qe,"ft-typography":Be,"ft-icon":si},ai.styles=[Re,d`
516
+ `}updated(t){super.updated(t),t.has("value")&&this.dispatchEvent(new CustomEvent("live-change",{detail:this.value}))}updateValueFromInputField(){var t;this.value=(null===(t=this.input)||void 0===t?void 0:t.value)||"",this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}liveUpdateValueFromInputField(){var t;this.value=(null===(t=this.input)||void 0===t?void 0:t.value)||""}}pi.elementDefinitions={"ft-input-label":Te,"ft-ripple":qe,"ft-typography":Ae,"ft-icon":si},pi.styles=[Me,d`
508
517
  *:focus {
509
518
  outline: none;
510
519
  }
@@ -516,16 +525,16 @@ class Xe extends gt{constructor(t){if(super(t),this.it=W,t.type!==xt)throw Error
516
525
  }
517
526
 
518
527
  ft-input-label {
519
- ${pt(Le.fontSize,li.fontSize)};
520
- ${pt(Le.raisedFontSize,li.labelSize)};
521
- ${pt(Le.verticalSpacing,li.verticalSpacing)};
522
- ${pt(Le.horizontalSpacing,d`calc(${li.horizontalSpacing} - 4px)`)};
528
+ ${pt(Le.fontSize,ai.fontSize)};
529
+ ${pt(Le.raisedFontSize,ai.labelSize)};
530
+ ${pt(Le.verticalSpacing,ai.verticalSpacing)};
531
+ ${pt(Le.horizontalSpacing,d`calc(${ai.horizontalSpacing} - 4px)`)};
523
532
  }
524
533
 
525
534
  .ft-text-field--main-panel {
526
535
  position: relative;
527
536
  display: flex;
528
- height: calc(4 * ${li.verticalSpacing} + ${li.labelSize} + ${li.fontSize});
537
+ height: calc(4 * ${ai.verticalSpacing} + ${ai.labelSize} + ${ai.fontSize});
529
538
  }
530
539
 
531
540
  .ft-text-field--input-panel {
@@ -537,8 +546,8 @@ class Xe extends gt{constructor(t){if(super(t),this.it=W,t.type!==xt)throw Error
537
546
  }
538
547
 
539
548
  .ft-text-field--input-panel ft-ripple {
540
- ${pt(Pe.opacityContentOnSurfaceHover,"0.08")};
541
- ${pt(Pe.opacityContentOnSurfacePressed,"0.04")};
549
+ ${pt(Ie.opacityContentOnSurfaceHover,"0.08")};
550
+ ${pt(Ie.opacityContentOnSurfacePressed,"0.04")};
542
551
  }
543
552
 
544
553
  .ft-text-field--input-wrapper {
@@ -548,20 +557,20 @@ class Xe extends gt{constructor(t){if(super(t),this.it=W,t.type!==xt)throw Error
548
557
  display: flex;
549
558
  align-items: center;
550
559
 
551
- ${pt(Qt.fontSize,li.fontSize)};
552
- ${pt(Qt.lineHeight,li.fontSize)};
560
+ ${pt(te.fontSize,ai.fontSize)};
561
+ ${pt(te.lineHeight,ai.fontSize)};
553
562
 
554
- padding: 0 ${li.horizontalSpacing};
563
+ padding: 0 ${ai.horizontalSpacing};
555
564
  }
556
565
 
557
566
  .ft-text-field--filled:not(.ft-text-field--no-label) .ft-text-field--input-wrapper {
558
567
  align-items: flex-end;
559
- padding: 0 ${li.horizontalSpacing} ${li.verticalSpacing} ${li.horizontalSpacing};
568
+ padding: 0 ${ai.horizontalSpacing} ${ai.verticalSpacing} ${ai.horizontalSpacing};
560
569
  }
561
570
 
562
571
  .ft-text-field--prefix {
563
572
  display: none;
564
- color: ${li.prefixColor}
573
+ color: ${ai.prefixColor}
565
574
  }
566
575
 
567
576
  .ft-text-field--with-prefix.ft-text-field--raised-label .ft-text-field--prefix {
@@ -575,15 +584,15 @@ class Xe extends gt{constructor(t){if(super(t),this.it=W,t.type!==xt)throw Error
575
584
  flex-shrink: 1;
576
585
  min-width: 0; /* flex sets this to auto an prevents input from shrinking properly */
577
586
 
578
- color: ${li.colorOnSurface};
579
- padding: calc(2 * ${li.verticalSpacing}) 0;
587
+ color: ${ai.colorOnSurface};
588
+ padding: calc(2 * ${ai.verticalSpacing}) 0;
580
589
  border: none;
581
590
  background: none;
582
591
  }
583
592
 
584
593
  .ft-text-field--filled:not(.ft-text-field--no-label) .ft-text-field--input {
585
594
  padding-bottom: 0;
586
- padding-top: calc(${li.labelSize} + 2 * ${li.verticalSpacing});
595
+ padding-top: calc(${ai.labelSize} + 2 * ${ai.verticalSpacing});
587
596
  }
588
597
 
589
598
  .ft-text-field--input::-webkit-calendar-picker-indicator,
@@ -592,7 +601,7 @@ class Xe extends gt{constructor(t){if(super(t),this.it=W,t.type!==xt)throw Error
592
601
  }
593
602
 
594
603
  .ft-text-field--disabled .ft-text-field--input {
595
- color: ${li.colorOnSurfaceDisabled};
604
+ color: ${ai.colorOnSurfaceDisabled};
596
605
  }
597
606
 
598
607
  .ft-text-field:not(.ft-text-field--disabled) .ft-text-field--input-panel {
@@ -600,31 +609,31 @@ class Xe extends gt{constructor(t){if(super(t),this.it=W,t.type!==xt)throw Error
600
609
  }
601
610
 
602
611
  .ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
603
- ${pt(Le.borderColor,li.colorPrimary)};
604
- ${pt(Le.textColor,li.colorPrimary)};
612
+ ${pt(Le.borderColor,ai.colorPrimary)};
613
+ ${pt(Le.textColor,ai.colorPrimary)};
605
614
  }
606
615
 
607
616
  .ft-text-field--filled .ft-text-field--input-panel {
608
- border-radius: ${li.borderRadiusS} ${li.borderRadiusS} 0 0;
617
+ border-radius: ${ai.borderRadiusS} ${ai.borderRadiusS} 0 0;
609
618
  }
610
619
 
611
620
  .ft-text-field--outlined .ft-text-field--input-panel {
612
- border-radius: ${li.borderRadiusS};
621
+ border-radius: ${ai.borderRadiusS};
613
622
  }
614
623
 
615
624
  .ft-text-field--helper-text {
616
- padding: 0 12px 0 ${li.horizontalSpacing};
617
- color: ${li.helperColor};
625
+ padding: 0 12px 0 ${ai.horizontalSpacing};
626
+ color: ${ai.helperColor};
618
627
  }
619
628
 
620
629
  .ft-text-field--in-error .ft-text-field--input,
621
630
  .ft-text-field--in-error .ft-text-field--helper-text,
622
631
  .ft-text-field--in-error .ft-text-field--prefix {
623
- color: ${li.colorError};
632
+ color: ${ai.colorError};
624
633
  }
625
634
 
626
635
  .ft-text-field--icon {
627
- padding-right: ${li.horizontalSpacing};
628
- color: ${li.iconColor};
636
+ padding-right: ${ai.horizontalSpacing};
637
+ color: ${ai.iconColor};
629
638
  }
630
- `],ri([o({type:String})],ai.prototype,"label",void 0),ri([o({reflect:!0})],ai.prototype,"value",void 0),ri([o({type:String})],ai.prototype,"helper",void 0),ri([o({type:Boolean})],ai.prototype,"outlined",void 0),ri([o({type:Boolean})],ai.prototype,"disabled",void 0),ri([o({type:Boolean})],ai.prototype,"error",void 0),ri([s(".ft-text-field--input")],ai.prototype,"input",void 0),ri([o({type:String})],ai.prototype,"prefix",void 0),ri([o({type:String})],ai.prototype,"icon",void 0),ri([o({type:String})],ai.prototype,"iconVariant",void 0),ri([n()],ai.prototype,"focused",void 0),l("ft-text-field")(ai),t.FtTextField=ai,t.FtTextFieldCssVariables=li,Object.defineProperty(t,"t",{value:!0})}({});
639
+ `],li([o({type:String})],pi.prototype,"label",void 0),li([o({reflect:!0})],pi.prototype,"value",void 0),li([o({type:String})],pi.prototype,"helper",void 0),li([o({type:Boolean})],pi.prototype,"outlined",void 0),li([o({type:Boolean})],pi.prototype,"disabled",void 0),li([o({type:Boolean})],pi.prototype,"error",void 0),li([n(".ft-text-field--input")],pi.prototype,"input",void 0),li([o({type:String})],pi.prototype,"prefix",void 0),li([o({type:String})],pi.prototype,"icon",void 0),li([o({type:String})],pi.prototype,"iconVariant",void 0),li([r()],pi.prototype,"focused",void 0),l("ft-text-field")(pi),t.FtTextField=pi,t.FtTextFieldCssVariables=ai,Object.defineProperty(t,"t",{value:!0})}({});