@fluid-topics/ft-filterable-table 0.1.18 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,17 +14,12 @@
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||[]);h(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 c=i.call(o,t);c||(c=d(t),e.call(o,t,c)),this===window.customElements&&(r.set(n,p),p.standInClass=c);const f=this._awaitingUpgrade.get(t);if(f){this._awaitingUpgrade.delete(t);for(const t of f)s.delete(t),u(t,p,!0)}const b=this._whenDefinedPromises.get(t);return void 0!==b&&(b.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){v.push(this),o.upgrade.apply(o,arguments),v.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,c=t=>{let e=t.getRootNode();if(!p(e)){const t=v[v.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),p(e)||(e=l.get(e)?.getRootNode()||document)}return e.customElements},d=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=c(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)}},h=(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)})},f=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):f(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),a=t;try{new e.elementClass}catch(t){f(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)},b=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=b.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let v=[document];const y=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){v.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&l.set(t,this),v.pop(),t}};y(ShadowRoot,"createElement",document),y(ShadowRoot,"importNode",document),y(Element,"insertAdjacentHTML");const g=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){v.push(this),i.set.call(this,t),v.pop()}})};if(g(Element,"innerHTML"),g(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(Ut){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,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||[]);h(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 c=i.call(o,t);c||(c=d(t),e.call(o,t,c)),this===window.customElements&&(r.set(n,p),p.standInClass=c);const f=this._awaitingUpgrade.get(t);if(f){this._awaitingUpgrade.delete(t);for(const t of f)s.delete(t),u(t,p,!0)}const b=this._whenDefinedPromises.get(t);return void 0!==b&&(b.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){v.push(this),o.upgrade.apply(o,arguments),v.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,c=t=>{let e=t.getRootNode();if(!p(e)){const t=v[v.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),p(e)||(e=l.get(e)?.getRootNode()||document)}return e.customElements},d=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=c(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)}},h=(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)})},f=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):f(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),a=t;try{new e.elementClass}catch(t){f(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)},b=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=b.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let v=[document];const x=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){v.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&l.set(t,this),v.pop(),t}};x(ShadowRoot,"createElement",document),x(ShadowRoot,"importNode",document),x(Element,"insertAdjacentHTML");const y=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){v.push(this),i.set.call(this,t),v.pop()}})};if(y(Element,"innerHTML"),y(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(Ut){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
21
21
  * SPDX-License-Identifier: BSD-3-Clause
22
- */const i=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(i){i.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(i){i.createProperty(e.key,t)}};
23
- /**
24
- * @license
25
- * Copyright 2017 Google LLC
26
- * SPDX-License-Identifier: BSD-3-Clause
27
- */function o(t){return(e,o)=>void 0!==o?((t,e,i)=>{e.constructor.createProperty(i,t)})(t,e,o):i(t,e)
22
+ */const i=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(i){i.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(i){i.createProperty(e.key,t)}};function o(t){return(e,o)=>void 0!==o?((t,e,i)=>{e.constructor.createProperty(i,t)})(t,e,o):i(t,e)
28
23
  /**
29
24
  * @license
30
25
  * Copyright 2017 Google LLC
@@ -49,18 +44,18 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
49
44
  * @license
50
45
  * Copyright 2019 Google LLC
51
46
  * SPDX-License-Identifier: BSD-3-Clause
52
- */,c=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,d=Symbol(),h=new Map;class f{constructor(t,e){if(this._$cssResult$=!0,e!==d)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=h.get(this.cssText);return c&&void 0===t&&(h.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const u=t=>new f("string"==typeof t?t:t+"",d),b=(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 f(i,d)},v=(t,e)=>{c?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=window.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},y=c?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return u(e)})(t):t
47
+ */,c=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,d=Symbol(),h=new Map;class f{constructor(t,e){if(this._$cssResult$=!0,e!==d)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=h.get(this.cssText);return c&&void 0===t&&(h.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const u=t=>new f("string"==typeof t?t:t+"",d),b=(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 f(i,d)},v=(t,e)=>{c?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=c?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return u(e)})(t):t
53
48
  /**
54
49
  * @license
55
50
  * Copyright 2017 Google LLC
56
51
  * SPDX-License-Identifier: BSD-3-Clause
57
- */;var g;const x=window.trustedTypes,m=x?x.emptyScript:"",$=window.reactiveElementPolyfillSupport,w={toAttribute(t,e){switch(e){case Boolean:t=t?m: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}},O=(t,e)=>e!==t&&(e==e||t==t),S={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:O};class k 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=S){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)||S}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(y(t))}else void 0!==t&&e.push(y(t));return e}static _$Eh(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$Eg)||void 0===e||e.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return v(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=S){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:w.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:w.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||O)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$E_&&(this._$E_=new Map),this._$E_.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$Ep=this._$EC())}async _$EC(){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._$E_&&(this._$E_.forEach(((t,e)=>this._$ES(e,this[e],t))),this._$E_=void 0),this._$EU()}updated(t){}firstUpdated(t){}}
52
+ */;var y;const g=window.trustedTypes,m=g?g.emptyScript:"",$=window.reactiveElementPolyfillSupport,w={toAttribute(t,e){switch(e){case Boolean:t=t?m: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}},O=(t,e)=>e!==t&&(e==e||t==t),S={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:O};class k 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=S){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)||S}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 v(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=S){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:w.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:w.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||O)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$E_&&(this._$E_=new Map),this._$E_.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$Ep=this._$EC())}async _$EC(){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._$E_&&(this._$E_.forEach(((t,e)=>this._$ES(e,this[e],t))),this._$E_=void 0),this._$EU()}updated(t){}firstUpdated(t){}}
58
53
  /**
59
54
  * @license
60
55
  * Copyright 2017 Google LLC
61
56
  * SPDX-License-Identifier: BSD-3-Clause
62
57
  */
63
- var C;k.finalized=!0,k.elementProperties=new Map,k.elementStyles=[],k.shadowRootOptions={mode:"open"},null==$||$({ReactiveElement:k}),(null!==(g=globalThis.reactiveElementVersions)&&void 0!==g?g:globalThis.reactiveElementVersions=[]).push("1.2.2");const E=globalThis.trustedTypes,R=E?E.createPolicy("lit-html",{createHTML:t=>t}):void 0,N=`lit$${(Math.random()+"").slice(9)}$`,z="?"+N,M=`<${z}>`,F=document,U=(t="")=>F.createComment(t),D=t=>null===t||"object"!=typeof t&&"function"!=typeof t,B=Array.isArray,L=t=>{var e;return B(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])},T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,A=/-->/g,j=/>/g,_=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,I=/'/g,P=/"/g,H=/^(?:script|style|textarea|title)$/i,W=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),Z=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),V=new WeakMap,X=F.createTreeWalker(F,129,null,!1),q=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",r=T;for(let e=0;e<i;e++){const i=t[e];let l,a,p=-1,c=0;for(;c<i.length&&(r.lastIndex=c,a=r.exec(i),null!==a);)c=r.lastIndex,r===T?"!--"===a[1]?r=A:void 0!==a[1]?r=j:void 0!==a[2]?(H.test(a[2])&&(n=RegExp("</"+a[2],"g")),r=_):void 0!==a[3]&&(r=_):r===_?">"===a[0]?(r=null!=n?n:T,p=-1):void 0===a[1]?p=-2:(p=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?_:'"'===a[3]?P:I):r===P||r===I?r=_:r===A||r===j?r=T:(r=_,n=void 0);const d=r===_&&t[e+1].startsWith("/>")?" ":"";s+=r===T?i+M:p>=0?(o.push(l),i.slice(0,p)+"$lit$"+i.slice(p)+N+d):i+N+(-2===p?(o.push(void 0),e):d)}const l=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==R?R.createHTML(l):l,o]};class J{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]=q(t,e);if(this.el=J.createElement(a,i),X.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=X.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(N)){const i=p[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(N),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?et:"?"===e[1]?ot:"@"===e[1]?nt:tt})}else l.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(H.test(o.tagName)){const t=o.textContent.split(N),e=t.length-1;if(e>0){o.textContent=E?E.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],U()),X.nextNode(),l.push({type:2,index:++n});o.append(t[e],U())}}}else if(8===o.nodeType)if(o.data===z)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(N,t+1));)l.push({type:7,index:n}),t+=N.length-1}n++}}static createElement(t,e){const i=F.createElement("template");return i.innerHTML=t,i}}function Y(t,e,i=t,o){var n,s,r,l;if(e===Z)return e;let a=void 0!==o?null===(n=i._$Cl)||void 0===n?void 0:n[o]:i._$Cu;const p=D(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=Y(t,a._$AS(t,e.values),a,o)),e}class G{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:F).importNode(i,!0);X.currentNode=n;let s=X.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new Q(s,s.nextSibling,this,t):1===a.type?e=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(e=new st(s,this,t)),this.v.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(s=X.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 Q{constructor(t,e,i,o){var n;this.type=2,this._$AH=K,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=Y(this,t,e),D(t)?t===K||null==t||""===t?(this._$AH!==K&&this._$AR(),this._$AH=K):t!==this._$AH&&t!==Z&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):L(t)?this.A(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==K&&D(this._$AH)?this._$AA.nextSibling.data=t:this.S(F.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=J.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 G(n,this),e=t.p(this.options);t.m(i),this.S(e),this._$AH=t}}_$AC(t){let e=V.get(t.strings);return void 0===e&&V.set(t.strings,e=new J(t)),e}A(t){B(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 Q(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 tt{constructor(t,e,i,o,n){this.type=1,this._$AH=K,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=K}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=Y(this,t,e,0),s=!D(t)||t!==this._$AH&&t!==Z,s&&(this._$AH=t);else{const o=t;let r,l;for(t=n[0],r=0;r<n.length-1;r++)l=Y(this,o[i+r],e,r),l===Z&&(l=this._$AH[r]),s||(s=!D(l)||l!==this._$AH[r]),l===K?t=K:t!==K&&(t+=(null!=l?l:"")+n[r+1]),this._$AH[r]=l}s&&!o&&this.k(t)}k(t){t===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class et extends tt{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===K?void 0:t}}const it=E?E.emptyScript:"";class ot extends tt{constructor(){super(...arguments),this.type=4}k(t){t&&t!==K?this.element.setAttribute(this.name,it):this.element.removeAttribute(this.name)}}class nt extends tt{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=Y(this,t,e,0))&&void 0!==i?i:K)===Z)return;const o=this._$AH,n=t===K&&o!==K||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==K&&(o===K||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 st{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){Y(this,t)}}const rt={P:"$lit$",V:N,L:z,I:1,N:q,R:G,D:L,j:Y,H:Q,O:tt,F:ot,B:nt,W:et,Z:st},lt=window.litHtmlPolyfillSupport;
58
+ var C;k.finalized=!0,k.elementProperties=new Map,k.elementStyles=[],k.shadowRootOptions={mode:"open"},null==$||$({ReactiveElement:k}),(null!==(y=globalThis.reactiveElementVersions)&&void 0!==y?y:globalThis.reactiveElementVersions=[]).push("1.2.2");const E=globalThis.trustedTypes,N=E?E.createPolicy("lit-html",{createHTML:t=>t}):void 0,R=`lit$${(Math.random()+"").slice(9)}$`,z="?"+R,F=`<${z}>`,M=document,U=(t="")=>M.createComment(t),D=t=>null===t||"object"!=typeof t&&"function"!=typeof t,B=Array.isArray,j=t=>{var e;return B(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])},T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,L=/-->/g,A=/>/g,I=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,_=/'/g,P=/"/g,H=/^(?:script|style|textarea|title)$/i,W=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),Z=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),V=new WeakMap,q=M.createTreeWalker(M,129,null,!1),X=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",r=T;for(let e=0;e<i;e++){const i=t[e];let l,a,p=-1,c=0;for(;c<i.length&&(r.lastIndex=c,a=r.exec(i),null!==a);)c=r.lastIndex,r===T?"!--"===a[1]?r=L:void 0!==a[1]?r=A:void 0!==a[2]?(H.test(a[2])&&(n=RegExp("</"+a[2],"g")),r=I):void 0!==a[3]&&(r=I):r===I?">"===a[0]?(r=null!=n?n:T,p=-1):void 0===a[1]?p=-2:(p=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?I:'"'===a[3]?P:_):r===P||r===_?r=I:r===L||r===A?r=T:(r=I,n=void 0);const d=r===I&&t[e+1].startsWith("/>")?" ":"";s+=r===T?i+F:p>=0?(o.push(l),i.slice(0,p)+"$lit$"+i.slice(p)+R+d):i+R+(-2===p?(o.push(void 0),e):d)}const l=s+(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 J{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]=X(t,e);if(this.el=J.createElement(a,i),q.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=q.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(R)){const i=p[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(R),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?et:"?"===e[1]?ot:"@"===e[1]?nt:tt})}else l.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(H.test(o.tagName)){const t=o.textContent.split(R),e=t.length-1;if(e>0){o.textContent=E?E.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],U()),q.nextNode(),l.push({type:2,index:++n});o.append(t[e],U())}}}else if(8===o.nodeType)if(o.data===z)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(R,t+1));)l.push({type:7,index:n}),t+=R.length-1}n++}}static createElement(t,e){const i=M.createElement("template");return i.innerHTML=t,i}}function Y(t,e,i=t,o){var n,s,r,l;if(e===Z)return e;let a=void 0!==o?null===(n=i._$Cl)||void 0===n?void 0:n[o]:i._$Cu;const p=D(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=Y(t,a._$AS(t,e.values),a,o)),e}class G{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);q.currentNode=n;let s=q.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new Q(s,s.nextSibling,this,t):1===a.type?e=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(e=new st(s,this,t)),this.v.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(s=q.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 Q{constructor(t,e,i,o){var n;this.type=2,this._$AH=K,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=Y(this,t,e),D(t)?t===K||null==t||""===t?(this._$AH!==K&&this._$AR(),this._$AH=K):t!==this._$AH&&t!==Z&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):j(t)?this.A(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==K&&D(this._$AH)?this._$AA.nextSibling.data=t:this.S(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=J.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 G(n,this),e=t.p(this.options);t.m(i),this.S(e),this._$AH=t}}_$AC(t){let e=V.get(t.strings);return void 0===e&&V.set(t.strings,e=new J(t)),e}A(t){B(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 Q(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 tt{constructor(t,e,i,o,n){this.type=1,this._$AH=K,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=K}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=Y(this,t,e,0),s=!D(t)||t!==this._$AH&&t!==Z,s&&(this._$AH=t);else{const o=t;let r,l;for(t=n[0],r=0;r<n.length-1;r++)l=Y(this,o[i+r],e,r),l===Z&&(l=this._$AH[r]),s||(s=!D(l)||l!==this._$AH[r]),l===K?t=K:t!==K&&(t+=(null!=l?l:"")+n[r+1]),this._$AH[r]=l}s&&!o&&this.k(t)}k(t){t===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class et extends tt{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===K?void 0:t}}const it=E?E.emptyScript:"";class ot extends tt{constructor(){super(...arguments),this.type=4}k(t){t&&t!==K?this.element.setAttribute(this.name,it):this.element.removeAttribute(this.name)}}class nt extends tt{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=Y(this,t,e,0))&&void 0!==i?i:K)===Z)return;const o=this._$AH,n=t===K&&o!==K||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==K&&(o===K||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 st{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){Y(this,t)}}const rt={P:"$lit$",V:R,L:z,I:1,N:X,R:G,D:j,j:Y,H:Q,O:tt,F:ot,B:nt,W:et,Z:st},lt=window.litHtmlPolyfillSupport;
64
59
  /**
65
60
  * @license
66
61
  * Copyright 2017 Google LLC
@@ -85,7 +80,7 @@ var at,pt;null==lt||lt(J,Q),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
85
80
  -ms-user-select: none;
86
81
  user-select: none;
87
82
  }
88
- `;var yt,gt,xt;const mt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(xt=null===(gt=null===(yt=window.safari)||void 0===yt?void 0:yt.pushNotification)||void 0===gt?void 0:gt.toString())&&void 0!==xt?xt:""),$t=1,wt=2,Ot=t=>(...e)=>({_$litDirective$:t,values:e});
83
+ `;var xt,yt,gt;const mt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(gt=null===(yt=null===(xt=window.safari)||void 0===xt?void 0:xt.pushNotification)||void 0===yt?void 0:yt.toString())&&void 0!==gt?gt:""),$t=1,wt=2,Ot=t=>(...e)=>({_$litDirective$:t,values:e});
89
84
  /**
90
85
  * @license
91
86
  * Copyright 2017 Google LLC
@@ -95,7 +90,7 @@ var at,pt;null==lt||lt(J,Q),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
95
90
  * @license
96
91
  * Copyright 2020 Google LLC
97
92
  * SPDX-License-Identifier: BSD-3-Clause
98
- */const{H:kt}=rt,Ct=()=>document.createComment(""),Et=(t,e,i)=>{var o;const n=t._$AA.parentNode,s=void 0===e?t._$AB:e._$AA;if(void 0===i){const e=n.insertBefore(Ct(),s),o=n.insertBefore(Ct(),s);i=new kt(e,o,t,t.options)}else{const e=i._$AB.nextSibling,r=i._$AM,l=r!==t;if(l){let e;null===(o=i._$AQ)||void 0===o||o.call(i,t),i._$AM=t,void 0!==i._$AP&&(e=t._$AU)!==r._$AU&&i._$AP(e)}if(e!==s||l){let t=i._$AA;for(;t!==e;){const e=t.nextSibling;n.insertBefore(t,s),t=e}}}return i},Rt=(t,e,i=t)=>(t._$AI(e,i),t),Nt={},zt=t=>{var e;null===(e=t._$AP)||void 0===e||e.call(t,!1,!0);let i=t._$AA;const o=t._$AB.nextSibling;for(;i!==o;){const t=i.nextSibling;i.remove(),i=t}},Mt=(t,e,i)=>{const o=new Map;for(let n=e;n<=i;n++)o.set(t[n],n);return o},Ft=Ot(class extends St{constructor(t){if(super(t),t.type!==wt)throw Error("repeat() can only be used in text expressions")}dt(t,e,i){let o;void 0===i?i=e:void 0!==e&&(o=e);const n=[],s=[];let r=0;for(const e of t)n[r]=o?o(e,r):r,s[r]=i(e,r),r++;return{values:s,keys:n}}render(t,e,i){return this.dt(t,e,i).values}update(t,[e,i,o]){var n;const s=(t=>t._$AH)(t),{values:r,keys:l}=this.dt(e,i,o);if(!Array.isArray(s))return this.at=l,r;const a=null!==(n=this.at)&&void 0!==n?n:this.at=[],p=[];let c,d,h=0,f=s.length-1,u=0,b=r.length-1;for(;h<=f&&u<=b;)if(null===s[h])h++;else if(null===s[f])f--;else if(a[h]===l[u])p[u]=Rt(s[h],r[u]),h++,u++;else if(a[f]===l[b])p[b]=Rt(s[f],r[b]),f--,b--;else if(a[h]===l[b])p[b]=Rt(s[h],r[b]),Et(t,p[b+1],s[h]),h++,b--;else if(a[f]===l[u])p[u]=Rt(s[f],r[u]),Et(t,s[h],s[f]),f--,u++;else if(void 0===c&&(c=Mt(l,u,b),d=Mt(a,h,f)),c.has(a[h]))if(c.has(a[f])){const e=d.get(l[u]),i=void 0!==e?s[e]:null;if(null===i){const e=Et(t,s[h]);Rt(e,r[u]),p[u]=e}else p[u]=Rt(i,r[u]),Et(t,s[h],i),s[e]=null;u++}else zt(s[f]),f--;else zt(s[h]),h++;for(;u<=b;){const e=Et(t,p[b+1]);Rt(e,r[u]),p[u++]=e}for(;h<=f;){const t=s[h++];null!==t&&zt(t)}return this.at=l,((t,e=Nt)=>{t._$AH=e})(t,p),Z}});
93
+ */const{H:kt}=rt,Ct=()=>document.createComment(""),Et=(t,e,i)=>{var o;const n=t._$AA.parentNode,s=void 0===e?t._$AB:e._$AA;if(void 0===i){const e=n.insertBefore(Ct(),s),o=n.insertBefore(Ct(),s);i=new kt(e,o,t,t.options)}else{const e=i._$AB.nextSibling,r=i._$AM,l=r!==t;if(l){let e;null===(o=i._$AQ)||void 0===o||o.call(i,t),i._$AM=t,void 0!==i._$AP&&(e=t._$AU)!==r._$AU&&i._$AP(e)}if(e!==s||l){let t=i._$AA;for(;t!==e;){const e=t.nextSibling;n.insertBefore(t,s),t=e}}}return i},Nt=(t,e,i=t)=>(t._$AI(e,i),t),Rt={},zt=t=>{var e;null===(e=t._$AP)||void 0===e||e.call(t,!1,!0);let i=t._$AA;const o=t._$AB.nextSibling;for(;i!==o;){const t=i.nextSibling;i.remove(),i=t}},Ft=(t,e,i)=>{const o=new Map;for(let n=e;n<=i;n++)o.set(t[n],n);return o},Mt=Ot(class extends St{constructor(t){if(super(t),t.type!==wt)throw Error("repeat() can only be used in text expressions")}dt(t,e,i){let o;void 0===i?i=e:void 0!==e&&(o=e);const n=[],s=[];let r=0;for(const e of t)n[r]=o?o(e,r):r,s[r]=i(e,r),r++;return{values:s,keys:n}}render(t,e,i){return this.dt(t,e,i).values}update(t,[e,i,o]){var n;const s=(t=>t._$AH)(t),{values:r,keys:l}=this.dt(e,i,o);if(!Array.isArray(s))return this.at=l,r;const a=null!==(n=this.at)&&void 0!==n?n:this.at=[],p=[];let c,d,h=0,f=s.length-1,u=0,b=r.length-1;for(;h<=f&&u<=b;)if(null===s[h])h++;else if(null===s[f])f--;else if(a[h]===l[u])p[u]=Nt(s[h],r[u]),h++,u++;else if(a[f]===l[b])p[b]=Nt(s[f],r[b]),f--,b--;else if(a[h]===l[b])p[b]=Nt(s[h],r[b]),Et(t,p[b+1],s[h]),h++,b--;else if(a[f]===l[u])p[u]=Nt(s[f],r[u]),Et(t,s[h],s[f]),f--,u++;else if(void 0===c&&(c=Ft(l,u,b),d=Ft(a,h,f)),c.has(a[h]))if(c.has(a[f])){const e=d.get(l[u]),i=void 0!==e?s[e]:null;if(null===i){const e=Et(t,s[h]);Nt(e,r[u]),p[u]=e}else p[u]=Nt(i,r[u]),Et(t,s[h],i),s[e]=null;u++}else zt(s[f]),f--;else zt(s[h]),h++;for(;u<=b;){const e=Et(t,p[b+1]);Nt(e,r[u]),p[u++]=e}for(;h<=f;){const t=s[h++];null!==t&&zt(t)}return this.at=l,((t,e=Rt)=>{t._$AH=e})(t,p),Z}});
99
94
  /**
100
95
  * @license
101
96
  * Copyright 2017 Google LLC
@@ -106,21 +101,21 @@ var at,pt;null==lt||lt(J,Q),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
106
101
  * Copyright 2017 Google LLC
107
102
  * SPDX-License-Identifier: BSD-3-Clause
108
103
  */
109
- class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===K||null==t)return this.vt=void 0,this.it=t;if(t===Z)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this.vt;this.it=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Ut.directiveName="unsafeHTML",Ut.resultType=1;const Dt=Ot(Ut),Bt=Ot(class extends St{constructor(t){var e;if(super(t),t.type!==$t||"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.st){this.st=new Set,void 0!==t.strings&&(this.et=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.et)||void 0===i?void 0:i.has(t))&&this.st.add(t);return this.render(e)}const n=t.element.classList;this.st.forEach((t=>{t in e||(n.remove(t),this.st.delete(t))}));for(const t in e){const i=!!e[t];i===this.st.has(t)||(null===(o=this.et)||void 0===o?void 0:o.has(t))||(i?(n.add(t),this.st.add(t)):(n.remove(t),this.st.delete(t)))}return Z}}),Lt=t=>({_$litStatic$:t}),Tt=new Map,At=(t=>(e,...i)=>{var o;const n=i.length;let s,r;const l=[],a=[];let p,c=0,d=!1;for(;c<n;){for(p=e[c];c<n&&void 0!==(r=i[c],s=null===(o=r)||void 0===o?void 0:o._$litStatic$);)p+=s+e[++c],d=!0;a.push(r),l.push(p),c++}if(c===n&&l.push(e[n]),d){const t=l.join("$$lit$$");void 0===(e=Tt.get(t))&&(l.raw=l,Tt.set(t,e=l)),i=a}return t(e,...i)})(W);
104
+ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===K||null==t)return this.vt=void 0,this.it=t;if(t===Z)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this.vt;this.it=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Ut.directiveName="unsafeHTML",Ut.resultType=1;const Dt=Ot(Ut),Bt=Ot(class extends St{constructor(t){var e;if(super(t),t.type!==$t||"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.st){this.st=new Set,void 0!==t.strings&&(this.et=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.et)||void 0===i?void 0:i.has(t))&&this.st.add(t);return this.render(e)}const n=t.element.classList;this.st.forEach((t=>{t in e||(n.remove(t),this.st.delete(t))}));for(const t in e){const i=!!e[t];i===this.st.has(t)||(null===(o=this.et)||void 0===o?void 0:o.has(t))||(i?(n.add(t),this.st.add(t)):(n.remove(t),this.st.delete(t)))}return Z}}),jt=t=>({_$litStatic$:t}),Tt=new Map,Lt=(t=>(e,...i)=>{var o;const n=i.length;let s,r;const l=[],a=[];let p,c=0,d=!1;for(;c<n;){for(p=e[c];c<n&&void 0!==(r=i[c],s=null===(o=r)||void 0===o?void 0:o._$litStatic$);)p+=s+e[++c],d=!0;a.push(r),l.push(p),c++}if(c===n&&l.push(e[n]),d){const t=l.join("$$lit$$");void 0===(e=Tt.get(t))&&(l.raw=l,Tt.set(t,e=l)),i=a}return t(e,...i)})(W);
110
105
  /**
111
106
  * @license
112
107
  * Copyright 2018 Google LLC
113
108
  * SPDX-License-Identifier: BSD-3-Clause
114
- */var jt,_t=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"}(jt||(jt={}));const It=ht.extend("--ft-typography-font-family",ut.titleFont),Pt=ht.extend("--ft-typography-font-family",ut.contentFont),Ht={fontFamily:Pt,fontSize:ht.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ht.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ht.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ht.create("--ft-typography-line-height","SIZE","24px"),textTransform:ht.create("--ft-typography-text-transform","UNKNOWN","inherit")},Wt=ht.extend("--ft-typography-title-font-family",It),Zt=ht.extend("--ft-typography-title-font-size",Ht.fontSize,"20px"),Kt=ht.extend("--ft-typography-title-font-weight",Ht.fontWeight,"normal"),Vt=ht.extend("--ft-typography-title-letter-spacing",Ht.letterSpacing,"0.15px"),Xt=ht.extend("--ft-typography-title-line-height",Ht.lineHeight,"24px"),qt=ht.extend("--ft-typography-title-text-transform",Ht.textTransform,"inherit"),Jt=ht.extend("--ft-typography-title-dense-font-family",It),Yt=ht.extend("--ft-typography-title-dense-font-size",Ht.fontSize,"14px"),Gt=ht.extend("--ft-typography-title-dense-font-weight",Ht.fontWeight,"normal"),Qt=ht.extend("--ft-typography-title-dense-letter-spacing",Ht.letterSpacing,"0.105px"),te=ht.extend("--ft-typography-title-dense-line-height",Ht.lineHeight,"24px"),ee=ht.extend("--ft-typography-title-dense-text-transform",Ht.textTransform,"inherit"),ie=ht.extend("--ft-typography-subtitle1-font-family",Pt),oe=ht.extend("--ft-typography-subtitle1-font-size",Ht.fontSize,"16px"),ne=ht.extend("--ft-typography-subtitle1-font-weight",Ht.fontWeight,"600"),se=ht.extend("--ft-typography-subtitle1-letter-spacing",Ht.letterSpacing,"0.144px"),re=ht.extend("--ft-typography-subtitle1-line-height",Ht.lineHeight,"24px"),le=ht.extend("--ft-typography-subtitle1-text-transform",Ht.textTransform,"inherit"),ae=ht.extend("--ft-typography-subtitle2-font-family",Pt),pe=ht.extend("--ft-typography-subtitle2-font-size",Ht.fontSize,"14px"),ce=ht.extend("--ft-typography-subtitle2-font-weight",Ht.fontWeight,"normal"),de=ht.extend("--ft-typography-subtitle2-letter-spacing",Ht.letterSpacing,"0.098px"),he=ht.extend("--ft-typography-subtitle2-line-height",Ht.lineHeight,"24px"),fe=ht.extend("--ft-typography-subtitle2-text-transform",Ht.textTransform,"inherit"),ue={fontFamily:ht.extend("--ft-typography-body1-font-family",Pt),fontSize:ht.extend("--ft-typography-body1-font-size",Ht.fontSize,"16px"),fontWeight:ht.extend("--ft-typography-body1-font-weight",Ht.fontWeight,"normal"),letterSpacing:ht.extend("--ft-typography-body1-letter-spacing",Ht.letterSpacing,"0.496px"),lineHeight:ht.extend("--ft-typography-body1-line-height",Ht.lineHeight,"24px"),textTransform:ht.extend("--ft-typography-body1-text-transform",Ht.textTransform,"inherit")},be=ht.extend("--ft-typography-body2-font-family",Pt),ve=ht.extend("--ft-typography-body2-font-size",Ht.fontSize,"14px"),ye=ht.extend("--ft-typography-body2-font-weight",Ht.fontWeight,"normal"),ge=ht.extend("--ft-typography-body2-letter-spacing",Ht.letterSpacing,"0.252px"),xe=ht.extend("--ft-typography-body2-line-height",Ht.lineHeight,"20px"),me=ht.extend("--ft-typography-body2-text-transform",Ht.textTransform,"inherit"),$e={fontFamily:ht.extend("--ft-typography-caption-font-family",Pt),fontSize:ht.extend("--ft-typography-caption-font-size",Ht.fontSize,"12px"),fontWeight:ht.extend("--ft-typography-caption-font-weight",Ht.fontWeight,"normal"),letterSpacing:ht.extend("--ft-typography-caption-letter-spacing",Ht.letterSpacing,"0.396px"),lineHeight:ht.extend("--ft-typography-caption-line-height",Ht.lineHeight,"16px"),textTransform:ht.extend("--ft-typography-caption-text-transform",Ht.textTransform,"inherit")},we=ht.extend("--ft-typography-breadcrumb-font-family",Pt),Oe=ht.extend("--ft-typography-breadcrumb-font-size",Ht.fontSize,"10px"),Se=ht.extend("--ft-typography-breadcrumb-font-weight",Ht.fontWeight,"normal"),ke=ht.extend("--ft-typography-breadcrumb-letter-spacing",Ht.letterSpacing,"0.33px"),Ce=ht.extend("--ft-typography-breadcrumb-line-height",Ht.lineHeight,"16px"),Ee=ht.extend("--ft-typography-breadcrumb-text-transform",Ht.textTransform,"inherit"),Re=ht.extend("--ft-typography-overline-font-family",Pt),Ne=ht.extend("--ft-typography-overline-font-size",Ht.fontSize,"10px"),ze=ht.extend("--ft-typography-overline-font-weight",Ht.fontWeight,"normal"),Me=ht.extend("--ft-typography-overline-letter-spacing",Ht.letterSpacing,"1.5px"),Fe=ht.extend("--ft-typography-overline-line-height",Ht.lineHeight,"16px"),Ue=ht.extend("--ft-typography-overline-text-transform",Ht.textTransform,"uppercase"),De={fontFamily:ht.extend("--ft-typography-button-font-family",Pt),fontSize:ht.extend("--ft-typography-button-font-size",Ht.fontSize,"14px"),fontWeight:ht.extend("--ft-typography-button-font-weight",Ht.fontWeight,"600"),letterSpacing:ht.extend("--ft-typography-button-letter-spacing",Ht.letterSpacing,"1.246px"),lineHeight:ht.extend("--ft-typography-button-line-height",Ht.lineHeight,"16px"),textTransform:ht.extend("--ft-typography-button-text-transform",Ht.textTransform,"uppercase")},Be=b`
109
+ */var At,It=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"}(At||(At={}));const _t=ht.extend("--ft-typography-font-family",ut.titleFont),Pt=ht.extend("--ft-typography-font-family",ut.contentFont),Ht={fontFamily:Pt,fontSize:ht.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ht.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ht.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ht.create("--ft-typography-line-height","SIZE","24px"),textTransform:ht.create("--ft-typography-text-transform","UNKNOWN","inherit")},Wt=ht.extend("--ft-typography-title-font-family",_t),Zt=ht.extend("--ft-typography-title-font-size",Ht.fontSize,"20px"),Kt=ht.extend("--ft-typography-title-font-weight",Ht.fontWeight,"normal"),Vt=ht.extend("--ft-typography-title-letter-spacing",Ht.letterSpacing,"0.15px"),qt=ht.extend("--ft-typography-title-line-height",Ht.lineHeight,"24px"),Xt=ht.extend("--ft-typography-title-text-transform",Ht.textTransform,"inherit"),Jt=ht.extend("--ft-typography-title-dense-font-family",_t),Yt=ht.extend("--ft-typography-title-dense-font-size",Ht.fontSize,"14px"),Gt=ht.extend("--ft-typography-title-dense-font-weight",Ht.fontWeight,"normal"),Qt=ht.extend("--ft-typography-title-dense-letter-spacing",Ht.letterSpacing,"0.105px"),te=ht.extend("--ft-typography-title-dense-line-height",Ht.lineHeight,"24px"),ee=ht.extend("--ft-typography-title-dense-text-transform",Ht.textTransform,"inherit"),ie=ht.extend("--ft-typography-subtitle1-font-family",Pt),oe=ht.extend("--ft-typography-subtitle1-font-size",Ht.fontSize,"16px"),ne=ht.extend("--ft-typography-subtitle1-font-weight",Ht.fontWeight,"600"),se=ht.extend("--ft-typography-subtitle1-letter-spacing",Ht.letterSpacing,"0.144px"),re=ht.extend("--ft-typography-subtitle1-line-height",Ht.lineHeight,"24px"),le=ht.extend("--ft-typography-subtitle1-text-transform",Ht.textTransform,"inherit"),ae=ht.extend("--ft-typography-subtitle2-font-family",Pt),pe=ht.extend("--ft-typography-subtitle2-font-size",Ht.fontSize,"14px"),ce=ht.extend("--ft-typography-subtitle2-font-weight",Ht.fontWeight,"normal"),de=ht.extend("--ft-typography-subtitle2-letter-spacing",Ht.letterSpacing,"0.098px"),he=ht.extend("--ft-typography-subtitle2-line-height",Ht.lineHeight,"24px"),fe=ht.extend("--ft-typography-subtitle2-text-transform",Ht.textTransform,"inherit"),ue={fontFamily:ht.extend("--ft-typography-body1-font-family",Pt),fontSize:ht.extend("--ft-typography-body1-font-size",Ht.fontSize,"16px"),fontWeight:ht.extend("--ft-typography-body1-font-weight",Ht.fontWeight,"normal"),letterSpacing:ht.extend("--ft-typography-body1-letter-spacing",Ht.letterSpacing,"0.496px"),lineHeight:ht.extend("--ft-typography-body1-line-height",Ht.lineHeight,"24px"),textTransform:ht.extend("--ft-typography-body1-text-transform",Ht.textTransform,"inherit")},be=ht.extend("--ft-typography-body2-font-family",Pt),ve=ht.extend("--ft-typography-body2-font-size",Ht.fontSize,"14px"),xe=ht.extend("--ft-typography-body2-font-weight",Ht.fontWeight,"normal"),ye=ht.extend("--ft-typography-body2-letter-spacing",Ht.letterSpacing,"0.252px"),ge=ht.extend("--ft-typography-body2-line-height",Ht.lineHeight,"20px"),me=ht.extend("--ft-typography-body2-text-transform",Ht.textTransform,"inherit"),$e={fontFamily:ht.extend("--ft-typography-caption-font-family",Pt),fontSize:ht.extend("--ft-typography-caption-font-size",Ht.fontSize,"12px"),fontWeight:ht.extend("--ft-typography-caption-font-weight",Ht.fontWeight,"normal"),letterSpacing:ht.extend("--ft-typography-caption-letter-spacing",Ht.letterSpacing,"0.396px"),lineHeight:ht.extend("--ft-typography-caption-line-height",Ht.lineHeight,"16px"),textTransform:ht.extend("--ft-typography-caption-text-transform",Ht.textTransform,"inherit")},we=ht.extend("--ft-typography-breadcrumb-font-family",Pt),Oe=ht.extend("--ft-typography-breadcrumb-font-size",Ht.fontSize,"10px"),Se=ht.extend("--ft-typography-breadcrumb-font-weight",Ht.fontWeight,"normal"),ke=ht.extend("--ft-typography-breadcrumb-letter-spacing",Ht.letterSpacing,"0.33px"),Ce=ht.extend("--ft-typography-breadcrumb-line-height",Ht.lineHeight,"16px"),Ee=ht.extend("--ft-typography-breadcrumb-text-transform",Ht.textTransform,"inherit"),Ne=ht.extend("--ft-typography-overline-font-family",Pt),Re=ht.extend("--ft-typography-overline-font-size",Ht.fontSize,"10px"),ze=ht.extend("--ft-typography-overline-font-weight",Ht.fontWeight,"normal"),Fe=ht.extend("--ft-typography-overline-letter-spacing",Ht.letterSpacing,"1.5px"),Me=ht.extend("--ft-typography-overline-line-height",Ht.lineHeight,"16px"),Ue=ht.extend("--ft-typography-overline-text-transform",Ht.textTransform,"uppercase"),De={fontFamily:ht.extend("--ft-typography-button-font-family",Pt),fontSize:ht.extend("--ft-typography-button-font-size",Ht.fontSize,"14px"),fontWeight:ht.extend("--ft-typography-button-font-weight",Ht.fontWeight,"600"),letterSpacing:ht.extend("--ft-typography-button-letter-spacing",Ht.letterSpacing,"1.246px"),lineHeight:ht.extend("--ft-typography-button-line-height",Ht.lineHeight,"16px"),textTransform:ht.extend("--ft-typography-button-text-transform",Ht.textTransform,"uppercase")},Be=b`
115
110
  .ft-typography--title {
116
111
  font-family: ${Wt};
117
112
  font-size: ${Zt};
118
113
  font-weight: ${Kt};
119
114
  letter-spacing: ${Vt};
120
- line-height: ${Xt};
121
- text-transform: ${qt};
115
+ line-height: ${qt};
116
+ text-transform: ${Xt};
122
117
  }
123
- `,Le=b`
118
+ `,je=b`
124
119
  .ft-typography--title-dense {
125
120
  font-family: ${Jt};
126
121
  font-size: ${Yt};
@@ -138,7 +133,7 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
138
133
  line-height: ${re};
139
134
  text-transform: ${le};
140
135
  }
141
- `,Ae=b`
136
+ `,Le=b`
142
137
  .ft-typography--subtitle2 {
143
138
  font-family: ${ae};
144
139
  font-size: ${pe};
@@ -148,7 +143,7 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
148
143
  text-transform: ${fe};
149
144
  }
150
145
 
151
- `,je=b`
146
+ `,Ae=b`
152
147
  .ft-typography--body1 {
153
148
  font-family: ${ue.fontFamily};
154
149
  font-size: ${ue.fontSize};
@@ -157,16 +152,16 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
157
152
  line-height: ${ue.lineHeight};
158
153
  text-transform: ${ue.textTransform};
159
154
  }
160
- `,_e=b`
155
+ `,Ie=b`
161
156
  .ft-typography--body2 {
162
157
  font-family: ${be};
163
158
  font-size: ${ve};
164
- font-weight: ${ye};
165
- letter-spacing: ${ge};
166
- line-height: ${xe};
159
+ font-weight: ${xe};
160
+ letter-spacing: ${ye};
161
+ line-height: ${ge};
167
162
  text-transform: ${me};
168
163
  }
169
- `,Ie=b`
164
+ `,_e=b`
170
165
  .ft-typography--caption {
171
166
  font-family: ${$e.fontFamily};
172
167
  font-size: ${$e.fontSize};
@@ -186,11 +181,11 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
186
181
  }
187
182
  `,He=b`
188
183
  .ft-typography--overline {
189
- font-family: ${Re};
190
- font-size: ${Ne};
184
+ font-family: ${Ne};
185
+ font-size: ${Re};
191
186
  font-weight: ${ze};
192
- letter-spacing: ${Me};
193
- line-height: ${Fe};
187
+ letter-spacing: ${Fe};
188
+ line-height: ${Me};
194
189
  text-transform: ${Ue};
195
190
  }
196
191
  `,We=b`
@@ -202,18 +197,18 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
202
197
  line-height: ${De.lineHeight};
203
198
  text-transform: ${De.textTransform};
204
199
  }
205
- `;class Ze extends bt{constructor(){super(...arguments),this.variant=jt.body1}render(){return this.element?At`
206
- <${Lt(this.element)}
200
+ `;class Ze extends bt{constructor(){super(...arguments),this.variant=At.body1}render(){return this.element?Lt`
201
+ <${jt(this.element)}
207
202
  class="ft-typography ft-typography--${this.variant}">
208
203
  <slot></slot>
209
- </${Lt(this.element)}>
210
- `:At`
204
+ </${jt(this.element)}>
205
+ `:Lt`
211
206
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
212
- `}}Ze.styles=[Be,Le,Te,Ae,je,_e,Ie,Pe,He,We,b`
207
+ `}}Ze.styles=[Be,je,Te,Le,Ae,Ie,_e,Pe,He,We,b`
213
208
  .ft-typography {
214
209
  vertical-align: inherit;
215
210
  }
216
- `],_t([o()],Ze.prototype,"element",void 0),_t([o()],Ze.prototype,"variant",void 0),p("ft-typography")(Ze);var Ke=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 Ve={fontSize:ht.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:ht.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:ht.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:ht.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:ht.create("--ft-input-label-horizontal-spacing","SIZE","12px"),borderColor:ht.extend("--ft-input-label-border-color",ut.colorOutline),textColor:ht.extend("--ft-input-label-text-color",ut.colorOnSurfaceMedium),disabledTextColor:ht.extend("--ft-input-label-disabled-text-color",ut.colorOnSurfaceDisabled),colorSurface:ht.external(ut.colorSurface,"Design system"),borderRadiusS:ht.external(ut.borderRadiusS,"Design system")};class Xe extends bt{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!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};return W`
211
+ `],It([o()],Ze.prototype,"element",void 0),It([o()],Ze.prototype,"variant",void 0),p("ft-typography")(Ze);var Ke=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 Ve={fontSize:ht.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:ht.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:ht.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:ht.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:ht.create("--ft-input-label-horizontal-spacing","SIZE","12px"),borderColor:ht.extend("--ft-input-label-border-color",ut.colorOutline),textColor:ht.extend("--ft-input-label-text-color",ut.colorOnSurfaceMedium),disabledTextColor:ht.extend("--ft-input-label-disabled-text-color",ut.colorOnSurfaceDisabled),colorSurface:ht.external(ut.colorSurface,"Design system"),borderRadiusS:ht.external(ut.borderRadiusS,"Design system")};class qe extends bt{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!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};return W`
217
212
  <div class="${Bt(t)}">
218
213
  ${this.text?W`
219
214
  <div class="ft-input-label--text ft-typography--caption">
@@ -222,7 +217,7 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
222
217
  </div>
223
218
  `:null}
224
219
  </div>
225
- `}}Xe.elementDefinitions={},Xe.styles=[Ie,b`
220
+ `}}qe.elementDefinitions={},qe.styles=[_e,b`
226
221
  .ft-input-label {
227
222
  position: absolute;
228
223
  inset: 0;
@@ -325,7 +320,7 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
325
320
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
326
321
  border-top: none;
327
322
  }
328
- `],Ke([o({type:String})],Xe.prototype,"text",void 0),Ke([o({type:Boolean})],Xe.prototype,"raised",void 0),Ke([o({type:Boolean})],Xe.prototype,"outlined",void 0),Ke([o({type:Boolean})],Xe.prototype,"disabled",void 0),p("ft-input-label")(Xe);var qe=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 Je={color:ht.extend("--ft-ripple-color",ut.colorContent),primaryColor:ht.extend("--ft-ripple-primary-color",ht.extend("--ft-ripple-color",ut.colorPrimary)),secondaryColor:ht.extend("--ft-ripple-secondary-color",ht.extend("--ft-ripple-color",ut.colorSecondary)),opacityContentOnSurfacePressed:ht.external(ut.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ht.external(ut.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ht.external(ut.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ht.external(ut.opacityContentOnSurfaceSelected,"Design system")};class Ye extends bt{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.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed)},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 W`
323
+ `],Ke([o({type:String})],qe.prototype,"text",void 0),Ke([o({type:Boolean})],qe.prototype,"raised",void 0),Ke([o({type:Boolean})],qe.prototype,"outlined",void 0),Ke([o({type:Boolean})],qe.prototype,"disabled",void 0),p("ft-input-label")(qe);var Xe=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 Je={color:ht.extend("--ft-ripple-color",ut.colorContent),primaryColor:ht.extend("--ft-ripple-primary-color",ht.extend("--ft-ripple-color",ut.colorPrimary)),secondaryColor:ht.extend("--ft-ripple-secondary-color",ht.extend("--ft-ripple-color",ut.colorSecondary)),opacityContentOnSurfacePressed:ht.external(ut.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ht.external(ut.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ht.external(ut.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ht.external(ut.opacityContentOnSurfaceSelected,"Design system")};class Ye extends bt{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.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed)},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 W`
329
324
  <style>
330
325
  .ft-ripple .ft-ripple--effect,
331
326
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -342,7 +337,7 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
342
337
  <div class="ft-ripple--background"></div>
343
338
  <div class="ft-ripple--effect"></div>
344
339
  </div>
345
- `}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){super.updated(t),t.has("disabled")&&this.disabled&&this.endRipple(),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){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),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),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()}}Ye.elementDefinitions={},Ye.styles=b`
340
+ `}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){super.updated(t),t.has("disabled")&&this.disabled&&this.endRipple(),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()}}var Ge,Qe;Ye.elementDefinitions={},Ye.styles=b`
346
341
  :host {
347
342
  display: contents;
348
343
  }
@@ -417,33 +412,45 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
417
412
  opacity: ${Je.opacityContentOnSurfacePressed};
418
413
  transform: translate(-50%, -50%) scale(1);
419
414
  }
420
- `,qe([o({type:Boolean})],Ye.prototype,"primary",void 0),qe([o({type:Boolean})],Ye.prototype,"secondary",void 0),qe([o({type:Boolean})],Ye.prototype,"unbounded",void 0),qe([o({type:Boolean})],Ye.prototype,"activated",void 0),qe([o({type:Boolean})],Ye.prototype,"selected",void 0),qe([o({type:Boolean})],Ye.prototype,"disabled",void 0),qe([n()],Ye.prototype,"hovered",void 0),qe([n()],Ye.prototype,"focused",void 0),qe([n()],Ye.prototype,"pressed",void 0),qe([n()],Ye.prototype,"rippling",void 0),qe([n()],Ye.prototype,"rippleSize",void 0),qe([n()],Ye.prototype,"originX",void 0),qe([n()],Ye.prototype,"originY",void 0),qe([r(".ft-ripple")],Ye.prototype,"ripple",void 0),qe([r(".ft-ripple--effect")],Ye.prototype,"rippleEffect",void 0),p("ft-ripple")(Ye);
421
- /**
422
- * @license
423
- * Copyright 2021 Google LLC
424
- * SPDX-LIcense-Identifier: Apache-2.0
425
- */
426
- const Ge=b`:host{font-family:var(--mdc-icon-font, "Material Icons");font-weight:normal;font-style:normal;font-size:var(--mdc-icon-size, 24px);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}`
427
- /**
428
- * @license
429
- * Copyright 2018 Google LLC
430
- * SPDX-License-Identifier: Apache-2.0
431
- */;let Qe=class extends ct{render(){return W`<span><slot></slot></span>`}};Qe.styles=[Ge],Qe=
432
- /*! *****************************************************************************
433
- Copyright (c) Microsoft Corporation.
434
-
435
- Permission to use, copy, modify, and/or distribute this software for any
436
- purpose with or without fee is hereby granted.
437
-
438
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
439
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
440
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
441
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
442
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
443
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
444
- PERFORMANCE OF THIS SOFTWARE.
445
- ***************************************************************************** */
446
- 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}([(t=>e=>"function"==typeof e?((t,e)=>(window.customElements.define(t,e),e))(t,e):((t,e)=>{const{kind:i,elements:o}=e;return{kind:i,elements:o,finisher(e){window.customElements.define(t,e)}}})(t,e))("mwc-icon")],Qe);var 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};class ei extends bt{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return W``}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}ei.elementDefinitions={},ti([o({type:String})],ei.prototype,"label",void 0),ti([o({type:Object,converter:t=>t})],ei.prototype,"value",void 0),ti([o({type:Boolean,reflect:!0})],ei.prototype,"selected",void 0);const ii={labelSize:ht.create("--ft-select-label-size","SIZE","11px"),selectedOptionSize:ht.create("--ft-select-selected-option-size","SIZE","14px"),verticalSpacing:ht.create("--ft-select-vertical-spacing","SIZE","4px"),selectedOptionColor:ht.extend("--ft-select-selected-option-color",ut.colorOnSurface),helperColor:ht.extend("--ft-select-helper-color",ut.colorOnSurfaceMedium),optionsColor:ht.extend("--ft-select-options-color",ut.colorOnSurface),optionsZIndex:ht.create("--ft-select-options-z-index","NUMBER","2"),colorSurface:ht.external(ut.colorSurface,"Design system"),colorOnSurfaceDisabled:ht.external(ut.colorOnSurfaceDisabled,"Design system"),colorPrimary:ht.external(ut.colorPrimary,"Design system"),borderRadiusS:ht.external(ut.borderRadiusS,"Design system"),elevation02:ht.external(ut.elevation02,"Design system")};class oi extends bt{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,e,i,o,n;let s=!this.disabled&&this.optionsDisplayed&&this.hasOptions,r=this.disabled||!this.hasOptions;const l=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(i=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==i?i:"").length>0,a={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":r,"ft-select--options-displayed":s,"ft-select--has-option-selected":l,"ft-select--no-label":!this.label};return W`
415
+ `,Xe([o({type:Boolean})],Ye.prototype,"primary",void 0),Xe([o({type:Boolean})],Ye.prototype,"secondary",void 0),Xe([o({type:Boolean})],Ye.prototype,"unbounded",void 0),Xe([o({type:Boolean})],Ye.prototype,"activated",void 0),Xe([o({type:Boolean})],Ye.prototype,"selected",void 0),Xe([o({type:Boolean})],Ye.prototype,"disabled",void 0),Xe([n()],Ye.prototype,"hovered",void 0),Xe([n()],Ye.prototype,"focused",void 0),Xe([n()],Ye.prototype,"pressed",void 0),Xe([n()],Ye.prototype,"rippling",void 0),Xe([n()],Ye.prototype,"rippleSize",void 0),Xe([n()],Ye.prototype,"originX",void 0),Xe([n()],Ye.prototype,"originY",void 0),Xe([r(".ft-ripple")],Ye.prototype,"ripple",void 0),Xe([r(".ft-ripple--effect")],Ye.prototype,"rippleEffect",void 0),p("ft-ripple")(Ye),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 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"}(ti||(ti={}));const ii={size:ht.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:ht.extend("--ft-icon-fluid-topics-font-family",ht.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:ht.extend("--ft-icon-file-format-font-family",ht.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:ht.extend("--ft-icon-material-font-family",ht.create("--ft-icon-font-family","UNKNOWN","Material Icons"))};class oi extends bt{constructor(){super(...arguments),this.variant=ti.fluid_topics}render(){return W`
416
+ <i class="ft-icon ${"ft-icon--"+this.variant}">
417
+ ${Dt(this.getIcon())}
418
+ <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
419
+ </i>
420
+ `}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:K}}oi.elementDefinitions={},oi.styles=b`
421
+ :host, i.ft-icon {
422
+ display: inline-block;
423
+ width: ${ii.size};
424
+ height: ${ii.size};
425
+ text-align: center;
426
+ }
427
+
428
+ i.ft-icon {
429
+ font-size: ${ii.size};
430
+ line-height: 1;
431
+ font-weight: normal;
432
+ text-transform: none;
433
+ font-style: normal;
434
+ font-variant: normal;
435
+ speak: none;
436
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
437
+ text-rendering: auto;
438
+ -webkit-font-smoothing: antialiased;
439
+ -moz-osx-font-smoothing: grayscale;
440
+ }
441
+
442
+ .ft-icon--fluid-topics {
443
+ font-family: ${ii.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
444
+ }
445
+
446
+ .ft-icon--file-format {
447
+ font-family: ${ii.fileFormatFontFamily}, ft-mime, sans-serif;
448
+ }
449
+
450
+ .ft-icon--material {
451
+ font-family: ${ii.materialFontFamily}, "Material Icons", sans-serif;
452
+ }
453
+ `,ei([o()],oi.prototype,"variant",void 0),ei([r("slot")],oi.prototype,"slottedContent",void 0),p("ft-icon")(oi);var ni=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};class si extends bt{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return W``}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}si.elementDefinitions={},ni([o({type:String})],si.prototype,"label",void 0),ni([o({type:Object,converter:t=>t})],si.prototype,"value",void 0),ni([o({type:Boolean,reflect:!0})],si.prototype,"selected",void 0);const ri={labelSize:ht.create("--ft-select-label-size","SIZE","11px"),selectedOptionSize:ht.create("--ft-select-selected-option-size","SIZE","14px"),verticalSpacing:ht.create("--ft-select-vertical-spacing","SIZE","4px"),selectedOptionColor:ht.extend("--ft-select-selected-option-color",ut.colorOnSurface),helperColor:ht.extend("--ft-select-helper-color",ut.colorOnSurfaceMedium),optionsColor:ht.extend("--ft-select-options-color",ut.colorOnSurface),optionsZIndex:ht.create("--ft-select-options-z-index","NUMBER","2"),colorSurface:ht.external(ut.colorSurface,"Design system"),colorOnSurfaceDisabled:ht.external(ut.colorOnSurfaceDisabled,"Design system"),colorPrimary:ht.external(ut.colorPrimary,"Design system"),borderRadiusS:ht.external(ut.borderRadiusS,"Design system"),elevation02:ht.external(ut.elevation02,"Design system")};class li extends bt{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,e,i,o,n;let s=!this.disabled&&this.optionsDisplayed&&this.hasOptions,r=this.disabled||!this.hasOptions;const l=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(i=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==i?i:"").length>0,a={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":r,"ft-select--options-displayed":s,"ft-select--has-option-selected":l,"ft-select--no-label":!this.label};return W`
447
454
  <div class="${Bt(a)}" part="container">
448
455
  <div class="ft-select--main-panel" part="main-panel">
449
456
  <ft-input-label text="${this.label}"
@@ -464,13 +471,13 @@ function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnP
464
471
  <ft-typography variant="body1" class="ft-select--selected-option">
465
472
  ${null!==(n=null===(o=this.selectedOption)||void 0===o?void 0:o.label)&&void 0!==n?n:""}
466
473
  </ft-typography>
467
- <mwc-icon>${s?"expand_less":"expand_more"}</mwc-icon>
474
+ <ft-icon variant="material">${s?"expand_less":"expand_more"}</ft-icon>
468
475
  </div>
469
476
  <div class="ft-select--options"
470
477
  part="options"
471
478
  @keydown=${this.onOptionsKeyDown}
472
479
  innerrole="listbox">
473
- ${Ft(this.options,(t=>t.value),(t=>this.renderOption(t)))}
480
+ ${Mt(this.options,(t=>t.value),(t=>this.renderOption(t)))}
474
481
  </div>
475
482
  </div>
476
483
  ${this.helper?W`
@@ -489,7 +496,7 @@ function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnP
489
496
  <ft-ripple ?primary=${e} ?activated=${e}></ft-ripple>
490
497
  ${t.label}
491
498
  </div>
492
- `}updated(t){var e;super.updated(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1,this.dispatchEvent(new CustomEvent("change",{detail:null===(e=this.selectedOption)||void 0===e?void 0:e.value})))}contentAvailableCallback(t){var e,i;t.has("focusOptions")&&this.focusOptions&&(null===(i=null!==(e=this.selectedOptionElement)&&void 0!==e?e:this.firstOption)||void 0===i||i.focus(),this.focusOptions=!1)}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var e;t.stopPropagation();let i=null===(e=this.optionsSlot)||void 0===e?void 0:e.assignedElements().map((t=>t));i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0}}onOptionsKeyDown(t){var e,i,o,n,s;let r;switch(t.key){case"Escape":this.optionsDisplayed=!1,null===(e=this.mainPanel)||void 0===e||e.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),r=null!==(o=null===(i=this.focusedOption)||void 0===i?void 0:i.previousElementSibling)&&void 0!==o?o:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),r=null!==(s=null===(n=this.focusedOption)||void 0===n?void 0:n.nextElementSibling)&&void 0!==s?s:this.firstOption}null==r||r.focus()}onOptionKeyDown(t,e){var i;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),this.selectOption(e),this.optionsDisplayed=!1,null===(i=this.mainPanel)||void 0===i||i.focus())}selectOption(t){this.selectedOption=t;for(let e of this.options)e.selected=e===t}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}oi.elementDefinitions={"ft-input-label":Xe,"ft-typography":Ze,"ft-ripple":Ye,"mwc-icon":Qe},oi.styles=[_e,Ie,b`
499
+ `}updated(t){var e;super.updated(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1,this.dispatchEvent(new CustomEvent("change",{detail:null===(e=this.selectedOption)||void 0===e?void 0:e.value})))}contentAvailableCallback(t){var e,i;t.has("focusOptions")&&this.focusOptions&&(null===(i=null!==(e=this.selectedOptionElement)&&void 0!==e?e:this.firstOption)||void 0===i||i.focus(),this.focusOptions=!1)}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var e;t.stopPropagation();let i=null===(e=this.optionsSlot)||void 0===e?void 0:e.assignedElements().map((t=>t));i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0}}onOptionsKeyDown(t){var e,i,o,n,s;let r;switch(t.key){case"Escape":this.optionsDisplayed=!1,null===(e=this.mainPanel)||void 0===e||e.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),r=null!==(o=null===(i=this.focusedOption)||void 0===i?void 0:i.previousElementSibling)&&void 0!==o?o:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),r=null!==(s=null===(n=this.focusedOption)||void 0===n?void 0:n.nextElementSibling)&&void 0!==s?s:this.firstOption}null==r||r.focus()}onOptionKeyDown(t,e){var i;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),this.selectOption(e),this.optionsDisplayed=!1,null===(i=this.mainPanel)||void 0===i||i.focus())}selectOption(t){this.selectedOption=t;for(let e of this.options)e.selected=e===t}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}li.elementDefinitions={"ft-input-label":qe,"ft-typography":Ze,"ft-ripple":Ye,"ft-icon":oi},li.styles=[Ie,_e,b`
493
500
  *:focus {
494
501
  outline: none;
495
502
  }
@@ -503,7 +510,7 @@ function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnP
503
510
  .ft-select--main-panel {
504
511
  position: relative;
505
512
  display: flex;
506
- height: calc(4 * ${ii.verticalSpacing} + ${ii.labelSize} + ${ii.selectedOptionSize});
513
+ height: calc(4 * ${ri.verticalSpacing} + ${ri.labelSize} + ${ri.selectedOptionSize});
507
514
  }
508
515
 
509
516
  .ft-select--input-panel {
@@ -515,8 +522,8 @@ function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnP
515
522
  padding-left: 16px;
516
523
  padding-right: 8px;
517
524
  gap: 8px;
518
- color: ${ii.selectedOptionColor};
519
- ${ft(Je.color,ii.selectedOptionColor)};
525
+ color: ${ri.selectedOptionColor};
526
+ ${ft(Je.color,ri.selectedOptionColor)};
520
527
  }
521
528
 
522
529
  .ft-select--input-panel,
@@ -527,7 +534,7 @@ function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnP
527
534
 
528
535
  .ft-select--disabled .ft-select--input-panel,
529
536
  .ft-select--disabled .ft-select--option {
530
- color: ${ii.colorOnSurfaceDisabled};
537
+ color: ${ri.colorOnSurfaceDisabled};
531
538
  }
532
539
 
533
540
  .ft-select:not(.ft-select--disabled) .ft-select--input-panel,
@@ -536,18 +543,18 @@ function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnP
536
543
  }
537
544
 
538
545
  ft-input-label {
539
- ${ft(Ve.fontSize,ii.selectedOptionSize)};
540
- ${ft(Ve.raisedFontSize,ii.labelSize)};
541
- ${ft(Ve.verticalSpacing,ii.verticalSpacing)};
546
+ ${ft(Ve.fontSize,ri.selectedOptionSize)};
547
+ ${ft(Ve.raisedFontSize,ri.labelSize)};
548
+ ${ft(Ve.verticalSpacing,ri.verticalSpacing)};
542
549
  }
543
550
 
544
- .ft-select:not(.ft-select--disabled):focus-within mwc-icon {
545
- color: ${ii.colorPrimary};
551
+ .ft-select:not(.ft-select--disabled):focus-within ft-icon {
552
+ color: ${ri.colorPrimary};
546
553
  }
547
554
 
548
555
  .ft-select:not(.ft-select--disabled):focus-within ft-input-label {
549
- ${ft(Ve.borderColor,ii.colorPrimary)};
550
- ${ft(Ve.textColor,ii.colorPrimary)};
556
+ ${ft(Ve.borderColor,ri.colorPrimary)};
557
+ ${ft(Ve.textColor,ri.colorPrimary)};
551
558
  }
552
559
 
553
560
  .ft-select--selected-option {
@@ -557,11 +564,11 @@ function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnP
557
564
  overflow: hidden;
558
565
  white-space: nowrap;
559
566
  text-overflow: ellipsis;
560
- ${ft(ue.fontSize,ii.selectedOptionSize)};
561
- ${ft(ue.lineHeight,ii.selectedOptionSize)};
567
+ ${ft(ue.fontSize,ri.selectedOptionSize)};
568
+ ${ft(ue.lineHeight,ri.selectedOptionSize)};
562
569
  }
563
570
 
564
- mwc-icon {
571
+ ft-icon {
565
572
  flex-shrink: 0;
566
573
  }
567
574
 
@@ -570,16 +577,16 @@ function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnP
570
577
  }
571
578
 
572
579
  .ft-select--filled .ft-select--input-panel {
573
- border-radius: ${ii.borderRadiusS} ${ii.borderRadiusS} 0 0;
580
+ border-radius: ${ri.borderRadiusS} ${ri.borderRadiusS} 0 0;
574
581
  }
575
582
 
576
583
  .ft-select--filled:not(.ft-select--no-label) .ft-select--selected-option {
577
584
  align-self: stretch;
578
- padding-top: calc(${ii.labelSize} + 2 * ${ii.verticalSpacing});
585
+ padding-top: calc(${ri.labelSize} + 2 * ${ri.verticalSpacing});
579
586
  }
580
587
 
581
588
  .ft-select--outlined .ft-select--input-panel {
582
- border-radius: ${ii.borderRadiusS};
589
+ border-radius: ${ri.borderRadiusS};
583
590
  }
584
591
 
585
592
  .ft-select--options {
@@ -588,10 +595,10 @@ function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnP
588
595
  top: 100%;
589
596
  left: 0;
590
597
  right: 0;
591
- color: ${ii.optionsColor};
592
- background: ${ii.colorSurface};
593
- z-index: ${ii.optionsZIndex};
594
- box-shadow: ${ii.elevation02};
598
+ color: ${ri.optionsColor};
599
+ background: ${ri.colorSurface};
600
+ z-index: ${ri.optionsZIndex};
601
+ box-shadow: ${ri.elevation02};
595
602
  }
596
603
 
597
604
  .ft-select--options-displayed .ft-select--options {
@@ -608,9 +615,9 @@ function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnP
608
615
 
609
616
  .ft-select--helper-text {
610
617
  padding: 0 12px 0 16px;
611
- color: ${ii.helperColor};
618
+ color: ${ri.helperColor};
612
619
  }
613
- `],ti([o({type:String})],oi.prototype,"label",void 0),ti([o({type:String})],oi.prototype,"helper",void 0),ti([o({type:Boolean})],oi.prototype,"outlined",void 0),ti([o({type:Boolean})],oi.prototype,"disabled",void 0),ti([o({type:Array})],oi.prototype,"options",void 0),ti([n()],oi.prototype,"selectedOption",void 0),ti([n()],oi.prototype,"optionsDisplayed",void 0),ti([n()],oi.prototype,"focusOptions",void 0),ti([r(".ft-select")],oi.prototype,"container",void 0),ti([r(".ft-select--input-panel")],oi.prototype,"mainPanel",void 0),ti([r(".ft-select--option:first-child")],oi.prototype,"firstOption",void 0),ti([r(".ft-select--option:focus")],oi.prototype,"focusedOption",void 0),ti([r(".ft-select--option.ft-select--option-selected")],oi.prototype,"selectedOptionElement",void 0),ti([r(".ft-select--option:last-child")],oi.prototype,"lastOption",void 0),ti([r("slot")],oi.prototype,"optionsSlot",void 0),p("ft-select")(oi),p("ft-select-option")(ei);var ni=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 si={fontSize:ht.create("--ft-text-field-font-size","SIZE","14px"),labelSize:ht.create("--ft-text-field-label-size","SIZE","11px"),verticalSpacing:ht.create("--ft-text-field-vertical-spacing","SIZE","4px"),horizontalSpacing:ht.create("--ft-text-field-horizontal-spacing","SIZE","16px"),helperColor:ht.extend("--ft-text-field-helper-color",ut.colorOnSurfaceMedium),colorPrimary:ht.external(ut.colorPrimary,"Design system"),colorOnSurface:ht.external(ut.colorOnSurface,"Design system"),colorOnSurfaceDisabled:ht.external(ut.colorOnSurfaceDisabled,"Design system"),borderRadiusS:ht.external(ut.borderRadiusS,"Design system")};class ri extends bt{constructor(){super(...arguments),this.label="",this.value="",this.helper="",this.outlined=!1,this.disabled=!1,this.dataList=[],this.focused=!1}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};return W`
620
+ `],ni([o({type:String})],li.prototype,"label",void 0),ni([o({type:String})],li.prototype,"helper",void 0),ni([o({type:Boolean})],li.prototype,"outlined",void 0),ni([o({type:Boolean})],li.prototype,"disabled",void 0),ni([o({type:Array})],li.prototype,"options",void 0),ni([n()],li.prototype,"selectedOption",void 0),ni([n()],li.prototype,"optionsDisplayed",void 0),ni([n()],li.prototype,"focusOptions",void 0),ni([r(".ft-select")],li.prototype,"container",void 0),ni([r(".ft-select--input-panel")],li.prototype,"mainPanel",void 0),ni([r(".ft-select--option:first-child")],li.prototype,"firstOption",void 0),ni([r(".ft-select--option:focus")],li.prototype,"focusedOption",void 0),ni([r(".ft-select--option.ft-select--option-selected")],li.prototype,"selectedOptionElement",void 0),ni([r(".ft-select--option:last-child")],li.prototype,"lastOption",void 0),ni([r("slot")],li.prototype,"optionsSlot",void 0),p("ft-select")(li),p("ft-select-option")(si);var ai=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 pi={fontSize:ht.create("--ft-text-field-font-size","SIZE","14px"),labelSize:ht.create("--ft-text-field-label-size","SIZE","11px"),verticalSpacing:ht.create("--ft-text-field-vertical-spacing","SIZE","4px"),horizontalSpacing:ht.create("--ft-text-field-horizontal-spacing","SIZE","16px"),helperColor:ht.extend("--ft-text-field-helper-color",ut.colorOnSurfaceMedium),colorPrimary:ht.external(ut.colorPrimary,"Design system"),colorOnSurface:ht.external(ut.colorOnSurface,"Design system"),colorOnSurfaceDisabled:ht.external(ut.colorOnSurfaceDisabled,"Design system"),borderRadiusS:ht.external(ut.borderRadiusS,"Design system")};class ci extends bt{constructor(){super(...arguments),this.label="",this.value="",this.helper="",this.outlined=!1,this.disabled=!1,this.dataList=[],this.focused=!1}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};return W`
614
621
  <div class="${Bt(t)}">
615
622
  <div class="ft-text-field--main-panel">
616
623
  <ft-input-label text="${this.label}"
@@ -645,7 +652,7 @@ function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnP
645
652
  <ft-typography class="ft-text-field--helper-text" variant="caption">${this.helper}
646
653
  </ft-typography>`:void 0}
647
654
  </div>
648
- `}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)||""}}ri.elementDefinitions={"ft-input-label":Xe,"ft-ripple":Ye,"ft-typography":Ze},ri.styles=[je,b`
655
+ `}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)||""}}ci.elementDefinitions={"ft-input-label":qe,"ft-ripple":Ye,"ft-typography":Ze},ci.styles=[Ae,b`
649
656
  *:focus {
650
657
  outline: none;
651
658
  }
@@ -657,16 +664,16 @@ function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnP
657
664
  }
658
665
 
659
666
  ft-input-label {
660
- ${ft(Ve.fontSize,si.fontSize)};
661
- ${ft(Ve.raisedFontSize,si.labelSize)};
662
- ${ft(Ve.verticalSpacing,si.verticalSpacing)};
663
- ${ft(Ve.horizontalSpacing,b`calc(${si.horizontalSpacing} - 4px)`)};
667
+ ${ft(Ve.fontSize,pi.fontSize)};
668
+ ${ft(Ve.raisedFontSize,pi.labelSize)};
669
+ ${ft(Ve.verticalSpacing,pi.verticalSpacing)};
670
+ ${ft(Ve.horizontalSpacing,b`calc(${pi.horizontalSpacing} - 4px)`)};
664
671
  }
665
672
 
666
673
  .ft-text-field--main-panel {
667
674
  position: relative;
668
675
  display: flex;
669
- height: calc(4 * ${si.verticalSpacing} + ${si.labelSize} + ${si.fontSize});
676
+ height: calc(4 * ${pi.verticalSpacing} + ${pi.labelSize} + ${pi.fontSize});
670
677
  }
671
678
 
672
679
  .ft-text-field--input-panel {
@@ -689,11 +696,11 @@ function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnP
689
696
  flex-shrink: 1;
690
697
  min-width: 0; /* flex sets this to auto an prevents input from shrinking properly */
691
698
 
692
- ${ft(ue.fontSize,si.fontSize)};
693
- ${ft(ue.lineHeight,si.fontSize)};
694
- color: ${si.colorOnSurface};
699
+ ${ft(ue.fontSize,pi.fontSize)};
700
+ ${ft(ue.lineHeight,pi.fontSize)};
701
+ color: ${pi.colorOnSurface};
695
702
 
696
- padding: 0 ${si.horizontalSpacing};
703
+ padding: 0 ${pi.horizontalSpacing};
697
704
 
698
705
  border: none;
699
706
  background: none;
@@ -705,7 +712,7 @@ function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnP
705
712
  }
706
713
 
707
714
  .ft-text-field--disabled .ft-text-field--input {
708
- color: ${si.colorOnSurfaceDisabled};
715
+ color: ${pi.colorOnSurfaceDisabled};
709
716
  }
710
717
 
711
718
  .ft-text-field:not(.ft-text-field--disabled) .ft-text-field--input-panel {
@@ -713,29 +720,29 @@ function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnP
713
720
  }
714
721
 
715
722
  .ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
716
- ${ft(Ve.borderColor,si.colorPrimary)};
717
- ${ft(Ve.textColor,si.colorPrimary)};
723
+ ${ft(Ve.borderColor,pi.colorPrimary)};
724
+ ${ft(Ve.textColor,pi.colorPrimary)};
718
725
  }
719
726
 
720
727
  .ft-text-field--filled .ft-text-field--input-panel {
721
- border-radius: ${si.borderRadiusS} ${si.borderRadiusS} 0 0;
728
+ border-radius: ${pi.borderRadiusS} ${pi.borderRadiusS} 0 0;
722
729
  }
723
730
 
724
731
  .ft-text-field--filled:not(.ft-text-field--no-label) .ft-text-field--input {
725
732
  align-self: stretch;
726
- padding-bottom: ${si.verticalSpacing};
727
- padding-top: calc(${si.labelSize} + 2 * ${si.verticalSpacing});
733
+ padding-bottom: ${pi.verticalSpacing};
734
+ padding-top: calc(${pi.labelSize} + 2 * ${pi.verticalSpacing});
728
735
  }
729
736
 
730
737
  .ft-text-field--outlined .ft-text-field--input-panel {
731
- border-radius: ${si.borderRadiusS};
738
+ border-radius: ${pi.borderRadiusS};
732
739
  }
733
740
 
734
741
  .ft-text-field--helper-text {
735
- padding: 0 12px 0 ${si.horizontalSpacing};
736
- color: ${si.helperColor};
742
+ padding: 0 12px 0 ${pi.horizontalSpacing};
743
+ color: ${pi.helperColor};
737
744
  }
738
- `],ni([o({type:String})],ri.prototype,"label",void 0),ni([o({reflect:!0})],ri.prototype,"value",void 0),ni([o({type:String})],ri.prototype,"helper",void 0),ni([o({type:Boolean})],ri.prototype,"outlined",void 0),ni([o({type:Boolean})],ri.prototype,"disabled",void 0),ni([r(".ft-text-field--input")],ri.prototype,"input",void 0),ni([o({attribute:!1})],ri.prototype,"dataList",void 0),ni([n()],ri.prototype,"focused",void 0),p("ft-text-field")(ri);var li=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 ai=ht.create("--ft-tooltip-distance","SIZE","4px"),pi=ht.create("--ft-tooltip-color","COLOR","#FFFFFF"),ci=ht.create("--ft-tooltip-background-color","COLOR","#666666"),di=ht.create("--ft-tooltip-z-index","NUMBER","1"),hi=ht.external(ut.borderRadiusS,"Design system");class fi extends bt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new e,this.revealDebouncer=new e}render(){return W`
745
+ `],ai([o({type:String})],ci.prototype,"label",void 0),ai([o({reflect:!0})],ci.prototype,"value",void 0),ai([o({type:String})],ci.prototype,"helper",void 0),ai([o({type:Boolean})],ci.prototype,"outlined",void 0),ai([o({type:Boolean})],ci.prototype,"disabled",void 0),ai([r(".ft-text-field--input")],ci.prototype,"input",void 0),ai([o({attribute:!1})],ci.prototype,"dataList",void 0),ai([n()],ci.prototype,"focused",void 0),p("ft-text-field")(ci);var di=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 hi=ht.create("--ft-tooltip-distance","SIZE","4px"),fi=ht.create("--ft-tooltip-color","COLOR","#FFFFFF"),ui=ht.create("--ft-tooltip-background-color","COLOR","#666666"),bi=ht.create("--ft-tooltip-z-index","NUMBER","1"),vi=ht.external(ut.borderRadiusS,"Design system");class xi extends bt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new e,this.revealDebouncer=new e}render(){return W`
739
746
  <div part="container"
740
747
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
741
748
  @mouseenter=${this.onHover}
@@ -750,7 +757,7 @@ function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnP
750
757
  </div>
751
758
  <slot></slot>
752
759
  </div>
753
- `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){t.has("visible")&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.position){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=t.getBoundingClientRect(),i=(e.height-this.tooltip.clientHeight)/2,o=(e.width-this.tooltip.clientWidth)/2,n=this.tooltip.style;switch(this.position){case"top":n.top=-this.tooltip.clientHeight+"px",n.left=o+"px";break;case"bottom":n.top=e.height+"px",n.left=o+"px";break;case"left":n.top=i+"px",n.left=-this.tooltip.clientWidth+"px";break;case"right":n.top=i+"px",n.left=e.width+"px"}n.maxWidth=Math.max(e.width,150)+"px"}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}fi.elementDefinitions={"ft-typography":Ze},fi.styles=b`
760
+ `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){t.has("visible")&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.position){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=t.getBoundingClientRect(),i=(e.height-this.tooltip.clientHeight)/2,o=(e.width-this.tooltip.clientWidth)/2,n=this.tooltip.style;switch(this.position){case"top":n.top=-this.tooltip.clientHeight+"px",n.left=o+"px";break;case"bottom":n.top=e.height+"px",n.left=o+"px";break;case"left":n.top=i+"px",n.left=-this.tooltip.clientWidth+"px";break;case"right":n.top=i+"px",n.left=e.width+"px"}n.maxWidth=Math.max(e.width,150)+"px"}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}xi.elementDefinitions={"ft-typography":Ze},xi.styles=b`
754
761
  .ft-tooltip--container {
755
762
  display: block;
756
763
  position: relative;
@@ -768,27 +775,27 @@ function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnP
768
775
  width: max-content;
769
776
  max-width: 150px;
770
777
  text-align: center;
771
- padding: ${ai};
772
- z-index: ${di};
778
+ padding: ${hi};
779
+ z-index: ${bi};
773
780
  }
774
781
 
775
782
  .ft-tooltip--content {
776
783
  padding: 4px 8px;
777
- border-radius: ${hi};
778
- background-color: ${ci};
779
- color: ${pi};
784
+ border-radius: ${vi};
785
+ background-color: ${ui};
786
+ color: ${fi};
780
787
  top: -500px;
781
788
  left: -500px;
782
789
  position: relative;
783
790
  word-break: break-word;
784
791
  }
785
- `,li([o()],fi.prototype,"text",void 0),li([o({type:Boolean})],fi.prototype,"manual",void 0),li([o({type:Boolean})],fi.prototype,"inline",void 0),li([o({type:Number})],fi.prototype,"delay",void 0),li([o()],fi.prototype,"position",void 0),li([
792
+ `,di([o()],xi.prototype,"text",void 0),di([o({type:Boolean})],xi.prototype,"manual",void 0),di([o({type:Boolean})],xi.prototype,"inline",void 0),di([o({type:Number})],xi.prototype,"delay",void 0),di([o()],xi.prototype,"position",void 0),di([
786
793
  /**
787
794
  * @license
788
795
  * Copyright 2017 Google LLC
789
796
  * SPDX-License-Identifier: BSD-3-Clause
790
797
  */
791
- function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},i?function(t){const{slot:e,selector:i}=null!=t?t:{};return s({descriptor:o=>({get(){var o;const n="slot"+(e?`[name=${e}]`:":not([name])"),s=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(n),r=null!=s?a(s,t):[];return i?r.filter((t=>t.matches(i))):r},enumerable:!0,configurable:!0})})}({slot:n,flatten:e,selector:i}):s({descriptor:t=>({get(){var t,e;const i="slot"+(n?`[name=${n}]`:":not([name])"),s=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==s?void 0:s.assignedNodes(o))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],fi.prototype,"slotNodes",void 0),li([r(".ft-tooltip--container")],fi.prototype,"container",void 0),li([r("slot")],fi.prototype,"target",void 0),li([r(".ft-tooltip")],fi.prototype,"tooltip",void 0),li([r(".ft-tooltip--content")],fi.prototype,"tooltipContent",void 0),li([n()],fi.prototype,"visible",void 0),p("ft-tooltip")(fi);const ui={color:ht.extend("--ft-loader-color",ut.colorPrimary),size:ht.create("--ft-loader-size","SIZE","80px")};class bi extends bt{static get styles(){return b`
798
+ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},i?function(t){const{slot:e,selector:i}=null!=t?t:{};return s({descriptor:o=>({get(){var o;const n="slot"+(e?`[name=${e}]`:":not([name])"),s=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(n),r=null!=s?a(s,t):[];return i?r.filter((t=>t.matches(i))):r},enumerable:!0,configurable:!0})})}({slot:n,flatten:e,selector:i}):s({descriptor:t=>({get(){var t,e;const i="slot"+(n?`[name=${n}]`:":not([name])"),s=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==s?void 0:s.assignedNodes(o))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],xi.prototype,"slotNodes",void 0),di([r(".ft-tooltip--container")],xi.prototype,"container",void 0),di([r("slot")],xi.prototype,"target",void 0),di([r(".ft-tooltip")],xi.prototype,"tooltip",void 0),di([r(".ft-tooltip--content")],xi.prototype,"tooltipContent",void 0),di([n()],xi.prototype,"visible",void 0),p("ft-tooltip")(xi);const yi={color:ht.extend("--ft-loader-color",ut.colorPrimary),size:ht.create("--ft-loader-size","SIZE","80px")};class gi extends bt{static get styles(){return b`
792
799
  :host {
793
800
  line-height: 0;
794
801
  }
@@ -797,8 +804,8 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
797
804
  display: inline-block;
798
805
  position: relative;
799
806
 
800
- width: ${ui.size};
801
- height: ${ui.size};
807
+ width: ${yi.size};
808
+ height: ${yi.size};
802
809
  }
803
810
 
804
811
  .ft-loader div {
@@ -807,7 +814,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
807
814
  width: 25%;
808
815
  height: 25%;
809
816
  border-radius: 50%;
810
- background: ${ui.color};
817
+ background: ${yi.color};
811
818
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
812
819
  }
813
820
 
@@ -854,7 +861,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
854
861
  transform: translate(0, 0);
855
862
  }
856
863
  100% {
857
- transform: translate(calc(0.35 * ${ui.size}), 0);
864
+ transform: translate(calc(0.35 * ${yi.size}), 0);
858
865
  }
859
866
  }
860
867
  `}render(){return W`
@@ -864,7 +871,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
864
871
  <div></div>
865
872
  <div></div>
866
873
  </div>
867
- `}}p("ft-loader")(bi);var vi=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 yi=ht.extend("--ft-button-color",ut.colorPrimary),gi={backgroundColor:ht.extend("--ft-button-background-color",ut.colorSurface),borderRadius:ht.extend("--ft-button-border-radius",ut.borderRadiusL),color:yi,fontSize:ht.extend("--ft-button-font-size",De.fontSize),iconSize:ht.create("--ft-button-icon-size","SIZE","24px"),rippleColor:ht.extend("--ft-button-ripple-color",yi),opacityDisabled:ht.external(ut.colorOpacityDisabled,"Design system")},xi=ht.extend("--ft-button-primary-color",ht.extend("--ft-button-color",ut.colorOnPrimary)),mi={backgroundColor:ht.extend("--ft-button-primary-background-color",ht.extend("--ft-button-background-color",ut.colorPrimary)),color:xi,rippleColor:ht.extend("--ft-button-primary-ripple-color",xi)},$i=ht.extend("--ft-button-dense-border-radius",ht.extend("--ft-button-border-radius",ut.borderRadiusM));class wi extends bt{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}static get styles(){return[vt,b`
874
+ `}}p("ft-loader")(gi);var mi=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 $i=ht.extend("--ft-button-color",ut.colorPrimary),wi={backgroundColor:ht.extend("--ft-button-background-color",ut.colorSurface),borderRadius:ht.extend("--ft-button-border-radius",ut.borderRadiusL),color:$i,fontSize:ht.extend("--ft-button-font-size",De.fontSize),iconSize:ht.create("--ft-button-icon-size","SIZE","24px"),rippleColor:ht.extend("--ft-button-ripple-color",$i),opacityDisabled:ht.external(ut.colorOpacityDisabled,"Design system")},Oi=ht.extend("--ft-button-primary-color",ht.extend("--ft-button-color",ut.colorOnPrimary)),Si={backgroundColor:ht.extend("--ft-button-primary-background-color",ht.extend("--ft-button-background-color",ut.colorPrimary)),color:Oi,rippleColor:ht.extend("--ft-button-primary-ripple-color",Oi)},ki=ht.extend("--ft-button-dense-border-radius",ht.extend("--ft-button-border-radius",ut.borderRadiusM));class Ci extends bt{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}static get styles(){return[vt,b`
868
875
  :host {
869
876
  display: inline-block;
870
877
  max-width: 100%;
@@ -903,18 +910,18 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
903
910
  border: none;
904
911
  pointer-events: auto;
905
912
 
906
- --ft-button-internal-font-size: ${gi.fontSize};
913
+ --ft-button-internal-font-size: ${wi.fontSize};
907
914
  --ft-button-internal-line-height: calc(var(--ft-button-internal-font-size) + 2px);
908
- --ft-button-internal-color: ${gi.color};
909
- --mdc-icon-size: ${gi.iconSize};
915
+ --ft-button-internal-color: ${wi.color};
916
+ ${ft(ii.size,wi.iconSize)};
910
917
  --ft-button-internal-vertical-padding: 6px;
911
918
  --ft-button-internal-horizontal-padding: 8px;
912
- ${ft(Je.color,gi.rippleColor)};
913
- --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), var(--mdc-icon-size));
919
+ ${ft(Je.color,wi.rippleColor)};
920
+ --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${wi.iconSize});
914
921
 
915
- border-radius: ${gi.borderRadius};
922
+ border-radius: ${wi.borderRadius};
916
923
  padding: var(--ft-button-internal-vertical-padding) var(--ft-button-internal-horizontal-padding);
917
- background-color: ${gi.backgroundColor};
924
+ background-color: ${wi.backgroundColor};
918
925
  color: var(--ft-button-internal-color);
919
926
  -webkit-mask-image: radial-gradient(white, black);
920
927
  }
@@ -926,7 +933,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
926
933
  .ft-button--dense {
927
934
  --ft-button-internal-vertical-padding: 2px;
928
935
  --ft-button-internal-horizontal-padding: 4px;
929
- border-radius: ${$i};
936
+ border-radius: ${ki};
930
937
  }
931
938
 
932
939
  .ft-button--round {
@@ -935,13 +942,13 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
935
942
 
936
943
  .ft-button[disabled] {
937
944
  filter: grayscale(1);
938
- opacity: ${gi.opacityDisabled};
945
+ opacity: ${wi.opacityDisabled};
939
946
  }
940
947
 
941
948
  .ft-button.ft-button--primary {
942
- background-color: ${mi.backgroundColor};
943
- --ft-button-internal-color: ${mi.color};
944
- ${ft(Je.color,mi.rippleColor)};
949
+ background-color: ${Si.backgroundColor};
950
+ --ft-button-internal-color: ${Si.color};
951
+ ${ft(Je.color,Si.rippleColor)};
945
952
  }
946
953
 
947
954
  .ft-button.ft-button--outlined {
@@ -977,24 +984,23 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
977
984
  display: none;
978
985
  }
979
986
 
980
- mwc-icon {
987
+ ft-icon {
981
988
  flex-shrink: 0;
982
- width: var(--mdc-icon-size);
983
989
  }
984
990
 
985
- .ft-button--label[hidden] + mwc-icon {
991
+ .ft-button--label[hidden] + ft-icon {
986
992
  margin: 0 calc(var(--ft-button-internal-horizontal-padding) * -1);
987
993
  padding: 0 var(--ft-button-internal-vertical-padding);
988
994
  }
989
995
 
990
- .ft-button:not(.ft-button--trailing-icon) mwc-icon,
996
+ .ft-button:not(.ft-button--trailing-icon) ft-icon,
991
997
  .ft-button:not(.ft-button--trailing-icon) ft-loader {
992
998
  order: -1;
993
999
  }
994
1000
 
995
1001
  ft-loader {
996
- ${ft(ui.size,gi.iconSize)};
997
- ${ft(ui.color,"var(--ft-button-internal-color)")};
1002
+ ${ft(yi.size,wi.iconSize)};
1003
+ ${ft(yi.color,"var(--ft-button-internal-color)")};
998
1004
  }
999
1005
  `]}render(){const t={"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-button--safari-fix":mt,"ft-no-text-select":!0};return this.addTooltip(W`
1000
1006
  <button part="button"
@@ -1018,7 +1024,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
1018
1024
  </ft-tooltip>
1019
1025
  `}resolveIcon(){return this.loading?W`
1020
1026
  <ft-loader></ft-loader> `:this.icon?W`
1021
- <mwc-icon>${this.icon}</mwc-icon> `:K}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}wi.elementDefinitions={"ft-ripple":Ye,"ft-tooltip":fi,"ft-typography":Ze,"mwc-icon":Qe,"ft-loader":bi},vi([o({type:Boolean})],wi.prototype,"primary",void 0),vi([o({type:Boolean})],wi.prototype,"outlined",void 0),vi([o({type:Boolean})],wi.prototype,"disabled",void 0),vi([o({type:Boolean})],wi.prototype,"dense",void 0),vi([o({type:Boolean})],wi.prototype,"round",void 0),vi([o({type:String})],wi.prototype,"label",void 0),vi([o({type:String})],wi.prototype,"icon",void 0),vi([o({type:Boolean})],wi.prototype,"trailingIcon",void 0),vi([o({type:Boolean})],wi.prototype,"loading",void 0),vi([o({type:String})],wi.prototype,"tooltipPosition",void 0),vi([r(".ft-button")],wi.prototype,"button",void 0),vi([r(".ft-button--label slot")],wi.prototype,"slottedContent",void 0),p("ft-button")(wi);var Oi=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};class Si extends CustomEvent{constructor(t){super("row-click",{detail:t})}}const ki={headerBackground:ht.create("--ft-filterable-table-header-background","COLOR","whitesmoke"),oddRowBackground:ht.create("--ft-filterable-table-odd-row-background","COLOR","#FFFFFF"),evenRowBackground:ht.create("--ft-filterable-table-even-row-background","COLOR","#fdfdfd"),rowHoverBackground:ht.create("--ft-filterable-table-row-hover-background","COLOR","#fafafa"),colorOnSurfaceHigh:ht.external(ut.colorOnSurfaceHigh,"Design system"),titleFont:ht.external(ut.titleFont,"Design system"),contentFont:ht.external(ut.contentFont,"Design system")},Ci=t=>W`${t}`,Ei=(t,e)=>t-e;class Ri extends bt{constructor(){super(...arguments),this.data=[],this.columns=[],this.filters=[],this.selectData=[]}init(t,e,i){this.data=t,this.columns=e,this.sort=i}render(){let t=this.sortData(this.filterData());return W`
1027
+ <ft-icon variant="material">${this.icon}</ft-icon> `:K}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Ci.elementDefinitions={"ft-ripple":Ye,"ft-tooltip":xi,"ft-typography":Ze,"ft-icon":oi,"ft-loader":gi},mi([o({type:Boolean})],Ci.prototype,"primary",void 0),mi([o({type:Boolean})],Ci.prototype,"outlined",void 0),mi([o({type:Boolean})],Ci.prototype,"disabled",void 0),mi([o({type:Boolean})],Ci.prototype,"dense",void 0),mi([o({type:Boolean})],Ci.prototype,"round",void 0),mi([o({type:String})],Ci.prototype,"label",void 0),mi([o({type:String})],Ci.prototype,"icon",void 0),mi([o({type:Boolean})],Ci.prototype,"trailingIcon",void 0),mi([o({type:Boolean})],Ci.prototype,"loading",void 0),mi([o({type:String})],Ci.prototype,"tooltipPosition",void 0),mi([r(".ft-button")],Ci.prototype,"button",void 0),mi([r(".ft-button--label slot")],Ci.prototype,"slottedContent",void 0),p("ft-button")(Ci);var Ei=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};class Ni extends CustomEvent{constructor(t){super("row-click",{detail:t})}}const Ri={headerBackground:ht.create("--ft-filterable-table-header-background","COLOR","whitesmoke"),oddRowBackground:ht.create("--ft-filterable-table-odd-row-background","COLOR","#FFFFFF"),evenRowBackground:ht.create("--ft-filterable-table-even-row-background","COLOR","#fdfdfd"),rowHoverBackground:ht.create("--ft-filterable-table-row-hover-background","COLOR","#fafafa"),colorOnSurfaceHigh:ht.external(ut.colorOnSurfaceHigh,"Design system"),titleFont:ht.external(ut.titleFont,"Design system"),contentFont:ht.external(ut.contentFont,"Design system")},zi=t=>W`${t}`,Fi=(t,e)=>t-e;class Mi extends bt{constructor(){super(...arguments),this.data=[],this.columns=[],this.filters=[],this.selectData=[]}init(t,e,i){this.data=t,this.columns=e,this.sort=i}render(){let t=this.sortData(this.filterData());return W`
1022
1028
  <style>
1023
1029
  .table {
1024
1030
  grid-template-columns: repeat(${this.columns.length}, minmax(min-content, auto));
@@ -1026,16 +1032,16 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
1026
1032
  </style>
1027
1033
  <div class="table">
1028
1034
  <div class="header">
1029
- ${Ft(this.columns,((t,e)=>"header-cell-"+e),((t,e)=>this.renderHeader(t,e)))}
1035
+ ${Mt(this.columns,((t,e)=>"header-cell-"+e),((t,e)=>this.renderHeader(t,e)))}
1030
1036
  </div>
1031
- ${Ft(t,((t,e)=>"row-"+e),((t,e)=>W`
1037
+ ${Mt(t,((t,e)=>"row-"+e),((t,e)=>W`
1032
1038
  <div class="row"
1033
- @click=${()=>this.dispatchEvent(new Si(t))}>
1034
- ${Ft(this.columns,((t,i)=>"cell-"+e+" "+i),(i=>this.renderCell(i,t,e)))}
1039
+ @click=${()=>this.dispatchEvent(new Ni(t))}>
1040
+ ${Mt(this.columns,((t,i)=>"cell-"+e+" "+i),(i=>this.renderCell(i,t,e)))}
1035
1041
  </div>
1036
1042
  `))}
1037
1043
  </div>
1038
- `}filterData(){let t=[...this.data];return this.filters.forEach(((e,i)=>{var o;const n=this.columns[i];if(e)switch(null!==(o=n.filter)&&void 0!==o?o:"text"){case"text":e.value&&(t=t.filter((t=>this.getValueAsString(n,t,i).toLowerCase().includes(e.value.toLowerCase()))));break;case"select":e.value&&(t=t.filter((t=>this.getValueAsString(n,t,i)===e.value)))}})),t}sortData(t){var e;if(this.currentSort){const i=this.columns[this.currentSort.column],o=null!==(e=i.comparator)&&void 0!==e?e:Ei,n="asc"===this.currentSort.order?o:(t,e)=>-o(t,e);return t.sort(((t,e)=>n(this.getValue(i,t),this.getValue(i,e))))}return t}update(t){super.update(t),t.has("sort")&&(this.currentSort=this.sort),(t.has("data")||t.has("columns"))&&this.updateSelectData()}updateSelectData(){this.selectData=[];const t=this.data,e=this.columns;for(let i in e){const o=e[i];"select"===o.filter&&(this.selectData[i]=[...new Set(t.map(((t,e)=>this.getValueAsString(o,t,e))))].sort(((t,e)=>t.localeCompare(e))))}this.requestUpdate()}renderHeader(t,e){return W`
1044
+ `}filterData(){let t=[...this.data];return this.filters.forEach(((e,i)=>{var o;const n=this.columns[i];if(e)switch(null!==(o=n.filter)&&void 0!==o?o:"text"){case"text":e.value&&(t=t.filter((t=>this.getValueAsString(n,t,i).toLowerCase().includes(e.value.toLowerCase()))));break;case"select":e.value&&(t=t.filter((t=>this.getValueAsString(n,t,i)===e.value)))}})),t}sortData(t){var e;if(this.currentSort){const i=this.columns[this.currentSort.column],o=null!==(e=i.comparator)&&void 0!==e?e:Fi,n="asc"===this.currentSort.order?o:(t,e)=>-o(t,e);return t.sort(((t,e)=>n(this.getValue(i,t),this.getValue(i,e))))}return t}update(t){super.update(t),t.has("sort")&&(this.currentSort=this.sort),(t.has("data")||t.has("columns"))&&this.updateSelectData()}updateSelectData(){this.selectData=[];const t=this.data,e=this.columns;for(let i in e){const o=e[i];"select"===o.filter&&(this.selectData[i]=[...new Set(t.map(((t,e)=>this.getValueAsString(o,t,e))))].sort(((t,e)=>t.localeCompare(e))))}this.requestUpdate()}renderHeader(t,e){return W`
1039
1045
  <div class="header-cell">
1040
1046
  <div class="column-title-container">
1041
1047
  <span class="column-title">${t.title}</span>
@@ -1066,9 +1072,9 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
1066
1072
  <ft-select-option value="${t}" label="${t}"></ft-select-option>
1067
1073
  `))}
1068
1074
  </ft-select>
1069
- `:null}return null}renderCell(t,e,i){var o;const n=null!==(o=t.render)&&void 0!==o?o:Ci;return W`
1075
+ `:null}return null}renderCell(t,e,i){var o;const n=null!==(o=t.render)&&void 0!==o?o:zi;return W`
1070
1076
  <div class="cell">${(t=>{const e=n(t,i);return"string"==typeof e?Dt(e):e})(this.getValue(t,e))}</div>
1071
- `}getValue(t,e){return"string"==typeof t.getter?e[t.getter]:t.getter(e)}getValueAsString(t,e,i){const o=this.getValue(t,e);return"function"==typeof t.stringify?t.stringify(o,i):(t=>""+t)(o)}}Ri.styles=b`
1077
+ `}getValue(t,e){return"string"==typeof t.getter?e[t.getter]:t.getter(e)}getValueAsString(t,e,i){const o=this.getValue(t,e);return"function"==typeof t.stringify?t.stringify(o,i):(t=>""+t)(o)}}Mi.styles=b`
1072
1078
  :host {
1073
1079
  display: block;
1074
1080
  }
@@ -1084,10 +1090,10 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
1084
1090
  .header-cell {
1085
1091
  display: flex;
1086
1092
  flex-direction: column;
1087
- background: ${ki.headerBackground};
1088
- color: ${ki.colorOnSurfaceHigh};
1093
+ background: ${Ri.headerBackground};
1094
+ color: ${Ri.colorOnSurfaceHigh};
1089
1095
  padding: .5rem 1rem;
1090
- font-family: ${ki.titleFont};
1096
+ font-family: ${Ri.titleFont};
1091
1097
  }
1092
1098
 
1093
1099
  .header-cell:first-of-type {
@@ -1104,8 +1110,8 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
1104
1110
  }
1105
1111
 
1106
1112
  .column-title-container ft-button {
1107
- ${ft(gi.backgroundColor,ki.headerBackground)};
1108
- ${ft(gi.color,ki.colorOnSurfaceHigh)};
1113
+ ${ft(wi.backgroundColor,Ri.headerBackground)};
1114
+ ${ft(wi.color,Ri.colorOnSurfaceHigh)};
1109
1115
  }
1110
1116
 
1111
1117
  .column-title {
@@ -1131,29 +1137,29 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
1131
1137
 
1132
1138
  .cell {
1133
1139
  padding: 1rem;
1134
- border-left: 1px solid ${ki.headerBackground};
1135
- border-bottom: 1px solid ${ki.headerBackground};
1140
+ border-left: 1px solid ${Ri.headerBackground};
1141
+ border-bottom: 1px solid ${Ri.headerBackground};
1136
1142
  overflow-x: auto;
1137
1143
  display: flex;
1138
1144
  align-items: center;
1139
- font-family: ${ki.contentFont};
1145
+ font-family: ${Ri.contentFont};
1140
1146
  }
1141
1147
 
1142
1148
  /* Even is 2n+1 and odd is 2n because of the header */
1143
1149
  .row:nth-child(2n) > .cell {
1144
- background: ${ki.oddRowBackground};
1150
+ background: ${Ri.oddRowBackground};
1145
1151
  }
1146
1152
 
1147
1153
  .row:nth-child(2n + 1) > .cell {
1148
- background: ${ki.evenRowBackground};
1154
+ background: ${Ri.evenRowBackground};
1149
1155
  }
1150
1156
 
1151
1157
  .row:hover > .cell {
1152
- background: ${ki.rowHoverBackground};
1158
+ background: ${Ri.rowHoverBackground};
1153
1159
  }
1154
1160
 
1155
1161
  .cell:last-of-type {
1156
- border-right: 1px solid ${ki.headerBackground};
1162
+ border-right: 1px solid ${Ri.headerBackground};
1157
1163
  }
1158
1164
 
1159
1165
  .row:last-of-type .cell:first-of-type {
@@ -1167,4 +1173,4 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
1167
1173
  .hidden {
1168
1174
  visibility: hidden;
1169
1175
  }
1170
- `,Oi([o({attribute:!1})],Ri.prototype,"data",void 0),Oi([o({attribute:!1})],Ri.prototype,"columns",void 0),Oi([o({attribute:!1})],Ri.prototype,"sort",void 0),Oi([n()],Ri.prototype,"currentSort",void 0),p("ft-filterable-table")(Ri),t.FtFilterableTable=Ri,t.FtFilterableTableCssVariables=ki,t.RowClickEvent=Si,Object.defineProperty(t,"t",{value:!0})}({});
1176
+ `,Ei([o({attribute:!1})],Mi.prototype,"data",void 0),Ei([o({attribute:!1})],Mi.prototype,"columns",void 0),Ei([o({attribute:!1})],Mi.prototype,"sort",void 0),Ei([n()],Mi.prototype,"currentSort",void 0),p("ft-filterable-table")(Mi),t.FtFilterableTable=Mi,t.FtFilterableTableCssVariables=Ri,t.RowClickEvent=Ni,Object.defineProperty(t,"t",{value:!0})}({});