@fluid-topics/ft-filterable-table 0.2.13 → 0.2.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
16
16
  */
17
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,n=new WeakMap,s=new WeakMap,r=new WeakMap,l=new WeakMap;let a;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=n.prototype.attributeChangedCallback,a=new Set(n.observedAttributes||[]);f(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 h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)s.delete(t),u(t,p,!0)}const x=this._whenDefinedPromises.get(t);return void 0!==x&&(x.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){b.push(this),o.upgrade.apply(o,arguments),b.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let 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=b[b.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)}},f=(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)})},h=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):h(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),a=t;try{new e.elementClass}catch(t){h(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},x=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=x.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let b=[document];const v=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){b.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&l.set(t,this),b.pop(),t}};v(ShadowRoot,"createElement",document),v(ShadowRoot,"importNode",document),v(Element,"insertAdjacentHTML");const y=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){b.push(this),i.set.call(this,t),b.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(jt){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 t{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||[]);f(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 h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)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(){x.push(this),o.upgrade.apply(o,arguments),x.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=x[x.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)}},f=(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)})},h=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):h(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),a=t;try{new e.elementClass}catch(t){h(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 x=[document];const v=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){x.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&l.set(t,this),x.pop(),t}};v(ShadowRoot,"createElement",document),v(ShadowRoot,"importNode",document),v(Element,"insertAdjacentHTML");const y=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){x.push(this),i.set.call(this,t),x.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(jt){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 t{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
@@ -44,18 +44,18 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
44
44
  * @license
45
45
  * Copyright 2019 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
- */,p=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,c=Symbol(),d=new Map;class f{constructor(t,e){if(this._$cssResult$=!0,e!==c)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=d.get(this.cssText);return p&&void 0===t&&(d.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const h=t=>new f("string"==typeof t?t:t+"",c),u=(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,c)},x=(t,e)=>{p?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)}))},b=p?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return h(e)})(t):t
47
+ */,p=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,c=Symbol(),d=new Map;class f{constructor(t,e){if(this._$cssResult$=!0,e!==c)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=d.get(this.cssText);return p&&void 0===t&&(d.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const h=t=>new f("string"==typeof t?t:t+"",c),u=(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,c)},b=(t,e)=>{p?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=p?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return h(e)})(t):t
48
48
  /**
49
49
  * @license
50
50
  * Copyright 2017 Google LLC
51
51
  * SPDX-License-Identifier: BSD-3-Clause
52
- */;var v;const y=window.trustedTypes,g=y?y.emptyScript:"",m=window.reactiveElementPolyfillSupport,$={toAttribute(t,e){switch(e){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},w=(t,e)=>e!==t&&(e==e||t==t),O={attribute:!0,type:String,converter:$,reflect:!1,hasChanged:w};class S extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Eh(i,e);void 0!==o&&(this._$Eu.set(o,i),t.push(o))})),t}static createProperty(t,e=O){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)||O}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(b(t))}else void 0!==t&&e.push(b(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 x(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=O){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:$.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:$.fromAttribute;this._$Ei=r,this[r]=a(e,t.type),this._$Ei=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||w)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$Ep=this._$E_())}async _$E_(){this.isUpdatePending=!0;try{await this._$Ep}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach(((t,e)=>this[e]=t)),this._$Et=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Eg)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$ES(e,this[e],t))),this._$EC=void 0),this._$EU()}updated(t){}firstUpdated(t){}}
52
+ */;var v;const y=window.trustedTypes,g=y?y.emptyScript:"",m=window.reactiveElementPolyfillSupport,$={toAttribute(t,e){switch(e){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},w=(t,e)=>e!==t&&(e==e||t==t),O={attribute:!0,type:String,converter:$,reflect:!1,hasChanged:w};class S extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Eh(i,e);void 0!==o&&(this._$Eu.set(o,i),t.push(o))})),t}static createProperty(t,e=O){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)||O}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 b(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=O){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:$.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:$.fromAttribute;this._$Ei=r,this[r]=a(e,t.type),this._$Ei=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||w)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$Ep=this._$E_())}async _$E_(){this.isUpdatePending=!0;try{await this._$Ep}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach(((t,e)=>this[e]=t)),this._$Et=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Eg)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$ES(e,this[e],t))),this._$EC=void 0),this._$EU()}updated(t){}firstUpdated(t){}}
53
53
  /**
54
54
  * @license
55
55
  * Copyright 2017 Google LLC
56
56
  * SPDX-License-Identifier: BSD-3-Clause
57
57
  */
58
- var k;S.finalized=!0,S.elementProperties=new Map,S.elementStyles=[],S.shadowRootOptions={mode:"open"},null==m||m({ReactiveElement:S}),(null!==(v=globalThis.reactiveElementVersions)&&void 0!==v?v:globalThis.reactiveElementVersions=[]).push("1.3.2");const C=globalThis.trustedTypes,E=C?C.createPolicy("lit-html",{createHTML:t=>t}):void 0,N=`lit$${(Math.random()+"").slice(9)}$`,R="?"+N,z=`<${R}>`,M=document,F=(t="")=>M.createComment(t),U=t=>null===t||"object"!=typeof t&&"function"!=typeof t,D=Array.isArray,B=t=>{var e;return D(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])},j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,T=/-->/g,A=/>/g,L=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,I=/'/g,P=/"/g,_=/^(?:script|style|textarea|title)$/i,H=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),W=Symbol.for("lit-noChange"),Z=Symbol.for("lit-nothing"),K=new WeakMap,V=M.createTreeWalker(M,129,null,!1),q=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",r=j;for(let e=0;e<i;e++){const i=t[e];let l,a,p=-1,c=0;for(;c<i.length&&(r.lastIndex=c,a=r.exec(i),null!==a);)c=r.lastIndex,r===j?"!--"===a[1]?r=T:void 0!==a[1]?r=A:void 0!==a[2]?(_.test(a[2])&&(n=RegExp("</"+a[2],"g")),r=L):void 0!==a[3]&&(r=L):r===L?">"===a[0]?(r=null!=n?n:j,p=-1):void 0===a[1]?p=-2:(p=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?L:'"'===a[3]?P:I):r===P||r===I?r=L:r===T||r===A?r=j:(r=L,n=void 0);const d=r===L&&t[e+1].startsWith("/>")?" ":"";s+=r===j?i+z: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!==E?E.createHTML(l):l,o]};class X{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=X.createElement(a,i),V.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=V.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]?tt:"?"===e[1]?it:"@"===e[1]?ot:Q})}else l.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(_.test(o.tagName)){const t=o.textContent.split(N),e=t.length-1;if(e>0){o.textContent=C?C.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],F()),V.nextNode(),l.push({type:2,index:++n});o.append(t[e],F())}}}else if(8===o.nodeType)if(o.data===R)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=M.createElement("template");return i.innerHTML=t,i}}function J(t,e,i=t,o){var n,s,r,l;if(e===W)return e;let a=void 0!==o?null===(n=i._$Cl)||void 0===n?void 0:n[o]:i._$Cu;const p=U(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=J(t,a._$AS(t,e.values),a,o)),e}class Y{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);V.currentNode=n;let s=V.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new G(s,s.nextSibling,this,t):1===a.type?e=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(e=new nt(s,this,t)),this.v.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(s=V.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 G{constructor(t,e,i,o){var n;this.type=2,this._$AH=Z,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=J(this,t,e),U(t)?t===Z||null==t||""===t?(this._$AH!==Z&&this._$AR(),this._$AH=Z):t!==this._$AH&&t!==W&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):B(t)?this.S(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==Z&&U(this._$AH)?this._$AA.nextSibling.data=t:this.k(M.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=X.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 Y(n,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=K.get(t.strings);return void 0===e&&K.set(t.strings,e=new X(t)),e}S(t){D(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 G(this.M(F()),this.M(F()),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 Q{constructor(t,e,i,o,n){this.type=1,this._$AH=Z,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=Z}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=J(this,t,e,0),s=!U(t)||t!==this._$AH&&t!==W,s&&(this._$AH=t);else{const o=t;let r,l;for(t=n[0],r=0;r<n.length-1;r++)l=J(this,o[i+r],e,r),l===W&&(l=this._$AH[r]),s||(s=!U(l)||l!==this._$AH[r]),l===Z?t=Z:t!==Z&&(t+=(null!=l?l:"")+n[r+1]),this._$AH[r]=l}s&&!o&&this.C(t)}C(t){t===Z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class tt extends Q{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===Z?void 0:t}}const et=C?C.emptyScript:"";class it extends Q{constructor(){super(...arguments),this.type=4}C(t){t&&t!==Z?this.element.setAttribute(this.name,et):this.element.removeAttribute(this.name)}}class ot extends Q{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=J(this,t,e,0))&&void 0!==i?i:Z)===W)return;const o=this._$AH,n=t===Z&&o!==Z||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==Z&&(o===Z||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 nt{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){J(this,t)}}const st={L:"$lit$",P:N,V:R,I:1,N:q,R:Y,j:B,D:J,H:G,F:Q,O:it,W:ot,B:tt,Z:nt},rt=window.litHtmlPolyfillSupport;
58
+ var k;S.finalized=!0,S.elementProperties=new Map,S.elementStyles=[],S.shadowRootOptions={mode:"open"},null==m||m({ReactiveElement:S}),(null!==(v=globalThis.reactiveElementVersions)&&void 0!==v?v:globalThis.reactiveElementVersions=[]).push("1.3.2");const C=globalThis.trustedTypes,E=C?C.createPolicy("lit-html",{createHTML:t=>t}):void 0,N=`lit$${(Math.random()+"").slice(9)}$`,R="?"+N,z=`<${R}>`,M=document,F=(t="")=>M.createComment(t),U=t=>null===t||"object"!=typeof t&&"function"!=typeof t,B=Array.isArray,D=t=>{var e;return B(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])},j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,T=/-->/g,A=/>/g,L=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,I=/'/g,P=/"/g,_=/^(?:script|style|textarea|title)$/i,H=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),W=Symbol.for("lit-noChange"),Z=Symbol.for("lit-nothing"),K=new WeakMap,V=M.createTreeWalker(M,129,null,!1),q=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",r=j;for(let e=0;e<i;e++){const i=t[e];let l,a,p=-1,c=0;for(;c<i.length&&(r.lastIndex=c,a=r.exec(i),null!==a);)c=r.lastIndex,r===j?"!--"===a[1]?r=T:void 0!==a[1]?r=A:void 0!==a[2]?(_.test(a[2])&&(n=RegExp("</"+a[2],"g")),r=L):void 0!==a[3]&&(r=L):r===L?">"===a[0]?(r=null!=n?n:j,p=-1):void 0===a[1]?p=-2:(p=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?L:'"'===a[3]?P:I):r===P||r===I?r=L:r===T||r===A?r=j:(r=L,n=void 0);const d=r===L&&t[e+1].startsWith("/>")?" ":"";s+=r===j?i+z: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!==E?E.createHTML(l):l,o]};class X{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=X.createElement(a,i),V.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=V.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]?tt:"?"===e[1]?it:"@"===e[1]?ot:Q})}else l.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(_.test(o.tagName)){const t=o.textContent.split(N),e=t.length-1;if(e>0){o.textContent=C?C.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],F()),V.nextNode(),l.push({type:2,index:++n});o.append(t[e],F())}}}else if(8===o.nodeType)if(o.data===R)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=M.createElement("template");return i.innerHTML=t,i}}function J(t,e,i=t,o){var n,s,r,l;if(e===W)return e;let a=void 0!==o?null===(n=i._$Cl)||void 0===n?void 0:n[o]:i._$Cu;const p=U(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=J(t,a._$AS(t,e.values),a,o)),e}class Y{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);V.currentNode=n;let s=V.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new G(s,s.nextSibling,this,t):1===a.type?e=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(e=new nt(s,this,t)),this.v.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(s=V.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 G{constructor(t,e,i,o){var n;this.type=2,this._$AH=Z,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=J(this,t,e),U(t)?t===Z||null==t||""===t?(this._$AH!==Z&&this._$AR(),this._$AH=Z):t!==this._$AH&&t!==W&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):D(t)?this.S(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==Z&&U(this._$AH)?this._$AA.nextSibling.data=t:this.k(M.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=X.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 Y(n,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=K.get(t.strings);return void 0===e&&K.set(t.strings,e=new X(t)),e}S(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 G(this.M(F()),this.M(F()),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 Q{constructor(t,e,i,o,n){this.type=1,this._$AH=Z,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=Z}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=J(this,t,e,0),s=!U(t)||t!==this._$AH&&t!==W,s&&(this._$AH=t);else{const o=t;let r,l;for(t=n[0],r=0;r<n.length-1;r++)l=J(this,o[i+r],e,r),l===W&&(l=this._$AH[r]),s||(s=!U(l)||l!==this._$AH[r]),l===Z?t=Z:t!==Z&&(t+=(null!=l?l:"")+n[r+1]),this._$AH[r]=l}s&&!o&&this.C(t)}C(t){t===Z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class tt extends Q{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===Z?void 0:t}}const et=C?C.emptyScript:"";class it extends Q{constructor(){super(...arguments),this.type=4}C(t){t&&t!==Z?this.element.setAttribute(this.name,et):this.element.removeAttribute(this.name)}}class ot extends Q{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=J(this,t,e,0))&&void 0!==i?i:Z)===W)return;const o=this._$AH,n=t===Z&&o!==Z||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==Z&&(o===Z||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 nt{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){J(this,t)}}const st={L:"$lit$",P:N,V:R,I:1,N:q,R:Y,j:D,D:J,H:G,F:Q,O:it,W:ot,B:tt,Z:nt},rt=window.litHtmlPolyfillSupport;
59
59
  /**
60
60
  * @license
61
61
  * Copyright 2017 Google LLC
@@ -66,12 +66,12 @@ var lt,at;null==rt||rt(X,G),(null!==(k=globalThis.litHtmlVersions)&&void 0!==k?k
66
66
  * @license
67
67
  * Copyright 2021 Google LLC
68
68
  * SPDX-License-Identifier: BSD-3-Clause
69
- */class ut extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:o}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const n=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return x(n,this.constructor.elementStyles),n}}}(pt)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),H`
69
+ */class ut extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:o}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const n=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return b(n,this.constructor.elementStyles),n}}}(pt)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),H`
70
70
  ${t.map((t=>H`
71
71
  <style>${t}</style>
72
72
  `))}
73
73
  ${this.getTemplate()}
74
- `}updated(t){super.updated(t),setTimeout((()=>this.contentAvailableCallback(t)),0)}contentAvailableCallback(t){}}const xt=u`
74
+ `}updated(t){super.updated(t),setTimeout((()=>this.contentAvailableCallback(t)),0)}contentAvailableCallback(t){}}const bt=u`
75
75
  .ft-no-text-select {
76
76
  -webkit-touch-callout: none;
77
77
  -webkit-user-select: none;
@@ -80,7 +80,7 @@ var lt,at;null==rt||rt(X,G),(null!==(k=globalThis.litHtmlVersions)&&void 0!==k?k
80
80
  -ms-user-select: none;
81
81
  user-select: none;
82
82
  }
83
- `;var bt,vt,yt;const gt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(yt=null===(vt=null===(bt=window.safari)||void 0===bt?void 0:bt.pushNotification)||void 0===vt?void 0:vt.toString())&&void 0!==yt?yt:""),mt=1,$t=2,wt=t=>(...e)=>({_$litDirective$:t,values:e});
83
+ `;var xt,vt,yt;const gt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(yt=null===(vt=null===(xt=window.safari)||void 0===xt?void 0:xt.pushNotification)||void 0===vt?void 0:vt.toString())&&void 0!==yt?yt:""),mt=1,$t=2,wt=t=>(...e)=>({_$litDirective$:t,values:e});
84
84
  /**
85
85
  * @license
86
86
  * Copyright 2017 Google LLC
@@ -90,7 +90,7 @@ var lt,at;null==rt||rt(X,G),(null!==(k=globalThis.litHtmlVersions)&&void 0!==k?k
90
90
  * @license
91
91
  * Copyright 2020 Google LLC
92
92
  * SPDX-License-Identifier: BSD-3-Clause
93
- */const{H:St}=st,kt=()=>document.createComment(""),Ct=(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(kt(),s),o=n.insertBefore(kt(),s);i=new St(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},Et=(t,e,i=t)=>(t._$AI(e,i),t),Nt={},Rt=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}},zt=(t,e,i)=>{const o=new Map;for(let n=e;n<=i;n++)o.set(t[n],n);return o},Mt=wt(class extends Ot{constructor(t){if(super(t),t.type!==$t)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.ut=l,r;const a=null!==(n=this.ut)&&void 0!==n?n:this.ut=[],p=[];let c,d,f=0,h=s.length-1,u=0,x=r.length-1;for(;f<=h&&u<=x;)if(null===s[f])f++;else if(null===s[h])h--;else if(a[f]===l[u])p[u]=Et(s[f],r[u]),f++,u++;else if(a[h]===l[x])p[x]=Et(s[h],r[x]),h--,x--;else if(a[f]===l[x])p[x]=Et(s[f],r[x]),Ct(t,p[x+1],s[f]),f++,x--;else if(a[h]===l[u])p[u]=Et(s[h],r[u]),Ct(t,s[f],s[h]),h--,u++;else if(void 0===c&&(c=zt(l,u,x),d=zt(a,f,h)),c.has(a[f]))if(c.has(a[h])){const e=d.get(l[u]),i=void 0!==e?s[e]:null;if(null===i){const e=Ct(t,s[f]);Et(e,r[u]),p[u]=e}else p[u]=Et(i,r[u]),Ct(t,s[f],i),s[e]=null;u++}else Rt(s[h]),h--;else Rt(s[f]),f++;for(;u<=x;){const e=Ct(t,p[x+1]);Et(e,r[u]),p[u++]=e}for(;f<=h;){const t=s[f++];null!==t&&Rt(t)}return this.ut=l,((t,e=Nt)=>{t._$AH=e})(t,p),W}});
93
+ */const{H:St}=st,kt=()=>document.createComment(""),Ct=(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(kt(),s),o=n.insertBefore(kt(),s);i=new St(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},Et=(t,e,i=t)=>(t._$AI(e,i),t),Nt={},Rt=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}},zt=(t,e,i)=>{const o=new Map;for(let n=e;n<=i;n++)o.set(t[n],n);return o},Mt=wt(class extends Ot{constructor(t){if(super(t),t.type!==$t)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.ut=l,r;const a=null!==(n=this.ut)&&void 0!==n?n:this.ut=[],p=[];let c,d,f=0,h=s.length-1,u=0,b=r.length-1;for(;f<=h&&u<=b;)if(null===s[f])f++;else if(null===s[h])h--;else if(a[f]===l[u])p[u]=Et(s[f],r[u]),f++,u++;else if(a[h]===l[b])p[b]=Et(s[h],r[b]),h--,b--;else if(a[f]===l[b])p[b]=Et(s[f],r[b]),Ct(t,p[b+1],s[f]),f++,b--;else if(a[h]===l[u])p[u]=Et(s[h],r[u]),Ct(t,s[f],s[h]),h--,u++;else if(void 0===c&&(c=zt(l,u,b),d=zt(a,f,h)),c.has(a[f]))if(c.has(a[h])){const e=d.get(l[u]),i=void 0!==e?s[e]:null;if(null===i){const e=Ct(t,s[f]);Et(e,r[u]),p[u]=e}else p[u]=Et(i,r[u]),Ct(t,s[f],i),s[e]=null;u++}else Rt(s[h]),h--;else Rt(s[f]),f++;for(;u<=b;){const e=Ct(t,p[b+1]);Et(e,r[u]),p[u++]=e}for(;f<=h;){const t=s[f++];null!==t&&Rt(t)}return this.ut=l,((t,e=Nt)=>{t._$AH=e})(t,p),W}});
94
94
  /**
95
95
  * @license
96
96
  * Copyright 2017 Google LLC
@@ -101,12 +101,12 @@ var lt,at;null==rt||rt(X,G),(null!==(k=globalThis.litHtmlVersions)&&void 0!==k?k
101
101
  * Copyright 2017 Google LLC
102
102
  * SPDX-License-Identifier: BSD-3-Clause
103
103
  */
104
- class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Z||null==t)return this.ft=void 0,this.it=t;if(t===W)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this.ft;this.it=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Ft.directiveName="unsafeHTML",Ft.resultType=1;const Ut=wt(Ft),Dt=wt(class extends Ot{constructor(t){var e;if(super(t),t.type!==mt||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,o;if(void 0===this.et){this.et=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.et.add(t);return this.render(e)}const n=t.element.classList;this.et.forEach((t=>{t in e||(n.remove(t),this.et.delete(t))}));for(const t in e){const i=!!e[t];i===this.et.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(n.add(t),this.et.add(t)):(n.remove(t),this.et.delete(t)))}return W}}),Bt=Symbol.for(""),jt=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===Bt)return null===(i=t)||void 0===i?void 0:i._$litStatic$},Tt=t=>({_$litStatic$:t,r:Bt}),At=new Map,Lt=(t=>(e,...i)=>{const o=i.length;let n,s;const r=[],l=[];let a,p=0,c=!1;for(;p<o;){for(a=e[p];p<o&&void 0!==(s=i[p],n=jt(s));)a+=n+e[++p],c=!0;l.push(s),r.push(a),p++}if(p===o&&r.push(e[o]),c){const t=r.join("$$lit$$");void 0===(e=At.get(t))&&(r.raw=r,At.set(t,e=r)),i=l}return t(e,...i)})(H);
104
+ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Z||null==t)return this.ft=void 0,this.it=t;if(t===W)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this.ft;this.it=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Ft.directiveName="unsafeHTML",Ft.resultType=1;const Ut=wt(Ft),Bt=wt(class extends Ot{constructor(t){var e;if(super(t),t.type!==mt||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,o;if(void 0===this.et){this.et=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.et.add(t);return this.render(e)}const n=t.element.classList;this.et.forEach((t=>{t in e||(n.remove(t),this.et.delete(t))}));for(const t in e){const i=!!e[t];i===this.et.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(n.add(t),this.et.add(t)):(n.remove(t),this.et.delete(t)))}return W}}),Dt=Symbol.for(""),jt=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===Dt)return null===(i=t)||void 0===i?void 0:i._$litStatic$},Tt=t=>({_$litStatic$:t,r:Dt}),At=new Map,Lt=(t=>(e,...i)=>{const o=i.length;let n,s;const r=[],l=[];let a,p=0,c=!1;for(;p<o;){for(a=e[p];p<o&&void 0!==(s=i[p],n=jt(s));)a+=n+e[++p],c=!0;l.push(s),r.push(a),p++}if(p===o&&r.push(e[o]),c){const t=r.join("$$lit$$");void 0===(e=At.get(t))&&(r.raw=r,At.set(t,e=r)),i=l}return t(e,...i)})(H);
105
105
  /**
106
106
  * @license
107
107
  * Copyright 2018 Google LLC
108
108
  * SPDX-License-Identifier: BSD-3-Clause
109
- */var It,Pt=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"}(It||(It={}));const _t=dt.extend("--ft-typography-font-family",ht.titleFont),Ht=dt.extend("--ft-typography-font-family",ht.contentFont),Wt={fontFamily:Ht,fontSize:dt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:dt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:dt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:dt.create("--ft-typography-line-height","SIZE","24px"),textTransform:dt.create("--ft-typography-text-transform","UNKNOWN","inherit")},Zt=dt.extend("--ft-typography-title-font-family",_t),Kt=dt.extend("--ft-typography-title-font-size",Wt.fontSize,"20px"),Vt=dt.extend("--ft-typography-title-font-weight",Wt.fontWeight,"normal"),qt=dt.extend("--ft-typography-title-letter-spacing",Wt.letterSpacing,"0.15px"),Xt=dt.extend("--ft-typography-title-line-height",Wt.lineHeight,"24px"),Jt=dt.extend("--ft-typography-title-text-transform",Wt.textTransform,"inherit"),Yt=dt.extend("--ft-typography-title-dense-font-family",_t),Gt=dt.extend("--ft-typography-title-dense-font-size",Wt.fontSize,"14px"),Qt=dt.extend("--ft-typography-title-dense-font-weight",Wt.fontWeight,"normal"),te=dt.extend("--ft-typography-title-dense-letter-spacing",Wt.letterSpacing,"0.105px"),ee=dt.extend("--ft-typography-title-dense-line-height",Wt.lineHeight,"24px"),ie=dt.extend("--ft-typography-title-dense-text-transform",Wt.textTransform,"inherit"),oe=dt.extend("--ft-typography-subtitle1-font-family",Ht),ne=dt.extend("--ft-typography-subtitle1-font-size",Wt.fontSize,"16px"),se=dt.extend("--ft-typography-subtitle1-font-weight",Wt.fontWeight,"600"),re=dt.extend("--ft-typography-subtitle1-letter-spacing",Wt.letterSpacing,"0.144px"),le=dt.extend("--ft-typography-subtitle1-line-height",Wt.lineHeight,"24px"),ae=dt.extend("--ft-typography-subtitle1-text-transform",Wt.textTransform,"inherit"),pe=dt.extend("--ft-typography-subtitle2-font-family",Ht),ce=dt.extend("--ft-typography-subtitle2-font-size",Wt.fontSize,"14px"),de=dt.extend("--ft-typography-subtitle2-font-weight",Wt.fontWeight,"normal"),fe=dt.extend("--ft-typography-subtitle2-letter-spacing",Wt.letterSpacing,"0.098px"),he=dt.extend("--ft-typography-subtitle2-line-height",Wt.lineHeight,"24px"),ue=dt.extend("--ft-typography-subtitle2-text-transform",Wt.textTransform,"inherit"),xe={fontFamily:dt.extend("--ft-typography-body1-font-family",Ht),fontSize:dt.extend("--ft-typography-body1-font-size",Wt.fontSize,"16px"),fontWeight:dt.extend("--ft-typography-body1-font-weight",Wt.fontWeight,"normal"),letterSpacing:dt.extend("--ft-typography-body1-letter-spacing",Wt.letterSpacing,"0.496px"),lineHeight:dt.extend("--ft-typography-body1-line-height",Wt.lineHeight,"24px"),textTransform:dt.extend("--ft-typography-body1-text-transform",Wt.textTransform,"inherit")},be=dt.extend("--ft-typography-body2-font-family",Ht),ve=dt.extend("--ft-typography-body2-font-size",Wt.fontSize,"14px"),ye=dt.extend("--ft-typography-body2-font-weight",Wt.fontWeight,"normal"),ge=dt.extend("--ft-typography-body2-letter-spacing",Wt.letterSpacing,"0.252px"),me=dt.extend("--ft-typography-body2-line-height",Wt.lineHeight,"20px"),$e=dt.extend("--ft-typography-body2-text-transform",Wt.textTransform,"inherit"),we={fontFamily:dt.extend("--ft-typography-caption-font-family",Ht),fontSize:dt.extend("--ft-typography-caption-font-size",Wt.fontSize,"12px"),fontWeight:dt.extend("--ft-typography-caption-font-weight",Wt.fontWeight,"normal"),letterSpacing:dt.extend("--ft-typography-caption-letter-spacing",Wt.letterSpacing,"0.396px"),lineHeight:dt.extend("--ft-typography-caption-line-height",Wt.lineHeight,"16px"),textTransform:dt.extend("--ft-typography-caption-text-transform",Wt.textTransform,"inherit")},Oe=dt.extend("--ft-typography-breadcrumb-font-family",Ht),Se=dt.extend("--ft-typography-breadcrumb-font-size",Wt.fontSize,"10px"),ke=dt.extend("--ft-typography-breadcrumb-font-weight",Wt.fontWeight,"normal"),Ce=dt.extend("--ft-typography-breadcrumb-letter-spacing",Wt.letterSpacing,"0.33px"),Ee=dt.extend("--ft-typography-breadcrumb-line-height",Wt.lineHeight,"16px"),Ne=dt.extend("--ft-typography-breadcrumb-text-transform",Wt.textTransform,"inherit"),Re=dt.extend("--ft-typography-overline-font-family",Ht),ze=dt.extend("--ft-typography-overline-font-size",Wt.fontSize,"10px"),Me=dt.extend("--ft-typography-overline-font-weight",Wt.fontWeight,"normal"),Fe=dt.extend("--ft-typography-overline-letter-spacing",Wt.letterSpacing,"1.5px"),Ue=dt.extend("--ft-typography-overline-line-height",Wt.lineHeight,"16px"),De=dt.extend("--ft-typography-overline-text-transform",Wt.textTransform,"uppercase"),Be={fontFamily:dt.extend("--ft-typography-button-font-family",Ht),fontSize:dt.extend("--ft-typography-button-font-size",Wt.fontSize,"14px"),fontWeight:dt.extend("--ft-typography-button-font-weight",Wt.fontWeight,"600"),letterSpacing:dt.extend("--ft-typography-button-letter-spacing",Wt.letterSpacing,"1.246px"),lineHeight:dt.extend("--ft-typography-button-line-height",Wt.lineHeight,"16px"),textTransform:dt.extend("--ft-typography-button-text-transform",Wt.textTransform,"uppercase")},je=u`
109
+ */var It,Pt=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"}(It||(It={}));const _t=dt.extend("--ft-typography-font-family",ht.titleFont),Ht=dt.extend("--ft-typography-font-family",ht.contentFont),Wt={fontFamily:Ht,fontSize:dt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:dt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:dt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:dt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:dt.create("--ft-typography-text-transform","UNKNOWN","inherit")},Zt=dt.extend("--ft-typography-title-font-family",_t),Kt=dt.extend("--ft-typography-title-font-size",Wt.fontSize,"20px"),Vt=dt.extend("--ft-typography-title-font-weight",Wt.fontWeight,"normal"),qt=dt.extend("--ft-typography-title-letter-spacing",Wt.letterSpacing,"0.15px"),Xt=dt.extend("--ft-typography-title-line-height",Wt.lineHeight,"1.2"),Jt=dt.extend("--ft-typography-title-text-transform",Wt.textTransform,"inherit"),Yt=dt.extend("--ft-typography-title-dense-font-family",_t),Gt=dt.extend("--ft-typography-title-dense-font-size",Wt.fontSize,"14px"),Qt=dt.extend("--ft-typography-title-dense-font-weight",Wt.fontWeight,"normal"),te=dt.extend("--ft-typography-title-dense-letter-spacing",Wt.letterSpacing,"0.105px"),ee=dt.extend("--ft-typography-title-dense-line-height",Wt.lineHeight,"1.7"),ie=dt.extend("--ft-typography-title-dense-text-transform",Wt.textTransform,"inherit"),oe=dt.extend("--ft-typography-subtitle1-font-family",Ht),ne=dt.extend("--ft-typography-subtitle1-font-size",Wt.fontSize,"16px"),se=dt.extend("--ft-typography-subtitle1-font-weight",Wt.fontWeight,"600"),re=dt.extend("--ft-typography-subtitle1-letter-spacing",Wt.letterSpacing,"0.144px"),le=dt.extend("--ft-typography-subtitle1-line-height",Wt.lineHeight,"1.5"),ae=dt.extend("--ft-typography-subtitle1-text-transform",Wt.textTransform,"inherit"),pe=dt.extend("--ft-typography-subtitle2-font-family",Ht),ce=dt.extend("--ft-typography-subtitle2-font-size",Wt.fontSize,"14px"),de=dt.extend("--ft-typography-subtitle2-font-weight",Wt.fontWeight,"normal"),fe=dt.extend("--ft-typography-subtitle2-letter-spacing",Wt.letterSpacing,"0.098px"),he=dt.extend("--ft-typography-subtitle2-line-height",Wt.lineHeight,"1.7"),ue=dt.extend("--ft-typography-subtitle2-text-transform",Wt.textTransform,"inherit"),be={fontFamily:dt.extend("--ft-typography-body1-font-family",Ht),fontSize:dt.extend("--ft-typography-body1-font-size",Wt.fontSize,"16px"),fontWeight:dt.extend("--ft-typography-body1-font-weight",Wt.fontWeight,"normal"),letterSpacing:dt.extend("--ft-typography-body1-letter-spacing",Wt.letterSpacing,"0.496px"),lineHeight:dt.extend("--ft-typography-body1-line-height",Wt.lineHeight,"1.5"),textTransform:dt.extend("--ft-typography-body1-text-transform",Wt.textTransform,"inherit")},xe=dt.extend("--ft-typography-body2-font-family",Ht),ve=dt.extend("--ft-typography-body2-font-size",Wt.fontSize,"14px"),ye=dt.extend("--ft-typography-body2-font-weight",Wt.fontWeight,"normal"),ge=dt.extend("--ft-typography-body2-letter-spacing",Wt.letterSpacing,"0.252px"),me=dt.extend("--ft-typography-body2-line-height",Wt.lineHeight,"1.4"),$e=dt.extend("--ft-typography-body2-text-transform",Wt.textTransform,"inherit"),we={fontFamily:dt.extend("--ft-typography-caption-font-family",Ht),fontSize:dt.extend("--ft-typography-caption-font-size",Wt.fontSize,"12px"),fontWeight:dt.extend("--ft-typography-caption-font-weight",Wt.fontWeight,"normal"),letterSpacing:dt.extend("--ft-typography-caption-letter-spacing",Wt.letterSpacing,"0.396px"),lineHeight:dt.extend("--ft-typography-caption-line-height",Wt.lineHeight,"1.33"),textTransform:dt.extend("--ft-typography-caption-text-transform",Wt.textTransform,"inherit")},Oe=dt.extend("--ft-typography-breadcrumb-font-family",Ht),Se=dt.extend("--ft-typography-breadcrumb-font-size",Wt.fontSize,"10px"),ke=dt.extend("--ft-typography-breadcrumb-font-weight",Wt.fontWeight,"normal"),Ce=dt.extend("--ft-typography-breadcrumb-letter-spacing",Wt.letterSpacing,"0.33px"),Ee=dt.extend("--ft-typography-breadcrumb-line-height",Wt.lineHeight,"1.6"),Ne=dt.extend("--ft-typography-breadcrumb-text-transform",Wt.textTransform,"inherit"),Re=dt.extend("--ft-typography-overline-font-family",Ht),ze=dt.extend("--ft-typography-overline-font-size",Wt.fontSize,"10px"),Me=dt.extend("--ft-typography-overline-font-weight",Wt.fontWeight,"normal"),Fe=dt.extend("--ft-typography-overline-letter-spacing",Wt.letterSpacing,"1.5px"),Ue=dt.extend("--ft-typography-overline-line-height",Wt.lineHeight,"1.6"),Be=dt.extend("--ft-typography-overline-text-transform",Wt.textTransform,"uppercase"),De={fontFamily:dt.extend("--ft-typography-button-font-family",Ht),fontSize:dt.extend("--ft-typography-button-font-size",Wt.fontSize,"14px"),fontWeight:dt.extend("--ft-typography-button-font-weight",Wt.fontWeight,"600"),letterSpacing:dt.extend("--ft-typography-button-letter-spacing",Wt.letterSpacing,"1.246px"),lineHeight:dt.extend("--ft-typography-button-line-height",Wt.lineHeight,"1.15"),textTransform:dt.extend("--ft-typography-button-text-transform",Wt.textTransform,"uppercase")},je=u`
110
110
  .ft-typography--title {
111
111
  font-family: ${Zt};
112
112
  font-size: ${Kt};
@@ -145,16 +145,16 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
145
145
 
146
146
  `,Ie=u`
147
147
  .ft-typography--body1 {
148
- font-family: ${xe.fontFamily};
149
- font-size: ${xe.fontSize};
150
- font-weight: ${xe.fontWeight};
151
- letter-spacing: ${xe.letterSpacing};
152
- line-height: ${xe.lineHeight};
153
- text-transform: ${xe.textTransform};
148
+ font-family: ${be.fontFamily};
149
+ font-size: ${be.fontSize};
150
+ font-weight: ${be.fontWeight};
151
+ letter-spacing: ${be.letterSpacing};
152
+ line-height: ${be.lineHeight};
153
+ text-transform: ${be.textTransform};
154
154
  }
155
155
  `,Pe=u`
156
156
  .ft-typography--body2 {
157
- font-family: ${be};
157
+ font-family: ${xe};
158
158
  font-size: ${ve};
159
159
  font-weight: ${ye};
160
160
  letter-spacing: ${ge};
@@ -186,16 +186,16 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
186
186
  font-weight: ${Me};
187
187
  letter-spacing: ${Fe};
188
188
  line-height: ${Ue};
189
- text-transform: ${De};
189
+ text-transform: ${Be};
190
190
  }
191
191
  `,Ze=u`
192
192
  .ft-typography--button {
193
- font-family: ${Be.fontFamily};
194
- font-size: ${Be.fontSize};
195
- font-weight: ${Be.fontWeight};
196
- letter-spacing: ${Be.letterSpacing};
197
- line-height: ${Be.lineHeight};
198
- text-transform: ${Be.textTransform};
193
+ font-family: ${De.fontFamily};
194
+ font-size: ${De.fontSize};
195
+ font-weight: ${De.fontWeight};
196
+ letter-spacing: ${De.letterSpacing};
197
+ line-height: ${De.lineHeight};
198
+ text-transform: ${De.textTransform};
199
199
  }
200
200
  `;class Ke extends ut{constructor(){super(...arguments),this.variant=It.body1}render(){return this.element?Lt`
201
201
  <${Tt(this.element)}
@@ -209,7 +209,7 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
209
209
  vertical-align: inherit;
210
210
  }
211
211
  `],Pt([i()],Ke.prototype,"element",void 0),Pt([i()],Ke.prototype,"variant",void 0),a("ft-typography")(Ke);var Ve=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 qe={fontSize:dt.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:dt.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:dt.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:dt.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:dt.create("--ft-input-label-horizontal-spacing","SIZE","12px"),borderColor:dt.extend("--ft-input-label-border-color",ht.colorOutline),textColor:dt.extend("--ft-input-label-text-color",ht.colorOnSurfaceMedium),disabledTextColor:dt.extend("--ft-input-label-disabled-text-color",ht.colorOnSurfaceDisabled),colorSurface:dt.external(ht.colorSurface,"Design system"),borderRadiusS:dt.external(ht.borderRadiusS,"Design system"),colorError:dt.external(ht.colorError,"Design system")};class Xe extends ut{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return H`
212
- <div class="${Dt(t)}">
212
+ <div class="${Bt(t)}">
213
213
  ${this.text?H`
214
214
  <div class="ft-input-label--text ft-typography--caption">
215
215
  <span class="ft-input-label--floating-text">${this.text}</span>
@@ -341,7 +341,7 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
341
341
  top: ${this.originY}px;
342
342
  }
343
343
  </style>
344
- <div class="${Dt(t)}">
344
+ <div class="${Bt(t)}">
345
345
  <div class="ft-ripple--background"></div>
346
346
  <div class="ft-ripple--effect"></div>
347
347
  </div>
@@ -440,8 +440,10 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
440
440
  <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
441
441
  </i>
442
442
  `}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===ai.file_format?null!==(t=li[i.toUpperCase()])&&void 0!==t?t:i:this.variant===ai.fluid_topics?null!==(e=ri[i.toUpperCase()])&&void 0!==e?e:i:Z}}di.elementDefinitions={},di.styles=u`
443
- :host, i.ft-icon {
443
+ :host {
444
444
  display: inline-block;
445
+ }
446
+ :host, i.ft-icon {
445
447
  width: ${ci.size};
446
448
  height: ${ci.size};
447
449
  text-align: center;
@@ -472,8 +474,8 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
472
474
  .ft-icon--material {
473
475
  font-family: ${ci.materialFontFamily}, "Material Icons", sans-serif;
474
476
  }
475
- `,pi([i()],di.prototype,"variant",void 0),pi([s("slot")],di.prototype,"slottedContent",void 0),a("ft-icon")(di);var fi=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 hi extends ut{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return H``}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}hi.elementDefinitions={},fi([i({type:String})],hi.prototype,"label",void 0),fi([i({type:Object,converter:t=>t})],hi.prototype,"value",void 0),fi([i({type:Boolean,reflect:!0})],hi.prototype,"selected",void 0);const ui={labelSize:dt.create("--ft-select-label-size","SIZE","11px"),selectedOptionSize:dt.create("--ft-select-selected-option-size","SIZE","14px"),verticalSpacing:dt.create("--ft-select-vertical-spacing","SIZE","4px"),selectedOptionColor:dt.extend("--ft-select-selected-option-color",ht.colorOnSurface),helperColor:dt.extend("--ft-select-helper-color",ht.colorOnSurfaceMedium),optionsColor:dt.extend("--ft-select-options-color",ht.colorOnSurface),optionsZIndex:dt.create("--ft-select-options-z-index","NUMBER","3"),colorSurface:dt.external(ht.colorSurface,"Design system"),colorOnSurfaceDisabled:dt.external(ht.colorOnSurfaceDisabled,"Design system"),colorPrimary:dt.external(ht.colorPrimary,"Design system"),borderRadiusS:dt.external(ht.borderRadiusS,"Design system"),elevation02:dt.external(ht.elevation02,"Design system"),colorError:dt.external(ht.colorError,"Design system")};class xi extends ut{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,e,i,o,n;let s=this.hasOptionsMenuOpen,r=this.disabled||!this.hasOptions;const l=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(i=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==i?i:"").length>0,a={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":r,"ft-select--options-displayed":s,"ft-select--has-option-selected":l,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return H`
476
- <div class="${Dt(a)}" part="container">
477
+ `,pi([i()],di.prototype,"variant",void 0),pi([s("slot")],di.prototype,"slottedContent",void 0),a("ft-icon")(di);var fi=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 hi extends ut{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return H``}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}hi.elementDefinitions={},fi([i({type:String})],hi.prototype,"label",void 0),fi([i({type:Object,converter:t=>t})],hi.prototype,"value",void 0),fi([i({type:Boolean,reflect:!0})],hi.prototype,"selected",void 0);const ui={labelSize:dt.create("--ft-select-label-size","SIZE","11px"),selectedOptionSize:dt.create("--ft-select-selected-option-size","SIZE","14px"),verticalSpacing:dt.create("--ft-select-vertical-spacing","SIZE","4px"),optionsHeight:dt.create("--ft-select-options-height","SIZE","unset"),selectedOptionColor:dt.extend("--ft-select-selected-option-color",ht.colorOnSurface),helperColor:dt.extend("--ft-select-helper-color",ht.colorOnSurfaceMedium),optionsColor:dt.extend("--ft-select-options-color",ht.colorOnSurface),optionsZIndex:dt.create("--ft-select-options-z-index","NUMBER","3"),colorSurface:dt.external(ht.colorSurface,"Design system"),colorOnSurfaceDisabled:dt.external(ht.colorOnSurfaceDisabled,"Design system"),colorPrimary:dt.external(ht.colorPrimary,"Design system"),borderRadiusS:dt.external(ht.borderRadiusS,"Design system"),elevation02:dt.external(ht.elevation02,"Design system"),colorError:dt.external(ht.colorError,"Design system")};class bi extends ut{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,e,i,o,n;let s=this.hasOptionsMenuOpen,r=this.disabled||!this.hasOptions;const l=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(i=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==i?i:"").length>0,a={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":r,"ft-select--options-displayed":s,"ft-select--has-option-selected":l,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return H`
478
+ <div class="${Bt(a)}" part="container">
477
479
  <div class="ft-select--main-panel" part="main-panel">
478
480
  <ft-input-label text="${this.label}"
479
481
  part="label"
@@ -511,7 +513,7 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
511
513
  @option-change=${this.updateOptionsFromSlot}
512
514
  ></slot>
513
515
  `}renderOption(t){let e=this.selectedOption===t;return H`
514
- <div class="${Dt({"ft-select--option":!0,"ft-select--option-selected":e,"ft-typography--body2":!0})}"
516
+ <div class="${Bt({"ft-select--option":!0,"ft-select--option-selected":e,"ft-typography--body2":!0})}"
515
517
  part="option"
516
518
  tabindex="0"
517
519
  data-value="${t.value}"
@@ -520,7 +522,7 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
520
522
  <ft-ripple ?primary=${e} ?activated=${e}></ft-ripple>
521
523
  ${t.label}
522
524
  </div>
523
- `}updated(t){var e;super.updated(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1,this.dispatchEvent(new CustomEvent("change",{detail:null===(e=this.selectedOption)||void 0===e?void 0:e.value}))),t.has("optionsDisplayed")&&this.fixedMenuPosition&&this.hasOptionsMenuOpen&&this.positionOptionsMenu()}positionOptionsMenu(){this.optionsMenu.style.top=this.mainPanel.getBoundingClientRect().top+this.mainPanel.getBoundingClientRect().height+"px",this.optionsMenu.style.left=this.mainPanel.getBoundingClientRect().left+"px",this.optionsMenu.style.minWidth=this.mainPanel.getBoundingClientRect().width+"px"}contentAvailableCallback(t){var e,i;t.has("focusOptions")&&this.focusOptions&&(null===(i=null!==(e=this.selectedOptionElement)&&void 0!==e?e:this.firstOption)||void 0===i||i.focus(),this.focusOptions=!1)}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var e;t.stopPropagation();let i=null===(e=this.optionsSlot)||void 0===e?void 0:e.assignedElements().map((t=>t));i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0}}onOptionsKeyDown(t){var e,i,o,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)}}xi.elementDefinitions={"ft-input-label":Xe,"ft-typography":Ke,"ft-ripple":si,"ft-icon":di},xi.styles=[Pe,_e,u`
525
+ `}updated(t){var e;super.updated(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1,this.dispatchEvent(new CustomEvent("change",{detail:null===(e=this.selectedOption)||void 0===e?void 0:e.value}))),t.has("optionsDisplayed")&&this.fixedMenuPosition&&this.hasOptionsMenuOpen&&this.positionOptionsMenu()}positionOptionsMenu(){this.optionsMenu.style.top=this.mainPanel.getBoundingClientRect().top+this.mainPanel.getBoundingClientRect().height+"px",this.optionsMenu.style.left=this.mainPanel.getBoundingClientRect().left+"px",this.optionsMenu.style.minWidth=this.mainPanel.getBoundingClientRect().width+"px"}contentAvailableCallback(t){var e,i;t.has("focusOptions")&&this.focusOptions&&(null===(i=null!==(e=this.selectedOptionElement)&&void 0!==e?e:this.firstOption)||void 0===i||i.focus(),this.focusOptions=!1)}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var e;t.stopPropagation();let i=null===(e=this.optionsSlot)||void 0===e?void 0:e.assignedElements().map((t=>t));i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0}}onOptionsKeyDown(t){var e,i,o,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)}}bi.elementDefinitions={"ft-input-label":Xe,"ft-typography":Ke,"ft-ripple":si,"ft-icon":di},bi.styles=[Pe,_e,u`
524
526
  *:focus {
525
527
  outline: none;
526
528
  }
@@ -593,8 +595,8 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
593
595
  overflow: hidden;
594
596
  white-space: nowrap;
595
597
  text-overflow: ellipsis;
596
- ${ft(xe.fontSize,ui.selectedOptionSize)};
597
- ${ft(xe.lineHeight,ui.selectedOptionSize)};
598
+ ${ft(be.fontSize,ui.selectedOptionSize)};
599
+ ${ft(be.lineHeight,ui.selectedOptionSize)};
598
600
  }
599
601
 
600
602
  .ft-select--in-error .ft-select--selected-option {
@@ -642,6 +644,8 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
642
644
 
643
645
  .ft-select--options-displayed .ft-select--options {
644
646
  display: block;
647
+ max-height: ${ui.optionsHeight};
648
+ overflow-y: auto;
645
649
  }
646
650
 
647
651
  .ft-select--option {
@@ -660,8 +664,8 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
660
664
  .ft-select--in-error .ft-select--helper-text {
661
665
  color: ${ui.colorError};
662
666
  }
663
- `],fi([i({type:String})],xi.prototype,"label",void 0),fi([i({type:String})],xi.prototype,"helper",void 0),fi([i({type:Boolean})],xi.prototype,"outlined",void 0),fi([i({type:Boolean})],xi.prototype,"disabled",void 0),fi([i({type:Boolean})],xi.prototype,"error",void 0),fi([i({type:Boolean})],xi.prototype,"fixedMenuPosition",void 0),fi([i({type:Array})],xi.prototype,"options",void 0),fi([o()],xi.prototype,"selectedOption",void 0),fi([o()],xi.prototype,"optionsDisplayed",void 0),fi([o()],xi.prototype,"focusOptions",void 0),fi([s(".ft-select")],xi.prototype,"container",void 0),fi([s(".ft-select--options")],xi.prototype,"optionsMenu",void 0),fi([s(".ft-select--input-panel")],xi.prototype,"mainPanel",void 0),fi([s(".ft-select--option:first-child")],xi.prototype,"firstOption",void 0),fi([s(".ft-select--option:focus")],xi.prototype,"focusedOption",void 0),fi([s(".ft-select--option.ft-select--option-selected")],xi.prototype,"selectedOptionElement",void 0),fi([s(".ft-select--option:last-child")],xi.prototype,"lastOption",void 0),fi([s("slot")],xi.prototype,"optionsSlot",void 0),a("ft-select")(xi),a("ft-select-option")(hi);var bi=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 vi={fontSize:dt.create("--ft-text-field-font-size","SIZE","14px"),labelSize:dt.create("--ft-text-field-label-size","SIZE","11px"),verticalSpacing:dt.create("--ft-text-field-vertical-spacing","SIZE","4px"),horizontalSpacing:dt.create("--ft-text-field-horizontal-spacing","SIZE","16px"),helperColor:dt.extend("--ft-text-field-helper-color",ht.colorOnSurfaceMedium),colorPrimary:dt.external(ht.colorPrimary,"Design system"),colorOnSurface:dt.external(ht.colorOnSurface,"Design system"),colorOnSurfaceDisabled:dt.external(ht.colorOnSurfaceDisabled,"Design system"),borderRadiusS:dt.external(ht.borderRadiusS,"Design system"),colorError:dt.external(ht.colorError,"Design system"),prefixColor:dt.extend("--ft-text-field-prefix-color",ht.colorOnSurfaceMedium),iconColor:dt.extend("--ft-text-field-icon-color",ht.colorOnSurfaceMedium)};class yi extends ut{constructor(){super(...arguments),this.label="",this.value="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix="",this.icon="",this.iconVariant="",this.focused=!1}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}render(){const t={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--no-label":!this.label,"ft-text-field--in-error":this.error,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--raised-label":this.focused||""!=this.value};return H`
664
- <div class="${Dt(t)}">
667
+ `],fi([i({type:String})],bi.prototype,"label",void 0),fi([i({type:String})],bi.prototype,"helper",void 0),fi([i({type:Boolean})],bi.prototype,"outlined",void 0),fi([i({type:Boolean})],bi.prototype,"disabled",void 0),fi([i({type:Boolean})],bi.prototype,"error",void 0),fi([i({type:Boolean})],bi.prototype,"fixedMenuPosition",void 0),fi([i({type:Array})],bi.prototype,"options",void 0),fi([o()],bi.prototype,"selectedOption",void 0),fi([o()],bi.prototype,"optionsDisplayed",void 0),fi([o()],bi.prototype,"focusOptions",void 0),fi([s(".ft-select")],bi.prototype,"container",void 0),fi([s(".ft-select--options")],bi.prototype,"optionsMenu",void 0),fi([s(".ft-select--input-panel")],bi.prototype,"mainPanel",void 0),fi([s(".ft-select--option:first-child")],bi.prototype,"firstOption",void 0),fi([s(".ft-select--option:focus")],bi.prototype,"focusedOption",void 0),fi([s(".ft-select--option.ft-select--option-selected")],bi.prototype,"selectedOptionElement",void 0),fi([s(".ft-select--option:last-child")],bi.prototype,"lastOption",void 0),fi([s("slot")],bi.prototype,"optionsSlot",void 0),a("ft-select")(bi),a("ft-select-option")(hi);var xi=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 vi={fontSize:dt.create("--ft-text-field-font-size","SIZE","14px"),labelSize:dt.create("--ft-text-field-label-size","SIZE","11px"),verticalSpacing:dt.create("--ft-text-field-vertical-spacing","SIZE","4px"),horizontalSpacing:dt.create("--ft-text-field-horizontal-spacing","SIZE","16px"),helperColor:dt.extend("--ft-text-field-helper-color",ht.colorOnSurfaceMedium),colorPrimary:dt.external(ht.colorPrimary,"Design system"),colorOnSurface:dt.external(ht.colorOnSurface,"Design system"),colorOnSurfaceDisabled:dt.external(ht.colorOnSurfaceDisabled,"Design system"),borderRadiusS:dt.external(ht.borderRadiusS,"Design system"),colorError:dt.external(ht.colorError,"Design system"),prefixColor:dt.extend("--ft-text-field-prefix-color",ht.colorOnSurfaceMedium),iconColor:dt.extend("--ft-text-field-icon-color",ht.colorOnSurfaceMedium)};class yi extends ut{constructor(){super(...arguments),this.label="",this.value="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix="",this.icon="",this.iconVariant="",this.focused=!1}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}render(){const t={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--no-label":!this.label,"ft-text-field--in-error":this.error,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--raised-label":this.focused||""!=this.value};return H`
668
+ <div class="${Bt(t)}">
665
669
  <div class="ft-text-field--main-panel">
666
670
  <ft-input-label text="${this.label}"
667
671
  ?disabled=${this.disabled}
@@ -739,8 +743,8 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
739
743
  display: flex;
740
744
  align-items: center;
741
745
 
742
- ${ft(xe.fontSize,vi.fontSize)};
743
- ${ft(xe.lineHeight,vi.fontSize)};
746
+ ${ft(be.fontSize,vi.fontSize)};
747
+ ${ft(be.lineHeight,vi.fontSize)};
744
748
 
745
749
  padding: 0 ${vi.horizontalSpacing};
746
750
  }
@@ -818,7 +822,7 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
818
822
  padding-right: ${vi.horizontalSpacing};
819
823
  color: ${vi.iconColor};
820
824
  }
821
- `],bi([i({type:String})],yi.prototype,"label",void 0),bi([i({reflect:!0})],yi.prototype,"value",void 0),bi([i({type:String})],yi.prototype,"helper",void 0),bi([i({type:Boolean})],yi.prototype,"outlined",void 0),bi([i({type:Boolean})],yi.prototype,"disabled",void 0),bi([i({type:Boolean})],yi.prototype,"error",void 0),bi([s(".ft-text-field--input")],yi.prototype,"input",void 0),bi([i({type:String})],yi.prototype,"prefix",void 0),bi([i({type:String})],yi.prototype,"icon",void 0),bi([i({type:String})],yi.prototype,"iconVariant",void 0),bi([o()],yi.prototype,"focused",void 0),a("ft-text-field")(yi);var gi=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 mi=dt.create("--ft-tooltip-distance","SIZE","4px"),$i=dt.create("--ft-tooltip-color","COLOR","#FFFFFF"),wi=dt.create("--ft-tooltip-background-color","COLOR","#666666"),Oi=dt.create("--ft-tooltip-z-index","NUMBER","1"),Si=dt.external(ht.borderRadiusS,"Design system");class ki extends ut{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new t,this.revealDebouncer=new t}render(){return H`
825
+ `],xi([i({type:String})],yi.prototype,"label",void 0),xi([i({reflect:!0})],yi.prototype,"value",void 0),xi([i({type:String})],yi.prototype,"helper",void 0),xi([i({type:Boolean})],yi.prototype,"outlined",void 0),xi([i({type:Boolean})],yi.prototype,"disabled",void 0),xi([i({type:Boolean})],yi.prototype,"error",void 0),xi([s(".ft-text-field--input")],yi.prototype,"input",void 0),xi([i({type:String})],yi.prototype,"prefix",void 0),xi([i({type:String})],yi.prototype,"icon",void 0),xi([i({type:String})],yi.prototype,"iconVariant",void 0),xi([o()],yi.prototype,"focused",void 0),a("ft-text-field")(yi);var gi=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 mi=dt.create("--ft-tooltip-distance","SIZE","4px"),$i=dt.create("--ft-tooltip-color","COLOR","#FFFFFF"),wi=dt.create("--ft-tooltip-background-color","COLOR","#666666"),Oi=dt.create("--ft-tooltip-z-index","NUMBER","1"),Si=dt.external(ht.borderRadiusS,"Design system");class ki extends ut{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new t,this.revealDebouncer=new t}render(){return H`
822
826
  <div part="container"
823
827
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
824
828
  @mouseenter=${this.onHover}
@@ -947,7 +951,7 @@ function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},
947
951
  <div></div>
948
952
  <div></div>
949
953
  </div>
950
- `}}a("ft-loader")(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 Ri=dt.extend("--ft-button-color",ht.colorPrimary),zi={backgroundColor:dt.extend("--ft-button-background-color",ht.colorSurface),borderRadius:dt.extend("--ft-button-border-radius",ht.borderRadiusL),color:Ri,fontSize:dt.extend("--ft-button-font-size",Be.fontSize),iconSize:dt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:dt.extend("--ft-button-ripple-color",Ri),opacityDisabled:dt.external(ht.colorOpacityDisabled,"Design system")},Mi=dt.extend("--ft-button-primary-color",dt.extend("--ft-button-color",ht.colorOnPrimary)),Fi={backgroundColor:dt.extend("--ft-button-primary-background-color",dt.extend("--ft-button-background-color",ht.colorPrimary)),color:Mi,rippleColor:dt.extend("--ft-button-primary-ripple-color",Mi)},Ui=dt.extend("--ft-button-dense-border-radius",dt.extend("--ft-button-border-radius",ht.borderRadiusM));class Di extends ut{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[xt,u`
954
+ `}}a("ft-loader")(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 Ri=dt.extend("--ft-button-color",ht.colorPrimary),zi={backgroundColor:dt.extend("--ft-button-background-color",ht.colorSurface),borderRadius:dt.extend("--ft-button-border-radius",ht.borderRadiusL),color:Ri,fontSize:dt.extend("--ft-button-font-size",De.fontSize),iconSize:dt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:dt.extend("--ft-button-ripple-color",Ri),opacityDisabled:dt.external(ht.colorOpacityDisabled,"Design system")},Mi=dt.extend("--ft-button-primary-color",dt.extend("--ft-button-color",ht.colorOnPrimary)),Fi={backgroundColor:dt.extend("--ft-button-primary-background-color",dt.extend("--ft-button-background-color",ht.colorPrimary)),color:Mi,rippleColor:dt.extend("--ft-button-primary-ripple-color",Mi)},Ui=dt.extend("--ft-button-dense-border-radius",dt.extend("--ft-button-border-radius",ht.borderRadiusM));class Bi extends ut{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[bt,u`
951
955
  :host {
952
956
  display: inline-block;
953
957
  max-width: 100%;
@@ -958,6 +962,7 @@ function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},
958
962
  box-shadow: 0px 0px 0px transparent;
959
963
  border: 0px solid transparent;
960
964
  text-shadow: 0px 0px 0px transparent;
965
+ font-size: inherit;
961
966
  }
962
967
 
963
968
  button:hover {
@@ -985,6 +990,7 @@ function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},
985
990
  box-sizing: border-box;
986
991
  border: none;
987
992
  pointer-events: auto;
993
+ line-height: 0;
988
994
 
989
995
  --ft-button-internal-font-size: ${zi.fontSize};
990
996
  --ft-button-internal-line-height: calc(var(--ft-button-internal-font-size) + 2px);
@@ -1043,8 +1049,8 @@ function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},
1043
1049
  text-overflow: ellipsis;
1044
1050
  display: block;
1045
1051
  margin: 0 var(--ft-button-internal-horizontal-padding);
1046
- ${ft(Be.fontSize,"var(--ft-button-internal-font-size)")};
1047
- ${ft(Be.lineHeight,"var(--ft-button-internal-content-height)")};
1052
+ ${ft(De.fontSize,"var(--ft-button-internal-font-size)")};
1053
+ ${ft(De.lineHeight,"var(--ft-button-internal-content-height)")};
1048
1054
  }
1049
1055
 
1050
1056
  .ft-button--safari-fix .ft-button--label {
@@ -1082,7 +1088,7 @@ function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},
1082
1088
  }
1083
1089
  `]}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":gt,"ft-no-text-select":!0};return this.addTooltip(H`
1084
1090
  <button part="button"
1085
- class="${Dt(t)}"
1091
+ class="${Bt(t)}"
1086
1092
  aria-label="${this.getLabel()}"
1087
1093
  ?disabled=${this.isDisabled()}>
1088
1094
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
@@ -1102,7 +1108,7 @@ function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},
1102
1108
  </ft-tooltip>
1103
1109
  `}resolveIcon(){return this.loading?H`
1104
1110
  <ft-loader></ft-loader> `:this.icon?H`
1105
- <ft-icon variant="material">${this.icon}</ft-icon> `:Z}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}}Di.elementDefinitions={"ft-ripple":si,"ft-tooltip":ki,"ft-typography":Ke,"ft-icon":di,"ft-loader":Ei},Ni([i({type:Boolean})],Di.prototype,"primary",void 0),Ni([i({type:Boolean})],Di.prototype,"outlined",void 0),Ni([i({type:Boolean})],Di.prototype,"disabled",void 0),Ni([i({type:Boolean})],Di.prototype,"dense",void 0),Ni([i({type:Boolean})],Di.prototype,"round",void 0),Ni([i({type:String})],Di.prototype,"label",void 0),Ni([i({type:String})],Di.prototype,"icon",void 0),Ni([i({type:Boolean})],Di.prototype,"trailingIcon",void 0),Ni([i({type:Boolean})],Di.prototype,"loading",void 0),Ni([i({type:String})],Di.prototype,"tooltipPosition",void 0),Ni([s(".ft-button")],Di.prototype,"button",void 0),Ni([s(".ft-button--label slot")],Di.prototype,"slottedContent",void 0),a("ft-button")(Di);var Bi=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 ji extends CustomEvent{constructor(t){super("row-click",{detail:t})}}const Ti={headerBackground:dt.create("--ft-filterable-table-header-background","COLOR","whitesmoke"),oddRowBackground:dt.create("--ft-filterable-table-odd-row-background","COLOR","#FFFFFF"),evenRowBackground:dt.create("--ft-filterable-table-even-row-background","COLOR","#fdfdfd"),rowHoverBackground:dt.create("--ft-filterable-table-row-hover-background","COLOR","#fafafa"),stickyHeaderZIndex:dt.create("--ft-filterable-table-sticky-header-zindex","NUMBER","100"),colorOnSurfaceHigh:dt.external(ht.colorOnSurfaceHigh,"Design system"),titleFont:dt.external(ht.titleFont,"Design system"),contentFont:dt.external(ht.contentFont,"Design system")},Ai=t=>H`${t}`,Li=(t,e)=>t-e;class Ii extends ut{constructor(){super(...arguments),this.data=[],this.columns=[],this.stickyHeaders=!1,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 H`
1111
+ <ft-icon variant="material">${this.icon}</ft-icon> `:Z}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}}Bi.elementDefinitions={"ft-ripple":si,"ft-tooltip":ki,"ft-typography":Ke,"ft-icon":di,"ft-loader":Ei},Ni([i({type:Boolean})],Bi.prototype,"primary",void 0),Ni([i({type:Boolean})],Bi.prototype,"outlined",void 0),Ni([i({type:Boolean})],Bi.prototype,"disabled",void 0),Ni([i({type:Boolean})],Bi.prototype,"dense",void 0),Ni([i({type:Boolean})],Bi.prototype,"round",void 0),Ni([i({type:String})],Bi.prototype,"label",void 0),Ni([i({type:String})],Bi.prototype,"icon",void 0),Ni([i({type:Boolean})],Bi.prototype,"trailingIcon",void 0),Ni([i({type:Boolean})],Bi.prototype,"loading",void 0),Ni([i({type:String})],Bi.prototype,"tooltipPosition",void 0),Ni([s(".ft-button")],Bi.prototype,"button",void 0),Ni([s(".ft-button--label slot")],Bi.prototype,"slottedContent",void 0),a("ft-button")(Bi);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};class ji extends CustomEvent{constructor(t){super("row-click",{detail:t})}}const Ti={headerBackground:dt.create("--ft-filterable-table-header-background","COLOR","whitesmoke"),oddRowBackground:dt.create("--ft-filterable-table-odd-row-background","COLOR","#FFFFFF"),evenRowBackground:dt.create("--ft-filterable-table-even-row-background","COLOR","#fdfdfd"),rowHoverBackground:dt.create("--ft-filterable-table-row-hover-background","COLOR","#fafafa"),stickyHeaderZIndex:dt.create("--ft-filterable-table-sticky-header-zindex","NUMBER","100"),colorOnSurfaceHigh:dt.external(ht.colorOnSurfaceHigh,"Design system"),titleFont:dt.external(ht.titleFont,"Design system"),contentFont:dt.external(ht.contentFont,"Design system")},Ai=t=>H`${t}`,Li=(t,e)=>t-e;class Ii extends ut{constructor(){super(...arguments),this.data=[],this.columns=[],this.stickyHeaders=!1,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 H`
1106
1112
  <style>
1107
1113
  .table {
1108
1114
  grid-template-columns: repeat(${this.columns.length}, minmax(min-content, auto));
@@ -1120,7 +1126,7 @@ function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},
1120
1126
  `))}
1121
1127
  </div>
1122
1128
  `}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:Li,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){const i={"header-cell":!0,"header-cell--sticky":this.stickyHeaders};return H`
1123
- <div class="${Dt(i)}">
1129
+ <div class="${Bt(i)}">
1124
1130
  <div class="column-title-container">
1125
1131
  <span class="column-title">${t.title}</span>
1126
1132
  ${this.renderColumnSort(t,e)}
@@ -1261,7 +1267,7 @@ function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},
1261
1267
  .hidden {
1262
1268
  visibility: hidden;
1263
1269
  }
1264
- `,Bi([i({attribute:!1})],Ii.prototype,"data",void 0),Bi([i({attribute:!1})],Ii.prototype,"columns",void 0),Bi([i({attribute:!1})],Ii.prototype,"sort",void 0),Bi([i()],Ii.prototype,"stickyHeaders",void 0),Bi([o()],Ii.prototype,"currentSort",void 0),a("ft-filterable-table")(function t(e){var i;let o;if("elementDefinitions"in e){o={};const i=e.elementDefinitions;for(let e in i)o[e]=t(i[e])}return i=class extends e{render(){var t;let i=null!==(t=e.styles)&&void 0!==t?t:[];return Array.isArray(i)||(i=[i]),H`
1270
+ `,Di([i({attribute:!1})],Ii.prototype,"data",void 0),Di([i({attribute:!1})],Ii.prototype,"columns",void 0),Di([i({attribute:!1})],Ii.prototype,"sort",void 0),Di([i()],Ii.prototype,"stickyHeaders",void 0),Di([o()],Ii.prototype,"currentSort",void 0),a("ft-filterable-table")(function t(e){var i;let o;if("elementDefinitions"in e){o={};const i=e.elementDefinitions;for(let e in i)o[e]=t(i[e])}return i=class extends e{render(){var t;let i=null!==(t=e.styles)&&void 0!==t?t:[];return Array.isArray(i)||(i=[i]),H`
1265
1271
  ${i.map((t=>H`
1266
1272
  <style>${t}</style>
1267
1273
  `))}
@@ -10,7 +10,7 @@ var r;const a=globalThis.trustedTypes,p=a?a.createPolicy("lit-html",{createHTML:
10
10
  * Copyright 2020 Google LLC
11
11
  * SPDX-License-Identifier: BSD-3-Clause
12
12
  */
13
- const U=Symbol.for(""),H=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===U)return null===(i=t)||void 0===i?void 0:i._$litStatic$},W=t=>({_$litStatic$:t,r:U}),L=new Map,K=(t=>(e,...i)=>{const o=i.length;let n,l;const s=[],r=[];let a,p=0,f=!1;for(;p<o;){for(a=e[p];p<o&&void 0!==(l=i[p],n=H(l));)a+=n+e[++p],f=!0;r.push(l),s.push(a),p++}if(p===o&&s.push(e[o]),f){const t=s.join("$$lit$$");void 0===(e=L.get(t))&&(s.raw=s,L.set(t,e=s)),i=r}return t(e,...i)})(z);var P,G=function(t,e,i,o){for(var n,l=arguments.length,s=l<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(n=t[r])&&(s=(l<3?n(s):l>3?n(e,i,s):n(e,i))||s);return l>3&&s&&Object.defineProperty(e,i,s),s};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(P||(P={}));const V=e.FtCssVariable.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),q=e.FtCssVariable.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),X={fontFamily:q,fontSize:e.FtCssVariable.create("--ft-typography-font-size","SIZE","16px"),fontWeight:e.FtCssVariable.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:e.FtCssVariable.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:e.FtCssVariable.create("--ft-typography-line-height","SIZE","24px"),textTransform:e.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},Y=e.FtCssVariable.extend("--ft-typography-title-font-family",V),J=e.FtCssVariable.extend("--ft-typography-title-font-size",X.fontSize,"20px"),Q=e.FtCssVariable.extend("--ft-typography-title-font-weight",X.fontWeight,"normal"),tt=e.FtCssVariable.extend("--ft-typography-title-letter-spacing",X.letterSpacing,"0.15px"),et=e.FtCssVariable.extend("--ft-typography-title-line-height",X.lineHeight,"24px"),it=e.FtCssVariable.extend("--ft-typography-title-text-transform",X.textTransform,"inherit"),ot=e.FtCssVariable.extend("--ft-typography-title-dense-font-family",V),nt=e.FtCssVariable.extend("--ft-typography-title-dense-font-size",X.fontSize,"14px"),lt=e.FtCssVariable.extend("--ft-typography-title-dense-font-weight",X.fontWeight,"normal"),st=e.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",X.letterSpacing,"0.105px"),rt=e.FtCssVariable.extend("--ft-typography-title-dense-line-height",X.lineHeight,"24px"),at=e.FtCssVariable.extend("--ft-typography-title-dense-text-transform",X.textTransform,"inherit"),pt=e.FtCssVariable.extend("--ft-typography-subtitle1-font-family",q),ft=e.FtCssVariable.extend("--ft-typography-subtitle1-font-size",X.fontSize,"16px"),dt=e.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",X.fontWeight,"600"),ht=e.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",X.letterSpacing,"0.144px"),ct=e.FtCssVariable.extend("--ft-typography-subtitle1-line-height",X.lineHeight,"24px"),ut=e.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",X.textTransform,"inherit"),xt=e.FtCssVariable.extend("--ft-typography-subtitle2-font-family",q),bt=e.FtCssVariable.extend("--ft-typography-subtitle2-font-size",X.fontSize,"14px"),vt=e.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",X.fontWeight,"normal"),gt=e.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",X.letterSpacing,"0.098px"),yt=e.FtCssVariable.extend("--ft-typography-subtitle2-line-height",X.lineHeight,"24px"),mt=e.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",X.textTransform,"inherit"),$t={fontFamily:e.FtCssVariable.extend("--ft-typography-body1-font-family",q),fontSize:e.FtCssVariable.extend("--ft-typography-body1-font-size",X.fontSize,"16px"),fontWeight:e.FtCssVariable.extend("--ft-typography-body1-font-weight",X.fontWeight,"normal"),letterSpacing:e.FtCssVariable.extend("--ft-typography-body1-letter-spacing",X.letterSpacing,"0.496px"),lineHeight:e.FtCssVariable.extend("--ft-typography-body1-line-height",X.lineHeight,"24px"),textTransform:e.FtCssVariable.extend("--ft-typography-body1-text-transform",X.textTransform,"inherit")},wt=e.FtCssVariable.extend("--ft-typography-body2-font-family",q),kt=e.FtCssVariable.extend("--ft-typography-body2-font-size",X.fontSize,"14px"),zt=e.FtCssVariable.extend("--ft-typography-body2-font-weight",X.fontWeight,"normal"),St=e.FtCssVariable.extend("--ft-typography-body2-letter-spacing",X.letterSpacing,"0.252px"),Ot=e.FtCssVariable.extend("--ft-typography-body2-line-height",X.lineHeight,"20px"),Ct=e.FtCssVariable.extend("--ft-typography-body2-text-transform",X.textTransform,"inherit"),Et={fontFamily:e.FtCssVariable.extend("--ft-typography-caption-font-family",q),fontSize:e.FtCssVariable.extend("--ft-typography-caption-font-size",X.fontSize,"12px"),fontWeight:e.FtCssVariable.extend("--ft-typography-caption-font-weight",X.fontWeight,"normal"),letterSpacing:e.FtCssVariable.extend("--ft-typography-caption-letter-spacing",X.letterSpacing,"0.396px"),lineHeight:e.FtCssVariable.extend("--ft-typography-caption-line-height",X.lineHeight,"16px"),textTransform:e.FtCssVariable.extend("--ft-typography-caption-text-transform",X.textTransform,"inherit")},Dt=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",q),Bt=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",X.fontSize,"10px"),Ft=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",X.fontWeight,"normal"),It=e.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",X.letterSpacing,"0.33px"),jt=e.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",X.lineHeight,"16px"),Nt=e.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",X.textTransform,"inherit"),At=e.FtCssVariable.extend("--ft-typography-overline-font-family",q),Mt=e.FtCssVariable.extend("--ft-typography-overline-font-size",X.fontSize,"10px"),Tt=e.FtCssVariable.extend("--ft-typography-overline-font-weight",X.fontWeight,"normal"),Zt=e.FtCssVariable.extend("--ft-typography-overline-letter-spacing",X.letterSpacing,"1.5px"),Rt=e.FtCssVariable.extend("--ft-typography-overline-line-height",X.lineHeight,"16px"),_t=e.FtCssVariable.extend("--ft-typography-overline-text-transform",X.textTransform,"uppercase"),Ut={fontFamily:e.FtCssVariable.extend("--ft-typography-button-font-family",q),fontSize:e.FtCssVariable.extend("--ft-typography-button-font-size",X.fontSize,"14px"),fontWeight:e.FtCssVariable.extend("--ft-typography-button-font-weight",X.fontWeight,"600"),letterSpacing:e.FtCssVariable.extend("--ft-typography-button-letter-spacing",X.letterSpacing,"1.246px"),lineHeight:e.FtCssVariable.extend("--ft-typography-button-line-height",X.lineHeight,"16px"),textTransform:e.FtCssVariable.extend("--ft-typography-button-text-transform",X.textTransform,"uppercase")},Ht=i.css`
13
+ const U=Symbol.for(""),H=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===U)return null===(i=t)||void 0===i?void 0:i._$litStatic$},W=t=>({_$litStatic$:t,r:U}),L=new Map,K=(t=>(e,...i)=>{const o=i.length;let n,l;const s=[],r=[];let a,p=0,f=!1;for(;p<o;){for(a=e[p];p<o&&void 0!==(l=i[p],n=H(l));)a+=n+e[++p],f=!0;r.push(l),s.push(a),p++}if(p===o&&s.push(e[o]),f){const t=s.join("$$lit$$");void 0===(e=L.get(t))&&(s.raw=s,L.set(t,e=s)),i=r}return t(e,...i)})(z);var P,G=function(t,e,i,o){for(var n,l=arguments.length,s=l<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(n=t[r])&&(s=(l<3?n(s):l>3?n(e,i,s):n(e,i))||s);return l>3&&s&&Object.defineProperty(e,i,s),s};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(P||(P={}));const V=e.FtCssVariable.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),q=e.FtCssVariable.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),X={fontFamily:q,fontSize:e.FtCssVariable.create("--ft-typography-font-size","SIZE","16px"),fontWeight:e.FtCssVariable.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:e.FtCssVariable.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:e.FtCssVariable.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:e.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},Y=e.FtCssVariable.extend("--ft-typography-title-font-family",V),J=e.FtCssVariable.extend("--ft-typography-title-font-size",X.fontSize,"20px"),Q=e.FtCssVariable.extend("--ft-typography-title-font-weight",X.fontWeight,"normal"),tt=e.FtCssVariable.extend("--ft-typography-title-letter-spacing",X.letterSpacing,"0.15px"),et=e.FtCssVariable.extend("--ft-typography-title-line-height",X.lineHeight,"1.2"),it=e.FtCssVariable.extend("--ft-typography-title-text-transform",X.textTransform,"inherit"),ot=e.FtCssVariable.extend("--ft-typography-title-dense-font-family",V),nt=e.FtCssVariable.extend("--ft-typography-title-dense-font-size",X.fontSize,"14px"),lt=e.FtCssVariable.extend("--ft-typography-title-dense-font-weight",X.fontWeight,"normal"),st=e.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",X.letterSpacing,"0.105px"),rt=e.FtCssVariable.extend("--ft-typography-title-dense-line-height",X.lineHeight,"1.7"),at=e.FtCssVariable.extend("--ft-typography-title-dense-text-transform",X.textTransform,"inherit"),pt=e.FtCssVariable.extend("--ft-typography-subtitle1-font-family",q),ft=e.FtCssVariable.extend("--ft-typography-subtitle1-font-size",X.fontSize,"16px"),dt=e.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",X.fontWeight,"600"),ht=e.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",X.letterSpacing,"0.144px"),ct=e.FtCssVariable.extend("--ft-typography-subtitle1-line-height",X.lineHeight,"1.5"),ut=e.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",X.textTransform,"inherit"),xt=e.FtCssVariable.extend("--ft-typography-subtitle2-font-family",q),bt=e.FtCssVariable.extend("--ft-typography-subtitle2-font-size",X.fontSize,"14px"),vt=e.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",X.fontWeight,"normal"),gt=e.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",X.letterSpacing,"0.098px"),yt=e.FtCssVariable.extend("--ft-typography-subtitle2-line-height",X.lineHeight,"1.7"),mt=e.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",X.textTransform,"inherit"),$t={fontFamily:e.FtCssVariable.extend("--ft-typography-body1-font-family",q),fontSize:e.FtCssVariable.extend("--ft-typography-body1-font-size",X.fontSize,"16px"),fontWeight:e.FtCssVariable.extend("--ft-typography-body1-font-weight",X.fontWeight,"normal"),letterSpacing:e.FtCssVariable.extend("--ft-typography-body1-letter-spacing",X.letterSpacing,"0.496px"),lineHeight:e.FtCssVariable.extend("--ft-typography-body1-line-height",X.lineHeight,"1.5"),textTransform:e.FtCssVariable.extend("--ft-typography-body1-text-transform",X.textTransform,"inherit")},wt=e.FtCssVariable.extend("--ft-typography-body2-font-family",q),kt=e.FtCssVariable.extend("--ft-typography-body2-font-size",X.fontSize,"14px"),zt=e.FtCssVariable.extend("--ft-typography-body2-font-weight",X.fontWeight,"normal"),St=e.FtCssVariable.extend("--ft-typography-body2-letter-spacing",X.letterSpacing,"0.252px"),Ot=e.FtCssVariable.extend("--ft-typography-body2-line-height",X.lineHeight,"1.4"),Ct=e.FtCssVariable.extend("--ft-typography-body2-text-transform",X.textTransform,"inherit"),Et={fontFamily:e.FtCssVariable.extend("--ft-typography-caption-font-family",q),fontSize:e.FtCssVariable.extend("--ft-typography-caption-font-size",X.fontSize,"12px"),fontWeight:e.FtCssVariable.extend("--ft-typography-caption-font-weight",X.fontWeight,"normal"),letterSpacing:e.FtCssVariable.extend("--ft-typography-caption-letter-spacing",X.letterSpacing,"0.396px"),lineHeight:e.FtCssVariable.extend("--ft-typography-caption-line-height",X.lineHeight,"1.33"),textTransform:e.FtCssVariable.extend("--ft-typography-caption-text-transform",X.textTransform,"inherit")},Dt=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",q),Bt=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",X.fontSize,"10px"),Ft=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",X.fontWeight,"normal"),It=e.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",X.letterSpacing,"0.33px"),jt=e.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",X.lineHeight,"1.6"),Nt=e.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",X.textTransform,"inherit"),At=e.FtCssVariable.extend("--ft-typography-overline-font-family",q),Mt=e.FtCssVariable.extend("--ft-typography-overline-font-size",X.fontSize,"10px"),Tt=e.FtCssVariable.extend("--ft-typography-overline-font-weight",X.fontWeight,"normal"),Zt=e.FtCssVariable.extend("--ft-typography-overline-letter-spacing",X.letterSpacing,"1.5px"),Rt=e.FtCssVariable.extend("--ft-typography-overline-line-height",X.lineHeight,"1.6"),_t=e.FtCssVariable.extend("--ft-typography-overline-text-transform",X.textTransform,"uppercase"),Ut={fontFamily:e.FtCssVariable.extend("--ft-typography-button-font-family",q),fontSize:e.FtCssVariable.extend("--ft-typography-button-font-size",X.fontSize,"14px"),fontWeight:e.FtCssVariable.extend("--ft-typography-button-font-weight",X.fontWeight,"600"),letterSpacing:e.FtCssVariable.extend("--ft-typography-button-letter-spacing",X.letterSpacing,"1.246px"),lineHeight:e.FtCssVariable.extend("--ft-typography-button-line-height",X.lineHeight,"1.15"),textTransform:e.FtCssVariable.extend("--ft-typography-button-text-transform",X.textTransform,"uppercase")},Ht=i.css`
14
14
  .ft-typography--title {
15
15
  font-family: ${Y};
16
16
  font-size: ${J};
@@ -344,8 +344,10 @@ const U=Symbol.for(""),H=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===
344
344
  <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
345
345
  </i>
346
346
  `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let o=this.textContent;return this.variant===ue.file_format?null!==(t=ce[o.toUpperCase()])&&void 0!==t?t:o:this.variant===ue.fluid_topics?null!==(e=he[o.toUpperCase()])&&void 0!==e?e:o:i.nothing}}ve.elementDefinitions={},ve.styles=i.css`
347
- :host, i.ft-icon {
347
+ :host {
348
348
  display: inline-block;
349
+ }
350
+ :host, i.ft-icon {
349
351
  width: ${be.size};
350
352
  height: ${be.size};
351
353
  text-align: center;
@@ -376,7 +378,7 @@ const U=Symbol.for(""),H=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===
376
378
  .ft-icon--material {
377
379
  font-family: ${be.materialFontFamily}, "Material Icons", sans-serif;
378
380
  }
379
- `,xe([o.property()],ve.prototype,"variant",void 0),xe([o.query("slot")],ve.prototype,"slottedContent",void 0),e.customElement("ft-icon")(ve);var ge=function(t,e,i,o){for(var n,l=arguments.length,s=l<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(n=t[r])&&(s=(l<3?n(s):l>3?n(e,i,s):n(e,i))||s);return l>3&&s&&Object.defineProperty(e,i,s),s};class ye extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return i.html``}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}ye.elementDefinitions={},ge([o.property({type:String})],ye.prototype,"label",void 0),ge([o.property({type:Object,converter:t=>t})],ye.prototype,"value",void 0),ge([o.property({type:Boolean,reflect:!0})],ye.prototype,"selected",void 0);const me={labelSize:e.FtCssVariable.create("--ft-select-label-size","SIZE","11px"),selectedOptionSize:e.FtCssVariable.create("--ft-select-selected-option-size","SIZE","14px"),verticalSpacing:e.FtCssVariable.create("--ft-select-vertical-spacing","SIZE","4px"),selectedOptionColor:e.FtCssVariable.extend("--ft-select-selected-option-color",e.designSystemVariables.colorOnSurface),helperColor:e.FtCssVariable.extend("--ft-select-helper-color",e.designSystemVariables.colorOnSurfaceMedium),optionsColor:e.FtCssVariable.extend("--ft-select-options-color",e.designSystemVariables.colorOnSurface),optionsZIndex:e.FtCssVariable.create("--ft-select-options-z-index","NUMBER","3"),colorSurface:e.FtCssVariable.external(e.designSystemVariables.colorSurface,"Design system"),colorOnSurfaceDisabled:e.FtCssVariable.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:e.FtCssVariable.external(e.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:e.FtCssVariable.external(e.designSystemVariables.borderRadiusS,"Design system"),elevation02:e.FtCssVariable.external(e.designSystemVariables.elevation02,"Design system"),colorError:e.FtCssVariable.external(e.designSystemVariables.colorError,"Design system")};class $e extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,e,o,l,r;let a=this.hasOptionsMenuOpen,p=this.disabled||!this.hasOptions;const f=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(o=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==o?o:"").length>0,d={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":p,"ft-select--options-displayed":a,"ft-select--has-option-selected":f,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return i.html`
381
+ `,xe([o.property()],ve.prototype,"variant",void 0),xe([o.query("slot")],ve.prototype,"slottedContent",void 0),e.customElement("ft-icon")(ve);var ge=function(t,e,i,o){for(var n,l=arguments.length,s=l<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(n=t[r])&&(s=(l<3?n(s):l>3?n(e,i,s):n(e,i))||s);return l>3&&s&&Object.defineProperty(e,i,s),s};class ye extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return i.html``}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}ye.elementDefinitions={},ge([o.property({type:String})],ye.prototype,"label",void 0),ge([o.property({type:Object,converter:t=>t})],ye.prototype,"value",void 0),ge([o.property({type:Boolean,reflect:!0})],ye.prototype,"selected",void 0);const me={labelSize:e.FtCssVariable.create("--ft-select-label-size","SIZE","11px"),selectedOptionSize:e.FtCssVariable.create("--ft-select-selected-option-size","SIZE","14px"),verticalSpacing:e.FtCssVariable.create("--ft-select-vertical-spacing","SIZE","4px"),optionsHeight:e.FtCssVariable.create("--ft-select-options-height","SIZE","unset"),selectedOptionColor:e.FtCssVariable.extend("--ft-select-selected-option-color",e.designSystemVariables.colorOnSurface),helperColor:e.FtCssVariable.extend("--ft-select-helper-color",e.designSystemVariables.colorOnSurfaceMedium),optionsColor:e.FtCssVariable.extend("--ft-select-options-color",e.designSystemVariables.colorOnSurface),optionsZIndex:e.FtCssVariable.create("--ft-select-options-z-index","NUMBER","3"),colorSurface:e.FtCssVariable.external(e.designSystemVariables.colorSurface,"Design system"),colorOnSurfaceDisabled:e.FtCssVariable.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:e.FtCssVariable.external(e.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:e.FtCssVariable.external(e.designSystemVariables.borderRadiusS,"Design system"),elevation02:e.FtCssVariable.external(e.designSystemVariables.elevation02,"Design system"),colorError:e.FtCssVariable.external(e.designSystemVariables.colorError,"Design system")};class $e extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,e,o,l,r;let a=this.hasOptionsMenuOpen,p=this.disabled||!this.hasOptions;const f=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(o=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==o?o:"").length>0,d={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":p,"ft-select--options-displayed":a,"ft-select--has-option-selected":f,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return i.html`
380
382
  <div class="${s.classMap(d)}" part="container">
381
383
  <div class="ft-select--main-panel" part="main-panel">
382
384
  <ft-input-label text="${this.label}"
@@ -546,6 +548,8 @@ const U=Symbol.for(""),H=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===
546
548
 
547
549
  .ft-select--options-displayed .ft-select--options {
548
550
  display: block;
551
+ max-height: ${me.optionsHeight};
552
+ overflow-y: auto;
549
553
  }
550
554
 
551
555
  .ft-select--option {
@@ -856,6 +860,7 @@ const U=Symbol.for(""),H=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===
856
860
  box-shadow: 0px 0px 0px transparent;
857
861
  border: 0px solid transparent;
858
862
  text-shadow: 0px 0px 0px transparent;
863
+ font-size: inherit;
859
864
  }
860
865
 
861
866
  button:hover {
@@ -883,6 +888,7 @@ const U=Symbol.for(""),H=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===
883
888
  box-sizing: border-box;
884
889
  border: none;
885
890
  pointer-events: auto;
891
+ line-height: 0;
886
892
 
887
893
  --ft-button-internal-font-size: ${Me.fontSize};
888
894
  --ft-button-internal-line-height: calc(var(--ft-button-internal-font-size) + 2px);
@@ -106,7 +106,7 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
106
106
  * @license
107
107
  * Copyright 2018 Google LLC
108
108
  * SPDX-License-Identifier: BSD-3-Clause
109
- */var _t,Pt=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"}(_t||(_t={}));const Ht=ft.extend("--ft-typography-font-family",ut.titleFont),Wt=ft.extend("--ft-typography-font-family",ut.contentFont),Zt={fontFamily:Wt,fontSize:ft.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ft.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ft.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ft.create("--ft-typography-line-height","SIZE","24px"),textTransform:ft.create("--ft-typography-text-transform","UNKNOWN","inherit")},Kt=ft.extend("--ft-typography-title-font-family",Ht),Vt=ft.extend("--ft-typography-title-font-size",Zt.fontSize,"20px"),qt=ft.extend("--ft-typography-title-font-weight",Zt.fontWeight,"normal"),Xt=ft.extend("--ft-typography-title-letter-spacing",Zt.letterSpacing,"0.15px"),Jt=ft.extend("--ft-typography-title-line-height",Zt.lineHeight,"24px"),Yt=ft.extend("--ft-typography-title-text-transform",Zt.textTransform,"inherit"),Gt=ft.extend("--ft-typography-title-dense-font-family",Ht),Qt=ft.extend("--ft-typography-title-dense-font-size",Zt.fontSize,"14px"),te=ft.extend("--ft-typography-title-dense-font-weight",Zt.fontWeight,"normal"),ee=ft.extend("--ft-typography-title-dense-letter-spacing",Zt.letterSpacing,"0.105px"),ie=ft.extend("--ft-typography-title-dense-line-height",Zt.lineHeight,"24px"),oe=ft.extend("--ft-typography-title-dense-text-transform",Zt.textTransform,"inherit"),ne=ft.extend("--ft-typography-subtitle1-font-family",Wt),se=ft.extend("--ft-typography-subtitle1-font-size",Zt.fontSize,"16px"),re=ft.extend("--ft-typography-subtitle1-font-weight",Zt.fontWeight,"600"),le=ft.extend("--ft-typography-subtitle1-letter-spacing",Zt.letterSpacing,"0.144px"),ae=ft.extend("--ft-typography-subtitle1-line-height",Zt.lineHeight,"24px"),pe=ft.extend("--ft-typography-subtitle1-text-transform",Zt.textTransform,"inherit"),ce=ft.extend("--ft-typography-subtitle2-font-family",Wt),de=ft.extend("--ft-typography-subtitle2-font-size",Zt.fontSize,"14px"),fe=ft.extend("--ft-typography-subtitle2-font-weight",Zt.fontWeight,"normal"),he=ft.extend("--ft-typography-subtitle2-letter-spacing",Zt.letterSpacing,"0.098px"),ue=ft.extend("--ft-typography-subtitle2-line-height",Zt.lineHeight,"24px"),be=ft.extend("--ft-typography-subtitle2-text-transform",Zt.textTransform,"inherit"),xe={fontFamily:ft.extend("--ft-typography-body1-font-family",Wt),fontSize:ft.extend("--ft-typography-body1-font-size",Zt.fontSize,"16px"),fontWeight:ft.extend("--ft-typography-body1-font-weight",Zt.fontWeight,"normal"),letterSpacing:ft.extend("--ft-typography-body1-letter-spacing",Zt.letterSpacing,"0.496px"),lineHeight:ft.extend("--ft-typography-body1-line-height",Zt.lineHeight,"24px"),textTransform:ft.extend("--ft-typography-body1-text-transform",Zt.textTransform,"inherit")},ve=ft.extend("--ft-typography-body2-font-family",Wt),ye=ft.extend("--ft-typography-body2-font-size",Zt.fontSize,"14px"),ge=ft.extend("--ft-typography-body2-font-weight",Zt.fontWeight,"normal"),me=ft.extend("--ft-typography-body2-letter-spacing",Zt.letterSpacing,"0.252px"),$e=ft.extend("--ft-typography-body2-line-height",Zt.lineHeight,"20px"),we=ft.extend("--ft-typography-body2-text-transform",Zt.textTransform,"inherit"),Oe={fontFamily:ft.extend("--ft-typography-caption-font-family",Wt),fontSize:ft.extend("--ft-typography-caption-font-size",Zt.fontSize,"12px"),fontWeight:ft.extend("--ft-typography-caption-font-weight",Zt.fontWeight,"normal"),letterSpacing:ft.extend("--ft-typography-caption-letter-spacing",Zt.letterSpacing,"0.396px"),lineHeight:ft.extend("--ft-typography-caption-line-height",Zt.lineHeight,"16px"),textTransform:ft.extend("--ft-typography-caption-text-transform",Zt.textTransform,"inherit")},Se=ft.extend("--ft-typography-breadcrumb-font-family",Wt),ke=ft.extend("--ft-typography-breadcrumb-font-size",Zt.fontSize,"10px"),Ce=ft.extend("--ft-typography-breadcrumb-font-weight",Zt.fontWeight,"normal"),Ee=ft.extend("--ft-typography-breadcrumb-letter-spacing",Zt.letterSpacing,"0.33px"),Ne=ft.extend("--ft-typography-breadcrumb-line-height",Zt.lineHeight,"16px"),Re=ft.extend("--ft-typography-breadcrumb-text-transform",Zt.textTransform,"inherit"),ze=ft.extend("--ft-typography-overline-font-family",Wt),Me=ft.extend("--ft-typography-overline-font-size",Zt.fontSize,"10px"),Fe=ft.extend("--ft-typography-overline-font-weight",Zt.fontWeight,"normal"),Ue=ft.extend("--ft-typography-overline-letter-spacing",Zt.letterSpacing,"1.5px"),Be=ft.extend("--ft-typography-overline-line-height",Zt.lineHeight,"16px"),De=ft.extend("--ft-typography-overline-text-transform",Zt.textTransform,"uppercase"),je={fontFamily:ft.extend("--ft-typography-button-font-family",Wt),fontSize:ft.extend("--ft-typography-button-font-size",Zt.fontSize,"14px"),fontWeight:ft.extend("--ft-typography-button-font-weight",Zt.fontWeight,"600"),letterSpacing:ft.extend("--ft-typography-button-letter-spacing",Zt.letterSpacing,"1.246px"),lineHeight:ft.extend("--ft-typography-button-line-height",Zt.lineHeight,"16px"),textTransform:ft.extend("--ft-typography-button-text-transform",Zt.textTransform,"uppercase")},Te=b`
109
+ */var _t,Pt=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"}(_t||(_t={}));const Ht=ft.extend("--ft-typography-font-family",ut.titleFont),Wt=ft.extend("--ft-typography-font-family",ut.contentFont),Zt={fontFamily:Wt,fontSize:ft.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ft.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ft.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ft.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:ft.create("--ft-typography-text-transform","UNKNOWN","inherit")},Kt=ft.extend("--ft-typography-title-font-family",Ht),Vt=ft.extend("--ft-typography-title-font-size",Zt.fontSize,"20px"),qt=ft.extend("--ft-typography-title-font-weight",Zt.fontWeight,"normal"),Xt=ft.extend("--ft-typography-title-letter-spacing",Zt.letterSpacing,"0.15px"),Jt=ft.extend("--ft-typography-title-line-height",Zt.lineHeight,"1.2"),Yt=ft.extend("--ft-typography-title-text-transform",Zt.textTransform,"inherit"),Gt=ft.extend("--ft-typography-title-dense-font-family",Ht),Qt=ft.extend("--ft-typography-title-dense-font-size",Zt.fontSize,"14px"),te=ft.extend("--ft-typography-title-dense-font-weight",Zt.fontWeight,"normal"),ee=ft.extend("--ft-typography-title-dense-letter-spacing",Zt.letterSpacing,"0.105px"),ie=ft.extend("--ft-typography-title-dense-line-height",Zt.lineHeight,"1.7"),oe=ft.extend("--ft-typography-title-dense-text-transform",Zt.textTransform,"inherit"),ne=ft.extend("--ft-typography-subtitle1-font-family",Wt),se=ft.extend("--ft-typography-subtitle1-font-size",Zt.fontSize,"16px"),re=ft.extend("--ft-typography-subtitle1-font-weight",Zt.fontWeight,"600"),le=ft.extend("--ft-typography-subtitle1-letter-spacing",Zt.letterSpacing,"0.144px"),ae=ft.extend("--ft-typography-subtitle1-line-height",Zt.lineHeight,"1.5"),pe=ft.extend("--ft-typography-subtitle1-text-transform",Zt.textTransform,"inherit"),ce=ft.extend("--ft-typography-subtitle2-font-family",Wt),de=ft.extend("--ft-typography-subtitle2-font-size",Zt.fontSize,"14px"),fe=ft.extend("--ft-typography-subtitle2-font-weight",Zt.fontWeight,"normal"),he=ft.extend("--ft-typography-subtitle2-letter-spacing",Zt.letterSpacing,"0.098px"),ue=ft.extend("--ft-typography-subtitle2-line-height",Zt.lineHeight,"1.7"),be=ft.extend("--ft-typography-subtitle2-text-transform",Zt.textTransform,"inherit"),xe={fontFamily:ft.extend("--ft-typography-body1-font-family",Wt),fontSize:ft.extend("--ft-typography-body1-font-size",Zt.fontSize,"16px"),fontWeight:ft.extend("--ft-typography-body1-font-weight",Zt.fontWeight,"normal"),letterSpacing:ft.extend("--ft-typography-body1-letter-spacing",Zt.letterSpacing,"0.496px"),lineHeight:ft.extend("--ft-typography-body1-line-height",Zt.lineHeight,"1.5"),textTransform:ft.extend("--ft-typography-body1-text-transform",Zt.textTransform,"inherit")},ve=ft.extend("--ft-typography-body2-font-family",Wt),ye=ft.extend("--ft-typography-body2-font-size",Zt.fontSize,"14px"),ge=ft.extend("--ft-typography-body2-font-weight",Zt.fontWeight,"normal"),me=ft.extend("--ft-typography-body2-letter-spacing",Zt.letterSpacing,"0.252px"),$e=ft.extend("--ft-typography-body2-line-height",Zt.lineHeight,"1.4"),we=ft.extend("--ft-typography-body2-text-transform",Zt.textTransform,"inherit"),Oe={fontFamily:ft.extend("--ft-typography-caption-font-family",Wt),fontSize:ft.extend("--ft-typography-caption-font-size",Zt.fontSize,"12px"),fontWeight:ft.extend("--ft-typography-caption-font-weight",Zt.fontWeight,"normal"),letterSpacing:ft.extend("--ft-typography-caption-letter-spacing",Zt.letterSpacing,"0.396px"),lineHeight:ft.extend("--ft-typography-caption-line-height",Zt.lineHeight,"1.33"),textTransform:ft.extend("--ft-typography-caption-text-transform",Zt.textTransform,"inherit")},Se=ft.extend("--ft-typography-breadcrumb-font-family",Wt),ke=ft.extend("--ft-typography-breadcrumb-font-size",Zt.fontSize,"10px"),Ce=ft.extend("--ft-typography-breadcrumb-font-weight",Zt.fontWeight,"normal"),Ee=ft.extend("--ft-typography-breadcrumb-letter-spacing",Zt.letterSpacing,"0.33px"),Ne=ft.extend("--ft-typography-breadcrumb-line-height",Zt.lineHeight,"1.6"),Re=ft.extend("--ft-typography-breadcrumb-text-transform",Zt.textTransform,"inherit"),ze=ft.extend("--ft-typography-overline-font-family",Wt),Me=ft.extend("--ft-typography-overline-font-size",Zt.fontSize,"10px"),Fe=ft.extend("--ft-typography-overline-font-weight",Zt.fontWeight,"normal"),Ue=ft.extend("--ft-typography-overline-letter-spacing",Zt.letterSpacing,"1.5px"),Be=ft.extend("--ft-typography-overline-line-height",Zt.lineHeight,"1.6"),De=ft.extend("--ft-typography-overline-text-transform",Zt.textTransform,"uppercase"),je={fontFamily:ft.extend("--ft-typography-button-font-family",Wt),fontSize:ft.extend("--ft-typography-button-font-size",Zt.fontSize,"14px"),fontWeight:ft.extend("--ft-typography-button-font-weight",Zt.fontWeight,"600"),letterSpacing:ft.extend("--ft-typography-button-letter-spacing",Zt.letterSpacing,"1.246px"),lineHeight:ft.extend("--ft-typography-button-line-height",Zt.lineHeight,"1.15"),textTransform:ft.extend("--ft-typography-button-text-transform",Zt.textTransform,"uppercase")},Te=b`
110
110
  .ft-typography--title {
111
111
  font-family: ${Kt};
112
112
  font-size: ${Vt};
@@ -440,8 +440,10 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
440
440
  <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
441
441
  </i>
442
442
  `}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===pi.file_format?null!==(t=ai[i.toUpperCase()])&&void 0!==t?t:i:this.variant===pi.fluid_topics?null!==(e=li[i.toUpperCase()])&&void 0!==e?e:i:K}}fi.elementDefinitions={},fi.styles=b`
443
- :host, i.ft-icon {
443
+ :host {
444
444
  display: inline-block;
445
+ }
446
+ :host, i.ft-icon {
445
447
  width: ${di.size};
446
448
  height: ${di.size};
447
449
  text-align: center;
@@ -472,7 +474,7 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
472
474
  .ft-icon--material {
473
475
  font-family: ${di.materialFontFamily}, "Material Icons", sans-serif;
474
476
  }
475
- `,ci([o()],fi.prototype,"variant",void 0),ci([r("slot")],fi.prototype,"slottedContent",void 0),p("ft-icon")(fi);var hi=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 ui 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}))}}ui.elementDefinitions={},hi([o({type:String})],ui.prototype,"label",void 0),hi([o({type:Object,converter:t=>t})],ui.prototype,"value",void 0),hi([o({type:Boolean,reflect:!0})],ui.prototype,"selected",void 0);const bi={labelSize:ft.create("--ft-select-label-size","SIZE","11px"),selectedOptionSize:ft.create("--ft-select-selected-option-size","SIZE","14px"),verticalSpacing:ft.create("--ft-select-vertical-spacing","SIZE","4px"),selectedOptionColor:ft.extend("--ft-select-selected-option-color",ut.colorOnSurface),helperColor:ft.extend("--ft-select-helper-color",ut.colorOnSurfaceMedium),optionsColor:ft.extend("--ft-select-options-color",ut.colorOnSurface),optionsZIndex:ft.create("--ft-select-options-z-index","NUMBER","3"),colorSurface:ft.external(ut.colorSurface,"Design system"),colorOnSurfaceDisabled:ft.external(ut.colorOnSurfaceDisabled,"Design system"),colorPrimary:ft.external(ut.colorPrimary,"Design system"),borderRadiusS:ft.external(ut.borderRadiusS,"Design system"),elevation02:ft.external(ut.elevation02,"Design system"),colorError:ft.external(ut.colorError,"Design system")};class xi extends bt{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,e,i,o,n;let s=this.hasOptionsMenuOpen,r=this.disabled||!this.hasOptions;const l=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(i=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==i?i:"").length>0,a={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":r,"ft-select--options-displayed":s,"ft-select--has-option-selected":l,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return W`
477
+ `,ci([o()],fi.prototype,"variant",void 0),ci([r("slot")],fi.prototype,"slottedContent",void 0),p("ft-icon")(fi);var hi=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 ui 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}))}}ui.elementDefinitions={},hi([o({type:String})],ui.prototype,"label",void 0),hi([o({type:Object,converter:t=>t})],ui.prototype,"value",void 0),hi([o({type:Boolean,reflect:!0})],ui.prototype,"selected",void 0);const bi={labelSize:ft.create("--ft-select-label-size","SIZE","11px"),selectedOptionSize:ft.create("--ft-select-selected-option-size","SIZE","14px"),verticalSpacing:ft.create("--ft-select-vertical-spacing","SIZE","4px"),optionsHeight:ft.create("--ft-select-options-height","SIZE","unset"),selectedOptionColor:ft.extend("--ft-select-selected-option-color",ut.colorOnSurface),helperColor:ft.extend("--ft-select-helper-color",ut.colorOnSurfaceMedium),optionsColor:ft.extend("--ft-select-options-color",ut.colorOnSurface),optionsZIndex:ft.create("--ft-select-options-z-index","NUMBER","3"),colorSurface:ft.external(ut.colorSurface,"Design system"),colorOnSurfaceDisabled:ft.external(ut.colorOnSurfaceDisabled,"Design system"),colorPrimary:ft.external(ut.colorPrimary,"Design system"),borderRadiusS:ft.external(ut.borderRadiusS,"Design system"),elevation02:ft.external(ut.elevation02,"Design system"),colorError:ft.external(ut.colorError,"Design system")};class xi extends bt{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,e,i,o,n;let s=this.hasOptionsMenuOpen,r=this.disabled||!this.hasOptions;const l=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(i=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==i?i:"").length>0,a={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":r,"ft-select--options-displayed":s,"ft-select--has-option-selected":l,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return W`
476
478
  <div class="${Dt(a)}" part="container">
477
479
  <div class="ft-select--main-panel" part="main-panel">
478
480
  <ft-input-label text="${this.label}"
@@ -642,6 +644,8 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
642
644
 
643
645
  .ft-select--options-displayed .ft-select--options {
644
646
  display: block;
647
+ max-height: ${bi.optionsHeight};
648
+ overflow-y: auto;
645
649
  }
646
650
 
647
651
  .ft-select--option {
@@ -958,6 +962,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
958
962
  box-shadow: 0px 0px 0px transparent;
959
963
  border: 0px solid transparent;
960
964
  text-shadow: 0px 0px 0px transparent;
965
+ font-size: inherit;
961
966
  }
962
967
 
963
968
  button:hover {
@@ -985,6 +990,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
985
990
  box-sizing: border-box;
986
991
  border: none;
987
992
  pointer-events: auto;
993
+ line-height: 0;
988
994
 
989
995
  --ft-button-internal-font-size: ${Mi.fontSize};
990
996
  --ft-button-internal-line-height: calc(var(--ft-button-internal-font-size) + 2px);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-filterable-table",
3
- "version": "0.2.13",
3
+ "version": "0.2.16",
4
4
  "description": "A dynamic table with filters",
5
5
  "keywords": [
6
6
  "Lit"
@@ -22,11 +22,11 @@
22
22
  "test": "echo \"Error: run tests from root\" && exit 1"
23
23
  },
24
24
  "dependencies": {
25
- "@fluid-topics/ft-button": "^0.2.13",
26
- "@fluid-topics/ft-select": "^0.2.13",
27
- "@fluid-topics/ft-text-field": "^0.2.13",
28
- "@fluid-topics/ft-wc-utils": "^0.2.13",
25
+ "@fluid-topics/ft-button": "^0.2.16",
26
+ "@fluid-topics/ft-select": "^0.2.16",
27
+ "@fluid-topics/ft-text-field": "^0.2.16",
28
+ "@fluid-topics/ft-wc-utils": "^0.2.16",
29
29
  "lit": "2.1.3"
30
30
  },
31
- "gitHead": "53374411bbda5416238d3e7a8ab3852c75a95712"
31
+ "gitHead": "d57a682474d27df7e667d8616a2fbca7643d51c2"
32
32
  }