@fluid-topics/ft-filter 1.1.0 → 1.1.2

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.
Files changed (2) hide show
  1. package/build/ft-filter.min.js +253 -249
  2. package/package.json +10 -10
@@ -12,7 +12,7 @@
12
12
  * subject to an additional IP rights grant found at
13
13
  * http://polymer.github.io/PATENTS.txt
14
14
  */
15
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);f(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let p=e.call(i,t);p||(p=h(t),o.call(i,t,p)),this===window.customElements&&(a.set(r,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let i=this._awaitingUpgrade.get(o);i||this._awaitingUpgrade.set(o,i=new Set),e?i.add(t):i.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),r.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},h=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const i=p(e)||window.customElements,r=i._getDefinition(o);return r?u(e,r):n.set(e,i),e}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,o,e)=>{if(0===o.size||void 0===e)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);i.call(this,n,r),e.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);r.call(this,i),e.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const o=this.getAttribute(r);e.call(this,r,t,o)}else n.call(this,r,i)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),r.set(t,o),l=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const i=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=i.apply(e||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const i=o.call(this,...e);return t.set(i,this),i},e.forEach((o=>{const e=window.ElementInternals.prototype,i=e[o];e[o]=function(...o){const e=t.get(this);if(!0===r.get(e).formAssociated)return i?.call(this,...o);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i 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 o=new Map;t.forEach(((t,e)=>{const i=t.getAttribute("name"),r=o.get(i)||[];this[+e]=t,r.push(t),o.set(i,r)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=r.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(ar){const t=window.customElements.define;window.customElements.define=(o,e,i)=>{if(null!==e)try{t.bind(window.customElements)(o,e,i)}catch(t){console.info(o,e,i,t)}}}class o{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
15
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);f(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let h=e.call(i,t);h||(h=p(t),o.call(i,t,h)),this===window.customElements&&(a.set(r,c),c.standInClass=h);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let i=this._awaitingUpgrade.get(o);i||this._awaitingUpgrade.set(o,i=new Set),e?i.add(t):i.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),r.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,h=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},p=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const i=h(e)||window.customElements,r=i._getDefinition(o);return r?u(e,r):n.set(e,i),e}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,o,e)=>{if(0===o.size||void 0===e)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);i.call(this,n,r),e.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);r.call(this,i),e.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const o=this.getAttribute(r);e.call(this,r,t,o)}else n.call(this,r,i)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),r.set(t,o),l=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const i=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=i.apply(e||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const i=o.call(this,...e);return t.set(i,this),i},e.forEach((o=>{const e=window.ElementInternals.prototype,i=e[o];e[o]=function(...o){const e=t.get(this);if(!0===r.get(e).formAssociated)return i?.call(this,...o);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i 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 o=new Map;t.forEach(((t,e)=>{const i=t.getAttribute("name"),r=o.get(i)||[];this[+e]=t,r.push(t),o.set(i,r)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=r.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(sr){const t=window.customElements.define;window.customElements.define=(o,e,i)=>{if(null!==e)try{t.bind(window.customElements)(o,e,i)}catch(t){console.info(o,e,i,t)}}}class o{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
16
16
  /**
17
17
  * @license
18
18
  * Copyright 2019 Google LLC
@@ -22,7 +22,7 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.cust
22
22
  * @license
23
23
  * Copyright 2017 Google LLC
24
24
  * SPDX-License-Identifier: BSD-3-Clause
25
- */,{is:l,defineProperty:c,getOwnPropertyDescriptor:p,getOwnPropertyNames:h,getOwnPropertySymbols:f,getPrototypeOf:d}=Object,u=globalThis,y=u.trustedTypes,g=y?y.emptyScript:"",b=u.reactiveElementPolyfillSupport,m=(t,o)=>t,x={toAttribute(t,o){switch(o){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},v=(t,o)=>!l(t,o),O={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;let S=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=O){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),i=this.getPropertyDescriptor(t,e,o);void 0!==i&&c(this.prototype,t,i)}}static getPropertyDescriptor(t,o,e){const{get:i,set:r}=p(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return i?.call(this)},set(o){const n=i?.call(this);r.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??O}static _$Ei(){if(this.hasOwnProperty(m("elementProperties")))return;const t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(m("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(m("properties"))){const t=this.properties,o=[...h(t),...f(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(s(t))}else void 0!==t&&o.push(s(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(i)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of o){const o=document.createElement("style"),r=e.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=i.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,e);if(void 0!==i&&!0===e.reflect){const r=(void 0!==e.converter?.toAttribute?e.converter:x).toAttribute(o,e.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,o){const e=this.constructor,i=e._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=e.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:x;this._$Em=i,this[i]=r.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,i=!1,r){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??v)(i?r:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};S.elementStyles=[],S.shadowRootOptions={mode:"open"},S[m("elementProperties")]=new Map,S[m("finalized")]=new Map,b?.({ReactiveElement:S}),(u.reactiveElementVersions??=[]).push("2.0.2");
25
+ */,{is:l,defineProperty:c,getOwnPropertyDescriptor:h,getOwnPropertyNames:p,getOwnPropertySymbols:f,getPrototypeOf:d}=Object,u=globalThis,y=u.trustedTypes,g=y?y.emptyScript:"",b=u.reactiveElementPolyfillSupport,m=(t,o)=>t,x={toAttribute(t,o){switch(o){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},v=(t,o)=>!l(t,o),O={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;let S=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=O){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),i=this.getPropertyDescriptor(t,e,o);void 0!==i&&c(this.prototype,t,i)}}static getPropertyDescriptor(t,o,e){const{get:i,set:r}=h(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return i?.call(this)},set(o){const n=i?.call(this);r.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??O}static _$Ei(){if(this.hasOwnProperty(m("elementProperties")))return;const t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(m("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(m("properties"))){const t=this.properties,o=[...p(t),...f(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(s(t))}else void 0!==t&&o.push(s(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(i)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of o){const o=document.createElement("style"),r=e.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=i.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,e);if(void 0!==i&&!0===e.reflect){const r=(void 0!==e.converter?.toAttribute?e.converter:x).toAttribute(o,e.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,o){const e=this.constructor,i=e._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=e.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:x;this._$Em=i,this[i]=r.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,i=!1,r){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??v)(i?r:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};S.elementStyles=[],S.shadowRootOptions={mode:"open"},S[m("elementProperties")]=new Map,S[m("finalized")]=new Map,b?.({ReactiveElement:S}),(u.reactiveElementVersions??=[]).push("2.0.2");
26
26
  /**
27
27
  * @license
28
28
  * Copyright 2017 Google LLC
@@ -53,7 +53,7 @@ const N={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v},w=(t=N,o,
53
53
  * @license
54
54
  * Copyright 2017 Google LLC
55
55
  * SPDX-License-Identifier: BSD-3-Clause
56
- */const z=globalThis,K=z.trustedTypes,F=K?K.createPolicy("lit-html",{createHTML:t=>t}):void 0,B="$lit$",Z=`lit$${(Math.random()+"").slice(9)}$`,D="?"+Z,M=`<${D}>`,A=document,P=()=>A.createComment(""),H=t=>null===t||"object"!=typeof t&&"function"!=typeof t,j=Array.isArray,T=t=>j(t)||"function"==typeof t?.[Symbol.iterator],_="[ \t\n\f\r]",G=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,V=/-->/g,Y=/>/g,J=RegExp(`>|${_}(?:([^\\s"'>=/]+)(${_}*=${_}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),q=/'/g,X=/"/g,Q=/^(?:script|style|textarea|title)$/i,tt=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),ot=Symbol.for("lit-noChange"),et=Symbol.for("lit-nothing"),it=new WeakMap,rt=A.createTreeWalker(A,129);function nt(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==F?F.createHTML(o):o}const at=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=G;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,l=a.exec(e),null!==l);)p=a.lastIndex,a===G?"!--"===l[1]?a=V:void 0!==l[1]?a=Y:void 0!==l[2]?(Q.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=J):void 0!==l[3]&&(a=J):a===J?">"===l[0]?(a=r??G,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?J:'"'===l[3]?X:q):a===X||a===q?a=J:a===V||a===Y?a=G:(a=J,r=void 0);const h=a===J&&t[o+1].startsWith("/>")?" ":"";n+=a===G?e+M:c>=0?(i.push(s),e.slice(0,c)+B+e.slice(c)+Z+h):e+Z+(-2===c?o:h)}return[nt(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};let st=class t{constructor({strings:o,_$litType$:e},i){let r;this.parts=[];let n=0,a=0;const s=o.length-1,l=this.parts,[c,p]=at(o,e);if(this.el=t.createElement(c,i),rt.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=rt.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(B)){const o=p[a++],e=r.getAttribute(t).split(Z),i=/([.?@])?(.*)/.exec(o);l.push({type:1,index:n,name:i[2],strings:e,ctor:"."===i[1]?ft:"?"===i[1]?dt:"@"===i[1]?ut:ht}),r.removeAttribute(t)}else t.startsWith(Z)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(Q.test(r.tagName)){const t=r.textContent.split(Z),o=t.length-1;if(o>0){r.textContent=K?K.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],P()),rt.nextNode(),l.push({type:2,index:++n});r.append(t[o],P())}}}else if(8===r.nodeType)if(r.data===D)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(Z,t+1));)l.push({type:7,index:n}),t+=Z.length-1}n++}}static createElement(t,o){const e=A.createElement("template");return e.innerHTML=t,e}};function lt(t,o,e=t,i){if(o===ot)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=H(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=lt(t,r._$AS(t,o.values),r,i)),o}let ct=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??A).importNode(o,!0);rt.currentNode=i;let r=rt.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new pt(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new yt(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=rt.nextNode(),n++)}return rt.currentNode=A,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}},pt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=et,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=lt(this,t,o),H(t)?t===et||null==t||""===t?(this._$AH!==et&&this._$AR(),this._$AH=et):t!==this._$AH&&t!==ot&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):T(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==et&&H(this._$AH)?this._$AA.nextSibling.data=t:this.$(A.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=st.createElement(nt(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new ct(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=it.get(t.strings);return void 0===o&&it.set(t.strings,o=new st(t)),o}T(o){j(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const n of o)r===e.length?e.push(i=new t(this.k(P()),this.k(P()),this,this.options)):i=e[r],i._$AI(n),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},ht=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=et,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=et}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=lt(this,t,o,0),n=!H(t)||t!==this._$AH&&t!==ot,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=lt(this,i[e+a],o,a),s===ot&&(s=this._$AH[a]),n||=!H(s)||s!==this._$AH[a],s===et?t=et:t!==et&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===et?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ft=class extends ht{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===et?void 0:t}},dt=class extends ht{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==et)}},ut=class extends ht{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=lt(this,t,o,0)??et)===ot)return;const e=this._$AH,i=t===et&&e!==et||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==et&&(e===et||i);i&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},yt=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){lt(this,t)}};const gt={j:B,P:Z,A:D,C:1,M:at,L:ct,R:T,V:lt,D:pt,I:ht,H:dt,N:ut,U:ft,B:yt},bt=z.litHtmlPolyfillSupport;bt?.(st,pt),(z.litHtmlVersions??=[]).push("3.1.0");
56
+ */const z=globalThis,K=z.trustedTypes,F=K?K.createPolicy("lit-html",{createHTML:t=>t}):void 0,B="$lit$",Z=`lit$${(Math.random()+"").slice(9)}$`,D="?"+Z,M=`<${D}>`,A=document,P=()=>A.createComment(""),H=t=>null===t||"object"!=typeof t&&"function"!=typeof t,j=Array.isArray,T=t=>j(t)||"function"==typeof t?.[Symbol.iterator],_="[ \t\n\f\r]",G=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,V=/-->/g,Y=/>/g,J=RegExp(`>|${_}(?:([^\\s"'>=/]+)(${_}*=${_}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),q=/'/g,X=/"/g,Q=/^(?:script|style|textarea|title)$/i,tt=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),ot=Symbol.for("lit-noChange"),et=Symbol.for("lit-nothing"),it=new WeakMap,rt=A.createTreeWalker(A,129);function nt(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==F?F.createHTML(o):o}const at=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=G;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,h=0;for(;h<e.length&&(a.lastIndex=h,l=a.exec(e),null!==l);)h=a.lastIndex,a===G?"!--"===l[1]?a=V:void 0!==l[1]?a=Y:void 0!==l[2]?(Q.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=J):void 0!==l[3]&&(a=J):a===J?">"===l[0]?(a=r??G,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?J:'"'===l[3]?X:q):a===X||a===q?a=J:a===V||a===Y?a=G:(a=J,r=void 0);const p=a===J&&t[o+1].startsWith("/>")?" ":"";n+=a===G?e+M:c>=0?(i.push(s),e.slice(0,c)+B+e.slice(c)+Z+p):e+Z+(-2===c?o:p)}return[nt(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};let st=class t{constructor({strings:o,_$litType$:e},i){let r;this.parts=[];let n=0,a=0;const s=o.length-1,l=this.parts,[c,h]=at(o,e);if(this.el=t.createElement(c,i),rt.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=rt.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(B)){const o=h[a++],e=r.getAttribute(t).split(Z),i=/([.?@])?(.*)/.exec(o);l.push({type:1,index:n,name:i[2],strings:e,ctor:"."===i[1]?ft:"?"===i[1]?dt:"@"===i[1]?ut:pt}),r.removeAttribute(t)}else t.startsWith(Z)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(Q.test(r.tagName)){const t=r.textContent.split(Z),o=t.length-1;if(o>0){r.textContent=K?K.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],P()),rt.nextNode(),l.push({type:2,index:++n});r.append(t[o],P())}}}else if(8===r.nodeType)if(r.data===D)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(Z,t+1));)l.push({type:7,index:n}),t+=Z.length-1}n++}}static createElement(t,o){const e=A.createElement("template");return e.innerHTML=t,e}};function lt(t,o,e=t,i){if(o===ot)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=H(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=lt(t,r._$AS(t,o.values),r,i)),o}let ct=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??A).importNode(o,!0);rt.currentNode=i;let r=rt.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new ht(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new yt(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=rt.nextNode(),n++)}return rt.currentNode=A,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}},ht=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=et,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=lt(this,t,o),H(t)?t===et||null==t||""===t?(this._$AH!==et&&this._$AR(),this._$AH=et):t!==this._$AH&&t!==ot&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):T(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==et&&H(this._$AH)?this._$AA.nextSibling.data=t:this.$(A.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=st.createElement(nt(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new ct(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=it.get(t.strings);return void 0===o&&it.set(t.strings,o=new st(t)),o}T(o){j(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const n of o)r===e.length?e.push(i=new t(this.k(P()),this.k(P()),this,this.options)):i=e[r],i._$AI(n),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},pt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=et,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=et}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=lt(this,t,o,0),n=!H(t)||t!==this._$AH&&t!==ot,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=lt(this,i[e+a],o,a),s===ot&&(s=this._$AH[a]),n||=!H(s)||s!==this._$AH[a],s===et?t=et:t!==et&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===et?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ft=class extends pt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===et?void 0:t}},dt=class extends pt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==et)}},ut=class extends pt{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=lt(this,t,o,0)??et)===ot)return;const e=this._$AH,i=t===et&&e!==et||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==et&&(e===et||i);i&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},yt=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){lt(this,t)}};const gt={j:B,P:Z,A:D,C:1,M:at,L:ct,R:T,V:lt,D:ht,I:pt,H:dt,N:ut,U:ft,B:yt},bt=z.litHtmlPolyfillSupport;bt?.(st,ht),(z.litHtmlVersions??=[]).push("3.1.0");
57
57
  /**
58
58
  * @license
59
59
  * Copyright 2019 Google LLC
@@ -70,7 +70,7 @@ const mt=globalThis,xt=mt.ShadowRoot&&(void 0===mt.ShadyCSS||mt.ShadyCSS.nativeS
70
70
  * Copyright 2017 Google LLC
71
71
  * SPDX-License-Identifier: BSD-3-Clause
72
72
  */
73
- const At=globalThis,Pt=At.trustedTypes,Ht=Pt?Pt.createPolicy("lit-html",{createHTML:t=>t}):void 0,jt="$lit$",Tt=`lit$${(Math.random()+"").slice(9)}$`,_t="?"+Tt,Gt=`<${_t}>`,Vt=document,Yt=()=>Vt.createComment(""),Jt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,qt=Array.isArray,Xt="[ \t\n\f\r]",Qt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,to=/-->/g,oo=/>/g,eo=RegExp(`>|${Xt}(?:([^\\s"'>=/]+)(${Xt}*=${Xt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),io=/'/g,ro=/"/g,no=/^(?:script|style|textarea|title)$/i,ao=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),so=Symbol.for("lit-noChange"),lo=Symbol.for("lit-nothing"),co=new WeakMap,po=Vt.createTreeWalker(Vt,129);function ho(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ht?Ht.createHTML(o):o}const fo=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=Qt;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,l=a.exec(e),null!==l);)p=a.lastIndex,a===Qt?"!--"===l[1]?a=to:void 0!==l[1]?a=oo:void 0!==l[2]?(no.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=eo):void 0!==l[3]&&(a=eo):a===eo?">"===l[0]?(a=r??Qt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?eo:'"'===l[3]?ro:io):a===ro||a===io?a=eo:a===to||a===oo?a=Qt:(a=eo,r=void 0);const h=a===eo&&t[o+1].startsWith("/>")?" ":"";n+=a===Qt?e+Gt:c>=0?(i.push(s),e.slice(0,c)+jt+e.slice(c)+Tt+h):e+Tt+(-2===c?o:h)}return[ho(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class uo{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[l,c]=fo(t,o);if(this.el=uo.createElement(l,e),po.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=po.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(jt)){const o=c[n++],e=i.getAttribute(t).split(Tt),a=/([.?@])?(.*)/.exec(o);s.push({type:1,index:r,name:a[2],strings:e,ctor:"."===a[1]?mo:"?"===a[1]?xo:"@"===a[1]?vo:bo}),i.removeAttribute(t)}else t.startsWith(Tt)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(no.test(i.tagName)){const t=i.textContent.split(Tt),o=t.length-1;if(o>0){i.textContent=Pt?Pt.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],Yt()),po.nextNode(),s.push({type:2,index:++r});i.append(t[o],Yt())}}}else if(8===i.nodeType)if(i.data===_t)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Tt,t+1));)s.push({type:7,index:r}),t+=Tt.length-1}r++}}static createElement(t,o){const e=Vt.createElement("template");return e.innerHTML=t,e}}function yo(t,o,e=t,i){if(o===so)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=Jt(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=yo(t,r._$AS(t,o.values),r,i)),o}class go{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=lo,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=yo(this,t,o),Jt(t)?t===lo||null==t||""===t?(this._$AH!==lo&&this._$AR(),this._$AH=lo):t!==this._$AH&&t!==so&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>qt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==lo&&Jt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Vt.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=uo.createElement(ho(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??Vt).importNode(o,!0);po.currentNode=i;let r=po.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new go(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new Oo(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=po.nextNode(),n++)}return po.currentNode=Vt,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=co.get(t.strings);return void 0===o&&co.set(t.strings,o=new uo(t)),o}T(t){qt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,i=0;for(const r of t)i===o.length?o.push(e=new go(this.k(Yt()),this.k(Yt()),this,this.options)):e=o[i],e._$AI(r),i++;i<o.length&&(this._$AR(e&&e._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class bo{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=lo,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=lo}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=yo(this,t,o,0),n=!Jt(t)||t!==this._$AH&&t!==so,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=yo(this,i[e+a],o,a),s===so&&(s=this._$AH[a]),n||=!Jt(s)||s!==this._$AH[a],s===lo?t=lo:t!==lo&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===lo?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class mo extends bo{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===lo?void 0:t}}class xo extends bo{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==lo)}}class vo extends bo{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=yo(this,t,o,0)??lo)===so)return;const e=this._$AH,i=t===lo&&e!==lo||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==lo&&(e===lo||i);i&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class Oo{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){yo(this,t)}}const So=At.litHtmlPolyfillSupport;So?.(uo,go),(At.litHtmlVersions??=[]).push("3.1.0");
73
+ const At=globalThis,Pt=At.trustedTypes,Ht=Pt?Pt.createPolicy("lit-html",{createHTML:t=>t}):void 0,jt="$lit$",Tt=`lit$${(Math.random()+"").slice(9)}$`,_t="?"+Tt,Gt=`<${_t}>`,Vt=document,Yt=()=>Vt.createComment(""),Jt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,qt=Array.isArray,Xt="[ \t\n\f\r]",Qt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,to=/-->/g,oo=/>/g,eo=RegExp(`>|${Xt}(?:([^\\s"'>=/]+)(${Xt}*=${Xt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),io=/'/g,ro=/"/g,no=/^(?:script|style|textarea|title)$/i,ao=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),so=Symbol.for("lit-noChange"),lo=Symbol.for("lit-nothing"),co=new WeakMap,ho=Vt.createTreeWalker(Vt,129);function po(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ht?Ht.createHTML(o):o}const fo=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=Qt;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,h=0;for(;h<e.length&&(a.lastIndex=h,l=a.exec(e),null!==l);)h=a.lastIndex,a===Qt?"!--"===l[1]?a=to:void 0!==l[1]?a=oo:void 0!==l[2]?(no.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=eo):void 0!==l[3]&&(a=eo):a===eo?">"===l[0]?(a=r??Qt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?eo:'"'===l[3]?ro:io):a===ro||a===io?a=eo:a===to||a===oo?a=Qt:(a=eo,r=void 0);const p=a===eo&&t[o+1].startsWith("/>")?" ":"";n+=a===Qt?e+Gt:c>=0?(i.push(s),e.slice(0,c)+jt+e.slice(c)+Tt+p):e+Tt+(-2===c?o:p)}return[po(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class uo{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[l,c]=fo(t,o);if(this.el=uo.createElement(l,e),ho.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=ho.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(jt)){const o=c[n++],e=i.getAttribute(t).split(Tt),a=/([.?@])?(.*)/.exec(o);s.push({type:1,index:r,name:a[2],strings:e,ctor:"."===a[1]?mo:"?"===a[1]?xo:"@"===a[1]?vo:bo}),i.removeAttribute(t)}else t.startsWith(Tt)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(no.test(i.tagName)){const t=i.textContent.split(Tt),o=t.length-1;if(o>0){i.textContent=Pt?Pt.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],Yt()),ho.nextNode(),s.push({type:2,index:++r});i.append(t[o],Yt())}}}else if(8===i.nodeType)if(i.data===_t)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Tt,t+1));)s.push({type:7,index:r}),t+=Tt.length-1}r++}}static createElement(t,o){const e=Vt.createElement("template");return e.innerHTML=t,e}}function yo(t,o,e=t,i){if(o===so)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=Jt(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=yo(t,r._$AS(t,o.values),r,i)),o}class go{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=lo,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=yo(this,t,o),Jt(t)?t===lo||null==t||""===t?(this._$AH!==lo&&this._$AR(),this._$AH=lo):t!==this._$AH&&t!==so&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>qt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==lo&&Jt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Vt.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=uo.createElement(po(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??Vt).importNode(o,!0);ho.currentNode=i;let r=ho.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new go(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new Oo(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=ho.nextNode(),n++)}return ho.currentNode=Vt,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=co.get(t.strings);return void 0===o&&co.set(t.strings,o=new uo(t)),o}T(t){qt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,i=0;for(const r of t)i===o.length?o.push(e=new go(this.k(Yt()),this.k(Yt()),this,this.options)):e=o[i],e._$AI(r),i++;i<o.length&&(this._$AR(e&&e._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class bo{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=lo,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=lo}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=yo(this,t,o,0),n=!Jt(t)||t!==this._$AH&&t!==so,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=yo(this,i[e+a],o,a),s===so&&(s=this._$AH[a]),n||=!Jt(s)||s!==this._$AH[a],s===lo?t=lo:t!==lo&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===lo?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class mo extends bo{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===lo?void 0:t}}class xo extends bo{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==lo)}}class vo extends bo{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=yo(this,t,o,0)??lo)===so)return;const e=this._$AH,i=t===lo&&e!==lo||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==lo&&(e===lo||i);i&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class Oo{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){yo(this,t)}}const So=At.litHtmlPolyfillSupport;So?.(uo,go),(At.litHtmlVersions??=[]).push("3.1.0");
74
74
  /**
75
75
  * @license
76
76
  * Copyright 2017 Google LLC
@@ -81,7 +81,11 @@ let No=class extends Mt{constructor(){super(...arguments),this.renderOptions={ho
81
81
  * @license
82
82
  * Copyright 2019 Google LLC
83
83
  * SPDX-License-Identifier: BSD-3-Clause
84
- */class Ko extends No{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{zo?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),i=Wo.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Fo,Bo=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Zo=Symbol("constructorPrototype"),Do=Symbol("constructorName"),Mo=Symbol("exportpartsDebouncer");class Ao extends Ko{constructor(){super(),this[Fo]=new o(5),this[Do]=this.constructor.name,this[Zo]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Do]&&Object.setPrototypeOf(this,this[Zo])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Mo].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],e=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>l.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Fo=Mo,Bo([$()],Ao.prototype,"exportpartsPrefix",void 0),Bo([W([])],Ao.prototype,"exportpartsPrefixes",void 0),Bo([$()],Ao.prototype,"customStylesheet",void 0);const Po=wt`
84
+ */class Ko extends No{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{zo?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),i=Wo.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Fo,Bo=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Zo=Symbol("constructorPrototype"),Do=Symbol("constructorName"),Mo=Symbol("exportpartsDebouncer");class Ao extends Ko{constructor(){super(),this[Fo]=new o(5),this[Do]=this.constructor.name,this[Zo]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Do]&&Object.setPrototypeOf(this,this[Zo])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Mo].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],e=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const h=[...c.values()].flatMap((t=>l.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}}Fo=Mo,Bo([$()],Ao.prototype,"exportpartsPrefix",void 0),Bo([W([])],Ao.prototype,"exportpartsPrefixes",void 0),Bo([$()],Ao.prototype,"customStylesheet",void 0);const Po=Co.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");wt`
85
+ .highlight-html-match {
86
+ background: ${Po};
87
+ }
88
+ `;const Ho=wt`
85
89
  .ft-no-text-select {
86
90
  -webkit-touch-callout: none;
87
91
  -webkit-user-select: none;
@@ -102,7 +106,7 @@ let No=class extends Mt{constructor(){super(...arguments),this.renderOptions={ho
102
106
  -webkit-hyphens: auto;
103
107
  hyphens: auto
104
108
  }
105
- `;const Ho=wt`
109
+ `;const jo=wt`
106
110
  .ft-safari-ellipsis-fix {
107
111
  margin-right: 0;
108
112
 
@@ -113,107 +117,107 @@ let No=class extends Mt{constructor(){super(...arguments),this.renderOptions={ho
113
117
  display: inline-block;
114
118
  width: 0;
115
119
  }
116
- `;window.ftReduxStores||(window.ftReduxStores={});const jo=Symbol("elementInternals");var To,_o,Go;const Vo=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Go=null===(_o=null===(To=window.safari)||void 0===To?void 0:To.pushNotification)||void 0===_o?void 0:_o.toString())&&void 0!==Go?Go:""),Yo=Symbol.for(""),Jo=t=>{if(t?.r===Yo)return t?._$litStatic$},qo=t=>({_$litStatic$:t,r:Yo}),Xo=new Map,Qo=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],s=[];let l,c=0,p=!1;for(;c<i;){for(l=o[c];c<i&&void 0!==(n=e[c],r=Jo(n));)l+=r+o[++c],p=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(o[i]),p){const t=a.join("$$lit$$");void 0===(o=Xo.get(t))&&(a.raw=a,Xo.set(t,o=a)),e=s}return t(o,...e)})(tt);
120
+ `;window.ftReduxStores||(window.ftReduxStores={});const To=Symbol("elementInternals");var _o,Go,Vo;const Yo=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Vo=null===(Go=null===(_o=window.safari)||void 0===_o?void 0:_o.pushNotification)||void 0===Go?void 0:Go.toString())&&void 0!==Vo?Vo:""),Jo=Symbol.for(""),qo=t=>{if(t?.r===Jo)return t?._$litStatic$},Xo=t=>({_$litStatic$:t,r:Jo}),Qo=new Map,te=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],s=[];let l,c=0,h=!1;for(;c<i;){for(l=o[c];c<i&&void 0!==(n=e[c],r=qo(n));)l+=r+o[++c],h=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(o[i]),h){const t=a.join("$$lit$$");void 0===(o=Qo.get(t))&&(a.raw=a,Qo.set(t,o=a)),e=s}return t(o,...e)})(tt);
117
121
  /**
118
122
  * @license
119
123
  * Copyright 2020 Google LLC
120
124
  * SPDX-License-Identifier: BSD-3-Clause
121
- */var te;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(te||(te={}));const oe=Co.extend("--ft-typography-font-family","",Lo.titleFont),ee=Co.extend("--ft-typography-font-family","",Lo.contentFont),ie={fontFamily:ee,fontSize:Co.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Co.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Co.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Co.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Co.create("--ft-typography-text-transform","","UNKNOWN","inherit")},re=Co.extend("--ft-typography-title-font-family","",oe),ne=Co.extend("--ft-typography-title-font-size","",ie.fontSize,"20px"),ae=Co.extend("--ft-typography-title-font-weight","",ie.fontWeight,"normal"),se=Co.extend("--ft-typography-title-letter-spacing","",ie.letterSpacing,"0.15px"),le=Co.extend("--ft-typography-title-line-height","",ie.lineHeight,"1.2"),ce=Co.extend("--ft-typography-title-text-transform","",ie.textTransform,"inherit"),pe=Co.extend("--ft-typography-title-dense-font-family","",oe),he=Co.extend("--ft-typography-title-dense-font-size","",ie.fontSize,"14px"),fe=Co.extend("--ft-typography-title-dense-font-weight","",ie.fontWeight,"normal"),de=Co.extend("--ft-typography-title-dense-letter-spacing","",ie.letterSpacing,"0.105px"),ue=Co.extend("--ft-typography-title-dense-line-height","",ie.lineHeight,"1.7"),ye=Co.extend("--ft-typography-title-dense-text-transform","",ie.textTransform,"inherit"),ge=Co.extend("--ft-typography-subtitle1-font-family","",ee),be=Co.extend("--ft-typography-subtitle1-font-size","",ie.fontSize,"16px"),me=Co.extend("--ft-typography-subtitle1-font-weight","",ie.fontWeight,"600"),xe=Co.extend("--ft-typography-subtitle1-letter-spacing","",ie.letterSpacing,"0.144px"),ve=Co.extend("--ft-typography-subtitle1-line-height","",ie.lineHeight,"1.5"),Oe=Co.extend("--ft-typography-subtitle1-text-transform","",ie.textTransform,"inherit"),Se=Co.extend("--ft-typography-subtitle2-font-family","",ee),Ne=Co.extend("--ft-typography-subtitle2-font-size","",ie.fontSize,"14px"),we=Co.extend("--ft-typography-subtitle2-font-weight","",ie.fontWeight,"normal"),$e=Co.extend("--ft-typography-subtitle2-letter-spacing","",ie.letterSpacing,"0.098px"),Ce=Co.extend("--ft-typography-subtitle2-line-height","",ie.lineHeight,"1.7"),ke=Co.extend("--ft-typography-subtitle2-text-transform","",ie.textTransform,"inherit"),Re=Co.extend("--ft-typography-body1-font-family","",ee),Ee=Co.extend("--ft-typography-body1-font-size","",ie.fontSize,"16px"),Ue=Co.extend("--ft-typography-body1-font-weight","",ie.fontWeight,"normal"),Ie=Co.extend("--ft-typography-body1-letter-spacing","",ie.letterSpacing,"0.496px"),Le=Co.extend("--ft-typography-body1-line-height","",ie.lineHeight,"1.5"),We=Co.extend("--ft-typography-body1-text-transform","",ie.textTransform,"inherit"),ze={fontFamily:Co.extend("--ft-typography-body2-font-family","",ee),fontSize:Co.extend("--ft-typography-body2-font-size","",ie.fontSize,"14px"),fontWeight:Co.extend("--ft-typography-body2-font-weight","",ie.fontWeight,"normal"),letterSpacing:Co.extend("--ft-typography-body2-letter-spacing","",ie.letterSpacing,"0.252px"),lineHeight:Co.extend("--ft-typography-body2-line-height","",ie.lineHeight,"1.4"),textTransform:Co.extend("--ft-typography-body2-text-transform","",ie.textTransform,"inherit")},Ke=Co.extend("--ft-typography-caption-font-family","",ee),Fe=Co.extend("--ft-typography-caption-font-size","",ie.fontSize,"12px"),Be=Co.extend("--ft-typography-caption-font-weight","",ie.fontWeight,"normal"),Ze=Co.extend("--ft-typography-caption-letter-spacing","",ie.letterSpacing,"0.396px"),De=Co.extend("--ft-typography-caption-line-height","",ie.lineHeight,"1.33"),Me=Co.extend("--ft-typography-caption-text-transform","",ie.textTransform,"inherit"),Ae=Co.extend("--ft-typography-breadcrumb-font-family","",ee),Pe=Co.extend("--ft-typography-breadcrumb-font-size","",ie.fontSize,"10px"),He=Co.extend("--ft-typography-breadcrumb-font-weight","",ie.fontWeight,"normal"),je=Co.extend("--ft-typography-breadcrumb-letter-spacing","",ie.letterSpacing,"0.33px"),Te=Co.extend("--ft-typography-breadcrumb-line-height","",ie.lineHeight,"1.6"),_e=Co.extend("--ft-typography-breadcrumb-text-transform","",ie.textTransform,"inherit"),Ge=Co.extend("--ft-typography-overline-font-family","",ee),Ve=Co.extend("--ft-typography-overline-font-size","",ie.fontSize,"10px"),Ye=Co.extend("--ft-typography-overline-font-weight","",ie.fontWeight,"normal"),Je=Co.extend("--ft-typography-overline-letter-spacing","",ie.letterSpacing,"1.5px"),qe=Co.extend("--ft-typography-overline-line-height","",ie.lineHeight,"1.6"),Xe=Co.extend("--ft-typography-overline-text-transform","",ie.textTransform,"uppercase"),Qe={fontFamily:Co.extend("--ft-typography-button-font-family","",ee),fontSize:Co.extend("--ft-typography-button-font-size","",ie.fontSize,"14px"),fontWeight:Co.extend("--ft-typography-button-font-weight","",ie.fontWeight,"600"),letterSpacing:Co.extend("--ft-typography-button-letter-spacing","",ie.letterSpacing,"1.246px"),lineHeight:Co.extend("--ft-typography-button-line-height","",ie.lineHeight,"1.15"),textTransform:Co.extend("--ft-typography-button-text-transform","",ie.textTransform,"uppercase")},ti=wt`
125
+ */var oe;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(oe||(oe={}));const ee=Co.extend("--ft-typography-font-family","",Lo.titleFont),ie=Co.extend("--ft-typography-font-family","",Lo.contentFont),re={fontFamily:ie,fontSize:Co.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Co.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Co.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Co.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Co.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ne=Co.extend("--ft-typography-title-font-family","",ee),ae=Co.extend("--ft-typography-title-font-size","",re.fontSize,"20px"),se=Co.extend("--ft-typography-title-font-weight","",re.fontWeight,"normal"),le=Co.extend("--ft-typography-title-letter-spacing","",re.letterSpacing,"0.15px"),ce=Co.extend("--ft-typography-title-line-height","",re.lineHeight,"1.2"),he=Co.extend("--ft-typography-title-text-transform","",re.textTransform,"inherit"),pe=Co.extend("--ft-typography-title-dense-font-family","",ee),fe=Co.extend("--ft-typography-title-dense-font-size","",re.fontSize,"14px"),de=Co.extend("--ft-typography-title-dense-font-weight","",re.fontWeight,"normal"),ue=Co.extend("--ft-typography-title-dense-letter-spacing","",re.letterSpacing,"0.105px"),ye=Co.extend("--ft-typography-title-dense-line-height","",re.lineHeight,"1.7"),ge=Co.extend("--ft-typography-title-dense-text-transform","",re.textTransform,"inherit"),be=Co.extend("--ft-typography-subtitle1-font-family","",ie),me=Co.extend("--ft-typography-subtitle1-font-size","",re.fontSize,"16px"),xe=Co.extend("--ft-typography-subtitle1-font-weight","",re.fontWeight,"600"),ve=Co.extend("--ft-typography-subtitle1-letter-spacing","",re.letterSpacing,"0.144px"),Oe=Co.extend("--ft-typography-subtitle1-line-height","",re.lineHeight,"1.5"),Se=Co.extend("--ft-typography-subtitle1-text-transform","",re.textTransform,"inherit"),Ne=Co.extend("--ft-typography-subtitle2-font-family","",ie),we=Co.extend("--ft-typography-subtitle2-font-size","",re.fontSize,"14px"),$e=Co.extend("--ft-typography-subtitle2-font-weight","",re.fontWeight,"normal"),Ce=Co.extend("--ft-typography-subtitle2-letter-spacing","",re.letterSpacing,"0.098px"),ke=Co.extend("--ft-typography-subtitle2-line-height","",re.lineHeight,"1.7"),Re=Co.extend("--ft-typography-subtitle2-text-transform","",re.textTransform,"inherit"),Ee=Co.extend("--ft-typography-body1-font-family","",ie),Ue=Co.extend("--ft-typography-body1-font-size","",re.fontSize,"16px"),Ie=Co.extend("--ft-typography-body1-font-weight","",re.fontWeight,"normal"),Le=Co.extend("--ft-typography-body1-letter-spacing","",re.letterSpacing,"0.496px"),We=Co.extend("--ft-typography-body1-line-height","",re.lineHeight,"1.5"),ze=Co.extend("--ft-typography-body1-text-transform","",re.textTransform,"inherit"),Ke={fontFamily:Co.extend("--ft-typography-body2-font-family","",ie),fontSize:Co.extend("--ft-typography-body2-font-size","",re.fontSize,"14px"),fontWeight:Co.extend("--ft-typography-body2-font-weight","",re.fontWeight,"normal"),letterSpacing:Co.extend("--ft-typography-body2-letter-spacing","",re.letterSpacing,"0.252px"),lineHeight:Co.extend("--ft-typography-body2-line-height","",re.lineHeight,"1.4"),textTransform:Co.extend("--ft-typography-body2-text-transform","",re.textTransform,"inherit")},Fe=Co.extend("--ft-typography-caption-font-family","",ie),Be=Co.extend("--ft-typography-caption-font-size","",re.fontSize,"12px"),Ze=Co.extend("--ft-typography-caption-font-weight","",re.fontWeight,"normal"),De=Co.extend("--ft-typography-caption-letter-spacing","",re.letterSpacing,"0.396px"),Me=Co.extend("--ft-typography-caption-line-height","",re.lineHeight,"1.33"),Ae=Co.extend("--ft-typography-caption-text-transform","",re.textTransform,"inherit"),Pe=Co.extend("--ft-typography-breadcrumb-font-family","",ie),He=Co.extend("--ft-typography-breadcrumb-font-size","",re.fontSize,"10px"),je=Co.extend("--ft-typography-breadcrumb-font-weight","",re.fontWeight,"normal"),Te=Co.extend("--ft-typography-breadcrumb-letter-spacing","",re.letterSpacing,"0.33px"),_e=Co.extend("--ft-typography-breadcrumb-line-height","",re.lineHeight,"1.6"),Ge=Co.extend("--ft-typography-breadcrumb-text-transform","",re.textTransform,"inherit"),Ve=Co.extend("--ft-typography-overline-font-family","",ie),Ye=Co.extend("--ft-typography-overline-font-size","",re.fontSize,"10px"),Je=Co.extend("--ft-typography-overline-font-weight","",re.fontWeight,"normal"),qe=Co.extend("--ft-typography-overline-letter-spacing","",re.letterSpacing,"1.5px"),Xe=Co.extend("--ft-typography-overline-line-height","",re.lineHeight,"1.6"),Qe=Co.extend("--ft-typography-overline-text-transform","",re.textTransform,"uppercase"),ti={fontFamily:Co.extend("--ft-typography-button-font-family","",ie),fontSize:Co.extend("--ft-typography-button-font-size","",re.fontSize,"14px"),fontWeight:Co.extend("--ft-typography-button-font-weight","",re.fontWeight,"600"),letterSpacing:Co.extend("--ft-typography-button-letter-spacing","",re.letterSpacing,"1.246px"),lineHeight:Co.extend("--ft-typography-button-line-height","",re.lineHeight,"1.15"),textTransform:Co.extend("--ft-typography-button-text-transform","",re.textTransform,"uppercase")},oi=wt`
122
126
  .ft-typography--title {
123
- font-family: ${re};
124
- font-size: ${ne};
125
- font-weight: ${ae};
126
- letter-spacing: ${se};
127
- line-height: ${le};
128
- text-transform: ${ce};
129
- }
130
- `,oi=wt`
127
+ font-family: ${ne};
128
+ font-size: ${ae};
129
+ font-weight: ${se};
130
+ letter-spacing: ${le};
131
+ line-height: ${ce};
132
+ text-transform: ${he};
133
+ }
134
+ `,ei=wt`
131
135
  .ft-typography--title-dense {
132
136
  font-family: ${pe};
133
- font-size: ${he};
134
- font-weight: ${fe};
135
- letter-spacing: ${de};
136
- line-height: ${ue};
137
- text-transform: ${ye};
137
+ font-size: ${fe};
138
+ font-weight: ${de};
139
+ letter-spacing: ${ue};
140
+ line-height: ${ye};
141
+ text-transform: ${ge};
138
142
  }
139
- `,ei=wt`
143
+ `,ii=wt`
140
144
  .ft-typography--subtitle1 {
141
- font-family: ${ge};
142
- font-size: ${be};
143
- font-weight: ${me};
144
- letter-spacing: ${xe};
145
- line-height: ${ve};
146
- text-transform: ${Oe};
145
+ font-family: ${be};
146
+ font-size: ${me};
147
+ font-weight: ${xe};
148
+ letter-spacing: ${ve};
149
+ line-height: ${Oe};
150
+ text-transform: ${Se};
147
151
  }
148
- `,ii=wt`
152
+ `,ri=wt`
149
153
  .ft-typography--subtitle2 {
150
- font-family: ${Se};
151
- font-size: ${Ne};
152
- font-weight: ${we};
153
- letter-spacing: ${$e};
154
- line-height: ${Ce};
155
- text-transform: ${ke};
154
+ font-family: ${Ne};
155
+ font-size: ${we};
156
+ font-weight: ${$e};
157
+ letter-spacing: ${Ce};
158
+ line-height: ${ke};
159
+ text-transform: ${Re};
156
160
  }
157
161
 
158
- `,ri=wt`
159
- .ft-typography--body1 {
160
- font-family: ${Re};
161
- font-size: ${Ee};
162
- font-weight: ${Ue};
163
- letter-spacing: ${Ie};
164
- line-height: ${Le};
165
- text-transform: ${We};
166
- }
167
162
  `,ni=wt`
168
- .ft-typography--body2 {
169
- font-family: ${ze.fontFamily};
170
- font-size: ${ze.fontSize};
171
- font-weight: ${ze.fontWeight};
172
- letter-spacing: ${ze.letterSpacing};
173
- line-height: ${ze.lineHeight};
174
- text-transform: ${ze.textTransform};
163
+ .ft-typography--body1 {
164
+ font-family: ${Ee};
165
+ font-size: ${Ue};
166
+ font-weight: ${Ie};
167
+ letter-spacing: ${Le};
168
+ line-height: ${We};
169
+ text-transform: ${ze};
175
170
  }
176
171
  `,ai=wt`
177
- .ft-typography--caption {
178
- font-family: ${Ke};
179
- font-size: ${Fe};
180
- font-weight: ${Be};
181
- letter-spacing: ${Ze};
182
- line-height: ${De};
183
- text-transform: ${Me};
172
+ .ft-typography--body2 {
173
+ font-family: ${Ke.fontFamily};
174
+ font-size: ${Ke.fontSize};
175
+ font-weight: ${Ke.fontWeight};
176
+ letter-spacing: ${Ke.letterSpacing};
177
+ line-height: ${Ke.lineHeight};
178
+ text-transform: ${Ke.textTransform};
184
179
  }
185
180
  `,si=wt`
186
- .ft-typography--breadcrumb {
187
- font-family: ${Ae};
188
- font-size: ${Pe};
189
- font-weight: ${He};
190
- letter-spacing: ${je};
191
- line-height: ${Te};
192
- text-transform: ${_e};
181
+ .ft-typography--caption {
182
+ font-family: ${Fe};
183
+ font-size: ${Be};
184
+ font-weight: ${Ze};
185
+ letter-spacing: ${De};
186
+ line-height: ${Me};
187
+ text-transform: ${Ae};
193
188
  }
194
189
  `,li=wt`
195
- .ft-typography--overline {
196
- font-family: ${Ge};
197
- font-size: ${Ve};
198
- font-weight: ${Ye};
199
- letter-spacing: ${Je};
200
- line-height: ${qe};
201
- text-transform: ${Xe};
190
+ .ft-typography--breadcrumb {
191
+ font-family: ${Pe};
192
+ font-size: ${He};
193
+ font-weight: ${je};
194
+ letter-spacing: ${Te};
195
+ line-height: ${_e};
196
+ text-transform: ${Ge};
202
197
  }
203
198
  `,ci=wt`
199
+ .ft-typography--overline {
200
+ font-family: ${Ve};
201
+ font-size: ${Ye};
202
+ font-weight: ${Je};
203
+ letter-spacing: ${qe};
204
+ line-height: ${Xe};
205
+ text-transform: ${Qe};
206
+ }
207
+ `,hi=wt`
204
208
  .ft-typography--button {
205
- font-family: ${Qe.fontFamily};
206
- font-size: ${Qe.fontSize};
207
- font-weight: ${Qe.fontWeight};
208
- letter-spacing: ${Qe.letterSpacing};
209
- line-height: ${Qe.lineHeight};
210
- text-transform: ${Qe.textTransform};
209
+ font-family: ${ti.fontFamily};
210
+ font-size: ${ti.fontSize};
211
+ font-weight: ${ti.fontWeight};
212
+ letter-spacing: ${ti.letterSpacing};
213
+ line-height: ${ti.lineHeight};
214
+ text-transform: ${ti.textTransform};
211
215
  }
212
216
  `,pi=wt`
213
217
  .ft-typography {
214
218
  vertical-align: inherit;
215
219
  }
216
- `,hi=[Object.keys(Eo).map((t=>function(t){const o=Eo[t];return wt`
220
+ `,fi=[Object.keys(Eo).map((t=>function(t){const o=Eo[t];return wt`
217
221
  .ft-typography--${Nt(t)} {
218
222
  font-family: ${o.fontFamily};
219
223
  font-size: ${o.fontSize};
@@ -222,25 +226,25 @@ let No=class extends Mt{constructor(){super(...arguments),this.renderOptions={ho
222
226
  line-height: ${o.lineHeight};
223
227
  text-transform: ${o.textCase};
224
228
  }
225
- `}(t)))];var fi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class di extends Ao{constructor(){super(...arguments),this.variant=te.body1}render(){return this.element?Qo`
226
- <${qo(this.element)}
229
+ `}(t)))];var di=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ui extends Ao{constructor(){super(...arguments),this.variant=oe.body1}render(){return this.element?te`
230
+ <${Xo(this.element)}
227
231
  class="ft-typography ft-typography--${this.variant}">
228
232
  <slot></slot>
229
- </${qo(this.element)}>
230
- `:Qo`
233
+ </${Xo(this.element)}>
234
+ `:te`
231
235
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
232
- `}}di.styles=[ti,oi,ei,ii,ri,ni,ai,si,li,ci,pi,...hi],fi([$()],di.prototype,"element",void 0),fi([$()],di.prototype,"variant",void 0),L("ft-typography")(di);
236
+ `}}ui.styles=[oi,ei,ii,ri,ni,ai,si,li,ci,hi,pi,...fi],di([$()],ui.prototype,"element",void 0),di([$()],ui.prototype,"variant",void 0),L("ft-typography")(ui);
233
237
  /**
234
238
  * @license
235
239
  * Copyright 2017 Google LLC
236
240
  * SPDX-License-Identifier: BSD-3-Clause
237
241
  */
238
- const ui=1,yi=2,gi=t=>(...o)=>({_$litDirective$:t,values:o});class bi{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}}
242
+ const yi=1,gi=2,bi=t=>(...o)=>({_$litDirective$:t,values:o});class mi{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}}
239
243
  /**
240
244
  * @license
241
245
  * Copyright 2020 Google LLC
242
246
  * SPDX-License-Identifier: BSD-3-Clause
243
- */const{D:mi}=gt,xi=()=>document.createComment(""),vi=(t,o,e)=>{const i=t._$AA.parentNode,r=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=i.insertBefore(xi(),r),n=i.insertBefore(xi(),r);e=new mi(o,n,t,t.options)}else{const o=e._$AB.nextSibling,n=e._$AM,a=n!==t;if(a){let o;e._$AQ?.(t),e._$AM=t,void 0!==e._$AP&&(o=t._$AU)!==n._$AU&&e._$AP(o)}if(o!==r||a){let t=e._$AA;for(;t!==o;){const o=t.nextSibling;i.insertBefore(t,r),t=o}}}return e},Oi=(t,o,e=t)=>(t._$AI(o,e),t),Si={},Ni=t=>{t._$AP?.(!1,!0);let o=t._$AA;const e=t._$AB.nextSibling;for(;o!==e;){const t=o.nextSibling;o.remove(),o=t}},wi=(t,o,e)=>{const i=new Map;for(let r=o;r<=e;r++)i.set(t[r],r);return i},$i=gi(class extends bi{constructor(t){if(super(t),t.type!==yi)throw Error("repeat() can only be used in text expressions")}ht(t,o,e){let i;void 0===e?e=o:void 0!==o&&(i=o);const r=[],n=[];let a=0;for(const o of t)r[a]=i?i(o,a):a,n[a]=e(o,a),a++;return{values:n,keys:r}}render(t,o,e){return this.ht(t,o,e).values}update(t,[o,e,i]){const r=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(o,e,i);if(!Array.isArray(r))return this.dt=a,n;const s=this.dt??=[],l=[];let c,p,h=0,f=r.length-1,d=0,u=n.length-1;for(;h<=f&&d<=u;)if(null===r[h])h++;else if(null===r[f])f--;else if(s[h]===a[d])l[d]=Oi(r[h],n[d]),h++,d++;else if(s[f]===a[u])l[u]=Oi(r[f],n[u]),f--,u--;else if(s[h]===a[u])l[u]=Oi(r[h],n[u]),vi(t,l[u+1],r[h]),h++,u--;else if(s[f]===a[d])l[d]=Oi(r[f],n[d]),vi(t,r[h],r[f]),f--,d++;else if(void 0===c&&(c=wi(a,d,u),p=wi(s,h,f)),c.has(s[h]))if(c.has(s[f])){const o=p.get(a[d]),e=void 0!==o?r[o]:null;if(null===e){const o=vi(t,r[h]);Oi(o,n[d]),l[d]=o}else l[d]=Oi(e,n[d]),vi(t,r[h],e),r[o]=null;d++}else Ni(r[f]),f--;else Ni(r[h]),h++;for(;d<=u;){const o=vi(t,l[u+1]);Oi(o,n[d]),l[d++]=o}for(;h<=f;){const t=r[h++];null!==t&&Ni(t)}return this.dt=a,((t,o=Si)=>{t._$AH=o})(t,l),ot}}),Ci=Co.extend("--ft-ripple-color","",Lo.colorContent),ki={color:Ci,backgroundColor:Co.extend("--ft-ripple-background-color","",Ci),opacityContentOnSurfacePressed:Co.external(Lo.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Co.external(Lo.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Co.external(Lo.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Co.external(Lo.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Co.create("--ft-ripple-border-radius","","SIZE","0px")},Ri=Co.extend("--ft-ripple-color","",Lo.colorPrimary),Ei=Ri,Ui=Co.extend("--ft-ripple-background-color","",Ri),Ii=Co.extend("--ft-ripple-color","",Lo.colorSecondary),Li=Ii,Wi=Co.extend("--ft-ripple-background-color","",Ii),zi=wt`
247
+ */const{D:xi}=gt,vi=()=>document.createComment(""),Oi=(t,o,e)=>{const i=t._$AA.parentNode,r=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=i.insertBefore(vi(),r),n=i.insertBefore(vi(),r);e=new xi(o,n,t,t.options)}else{const o=e._$AB.nextSibling,n=e._$AM,a=n!==t;if(a){let o;e._$AQ?.(t),e._$AM=t,void 0!==e._$AP&&(o=t._$AU)!==n._$AU&&e._$AP(o)}if(o!==r||a){let t=e._$AA;for(;t!==o;){const o=t.nextSibling;i.insertBefore(t,r),t=o}}}return e},Si=(t,o,e=t)=>(t._$AI(o,e),t),Ni={},wi=t=>{t._$AP?.(!1,!0);let o=t._$AA;const e=t._$AB.nextSibling;for(;o!==e;){const t=o.nextSibling;o.remove(),o=t}},$i=(t,o,e)=>{const i=new Map;for(let r=o;r<=e;r++)i.set(t[r],r);return i},Ci=bi(class extends mi{constructor(t){if(super(t),t.type!==gi)throw Error("repeat() can only be used in text expressions")}ht(t,o,e){let i;void 0===e?e=o:void 0!==o&&(i=o);const r=[],n=[];let a=0;for(const o of t)r[a]=i?i(o,a):a,n[a]=e(o,a),a++;return{values:n,keys:r}}render(t,o,e){return this.ht(t,o,e).values}update(t,[o,e,i]){const r=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(o,e,i);if(!Array.isArray(r))return this.dt=a,n;const s=this.dt??=[],l=[];let c,h,p=0,f=r.length-1,d=0,u=n.length-1;for(;p<=f&&d<=u;)if(null===r[p])p++;else if(null===r[f])f--;else if(s[p]===a[d])l[d]=Si(r[p],n[d]),p++,d++;else if(s[f]===a[u])l[u]=Si(r[f],n[u]),f--,u--;else if(s[p]===a[u])l[u]=Si(r[p],n[u]),Oi(t,l[u+1],r[p]),p++,u--;else if(s[f]===a[d])l[d]=Si(r[f],n[d]),Oi(t,r[p],r[f]),f--,d++;else if(void 0===c&&(c=$i(a,d,u),h=$i(s,p,f)),c.has(s[p]))if(c.has(s[f])){const o=h.get(a[d]),e=void 0!==o?r[o]:null;if(null===e){const o=Oi(t,r[p]);Si(o,n[d]),l[d]=o}else l[d]=Si(e,n[d]),Oi(t,r[p],e),r[o]=null;d++}else wi(r[f]),f--;else wi(r[p]),p++;for(;d<=u;){const o=Oi(t,l[u+1]);Si(o,n[d]),l[d++]=o}for(;p<=f;){const t=r[p++];null!==t&&wi(t)}return this.dt=a,((t,o=Ni)=>{t._$AH=o})(t,l),ot}}),ki=Co.extend("--ft-ripple-color","",Lo.colorContent),Ri={color:ki,backgroundColor:Co.extend("--ft-ripple-background-color","",ki),opacityContentOnSurfacePressed:Co.external(Lo.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Co.external(Lo.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Co.external(Lo.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Co.external(Lo.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Co.create("--ft-ripple-border-radius","","SIZE","0px")},Ei=Co.extend("--ft-ripple-color","",Lo.colorPrimary),Ui=Ei,Ii=Co.extend("--ft-ripple-background-color","",Ei),Li=Co.extend("--ft-ripple-color","",Lo.colorSecondary),Wi=Li,zi=Co.extend("--ft-ripple-background-color","",Li),Ki=wt`
244
248
  :host {
245
249
  display: contents;
246
250
  }
@@ -253,7 +257,7 @@ const ui=1,yi=2,gi=t=>(...o)=>({_$litDirective$:t,values:o});class bi{constructo
253
257
 
254
258
  .ft-ripple:not(.ft-ripple--unbounded) {
255
259
  overflow: hidden;
256
- border-radius: ${ki.borderRadius};
260
+ border-radius: ${Ri.borderRadius};
257
261
  }
258
262
 
259
263
  .ft-ripple .ft-ripple--background,
@@ -287,27 +291,27 @@ const ui=1,yi=2,gi=t=>(...o)=>({_$litDirective$:t,values:o});class bi{constructo
287
291
  }
288
292
 
289
293
  .ft-ripple .ft-ripple--background {
290
- background-color: ${ki.backgroundColor};
294
+ background-color: ${Ri.backgroundColor};
291
295
  }
292
296
 
293
297
  .ft-ripple .ft-ripple--effect {
294
- background-color: ${ki.color};
298
+ background-color: ${Ri.color};
295
299
  }
296
300
 
297
301
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
298
- background-color: ${Wi};
302
+ background-color: ${zi};
299
303
  }
300
304
 
301
305
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
302
- background-color: ${Li};
306
+ background-color: ${Wi};
303
307
  }
304
308
 
305
309
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
306
- background-color: ${Ui};
310
+ background-color: ${Ii};
307
311
  }
308
312
 
309
313
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
310
- background-color: ${Ei};
314
+ background-color: ${Ui};
311
315
  }
312
316
 
313
317
  .ft-ripple .ft-ripple--background {
@@ -337,22 +341,22 @@ const ui=1,yi=2,gi=t=>(...o)=>({_$litDirective$:t,values:o});class bi{constructo
337
341
  }
338
342
 
339
343
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
340
- opacity: ${ki.opacityContentOnSurfaceHover};
344
+ opacity: ${Ri.opacityContentOnSurfaceHover};
341
345
  }
342
346
 
343
347
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
344
- opacity: ${ki.opacityContentOnSurfaceSelected};
348
+ opacity: ${Ri.opacityContentOnSurfaceSelected};
345
349
  }
346
350
 
347
351
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
348
- opacity: ${ki.opacityContentOnSurfaceFocused};
352
+ opacity: ${Ri.opacityContentOnSurfaceFocused};
349
353
  }
350
354
 
351
355
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
352
- opacity: ${ki.opacityContentOnSurfacePressed};
356
+ opacity: ${Ri.opacityContentOnSurfacePressed};
353
357
  transform: translate(-50%, -50%) scale(1);
354
358
  }
355
- `,Ki={color:Co.extend("--ft-loader-color","",Lo.colorPrimary),size:Co.create("--ft-loader-size","","SIZE","80px")},Fi=wt`
359
+ `,Fi={color:Co.extend("--ft-loader-color","",Lo.colorPrimary),size:Co.create("--ft-loader-size","","SIZE","80px")},Bi=wt`
356
360
  :host {
357
361
  line-height: 0;
358
362
  }
@@ -361,8 +365,8 @@ const ui=1,yi=2,gi=t=>(...o)=>({_$litDirective$:t,values:o});class bi{constructo
361
365
  display: inline-block;
362
366
  position: relative;
363
367
 
364
- width: ${Ki.size};
365
- height: ${Ki.size};
368
+ width: ${Fi.size};
369
+ height: ${Fi.size};
366
370
  }
367
371
 
368
372
  .ft-loader div {
@@ -371,7 +375,7 @@ const ui=1,yi=2,gi=t=>(...o)=>({_$litDirective$:t,values:o});class bi{constructo
371
375
  width: 25%;
372
376
  height: 25%;
373
377
  border-radius: 50%;
374
- background: ${Ki.color};
378
+ background: ${Fi.color};
375
379
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
376
380
  }
377
381
 
@@ -418,10 +422,10 @@ const ui=1,yi=2,gi=t=>(...o)=>({_$litDirective$:t,values:o});class bi{constructo
418
422
  transform: translate(0, 0);
419
423
  }
420
424
  100% {
421
- transform: translate(calc(0.35 * ${Ki.size}), 0);
425
+ transform: translate(calc(0.35 * ${Fi.size}), 0);
422
426
  }
423
427
  }
424
- `,Bi={size:Co.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Co.extend("--ft-icon-fluid-topics-font-family","",Co.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Co.extend("--ft-icon-file-format-font-family","",Co.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Co.extend("--ft-icon-material-font-family","",Co.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Co.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Zi=wt`
428
+ `,Zi={size:Co.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Co.extend("--ft-icon-fluid-topics-font-family","",Co.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Co.extend("--ft-icon-file-format-font-family","",Co.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Co.extend("--ft-icon-material-font-family","",Co.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Co.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Di=wt`
425
429
  :host, i.ft-icon {
426
430
  display: inline-flex;
427
431
  align-items: center;
@@ -430,14 +434,14 @@ const ui=1,yi=2,gi=t=>(...o)=>({_$litDirective$:t,values:o});class bi{constructo
430
434
  }
431
435
 
432
436
  :host {
433
- width: ${Bi.size};
434
- height: ${Bi.size};
437
+ width: ${Zi.size};
438
+ height: ${Zi.size};
435
439
  }
436
440
 
437
441
  i.ft-icon {
438
442
  width: 100%;
439
443
  height: 100%;
440
- font-size: ${Bi.size};
444
+ font-size: ${Zi.size};
441
445
  line-height: 1;
442
446
  font-weight: normal;
443
447
  text-transform: none;
@@ -448,28 +452,28 @@ const ui=1,yi=2,gi=t=>(...o)=>({_$litDirective$:t,values:o});class bi{constructo
448
452
  text-rendering: auto;
449
453
  -webkit-font-smoothing: antialiased;
450
454
  -moz-osx-font-smoothing: grayscale;
451
- vertical-align: ${Bi.verticalAlign};
455
+ vertical-align: ${Zi.verticalAlign};
452
456
  }
453
457
 
454
458
  i.ft-icon.ft-icon--fluid-topics {
455
- font-family: ${Bi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
459
+ font-family: ${Zi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
456
460
 
457
461
  /* Ugly fix because font is broken */
458
- font-size: calc(0.75 * ${Bi.size});
459
- line-height: ${Bi.size};
462
+ font-size: calc(0.75 * ${Zi.size});
463
+ line-height: ${Zi.size};
460
464
  position: relative;
461
465
  top: -4%;
462
466
  justify-content: center;
463
467
  }
464
468
 
465
469
  .ft-icon--file-format {
466
- font-family: ${Bi.fileFormatFontFamily}, ft-mime, sans-serif;
470
+ font-family: ${Zi.fileFormatFontFamily}, ft-mime, sans-serif;
467
471
  }
468
472
 
469
473
  .ft-icon--material {
470
- font-family: ${Bi.materialFontFamily}, "Material Icons", sans-serif;
474
+ font-family: ${Zi.materialFontFamily}, "Material Icons", sans-serif;
471
475
  }
472
- `,Di=Co.extend("--ft-button-color","",Lo.colorPrimary),Mi={backgroundColor:Co.extend("--ft-button-background-color","",Lo.colorSurface),borderRadius:Co.extend("--ft-button-border-radius","",Lo.borderRadiusL),color:Di,fontSize:Co.extend("--ft-button-font-size","",Qe.fontSize),iconSize:Co.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Co.extend("--ft-button-ripple-color","",Di),verticalPadding:Co.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Co.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Co.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Co.external(Lo.colorOpacityDisabled,"Design system")},Ai=Co.extend("--ft-button-primary-color","",Co.extend("--ft-button-color","",Lo.colorOnPrimary)),Pi={backgroundColor:Co.extend("--ft-button-primary-background-color","",Co.extend("--ft-button-background-color","",Lo.colorPrimary)),color:Ai,rippleColor:Co.extend("--ft-button-primary-ripple-color","",Ai)},Hi=Co.extend("--ft-button-dense-border-radius","",Co.extend("--ft-button-border-radius","",Lo.borderRadiusM)),ji=Co.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Ti=Co.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),_i=Co.create("--ft-button-dense-icon-padding","","SIZE","4px"),Gi=[wt`
476
+ `,Mi=Co.extend("--ft-button-color","",Lo.colorPrimary),Ai={backgroundColor:Co.extend("--ft-button-background-color","",Lo.colorSurface),borderRadius:Co.extend("--ft-button-border-radius","",Lo.borderRadiusL),color:Mi,fontSize:Co.extend("--ft-button-font-size","",ti.fontSize),iconSize:Co.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Co.extend("--ft-button-ripple-color","",Mi),verticalPadding:Co.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Co.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Co.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Co.external(Lo.colorOpacityDisabled,"Design system")},Pi=Co.extend("--ft-button-primary-color","",Co.extend("--ft-button-color","",Lo.colorOnPrimary)),Hi={backgroundColor:Co.extend("--ft-button-primary-background-color","",Co.extend("--ft-button-background-color","",Lo.colorPrimary)),color:Pi,rippleColor:Co.extend("--ft-button-primary-ripple-color","",Pi)},ji=Co.extend("--ft-button-dense-border-radius","",Co.extend("--ft-button-border-radius","",Lo.borderRadiusM)),Ti=Co.create("--ft-button-dense-vertical-padding","","SIZE","2px"),_i=Co.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Gi=Co.create("--ft-button-dense-icon-padding","","SIZE","4px"),Vi=[wt`
473
477
  :host {
474
478
  display: inline-block;
475
479
  max-width: 100%;
@@ -480,7 +484,7 @@ const ui=1,yi=2,gi=t=>(...o)=>({_$litDirective$:t,values:o});class bi{constructo
480
484
  box-shadow: 0px 0px 0px transparent;
481
485
  border: 0px solid transparent;
482
486
  text-shadow: 0px 0px 0px transparent;
483
- font-size: ${Mi.fontSize};
487
+ font-size: ${Ai.fontSize};
484
488
  }
485
489
 
486
490
  button:hover {
@@ -509,31 +513,31 @@ const ui=1,yi=2,gi=t=>(...o)=>({_$litDirective$:t,values:o});class bi{constructo
509
513
  border: none;
510
514
  pointer-events: auto;
511
515
 
512
- --ft-button-internal-line-height: max(calc(${Mi.fontSize} + 2px), ${Mi.iconSize});
513
- --ft-button-internal-color: ${Mi.color};
514
- ${ko(Bi.size,Mi.iconSize)};
515
- ${ko(ki.color,Mi.rippleColor)};
516
+ --ft-button-internal-line-height: max(calc(${Ai.fontSize} + 2px), ${Ai.iconSize});
517
+ --ft-button-internal-color: ${Ai.color};
518
+ ${ko(Zi.size,Ai.iconSize)};
519
+ ${ko(Ri.color,Ai.rippleColor)};
516
520
 
517
- border-radius: ${Mi.borderRadius};
518
- padding: ${Mi.verticalPadding} ${Mi.horizontalPadding};
519
- background-color: ${Mi.backgroundColor};
521
+ border-radius: ${Ai.borderRadius};
522
+ padding: ${Ai.verticalPadding} ${Ai.horizontalPadding};
523
+ background-color: ${Ai.backgroundColor};
520
524
  color: var(--ft-button-internal-color);
521
525
  -webkit-mask-image: radial-gradient(white, black);
522
526
  }
523
527
 
524
528
  .ft-button.ft-button--outlined {
525
529
  border: 1px solid var(--ft-button-internal-color);
526
- padding: calc(${Mi.verticalPadding} - 1px) calc(${Mi.horizontalPadding} - 1px);
530
+ padding: calc(${Ai.verticalPadding} - 1px) calc(${Ai.horizontalPadding} - 1px);
527
531
  }
528
532
 
529
533
  .ft-button.ft-button--dense {
530
- padding: ${ji} ${Ti};
531
- border-radius: ${Hi};
532
- gap: ${_i};
534
+ padding: ${Ti} ${_i};
535
+ border-radius: ${ji};
536
+ gap: ${Gi};
533
537
  }
534
538
 
535
539
  .ft-button.ft-button--dense.ft-button--outlined {
536
- padding: calc(${ji} - 1px) calc(${Ti} - 1px);
540
+ padding: calc(${Ti} - 1px) calc(${_i} - 1px);
537
541
  }
538
542
 
539
543
  .ft-button:not([disabled]):hover {
@@ -541,22 +545,22 @@ const ui=1,yi=2,gi=t=>(...o)=>({_$litDirective$:t,values:o});class bi{constructo
541
545
  }
542
546
 
543
547
  .ft-button--round {
544
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Mi.verticalPadding});
548
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ai.verticalPadding});
545
549
  }
546
550
 
547
551
  .ft-button--round.ft-button--dense {
548
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ji});
552
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ti});
549
553
  }
550
554
 
551
555
  .ft-button[disabled] {
552
556
  filter: grayscale(1);
553
- opacity: ${Mi.opacityDisabled};
557
+ opacity: ${Ai.opacityDisabled};
554
558
  }
555
559
 
556
560
  .ft-button.ft-button--primary {
557
- background-color: ${Pi.backgroundColor};
558
- --ft-button-internal-color: ${Pi.color};
559
- ${ko(ki.color,Pi.rippleColor)};
561
+ background-color: ${Hi.backgroundColor};
562
+ --ft-button-internal-color: ${Hi.color};
563
+ ${ko(Ri.color,Hi.rippleColor)};
560
564
  }
561
565
 
562
566
  .ft-button:focus {
@@ -569,13 +573,13 @@ const ui=1,yi=2,gi=t=>(...o)=>({_$litDirective$:t,values:o});class bi{constructo
569
573
  white-space: nowrap;
570
574
  text-overflow: ellipsis;
571
575
  display: block;
572
- margin: 0 ${Mi.iconPadding};
573
- ${ko(Qe.fontSize,"1em")};
574
- ${ko(Qe.lineHeight,"var(--ft-button-internal-line-height)")};
576
+ margin: 0 ${Ai.iconPadding};
577
+ ${ko(ti.fontSize,"1em")};
578
+ ${ko(ti.lineHeight,"var(--ft-button-internal-line-height)")};
575
579
  }
576
580
 
577
581
  .ft-button--dense .ft-button--label {
578
- margin: 0 ${_i};
582
+ margin: 0 ${Gi};
579
583
  }
580
584
 
581
585
  .ft-button--label[hidden] {
@@ -588,13 +592,13 @@ const ui=1,yi=2,gi=t=>(...o)=>({_$litDirective$:t,values:o});class bi{constructo
588
592
  }
589
593
 
590
594
  .ft-button--label[hidden] + ft-icon {
591
- margin: 0 calc(${Mi.horizontalPadding} * -1);
592
- padding: 0 ${Mi.verticalPadding};
595
+ margin: 0 calc(${Ai.horizontalPadding} * -1);
596
+ padding: 0 ${Ai.verticalPadding};
593
597
  }
594
598
 
595
599
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
596
- margin: 0 calc(${Ti} * -1);
597
- padding: 0 ${ji};
600
+ margin: 0 calc(${_i} * -1);
601
+ padding: 0 ${Ti};
598
602
  }
599
603
 
600
604
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -603,26 +607,26 @@ const ui=1,yi=2,gi=t=>(...o)=>({_$litDirective$:t,values:o});class bi{constructo
603
607
  }
604
608
 
605
609
  ft-loader {
606
- ${ko(Ki.size,Mi.iconSize)};
607
- ${ko(Ki.color,"var(--ft-button-internal-color)")};
610
+ ${ko(Fi.size,Ai.iconSize)};
611
+ ${ko(Fi.color,"var(--ft-button-internal-color)")};
608
612
  }
609
- `,Po],Vi=gi(class extends bi{constructor(t){if(super(t),t.type!==ui||"class"!==t.name||t.strings?.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((o=>t[o])).join(" ")+" "}update(t,[o]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const i=!!o[t];i===this.it.has(t)||this.st?.has(t)||(i?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return ot}});
613
+ `,Ho],Yi=bi(class extends mi{constructor(t){if(super(t),t.type!==yi||"class"!==t.name||t.strings?.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((o=>t[o])).join(" ")+" "}update(t,[o]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const i=!!o[t];i===this.it.has(t)||this.st?.has(t)||(i?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return ot}});
610
614
  /**
611
615
  * @license
612
616
  * Copyright 2017 Google LLC
613
617
  * SPDX-License-Identifier: BSD-3-Clause
614
- */var Yi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ji extends Ao{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.originX=0,this.originY=0,this.debouncer=new o(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.setupDebouncer=new o(10),this.moveRipple=t=>{var o,e;let{x:i,y:r}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!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 ao`
618
+ */var Ji=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class qi extends Ao{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.originX=0,this.originY=0,this.debouncer=new o(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.setupDebouncer=new o(10),this.moveRipple=t=>{var o,e;let{x:i,y:r}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!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 ao`
615
619
  <style>
616
620
  .ft-ripple .ft-ripple--effect {
617
621
  left: ${this.originX}px;
618
622
  top: ${this.originY}px;
619
623
  }
620
624
  </style>
621
- <div class="${Vi(t)}">
625
+ <div class="${Yi(t)}">
622
626
  <div class="ft-ripple--background"></div>
623
627
  <div class="ft-ripple--effect"></div>
624
628
  </div>
625
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Ji.elementDefinitions={},Ji.styles=zi,Yi([$({type:Boolean})],Ji.prototype,"primary",void 0),Yi([$({type:Boolean})],Ji.prototype,"secondary",void 0),Yi([$({type:Boolean})],Ji.prototype,"unbounded",void 0),Yi([$({type:Boolean})],Ji.prototype,"activated",void 0),Yi([$({type:Boolean})],Ji.prototype,"selected",void 0),Yi([$({type:Boolean})],Ji.prototype,"disabled",void 0),Yi([C()],Ji.prototype,"hovered",void 0),Yi([C()],Ji.prototype,"focused",void 0),Yi([C()],Ji.prototype,"pressed",void 0),Yi([C()],Ji.prototype,"rippling",void 0),Yi([C()],Ji.prototype,"originX",void 0),Yi([C()],Ji.prototype,"originY",void 0),Yi([R(".ft-ripple")],Ji.prototype,"ripple",void 0),Yi([R(".ft-ripple--effect")],Ji.prototype,"rippleEffect",void 0),L("ft-ripple")(Ji);const qi=Co.create("--ft-tooltip-distance","","SIZE","4px"),Xi=Co.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Qi=Co.create("--ft-tooltip-background-color","","COLOR","#666666"),tr=Co.create("--ft-tooltip-z-index","","NUMBER","100"),or=Co.external(Lo.borderRadiusS,"Design system"),er=Co.create("--ft-tooltip-max-width","","SIZE","150px"),ir=wt`
629
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}qi.elementDefinitions={},qi.styles=Ki,Ji([$({type:Boolean})],qi.prototype,"primary",void 0),Ji([$({type:Boolean})],qi.prototype,"secondary",void 0),Ji([$({type:Boolean})],qi.prototype,"unbounded",void 0),Ji([$({type:Boolean})],qi.prototype,"activated",void 0),Ji([$({type:Boolean})],qi.prototype,"selected",void 0),Ji([$({type:Boolean})],qi.prototype,"disabled",void 0),Ji([C()],qi.prototype,"hovered",void 0),Ji([C()],qi.prototype,"focused",void 0),Ji([C()],qi.prototype,"pressed",void 0),Ji([C()],qi.prototype,"rippling",void 0),Ji([C()],qi.prototype,"originX",void 0),Ji([C()],qi.prototype,"originY",void 0),Ji([R(".ft-ripple")],qi.prototype,"ripple",void 0),Ji([R(".ft-ripple--effect")],qi.prototype,"rippleEffect",void 0),L("ft-ripple")(qi);const Xi=Co.create("--ft-tooltip-distance","","SIZE","4px"),Qi=Co.create("--ft-tooltip-color","","COLOR","#FFFFFF"),tr=Co.create("--ft-tooltip-background-color","","COLOR","#666666"),or=Co.create("--ft-tooltip-z-index","","NUMBER","100"),er=Co.external(Lo.borderRadiusS,"Design system"),ir=Co.create("--ft-tooltip-max-width","","SIZE","150px"),rr=wt`
626
630
  .ft-tooltip--container {
627
631
  display: block;
628
632
  }
@@ -637,21 +641,21 @@ const ui=1,yi=2,gi=t=>(...o)=>({_$litDirective$:t,values:o});class bi{constructo
637
641
  box-sizing: border-box;
638
642
  overflow: hidden;
639
643
  width: max-content;
640
- max-width: ${er};
644
+ max-width: ${ir};
641
645
  text-align: center;
642
- padding: ${qi};
643
- z-index: ${tr};
646
+ padding: ${Xi};
647
+ z-index: ${or};
644
648
  }
645
649
 
646
650
  .ft-tooltip--content {
647
651
  padding: 4px 8px;
648
- border-radius: ${or};
649
- background-color: ${Qi};
650
- color: ${Xi};
652
+ border-radius: ${er};
653
+ background-color: ${tr};
654
+ color: ${Qi};
651
655
  position: relative;
652
656
  word-break: break-word;
653
657
  }
654
- `;var rr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class nr extends Ao{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o,this.revealDebouncer=new o}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ao`
658
+ `;var nr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ar extends Ao{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o,this.revealDebouncer=new o}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ao`
655
659
  <div part="container"
656
660
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
657
661
  @mouseenter=${this.onHover}
@@ -669,40 +673,40 @@ const ui=1,yi=2,gi=t=>(...o)=>({_$litDirective$:t,values:o});class bi{constructo
669
673
  </div>
670
674
  </div>
671
675
  </div>
672
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&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.validPosition){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 o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,i=(t.offsetHeight-e)/2,r=(t.offsetWidth-o)/2;let n=0,a=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":a=t.offsetTop-e-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"bottom":a=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"left":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const s=this.tooltip.style;s.left=n+"px",s.top=a+"px";const l=this.tooltip.getBoundingClientRect();let c=-l.x,p=l.x+l.width-window.innerWidth;s.left=n+Math.round(this.correctOutOfWindowPixels(c,p))+"px";let h=-l.y,f=l.y+l.height-window.innerHeight;s.top=a+Math.round(this.correctOutOfWindowPixels(h,f))+"px",s.maxWidth=`max(${t.offsetWidth}px, ${er})`}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())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}nr.elementDefinitions={"ft-typography":di},nr.styles=ir,rr([$()],nr.prototype,"text",void 0),rr([$({type:Boolean})],nr.prototype,"manual",void 0),rr([$({type:Boolean})],nr.prototype,"inline",void 0),rr([$({type:Number})],nr.prototype,"delay",void 0),rr([$()],nr.prototype,"position",void 0),rr([
676
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&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.validPosition){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 o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,i=(t.offsetHeight-e)/2,r=(t.offsetWidth-o)/2;let n=0,a=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":a=t.offsetTop-e-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"bottom":a=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"left":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const s=this.tooltip.style;s.left=n+"px",s.top=a+"px";const l=this.tooltip.getBoundingClientRect();let c=-l.x,h=l.x+l.width-window.innerWidth;s.left=n+Math.round(this.correctOutOfWindowPixels(c,h))+"px";let p=-l.y,f=l.y+l.height-window.innerHeight;s.top=a+Math.round(this.correctOutOfWindowPixels(p,f))+"px",s.maxWidth=`max(${t.offsetWidth}px, ${ir})`}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())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}ar.elementDefinitions={"ft-typography":ui},ar.styles=rr,nr([$()],ar.prototype,"text",void 0),nr([$({type:Boolean})],ar.prototype,"manual",void 0),nr([$({type:Boolean})],ar.prototype,"inline",void 0),nr([$({type:Number})],ar.prototype,"delay",void 0),nr([$()],ar.prototype,"position",void 0),nr([
673
677
  /**
674
678
  * @license
675
679
  * Copyright 2017 Google LLC
676
680
  * SPDX-License-Identifier: BSD-3-Clause
677
681
  */
678
- function(t){return(o,e)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return k(0,0,{get(){const o=this.renderRoot?.querySelector(r);return o?.assignedNodes(t)??[]}})}}()],nr.prototype,"slotNodes",void 0),rr([R(".ft-tooltip--container")],nr.prototype,"container",void 0),rr([R(".ft-tooltip")],nr.prototype,"tooltip",void 0),rr([R(".ft-tooltip--content")],nr.prototype,"tooltipContent",void 0),rr([C()],nr.prototype,"visible",void 0),L("ft-tooltip")(nr);
682
+ function(t){return(o,e)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return k(0,0,{get(){const o=this.renderRoot?.querySelector(r);return o?.assignedNodes(t)??[]}})}}()],ar.prototype,"slotNodes",void 0),nr([R(".ft-tooltip--container")],ar.prototype,"container",void 0),nr([R(".ft-tooltip")],ar.prototype,"tooltip",void 0),nr([R(".ft-tooltip--content")],ar.prototype,"tooltipContent",void 0),nr([C()],ar.prototype,"visible",void 0),L("ft-tooltip")(ar);
679
683
  /**
680
684
  * @license
681
685
  * Copyright 2017 Google LLC
682
686
  * SPDX-License-Identifier: BSD-3-Clause
683
687
  */
684
- class ar extends bi{constructor(t){if(super(t),this.et=et,t.type!==yi)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===et||null==t)return this.vt=void 0,this.et=t;if(t===ot)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}}ar.directiveName="unsafeHTML",ar.resultType=1;const sr=gi(ar);var lr,cr,pr;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",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.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.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",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="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(lr||(lr={})),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;"}(cr||(cr={})),new Map([...["abw"].map((t=>[t,cr.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,cr.AUDIO])),...["avi"].map((t=>[t,cr.AVI])),...["chm","xhs"].map((t=>[t,cr.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,cr.CODE])),...["csv"].map((t=>[t,cr.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,cr.DITA])),...["epub"].map((t=>[t,cr.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,cr.EXCEL])),...["flac"].map((t=>[t,cr.FLAC])),...["gif"].map((t=>[t,cr.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,cr.GZIP])),...["html","htm","xhtml"].map((t=>[t,cr.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,cr.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,cr.JPEG])),...["json"].map((t=>[t,cr.JSON])),...["m4a","m4p"].map((t=>[t,cr.M4A])),...["mov","qt"].map((t=>[t,cr.MOV])),...["mp3"].map((t=>[t,cr.MP3])),...["mp4","m4v"].map((t=>[t,cr.MP4])),...["ogg","oga"].map((t=>[t,cr.OGG])),...["pdf","ps"].map((t=>[t,cr.PDF])),...["png"].map((t=>[t,cr.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,cr.POWERPOINT])),...["rar"].map((t=>[t,cr.RAR])),...["stp"].map((t=>[t,cr.STP])),...["txt","rtf","md","mdown"].map((t=>[t,cr.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,cr.VIDEO])),...["wav"].map((t=>[t,cr.WAV])),...["wma"].map((t=>[t,cr.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,cr.WORD])),...["xml","xsl","rdf"].map((t=>[t,cr.XML])),...["yaml","yml","x-yaml"].map((t=>[t,cr.YAML])),...["zip"].map((t=>[t,cr.ZIP]))]),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(pr||(pr={}));var hr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class fr extends Ao{constructor(){super(...arguments),this.resolvedIcon=lo}render(){const t=this.variant&&Object.values(pr).includes(this.variant)?this.variant:pr.fluid_topics,o=t!==pr.material||!!this.value;return ao`
688
+ class sr extends mi{constructor(t){if(super(t),this.et=et,t.type!==gi)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===et||null==t)return this.vt=void 0,this.et=t;if(t===ot)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}}sr.directiveName="unsafeHTML",sr.resultType=1;const lr=bi(sr);var cr,hr,pr;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",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.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.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",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="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(cr||(cr={})),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;"}(hr||(hr={})),new Map([...["abw"].map((t=>[t,hr.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,hr.AUDIO])),...["avi"].map((t=>[t,hr.AVI])),...["chm","xhs"].map((t=>[t,hr.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,hr.CODE])),...["csv"].map((t=>[t,hr.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,hr.DITA])),...["epub"].map((t=>[t,hr.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,hr.EXCEL])),...["flac"].map((t=>[t,hr.FLAC])),...["gif"].map((t=>[t,hr.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,hr.GZIP])),...["html","htm","xhtml"].map((t=>[t,hr.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,hr.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,hr.JPEG])),...["json"].map((t=>[t,hr.JSON])),...["m4a","m4p"].map((t=>[t,hr.M4A])),...["mov","qt"].map((t=>[t,hr.MOV])),...["mp3"].map((t=>[t,hr.MP3])),...["mp4","m4v"].map((t=>[t,hr.MP4])),...["ogg","oga"].map((t=>[t,hr.OGG])),...["pdf","ps"].map((t=>[t,hr.PDF])),...["png"].map((t=>[t,hr.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,hr.POWERPOINT])),...["rar"].map((t=>[t,hr.RAR])),...["stp"].map((t=>[t,hr.STP])),...["txt","rtf","md","mdown"].map((t=>[t,hr.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,hr.VIDEO])),...["wav"].map((t=>[t,hr.WAV])),...["wma"].map((t=>[t,hr.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,hr.WORD])),...["xml","xsl","rdf"].map((t=>[t,hr.XML])),...["yaml","yml","x-yaml"].map((t=>[t,hr.YAML])),...["zip"].map((t=>[t,hr.ZIP]))]),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(pr||(pr={}));var fr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class dr extends Ao{constructor(){super(...arguments),this.resolvedIcon=lo}render(){const t=this.variant&&Object.values(pr).includes(this.variant)?this.variant:pr.fluid_topics,o=t!==pr.material||!!this.value;return ao`
685
689
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
686
- ${sr(this.resolvedIcon)}
690
+ ${lr(this.resolvedIcon)}
687
691
  <slot ?hidden=${o}></slot>
688
692
  </i>
689
- `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case pr.file_format:this.resolvedIcon=null!==(t=cr[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case pr.material:this.resolvedIcon=this.value||lo;break;default:this.resolvedIcon=null!==(o=lr[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}fr.elementDefinitions={},fr.styles=Zi,hr([$()],fr.prototype,"variant",void 0),hr([$()],fr.prototype,"value",void 0),hr([C()],fr.prototype,"resolvedIcon",void 0),hr([R("slot")],fr.prototype,"slottedContent",void 0),L("ft-icon")(fr);class dr extends Ao{render(){return ao`
693
+ `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case pr.file_format:this.resolvedIcon=null!==(t=hr[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case pr.material:this.resolvedIcon=this.value||lo;break;default:this.resolvedIcon=null!==(o=cr[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}dr.elementDefinitions={},dr.styles=Di,fr([$()],dr.prototype,"variant",void 0),fr([$()],dr.prototype,"value",void 0),fr([C()],dr.prototype,"resolvedIcon",void 0),fr([R("slot")],dr.prototype,"slottedContent",void 0),L("ft-icon")(dr);class ur extends Ao{render(){return ao`
690
694
  <div class="ft-loader">
691
695
  <div></div>
692
696
  <div></div>
693
697
  <div></div>
694
698
  <div></div>
695
699
  </div>
696
- `}}dr.styles=Fi,L("ft-loader")(dr);var ur=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class yr extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[jo].form}constructor(...t){super(t),this[jo]=this.attachInternals(),this[jo].role=o}setFormValue(t){this[jo].setFormValue(t)}}}(Ao,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(ao`
700
+ `}}ur.styles=Bi,L("ft-loader")(ur);var yr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class gr extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[To].form}constructor(...t){super(t),this[To]=this.attachInternals(),this[To].role=o}setFormValue(t){this[To].setFormValue(t)}}}(Ao,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(ao`
697
701
  <button part="button"
698
- class="${Vi(this.buttonClasses)}"
702
+ class="${Yi(this.buttonClasses)}"
699
703
  aria-label="${this.getLabel()}"
700
704
  ?disabled=${this.isDisabled()}>
701
705
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
702
706
  <ft-typography part="label"
703
707
  variant=${this.typographyVariant}
704
708
  element="span"
705
- class="ft-button--label ${Vo?"ft-safari-ellipsis-fix":""}"
709
+ class="ft-button--label ${Yo?"ft-safari-ellipsis-fix":""}"
706
710
  ?hidden=${!this.hasTextContent()}>
707
711
  <slot @slotchange=${this.onSlotchange}></slot>
708
712
  </ft-typography>
@@ -716,7 +720,7 @@ class ar extends bi{constructor(t){if(super(t),this.et=et,t.type!==yi)throw Erro
716
720
  </ft-tooltip>
717
721
  `:t}resolveIcon(){return this.loading?ao`
718
722
  <ft-loader part="loader icon"></ft-loader> `:this.icon?ao`
719
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:lo}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}}yr.elementDefinitions={"ft-ripple":Ji,"ft-tooltip":nr,"ft-typography":di,"ft-icon":fr,"ft-loader":dr},ur([$({type:String,reflect:!0})],yr.prototype,"role",void 0),ur([$()],yr.prototype,"type",void 0),ur([$({type:Boolean})],yr.prototype,"disabled",void 0),ur([$()],yr.prototype,"label",void 0),ur([$()],yr.prototype,"icon",void 0),ur([$()],yr.prototype,"iconVariant",void 0),ur([$({type:Boolean})],yr.prototype,"trailingIcon",void 0),ur([$({type:Boolean})],yr.prototype,"loading",void 0),ur([$()],yr.prototype,"tooltipPosition",void 0),ur([$({type:Boolean})],yr.prototype,"hideTooltip",void 0),ur([$({type:Boolean})],yr.prototype,"forceTooltip",void 0),ur([R(".ft-button")],yr.prototype,"button",void 0),ur([R(".ft-button--label slot")],yr.prototype,"slottedContent",void 0);var gr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class br extends yr{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"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-no-text-select":!0}}get typographyVariant(){return"button"}}br.styles=[Ho,Gi],gr([$({type:Boolean})],br.prototype,"primary",void 0),gr([$({type:Boolean})],br.prototype,"outlined",void 0),gr([$({type:Boolean})],br.prototype,"dense",void 0),gr([$({type:Boolean})],br.prototype,"round",void 0);const mr=[wt`
723
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:lo}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}}gr.elementDefinitions={"ft-ripple":qi,"ft-tooltip":ar,"ft-typography":ui,"ft-icon":dr,"ft-loader":ur},yr([$({type:String,reflect:!0})],gr.prototype,"role",void 0),yr([$()],gr.prototype,"type",void 0),yr([$({type:Boolean})],gr.prototype,"disabled",void 0),yr([$()],gr.prototype,"label",void 0),yr([$()],gr.prototype,"icon",void 0),yr([$()],gr.prototype,"iconVariant",void 0),yr([$({type:Boolean})],gr.prototype,"trailingIcon",void 0),yr([$({type:Boolean})],gr.prototype,"loading",void 0),yr([$()],gr.prototype,"tooltipPosition",void 0),yr([$({type:Boolean})],gr.prototype,"hideTooltip",void 0),yr([$({type:Boolean})],gr.prototype,"forceTooltip",void 0),yr([R(".ft-button")],gr.prototype,"button",void 0),yr([R(".ft-button--label slot")],gr.prototype,"slottedContent",void 0);var br=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class mr extends gr{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"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-no-text-select":!0}}get typographyVariant(){return"button"}}mr.styles=[jo,Vi],br([$({type:Boolean})],mr.prototype,"primary",void 0),br([$({type:Boolean})],mr.prototype,"outlined",void 0),br([$({type:Boolean})],mr.prototype,"dense",void 0),br([$({type:Boolean})],mr.prototype,"round",void 0);const xr=[wt`
720
724
  :host {
721
725
  display: inline-block;
722
726
  max-width: 100%;
@@ -795,13 +799,13 @@ class ar extends bi{constructor(t){if(super(t),this.et=et,t.type!==yi)throw Erro
795
799
  /** Primary styles **/
796
800
 
797
801
  .ft-button--primary {
798
- ${ko(Ki.color,Io.primaryIconColor)};
802
+ ${ko(Fi.color,Io.primaryIconColor)};
799
803
 
800
- ${ko(ki.color,Io.primaryStateLayerColor)};
801
- ${ko(ki.opacityContentOnSurfaceHover,Io.primaryStateLayerOpacityHover)};
802
- ${ko(ki.opacityContentOnSurfaceFocused,Io.primaryStateLayerOpacityFocus)};
803
- ${ko(ki.opacityContentOnSurfaceSelected,Io.primaryStateLayerOpacityActive)};
804
- ${ko(ki.opacityContentOnSurfacePressed,Io.primaryStateLayerOpacityActive)};
804
+ ${ko(Ri.color,Io.primaryStateLayerColor)};
805
+ ${ko(Ri.opacityContentOnSurfaceHover,Io.primaryStateLayerOpacityHover)};
806
+ ${ko(Ri.opacityContentOnSurfaceFocused,Io.primaryStateLayerOpacityFocus)};
807
+ ${ko(Ri.opacityContentOnSurfaceSelected,Io.primaryStateLayerOpacityActive)};
808
+ ${ko(Ri.opacityContentOnSurfacePressed,Io.primaryStateLayerOpacityActive)};
805
809
 
806
810
  background-color: ${Io.primaryBackgroundColor};
807
811
  color: ${Io.primaryColor};
@@ -819,13 +823,13 @@ class ar extends bi{constructor(t){if(super(t),this.et=et,t.type!==yi)throw Erro
819
823
  /** Secondary styles **/
820
824
 
821
825
  .ft-button--secondary {
822
- ${ko(Ki.color,Io.secondaryIconColor)};
826
+ ${ko(Fi.color,Io.secondaryIconColor)};
823
827
 
824
- ${ko(ki.color,Io.secondaryStateLayerColor)};
825
- ${ko(ki.opacityContentOnSurfaceHover,Io.secondaryStateLayerOpacityHover)};
826
- ${ko(ki.opacityContentOnSurfaceFocused,Io.secondaryStateLayerOpacityFocus)};
827
- ${ko(ki.opacityContentOnSurfaceSelected,Io.secondaryStateLayerOpacityActive)};
828
- ${ko(ki.opacityContentOnSurfacePressed,Io.secondaryStateLayerOpacityActive)};
828
+ ${ko(Ri.color,Io.secondaryStateLayerColor)};
829
+ ${ko(Ri.opacityContentOnSurfaceHover,Io.secondaryStateLayerOpacityHover)};
830
+ ${ko(Ri.opacityContentOnSurfaceFocused,Io.secondaryStateLayerOpacityFocus)};
831
+ ${ko(Ri.opacityContentOnSurfaceSelected,Io.secondaryStateLayerOpacityActive)};
832
+ ${ko(Ri.opacityContentOnSurfacePressed,Io.secondaryStateLayerOpacityActive)};
829
833
 
830
834
  background-color: ${Io.secondaryBackgroundColor};
831
835
  color: ${Io.secondaryColor};
@@ -844,13 +848,13 @@ class ar extends bi{constructor(t){if(super(t),this.et=et,t.type!==yi)throw Erro
844
848
  /** Tertiary styles **/
845
849
 
846
850
  .ft-button--tertiary {
847
- ${ko(Ki.color,Io.tertiaryIconColor)};
851
+ ${ko(Fi.color,Io.tertiaryIconColor)};
848
852
 
849
- ${ko(ki.color,Io.tertiaryStateLayerColor)};
850
- ${ko(ki.opacityContentOnSurfaceHover,Io.tertiaryStateLayerOpacityHover)};
851
- ${ko(ki.opacityContentOnSurfaceFocused,Io.tertiaryStateLayerOpacityFocus)};
852
- ${ko(ki.opacityContentOnSurfaceSelected,Io.tertiaryStateLayerOpacityActive)};
853
- ${ko(ki.opacityContentOnSurfacePressed,Io.tertiaryStateLayerOpacityActive)};
853
+ ${ko(Ri.color,Io.tertiaryStateLayerColor)};
854
+ ${ko(Ri.opacityContentOnSurfaceHover,Io.tertiaryStateLayerOpacityHover)};
855
+ ${ko(Ri.opacityContentOnSurfaceFocused,Io.tertiaryStateLayerOpacityFocus)};
856
+ ${ko(Ri.opacityContentOnSurfaceSelected,Io.tertiaryStateLayerOpacityActive)};
857
+ ${ko(Ri.opacityContentOnSurfacePressed,Io.tertiaryStateLayerOpacityActive)};
854
858
 
855
859
  background-color: ${Io.tertiaryBackgroundColor};
856
860
  color: ${Io.tertiaryColor};
@@ -868,13 +872,13 @@ class ar extends bi{constructor(t){if(super(t),this.et=et,t.type!==yi)throw Erro
868
872
  /** Neutral styles **/
869
873
 
870
874
  .ft-button--neutral {
871
- ${ko(Ki.color,Io.neutralIconColor)};
875
+ ${ko(Fi.color,Io.neutralIconColor)};
872
876
 
873
- ${ko(ki.backgroundColor,Io.neutralStateLayerColor)};
874
- ${ko(ki.opacityContentOnSurfaceHover,Io.neutralStateLayerOpacityHover)};
875
- ${ko(ki.opacityContentOnSurfaceFocused,Io.neutralStateLayerOpacityFocus)};
876
- ${ko(ki.opacityContentOnSurfaceSelected,Io.neutralStateLayerOpacityActive)};
877
- ${ko(ki.opacityContentOnSurfacePressed,Io.neutralStateLayerOpacityActive)};
877
+ ${ko(Ri.backgroundColor,Io.neutralStateLayerColor)};
878
+ ${ko(Ri.opacityContentOnSurfaceHover,Io.neutralStateLayerOpacityHover)};
879
+ ${ko(Ri.opacityContentOnSurfaceFocused,Io.neutralStateLayerOpacityFocus)};
880
+ ${ko(Ri.opacityContentOnSurfaceSelected,Io.neutralStateLayerOpacityActive)};
881
+ ${ko(Ri.opacityContentOnSurfacePressed,Io.neutralStateLayerOpacityActive)};
878
882
 
879
883
  background-color: ${Io.neutralBackgroundColor};
880
884
  color: ${Io.neutralColor};
@@ -892,8 +896,8 @@ class ar extends bi{constructor(t){if(super(t),this.et=et,t.type!==yi)throw Erro
892
896
  /** Large styles **/
893
897
 
894
898
  .ft-button--large {
895
- ${ko(Bi.size,Io.largeIconSize)};
896
- ${ko(Ki.size,Io.largeIconSize)};
899
+ ${ko(Zi.size,Io.largeIconSize)};
900
+ ${ko(Fi.size,Io.largeIconSize)};
897
901
 
898
902
  height: ${Io.largeHeight};
899
903
  padding: 0 ${Io.largeHorizontalPadding};
@@ -915,8 +919,8 @@ class ar extends bi{constructor(t){if(super(t),this.et=et,t.type!==yi)throw Erro
915
919
  /** Small styles **/
916
920
 
917
921
  .ft-button--small {
918
- ${ko(Bi.size,Io.smallIconSize)};
919
- ${ko(Ki.size,Io.smallIconSize)};
922
+ ${ko(Zi.size,Io.smallIconSize)};
923
+ ${ko(Fi.size,Io.smallIconSize)};
920
924
 
921
925
  height: ${Io.smallHeight};
922
926
  padding: 0 ${Io.smallHorizontalPadding};
@@ -934,14 +938,14 @@ class ar extends bi{constructor(t){if(super(t),this.et=et,t.type!==yi)throw Erro
934
938
  width: ${Io.smallIconOnlyWidth};
935
939
  padding: unset;
936
940
  }
937
- `,Po];var xr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class vr extends yr{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?te.caption1medium:te.body2medium}}vr.styles=[Ho,mr],xr([$({type:Boolean})],vr.prototype,"primary",void 0),xr([$({type:Boolean})],vr.prototype,"secondary",void 0),xr([$({type:Boolean})],vr.prototype,"tertiary",void 0),xr([$({type:Boolean})],vr.prototype,"neutral",void 0),xr([$({type:Boolean})],vr.prototype,"small",void 0),L("ft-button")(br),L("ftds-button")(vr);const Or=Co.extend("--ft-checkbox-text-color","",Lo.colorOnSurfaceHigh),Sr=Co.external(Lo.colorPrimary,"Design system"),Nr=Co.external(Lo.colorOnPrimary,"Design system"),wr=Co.extend("--ft-checkbox-border-color","",Lo.colorOnSurfaceMedium),$r=Co.external(Lo.colorOnSurfaceDisabled,"Design system"),Cr=wt`
941
+ `,Ho];var vr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Or extends gr{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?oe.caption1medium:oe.body2medium}}Or.styles=[jo,xr],vr([$({type:Boolean})],Or.prototype,"primary",void 0),vr([$({type:Boolean})],Or.prototype,"secondary",void 0),vr([$({type:Boolean})],Or.prototype,"tertiary",void 0),vr([$({type:Boolean})],Or.prototype,"neutral",void 0),vr([$({type:Boolean})],Or.prototype,"small",void 0),L("ft-button")(mr),L("ftds-button")(Or);const Sr=Co.extend("--ft-checkbox-text-color","",Lo.colorOnSurfaceHigh),Nr=Co.external(Lo.colorPrimary,"Design system"),wr=Co.external(Lo.colorOnPrimary,"Design system"),$r=Co.extend("--ft-checkbox-border-color","",Lo.colorOnSurfaceMedium),Cr=Co.external(Lo.colorOnSurfaceDisabled,"Design system"),kr=wt`
938
942
  * {
939
943
  box-sizing: border-box;
940
944
  }
941
945
 
942
946
  .ft-checkbox {
943
947
  box-sizing: border-box;
944
- color: ${Or};
948
+ color: ${Sr};
945
949
 
946
950
  display: inline-flex;
947
951
  align-items: center;
@@ -949,7 +953,7 @@ class ar extends bi{constructor(t){if(super(t),this.et=et,t.type!==yi)throw Erro
949
953
  }
950
954
 
951
955
  .ft-checkbox--disabled {
952
- color: ${$r};
956
+ color: ${Cr};
953
957
  }
954
958
 
955
959
  input {
@@ -973,26 +977,26 @@ class ar extends bi{constructor(t){if(super(t),this.et=et,t.type!==yi)throw Erro
973
977
 
974
978
  .ft-checkbox--box {
975
979
  display: flex;
976
- border: 2px solid ${wr};
980
+ border: 2px solid ${$r};
977
981
  border-radius: 2px;
978
982
 
979
983
  width: 18px;
980
984
  height: 18px;
981
985
 
982
- color: ${Nr};
986
+ color: ${wr};
983
987
  }
984
988
 
985
989
 
986
990
  .ft-checkbox--checked .ft-checkbox--box,
987
991
  .ft-checkbox--indeterminate .ft-checkbox--box {
988
- border-color: ${Sr};
989
- background-color: ${Sr};
992
+ border-color: ${Nr};
993
+ background-color: ${Nr};
990
994
  }
991
995
 
992
996
  .ft-checkbox--disabled .ft-checkbox--box {
993
- border-color: ${$r};
997
+ border-color: ${Cr};
994
998
  background-color: transparent;
995
- color: ${$r};
999
+ color: ${Cr};
996
1000
  }
997
1001
 
998
1002
  .ft-checkbox--checkmark {
@@ -1011,8 +1015,8 @@ class ar extends bi{constructor(t){if(super(t),this.et=et,t.type!==yi)throw Erro
1011
1015
  .ft-checkbox--indeterminate .ft-checkbox--checkmark {
1012
1016
  opacity: 1;
1013
1017
  }
1014
- `;var kr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Rr extends Ao{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 ao`
1015
- <label class="${Vi(t)}" for="checkbox-input">
1018
+ `;var Rr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Er extends Ao{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 ao`
1019
+ <label class="${Yi(t)}" for="checkbox-input">
1016
1020
  <div class="ft-checkbox--box-container">
1017
1021
  <ft-ripple
1018
1022
  ?disabled=${this.disabled}
@@ -1037,14 +1041,14 @@ class ar extends bi{constructor(t){if(super(t),this.et=et,t.type!==yi)throw Erro
1037
1041
  <slot></slot>
1038
1042
  </ft-typography>
1039
1043
  </label>
1040
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),null===(o=this.ripple)||void 0===o||o.setupFor(this.container)}}Rr.elementDefinitions={"ft-ripple":Ji,"ft-typography":di},Rr.styles=Cr,kr([$()],Rr.prototype,"name",void 0),kr([$({type:Boolean,reflect:!0})],Rr.prototype,"checked",void 0),kr([$({type:Boolean})],Rr.prototype,"indeterminate",void 0),kr([$({type:Boolean})],Rr.prototype,"disabled",void 0),kr([R(".ft-checkbox")],Rr.prototype,"container",void 0),kr([R("ft-ripple")],Rr.prototype,"ripple",void 0),L("ft-checkbox")(Rr);const Er=Co.extend("--ft-radio-text-color","",Lo.colorOnSurfaceHigh),Ur=Co.external(Lo.colorPrimary,"Design system"),Ir=(Co.external(Lo.colorOnPrimary,"Design system"),Co.extend("--ft-radio-border-color","",Lo.colorOnSurfaceMedium)),Lr=Co.external(Lo.colorOnSurfaceDisabled,"Design system"),Wr=wt`
1044
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),null===(o=this.ripple)||void 0===o||o.setupFor(this.container)}}Er.elementDefinitions={"ft-ripple":qi,"ft-typography":ui},Er.styles=kr,Rr([$()],Er.prototype,"name",void 0),Rr([$({type:Boolean,reflect:!0})],Er.prototype,"checked",void 0),Rr([$({type:Boolean})],Er.prototype,"indeterminate",void 0),Rr([$({type:Boolean})],Er.prototype,"disabled",void 0),Rr([R(".ft-checkbox")],Er.prototype,"container",void 0),Rr([R("ft-ripple")],Er.prototype,"ripple",void 0),L("ft-checkbox")(Er);const Ur=Co.extend("--ft-radio-text-color","",Lo.colorOnSurfaceHigh),Ir=Co.external(Lo.colorPrimary,"Design system"),Lr=(Co.external(Lo.colorOnPrimary,"Design system"),Co.extend("--ft-radio-border-color","",Lo.colorOnSurfaceMedium)),Wr=Co.external(Lo.colorOnSurfaceDisabled,"Design system"),zr=wt`
1041
1045
  * {
1042
1046
  box-sizing: border-box;
1043
1047
  }
1044
1048
 
1045
1049
  .ft-radio {
1046
1050
  box-sizing: border-box;
1047
- color: ${Er};
1051
+ color: ${Ur};
1048
1052
 
1049
1053
  display: inline-flex;
1050
1054
  align-items: center;
@@ -1052,7 +1056,7 @@ class ar extends bi{constructor(t){if(super(t),this.et=et,t.type!==yi)throw Erro
1052
1056
  }
1053
1057
 
1054
1058
  .ft-radio--disabled {
1055
- color: ${Lr};
1059
+ color: ${Wr};
1056
1060
  }
1057
1061
 
1058
1062
  input {
@@ -1075,7 +1079,7 @@ class ar extends bi{constructor(t){if(super(t),this.et=et,t.type!==yi)throw Erro
1075
1079
  }
1076
1080
 
1077
1081
  .ft-radio--box {
1078
- border: 2px solid ${Ir};
1082
+ border: 2px solid ${Lr};
1079
1083
  border-radius: 50%;
1080
1084
 
1081
1085
  display: flex;
@@ -1088,7 +1092,7 @@ class ar extends bi{constructor(t){if(super(t),this.et=et,t.type!==yi)throw Erro
1088
1092
 
1089
1093
  .ft-radio--box:after {
1090
1094
  content: " ";
1091
- background-color: ${Ur};
1095
+ background-color: ${Ir};
1092
1096
 
1093
1097
  border-radius: 50%;
1094
1098
 
@@ -1100,7 +1104,7 @@ class ar extends bi{constructor(t){if(super(t),this.et=et,t.type!==yi)throw Erro
1100
1104
  }
1101
1105
 
1102
1106
  .ft-radio--checked .ft-radio--box {
1103
- border-color: ${Ur};
1107
+ border-color: ${Ir};
1104
1108
  }
1105
1109
 
1106
1110
 
@@ -1109,15 +1113,15 @@ class ar extends bi{constructor(t){if(super(t),this.et=et,t.type!==yi)throw Erro
1109
1113
  }
1110
1114
 
1111
1115
  .ft-radio--disabled .ft-radio--box {
1112
- border-color: ${Lr};
1116
+ border-color: ${Wr};
1113
1117
  background-color: transparent;
1114
1118
  }
1115
1119
 
1116
1120
  .ft-radio--disabled .ft-radio--box:after {
1117
- background-color: ${Lr};
1121
+ background-color: ${Wr};
1118
1122
  }
1119
- `;var zr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Kr extends CustomEvent{constructor(t,o){super("change",{detail:{value:t,checked:o},bubbles:!0,composed:!0})}}class Fr extends Ao{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 ao`
1120
- <div class="${Vi(t)}">
1123
+ `;var Kr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Fr extends CustomEvent{constructor(t,o){super("change",{detail:{value:t,checked:o},bubbles:!0,composed:!0})}}class Br extends Ao{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 ao`
1124
+ <div class="${Yi(t)}">
1121
1125
  <div class="ft-radio--box-container">
1122
1126
  <ft-ripple
1123
1127
  ?disabled=${this.disabled}
@@ -1141,22 +1145,22 @@ class ar extends bi{constructor(t){if(super(t),this.et=et,t.type!==yi)throw Erro
1141
1145
  </ft-typography>
1142
1146
  </label>
1143
1147
  </div>
1144
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Kr(this.value,this.checked))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),null===(o=this.ripple)||void 0===o||o.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Kr(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Fr.elementDefinitions={"ft-ripple":Ji,"ft-typography":di},Fr.styles=Wr,zr([$()],Fr.prototype,"value",void 0),zr([$()],Fr.prototype,"name",void 0),zr([$({type:Boolean,reflect:!0})],Fr.prototype,"checked",void 0),zr([$({type:Boolean})],Fr.prototype,"disabled",void 0),zr([R(".ft-radio")],Fr.prototype,"container",void 0),zr([R("ft-ripple")],Fr.prototype,"ripple",void 0),zr([R("input")],Fr.prototype,"input",void 0);const Br=wt`
1148
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Fr(this.value,this.checked))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),null===(o=this.ripple)||void 0===o||o.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Fr(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Br.elementDefinitions={"ft-ripple":qi,"ft-typography":ui},Br.styles=zr,Kr([$()],Br.prototype,"value",void 0),Kr([$()],Br.prototype,"name",void 0),Kr([$({type:Boolean,reflect:!0})],Br.prototype,"checked",void 0),Kr([$({type:Boolean})],Br.prototype,"disabled",void 0),Kr([R(".ft-radio")],Br.prototype,"container",void 0),Kr([R("ft-ripple")],Br.prototype,"ripple",void 0),Kr([R("input")],Br.prototype,"input",void 0);const Zr=wt`
1145
1149
  :host {
1146
1150
  display: contents;
1147
1151
  }
1148
- `;var Zr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Dr extends Ao{constructor(){super(...arguments),this.name=""}render(){return ao`
1152
+ `;var Dr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Mr extends Ao{constructor(){super(...arguments),this.name=""}render(){return ao`
1149
1153
  <slot @slotchange=${this.onSlotChange}
1150
1154
  @change=${this.onChange}
1151
1155
  @keydown=${this.onKeyDown}
1152
1156
  ></slot>
1153
- `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((o=>o.checked=t.detail.value===o.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let o=this.findFtRadio(t),e=this.radioButtons.indexOf(o)-1;this.radioButtons[e<0?this.radioButtons.length-1:e].select();break}case"ArrowDown":case"ArrowRight":{let o=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[o>this.radioButtons.length-1?0:o].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}Dr.elementDefinitions={},Dr.styles=Br,Zr([$()],Dr.prototype,"name",void 0),Zr([
1157
+ `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((o=>o.checked=t.detail.value===o.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let o=this.findFtRadio(t),e=this.radioButtons.indexOf(o)-1;this.radioButtons[e<0?this.radioButtons.length-1:e].select();break}case"ArrowDown":case"ArrowRight":{let o=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[o>this.radioButtons.length-1?0:o].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}Mr.elementDefinitions={},Mr.styles=Zr,Dr([$()],Mr.prototype,"name",void 0),Dr([
1154
1158
  /**
1155
1159
  * @license
1156
1160
  * Copyright 2021 Google LLC
1157
1161
  * SPDX-License-Identifier: BSD-3-Clause
1158
1162
  */
1159
- function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return k(0,0,{get(){const o=this.renderRoot?.querySelector(n),e=o?.assignedElements(t)??[];return void 0===r?e:e.filter((t=>t.matches(r)))}})}}()],Dr.prototype,"radioButtons",void 0),L("ft-radio")(Fr),L("ft-radio-group")(Dr);const Mr={borderRadiusM:Co.external(Lo.borderRadiusM,"Design system"),colorOutline:Co.external(Lo.colorOutline,"Design system"),colorOnSurface:Co.external(Lo.colorOnSurface,"Design system"),colorOnSurfaceMedium:Co.external(Lo.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:Co.external(Lo.colorOnSurfaceDisabled,"Design system"),colorPrimary:Co.external(Lo.colorPrimary,"Design system"),colorOnPrimary:Co.external(Lo.colorOnPrimary,"Design system"),fontFamily:Co.external(ze.fontFamily,"Body2 typography"),fontSize:Co.external(ze.fontSize,"Body2 typography"),fontWeight:Co.external(ze.fontWeight,"Body2 typography"),letterSpacing:Co.external(ze.letterSpacing,"Body2 typography"),lineHeight:Co.external(ze.lineHeight,"Body2 typography"),textTransform:Co.external(ze.textTransform,"Body2 typography")},Ar=wt`
1163
+ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return k(0,0,{get(){const o=this.renderRoot?.querySelector(n),e=o?.assignedElements(t)??[];return void 0===r?e:e.filter((t=>t.matches(r)))}})}}()],Mr.prototype,"radioButtons",void 0),L("ft-radio")(Br),L("ft-radio-group")(Mr);const Ar={borderRadiusM:Co.external(Lo.borderRadiusM,"Design system"),colorOutline:Co.external(Lo.colorOutline,"Design system"),colorOnSurface:Co.external(Lo.colorOnSurface,"Design system"),colorOnSurfaceMedium:Co.external(Lo.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:Co.external(Lo.colorOnSurfaceDisabled,"Design system"),colorPrimary:Co.external(Lo.colorPrimary,"Design system"),colorOnPrimary:Co.external(Lo.colorOnPrimary,"Design system"),fontFamily:Co.external(Ke.fontFamily,"Body2 typography"),fontSize:Co.external(Ke.fontSize,"Body2 typography"),fontWeight:Co.external(Ke.fontWeight,"Body2 typography"),letterSpacing:Co.external(Ke.letterSpacing,"Body2 typography"),lineHeight:Co.external(Ke.lineHeight,"Body2 typography"),textTransform:Co.external(Ke.textTransform,"Body2 typography")},Pr=wt`
1160
1164
  .ft-filter-level--container {
1161
1165
  display: flex;
1162
1166
  flex-direction: column;
@@ -1170,14 +1174,14 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1170
1174
  flex-shrink: 0;
1171
1175
  text-decoration: none;
1172
1176
  position: relative;
1173
- border-radius: ${Mr.borderRadiusM};
1177
+ border-radius: ${Ar.borderRadiusM};
1174
1178
  overflow: hidden;
1175
1179
  display: flex;
1176
1180
  align-items: center;
1177
1181
  padding: 4px 4px;
1178
1182
  gap: 4px;
1179
1183
  cursor: pointer;
1180
- color: ${Mr.colorOnSurface};
1184
+ color: ${Ar.colorOnSurface};
1181
1185
  }
1182
1186
 
1183
1187
  .ft-filter-level--go-back:focus {
@@ -1206,7 +1210,7 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1206
1210
  }
1207
1211
 
1208
1212
  ft-button {
1209
- ${ko(Mi.color,Mr.colorOnSurface)};
1213
+ ${ko(Ai.color,Ar.colorOnSurface)};
1210
1214
  }
1211
1215
 
1212
1216
  ft-radio, ft-checkbox {
@@ -1220,9 +1224,9 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1220
1224
 
1221
1225
  .ft-filter-level--no-values {
1222
1226
  margin: 10px 0;
1223
- color: ${Mr.colorOnSurfaceMedium};
1227
+ color: ${Ar.colorOnSurfaceMedium};
1224
1228
  }
1225
- `;var Pr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Hr extends Ao{constructor(){super(...arguments),this.filterId="",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,o;return null!==(o=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==o?o: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 o=t.slice(0,this.limit);return ao`
1229
+ `;var Hr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class jr extends Ao{constructor(){super(...arguments),this.filterId="",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,o;return null!==(o=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==o?o: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 o=t.slice(0,this.limit);return ao`
1226
1230
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1227
1231
  ${null==this.parent?null:ao`
1228
1232
  <div tabindex="0"
@@ -1241,7 +1245,7 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1241
1245
  ${this.noValuesLabel}
1242
1246
  </ft-typography>
1243
1247
  `:lo}
1244
- ${$i(o,(t=>t.value),(t=>{var o;return ao`
1248
+ ${Ci(o,(t=>t.value),(t=>{var o;return ao`
1245
1249
  <div class="ft-filter-level--option" part="options">
1246
1250
  ${this.multivalued?this.buildMultiValuedOption(t):this.buildMonoValuedOption(t)}
1247
1251
  ${this.preventNavigation||t.selected||0===(null!==(o=t.subOptions)&&void 0!==o?o:[]).length?lo:ao`
@@ -1286,7 +1290,7 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1286
1290
  @change=${t=>t.stopPropagation()}>
1287
1291
  ${t.renderOption?t.renderOption:t.label}
1288
1292
  </ft-radio>
1289
- `}onRadioKeyUp(t,o){o.selected&&" "===t.key&&this.optionsChanged(t,o)}optionsChanged(t,o){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:o}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}Hr.elementDefinitions={"ft-button":br,"ft-ripple":Ji,"ft-typography":di,"ft-checkbox":Rr,"ft-icon":fr,"ft-radio":Fr},Hr.styles=Ar,Pr([$({type:String})],Hr.prototype,"filterId",void 0),Pr([$({type:Object})],Hr.prototype,"parent",void 0),Pr([$({type:Array})],Hr.prototype,"options",void 0),Pr([$({type:Boolean})],Hr.prototype,"multivalued",void 0),Pr([$({type:Boolean})],Hr.prototype,"disabled",void 0),Pr([$({type:Boolean})],Hr.prototype,"hideSelectedOptions",void 0),Pr([$({type:Boolean})],Hr.prototype,"preventNavigation",void 0),Pr([$({type:String})],Hr.prototype,"filter",void 0),Pr([$({type:String})],Hr.prototype,"moreValuesButtonLabel",void 0),Pr([$({type:String})],Hr.prototype,"noValuesLabel",void 0),Pr([$({type:Number})],Hr.prototype,"displayedValuesLimit",void 0),Pr([R(".ft-filter-level--container")],Hr.prototype,"container",void 0),Pr([C()],Hr.prototype,"displayedPages",void 0);const jr={buttonsColor:Co.extend("--ft-snap-scroll-buttons-color","",Lo.colorPrimary),buttonsZIndex:Co.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:Co.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:Co.external(Lo.colorSurface,"Design system")},Tr=wt`
1293
+ `}onRadioKeyUp(t,o){o.selected&&" "===t.key&&this.optionsChanged(t,o)}optionsChanged(t,o){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:o}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}jr.elementDefinitions={"ft-button":mr,"ft-ripple":qi,"ft-typography":ui,"ft-checkbox":Er,"ft-icon":dr,"ft-radio":Br},jr.styles=Pr,Hr([$({type:String})],jr.prototype,"filterId",void 0),Hr([$({type:Object})],jr.prototype,"parent",void 0),Hr([$({type:Array})],jr.prototype,"options",void 0),Hr([$({type:Boolean})],jr.prototype,"multivalued",void 0),Hr([$({type:Boolean})],jr.prototype,"disabled",void 0),Hr([$({type:Boolean})],jr.prototype,"hideSelectedOptions",void 0),Hr([$({type:Boolean})],jr.prototype,"preventNavigation",void 0),Hr([$({type:String})],jr.prototype,"filter",void 0),Hr([$({type:String})],jr.prototype,"moreValuesButtonLabel",void 0),Hr([$({type:String})],jr.prototype,"noValuesLabel",void 0),Hr([$({type:Number})],jr.prototype,"displayedValuesLimit",void 0),Hr([R(".ft-filter-level--container")],jr.prototype,"container",void 0),Hr([C()],jr.prototype,"displayedPages",void 0);const Tr={buttonsColor:Co.extend("--ft-snap-scroll-buttons-color","",Lo.colorPrimary),buttonsZIndex:Co.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:Co.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:Co.external(Lo.colorSurface,"Design system")},_r=wt`
1290
1294
  .ft-snap-scroll {
1291
1295
  box-sizing: border-box;
1292
1296
  position: relative;
@@ -1321,7 +1325,7 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1321
1325
  flex-wrap: nowrap;
1322
1326
  align-items: flex-start;
1323
1327
  justify-content: flex-start;
1324
- gap: ${jr.gap};
1328
+ gap: ${Tr.gap};
1325
1329
  }
1326
1330
 
1327
1331
  .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
@@ -1364,11 +1368,11 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1364
1368
  .ft-snap-scroll--next {
1365
1369
  position: absolute;
1366
1370
  display: flex;
1367
- z-index: ${jr.buttonsZIndex};
1371
+ z-index: ${Tr.buttonsZIndex};
1368
1372
  opacity: 1;
1369
1373
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1370
- ${ko(Mi.backgroundColor,"transparent")};
1371
- ${ko(Mi.color,jr.buttonsColor)};
1374
+ ${ko(Ai.backgroundColor,"transparent")};
1375
+ ${ko(Ai.color,Tr.buttonsColor)};
1372
1376
  }
1373
1377
 
1374
1378
  .ft-snap-scroll--previous[hidden],
@@ -1381,37 +1385,37 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1381
1385
  top: 0;
1382
1386
  left: -1px;
1383
1387
  bottom: 0;
1384
- background: linear-gradient(to right, ${jr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1388
+ background: linear-gradient(to right, ${Tr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1385
1389
  }
1386
1390
 
1387
1391
  .ft-snap-scroll--vertical .ft-snap-scroll--previous {
1388
1392
  top: -1px;
1389
1393
  left: 0;
1390
1394
  right: 0;
1391
- background: linear-gradient(to bottom, ${jr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1395
+ background: linear-gradient(to bottom, ${Tr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1392
1396
  }
1393
1397
 
1394
1398
  .ft-snap-scroll--horizontal .ft-snap-scroll--next {
1395
1399
  top: 0;
1396
1400
  right: -1px;
1397
1401
  bottom: 0;
1398
- background: linear-gradient(to left, ${jr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1402
+ background: linear-gradient(to left, ${Tr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1399
1403
  }
1400
1404
 
1401
1405
  .ft-snap-scroll--vertical .ft-snap-scroll--next {
1402
1406
  left: 0;
1403
1407
  right: 0;
1404
1408
  bottom: -1px;
1405
- background: linear-gradient(to top, ${jr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1409
+ background: linear-gradient(to top, ${Tr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1406
1410
  }
1407
1411
 
1408
1412
  .ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
1409
1413
  .ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
1410
1414
  .ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
1411
1415
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1412
- background-color: ${jr.colorSurface};
1416
+ background-color: ${Tr.colorSurface};
1413
1417
  }
1414
- `;var _r=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Gr extends CustomEvent{constructor(t,o){super("current-element-change",{detail:{index:t,element:o}})}}class Vr extends Ao{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 o(200),this.updateScrollDebouncer=new o(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let o=this.elements[t];if(o){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,e=this.contentSlot[this.scrollAttribute]+this.prevSize;(o[this.offsetAttribute]<e||o[this.offsetAttribute]+o[this.sizeAttribute]>t)&&this.scrollToElement(o)}}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=Vi({"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":Vo}),o=this.controls&&this.withScroll;return ao`
1418
+ `;var Gr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Vr extends CustomEvent{constructor(t,o){super("current-element-change",{detail:{index:t,element:o}})}}class Yr extends Ao{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 o(200),this.updateScrollDebouncer=new o(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let o=this.elements[t];if(o){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,e=this.contentSlot[this.scrollAttribute]+this.prevSize;(o[this.offsetAttribute]<e||o[this.offsetAttribute]+o[this.sizeAttribute]>t)&&this.scrollToElement(o)}}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=Yi({"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":Yo}),o=this.controls&&this.withScroll;return ao`
1415
1419
  <div part="container" class="${t}">
1416
1420
  <ft-button
1417
1421
  class="ft-snap-scroll--previous"
@@ -1435,7 +1439,7 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1435
1439
  @click=${this.next}
1436
1440
  ></ft-button>
1437
1441
  </div>
1438
- `}update(t){super.update(t),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 Gr(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(o=this.listenedContainer)||void 0===o||o.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const o=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<o&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var o,e;t&&(this.horizontal?null===(o=this.contentSlot)||void 0===o||o.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(e=this.contentSlot)||void 0===e||e.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,o;this.elements=null!==(o=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==o?o:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let o=0;o<this.elements.length;o++)(t<0||this.getDistanceFromStart(this.elements[o])<this.getDistanceFromStart(this.elements[t]))&&(t=o);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 o=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-o)}}Vr.elementDefinitions={"ft-button":br},Vr.styles=Tr,_r([$({type:Boolean})],Vr.prototype,"horizontal",void 0),_r([$({type:Boolean})],Vr.prototype,"hideScrollbar",void 0),_r([$({type:Boolean})],Vr.prototype,"controls",void 0),_r([$({type:Boolean})],Vr.prototype,"limitSize",void 0),_r([C()],Vr.prototype,"elements",void 0),_r([C()],Vr.prototype,"currentElement",void 0),_r([C()],Vr.prototype,"withScroll",void 0),_r([C()],Vr.prototype,"startReached",void 0),_r([C()],Vr.prototype,"endReached",void 0),_r([R(".ft-snap-scroll--content")],Vr.prototype,"contentSlot",void 0),L("ft-snap-scroll")(Vr);const Yr={colorOutline:Co.external(Lo.colorOutline,"Design system"),colorOnSurface:Co.external(Lo.colorOnSurface,"Design system"),colorOnSurfaceMedium:Co.external(Lo.colorOnSurfaceMedium,"Design system"),colorPrimary:Co.external(Lo.colorPrimary,"Design system"),colorSurface:Co.external(Lo.colorSurface,"Design system"),transitionDuration:Co.external(Lo.transitionDuration,"Design system"),transitionTimingFunction:Co.external(Lo.transitionTimingFunction,"Design system")},Jr=[ai,wt`
1442
+ `}update(t){super.update(t),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 Vr(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(o=this.listenedContainer)||void 0===o||o.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const o=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<o&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var o,e;t&&(this.horizontal?null===(o=this.contentSlot)||void 0===o||o.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(e=this.contentSlot)||void 0===e||e.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,o;this.elements=null!==(o=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==o?o:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let o=0;o<this.elements.length;o++)(t<0||this.getDistanceFromStart(this.elements[o])<this.getDistanceFromStart(this.elements[t]))&&(t=o);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 o=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-o)}}Yr.elementDefinitions={"ft-button":mr},Yr.styles=_r,Gr([$({type:Boolean})],Yr.prototype,"horizontal",void 0),Gr([$({type:Boolean})],Yr.prototype,"hideScrollbar",void 0),Gr([$({type:Boolean})],Yr.prototype,"controls",void 0),Gr([$({type:Boolean})],Yr.prototype,"limitSize",void 0),Gr([C()],Yr.prototype,"elements",void 0),Gr([C()],Yr.prototype,"currentElement",void 0),Gr([C()],Yr.prototype,"withScroll",void 0),Gr([C()],Yr.prototype,"startReached",void 0),Gr([C()],Yr.prototype,"endReached",void 0),Gr([R(".ft-snap-scroll--content")],Yr.prototype,"contentSlot",void 0),L("ft-snap-scroll")(Yr);const Jr={colorOutline:Co.external(Lo.colorOutline,"Design system"),colorOnSurface:Co.external(Lo.colorOnSurface,"Design system"),colorOnSurfaceMedium:Co.external(Lo.colorOnSurfaceMedium,"Design system"),colorPrimary:Co.external(Lo.colorPrimary,"Design system"),colorSurface:Co.external(Lo.colorSurface,"Design system"),transitionDuration:Co.external(Lo.transitionDuration,"Design system"),transitionTimingFunction:Co.external(Lo.transitionTimingFunction,"Design system")},qr=[si,wt`
1439
1443
  :host {
1440
1444
  display: flex;
1441
1445
  max-height: 100%;
@@ -1448,7 +1452,7 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1448
1452
  flex-direction: column;
1449
1453
  max-height: 100%;
1450
1454
  max-width: 100%;
1451
- color: ${Yr.colorOnSurface};
1455
+ color: ${Jr.colorOnSurface};
1452
1456
  }
1453
1457
 
1454
1458
  .ft-filter--header {
@@ -1458,13 +1462,13 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1458
1462
  flex-shrink: 0;
1459
1463
  padding: 0 10px;
1460
1464
  margin-bottom: 8px;
1461
- ${ko(ie.fontSize,"14px")};
1465
+ ${ko(re.fontSize,"14px")};
1462
1466
  }
1463
1467
 
1464
1468
  .ft-filter--header ft-button {
1465
1469
  flex-shrink: 0;
1466
1470
  margin-left: auto;
1467
- ${ko(Mi.iconSize,"18px")};
1471
+ ${ko(Ai.iconSize,"18px")};
1468
1472
  }
1469
1473
 
1470
1474
  .ft-filter--label {
@@ -1472,8 +1476,8 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1472
1476
  flex-shrink: 1;
1473
1477
  flex-grow: 1;
1474
1478
  word-break: break-word;
1475
- ${ko(ie.lineHeight,"22px")};
1476
- ${ko(ie.fontWeight,"bold")};
1479
+ ${ko(re.lineHeight,"22px")};
1480
+ ${ko(re.fontWeight,"bold")};
1477
1481
  }
1478
1482
 
1479
1483
  .ft-filter--filter {
@@ -1484,8 +1488,8 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1484
1488
  padding: 0 10px;
1485
1489
  overflow: hidden;
1486
1490
  height: 32px;
1487
- transition: height ${Yr.transitionDuration} ${Yr.transitionTimingFunction},
1488
- margin ${Yr.transitionDuration} ${Yr.transitionTimingFunction};
1491
+ transition: height ${Jr.transitionDuration} ${Jr.transitionTimingFunction},
1492
+ margin ${Jr.transitionDuration} ${Jr.transitionTimingFunction};
1489
1493
  transition-delay: 500ms;
1490
1494
  }
1491
1495
 
@@ -1498,15 +1502,15 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1498
1502
  display: block;
1499
1503
  width: 100%;
1500
1504
  border-radius: 4px;
1501
- border: 1px solid ${Yr.colorOutline};
1505
+ border: 1px solid ${Jr.colorOutline};
1502
1506
  padding: 4px;
1503
- background-color: ${Yr.colorSurface};
1504
- color: ${Yr.colorOnSurface};
1505
- outline-color: ${Yr.colorPrimary};
1507
+ background-color: ${Jr.colorSurface};
1508
+ color: ${Jr.colorOnSurface};
1509
+ outline-color: ${Jr.colorPrimary};
1506
1510
  }
1507
1511
 
1508
1512
  input::placeholder {
1509
- color: ${Yr.colorOnSurfaceMedium};
1513
+ color: ${Jr.colorOnSurfaceMedium};
1510
1514
  }
1511
1515
 
1512
1516
  input:placeholder-shown {
@@ -1522,7 +1526,7 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1522
1526
  }
1523
1527
 
1524
1528
  .ft-filter--separator {
1525
- border-top: 1px solid ${Yr.colorOutline};
1529
+ border-top: 1px solid ${Jr.colorOutline};
1526
1530
  margin: 4px 10px;
1527
1531
  }
1528
1532
 
@@ -1547,7 +1551,7 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1547
1551
  slot:not([name]) {
1548
1552
  display: none;
1549
1553
  }
1550
- `];var qr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Xr extends CustomEvent{constructor(t){super("change",{detail:t})}}class Qr extends Ao{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.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new o(300),this.changeDebouncer=new o(10),this.lastDispatchedValues=[]}get flatOptions(){return U(this.options,(t=>{var o;return null!==(o=t.subOptions)&&void 0!==o?o:[]}))}get selectedValues(){return this.flatOptions.filter((t=>t.selected)).map((t=>t.value))}render(){const t=this.flatOptions.some((t=>t.selected)),o=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,e=this.filterPlaceHolder.replace("{0}",this.label);return ao`
1554
+ `];var Xr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Qr extends CustomEvent{constructor(t){super("change",{detail:t})}}class tn extends Ao{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.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new o(300),this.changeDebouncer=new o(10),this.lastDispatchedValues=[]}get flatOptions(){return U(this.options,(t=>{var o;return null!==(o=t.subOptions)&&void 0!==o?o:[]}))}get selectedValues(){return this.flatOptions.filter((t=>t.selected)).map((t=>t.value))}render(){const t=this.flatOptions.some((t=>t.selected)),o=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,e=this.filterPlaceHolder.replace("{0}",this.label);return ao`
1551
1555
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1552
1556
  part="container">
1553
1557
  ${this.label||t?ao`
@@ -1619,6 +1623,6 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1619
1623
  .exportpartsPrefixes=${["values","available-values"]}
1620
1624
  noValuesLabel="${this.noValuesLabel}"
1621
1625
  ></ft-filter-level>
1622
- `}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 o;t.stopPropagation();const e=this.flatOptions.find((o=>o.value===t.detail.value));e.selected=!e.selected;const i=t=>{var o;t!==e&&(t.selected=!1),null===(o=t.subOptions)||void 0===o||o.forEach(i)};this.multivalued?null===(o=e.subOptions)||void 0===o||o.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}sendEventIfValuesChanged(){const t=this.selectedValues;I(this.lastDispatchedValues,t)||(this.dispatchEvent(new Xr(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,o;this.filter=null!==(o=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==o?o:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}Qr.elementDefinitions={"ft-button":br,"ft-filter-level":Hr,"ft-snap-scroll":Vr,"ft-typography":di},Qr.styles=Jr,qr([$({type:String})],Qr.prototype,"id",void 0),qr([$({type:String})],Qr.prototype,"label",void 0),qr([$({type:String})],Qr.prototype,"filterPlaceHolder",void 0),qr([$({type:String})],Qr.prototype,"clearButtonLabel",void 0),qr([$({type:String})],Qr.prototype,"moreValuesButtonLabel",void 0),qr([$({type:String})],Qr.prototype,"noValuesLabel",void 0),qr([W([])],Qr.prototype,"options",void 0),qr([$({type:Boolean})],Qr.prototype,"multivalued",void 0),qr([$({type:Boolean})],Qr.prototype,"disabled",void 0),qr([$({type:Boolean})],Qr.prototype,"raiseSelectedOptions",void 0),qr([$({type:Number})],Qr.prototype,"displayedValuesLimit",void 0),qr([$({type:Boolean})],Qr.prototype,"hideClearButton",void 0),qr([R(".ft-filter--slot")],Qr.prototype,"slotElement",void 0),qr([R(".ft-filter--container")],Qr.prototype,"container",void 0),qr([R(".ft-filter--values")],Qr.prototype,"valuesContainer",void 0),qr([R(".ft-filter--levels")],Qr.prototype,"levelsContainer",void 0),qr([C()],Qr.prototype,"lastLevelHasHiddenvalues",void 0),qr([R(".ft-filter--filter input")],Qr.prototype,"filterInput",void 0),qr([function(t){return(o,e)=>k(0,0,{get(){return(this.renderRoot??(E??=document.createDocumentFragment())).querySelectorAll(t)}})}(".ft-filter--levels ft-filter-level")],Qr.prototype,"levels",void 0),qr([C()],Qr.prototype,"withScroll",void 0),qr([C()],Qr.prototype,"filter",void 0),qr([C()],Qr.prototype,"slideIn",void 0),qr([C()],Qr.prototype,"slideOut",void 0);var tn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class on extends Ao{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return ao`
1626
+ `}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 o;t.stopPropagation();const e=this.flatOptions.find((o=>o.value===t.detail.value));e.selected=!e.selected;const i=t=>{var o;t!==e&&(t.selected=!1),null===(o=t.subOptions)||void 0===o||o.forEach(i)};this.multivalued?null===(o=e.subOptions)||void 0===o||o.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}sendEventIfValuesChanged(){const t=this.selectedValues;I(this.lastDispatchedValues,t)||(this.dispatchEvent(new Qr(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,o;this.filter=null!==(o=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==o?o:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}tn.elementDefinitions={"ft-button":mr,"ft-filter-level":jr,"ft-snap-scroll":Yr,"ft-typography":ui},tn.styles=qr,Xr([$({type:String})],tn.prototype,"id",void 0),Xr([$({type:String})],tn.prototype,"label",void 0),Xr([$({type:String})],tn.prototype,"filterPlaceHolder",void 0),Xr([$({type:String})],tn.prototype,"clearButtonLabel",void 0),Xr([$({type:String})],tn.prototype,"moreValuesButtonLabel",void 0),Xr([$({type:String})],tn.prototype,"noValuesLabel",void 0),Xr([W([])],tn.prototype,"options",void 0),Xr([$({type:Boolean})],tn.prototype,"multivalued",void 0),Xr([$({type:Boolean})],tn.prototype,"disabled",void 0),Xr([$({type:Boolean})],tn.prototype,"raiseSelectedOptions",void 0),Xr([$({type:Number})],tn.prototype,"displayedValuesLimit",void 0),Xr([$({type:Boolean})],tn.prototype,"hideClearButton",void 0),Xr([R(".ft-filter--slot")],tn.prototype,"slotElement",void 0),Xr([R(".ft-filter--container")],tn.prototype,"container",void 0),Xr([R(".ft-filter--values")],tn.prototype,"valuesContainer",void 0),Xr([R(".ft-filter--levels")],tn.prototype,"levelsContainer",void 0),Xr([C()],tn.prototype,"lastLevelHasHiddenvalues",void 0),Xr([R(".ft-filter--filter input")],tn.prototype,"filterInput",void 0),Xr([function(t){return(o,e)=>k(0,0,{get(){return(this.renderRoot??(E??=document.createDocumentFragment())).querySelectorAll(t)}})}(".ft-filter--levels ft-filter-level")],tn.prototype,"levels",void 0),Xr([C()],tn.prototype,"withScroll",void 0),Xr([C()],tn.prototype,"filter",void 0),Xr([C()],tn.prototype,"slideIn",void 0),Xr([C()],tn.prototype,"slideOut",void 0);var on=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class en extends Ao{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return ao`
1623
1627
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1624
- `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}on.elementDefinitions={},tn([$({type:String})],on.prototype,"label",void 0),tn([$({type:Object,converter:t=>t})],on.prototype,"value",void 0),tn([$({type:Boolean,reflect:!0})],on.prototype,"selected",void 0),tn([$({type:Object})],on.prototype,"subOptions",void 0),tn([W({})],on.prototype,"renderOption",void 0),tn([R(".ft-filter-option--slot")],on.prototype,"slotElement",void 0),L("ft-filter")(Qr),L("ft-filter-option")(on),t.FtFilter=Qr,t.FtFilterChangeEvent=Xr,t.FtFilterCssVariables=Yr,t.FtFilterLevelCssVariables=Mr,t.FtFilterOption=on,t.levelStyles=Ar,t.styles=Jr}({});
1628
+ `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}en.elementDefinitions={},on([$({type:String})],en.prototype,"label",void 0),on([$({type:Object,converter:t=>t})],en.prototype,"value",void 0),on([$({type:Boolean,reflect:!0})],en.prototype,"selected",void 0),on([$({type:Object})],en.prototype,"subOptions",void 0),on([W({})],en.prototype,"renderOption",void 0),on([R(".ft-filter-option--slot")],en.prototype,"slotElement",void 0),L("ft-filter")(tn),L("ft-filter-option")(en),t.FtFilter=tn,t.FtFilterChangeEvent=Qr,t.FtFilterCssVariables=Jr,t.FtFilterLevelCssVariables=Ar,t.FtFilterOption=en,t.levelStyles=Pr,t.styles=qr}({});