@fluid-topics/ft-filter 0.2.14 → 0.2.17

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,s=new WeakMap,n=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,s){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(s))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=s.prototype.attributeChangedCallback,a=new Set(s.observedAttributes||[]);d(s,a,l);const h={elementClass:s,connectedCallback:s.prototype.connectedCallback,disconnectedCallback:s.prototype.disconnectedCallback,adoptedCallback:s.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:s.formAssociated,formAssociatedCallback:s.prototype.formAssociatedCallback,formDisabledCallback:s.prototype.formDisabledCallback,formResetCallback:s.prototype.formResetCallback,formStateRestoreCallback:s.prototype.formStateRestoreCallback,observedAttributes:a};this._definitionsByTag.set(t,h),this._definitionsByClass.set(s,h);let c=i.call(o,t);c||(c=p(t),e.call(o,t,c)),this===window.customElements&&(r.set(s,h),h.standInClass=c);const f=this._awaitingUpgrade.get(t);if(f){this._awaitingUpgrade.delete(t);for(const t of f)n.delete(t),u(t,h,!0)}const v=this._whenDefinedPromises.get(t);return void 0!==v&&(v.resolve(s),this._whenDefinedPromises.delete(t)),s}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),s.set(e,i),e},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,c=t=>{let e=t.getRootNode();if(!h(e)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),h(e)||(e=l.get(e)?.getRootNode()||document)}return e.customElements},p=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,s=o._getDefinition(e);return s?u(i,s):n.set(i,o),i}connectedCallback(){const t=s.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=s.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){s.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=s.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=s.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=s.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=s.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,s){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);o.call(this,n,s),i.call(this,n,t,s)}else o.call(this,n,s)});const s=t.prototype.removeAttribute;s&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);s.call(this,o),i.call(this,o,t,null)}else s.call(this,o)})},f=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):f(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),s.set(t,e),a=t;try{new e.elementClass}catch(t){f(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=v.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let b=[document];const x=(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}};x(ShadowRoot,"createElement",document),x(ShadowRoot,"importNode",document),x(Element,"insertAdjacentHTML");const y=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){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!==s.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),s=e.get(o)||[];this[+i]=t,s.push(t),e.set(o,s)})),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=s.get(i);t&&!0!==t.formAssociated||e.push(i)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(yi){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,s=new WeakMap,n=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,s){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(s))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=s.prototype.attributeChangedCallback,a=new Set(s.observedAttributes||[]);d(s,a,l);const h={elementClass:s,connectedCallback:s.prototype.connectedCallback,disconnectedCallback:s.prototype.disconnectedCallback,adoptedCallback:s.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:s.formAssociated,formAssociatedCallback:s.prototype.formAssociatedCallback,formDisabledCallback:s.prototype.formDisabledCallback,formResetCallback:s.prototype.formResetCallback,formStateRestoreCallback:s.prototype.formStateRestoreCallback,observedAttributes:a};this._definitionsByTag.set(t,h),this._definitionsByClass.set(s,h);let c=i.call(o,t);c||(c=p(t),e.call(o,t,c)),this===window.customElements&&(r.set(s,h),h.standInClass=c);const f=this._awaitingUpgrade.get(t);if(f){this._awaitingUpgrade.delete(t);for(const t of f)n.delete(t),u(t,h,!0)}const v=this._whenDefinedPromises.get(t);return void 0!==v&&(v.resolve(s),this._whenDefinedPromises.delete(t)),s}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),s.set(e,i),e},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,c=t=>{let e=t.getRootNode();if(!h(e)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),h(e)||(e=l.get(e)?.getRootNode()||document)}return e.customElements},p=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,s=o._getDefinition(e);return s?u(i,s):n.set(i,o),i}connectedCallback(){const t=s.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=s.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){s.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=s.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=s.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=s.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=s.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,s){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);o.call(this,n,s),i.call(this,n,t,s)}else o.call(this,n,s)});const s=t.prototype.removeAttribute;s&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);s.call(this,o),i.call(this,o,t,null)}else s.call(this,o)})},f=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):f(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),s.set(t,e),a=t;try{new e.elementClass}catch(t){f(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=v.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let b=[document];const x=(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}};x(ShadowRoot,"createElement",document),x(ShadowRoot,"importNode",document),x(Element,"insertAdjacentHTML");const y=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){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!==s.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),s=e.get(o)||[];this[+i]=t,s.push(t),e.set(o,s)})),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=s.get(i);t&&!0!==t.formAssociated||e.push(i)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(mi){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
@@ -50,40 +50,39 @@ var r;const l=null!=(null===(r=window.HTMLSlotElement)||void 0===r?void 0:r.prot
50
50
  * @license
51
51
  * Copyright 2017 Google LLC
52
52
  * SPDX-License-Identifier: BSD-3-Clause
53
- */const h=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};
53
+ */const h=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function c(t,e){const o=()=>JSON.parse(JSON.stringify(t));return i({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},...null!=e?e:{}})}
54
54
  /**
55
55
  * @license
56
56
  * Copyright 2019 Google LLC
57
57
  * SPDX-License-Identifier: BSD-3-Clause
58
- */
59
- const c=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,p=Symbol(),d=new Map;class f{constructor(t,e){if(this._$cssResult$=!0,e!==p)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=d.get(this.cssText);return c&&void 0===t&&(d.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const u=t=>new f("string"==typeof t?t:t+"",p),v=(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,p)},b=(t,e)=>{c?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=window.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},x=c?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return u(e)})(t):t
58
+ */const p=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,d=Symbol(),f=new Map;class u{constructor(t,e){if(this._$cssResult$=!0,e!==d)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=f.get(this.cssText);return p&&void 0===t&&(f.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const v=t=>new u("string"==typeof t?t:t+"",d),b=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[o+1]),t[0]);return new u(i,d)},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)}))},y=p?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return v(e)})(t):t
60
59
  /**
61
60
  * @license
62
61
  * Copyright 2017 Google LLC
63
62
  * SPDX-License-Identifier: BSD-3-Clause
64
- */;var y;const g=window.trustedTypes,m=g?g.emptyScript:"",$=window.reactiveElementPolyfillSupport,w={toAttribute(t,e){switch(e){case Boolean:t=t?m:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},k=(t,e)=>e!==t&&(e==e||t==t),O={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:k};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 s=this[t];this[e]=o,this.requestUpdate(t,s,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,s;const n=this.constructor._$Eh(t,i);if(void 0!==n&&!0===i.reflect){const r=(null!==(s=null===(o=i.converter)||void 0===o?void 0:o.toAttribute)&&void 0!==s?s:w.toAttribute)(e,i.type);this._$Ei=t,null==r?this.removeAttribute(n):this.setAttribute(n,r),this._$Ei=null}}_$AK(t,e){var i,o,s;const n=this.constructor,r=n._$Eu.get(t);if(void 0!==r&&this._$Ei!==r){const t=n.getPropertyOptions(r),l=t.converter,a=null!==(s=null!==(o=null===(i=l)||void 0===i?void 0:i.fromAttribute)&&void 0!==o?o:"function"==typeof l?l:null)&&void 0!==s?s:w.fromAttribute;this._$Ei=r,this[r]=a(e,t.type),this._$Ei=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||k)(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){}}
63
+ */;var g;const m=window.trustedTypes,$=m?m.emptyScript:"",w=window.reactiveElementPolyfillSupport,k={toAttribute(t,e){switch(e){case Boolean:t=t?$:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},O=(t,e)=>e!==t&&(e==e||t==t),S={attribute:!0,type:String,converter:k,reflect:!1,hasChanged:O};class C extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Eh(i,e);void 0!==o&&(this._$Eu.set(o,i),t.push(o))})),t}static createProperty(t,e=S){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const s=this[t];this[e]=o,this.requestUpdate(t,s,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||S}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(y(t))}else void 0!==t&&e.push(y(t));return e}static _$Eh(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$Eg)||void 0===e||e.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return 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=S){var o,s;const n=this.constructor._$Eh(t,i);if(void 0!==n&&!0===i.reflect){const r=(null!==(s=null===(o=i.converter)||void 0===o?void 0:o.toAttribute)&&void 0!==s?s:k.toAttribute)(e,i.type);this._$Ei=t,null==r?this.removeAttribute(n):this.setAttribute(n,r),this._$Ei=null}}_$AK(t,e){var i,o,s;const n=this.constructor,r=n._$Eu.get(t);if(void 0!==r&&this._$Ei!==r){const t=n.getPropertyOptions(r),l=t.converter,a=null!==(s=null!==(o=null===(i=l)||void 0===i?void 0:i.fromAttribute)&&void 0!==o?o:"function"==typeof l?l:null)&&void 0!==s?s:k.fromAttribute;this._$Ei=r,this[r]=a(e,t.type),this._$Ei=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||O)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$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){}}
65
64
  /**
66
65
  * @license
67
66
  * Copyright 2017 Google LLC
68
67
  * SPDX-License-Identifier: BSD-3-Clause
69
68
  */
70
- var C;S.finalized=!0,S.elementProperties=new Map,S.elementStyles=[],S.shadowRootOptions={mode:"open"},null==$||$({ReactiveElement:S}),(null!==(y=globalThis.reactiveElementVersions)&&void 0!==y?y:globalThis.reactiveElementVersions=[]).push("1.3.2");const E=globalThis.trustedTypes,N=E?E.createPolicy("lit-html",{createHTML:t=>t}):void 0,z=`lit$${(Math.random()+"").slice(9)}$`,R="?"+z,M=`<${R}>`,B=document,F=(t="")=>B.createComment(t),j=t=>null===t||"object"!=typeof t&&"function"!=typeof t,U=Array.isArray,D=t=>{var e;return U(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])},L=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,T=/-->/g,A=/>/g,_=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,P=/'/g,I=/"/g,H=/^(?:script|style|textarea|title)$/i,W=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),K=Symbol.for("lit-noChange"),V=Symbol.for("lit-nothing"),Z=new WeakMap,J=B.createTreeWalker(B,129,null,!1),q=(t,e)=>{const i=t.length-1,o=[];let s,n=2===e?"<svg>":"",r=L;for(let e=0;e<i;e++){const i=t[e];let l,a,h=-1,c=0;for(;c<i.length&&(r.lastIndex=c,a=r.exec(i),null!==a);)c=r.lastIndex,r===L?"!--"===a[1]?r=T:void 0!==a[1]?r=A:void 0!==a[2]?(H.test(a[2])&&(s=RegExp("</"+a[2],"g")),r=_):void 0!==a[3]&&(r=_):r===_?">"===a[0]?(r=null!=s?s:L,h=-1):void 0===a[1]?h=-2:(h=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?_:'"'===a[3]?I:P):r===I||r===P?r=_:r===T||r===A?r=L:(r=_,s=void 0);const p=r===_&&t[e+1].startsWith("/>")?" ":"";n+=r===L?i+M:h>=0?(o.push(l),i.slice(0,h)+"$lit$"+i.slice(h)+z+p):i+z+(-2===h?(o.push(void 0),e):p)}const l=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==N?N.createHTML(l):l,o]};class X{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,n=0;const r=t.length-1,l=this.parts,[a,h]=q(t,e);if(this.el=X.createElement(a,i),J.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=J.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(z)){const i=h[n++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(z),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?et:"?"===e[1]?ot:"@"===e[1]?st:tt})}else l.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(H.test(o.tagName)){const t=o.textContent.split(z),e=t.length-1;if(e>0){o.textContent=E?E.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],F()),J.nextNode(),l.push({type:2,index:++s});o.append(t[e],F())}}}else if(8===o.nodeType)if(o.data===R)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(z,t+1));)l.push({type:7,index:s}),t+=z.length-1}s++}}static createElement(t,e){const i=B.createElement("template");return i.innerHTML=t,i}}function Y(t,e,i=t,o){var s,n,r,l;if(e===K)return e;let a=void 0!==o?null===(s=i._$Cl)||void 0===s?void 0:s[o]:i._$Cu;const h=j(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==h&&(null===(n=null==a?void 0:a._$AO)||void 0===n||n.call(a,!1),void 0===h?a=void 0:(a=new h(t),a._$AT(t,i,o)),void 0!==o?(null!==(r=(l=i)._$Cl)&&void 0!==r?r:l._$Cl=[])[o]=a:i._$Cu=a),void 0!==a&&(e=Y(t,a._$AS(t,e.values),a,o)),e}class G{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:B).importNode(i,!0);J.currentNode=s;let n=J.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new Q(n,n.nextSibling,this,t):1===a.type?e=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(e=new nt(n,this,t)),this.v.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(n=J.nextNode(),r++)}return s}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Q{constructor(t,e,i,o){var s;this.type=2,this._$AH=V,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=Y(this,t,e),j(t)?t===V||null==t||""===t?(this._$AH!==V&&this._$AR(),this._$AH=V):t!==this._$AH&&t!==K&&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!==V&&j(this._$AH)?this._$AA.nextSibling.data=t:this.k(B.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=X.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.m(i);else{const t=new G(s,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=Z.get(t.strings);return void 0===e&&Z.set(t.strings,e=new X(t)),e}S(t){U(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new Q(this.M(F()),this.M(F()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class tt{constructor(t,e,i,o,s){this.type=1,this._$AH=V,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=V}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let n=!1;if(void 0===s)t=Y(this,t,e,0),n=!j(t)||t!==this._$AH&&t!==K,n&&(this._$AH=t);else{const o=t;let r,l;for(t=s[0],r=0;r<s.length-1;r++)l=Y(this,o[i+r],e,r),l===K&&(l=this._$AH[r]),n||(n=!j(l)||l!==this._$AH[r]),l===V?t=V:t!==V&&(t+=(null!=l?l:"")+s[r+1]),this._$AH[r]=l}n&&!o&&this.C(t)}C(t){t===V?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class et extends tt{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===V?void 0:t}}const it=E?E.emptyScript:"";class ot extends tt{constructor(){super(...arguments),this.type=4}C(t){t&&t!==V?this.element.setAttribute(this.name,it):this.element.removeAttribute(this.name)}}class st extends tt{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=Y(this,t,e,0))&&void 0!==i?i:V)===K)return;const o=this._$AH,s=t===V&&o!==V||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==V&&(o===V||s);s&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class 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){Y(this,t)}}const rt={L:"$lit$",P:z,V:R,I:1,N:q,R:G,j:D,D:Y,H:Q,F:tt,O:ot,W:st,B:et,Z:nt},lt=window.litHtmlPolyfillSupport;
69
+ var E;C.finalized=!0,C.elementProperties=new Map,C.elementStyles=[],C.shadowRootOptions={mode:"open"},null==w||w({ReactiveElement:C}),(null!==(g=globalThis.reactiveElementVersions)&&void 0!==g?g:globalThis.reactiveElementVersions=[]).push("1.3.2");const N=globalThis.trustedTypes,z=N?N.createPolicy("lit-html",{createHTML:t=>t}):void 0,R=`lit$${(Math.random()+"").slice(9)}$`,M="?"+R,B=`<${M}>`,F=document,j=(t="")=>F.createComment(t),U=t=>null===t||"object"!=typeof t&&"function"!=typeof t,D=Array.isArray,L=t=>{var e;return D(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])},T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,A=/-->/g,P=/>/g,_=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,I=/'/g,H=/"/g,W=/^(?:script|style|textarea|title)$/i,K=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),V=Symbol.for("lit-noChange"),Z=Symbol.for("lit-nothing"),J=new WeakMap,q=F.createTreeWalker(F,129,null,!1),X=(t,e)=>{const i=t.length-1,o=[];let s,n=2===e?"<svg>":"",r=T;for(let e=0;e<i;e++){const i=t[e];let l,a,h=-1,c=0;for(;c<i.length&&(r.lastIndex=c,a=r.exec(i),null!==a);)c=r.lastIndex,r===T?"!--"===a[1]?r=A:void 0!==a[1]?r=P:void 0!==a[2]?(W.test(a[2])&&(s=RegExp("</"+a[2],"g")),r=_):void 0!==a[3]&&(r=_):r===_?">"===a[0]?(r=null!=s?s:T,h=-1):void 0===a[1]?h=-2:(h=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?_:'"'===a[3]?H:I):r===H||r===I?r=_:r===A||r===P?r=T:(r=_,s=void 0);const p=r===_&&t[e+1].startsWith("/>")?" ":"";n+=r===T?i+B:h>=0?(o.push(l),i.slice(0,h)+"$lit$"+i.slice(h)+R+p):i+R+(-2===h?(o.push(void 0),e):p)}const l=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==z?z.createHTML(l):l,o]};class Y{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,n=0;const r=t.length-1,l=this.parts,[a,h]=X(t,e);if(this.el=Y.createElement(a,i),q.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=q.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(R)){const i=h[n++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(R),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?it:"?"===e[1]?st:"@"===e[1]?nt:et})}else l.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(W.test(o.tagName)){const t=o.textContent.split(R),e=t.length-1;if(e>0){o.textContent=N?N.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],j()),q.nextNode(),l.push({type:2,index:++s});o.append(t[e],j())}}}else if(8===o.nodeType)if(o.data===M)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(R,t+1));)l.push({type:7,index:s}),t+=R.length-1}s++}}static createElement(t,e){const i=F.createElement("template");return i.innerHTML=t,i}}function G(t,e,i=t,o){var s,n,r,l;if(e===V)return e;let a=void 0!==o?null===(s=i._$Cl)||void 0===s?void 0:s[o]:i._$Cu;const h=U(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==h&&(null===(n=null==a?void 0:a._$AO)||void 0===n||n.call(a,!1),void 0===h?a=void 0:(a=new h(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=G(t,a._$AS(t,e.values),a,o)),e}class Q{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:F).importNode(i,!0);q.currentNode=s;let n=q.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new tt(n,n.nextSibling,this,t):1===a.type?e=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(e=new rt(n,this,t)),this.v.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(n=q.nextNode(),r++)}return s}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class tt{constructor(t,e,i,o){var s;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===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=G(this,t,e),U(t)?t===Z||null==t||""===t?(this._$AH!==Z&&this._$AR(),this._$AH=Z):t!==this._$AH&&t!==V&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):L(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(F.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=Y.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.m(i);else{const t=new Q(s,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=J.get(t.strings);return void 0===e&&J.set(t.strings,e=new Y(t)),e}S(t){D(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new tt(this.M(j()),this.M(j()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class et{constructor(t,e,i,o,s){this.type=1,this._$AH=Z,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Z}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let n=!1;if(void 0===s)t=G(this,t,e,0),n=!U(t)||t!==this._$AH&&t!==V,n&&(this._$AH=t);else{const o=t;let r,l;for(t=s[0],r=0;r<s.length-1;r++)l=G(this,o[i+r],e,r),l===V&&(l=this._$AH[r]),n||(n=!U(l)||l!==this._$AH[r]),l===Z?t=Z:t!==Z&&(t+=(null!=l?l:"")+s[r+1]),this._$AH[r]=l}n&&!o&&this.C(t)}C(t){t===Z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class it extends et{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===Z?void 0:t}}const ot=N?N.emptyScript:"";class st extends et{constructor(){super(...arguments),this.type=4}C(t){t&&t!==Z?this.element.setAttribute(this.name,ot):this.element.removeAttribute(this.name)}}class nt extends et{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=G(this,t,e,0))&&void 0!==i?i:Z)===V)return;const o=this._$AH,s=t===Z&&o!==Z||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==Z&&(o===Z||s);s&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class rt{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){G(this,t)}}const lt={L:"$lit$",P:R,V:M,I:1,N:X,R:Q,j:L,D:G,H:tt,F:et,O:st,W:nt,B:it,Z:rt},at=window.litHtmlPolyfillSupport;
71
70
  /**
72
71
  * @license
73
72
  * Copyright 2017 Google LLC
74
73
  * SPDX-License-Identifier: BSD-3-Clause
75
74
  */
76
- var at,ht;null==lt||lt(X,Q),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C:globalThis.litHtmlVersions=[]).push("2.2.4");class ct extends S{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=((t,e,i)=>{var o,s;const n=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let r=n._$litPart$;if(void 0===r){const t=null!==(s=null==i?void 0:i.renderBefore)&&void 0!==s?s:null;n._$litPart$=r=new Q(e.insertBefore(F(),t),t,void 0,null!=i?i:{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return K}}ct.finalized=!0,ct._$litElement$=!0,null===(at=globalThis.litElementHydrateSupport)||void 0===at||at.call(globalThis,{LitElement:ct});const pt=globalThis.litElementPolyfillSupport;null==pt||pt({LitElement:ct}),(null!==(ht=globalThis.litElementVersions)&&void 0!==ht?ht:globalThis.litElementVersions=[]).push("3.2.0");class dt{constructor(t,e,i,o,s){this.name=t,this.category=e,this.fallbackVariable=i,this.defaultValue=o,this.context=s,this._$cssResult$=!0,this.value=this.get()}get cssText(){return this.value.cssText}get styleSheet(){return this.value.styleSheet}toString(){return this.value.toString()}static create(t,e,i){return new dt(t,e,void 0,i)}static extend(t,e,i){return new dt(t,e.category,e,i)}static external(t,e){return new dt(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return v`var(${u(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):u(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,e;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(e=this.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}function ft(t,e){return u(`${t.name}: ${e}`)}const ut={colorPrimary:dt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:dt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:dt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:dt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:dt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:dt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:dt.create("--ft-color-error","COLOR","#B00020"),colorOutline:dt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:dt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:dt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:dt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:dt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:dt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:dt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:dt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:dt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:dt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:dt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:dt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:dt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:dt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:dt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:dt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:dt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:dt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:dt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:dt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:dt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:dt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:dt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:dt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:dt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:dt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:dt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:dt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:dt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:dt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:dt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:dt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:dt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:dt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:dt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:dt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:dt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:dt.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:dt.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:dt.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:dt.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:dt.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:dt.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:dt.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:dt.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:dt.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:dt.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:dt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:dt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:dt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:dt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:dt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:dt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:dt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:dt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
75
+ var ht,ct;null==at||at(Y,tt),(null!==(E=globalThis.litHtmlVersions)&&void 0!==E?E:globalThis.litHtmlVersions=[]).push("2.2.4");class pt extends C{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=((t,e,i)=>{var o,s;const n=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let r=n._$litPart$;if(void 0===r){const t=null!==(s=null==i?void 0:i.renderBefore)&&void 0!==s?s:null;n._$litPart$=r=new tt(e.insertBefore(j(),t),t,void 0,null!=i?i:{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return V}}pt.finalized=!0,pt._$litElement$=!0,null===(ht=globalThis.litElementHydrateSupport)||void 0===ht||ht.call(globalThis,{LitElement:pt});const dt=globalThis.litElementPolyfillSupport;null==dt||dt({LitElement:pt}),(null!==(ct=globalThis.litElementVersions)&&void 0!==ct?ct:globalThis.litElementVersions=[]).push("3.2.0");class ft{constructor(t,e,i,o,s){this.name=t,this.category=e,this.fallbackVariable=i,this.defaultValue=o,this.context=s,this._$cssResult$=!0,this.value=this.get()}get cssText(){return this.value.cssText}get styleSheet(){return this.value.styleSheet}toString(){return this.value.toString()}static create(t,e,i){return new ft(t,e,void 0,i)}static extend(t,e,i){return new ft(t,e.category,e,i)}static external(t,e){return new ft(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return b`var(${v(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):v(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,e;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(e=this.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}function ut(t,e){return v(`${t.name}: ${e}`)}const vt={colorPrimary:ft.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:ft.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:ft.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:ft.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:ft.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:ft.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ft.create("--ft-color-error","COLOR","#B00020"),colorOutline:ft.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ft.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:ft.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:ft.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:ft.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:ft.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:ft.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ft.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ft.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:ft.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:ft.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ft.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ft.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ft.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ft.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ft.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ft.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:ft.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:ft.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:ft.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:ft.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:ft.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:ft.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ft.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ft.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:ft.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ft.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ft.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ft.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ft.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ft.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ft.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:ft.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ft.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ft.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ft.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ft.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:ft.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:ft.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:ft.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:ft.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:ft.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:ft.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:ft.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:ft.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:ft.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:ft.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:ft.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:ft.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:ft.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:ft.create("--ft-border-radius-XL","SIZE","16px"),titleFont:ft.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ft.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ft.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:ft.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
77
76
  /**
78
77
  * @license
79
78
  * Copyright 2021 Google LLC
80
79
  * SPDX-License-Identifier: BSD-3-Clause
81
- */class vt extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:o}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const s=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return b(s,this.constructor.elementStyles),s}}}(ct)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),W`
82
- ${t.map((t=>W`
80
+ */var bt=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class xt extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:o}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const s=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return x(s,this.constructor.elementStyles),s}}}(pt)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),K`
81
+ ${t.map((t=>K`
83
82
  <style>${t}</style>
84
83
  `))}
85
84
  ${this.getTemplate()}
86
- `}updated(t){super.updated(t),setTimeout((()=>this.contentAvailableCallback(t)),0)}contentAvailableCallback(t){}}const bt=v`
85
+ `}updated(t){super.updated(t),setTimeout((()=>{var e;this.contentAvailableCallback(t),(null===(e=this.exportpartsPrefix)||void 0===e?void 0:e.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}),0)}setExportpartsAttribute(t){var e,i,o,s,n,r;let l=[];for(let a of t){let t=null==a?void 0:a.trim();if(t)for(let a of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){let e=null!==(s=null===(o=a.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==s?s:[],i=null!==(r=null===(n=a.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==r?r:[];const h=[...new Set([...e,...i])].filter((t=>null!=t&&t.trim().length>0)).map((t=>t.trim())).map((e=>`${e}:${t}--${e}`));l.push(...h)}}this.setAttribute("exportparts",l.join(", "))}contentAvailableCallback(t){}}bt([i()],xt.prototype,"exportpartsPrefix",void 0),bt([c([])],xt.prototype,"exportpartsPrefixes",void 0);const yt=b`
87
86
  .ft-no-text-select {
88
87
  -webkit-touch-callout: none;
89
88
  -webkit-user-select: none;
@@ -92,134 +91,134 @@ var at,ht;null==lt||lt(X,Q),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
92
91
  -ms-user-select: none;
93
92
  user-select: none;
94
93
  }
95
- `;function xt(t){var e;let i;if("elementDefinitions"in t){i={};const e=t.elementDefinitions;for(let t in e)i[t]=xt(e[t])}return e=class extends t{render(){var e;let i=null!==(e=t.styles)&&void 0!==e?e:[];return Array.isArray(i)||(i=[i]),W`
96
- ${i.map((t=>W`
94
+ `;function gt(t){var e;let i;if("elementDefinitions"in t){i={};const e=t.elementDefinitions;for(let t in e)i[t]=gt(e[t])}return e=class extends t{render(){var e;let i=null!==(e=t.styles)&&void 0!==e?e:[];return Array.isArray(i)||(i=[i]),K`
95
+ ${i.map((t=>K`
97
96
  <style>${t}</style>
98
97
  `))}
99
98
  ${super.render()}
100
- `}},e.styles=void 0,e.elementDefinitions=i,e}var yt,gt,mt;const $t=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(mt=null===(gt=null===(yt=window.safari)||void 0===yt?void 0:yt.pushNotification)||void 0===gt?void 0:gt.toString())&&void 0!==mt?mt:""),wt=Symbol.for(""),kt=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===wt)return null===(i=t)||void 0===i?void 0:i._$litStatic$},Ot=t=>({_$litStatic$:t,r:wt}),St=new Map,Ct=(t=>(e,...i)=>{const o=i.length;let s,n;const r=[],l=[];let a,h=0,c=!1;for(;h<o;){for(a=e[h];h<o&&void 0!==(n=i[h],s=kt(n));)a+=s+e[++h],c=!0;l.push(n),r.push(a),h++}if(h===o&&r.push(e[o]),c){const t=r.join("$$lit$$");void 0===(e=St.get(t))&&(r.raw=r,St.set(t,e=r)),i=l}return t(e,...i)})(W);
99
+ `}},e.styles=void 0,e.elementDefinitions=i,e}var mt,$t,wt;const kt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(wt=null===($t=null===(mt=window.safari)||void 0===mt?void 0:mt.pushNotification)||void 0===$t?void 0:$t.toString())&&void 0!==wt?wt:""),Ot=Symbol.for(""),St=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===Ot)return null===(i=t)||void 0===i?void 0:i._$litStatic$},Ct=t=>({_$litStatic$:t,r:Ot}),Et=new Map,Nt=(t=>(e,...i)=>{const o=i.length;let s,n;const r=[],l=[];let a,h=0,c=!1;for(;h<o;){for(a=e[h];h<o&&void 0!==(n=i[h],s=St(n));)a+=s+e[++h],c=!0;l.push(n),r.push(a),h++}if(h===o&&r.push(e[o]),c){const t=r.join("$$lit$$");void 0===(e=Et.get(t))&&(r.raw=r,Et.set(t,e=r)),i=l}return t(e,...i)})(K);
101
100
  /**
102
101
  * @license
103
102
  * Copyright 2020 Google LLC
104
103
  * SPDX-License-Identifier: BSD-3-Clause
105
- */var Et,Nt=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(Et||(Et={}));const zt=dt.extend("--ft-typography-font-family",ut.titleFont),Rt=dt.extend("--ft-typography-font-family",ut.contentFont),Mt={fontFamily:Rt,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")},Bt=dt.extend("--ft-typography-title-font-family",zt),Ft=dt.extend("--ft-typography-title-font-size",Mt.fontSize,"20px"),jt=dt.extend("--ft-typography-title-font-weight",Mt.fontWeight,"normal"),Ut=dt.extend("--ft-typography-title-letter-spacing",Mt.letterSpacing,"0.15px"),Dt=dt.extend("--ft-typography-title-line-height",Mt.lineHeight,"24px"),Lt=dt.extend("--ft-typography-title-text-transform",Mt.textTransform,"inherit"),Tt=dt.extend("--ft-typography-title-dense-font-family",zt),At=dt.extend("--ft-typography-title-dense-font-size",Mt.fontSize,"14px"),_t=dt.extend("--ft-typography-title-dense-font-weight",Mt.fontWeight,"normal"),Pt=dt.extend("--ft-typography-title-dense-letter-spacing",Mt.letterSpacing,"0.105px"),It=dt.extend("--ft-typography-title-dense-line-height",Mt.lineHeight,"24px"),Ht=dt.extend("--ft-typography-title-dense-text-transform",Mt.textTransform,"inherit"),Wt=dt.extend("--ft-typography-subtitle1-font-family",Rt),Kt=dt.extend("--ft-typography-subtitle1-font-size",Mt.fontSize,"16px"),Vt=dt.extend("--ft-typography-subtitle1-font-weight",Mt.fontWeight,"600"),Zt=dt.extend("--ft-typography-subtitle1-letter-spacing",Mt.letterSpacing,"0.144px"),Jt=dt.extend("--ft-typography-subtitle1-line-height",Mt.lineHeight,"24px"),qt=dt.extend("--ft-typography-subtitle1-text-transform",Mt.textTransform,"inherit"),Xt=dt.extend("--ft-typography-subtitle2-font-family",Rt),Yt=dt.extend("--ft-typography-subtitle2-font-size",Mt.fontSize,"14px"),Gt=dt.extend("--ft-typography-subtitle2-font-weight",Mt.fontWeight,"normal"),Qt=dt.extend("--ft-typography-subtitle2-letter-spacing",Mt.letterSpacing,"0.098px"),te=dt.extend("--ft-typography-subtitle2-line-height",Mt.lineHeight,"24px"),ee=dt.extend("--ft-typography-subtitle2-text-transform",Mt.textTransform,"inherit"),ie=dt.extend("--ft-typography-body1-font-family",Rt),oe=dt.extend("--ft-typography-body1-font-size",Mt.fontSize,"16px"),se=dt.extend("--ft-typography-body1-font-weight",Mt.fontWeight,"normal"),ne=dt.extend("--ft-typography-body1-letter-spacing",Mt.letterSpacing,"0.496px"),re=dt.extend("--ft-typography-body1-line-height",Mt.lineHeight,"24px"),le=dt.extend("--ft-typography-body1-text-transform",Mt.textTransform,"inherit"),ae={fontFamily:dt.extend("--ft-typography-body2-font-family",Rt),fontSize:dt.extend("--ft-typography-body2-font-size",Mt.fontSize,"14px"),fontWeight:dt.extend("--ft-typography-body2-font-weight",Mt.fontWeight,"normal"),letterSpacing:dt.extend("--ft-typography-body2-letter-spacing",Mt.letterSpacing,"0.252px"),lineHeight:dt.extend("--ft-typography-body2-line-height",Mt.lineHeight,"20px"),textTransform:dt.extend("--ft-typography-body2-text-transform",Mt.textTransform,"inherit")},he=dt.extend("--ft-typography-caption-font-family",Rt),ce=dt.extend("--ft-typography-caption-font-size",Mt.fontSize,"12px"),pe=dt.extend("--ft-typography-caption-font-weight",Mt.fontWeight,"normal"),de=dt.extend("--ft-typography-caption-letter-spacing",Mt.letterSpacing,"0.396px"),fe=dt.extend("--ft-typography-caption-line-height",Mt.lineHeight,"16px"),ue=dt.extend("--ft-typography-caption-text-transform",Mt.textTransform,"inherit"),ve=dt.extend("--ft-typography-breadcrumb-font-family",Rt),be=dt.extend("--ft-typography-breadcrumb-font-size",Mt.fontSize,"10px"),xe=dt.extend("--ft-typography-breadcrumb-font-weight",Mt.fontWeight,"normal"),ye=dt.extend("--ft-typography-breadcrumb-letter-spacing",Mt.letterSpacing,"0.33px"),ge=dt.extend("--ft-typography-breadcrumb-line-height",Mt.lineHeight,"16px"),me=dt.extend("--ft-typography-breadcrumb-text-transform",Mt.textTransform,"inherit"),$e=dt.extend("--ft-typography-overline-font-family",Rt),we=dt.extend("--ft-typography-overline-font-size",Mt.fontSize,"10px"),ke=dt.extend("--ft-typography-overline-font-weight",Mt.fontWeight,"normal"),Oe=dt.extend("--ft-typography-overline-letter-spacing",Mt.letterSpacing,"1.5px"),Se=dt.extend("--ft-typography-overline-line-height",Mt.lineHeight,"16px"),Ce=dt.extend("--ft-typography-overline-text-transform",Mt.textTransform,"uppercase"),Ee={fontFamily:dt.extend("--ft-typography-button-font-family",Rt),fontSize:dt.extend("--ft-typography-button-font-size",Mt.fontSize,"14px"),fontWeight:dt.extend("--ft-typography-button-font-weight",Mt.fontWeight,"600"),letterSpacing:dt.extend("--ft-typography-button-letter-spacing",Mt.letterSpacing,"1.246px"),lineHeight:dt.extend("--ft-typography-button-line-height",Mt.lineHeight,"16px"),textTransform:dt.extend("--ft-typography-button-text-transform",Mt.textTransform,"uppercase")},Ne=v`
104
+ */var zt,Rt=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(zt||(zt={}));const Mt=ft.extend("--ft-typography-font-family",vt.titleFont),Bt=ft.extend("--ft-typography-font-family",vt.contentFont),Ft={fontFamily:Bt,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")},jt=ft.extend("--ft-typography-title-font-family",Mt),Ut=ft.extend("--ft-typography-title-font-size",Ft.fontSize,"20px"),Dt=ft.extend("--ft-typography-title-font-weight",Ft.fontWeight,"normal"),Lt=ft.extend("--ft-typography-title-letter-spacing",Ft.letterSpacing,"0.15px"),Tt=ft.extend("--ft-typography-title-line-height",Ft.lineHeight,"1.2"),At=ft.extend("--ft-typography-title-text-transform",Ft.textTransform,"inherit"),Pt=ft.extend("--ft-typography-title-dense-font-family",Mt),_t=ft.extend("--ft-typography-title-dense-font-size",Ft.fontSize,"14px"),It=ft.extend("--ft-typography-title-dense-font-weight",Ft.fontWeight,"normal"),Ht=ft.extend("--ft-typography-title-dense-letter-spacing",Ft.letterSpacing,"0.105px"),Wt=ft.extend("--ft-typography-title-dense-line-height",Ft.lineHeight,"1.7"),Kt=ft.extend("--ft-typography-title-dense-text-transform",Ft.textTransform,"inherit"),Vt=ft.extend("--ft-typography-subtitle1-font-family",Bt),Zt=ft.extend("--ft-typography-subtitle1-font-size",Ft.fontSize,"16px"),Jt=ft.extend("--ft-typography-subtitle1-font-weight",Ft.fontWeight,"600"),qt=ft.extend("--ft-typography-subtitle1-letter-spacing",Ft.letterSpacing,"0.144px"),Xt=ft.extend("--ft-typography-subtitle1-line-height",Ft.lineHeight,"1.5"),Yt=ft.extend("--ft-typography-subtitle1-text-transform",Ft.textTransform,"inherit"),Gt=ft.extend("--ft-typography-subtitle2-font-family",Bt),Qt=ft.extend("--ft-typography-subtitle2-font-size",Ft.fontSize,"14px"),te=ft.extend("--ft-typography-subtitle2-font-weight",Ft.fontWeight,"normal"),ee=ft.extend("--ft-typography-subtitle2-letter-spacing",Ft.letterSpacing,"0.098px"),ie=ft.extend("--ft-typography-subtitle2-line-height",Ft.lineHeight,"1.7"),oe=ft.extend("--ft-typography-subtitle2-text-transform",Ft.textTransform,"inherit"),se=ft.extend("--ft-typography-body1-font-family",Bt),ne=ft.extend("--ft-typography-body1-font-size",Ft.fontSize,"16px"),re=ft.extend("--ft-typography-body1-font-weight",Ft.fontWeight,"normal"),le=ft.extend("--ft-typography-body1-letter-spacing",Ft.letterSpacing,"0.496px"),ae=ft.extend("--ft-typography-body1-line-height",Ft.lineHeight,"1.5"),he=ft.extend("--ft-typography-body1-text-transform",Ft.textTransform,"inherit"),ce={fontFamily:ft.extend("--ft-typography-body2-font-family",Bt),fontSize:ft.extend("--ft-typography-body2-font-size",Ft.fontSize,"14px"),fontWeight:ft.extend("--ft-typography-body2-font-weight",Ft.fontWeight,"normal"),letterSpacing:ft.extend("--ft-typography-body2-letter-spacing",Ft.letterSpacing,"0.252px"),lineHeight:ft.extend("--ft-typography-body2-line-height",Ft.lineHeight,"1.4"),textTransform:ft.extend("--ft-typography-body2-text-transform",Ft.textTransform,"inherit")},pe=ft.extend("--ft-typography-caption-font-family",Bt),de=ft.extend("--ft-typography-caption-font-size",Ft.fontSize,"12px"),fe=ft.extend("--ft-typography-caption-font-weight",Ft.fontWeight,"normal"),ue=ft.extend("--ft-typography-caption-letter-spacing",Ft.letterSpacing,"0.396px"),ve=ft.extend("--ft-typography-caption-line-height",Ft.lineHeight,"1.33"),be=ft.extend("--ft-typography-caption-text-transform",Ft.textTransform,"inherit"),xe=ft.extend("--ft-typography-breadcrumb-font-family",Bt),ye=ft.extend("--ft-typography-breadcrumb-font-size",Ft.fontSize,"10px"),ge=ft.extend("--ft-typography-breadcrumb-font-weight",Ft.fontWeight,"normal"),me=ft.extend("--ft-typography-breadcrumb-letter-spacing",Ft.letterSpacing,"0.33px"),$e=ft.extend("--ft-typography-breadcrumb-line-height",Ft.lineHeight,"1.6"),we=ft.extend("--ft-typography-breadcrumb-text-transform",Ft.textTransform,"inherit"),ke=ft.extend("--ft-typography-overline-font-family",Bt),Oe=ft.extend("--ft-typography-overline-font-size",Ft.fontSize,"10px"),Se=ft.extend("--ft-typography-overline-font-weight",Ft.fontWeight,"normal"),Ce=ft.extend("--ft-typography-overline-letter-spacing",Ft.letterSpacing,"1.5px"),Ee=ft.extend("--ft-typography-overline-line-height",Ft.lineHeight,"1.6"),Ne=ft.extend("--ft-typography-overline-text-transform",Ft.textTransform,"uppercase"),ze={fontFamily:ft.extend("--ft-typography-button-font-family",Bt),fontSize:ft.extend("--ft-typography-button-font-size",Ft.fontSize,"14px"),fontWeight:ft.extend("--ft-typography-button-font-weight",Ft.fontWeight,"600"),letterSpacing:ft.extend("--ft-typography-button-letter-spacing",Ft.letterSpacing,"1.246px"),lineHeight:ft.extend("--ft-typography-button-line-height",Ft.lineHeight,"1.15"),textTransform:ft.extend("--ft-typography-button-text-transform",Ft.textTransform,"uppercase")},Re=b`
106
105
  .ft-typography--title {
107
- font-family: ${Bt};
108
- font-size: ${Ft};
109
- font-weight: ${jt};
110
- letter-spacing: ${Ut};
111
- line-height: ${Dt};
112
- text-transform: ${Lt};
106
+ font-family: ${jt};
107
+ font-size: ${Ut};
108
+ font-weight: ${Dt};
109
+ letter-spacing: ${Lt};
110
+ line-height: ${Tt};
111
+ text-transform: ${At};
113
112
  }
114
- `,ze=v`
113
+ `,Me=b`
115
114
  .ft-typography--title-dense {
116
- font-family: ${Tt};
117
- font-size: ${At};
118
- font-weight: ${_t};
119
- letter-spacing: ${Pt};
120
- line-height: ${It};
121
- text-transform: ${Ht};
115
+ font-family: ${Pt};
116
+ font-size: ${_t};
117
+ font-weight: ${It};
118
+ letter-spacing: ${Ht};
119
+ line-height: ${Wt};
120
+ text-transform: ${Kt};
122
121
  }
123
- `,Re=v`
122
+ `,Be=b`
124
123
  .ft-typography--subtitle1 {
125
- font-family: ${Wt};
126
- font-size: ${Kt};
127
- font-weight: ${Vt};
128
- letter-spacing: ${Zt};
129
- line-height: ${Jt};
130
- text-transform: ${qt};
124
+ font-family: ${Vt};
125
+ font-size: ${Zt};
126
+ font-weight: ${Jt};
127
+ letter-spacing: ${qt};
128
+ line-height: ${Xt};
129
+ text-transform: ${Yt};
131
130
  }
132
- `,Me=v`
131
+ `,Fe=b`
133
132
  .ft-typography--subtitle2 {
134
- font-family: ${Xt};
135
- font-size: ${Yt};
136
- font-weight: ${Gt};
137
- letter-spacing: ${Qt};
138
- line-height: ${te};
139
- text-transform: ${ee};
133
+ font-family: ${Gt};
134
+ font-size: ${Qt};
135
+ font-weight: ${te};
136
+ letter-spacing: ${ee};
137
+ line-height: ${ie};
138
+ text-transform: ${oe};
140
139
  }
141
140
 
142
- `,Be=v`
141
+ `,je=b`
143
142
  .ft-typography--body1 {
144
- font-family: ${ie};
145
- font-size: ${oe};
146
- font-weight: ${se};
147
- letter-spacing: ${ne};
148
- line-height: ${re};
149
- text-transform: ${le};
143
+ font-family: ${se};
144
+ font-size: ${ne};
145
+ font-weight: ${re};
146
+ letter-spacing: ${le};
147
+ line-height: ${ae};
148
+ text-transform: ${he};
150
149
  }
151
- `,Fe=v`
150
+ `,Ue=b`
152
151
  .ft-typography--body2 {
153
- font-family: ${ae.fontFamily};
154
- font-size: ${ae.fontSize};
155
- font-weight: ${ae.fontWeight};
156
- letter-spacing: ${ae.letterSpacing};
157
- line-height: ${ae.lineHeight};
158
- text-transform: ${ae.textTransform};
152
+ font-family: ${ce.fontFamily};
153
+ font-size: ${ce.fontSize};
154
+ font-weight: ${ce.fontWeight};
155
+ letter-spacing: ${ce.letterSpacing};
156
+ line-height: ${ce.lineHeight};
157
+ text-transform: ${ce.textTransform};
159
158
  }
160
- `,je=v`
159
+ `,De=b`
161
160
  .ft-typography--caption {
162
- font-family: ${he};
163
- font-size: ${ce};
164
- font-weight: ${pe};
165
- letter-spacing: ${de};
166
- line-height: ${fe};
167
- text-transform: ${ue};
161
+ font-family: ${pe};
162
+ font-size: ${de};
163
+ font-weight: ${fe};
164
+ letter-spacing: ${ue};
165
+ line-height: ${ve};
166
+ text-transform: ${be};
168
167
  }
169
- `,Ue=v`
168
+ `,Le=b`
170
169
  .ft-typography--breadcrumb {
171
- font-family: ${ve};
172
- font-size: ${be};
173
- font-weight: ${xe};
174
- letter-spacing: ${ye};
175
- line-height: ${ge};
176
- text-transform: ${me};
170
+ font-family: ${xe};
171
+ font-size: ${ye};
172
+ font-weight: ${ge};
173
+ letter-spacing: ${me};
174
+ line-height: ${$e};
175
+ text-transform: ${we};
177
176
  }
178
- `,De=v`
177
+ `,Te=b`
179
178
  .ft-typography--overline {
180
- font-family: ${$e};
181
- font-size: ${we};
182
- font-weight: ${ke};
183
- letter-spacing: ${Oe};
184
- line-height: ${Se};
185
- text-transform: ${Ce};
179
+ font-family: ${ke};
180
+ font-size: ${Oe};
181
+ font-weight: ${Se};
182
+ letter-spacing: ${Ce};
183
+ line-height: ${Ee};
184
+ text-transform: ${Ne};
186
185
  }
187
- `,Le=v`
186
+ `,Ae=b`
188
187
  .ft-typography--button {
189
- font-family: ${Ee.fontFamily};
190
- font-size: ${Ee.fontSize};
191
- font-weight: ${Ee.fontWeight};
192
- letter-spacing: ${Ee.letterSpacing};
193
- line-height: ${Ee.lineHeight};
194
- text-transform: ${Ee.textTransform};
188
+ font-family: ${ze.fontFamily};
189
+ font-size: ${ze.fontSize};
190
+ font-weight: ${ze.fontWeight};
191
+ letter-spacing: ${ze.letterSpacing};
192
+ line-height: ${ze.lineHeight};
193
+ text-transform: ${ze.textTransform};
195
194
  }
196
- `;class Te extends vt{constructor(){super(...arguments),this.variant=Et.body1}render(){return this.element?Ct`
197
- <${Ot(this.element)}
195
+ `;class Pe extends xt{constructor(){super(...arguments),this.variant=zt.body1}render(){return this.element?Nt`
196
+ <${Ct(this.element)}
198
197
  class="ft-typography ft-typography--${this.variant}">
199
198
  <slot></slot>
200
- </${Ot(this.element)}>
201
- `:Ct`
199
+ </${Ct(this.element)}>
200
+ `:Nt`
202
201
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
203
- `}}function Ae(t,e){return t.flatMap((t=>[t,...Ae(e(t),e)]))}
202
+ `}}function _e(t,e){return t.flatMap((t=>[t,..._e(e(t),e)]))}
204
203
  /**
205
204
  * @license
206
205
  * Copyright 2017 Google LLC
207
206
  * SPDX-License-Identifier: BSD-3-Clause
208
- */Te.styles=[Ne,ze,Re,Me,Be,Fe,je,Ue,De,Le,v`
207
+ */Pe.styles=[Re,Me,Be,Fe,je,Ue,De,Le,Te,Ae,b`
209
208
  .ft-typography {
210
209
  vertical-align: inherit;
211
210
  }
212
- `],Nt([i()],Te.prototype,"element",void 0),Nt([i()],Te.prototype,"variant",void 0),h("ft-typography")(Te);const _e=1,Pe=2,Ie=t=>(...e)=>({_$litDirective$:t,values:e});class He{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
211
+ `],Rt([i()],Pe.prototype,"element",void 0),Rt([i()],Pe.prototype,"variant",void 0),h("ft-typography")(Pe);const Ie=1,He=2,We=t=>(...e)=>({_$litDirective$:t,values:e});class Ke{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
213
212
  /**
214
213
  * @license
215
214
  * Copyright 2020 Google LLC
216
215
  * SPDX-License-Identifier: BSD-3-Clause
217
- */const{H:We}=rt,Ke=()=>document.createComment(""),Ve=(t,e,i)=>{var o;const s=t._$AA.parentNode,n=void 0===e?t._$AB:e._$AA;if(void 0===i){const e=s.insertBefore(Ke(),n),o=s.insertBefore(Ke(),n);i=new We(e,o,t,t.options)}else{const e=i._$AB.nextSibling,r=i._$AM,l=r!==t;if(l){let e;null===(o=i._$AQ)||void 0===o||o.call(i,t),i._$AM=t,void 0!==i._$AP&&(e=t._$AU)!==r._$AU&&i._$AP(e)}if(e!==n||l){let t=i._$AA;for(;t!==e;){const e=t.nextSibling;s.insertBefore(t,n),t=e}}}return i},Ze=(t,e,i=t)=>(t._$AI(e,i),t),Je={},qe=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}},Xe=(t,e,i)=>{const o=new Map;for(let s=e;s<=i;s++)o.set(t[s],s);return o},Ye=Ie(class extends He{constructor(t){if(super(t),t.type!==Pe)throw Error("repeat() can only be used in text expressions")}dt(t,e,i){let o;void 0===i?i=e:void 0!==e&&(o=e);const s=[],n=[];let r=0;for(const e of t)s[r]=o?o(e,r):r,n[r]=i(e,r),r++;return{values:n,keys:s}}render(t,e,i){return this.dt(t,e,i).values}update(t,[e,i,o]){var s;const n=(t=>t._$AH)(t),{values:r,keys:l}=this.dt(e,i,o);if(!Array.isArray(n))return this.ut=l,r;const a=null!==(s=this.ut)&&void 0!==s?s:this.ut=[],h=[];let c,p,d=0,f=n.length-1,u=0,v=r.length-1;for(;d<=f&&u<=v;)if(null===n[d])d++;else if(null===n[f])f--;else if(a[d]===l[u])h[u]=Ze(n[d],r[u]),d++,u++;else if(a[f]===l[v])h[v]=Ze(n[f],r[v]),f--,v--;else if(a[d]===l[v])h[v]=Ze(n[d],r[v]),Ve(t,h[v+1],n[d]),d++,v--;else if(a[f]===l[u])h[u]=Ze(n[f],r[u]),Ve(t,n[d],n[f]),f--,u++;else if(void 0===c&&(c=Xe(l,u,v),p=Xe(a,d,f)),c.has(a[d]))if(c.has(a[f])){const e=p.get(l[u]),i=void 0!==e?n[e]:null;if(null===i){const e=Ve(t,n[d]);Ze(e,r[u]),h[u]=e}else h[u]=Ze(i,r[u]),Ve(t,n[d],i),n[e]=null;u++}else qe(n[f]),f--;else qe(n[d]),d++;for(;u<=v;){const e=Ve(t,h[v+1]);Ze(e,r[u]),h[u++]=e}for(;d<=f;){const t=n[d++];null!==t&&qe(t)}return this.ut=l,((t,e=Je)=>{t._$AH=e})(t,h),K}}),Ge=Ie(class extends He{constructor(t){var e;if(super(t),t.type!==_e||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,o;if(void 0===this.et){this.et=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.et.add(t);return this.render(e)}const s=t.element.classList;this.et.forEach((t=>{t in e||(s.remove(t),this.et.delete(t))}));for(const t in e){const i=!!e[t];i===this.et.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(s.add(t),this.et.add(t)):(s.remove(t),this.et.delete(t)))}return K}});
216
+ */const{H:Ve}=lt,Ze=()=>document.createComment(""),Je=(t,e,i)=>{var o;const s=t._$AA.parentNode,n=void 0===e?t._$AB:e._$AA;if(void 0===i){const e=s.insertBefore(Ze(),n),o=s.insertBefore(Ze(),n);i=new Ve(e,o,t,t.options)}else{const e=i._$AB.nextSibling,r=i._$AM,l=r!==t;if(l){let e;null===(o=i._$AQ)||void 0===o||o.call(i,t),i._$AM=t,void 0!==i._$AP&&(e=t._$AU)!==r._$AU&&i._$AP(e)}if(e!==n||l){let t=i._$AA;for(;t!==e;){const e=t.nextSibling;s.insertBefore(t,n),t=e}}}return i},qe=(t,e,i=t)=>(t._$AI(e,i),t),Xe={},Ye=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}},Ge=(t,e,i)=>{const o=new Map;for(let s=e;s<=i;s++)o.set(t[s],s);return o},Qe=We(class extends Ke{constructor(t){if(super(t),t.type!==He)throw Error("repeat() can only be used in text expressions")}dt(t,e,i){let o;void 0===i?i=e:void 0!==e&&(o=e);const s=[],n=[];let r=0;for(const e of t)s[r]=o?o(e,r):r,n[r]=i(e,r),r++;return{values:n,keys:s}}render(t,e,i){return this.dt(t,e,i).values}update(t,[e,i,o]){var s;const n=(t=>t._$AH)(t),{values:r,keys:l}=this.dt(e,i,o);if(!Array.isArray(n))return this.ut=l,r;const a=null!==(s=this.ut)&&void 0!==s?s:this.ut=[],h=[];let c,p,d=0,f=n.length-1,u=0,v=r.length-1;for(;d<=f&&u<=v;)if(null===n[d])d++;else if(null===n[f])f--;else if(a[d]===l[u])h[u]=qe(n[d],r[u]),d++,u++;else if(a[f]===l[v])h[v]=qe(n[f],r[v]),f--,v--;else if(a[d]===l[v])h[v]=qe(n[d],r[v]),Je(t,h[v+1],n[d]),d++,v--;else if(a[f]===l[u])h[u]=qe(n[f],r[u]),Je(t,n[d],n[f]),f--,u++;else if(void 0===c&&(c=Ge(l,u,v),p=Ge(a,d,f)),c.has(a[d]))if(c.has(a[f])){const e=p.get(l[u]),i=void 0!==e?n[e]:null;if(null===i){const e=Je(t,n[d]);qe(e,r[u]),h[u]=e}else h[u]=qe(i,r[u]),Je(t,n[d],i),n[e]=null;u++}else Ye(n[f]),f--;else Ye(n[d]),d++;for(;u<=v;){const e=Je(t,h[v+1]);qe(e,r[u]),h[u++]=e}for(;d<=f;){const t=n[d++];null!==t&&Ye(t)}return this.ut=l,((t,e=Xe)=>{t._$AH=e})(t,h),V}}),ti=We(class extends Ke{constructor(t){var e;if(super(t),t.type!==Ie||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,o;if(void 0===this.et){this.et=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.et.add(t);return this.render(e)}const s=t.element.classList;this.et.forEach((t=>{t in e||(s.remove(t),this.et.delete(t))}));for(const t in e){const i=!!e[t];i===this.et.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(s.add(t),this.et.add(t)):(s.remove(t),this.et.delete(t)))}return V}});
218
217
  /**
219
218
  * @license
220
219
  * Copyright 2017 Google LLC
221
220
  * SPDX-License-Identifier: BSD-3-Clause
222
- */var Qe=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const ti=dt.extend("--ft-ripple-color",ut.colorContent),ei={color:ti,backgroundColor:dt.extend("--ft-ripple-background-color",ti),opacityContentOnSurfacePressed:dt.external(ut.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:dt.external(ut.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:dt.external(ut.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:dt.external(ut.opacityContentOnSurfaceSelected,"Design system")},ii=dt.extend("--ft-ripple-color",ut.colorPrimary),oi=ii,si=dt.extend("--ft-ripple-background-color",ii),ni=dt.extend("--ft-ripple-color",ut.colorSecondary),ri=ni,li=dt.extend("--ft-ripple-background-color",ni);class ai extends vt{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new t(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:s}=this.getCoordinates(t),n=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-n.x:n.width/2),this.originY=Math.round(null!=s?s-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return W`
221
+ */var ei=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const ii=ft.extend("--ft-ripple-color",vt.colorContent),oi={color:ii,backgroundColor:ft.extend("--ft-ripple-background-color",ii),opacityContentOnSurfacePressed:ft.external(vt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ft.external(vt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ft.external(vt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ft.external(vt.opacityContentOnSurfaceSelected,"Design system")},si=ft.extend("--ft-ripple-color",vt.colorPrimary),ni=si,ri=ft.extend("--ft-ripple-background-color",si),li=ft.extend("--ft-ripple-color",vt.colorSecondary),ai=li,hi=ft.extend("--ft-ripple-background-color",li);class ci extends xt{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new t(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:s}=this.getCoordinates(t),n=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-n.x:n.width/2),this.originY=Math.round(null!=s?s-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return K`
223
222
  <style>
224
223
  .ft-ripple .ft-ripple--effect,
225
224
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -232,11 +231,11 @@ var at,ht;null==lt||lt(X,Q),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
232
231
  top: ${this.originY}px;
233
232
  }
234
233
  </style>
235
- <div class="${Ge(t)}">
234
+ <div class="${ti(t)}">
236
235
  <div class="ft-ripple--background"></div>
237
236
  <div class="ft-ripple--effect"></div>
238
237
  </div>
239
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),s=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",s),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",s),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let o,s;return null!=e.x?({x:o,y:s}=e):null!=i.touches&&(o=i.touches[0].clientX,s=i.touches[0].clientY),{x:o,y:s}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}ai.elementDefinitions={},ai.styles=v`
238
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),s=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",s),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",s),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let o,s;return null!=e.x?({x:o,y:s}=e):null!=i.touches&&(o=i.touches[0].clientX,s=i.touches[0].clientY),{x:o,y:s}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}ci.elementDefinitions={},ci.styles=b`
240
239
  :host {
241
240
  display: contents;
242
241
  }
@@ -258,27 +257,27 @@ var at,ht;null==lt||lt(X,Q),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
258
257
  }
259
258
 
260
259
  .ft-ripple .ft-ripple--background {
261
- background-color: ${ei.backgroundColor};
260
+ background-color: ${oi.backgroundColor};
262
261
  }
263
262
 
264
263
  .ft-ripple .ft-ripple--effect {
265
- background-color: ${ei.color};
264
+ background-color: ${oi.color};
266
265
  }
267
266
 
268
267
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
269
- background-color: ${li};
268
+ background-color: ${hi};
270
269
  }
271
270
 
272
271
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
273
- background-color: ${ri};
272
+ background-color: ${ai};
274
273
  }
275
274
 
276
275
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
277
- background-color: ${si};
276
+ background-color: ${ri};
278
277
  }
279
278
 
280
279
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
281
- background-color: ${oi};
280
+ background-color: ${ni};
282
281
  }
283
282
 
284
283
  .ft-ripple .ft-ripple--background {
@@ -310,22 +309,22 @@ var at,ht;null==lt||lt(X,Q),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
310
309
  }
311
310
 
312
311
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
313
- opacity: ${ei.opacityContentOnSurfaceHover};
312
+ opacity: ${oi.opacityContentOnSurfaceHover};
314
313
  }
315
314
 
316
315
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
317
- opacity: ${ei.opacityContentOnSurfaceSelected};
316
+ opacity: ${oi.opacityContentOnSurfaceSelected};
318
317
  }
319
318
 
320
319
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
321
- opacity: ${ei.opacityContentOnSurfaceFocused};
320
+ opacity: ${oi.opacityContentOnSurfaceFocused};
322
321
  }
323
322
 
324
323
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
325
- opacity: ${ei.opacityContentOnSurfacePressed};
324
+ opacity: ${oi.opacityContentOnSurfacePressed};
326
325
  transform: translate(-50%, -50%) scale(1);
327
326
  }
328
- `,Qe([i({type:Boolean})],ai.prototype,"primary",void 0),Qe([i({type:Boolean})],ai.prototype,"secondary",void 0),Qe([i({type:Boolean})],ai.prototype,"unbounded",void 0),Qe([i({type:Boolean})],ai.prototype,"activated",void 0),Qe([i({type:Boolean})],ai.prototype,"selected",void 0),Qe([i({type:Boolean})],ai.prototype,"disabled",void 0),Qe([o()],ai.prototype,"hovered",void 0),Qe([o()],ai.prototype,"focused",void 0),Qe([o()],ai.prototype,"pressed",void 0),Qe([o()],ai.prototype,"rippling",void 0),Qe([o()],ai.prototype,"rippleSize",void 0),Qe([o()],ai.prototype,"originX",void 0),Qe([o()],ai.prototype,"originY",void 0),Qe([n(".ft-ripple")],ai.prototype,"ripple",void 0),Qe([n(".ft-ripple--effect")],ai.prototype,"rippleEffect",void 0),h("ft-ripple")(ai);var hi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const ci=dt.create("--ft-tooltip-distance","SIZE","4px"),pi=dt.create("--ft-tooltip-color","COLOR","#FFFFFF"),di=dt.create("--ft-tooltip-background-color","COLOR","#666666"),fi=dt.create("--ft-tooltip-z-index","NUMBER","1"),ui=dt.external(ut.borderRadiusS,"Design system");class vi extends vt{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 W`
327
+ `,ei([i({type:Boolean})],ci.prototype,"primary",void 0),ei([i({type:Boolean})],ci.prototype,"secondary",void 0),ei([i({type:Boolean})],ci.prototype,"unbounded",void 0),ei([i({type:Boolean})],ci.prototype,"activated",void 0),ei([i({type:Boolean})],ci.prototype,"selected",void 0),ei([i({type:Boolean})],ci.prototype,"disabled",void 0),ei([o()],ci.prototype,"hovered",void 0),ei([o()],ci.prototype,"focused",void 0),ei([o()],ci.prototype,"pressed",void 0),ei([o()],ci.prototype,"rippling",void 0),ei([o()],ci.prototype,"rippleSize",void 0),ei([o()],ci.prototype,"originX",void 0),ei([o()],ci.prototype,"originY",void 0),ei([n(".ft-ripple")],ci.prototype,"ripple",void 0),ei([n(".ft-ripple--effect")],ci.prototype,"rippleEffect",void 0),h("ft-ripple")(ci);var pi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const di=ft.create("--ft-tooltip-distance","SIZE","4px"),fi=ft.create("--ft-tooltip-color","COLOR","#FFFFFF"),ui=ft.create("--ft-tooltip-background-color","COLOR","#666666"),vi=ft.create("--ft-tooltip-z-index","NUMBER","1"),bi=ft.external(vt.borderRadiusS,"Design system");class xi extends xt{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 K`
329
328
  <div part="container"
330
329
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
331
330
  @mouseenter=${this.onHover}
@@ -340,7 +339,7 @@ var at,ht;null==lt||lt(X,Q),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
340
339
  </div>
341
340
  <slot></slot>
342
341
  </div>
343
- `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){t.has("visible")&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.position){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=t.getBoundingClientRect(),i=(e.height-this.tooltip.clientHeight)/2,o=(e.width-this.tooltip.clientWidth)/2,s=this.tooltip.style;switch(this.position){case"top":s.top=-this.tooltip.clientHeight+"px",s.left=o+"px";break;case"bottom":s.top=e.height+"px",s.left=o+"px";break;case"left":s.top=i+"px",s.left=-this.tooltip.clientWidth+"px";break;case"right":s.top=i+"px",s.left=e.width+"px"}s.maxWidth=Math.max(e.width,150)+"px"}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}vi.elementDefinitions={"ft-typography":Te},vi.styles=v`
342
+ `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){t.has("visible")&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.position){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=t.getBoundingClientRect(),i=(e.height-this.tooltip.clientHeight)/2,o=(e.width-this.tooltip.clientWidth)/2,s=this.tooltip.style;switch(this.position){case"top":s.top=-this.tooltip.clientHeight+"px",s.left=o+"px";break;case"bottom":s.top=e.height+"px",s.left=o+"px";break;case"left":s.top=i+"px",s.left=-this.tooltip.clientWidth+"px";break;case"right":s.top=i+"px",s.left=e.width+"px"}s.maxWidth=Math.max(e.width,150)+"px"}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}xi.elementDefinitions={"ft-typography":Pe},xi.styles=b`
344
343
  .ft-tooltip--container {
345
344
  display: block;
346
345
  position: relative;
@@ -358,21 +357,21 @@ var at,ht;null==lt||lt(X,Q),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
358
357
  width: max-content;
359
358
  max-width: 150px;
360
359
  text-align: center;
361
- padding: ${ci};
362
- z-index: ${fi};
360
+ padding: ${di};
361
+ z-index: ${vi};
363
362
  }
364
363
 
365
364
  .ft-tooltip--content {
366
365
  padding: 4px 8px;
367
- border-radius: ${ui};
368
- background-color: ${di};
369
- color: ${pi};
366
+ border-radius: ${bi};
367
+ background-color: ${ui};
368
+ color: ${fi};
370
369
  top: -500px;
371
370
  left: -500px;
372
371
  position: relative;
373
372
  word-break: break-word;
374
373
  }
375
- `,hi([i()],vi.prototype,"text",void 0),hi([i({type:Boolean})],vi.prototype,"manual",void 0),hi([i({type:Boolean})],vi.prototype,"inline",void 0),hi([i({type:Number})],vi.prototype,"delay",void 0),hi([i()],vi.prototype,"position",void 0),hi([function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},i?a({slot:n,flatten:e,selector:i}):s({descriptor:t=>({get(){var t,e;const i="slot"+(n?`[name=${n}]`:":not([name])"),s=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==s?void 0:s.assignedNodes(o))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],vi.prototype,"slotNodes",void 0),hi([n(".ft-tooltip--container")],vi.prototype,"container",void 0),hi([n("slot")],vi.prototype,"target",void 0),hi([n(".ft-tooltip")],vi.prototype,"tooltip",void 0),hi([n(".ft-tooltip--content")],vi.prototype,"tooltipContent",void 0),hi([o()],vi.prototype,"visible",void 0),h("ft-tooltip")(vi);const bi={color:dt.extend("--ft-loader-color",ut.colorPrimary),size:dt.create("--ft-loader-size","SIZE","80px")};class xi extends vt{static get styles(){return v`
374
+ `,pi([i()],xi.prototype,"text",void 0),pi([i({type:Boolean})],xi.prototype,"manual",void 0),pi([i({type:Boolean})],xi.prototype,"inline",void 0),pi([i({type:Number})],xi.prototype,"delay",void 0),pi([i()],xi.prototype,"position",void 0),pi([function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},i?a({slot:n,flatten:e,selector:i}):s({descriptor:t=>({get(){var t,e;const i="slot"+(n?`[name=${n}]`:":not([name])"),s=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==s?void 0:s.assignedNodes(o))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],xi.prototype,"slotNodes",void 0),pi([n(".ft-tooltip--container")],xi.prototype,"container",void 0),pi([n("slot")],xi.prototype,"target",void 0),pi([n(".ft-tooltip")],xi.prototype,"tooltip",void 0),pi([n(".ft-tooltip--content")],xi.prototype,"tooltipContent",void 0),pi([o()],xi.prototype,"visible",void 0),h("ft-tooltip")(xi);const yi={color:ft.extend("--ft-loader-color",vt.colorPrimary),size:ft.create("--ft-loader-size","SIZE","80px")};class gi extends xt{static get styles(){return b`
376
375
  :host {
377
376
  line-height: 0;
378
377
  }
@@ -381,8 +380,8 @@ var at,ht;null==lt||lt(X,Q),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
381
380
  display: inline-block;
382
381
  position: relative;
383
382
 
384
- width: ${bi.size};
385
- height: ${bi.size};
383
+ width: ${yi.size};
384
+ height: ${yi.size};
386
385
  }
387
386
 
388
387
  .ft-loader div {
@@ -391,7 +390,7 @@ var at,ht;null==lt||lt(X,Q),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
391
390
  width: 25%;
392
391
  height: 25%;
393
392
  border-radius: 50%;
394
- background: ${bi.color};
393
+ background: ${yi.color};
395
394
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
396
395
  }
397
396
 
@@ -438,37 +437,39 @@ var at,ht;null==lt||lt(X,Q),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
438
437
  transform: translate(0, 0);
439
438
  }
440
439
  100% {
441
- transform: translate(calc(0.35 * ${bi.size}), 0);
440
+ transform: translate(calc(0.35 * ${yi.size}), 0);
442
441
  }
443
442
  }
444
- `}render(){return W`
443
+ `}render(){return K`
445
444
  <div class="ft-loader">
446
445
  <div></div>
447
446
  <div></div>
448
447
  <div></div>
449
448
  <div></div>
450
449
  </div>
451
- `}}h("ft-loader")(xi);
450
+ `}}h("ft-loader")(gi);
452
451
  /**
453
452
  * @license
454
453
  * Copyright 2017 Google LLC
455
454
  * SPDX-License-Identifier: BSD-3-Clause
456
455
  */
457
- class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===V||null==t)return this.ft=void 0,this.it=t;if(t===K)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:[]}}}yi.directiveName="unsafeHTML",yi.resultType=1;const gi=Ie(yi);var mi,$i;!function(t){t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(mi||(mi={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}($i||($i={})),new Map([...["abw"].map((t=>[t,$i.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,$i.AUDIO])),...["avi"].map((t=>[t,$i.AVI])),...["chm","xhs"].map((t=>[t,$i.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,$i.CODE])),...["csv"].map((t=>[t,$i.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,$i.DITA])),...["epub"].map((t=>[t,$i.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,$i.EXCEL])),...["flac"].map((t=>[t,$i.FLAC])),...["gif"].map((t=>[t,$i.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,$i.GZIP])),...["html","htm","xhtml"].map((t=>[t,$i.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,$i.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,$i.JPEG])),...["json"].map((t=>[t,$i.JSON])),...["m4a","m4p"].map((t=>[t,$i.M4A])),...["mov","qt"].map((t=>[t,$i.MOV])),...["mp3"].map((t=>[t,$i.MP3])),...["mp4","m4v"].map((t=>[t,$i.MP4])),...["ogg","oga"].map((t=>[t,$i.OGG])),...["pdf","ps"].map((t=>[t,$i.PDF])),...["png"].map((t=>[t,$i.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,$i.POWERPOINT])),...["rar"].map((t=>[t,$i.RAR])),...["stp"].map((t=>[t,$i.STP])),...["txt","rtf","md","mdown"].map((t=>[t,$i.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,$i.VIDEO])),...["wav"].map((t=>[t,$i.WAV])),...["wma"].map((t=>[t,$i.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,$i.WORD])),...["xml","xsl","rdf"].map((t=>[t,$i.XML])),...["yaml","yml","x-yaml"].map((t=>[t,$i.YAML])),...["zip"].map((t=>[t,$i.ZIP]))]);var wi,ki=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(wi||(wi={}));const Oi={size:dt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:dt.extend("--ft-icon-fluid-topics-font-family",dt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:dt.extend("--ft-icon-file-format-font-family",dt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:dt.extend("--ft-icon-material-font-family",dt.create("--ft-icon-font-family","UNKNOWN","Material Icons"))};class Si extends vt{constructor(){super(...arguments),this.variant=wi.fluid_topics}render(){return W`
456
+ class mi extends Ke{constructor(t){if(super(t),this.it=Z,t.type!==He)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===V)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:[]}}}mi.directiveName="unsafeHTML",mi.resultType=1;const $i=We(mi);var wi,ki;!function(t){t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(wi||(wi={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(ki||(ki={})),new Map([...["abw"].map((t=>[t,ki.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,ki.AUDIO])),...["avi"].map((t=>[t,ki.AVI])),...["chm","xhs"].map((t=>[t,ki.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,ki.CODE])),...["csv"].map((t=>[t,ki.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ki.DITA])),...["epub"].map((t=>[t,ki.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ki.EXCEL])),...["flac"].map((t=>[t,ki.FLAC])),...["gif"].map((t=>[t,ki.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ki.GZIP])),...["html","htm","xhtml"].map((t=>[t,ki.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,ki.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ki.JPEG])),...["json"].map((t=>[t,ki.JSON])),...["m4a","m4p"].map((t=>[t,ki.M4A])),...["mov","qt"].map((t=>[t,ki.MOV])),...["mp3"].map((t=>[t,ki.MP3])),...["mp4","m4v"].map((t=>[t,ki.MP4])),...["ogg","oga"].map((t=>[t,ki.OGG])),...["pdf","ps"].map((t=>[t,ki.PDF])),...["png"].map((t=>[t,ki.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ki.POWERPOINT])),...["rar"].map((t=>[t,ki.RAR])),...["stp"].map((t=>[t,ki.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ki.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,ki.VIDEO])),...["wav"].map((t=>[t,ki.WAV])),...["wma"].map((t=>[t,ki.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ki.WORD])),...["xml","xsl","rdf"].map((t=>[t,ki.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ki.YAML])),...["zip"].map((t=>[t,ki.ZIP]))]);var Oi,Si=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Oi||(Oi={}));const Ci={size:ft.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:ft.extend("--ft-icon-fluid-topics-font-family",ft.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:ft.extend("--ft-icon-file-format-font-family",ft.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:ft.extend("--ft-icon-material-font-family",ft.create("--ft-icon-font-family","UNKNOWN","Material Icons"))};class Ei extends xt{constructor(){super(...arguments),this.variant=Oi.fluid_topics}render(){return K`
458
457
  <i class="ft-icon ${"ft-icon--"+this.variant}">
459
- ${gi(this.getIcon())}
458
+ ${$i(this.getIcon())}
460
459
  <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
461
460
  </i>
462
- `}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===wi.file_format?null!==(t=$i[i.toUpperCase()])&&void 0!==t?t:i:this.variant===wi.fluid_topics?null!==(e=mi[i.toUpperCase()])&&void 0!==e?e:i:V}}Si.elementDefinitions={},Si.styles=v`
463
- :host, i.ft-icon {
461
+ `}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===Oi.file_format?null!==(t=ki[i.toUpperCase()])&&void 0!==t?t:i:this.variant===Oi.fluid_topics?null!==(e=wi[i.toUpperCase()])&&void 0!==e?e:i:Z}}Ei.elementDefinitions={},Ei.styles=b`
462
+ :host {
464
463
  display: inline-block;
465
- width: ${Oi.size};
466
- height: ${Oi.size};
464
+ }
465
+ :host, i.ft-icon {
466
+ width: ${Ci.size};
467
+ height: ${Ci.size};
467
468
  text-align: center;
468
469
  }
469
470
 
470
471
  i.ft-icon {
471
- font-size: ${Oi.size};
472
+ font-size: ${Ci.size};
472
473
  line-height: 1;
473
474
  font-weight: normal;
474
475
  text-transform: none;
@@ -482,17 +483,17 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
482
483
  }
483
484
 
484
485
  .ft-icon--fluid-topics {
485
- font-family: ${Oi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
486
+ font-family: ${Ci.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
486
487
  }
487
488
 
488
489
  .ft-icon--file-format {
489
- font-family: ${Oi.fileFormatFontFamily}, ft-mime, sans-serif;
490
+ font-family: ${Ci.fileFormatFontFamily}, ft-mime, sans-serif;
490
491
  }
491
492
 
492
493
  .ft-icon--material {
493
- font-family: ${Oi.materialFontFamily}, "Material Icons", sans-serif;
494
+ font-family: ${Ci.materialFontFamily}, "Material Icons", sans-serif;
494
495
  }
495
- `,ki([i()],Si.prototype,"variant",void 0),ki([n("slot")],Si.prototype,"slottedContent",void 0),h("ft-icon")(Si);var Ci=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Ei=dt.extend("--ft-button-color",ut.colorPrimary),Ni={backgroundColor:dt.extend("--ft-button-background-color",ut.colorSurface),borderRadius:dt.extend("--ft-button-border-radius",ut.borderRadiusL),color:Ei,fontSize:dt.extend("--ft-button-font-size",Ee.fontSize),iconSize:dt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:dt.extend("--ft-button-ripple-color",Ei),opacityDisabled:dt.external(ut.colorOpacityDisabled,"Design system")},zi=dt.extend("--ft-button-primary-color",dt.extend("--ft-button-color",ut.colorOnPrimary)),Ri={backgroundColor:dt.extend("--ft-button-primary-background-color",dt.extend("--ft-button-background-color",ut.colorPrimary)),color:zi,rippleColor:dt.extend("--ft-button-primary-ripple-color",zi)},Mi=dt.extend("--ft-button-dense-border-radius",dt.extend("--ft-button-border-radius",ut.borderRadiusM));class Bi extends vt{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,v`
496
+ `,Si([i()],Ei.prototype,"variant",void 0),Si([n("slot")],Ei.prototype,"slottedContent",void 0),h("ft-icon")(Ei);var Ni=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const zi=ft.extend("--ft-button-color",vt.colorPrimary),Ri={backgroundColor:ft.extend("--ft-button-background-color",vt.colorSurface),borderRadius:ft.extend("--ft-button-border-radius",vt.borderRadiusL),color:zi,fontSize:ft.extend("--ft-button-font-size",ze.fontSize),iconSize:ft.create("--ft-button-icon-size","SIZE","24px"),rippleColor:ft.extend("--ft-button-ripple-color",zi),opacityDisabled:ft.external(vt.colorOpacityDisabled,"Design system")},Mi=ft.extend("--ft-button-primary-color",ft.extend("--ft-button-color",vt.colorOnPrimary)),Bi={backgroundColor:ft.extend("--ft-button-primary-background-color",ft.extend("--ft-button-background-color",vt.colorPrimary)),color:Mi,rippleColor:ft.extend("--ft-button-primary-ripple-color",Mi)},Fi=ft.extend("--ft-button-dense-border-radius",ft.extend("--ft-button-border-radius",vt.borderRadiusM));class ji extends xt{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[yt,b`
496
497
  :host {
497
498
  display: inline-block;
498
499
  max-width: 100%;
@@ -531,19 +532,20 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
531
532
  box-sizing: border-box;
532
533
  border: none;
533
534
  pointer-events: auto;
535
+ line-height: 0;
534
536
 
535
- --ft-button-internal-font-size: ${Ni.fontSize};
537
+ --ft-button-internal-font-size: ${Ri.fontSize};
536
538
  --ft-button-internal-line-height: calc(var(--ft-button-internal-font-size) + 2px);
537
- --ft-button-internal-color: ${Ni.color};
538
- ${ft(Oi.size,Ni.iconSize)};
539
+ --ft-button-internal-color: ${Ri.color};
540
+ ${ut(Ci.size,Ri.iconSize)};
539
541
  --ft-button-internal-vertical-padding: 6px;
540
542
  --ft-button-internal-horizontal-padding: 8px;
541
- ${ft(ei.color,Ni.rippleColor)};
542
- --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${Ni.iconSize});
543
+ ${ut(oi.color,Ri.rippleColor)};
544
+ --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${Ri.iconSize});
543
545
 
544
- border-radius: ${Ni.borderRadius};
546
+ border-radius: ${Ri.borderRadius};
545
547
  padding: var(--ft-button-internal-vertical-padding) var(--ft-button-internal-horizontal-padding);
546
- background-color: ${Ni.backgroundColor};
548
+ background-color: ${Ri.backgroundColor};
547
549
  color: var(--ft-button-internal-color);
548
550
  -webkit-mask-image: radial-gradient(white, black);
549
551
  }
@@ -555,7 +557,7 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
555
557
  .ft-button--dense {
556
558
  --ft-button-internal-vertical-padding: 2px;
557
559
  --ft-button-internal-horizontal-padding: 4px;
558
- border-radius: ${Mi};
560
+ border-radius: ${Fi};
559
561
  }
560
562
 
561
563
  .ft-button--round {
@@ -564,13 +566,13 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
564
566
 
565
567
  .ft-button[disabled] {
566
568
  filter: grayscale(1);
567
- opacity: ${Ni.opacityDisabled};
569
+ opacity: ${Ri.opacityDisabled};
568
570
  }
569
571
 
570
572
  .ft-button.ft-button--primary {
571
- background-color: ${Ri.backgroundColor};
572
- --ft-button-internal-color: ${Ri.color};
573
- ${ft(ei.color,Ri.rippleColor)};
573
+ background-color: ${Bi.backgroundColor};
574
+ --ft-button-internal-color: ${Bi.color};
575
+ ${ut(oi.color,Bi.rippleColor)};
574
576
  }
575
577
 
576
578
  .ft-button.ft-button--outlined {
@@ -589,8 +591,8 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
589
591
  text-overflow: ellipsis;
590
592
  display: block;
591
593
  margin: 0 var(--ft-button-internal-horizontal-padding);
592
- ${ft(Ee.fontSize,"var(--ft-button-internal-font-size)")};
593
- ${ft(Ee.lineHeight,"var(--ft-button-internal-content-height)")};
594
+ ${ut(ze.fontSize,"var(--ft-button-internal-font-size)")};
595
+ ${ut(ze.lineHeight,"var(--ft-button-internal-content-height)")};
594
596
  }
595
597
 
596
598
  .ft-button--safari-fix .ft-button--label {
@@ -623,12 +625,12 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
623
625
  }
624
626
 
625
627
  ft-loader {
626
- ${ft(bi.size,Ni.iconSize)};
627
- ${ft(bi.color,"var(--ft-button-internal-color)")};
628
+ ${ut(yi.size,Ri.iconSize)};
629
+ ${ut(yi.color,"var(--ft-button-internal-color)")};
628
630
  }
629
- `]}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":$t,"ft-no-text-select":!0};return this.addTooltip(W`
631
+ `]}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":kt,"ft-no-text-select":!0};return this.addTooltip(K`
630
632
  <button part="button"
631
- class="${Ge(t)}"
633
+ class="${ti(t)}"
632
634
  aria-label="${this.getLabel()}"
633
635
  ?disabled=${this.isDisabled()}>
634
636
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
@@ -640,16 +642,16 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
640
642
  </ft-typography>
641
643
  ${this.resolveIcon()}
642
644
  </button>
643
- `)}addTooltip(t){return this.hasTextContent()||0===this.getLabel().trim().length?t:W`
645
+ `)}addTooltip(t){return this.hasTextContent()||0===this.getLabel().trim().length?t:K`
644
646
  <ft-tooltip part="tooltip"
645
647
  text="${this.getLabel()}"
646
648
  position="${this.tooltipPosition}">
647
649
  ${t}
648
650
  </ft-tooltip>
649
- `}resolveIcon(){return this.loading?W`
650
- <ft-loader></ft-loader> `:this.icon?W`
651
- <ft-icon variant="material">${this.icon}</ft-icon> `:V}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":ai,"ft-tooltip":vi,"ft-typography":Te,"ft-icon":Si,"ft-loader":xi},Ci([i({type:Boolean})],Bi.prototype,"primary",void 0),Ci([i({type:Boolean})],Bi.prototype,"outlined",void 0),Ci([i({type:Boolean})],Bi.prototype,"disabled",void 0),Ci([i({type:Boolean})],Bi.prototype,"dense",void 0),Ci([i({type:Boolean})],Bi.prototype,"round",void 0),Ci([i({type:String})],Bi.prototype,"label",void 0),Ci([i({type:String})],Bi.prototype,"icon",void 0),Ci([i({type:Boolean})],Bi.prototype,"trailingIcon",void 0),Ci([i({type:Boolean})],Bi.prototype,"loading",void 0),Ci([i({type:String})],Bi.prototype,"tooltipPosition",void 0),Ci([n(".ft-button")],Bi.prototype,"button",void 0),Ci([n(".ft-button--label slot")],Bi.prototype,"slottedContent",void 0),h("ft-button")(Bi);var Fi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const ji=dt.extend("--ft-checkbox-text-color",ut.colorOnSurfaceHigh),Ui=dt.external(ut.colorPrimary,"Design system"),Di=dt.external(ut.colorOnPrimary,"Design system"),Li=dt.extend("--ft-checkbox-border-color",ut.colorOnSurfaceMedium),Ti=dt.external(ut.colorOnSurfaceDisabled,"Design system");class Ai extends vt{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return W`
652
- <label class="${Ge(t)}">
651
+ `}resolveIcon(){return this.loading?K`
652
+ <ft-loader></ft-loader> `:this.icon?K`
653
+ <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}}ji.elementDefinitions={"ft-ripple":ci,"ft-tooltip":xi,"ft-typography":Pe,"ft-icon":Ei,"ft-loader":gi},Ni([i({type:Boolean})],ji.prototype,"primary",void 0),Ni([i({type:Boolean})],ji.prototype,"outlined",void 0),Ni([i({type:Boolean})],ji.prototype,"disabled",void 0),Ni([i({type:Boolean})],ji.prototype,"dense",void 0),Ni([i({type:Boolean})],ji.prototype,"round",void 0),Ni([i({type:String})],ji.prototype,"label",void 0),Ni([i({type:String})],ji.prototype,"icon",void 0),Ni([i({type:Boolean})],ji.prototype,"trailingIcon",void 0),Ni([i({type:Boolean})],ji.prototype,"loading",void 0),Ni([i({type:String})],ji.prototype,"tooltipPosition",void 0),Ni([n(".ft-button")],ji.prototype,"button",void 0),Ni([n(".ft-button--label slot")],ji.prototype,"slottedContent",void 0),h("ft-button")(ji);var Ui=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Di=ft.extend("--ft-checkbox-text-color",vt.colorOnSurfaceHigh),Li=ft.external(vt.colorPrimary,"Design system"),Ti=ft.external(vt.colorOnPrimary,"Design system"),Ai=ft.extend("--ft-checkbox-border-color",vt.colorOnSurfaceMedium),Pi=ft.external(vt.colorOnSurfaceDisabled,"Design system");class _i extends xt{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return K`
654
+ <label class="${ti(t)}">
653
655
  <div class="ft-checkbox--box-container">
654
656
  <input type="checkbox"
655
657
  name=${this.name}
@@ -673,14 +675,14 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
673
675
  <slot></slot>
674
676
  </ft-typography>
675
677
  </label>
676
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}}Ai.elementDefinitions={"ft-ripple":ai,"ft-typography":Te},Ai.styles=v`
678
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}}_i.elementDefinitions={"ft-ripple":ci,"ft-typography":Pe},_i.styles=b`
677
679
  * {
678
680
  box-sizing: border-box;
679
681
  }
680
682
 
681
683
  .ft-checkbox {
682
684
  box-sizing: border-box;
683
- color: ${ji};
685
+ color: ${Di};
684
686
 
685
687
  display: inline-flex;
686
688
  align-items: center;
@@ -688,7 +690,7 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
688
690
  }
689
691
 
690
692
  .ft-checkbox--disabled {
691
- color: ${Ti};
693
+ color: ${Pi};
692
694
  }
693
695
 
694
696
  input {
@@ -712,26 +714,26 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
712
714
 
713
715
  .ft-checkbox--box {
714
716
  display: flex;
715
- border: 2px solid ${Li};
717
+ border: 2px solid ${Ai};
716
718
  border-radius: 2px;
717
719
 
718
720
  width: 18px;
719
721
  height: 18px;
720
722
 
721
- color: ${Di};
723
+ color: ${Ti};
722
724
  }
723
725
 
724
726
 
725
727
  .ft-checkbox--checked .ft-checkbox--box,
726
728
  .ft-checkbox--indeterminate .ft-checkbox--box {
727
- border-color: ${Ui};
728
- background-color: ${Ui};
729
+ border-color: ${Li};
730
+ background-color: ${Li};
729
731
  }
730
732
 
731
733
  .ft-checkbox--disabled .ft-checkbox--box {
732
- border-color: ${Ti};
734
+ border-color: ${Pi};
733
735
  background-color: transparent;
734
- color: ${Ti};
736
+ color: ${Pi};
735
737
  }
736
738
 
737
739
  .ft-checkbox--checkmark {
@@ -750,8 +752,8 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
750
752
  .ft-checkbox--indeterminate .ft-checkbox--checkmark {
751
753
  opacity: 1;
752
754
  }
753
- `,Fi([i()],Ai.prototype,"name",void 0),Fi([i({type:Boolean})],Ai.prototype,"checked",void 0),Fi([i({type:Boolean})],Ai.prototype,"indeterminate",void 0),Fi([i({type:Boolean})],Ai.prototype,"disabled",void 0),Fi([n(".ft-checkbox")],Ai.prototype,"container",void 0),Fi([n("ft-ripple")],Ai.prototype,"ripple",void 0),h("ft-checkbox")(Ai);var _i=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Pi=dt.extend("--ft-radio-text-color",ut.colorOnSurfaceHigh),Ii=dt.external(ut.colorPrimary,"Design system"),Hi=(dt.external(ut.colorOnPrimary,"Design system"),dt.extend("--ft-radio-border-color",ut.colorOnSurfaceMedium)),Wi=dt.external(ut.colorOnSurfaceDisabled,"Design system");class Ki extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class Vi extends vt{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1}render(){const t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return W`
754
- <div class="${Ge(t)}">
755
+ `,Ui([i()],_i.prototype,"name",void 0),Ui([i({type:Boolean})],_i.prototype,"checked",void 0),Ui([i({type:Boolean})],_i.prototype,"indeterminate",void 0),Ui([i({type:Boolean})],_i.prototype,"disabled",void 0),Ui([n(".ft-checkbox")],_i.prototype,"container",void 0),Ui([n("ft-ripple")],_i.prototype,"ripple",void 0),h("ft-checkbox")(_i);var Ii=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Hi=ft.extend("--ft-radio-text-color",vt.colorOnSurfaceHigh),Wi=ft.external(vt.colorPrimary,"Design system"),Ki=(ft.external(vt.colorOnPrimary,"Design system"),ft.extend("--ft-radio-border-color",vt.colorOnSurfaceMedium)),Vi=ft.external(vt.colorOnSurfaceDisabled,"Design system");class Zi extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class Ji extends xt{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1}render(){const t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return K`
756
+ <div class="${ti(t)}">
755
757
  <div class="ft-radio--box-container">
756
758
  <input id="radio-button"
757
759
  type="radio"
@@ -775,14 +777,14 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
775
777
  </ft-typography>
776
778
  </label>
777
779
  </div>
778
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Ki(this.value,this.checked))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Ki(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Vi.elementDefinitions={"ft-ripple":ai,"ft-typography":Te},Vi.styles=v`
780
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Zi(this.value,this.checked))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Zi(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Ji.elementDefinitions={"ft-ripple":ci,"ft-typography":Pe},Ji.styles=b`
779
781
  * {
780
782
  box-sizing: border-box;
781
783
  }
782
784
 
783
785
  .ft-radio {
784
786
  box-sizing: border-box;
785
- color: ${Pi};
787
+ color: ${Hi};
786
788
 
787
789
  display: inline-flex;
788
790
  align-items: center;
@@ -790,7 +792,7 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
790
792
  }
791
793
 
792
794
  .ft-radio--disabled {
793
- color: ${Wi};
795
+ color: ${Vi};
794
796
  }
795
797
 
796
798
  input {
@@ -813,7 +815,7 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
813
815
  }
814
816
 
815
817
  .ft-radio--box {
816
- border: 2px solid ${Hi};
818
+ border: 2px solid ${Ki};
817
819
  border-radius: 50%;
818
820
 
819
821
  display: flex;
@@ -826,7 +828,7 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
826
828
 
827
829
  .ft-radio--box:after {
828
830
  content: " ";
829
- background-color: ${Ii};
831
+ background-color: ${Wi};
830
832
 
831
833
  border-radius: 50%;
832
834
 
@@ -838,7 +840,7 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
838
840
  }
839
841
 
840
842
  .ft-radio--checked .ft-radio--box {
841
- border-color: ${Ii};
843
+ border-color: ${Wi};
842
844
  }
843
845
 
844
846
 
@@ -847,27 +849,28 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
847
849
  }
848
850
 
849
851
  .ft-radio--disabled .ft-radio--box {
850
- border-color: ${Wi};
852
+ border-color: ${Vi};
851
853
  background-color: transparent;
852
854
  }
853
855
 
854
856
  .ft-radio--disabled .ft-radio--box:after {
855
- background-color: ${Wi};
857
+ background-color: ${Vi};
856
858
  }
857
- `,_i([i()],Vi.prototype,"value",void 0),_i([i()],Vi.prototype,"name",void 0),_i([i({type:Boolean})],Vi.prototype,"checked",void 0),_i([i({type:Boolean})],Vi.prototype,"disabled",void 0),_i([n(".ft-radio")],Vi.prototype,"container",void 0),_i([n("ft-ripple")],Vi.prototype,"ripple",void 0),_i([n("input")],Vi.prototype,"input",void 0);var Zi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Ji extends vt{constructor(){super(...arguments),this.name=""}render(){return W`
859
+ `,Ii([i()],Ji.prototype,"value",void 0),Ii([i()],Ji.prototype,"name",void 0),Ii([i({type:Boolean})],Ji.prototype,"checked",void 0),Ii([i({type:Boolean})],Ji.prototype,"disabled",void 0),Ii([n(".ft-radio")],Ji.prototype,"container",void 0),Ii([n("ft-ripple")],Ji.prototype,"ripple",void 0),Ii([n("input")],Ji.prototype,"input",void 0);var qi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Xi extends xt{constructor(){super(...arguments),this.name=""}render(){return K`
858
860
  <slot @slotchange=${this.onSlotChange}
859
861
  @change=${this.onChange}
860
862
  @keydown=${this.onKeyDown}
861
863
  @focusin=${this.onFocusIn}
862
864
  ></slot>
863
- `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((e=>e.checked=t.detail.value===e.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value}))}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let e=this.findFtRadio(t),i=this.radioButtons.indexOf(e)-1;this.radioButtons[i<0?this.radioButtons.length-1:i].select();break}case"ArrowDown":case"ArrowRight":{let e=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[e>this.radioButtons.length-1?0:e].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}onFocusIn(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}Ji.elementDefinitions={},Ji.styles=v`
865
+ `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((e=>e.checked=t.detail.value===e.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value}))}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let e=this.findFtRadio(t),i=this.radioButtons.indexOf(e)-1;this.radioButtons[i<0?this.radioButtons.length-1:i].select();break}case"ArrowDown":case"ArrowRight":{let e=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[e>this.radioButtons.length-1?0:e].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}onFocusIn(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}Xi.elementDefinitions={},Xi.styles=b`
864
866
  :host {
865
867
  display: contents;
866
868
  }
867
- `,Zi([i()],Ji.prototype,"name",void 0),Zi([a()],Ji.prototype,"radioButtons",void 0),h("ft-radio")(Vi),h("ft-radio-group")(Ji);var qi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Xi={borderRadiusM:dt.external(ut.borderRadiusM,"Design system"),colorOutline:dt.external(ut.colorOutline,"Design system"),colorOnSurface:dt.external(ut.colorOnSurface,"Design system"),colorOnSurfaceMedium:dt.external(ut.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:dt.external(ut.colorOnSurfaceDisabled,"Design system"),colorPrimary:dt.external(ut.colorPrimary,"Design system"),colorOnPrimary:dt.external(ut.colorOnPrimary,"Design system"),fontFamily:dt.external(ae.fontFamily,"Body2 typography"),fontSize:dt.external(ae.fontSize,"Body2 typography"),fontWeight:dt.external(ae.fontWeight,"Body2 typography"),letterSpacing:dt.external(ae.letterSpacing,"Body2 typography"),lineHeight:dt.external(ae.lineHeight,"Body2 typography"),textTransform:dt.external(ae.textTransform,"Body2 typography")};class Yi extends vt{constructor(){super(...arguments),this.id="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return null!=t&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,e;return null!==(e=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==e?e:0}render(){let t=this.options;this.hideSelectedOptions&&(t=t.filter((t=>!t.selected))),this.filter&&(t=t.filter((t=>t.label.toLowerCase().includes(this.filter.toLowerCase()))));const e=t.slice(0,this.limit);return W`
869
+ `,qi([i()],Xi.prototype,"name",void 0),qi([a()],Xi.prototype,"radioButtons",void 0),h("ft-radio")(Ji),h("ft-radio-group")(Xi);var Yi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Gi={borderRadiusM:ft.external(vt.borderRadiusM,"Design system"),colorOutline:ft.external(vt.colorOutline,"Design system"),colorOnSurface:ft.external(vt.colorOnSurface,"Design system"),colorOnSurfaceMedium:ft.external(vt.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:ft.external(vt.colorOnSurfaceDisabled,"Design system"),colorPrimary:ft.external(vt.colorPrimary,"Design system"),colorOnPrimary:ft.external(vt.colorOnPrimary,"Design system"),fontFamily:ft.external(ce.fontFamily,"Body2 typography"),fontSize:ft.external(ce.fontSize,"Body2 typography"),fontWeight:ft.external(ce.fontWeight,"Body2 typography"),letterSpacing:ft.external(ce.letterSpacing,"Body2 typography"),lineHeight:ft.external(ce.lineHeight,"Body2 typography"),textTransform:ft.external(ce.textTransform,"Body2 typography")};class Qi extends xt{constructor(){super(...arguments),this.id="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return null!=t&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,e;return null!==(e=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==e?e:0}render(){let t=this.options;this.hideSelectedOptions&&(t=t.filter((t=>!t.selected))),this.filter&&(t=t.filter((t=>t.label.toLowerCase().includes(this.filter.toLowerCase()))));const e=t.slice(0,this.limit);return K`
868
870
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
869
- ${null==this.parent?null:W`
871
+ ${null==this.parent?null:K`
870
872
  <div tabindex="0"
873
+ part="controls go-back"
871
874
  class="ft-filter-level--go-back"
872
875
  ?disabled=${this.disabled}
873
876
  @keyup=${this.goBackOnKeyPress}
@@ -877,11 +880,17 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
877
880
  <ft-typography variant="body2">${this.parent.label}</ft-typography>
878
881
  </div>
879
882
  `}
880
- ${Ye(e,(t=>t.value),(t=>{var e;return W`
883
+ ${0===this.options.length&&this.noValuesLabel?K`
884
+ <ft-typography class="ft-filter-level--no-values" element="span" variant="body2">
885
+ ${this.noValuesLabel}
886
+ </ft-typography>
887
+ `:Z}
888
+ ${Qe(e,(t=>t.value),(t=>{var e;return K`
881
889
  <div class="ft-filter-level--option" part="options">
882
890
  ${this.multivalued?this.buildMultiValuedOption(t):this.buildMonoValuedOption(t)}
883
- ${this.preventNavigation||t.selected||0===(null!==(e=t.subOptions)&&void 0!==e?e:[]).length?V:W`
891
+ ${this.preventNavigation||t.selected||0===(null!==(e=t.subOptions)&&void 0!==e?e:[]).length?Z:K`
884
892
  <ft-button icon="chevron_right"
893
+ part="controls navigate-hierarchy"
885
894
  label="${t.label}"
886
895
  ?disabled=${this.disabled}
887
896
  tooltipPosition="left"
@@ -889,26 +898,29 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
889
898
  `}
890
899
  </div>
891
900
  `}))}
892
- ${e.length<t.length?W`
901
+ ${e.length<t.length?K`
893
902
  <ft-button
894
903
  class="ft-filter-level--display-more"
895
904
  icon="expand_more"
896
905
  dense trailingIcon
906
+ part="controls display-more"
897
907
  @click=${this.displayMore}>
898
908
  ${this.moreValuesButtonLabel}
899
909
  </ft-button>
900
- `:V}
910
+ `:Z}
901
911
  </div>
902
- `}goBackOnKeyPress(t){"Enter"!==t.key&&" "!==t.key||this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(t){t.stopPropagation(),t.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){this.displayedPages++}buildMultiValuedOption(t){var e;return W`
912
+ `}goBackOnKeyPress(t){"Enter"!==t.key&&" "!==t.key||this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(t){t.stopPropagation(),t.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){this.displayedPages++}buildMultiValuedOption(t){var e;return K`
903
913
  <ft-checkbox name="${this.id}"
914
+ part="multivalued-option"
904
915
  .checked=${t.selected}
905
916
  .disabled=${this.disabled}
906
- .indeterminate=${Ae(null!==(e=t.subOptions)&&void 0!==e?e:[],(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]})).some((t=>t.selected))}
917
+ .indeterminate=${_e(null!==(e=t.subOptions)&&void 0!==e?e:[],(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]})).some((t=>t.selected))}
907
918
  @change=${e=>this.optionsChanged(e,t)}>
908
919
  ${t.label}
909
920
  </ft-checkbox>
910
- `}buildMonoValuedOption(t){return W`
921
+ `}buildMonoValuedOption(t){return K`
911
922
  <ft-radio name="${this.id+Math.round(1e6*Math.random())}"
923
+ part="monovalued-option"
912
924
  .checked=${t.selected}
913
925
  ?disabled=${this.disabled}
914
926
  @click=${e=>this.optionsChanged(e,t)}
@@ -917,7 +929,7 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
917
929
 
918
930
  ${t.label}
919
931
  </ft-radio>
920
- `}onRadioKeyUp(t,e){e.selected&&" "===t.key&&this.optionsChanged(t,e)}optionsChanged(t,e){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:e}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}Yi.elementDefinitions={"ft-button":Bi,"ft-ripple":ai,"ft-typography":Te,"ft-checkbox":Ai,"ft-icon":Si,"ft-radio":Vi},Yi.styles=[v`
932
+ `}onRadioKeyUp(t,e){e.selected&&" "===t.key&&this.optionsChanged(t,e)}optionsChanged(t,e){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:e}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}Qi.elementDefinitions={"ft-button":ji,"ft-ripple":ci,"ft-typography":Pe,"ft-checkbox":_i,"ft-icon":Ei,"ft-radio":Ji},Qi.styles=[b`
921
933
  .ft-filter-level--container {
922
934
  display: flex;
923
935
  flex-direction: column;
@@ -931,14 +943,14 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
931
943
  flex-shrink: 0;
932
944
  text-decoration: none;
933
945
  position: relative;
934
- border-radius: ${Xi.borderRadiusM};
946
+ border-radius: ${Gi.borderRadiusM};
935
947
  overflow: hidden;
936
948
  display: flex;
937
949
  align-items: center;
938
950
  padding: 4px 4px;
939
951
  gap: 4px;
940
952
  cursor: pointer;
941
- color: ${Xi.colorOnSurface};
953
+ color: ${Gi.colorOnSurface};
942
954
  }
943
955
 
944
956
  .ft-filter-level--go-back:focus {
@@ -967,7 +979,7 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
967
979
  }
968
980
 
969
981
  ft-button {
970
- ${ft(Ni.color,Xi.colorOnSurface)};
982
+ ${ut(Ri.color,Gi.colorOnSurface)};
971
983
  }
972
984
 
973
985
  ft-radio, ft-checkbox {
@@ -978,7 +990,12 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
978
990
  margin-left: -10px;
979
991
  word-break: break-word;
980
992
  }
981
- `],qi([i({type:String})],Yi.prototype,"id",void 0),qi([i({type:Object})],Yi.prototype,"parent",void 0),qi([i({type:Array})],Yi.prototype,"options",void 0),qi([i({type:Boolean})],Yi.prototype,"multivalued",void 0),qi([i({type:Boolean})],Yi.prototype,"disabled",void 0),qi([i({type:Boolean})],Yi.prototype,"hideSelectedOptions",void 0),qi([i({type:Boolean})],Yi.prototype,"preventNavigation",void 0),qi([i({type:String})],Yi.prototype,"filter",void 0),qi([i({type:String})],Yi.prototype,"moreValuesButtonLabel",void 0),qi([i({type:Number})],Yi.prototype,"displayedValuesLimit",void 0),qi([n(".ft-filter-level--container")],Yi.prototype,"container",void 0),qi([o()],Yi.prototype,"displayedPages",void 0);var Gi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Qi={buttonsColor:dt.extend("--ft-snap-scroll-buttons-color",ut.colorPrimary),buttonsZIndex:dt.create("--ft-snap-scroll-buttons-z-index","COLOR","1"),gap:dt.create("--ft-snap-scroll-gap","SIZE","0"),colorSurface:dt.external(ut.colorSurface,"Design system")};class to extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class eo extends vt{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver((()=>this.scheduleUpdateScroll())),this.scrollDebouncer=new t(200),this.updateScrollDebouncer=new t(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let e=this.elements[t];if(e){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,i=this.contentSlot[this.scrollAttribute]+this.prevSize;(e[this.offsetAttribute]<i||e[this.offsetAttribute]+e[this.sizeAttribute]>t)&&this.scrollToElement(e)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){const t=Ge({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":$t}),e=this.controls&&this.withScroll;return W`
993
+
994
+ .ft-filter-level--no-values {
995
+ margin: 10px 0;
996
+ color: ${Gi.colorOnSurfaceMedium};
997
+ }
998
+ `],Yi([i({type:String})],Qi.prototype,"id",void 0),Yi([i({type:Object})],Qi.prototype,"parent",void 0),Yi([i({type:Array})],Qi.prototype,"options",void 0),Yi([i({type:Boolean})],Qi.prototype,"multivalued",void 0),Yi([i({type:Boolean})],Qi.prototype,"disabled",void 0),Yi([i({type:Boolean})],Qi.prototype,"hideSelectedOptions",void 0),Yi([i({type:Boolean})],Qi.prototype,"preventNavigation",void 0),Yi([i({type:String})],Qi.prototype,"filter",void 0),Yi([i({type:String})],Qi.prototype,"moreValuesButtonLabel",void 0),Yi([i({type:String})],Qi.prototype,"noValuesLabel",void 0),Yi([i({type:Number})],Qi.prototype,"displayedValuesLimit",void 0),Yi([n(".ft-filter-level--container")],Qi.prototype,"container",void 0),Yi([o()],Qi.prototype,"displayedPages",void 0);var to=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const eo={buttonsColor:ft.extend("--ft-snap-scroll-buttons-color",vt.colorPrimary),buttonsZIndex:ft.create("--ft-snap-scroll-buttons-z-index","COLOR","1"),gap:ft.create("--ft-snap-scroll-gap","SIZE","0"),colorSurface:ft.external(vt.colorSurface,"Design system")};class io extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class oo extends xt{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver((()=>this.scheduleUpdateScroll())),this.scrollDebouncer=new t(200),this.updateScrollDebouncer=new t(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let e=this.elements[t];if(e){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,i=this.contentSlot[this.scrollAttribute]+this.prevSize;(e[this.offsetAttribute]<i||e[this.offsetAttribute]+e[this.sizeAttribute]>t)&&this.scrollToElement(e)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){const t=ti({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":kt}),e=this.controls&&this.withScroll;return K`
982
999
  <div part="container" class="${t}">
983
1000
  <ft-button
984
1001
  class="ft-snap-scroll--previous"
@@ -1002,7 +1019,7 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
1002
1019
  @click=${this.next}
1003
1020
  ></ft-button>
1004
1021
  </div>
1005
- `}updated(t){var e;super.updated(t),this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer!==this.contentSlot&&(this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(e=this.listenedContainer)||void 0===e||e.addEventListener("scroll",this.updateScrollCallback))),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new to(this.currentElement,this.elements[this.currentElement]))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const e=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<e&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var e,i;t&&(this.horizontal?null===(e=this.contentSlot)||void 0===e||e.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(i=this.contentSlot)||void 0===i||i.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,e;this.elements=null!==(e=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==e?e:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let e=0;e<this.elements.length;e++)(t<0||this.getDistanceFromStart(this.elements[e])<this.getDistanceFromStart(this.elements[t]))&&(t=e);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const e=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-e)}}eo.elementDefinitions={"ft-button":Bi},eo.styles=v`
1022
+ `}updated(t){var e;super.updated(t),this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer!==this.contentSlot&&(this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(e=this.listenedContainer)||void 0===e||e.addEventListener("scroll",this.updateScrollCallback))),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new io(this.currentElement,this.elements[this.currentElement]))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const e=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<e&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var e,i;t&&(this.horizontal?null===(e=this.contentSlot)||void 0===e||e.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(i=this.contentSlot)||void 0===i||i.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,e;this.elements=null!==(e=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==e?e:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let e=0;e<this.elements.length;e++)(t<0||this.getDistanceFromStart(this.elements[e])<this.getDistanceFromStart(this.elements[t]))&&(t=e);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const e=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-e)}}oo.elementDefinitions={"ft-button":ji},oo.styles=b`
1006
1023
  .ft-snap-scroll {
1007
1024
  box-sizing: border-box;
1008
1025
  position: relative;
@@ -1037,7 +1054,7 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
1037
1054
  flex-wrap: nowrap;
1038
1055
  align-items: flex-start;
1039
1056
  justify-content: flex-start;
1040
- gap: ${Qi.gap};
1057
+ gap: ${eo.gap};
1041
1058
  }
1042
1059
 
1043
1060
  .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
@@ -1080,11 +1097,11 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
1080
1097
  .ft-snap-scroll--next {
1081
1098
  position: absolute;
1082
1099
  display: flex;
1083
- z-index: ${Qi.buttonsZIndex};
1100
+ z-index: ${eo.buttonsZIndex};
1084
1101
  opacity: 1;
1085
1102
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1086
- ${ft(Ni.backgroundColor,"transparent")};
1087
- ${ft(Ni.color,Qi.buttonsColor)};
1103
+ ${ut(Ri.backgroundColor,"transparent")};
1104
+ ${ut(Ri.color,eo.buttonsColor)};
1088
1105
  }
1089
1106
 
1090
1107
  .ft-snap-scroll--previous[hidden],
@@ -1097,44 +1114,44 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
1097
1114
  top: 0;
1098
1115
  left: -1px;
1099
1116
  bottom: 0;
1100
- background: linear-gradient(to right, ${Qi.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1117
+ background: linear-gradient(to right, ${eo.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1101
1118
  }
1102
1119
 
1103
1120
  .ft-snap-scroll--vertical .ft-snap-scroll--previous {
1104
1121
  top: -1px;
1105
1122
  left: 0;
1106
1123
  right: 0;
1107
- background: linear-gradient(to bottom, ${Qi.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1124
+ background: linear-gradient(to bottom, ${eo.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1108
1125
  }
1109
1126
 
1110
1127
  .ft-snap-scroll--horizontal .ft-snap-scroll--next {
1111
1128
  top: 0;
1112
1129
  right: -1px;
1113
1130
  bottom: 0;
1114
- background: linear-gradient(to left, ${Qi.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1131
+ background: linear-gradient(to left, ${eo.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1115
1132
  }
1116
1133
 
1117
1134
  .ft-snap-scroll--vertical .ft-snap-scroll--next {
1118
1135
  left: 0;
1119
1136
  right: 0;
1120
1137
  bottom: -1px;
1121
- background: linear-gradient(to top, ${Qi.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1138
+ background: linear-gradient(to top, ${eo.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1122
1139
  }
1123
1140
 
1124
1141
  .ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
1125
1142
  .ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
1126
1143
  .ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
1127
1144
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1128
- background-color: ${Qi.colorSurface};
1145
+ background-color: ${eo.colorSurface};
1129
1146
  }
1130
- `,Gi([i({type:Boolean})],eo.prototype,"horizontal",void 0),Gi([i({type:Boolean})],eo.prototype,"hideScrollbar",void 0),Gi([i({type:Boolean})],eo.prototype,"controls",void 0),Gi([i({type:Boolean})],eo.prototype,"limitSize",void 0),Gi([o()],eo.prototype,"elements",void 0),Gi([o()],eo.prototype,"currentElement",void 0),Gi([o()],eo.prototype,"withScroll",void 0),Gi([o()],eo.prototype,"startReached",void 0),Gi([o()],eo.prototype,"endReached",void 0),Gi([n(".ft-snap-scroll--content")],eo.prototype,"contentSlot",void 0),h("ft-snap-scroll")(eo);var io=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const oo=dt.external(ut.colorOutline,"Design system"),so=dt.external(ut.colorOnSurface,"Design system"),no=dt.external(ut.colorOnSurfaceMedium,"Design system"),ro=dt.external(ut.colorPrimary,"Design system"),lo=dt.external(ut.colorSurface,"Design system"),ao=dt.external(ut.transitionDuration,"Design system"),ho=dt.external(ut.transitionTimingFunction,"Design system");class co extends CustomEvent{constructor(t){super("change",{detail:t})}}class po extends vt{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayedValuesLimit=0,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new t(300),this.changeDebouncer=new t(10)}get flatOptions(){return Ae(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}render(){var t,e;const i=this.flatOptions.some((t=>t.selected));let o=this.withScroll||this.filter||null!==(e=null===(t=this.lastLevel)||void 0===t?void 0:t.hasHiddenValues)&&void 0!==e&&e;return W`
1147
+ `,to([i({type:Boolean})],oo.prototype,"horizontal",void 0),to([i({type:Boolean})],oo.prototype,"hideScrollbar",void 0),to([i({type:Boolean})],oo.prototype,"controls",void 0),to([i({type:Boolean})],oo.prototype,"limitSize",void 0),to([o()],oo.prototype,"elements",void 0),to([o()],oo.prototype,"currentElement",void 0),to([o()],oo.prototype,"withScroll",void 0),to([o()],oo.prototype,"startReached",void 0),to([o()],oo.prototype,"endReached",void 0),to([n(".ft-snap-scroll--content")],oo.prototype,"contentSlot",void 0),h("ft-snap-scroll")(oo);var so=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const no=ft.external(vt.colorOutline,"Design system"),ro=ft.external(vt.colorOnSurface,"Design system"),lo=ft.external(vt.colorOnSurfaceMedium,"Design system"),ao=ft.external(vt.colorPrimary,"Design system"),ho=ft.external(vt.colorSurface,"Design system"),co=ft.external(vt.transitionDuration,"Design system"),po=ft.external(vt.transitionTimingFunction,"Design system");class fo extends CustomEvent{constructor(t){super("change",{detail:t})}}class uo extends xt{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayedValuesLimit=0,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new t(300),this.changeDebouncer=new t(10)}get flatOptions(){return _e(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}render(){var t,e;const i=this.flatOptions.some((t=>t.selected));let o=this.withScroll||this.filter||null!==(e=null===(t=this.lastLevel)||void 0===t?void 0:t.hasHiddenValues)&&void 0!==e&&e;return K`
1131
1148
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1132
1149
  part="container">
1133
- ${this.label||i?W`
1150
+ ${this.label||i?K`
1134
1151
  <div class="ft-filter--header" part="header">
1135
1152
  <ft-typography class="ft-filter--label" variant="overline" part="label">${this.label}
1136
1153
  </ft-typography>
1137
- ${i?W`
1154
+ ${i?K`
1138
1155
  <ft-button icon="close" dense @click=${this.clear} part="clear-button">
1139
1156
  ${this.clearButtonLabel}
1140
1157
  </ft-button>
@@ -1157,8 +1174,8 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
1157
1174
  @slotchange=${this.updateOptionsFromSlot}
1158
1175
  @option-change=${this.optionsChanged}></slot>
1159
1176
  </div>
1160
- `}update(t){if(super.update(t),t.has("options")){const t=new Set(this.flatOptions.map((t=>t.value)));this.displayedLevels=this.displayedLevels.filter((e=>t.has(e)))}}contentAvailableCallback(t){var e,i;super.contentAvailableCallback(t),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),t.has("options")&&(this.updateScroll(),null===(e=this.levelsContainer)||void 0===e||e.scrollToIndex(this.displayedLevels.length)),t.has("slideIn")&&this.slideIn&&setTimeout((()=>{var t;null===(t=this.levelsContainer)||void 0===t||t.next(),this.slideIn=void 0}),0),t.has("slideOut")&&this.slideOut&&(null===(i=this.levelsContainer)||void 0===i||i.previous(),setTimeout((()=>{this.displayedLevels.pop(),this.slideOut=void 0}),300))}renderLevels(){const t=this.flatOptions,e=t.filter((t=>t.selected)),i=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,o=i<0?"ft-filter--level-center":"ft-filter--level-left";return W`
1161
- ${this.raiseSelectedOptions&&e.length>0?W`
1177
+ `}update(t){if(super.update(t),t.has("options")){const t=new Set(this.flatOptions.map((t=>t.value)));this.displayedLevels=this.displayedLevels.filter((e=>t.has(e)))}}contentAvailableCallback(t){var e,i;super.contentAvailableCallback(t),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),t.has("options")&&(this.updateScroll(),null===(e=this.levelsContainer)||void 0===e||e.scrollToIndex(this.displayedLevels.length)),t.has("slideIn")&&this.slideIn&&setTimeout((()=>{var t;null===(t=this.levelsContainer)||void 0===t||t.next(),this.slideIn=void 0}),0),t.has("slideOut")&&this.slideOut&&(null===(i=this.levelsContainer)||void 0===i||i.previous(),setTimeout((()=>{this.displayedLevels.pop(),this.slideOut=void 0}),300))}renderLevels(){const t=this.flatOptions,e=t.filter((t=>t.selected)),i=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,o=i<0?"ft-filter--level-center":"ft-filter--level-left";return K`
1178
+ ${this.raiseSelectedOptions&&e.length>0?K`
1162
1179
  <ft-filter-level
1163
1180
  id="${this.id}"
1164
1181
  ?multivalued=${this.multivalued}
@@ -1166,7 +1183,8 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
1166
1183
  preventNavigation
1167
1184
  .options=${e}
1168
1185
  @change=${this.onChange}
1169
- part="selected-values"
1186
+ part="values selected-values"
1187
+ .exportpartsPrefixes=${["values","selected-values"]}
1170
1188
  ></ft-filter-level>
1171
1189
  <div class="ft-filter--separator">
1172
1190
  `:null}
@@ -1176,7 +1194,7 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
1176
1194
  ${this.renderLevel(o,this.options)}
1177
1195
  ${this.displayedLevels.map((e=>t.find((t=>t.value===e)))).map(((t,e)=>{var o;const s=(null==t?void 0:t.value)===this.slideIn||(null==t?void 0:t.value)===this.slideOut?"ft-filter--level-right":e===i?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(s,null!==(o=null==t?void 0:t.subOptions)&&void 0!==o?o:[],t)}))}
1178
1196
  </ft-snap-scroll>
1179
- `}renderLevel(t,e,i){return W`
1197
+ `}renderLevel(t,e,i){return K`
1180
1198
  <ft-filter-level
1181
1199
  class="${t}"
1182
1200
  id="${this.id}"
@@ -1191,9 +1209,11 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
1191
1209
  @change=${this.onChange}
1192
1210
  @go-back=${this.goBack}
1193
1211
  @display-level=${this.onDisplayLevel}
1194
- part="values"
1212
+ part="values available-values"
1213
+ .exportpartsPrefixes=${["values","available-values"]}
1214
+ noValuesLabel="${this.noValuesLabel}"
1195
1215
  ></ft-filter-level>
1196
- `}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var e;t.stopPropagation();const i=this.flatOptions.find((e=>e.value===t.detail.value));i.selected=!i.selected;const o=t=>{var e;t!==i&&(t.selected=!1),null===(e=t.subOptions)||void 0===e||e.forEach(o)};this.multivalued?null===(e=i.subOptions)||void 0===e||e.forEach(o):this.options.forEach(o),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;const e=this.flatOptions.filter((t=>t.selected)).map((t=>t.value));this.dispatchEvent(new co(e)),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,e;this.filter=null!==(e=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==e?e:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}po.elementDefinitions={"ft-button":Bi,"ft-filter-level":Yi,"ft-snap-scroll":eo,"ft-typography":Te},po.styles=[je,v`
1216
+ `}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var e;t.stopPropagation();const i=this.flatOptions.find((e=>e.value===t.detail.value));i.selected=!i.selected;const o=t=>{var e;t!==i&&(t.selected=!1),null===(e=t.subOptions)||void 0===e||e.forEach(o)};this.multivalued?null===(e=i.subOptions)||void 0===e||e.forEach(o):this.options.forEach(o),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;const e=this.flatOptions.filter((t=>t.selected)).map((t=>t.value));this.dispatchEvent(new fo(e)),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,e;this.filter=null!==(e=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==e?e:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}uo.elementDefinitions={"ft-button":ji,"ft-filter-level":Qi,"ft-snap-scroll":oo,"ft-typography":Pe},uo.styles=[De,b`
1197
1217
  :host {
1198
1218
  display: flex;
1199
1219
  max-height: 100%;
@@ -1206,8 +1226,8 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
1206
1226
  flex-direction: column;
1207
1227
  max-height: 100%;
1208
1228
  max-width: 100%;
1209
- color: ${so};
1210
- background: ${lo};
1229
+ color: ${ro};
1230
+ background: ${ho};
1211
1231
  }
1212
1232
 
1213
1233
  .ft-filter--header {
@@ -1217,13 +1237,13 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
1217
1237
  flex-shrink: 0;
1218
1238
  padding: 0 10px;
1219
1239
  margin-bottom: 8px;
1220
- ${ft(Mt.fontSize,"14px")};
1240
+ ${ut(Ft.fontSize,"14px")};
1221
1241
  }
1222
1242
 
1223
1243
  .ft-filter--header ft-button {
1224
1244
  flex-shrink: 0;
1225
1245
  margin-left: auto;
1226
- ${ft(Ni.iconSize,"18px")};
1246
+ ${ut(Ri.iconSize,"18px")};
1227
1247
  }
1228
1248
 
1229
1249
  .ft-filter--label {
@@ -1231,8 +1251,8 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
1231
1251
  flex-shrink: 1;
1232
1252
  flex-grow: 1;
1233
1253
  word-break: break-word;
1234
- ${ft(Mt.lineHeight,"22px")};
1235
- ${ft(Mt.fontWeight,"bold")};
1254
+ ${ut(Ft.lineHeight,"22px")};
1255
+ ${ut(Ft.fontWeight,"bold")};
1236
1256
  }
1237
1257
 
1238
1258
  .ft-filter--filter {
@@ -1243,8 +1263,8 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
1243
1263
  padding: 0 10px;
1244
1264
  overflow: hidden;
1245
1265
  height: 32px;
1246
- transition: height ${ao} ${ho},
1247
- margin ${ao} ${ho};
1266
+ transition: height ${co} ${po},
1267
+ margin ${co} ${po};
1248
1268
  transition-delay: 500ms;
1249
1269
  }
1250
1270
 
@@ -1257,11 +1277,11 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
1257
1277
  display: block;
1258
1278
  width: 100%;
1259
1279
  border-radius: 4px;
1260
- border: 1px solid ${oo};
1280
+ border: 1px solid ${no};
1261
1281
  padding: 4px;
1262
- background-color: ${lo};
1263
- color: ${no};
1264
- outline-color: ${ro};
1282
+ background-color: ${ho};
1283
+ color: ${lo};
1284
+ outline-color: ${ao};
1265
1285
  }
1266
1286
 
1267
1287
  .ft-filter--values {
@@ -1273,7 +1293,7 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
1273
1293
  }
1274
1294
 
1275
1295
  .ft-filter--separator {
1276
- border-top: 1px solid ${oo};
1296
+ border-top: 1px solid ${no};
1277
1297
  margin: 4px 10px;
1278
1298
  }
1279
1299
 
@@ -1298,6 +1318,6 @@ class yi extends He{constructor(t){if(super(t),this.it=V,t.type!==Pe)throw Error
1298
1318
  slot {
1299
1319
  display: none;
1300
1320
  }
1301
- `],io([i({type:String})],po.prototype,"id",void 0),io([i({type:String})],po.prototype,"label",void 0),io([i({type:String})],po.prototype,"filterPlaceHolder",void 0),io([i({type:String})],po.prototype,"clearButtonLabel",void 0),io([i({type:String})],po.prototype,"moreValuesButtonLabel",void 0),io([function(t,e){const o=()=>JSON.parse(JSON.stringify(t));return i({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},...null!=e?e:{}})}([])],po.prototype,"options",void 0),io([i({type:Boolean})],po.prototype,"multivalued",void 0),io([i({type:Boolean})],po.prototype,"disabled",void 0),io([i({type:Boolean})],po.prototype,"raiseSelectedOptions",void 0),io([i({type:Number})],po.prototype,"displayedValuesLimit",void 0),io([n(".ft-filter--slot")],po.prototype,"slotElement",void 0),io([n(".ft-filter--container")],po.prototype,"container",void 0),io([n(".ft-filter--values")],po.prototype,"valuesContainer",void 0),io([n(".ft-filter--levels")],po.prototype,"levelsContainer",void 0),io([n(".ft-filter--levels ft-filter-level:last-child")],po.prototype,"lastLevel",void 0),io([n(".ft-filter--filter input")],po.prototype,"filterInput",void 0),io([function(t){return s({descriptor:e=>({get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelectorAll(t))&&void 0!==i?i:[]},enumerable:!0,configurable:!0})})}(".ft-filter--levels ft-filter-level")],po.prototype,"levels",void 0),io([o()],po.prototype,"withScroll",void 0),io([o()],po.prototype,"filter",void 0),io([o()],po.prototype,"slideIn",void 0),io([o()],po.prototype,"slideOut",void 0);var fo=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class uo extends vt{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return W`
1321
+ `],so([i({type:String})],uo.prototype,"id",void 0),so([i({type:String})],uo.prototype,"label",void 0),so([i({type:String})],uo.prototype,"filterPlaceHolder",void 0),so([i({type:String})],uo.prototype,"clearButtonLabel",void 0),so([i({type:String})],uo.prototype,"moreValuesButtonLabel",void 0),so([i({type:String})],uo.prototype,"noValuesLabel",void 0),so([c([])],uo.prototype,"options",void 0),so([i({type:Boolean})],uo.prototype,"multivalued",void 0),so([i({type:Boolean})],uo.prototype,"disabled",void 0),so([i({type:Boolean})],uo.prototype,"raiseSelectedOptions",void 0),so([i({type:Number})],uo.prototype,"displayedValuesLimit",void 0),so([n(".ft-filter--slot")],uo.prototype,"slotElement",void 0),so([n(".ft-filter--container")],uo.prototype,"container",void 0),so([n(".ft-filter--values")],uo.prototype,"valuesContainer",void 0),so([n(".ft-filter--levels")],uo.prototype,"levelsContainer",void 0),so([n(".ft-filter--levels ft-filter-level:last-child")],uo.prototype,"lastLevel",void 0),so([n(".ft-filter--filter input")],uo.prototype,"filterInput",void 0),so([function(t){return s({descriptor:e=>({get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelectorAll(t))&&void 0!==i?i:[]},enumerable:!0,configurable:!0})})}(".ft-filter--levels ft-filter-level")],uo.prototype,"levels",void 0),so([o()],uo.prototype,"withScroll",void 0),so([o()],uo.prototype,"filter",void 0),so([o()],uo.prototype,"slideIn",void 0),so([o()],uo.prototype,"slideOut",void 0);var vo=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class bo extends xt{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return K`
1302
1322
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1303
- `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}uo.elementDefinitions={},fo([i({type:String})],uo.prototype,"label",void 0),fo([i({type:Object,converter:t=>t})],uo.prototype,"value",void 0),fo([i({type:Boolean,reflect:!0})],uo.prototype,"selected",void 0),fo([i({type:Object})],uo.prototype,"subOptions",void 0),fo([n(".ft-filter-option--slot")],uo.prototype,"slotElement",void 0),h("ft-filter")(xt(po)),h("ft-filter-option")(xt(uo))}();
1323
+ `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}bo.elementDefinitions={},vo([i({type:String})],bo.prototype,"label",void 0),vo([i({type:Object,converter:t=>t})],bo.prototype,"value",void 0),vo([i({type:Boolean,reflect:!0})],bo.prototype,"selected",void 0),vo([i({type:Object})],bo.prototype,"subOptions",void 0),vo([n(".ft-filter-option--slot")],bo.prototype,"slotElement",void 0),h("ft-filter")(gt(uo)),h("ft-filter-option")(gt(bo))}();