@fluid-topics/ft-filter 1.1.2 → 1.1.4

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.
@@ -12,80 +12,80 @@
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 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}}
15
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=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||[]);h(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 f=o.call(i,t);f||(f=p(t),e.call(i,t,f)),this===window.customElements&&(a.set(r,c),c.standInClass=f);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 e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let i=this._awaitingUpgrade.get(e);i||this._awaitingUpgrade.set(e,i=new Set),o?i.add(t):i.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,f=t=>{let e=t.getRootNode();if(!c(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=f(o)||window.customElements,r=i._getDefinition(e);return r?u(o,r):n.set(o,i),o}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){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)}},h=(t,e,o)=>{if(0===e.size||void 0===o)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r),o.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(e.has(i)){const t=this.getAttribute(i);r.call(this,i),o.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(e.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const e=this.getAttribute(r);o.call(this,r,t,e)}else n.call(this,r,i)})},d=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):d(o)},u=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=i.apply(o||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,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.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,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const i=e.call(this,...o);return t.set(i,this),i},o.forEach((e=>{const o=window.ElementInternals.prototype,i=o[e];o[e]=function(...e){const o=t.get(this);if(!0===r.get(o).formAssociated)return i?.call(this,...e);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 e=new Map;t.forEach(((t,o)=>{const i=t.getAttribute("name"),r=e.get(i)||[];this[+o]=t,r.push(t),e.set(i,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=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,[]),e=[];for(const o of t){const t=r.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(sn){const t=window.customElements.define;window.customElements.define=(e,o,i)=>{if(null!==o)try{t.bind(window.customElements)(e,o,i)}catch(t){console.info(e,o,i,t)}}}
16
16
  /**
17
17
  * @license
18
18
  * Copyright 2019 Google LLC
19
19
  * SPDX-License-Identifier: BSD-3-Clause
20
- */const e=globalThis,i=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),n=new WeakMap;const a=t=>new class{constructor(t,o,e){if(this._$cssResult$=!0,e!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(i&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=n.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&n.set(o,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,r),s=i?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return a(o)})(t):t
20
+ */const e=globalThis,o=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,i=Symbol(),r=new WeakMap;const n=t=>new class{constructor(t,e,o){if(this._$cssResult$=!0,o!==i)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(o&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=r.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&r.set(e,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,i),a=o?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return n(e)})(t):t
21
21
  /**
22
22
  * @license
23
23
  * Copyright 2017 Google LLC
24
24
  * SPDX-License-Identifier: BSD-3-Clause
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");
25
+ */,{is:s,defineProperty:l,getOwnPropertyDescriptor:c,getOwnPropertyNames:f,getOwnPropertySymbols:p,getPrototypeOf:h}=Object,d=globalThis,u=d.trustedTypes,y=u?u.emptyScript:"",g=d.reactiveElementPolyfillSupport,b=(t,e)=>t,m={toAttribute(t,e){switch(e){case Boolean:t=t?y:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},x=(t,e)=>!s(t,e),v={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:x};Symbol.metadata??=Symbol("metadata"),d.litPropertyMetadata??=new WeakMap;let O=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,e=v){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&l(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=c(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??v}static _$Ei(){if(this.hasOwnProperty(b("elementProperties")))return;const t=h(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(b("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(b("properties"))){const t=this.properties,e=[...f(t),...p(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(a(t))}else void 0!==t&&e.push(a(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"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,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,i)=>{if(o)t.adoptedStyleSheets=i.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of i){const i=document.createElement("style"),r=e.litNonce;void 0!==r&&i.setAttribute("nonce",r),i.textContent=o.cssText,t.appendChild(i)}})(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,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:m).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:m;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??x)(i?r:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.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,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}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){}};O.elementStyles=[],O.shadowRootOptions={mode:"open"},O[b("elementProperties")]=new Map,O[b("finalized")]=new Map,g?.({ReactiveElement:O}),(d.reactiveElementVersions??=[]).push("2.0.2");
26
26
  /**
27
27
  * @license
28
28
  * Copyright 2017 Google LLC
29
29
  * SPDX-License-Identifier: BSD-3-Clause
30
30
  */
31
- const N={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v},w=(t=N,o,e)=>{const{kind:i,metadata:r}=e;let n=globalThis.litPropertyMetadata.get(r);if(void 0===n&&globalThis.litPropertyMetadata.set(r,n=new Map),n.set(e.name,t),"accessor"===i){const{name:i}=e;return{set(e){const r=o.get.call(this);o.set.call(this,e),this.requestUpdate(i,r,t)},init(o){return void 0!==o&&this.C(i,void 0,t),o}}}if("setter"===i){const{name:i}=e;return function(e){const r=this[i];o.call(this,e),this.requestUpdate(i,r,t)}}throw Error("Unsupported decorator location: "+i)};function $(t){return(o,e)=>"object"==typeof e?w(t,o,e):((t,o,e)=>{const i=o.hasOwnProperty(e);return o.constructor.createProperty(e,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(o,e):void 0})(t,o,e)
31
+ const w={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:x},S=(t=w,e,o)=>{const{kind:i,metadata:r}=o;let n=globalThis.litPropertyMetadata.get(r);if(void 0===n&&globalThis.litPropertyMetadata.set(r,n=new Map),n.set(o.name,t),"accessor"===i){const{name:i}=o;return{set(o){const r=e.get.call(this);e.set.call(this,o),this.requestUpdate(i,r,t)},init(e){return void 0!==e&&this.C(i,void 0,t),e}}}if("setter"===i){const{name:i}=o;return function(o){const r=this[i];e.call(this,o),this.requestUpdate(i,r,t)}}throw Error("Unsupported decorator location: "+i)};function N(t){return(e,o)=>"object"==typeof o?S(t,e,o):((t,e,o)=>{const i=e.hasOwnProperty(o);return e.constructor.createProperty(o,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)
32
32
  /**
33
33
  * @license
34
34
  * Copyright 2017 Google LLC
35
35
  * SPDX-License-Identifier: BSD-3-Clause
36
- */}function C(t){return $({...t,state:!0,attribute:!1})}
36
+ */}function $(t){return N({...t,state:!0,attribute:!1})}
37
37
  /**
38
38
  * @license
39
39
  * Copyright 2017 Google LLC
40
40
  * SPDX-License-Identifier: BSD-3-Clause
41
- */const k=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
41
+ */const C=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
42
42
  /**
43
43
  * @license
44
44
  * Copyright 2017 Google LLC
45
45
  * SPDX-License-Identifier: BSD-3-Clause
46
- */;function R(t,o){return(e,i,r)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof i?e:r??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return k(0,0,{get(){let e=t.call(this);return void 0===e&&(e=n(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return k(0,0,{get(){return n(this)}})}}
46
+ */;function k(t,e){return(o,i,r)=>{const n=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof i?o:r??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return C(0,0,{get(){let o=t.call(this);return void 0===o&&(o=n(this),(null!==o||this.hasUpdated)&&e.call(this,o)),o}})}return C(0,0,{get(){return n(this)}})}}
47
47
  /**
48
48
  * @license
49
49
  * Copyright 2017 Google LLC
50
50
  * SPDX-License-Identifier: BSD-3-Clause
51
- */let E;function U(t,o){return t.flatMap((t=>[t,...U(o(t),o)]))}function I(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,i,r;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(i=e;0!=i--;)if(!I(t[i],o[i]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(i of t.entries())if(!o.has(i[0]))return!1;for(i of t.entries())if(!I(i[1],o.get(i[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(i of t.entries())if(!o.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(r=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(i=e;0!=i--;)if(!Object.prototype.hasOwnProperty.call(o,r[i]))return!1;for(i=e;0!=i--;){var n=r[i];if(!I(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const L=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function W(t,o){const e=()=>JSON.parse(JSON.stringify(t));return $({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!I(t,o),...null!=o?o:{}})}
51
+ */let R;class E{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)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}}function U(t,e){return t.flatMap((t=>[t,...U(e(t),e)]))}function I(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var o,i,r;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(i=o;0!=i--;)if(!I(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!I(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((o=(r=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(i=o;0!=i--;)if(!Object.prototype.hasOwnProperty.call(e,r[i]))return!1;for(i=o;0!=i--;){var n=r[i];if(!I(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const L=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function W(t,e){const o=()=>JSON.parse(JSON.stringify(t));return N({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!I(t,e),...null!=e?e:{}})}
52
52
  /**
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,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");
56
+ */const z=globalThis,F=z.trustedTypes,K=F?F.createPolicy("lit-html",{createHTML:t=>t}):void 0,B="$lit$",Z=`lit$${(Math.random()+"").slice(9)}$`,D="?"+Z,A=`<${D}>`,M=document,P=()=>M.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=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),et=Symbol.for("lit-noChange"),ot=Symbol.for("lit-nothing"),it=new WeakMap,rt=M.createTreeWalker(M,129);function nt(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==K?K.createHTML(e):e}const at=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=G;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,f=0;for(;f<o.length&&(a.lastIndex=f,l=a.exec(o),null!==l);)f=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[e+1].startsWith("/>")?" ":"";n+=a===G?o+A:c>=0?(i.push(s),o.slice(0,c)+B+o.slice(c)+Z+p):o+Z+(-2===c?e:p)}return[nt(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};let st=class t{constructor({strings:e,_$litType$:o},i){let r;this.parts=[];let n=0,a=0;const s=e.length-1,l=this.parts,[c,f]=at(e,o);if(this.el=t.createElement(c,i),rt.currentNode=this.el.content,2===o){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 e=f[a++],o=r.getAttribute(t).split(Z),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:o,ctor:"."===i[1]?ht:"?"===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),e=t.length-1;if(e>0){r.textContent=F?F.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],P()),rt.nextNode(),l.push({type:2,index:++n});r.append(t[e],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,e){const o=M.createElement("template");return o.innerHTML=t,o}};function lt(t,e,o=t,i){if(e===et)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=H(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=lt(t,r._$AS(t,e.values),r,i)),e}let ct=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??M).importNode(e,!0);rt.currentNode=i;let r=rt.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new ft(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new yt(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=rt.nextNode(),n++)}return rt.currentNode=M,i}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},ft=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=ot,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=lt(this,t,e),H(t)?t===ot||null==t||""===t?(this._$AH!==ot&&this._$AR(),this._$AH=ot):t!==this._$AH&&t!==et&&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!==ot&&H(this._$AH)?this._$AA.nextSibling.data=t:this.$(M.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=st.createElement(nt(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new ct(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=it.get(t.strings);return void 0===e&&it.set(t.strings,e=new st(t)),e}T(e){j(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let i,r=0;for(const n of e)r===o.length?o.push(i=new t(this.k(P()),this.k(P()),this,this.options)):i=o[r],i._$AI(n),r++;r<o.length&&(this._$AR(i&&i._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}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,e,o,i,r){this.type=1,this._$AH=ot,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=ot}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=lt(this,t,e,0),n=!H(t)||t!==this._$AH&&t!==et,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[o+a],e,a),s===et&&(s=this._$AH[a]),n||=!H(s)||s!==this._$AH[a],s===ot?t=ot:t!==ot&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===ot?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ht=class extends pt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ot?void 0:t}},dt=class extends pt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ot)}},ut=class extends pt{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=lt(this,t,e,0)??ot)===et)return;const o=this._$AH,i=t===ot&&o!==ot||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==ot&&(o===ot||i);i&&this.element.removeEventListener(this.name,this,o),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,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}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:ft,I:pt,H:dt,N:ut,U:ht,B:yt},bt=z.litHtmlPolyfillSupport;bt?.(st,ft),(z.litHtmlVersions??=[]).push("3.1.0");
57
57
  /**
58
58
  * @license
59
59
  * Copyright 2019 Google LLC
60
60
  * SPDX-License-Identifier: BSD-3-Clause
61
61
  */
62
- const mt=globalThis,xt=mt.ShadowRoot&&(void 0===mt.ShadyCSS||mt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,vt=Symbol(),Ot=new WeakMap;let St=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==vt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(xt&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=Ot.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&Ot.set(o,t))}return t}toString(){return this.cssText}};const Nt=t=>new St("string"==typeof t?t:t+"",void 0,vt),wt=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,i)=>o+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[i+1]),t[0]);return new St(e,t,vt)},$t=xt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return Nt(o)})(t):t
62
+ const mt=globalThis,xt=mt.ShadowRoot&&(void 0===mt.ShadyCSS||mt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,vt=Symbol(),Ot=new WeakMap;let wt=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==vt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(xt&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=Ot.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&Ot.set(e,t))}return t}toString(){return this.cssText}};const St=t=>new wt("string"==typeof t?t:t+"",void 0,vt),Nt=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[i+1]),t[0]);return new wt(o,t,vt)},$t=xt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return St(e)})(t):t
63
63
  /**
64
64
  * @license
65
65
  * Copyright 2017 Google LLC
66
66
  * SPDX-License-Identifier: BSD-3-Clause
67
- */,{is:Ct,defineProperty:kt,getOwnPropertyDescriptor:Rt,getOwnPropertyNames:Et,getOwnPropertySymbols:Ut,getPrototypeOf:It}=Object,Lt=globalThis,Wt=Lt.trustedTypes,zt=Wt?Wt.emptyScript:"",Kt=Lt.reactiveElementPolyfillSupport,Ft=(t,o)=>t,Bt={toAttribute(t,o){switch(o){case Boolean:t=t?zt: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}},Zt=(t,o)=>!Ct(t,o),Dt={attribute:!0,type:String,converter:Bt,reflect:!1,hasChanged:Zt};Symbol.metadata??=Symbol("metadata"),Lt.litPropertyMetadata??=new WeakMap;class Mt 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=Dt){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&&kt(this.prototype,t,i)}}static getPropertyDescriptor(t,o,e){const{get:i,set:r}=Rt(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)??Dt}static _$Ei(){if(this.hasOwnProperty(Ft("elementProperties")))return;const t=It(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ft("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ft("properties"))){const t=this.properties,o=[...Et(t),...Ut(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($t(t))}else void 0!==t&&o.push($t(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(xt)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),i=mt.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.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:Bt).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:Bt;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??Zt)(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){}}Mt.elementStyles=[],Mt.shadowRootOptions={mode:"open"},Mt[Ft("elementProperties")]=new Map,Mt[Ft("finalized")]=new Map,Kt?.({ReactiveElement:Mt}),(Lt.reactiveElementVersions??=[]).push("2.0.2");
67
+ */,{is:Ct,defineProperty:kt,getOwnPropertyDescriptor:Rt,getOwnPropertyNames:Et,getOwnPropertySymbols:Ut,getPrototypeOf:It}=Object,Lt=globalThis,Wt=Lt.trustedTypes,zt=Wt?Wt.emptyScript:"",Ft=Lt.reactiveElementPolyfillSupport,Kt=(t,e)=>t,Bt={toAttribute(t,e){switch(e){case Boolean:t=t?zt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},Zt=(t,e)=>!Ct(t,e),Dt={attribute:!0,type:String,converter:Bt,reflect:!1,hasChanged:Zt};Symbol.metadata??=Symbol("metadata"),Lt.litPropertyMetadata??=new WeakMap;class At 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,e=Dt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&kt(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=Rt(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Dt}static _$Ei(){if(this.hasOwnProperty(Kt("elementProperties")))return;const t=It(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Kt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Kt("properties"))){const t=this.properties,e=[...Et(t),...Ut(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift($t(t))}else void 0!==t&&e.push($t(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"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,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(xt)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),i=mt.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}})(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,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:Bt).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Bt;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??Zt)(i?r:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.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,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}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){}}At.elementStyles=[],At.shadowRootOptions={mode:"open"},At[Kt("elementProperties")]=new Map,At[Kt("finalized")]=new Map,Ft?.({ReactiveElement:At}),(Lt.reactiveElementVersions??=[]).push("2.0.2");
68
68
  /**
69
69
  * @license
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,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");
73
+ const Mt=globalThis,Pt=Mt.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,te=/-->/g,ee=/>/g,oe=RegExp(`>|${Xt}(?:([^\\s"'>=/]+)(${Xt}*=${Xt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),ie=/'/g,re=/"/g,ne=/^(?:script|style|textarea|title)$/i,ae=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),se=Symbol.for("lit-noChange"),le=Symbol.for("lit-nothing"),ce=new WeakMap,fe=Vt.createTreeWalker(Vt,129);function pe(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ht?Ht.createHTML(e):e}const he=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=Qt;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,f=0;for(;f<o.length&&(a.lastIndex=f,l=a.exec(o),null!==l);)f=a.lastIndex,a===Qt?"!--"===l[1]?a=te:void 0!==l[1]?a=ee:void 0!==l[2]?(ne.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=oe):void 0!==l[3]&&(a=oe):a===oe?">"===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]?oe:'"'===l[3]?re:ie):a===re||a===ie?a=oe:a===te||a===ee?a=Qt:(a=oe,r=void 0);const p=a===oe&&t[e+1].startsWith("/>")?" ":"";n+=a===Qt?o+Gt:c>=0?(i.push(s),o.slice(0,c)+jt+o.slice(c)+Tt+p):o+Tt+(-2===c?e:p)}return[pe(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};class de{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[l,c]=he(t,e);if(this.el=de.createElement(l,o),fe.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=fe.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(jt)){const e=c[n++],o=i.getAttribute(t).split(Tt),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:r,name:a[2],strings:o,ctor:"."===a[1]?be:"?"===a[1]?me:"@"===a[1]?xe:ge}),i.removeAttribute(t)}else t.startsWith(Tt)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(ne.test(i.tagName)){const t=i.textContent.split(Tt),e=t.length-1;if(e>0){i.textContent=Pt?Pt.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],Yt()),fe.nextNode(),s.push({type:2,index:++r});i.append(t[e],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,e){const o=Vt.createElement("template");return o.innerHTML=t,o}}function ue(t,e,o=t,i){if(e===se)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=Jt(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=ue(t,r._$AS(t,e.values),r,i)),e}class ye{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=le,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=ue(this,t,e),Jt(t)?t===le||null==t||""===t?(this._$AH!==le&&this._$AR(),this._$AH=le):t!==this._$AH&&t!==se&&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!==le&&Jt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Vt.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=de.createElement(pe(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??Vt).importNode(e,!0);fe.currentNode=i;let r=fe.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new ye(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new ve(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=fe.nextNode(),n++)}return fe.currentNode=Vt,i}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=ce.get(t.strings);return void 0===e&&ce.set(t.strings,e=new de(t)),e}T(t){qt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let o,i=0;for(const r of t)i===e.length?e.push(o=new ye(this.k(Yt()),this.k(Yt()),this,this.options)):o=e[i],o._$AI(r),i++;i<e.length&&(this._$AR(o&&o._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class ge{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=le,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=le}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=ue(this,t,e,0),n=!Jt(t)||t!==this._$AH&&t!==se,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=ue(this,i[o+a],e,a),s===se&&(s=this._$AH[a]),n||=!Jt(s)||s!==this._$AH[a],s===le?t=le:t!==le&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===le?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class be extends ge{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===le?void 0:t}}class me extends ge{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==le)}}class xe extends ge{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=ue(this,t,e,0)??le)===se)return;const o=this._$AH,i=t===le&&o!==le||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==le&&(o===le||i);i&&this.element.removeEventListener(this.name,this,o),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 ve{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){ue(this,t)}}const Oe=Mt.litHtmlPolyfillSupport;Oe?.(de,ye),(Mt.litHtmlVersions??=[]).push("3.1.0");
74
74
  /**
75
75
  * @license
76
76
  * Copyright 2017 Google LLC
77
77
  * SPDX-License-Identifier: BSD-3-Clause
78
78
  */
79
- let No=class extends Mt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{const i=e?.renderBefore??o;let r=i._$litPart$;if(void 0===r){const t=e?.renderBefore??null;i._$litPart$=r=new go(o.insertBefore(Yt(),t),t,void 0,e??{})}return r._$AI(t),r})(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return so}};No._$litElement$=!0,No.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:No});const wo=globalThis.litElementPolyfillSupport;wo?.({LitElement:No}),(globalThis.litElementVersions??=[]).push("4.0.2");const $o=t=>"string"==typeof t?Nt(t):t;class Co{static create(t,o,e,i){const r=t=>$o(null!=t?t:i),n=wt`var(${$o(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>wt`var(${$o(t)}, ${r(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,o,e,i){const r=t=>e.get(null!=t?t:i),n=wt`var(${$o(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>wt`var(${$o(t)}, ${r(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):$o(null!=o?o:t.lastResortDefaultValue()),i=wt`var(${$o(t.name)}, ${e(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=e,i.get=o=>wt`var(${$o(t.name)}, ${e(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function ko(t,o){return $o(`${t.name}: ${o}`)}const Ro={colorWhite:Co.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Co.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Co.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Co.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Co.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Co.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Co.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Co.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Co.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Co.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Co.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Co.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Co.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Co.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Co.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Co.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Co.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Co.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Co.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Co.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Co.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Co.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Co.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Co.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Co.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Co.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Co.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Co.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Co.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Co.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Co.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Co.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Co.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Co.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Co.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Co.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Co.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Co.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Co.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Co.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Co.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Co.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Co.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Co.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Co.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Co.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Co.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Co.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Co.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Co.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Co.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Co.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Co.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Co.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Co.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Co.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Co.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Co.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Co.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Co.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Co.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Co.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Co.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Co.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Co.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Co.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Co.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Co.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Co.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Co.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Co.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Co.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Co.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Co.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Co.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Co.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Co.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Co.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Co.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Co.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Co.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Co.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Co.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Co.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Co.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Co.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Co.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Co.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Co.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Co.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Co.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Co.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Co.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Co.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Co.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Co.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Co.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Co.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Co.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Co.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Co.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Co.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Co.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Co.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Co.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Co.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Co.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Co.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Co.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Co.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Co.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Co.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Co.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Co.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Co.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Co.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Co.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Co.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Co.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Co.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Co.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Co.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Co.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Co.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Co.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Co.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Co.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Co.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Co.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Co.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Co.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Co.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Co.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Co.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Co.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Co.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Co.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Co.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Co.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Co.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Co.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Co.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Co.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Co.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Co.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Co.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Co.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Co.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Co.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Co.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Co.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Co.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Co.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Co.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Co.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Co.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Co.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Co.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Co.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Co.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Co.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Co.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Co.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Co.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Co.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Co.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Co.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Co.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Co.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Co.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Co.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Co.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Co.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Co.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Co.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Co.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Co.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Co.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Co.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Co.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Co.create("--ft-opacity-0","","NUMBER","0"),opacity8:Co.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Co.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Co.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Co.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Co.create("--ft-opacity-80","","NUMBER","0.8")},Eo={display:{fontFamily:Co.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Co.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Co.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Co.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Co.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Co.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Co.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Co.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Co.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Co.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Co.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Co.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Co.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Co.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Co.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Co.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Co.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Co.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Co.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Co.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Co.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Co.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Co.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Co.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Co.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Co.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Co.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Co.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Co.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Co.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Co.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Co.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Co.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Co.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Co.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Co.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Co.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Co.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Co.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Co.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Co.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Co.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Co.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Co.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Co.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Co.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Co.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Co.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Co.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Co.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Co.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Co.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Co.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Co.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Co.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Co.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Co.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Co.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Co.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Co.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Co.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Co.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Co.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Co.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Co.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Co.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Co.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Co.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Co.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Co.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Co.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Co.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Co.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Co.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Co.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Co.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Co.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Co.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Co.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Co.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Co.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Co.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Co.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Co.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Co.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Co.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Co.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Co.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Uo={backgroundActionPrimary:Co.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ro.colorBrand0),backgroundErrorPrimary:Co.extend("--ft-background-error-primary","Used as background of error components.",Ro.colorRed0),backgroundErrorSubtle:Co.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ro.colorRed10),backgroundInfoPrimary:Co.extend("--ft-background-info-primary","Used as background of information components.",Ro.colorCyan200),backgroundInfoSubtle:Co.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ro.colorCyan10),backgroundWarningPrimary:Co.extend("--ft-background-warning-primary","Used as background of warning components.",Ro.colorOrange300),backgroundWarningSubtle:Co.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ro.colorOrange10),backgroundSuccessPrimary:Co.extend("--ft-background-success-primary","Used as background of success components.",Ro.colorGreen200),backgroundSuccessSubtle:Co.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ro.colorGreen10),backgroundGlobalSurface:Co.extend("--ft-background-global-surface","Used as app background.",Ro.colorWhite),backgroundGlobalOnSurface:Co.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ro.colorGray10),backgroundGlobalOnSurfaceDark:Co.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ro.colorGray30),contentActionPrimary:Co.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ro.colorBrand0),contentWarningPrimary:Co.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ro.colorOrange300),contentWarningIconOnly:Co.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ro.colorOrange0),contentErrorPrimary:Co.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ro.colorRed0),contentErrorIconOnly:Co.extend("--ft-content-error-icon-only","Used on error status icons alone",Ro.colorRed0),contentInfoPrimary:Co.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ro.colorCyan200),contentInfoIconOnly:Co.extend("--ft-content-info-icon-only","Used on info status icons alone",Ro.colorCyan0),contentSuccessIconOnly:Co.extend("--ft-content-success-icon-only","Used on success status icons alone",Ro.colorGreen0),contentSuccessPrimary:Co.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ro.colorGreen200),contentGlobalPrimary:Co.extend("--ft-content-global-primary","Used for main content on the page.",Ro.colorGray500),contentGlobalSecondary:Co.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ro.colorGray200),contentGlobalSubtle:Co.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ro.colorGray0),contentGlobalOnColor:Co.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ro.colorWhite),borderActionPrimary:Co.extend("--ft-border-action-primary","Used as border for primary action components.",Ro.colorBrand0),borderActionFocusRing:Co.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ro.colorCyan0),borderWarningPrimary:Co.extend("--ft-border-warning-primary","Used as border for warning components.",Ro.colorOrange30),borderSuccessPrimary:Co.extend("--ft-border-success-primary","Used as border for success components.",Ro.colorGreen30),borderErrorPrimary:Co.extend("--ft-border-error-primary","Used as border for error components.",Ro.colorRed30),borderInfoPrimary:Co.extend("--ft-border-info-primary","Used as border for information components.",Ro.colorCyan30),borderGlobalSubtle:Co.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ro.colorGray30),borderGlobalPrimary:Co.extend("--ft-border-global-primary","Used as border for element like input.",Ro.colorGray50),borderInputPrimary:Co.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ro.colorGray80)},Io={largeHeight:Co.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Co.extend("--ft-button-large-horizontal-padding","",Ro.spacing4),largeGap:Co.extend("--ft-button-large-gap","",Ro.spacing2),largeBorderRadius:Co.extend("--ft-button-large-border-radius","",Ro.borderRadiusS),largeIconSize:Co.extend("--ft-button-large-icon-size","",Ro.iconSize3),largeBorderWidth:Co.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Co.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Co.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Co.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Co.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Co.extend("--ft-button-small-horizontal-padding","",Ro.spacing3),smallGap:Co.extend("--ft-button-small-gap","",Ro.spacing2),smallBorderRadius:Co.extend("--ft-button-small-border-radius","",Ro.borderRadiusS),smallIconSize:Co.extend("--ft-button-small-icon-size","",Ro.iconSize2),smallBorderWidth:Co.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Co.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Co.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Co.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Co.extend("--ft-button-primary-background-color","",Uo.backgroundActionPrimary),primaryColor:Co.extend("--ft-button-primary-color","",Uo.contentGlobalOnColor),primaryIconColor:Co.extend("--ft-button-primary-icon-color","",Uo.contentGlobalOnColor),primaryStateLayerColor:Co.extend("--ft-button-primary-state-layer-color","",Uo.contentGlobalOnColor),primaryStateLayerOpacityHover:Co.extend("--ft-button-primary-state-layer-opacity-hover","",Ro.opacity16),primaryStateLayerOpacityFocus:Co.extend("--ft-button-primary-state-layer-opacity-focus","",Ro.opacity16),primaryStateLayerOpacityActive:Co.extend("--ft-button-primary-state-layer-opacity-active","",Ro.opacity24),primaryComponentOpacityDisabled:Co.extend("--ft-button-primary-component-opacity-disabled","",Ro.opacity40),focusFocusRingColor:Co.extend("--ft-button-focus-focus-ring-color","",Uo.borderActionFocusRing),tertiaryBackgroundColor:Co.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Co.extend("--ft-button-tertiary-color","",Uo.contentActionPrimary),tertiaryIconColor:Co.extend("--ft-button-tertiary-icon-color","",Uo.contentActionPrimary),tertiaryStateLayerColor:Co.extend("--ft-button-tertiary-state-layer-color","",Uo.contentActionPrimary),tertiaryStateLayerOpacityHover:Co.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ro.opacity8),tertiaryStateLayerOpacityFocus:Co.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ro.opacity8),tertiaryStateLayerOpacityActive:Co.extend("--ft-button-tertiary-state-layer-opacity-active","",Ro.opacity16),tertiaryComponentOpacityDisabled:Co.extend("--ft-button-tertiary-component-opacity-disabled","",Ro.opacity40),secondaryBackgroundColor:Co.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Co.extend("--ft-button-secondary-color","",Uo.contentActionPrimary),secondaryIconColor:Co.extend("--ft-button-secondary-icon-color","",Uo.contentActionPrimary),secondaryStateLayerColor:Co.extend("--ft-button-secondary-state-layer-color","",Uo.contentActionPrimary),secondaryStateLayerOpacityHover:Co.extend("--ft-button-secondary-state-layer-opacity-hover","",Ro.opacity8),secondaryStateLayerOpacityFocus:Co.extend("--ft-button-secondary-state-layer-opacity-focus","",Ro.opacity8),secondaryStateLayerOpacityActive:Co.extend("--ft-button-secondary-state-layer-opacity-active","",Ro.opacity16),secondaryComponentOpacityDisabled:Co.extend("--ft-button-secondary-component-opacity-disabled","",Ro.opacity40),secondaryBorderColor:Co.extend("--ft-button-secondary-border-color","",Uo.borderActionPrimary),neutralBackgroundColor:Co.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Co.extend("--ft-button-neutral-icon-color","",Uo.contentGlobalSecondary),neutralColor:Co.extend("--ft-button-neutral-color","",Uo.contentGlobalSecondary),neutralStateLayerColor:Co.extend("--ft-button-neutral-state-layer-color","",Uo.contentGlobalSecondary),neutralStateLayerOpacityHover:Co.extend("--ft-button-neutral-state-layer-opacity-hover","",Ro.opacity8),neutralStateLayerOpacityFocus:Co.extend("--ft-button-neutral-state-layer-opacity-focus","",Ro.opacity8),neutralStateLayerOpacityActive:Co.extend("--ft-button-neutral-state-layer-opacity-active","",Ro.opacity16),neutralComponentOpacityDisabled:Co.extend("--ft-button-neutral-component-opacity-disabled","",Ro.opacity40)};Co.extend("--ft-tabs-top-left-border-radius","",Ro.borderRadiusS),Co.extend("--ft-tabs-top-right-border-radius","",Ro.borderRadiusS),Co.extend("--ft-tabs-label-horizontal-padding","",Ro.spacing4),Co.extend("--ft-tabs-label-vertical-padding","",Ro.spacing3),Co.extend("--ft-tabs-label-gap","",Ro.spacing1),Co.extend("--ft-switch-group-horizontal-padding","",Ro.spacing1),Co.extend("--ft-switch-group-vertical-padding","",Ro.spacing1),Co.extend("--ft-switch-group-gap","",Ro.spacing1),Co.extend("--ft-switch-group-background-color","",Uo.backgroundGlobalSurface),Co.extend("--ft-switch-group-border-color","",Uo.borderGlobalSubtle),Co.create("--ft-switch-group-border-radius","","SIZE","6px"),Co.extend("--ft-switch-label-horizontal-padding","",Ro.spacing2),Co.extend("--ft-switch-label-vertical-padding","",Ro.spacing1),Co.extend("--ft-switch-icon-horizontal-padding","",Ro.spacing1),Co.extend("--ft-switch-icon-vertical-padding","",Ro.spacing1),Co.create("--ft-switch-focus-outline-width","","SIZE","2px"),Co.extend("--ft-switch-focus-focus-ring-color","",Uo.borderActionFocusRing),Co.extend("--ft-switch-option-border-radius","",Ro.borderRadiusS),Co.extend("--ft-switch-off-state-layer-opacity-hover","",Ro.opacity8),Co.extend("--ft-switch-off-state-layer-opacity-focus","",Ro.opacity8),Co.extend("--ft-switch-off-state-layer-opacity-active","",Ro.opacity16),Co.extend("--ft-switch-off-component-opacity-disabled","",Ro.opacity40),Co.extend("--ft-switch-off-color","",Uo.contentGlobalSubtle),Co.extend("--ft-switch-off-state-layer-color","",Uo.contentGlobalSubtle),Co.extend("--ft-chart-1-light","for area color charts",Ro.colorBrand40),Co.extend("--ft-chart-1-base","for line charts",Ro.colorBrand0),Co.extend("--ft-chart-2-light","for area color charts",Ro.colorYellow60),Co.extend("--ft-chart-2-base","for line charts",Ro.colorYellow100),Co.extend("--ft-chart-3-light","",Ro.colorUltramarine40),Co.extend("--ft-chart-3-base","",Ro.colorUltramarine70),Co.extend("--ft-chart-4-light","",Ro.colorCyan50),Co.extend("--ft-chart-4-base","",Ro.colorCyan100),Co.extend("--ft-chart-5-light","",Ro.colorRed40),Co.extend("--ft-chart-5-base","",Ro.colorRed60),Co.extend("--ft-chart-6-light","",Ro.colorGreen40),Co.extend("--ft-chart-6-base","",Ro.colorGreen70),Co.extend("--ft-chart-7-light","",Ro.colorOrange70),Co.extend("--ft-chart-7-base","",Ro.colorOrange100),Co.extend("--ft-chart-8-light","",Ro.colorAvocado70),Co.extend("--ft-chart-8-base","",Ro.colorAvocado200),Co.extend("--ft-chart-9-light","",Ro.colorBrown50),Co.extend("--ft-chart-9-base","",Ro.colorBrown200),Co.extend("--ft-chart-10-light","",Ro.colorGray50),Co.extend("--ft-chart-10-base","",Ro.colorGray80),Co.extend("--ft-chart-monochrome-10","",Ro.colorBrand10),Co.extend("--ft-chart-monochrome-20","",Ro.colorBrand20),Co.extend("--ft-chart-monochrome-30","",Ro.colorBrand40),Co.extend("--ft-chart-monochrome-40","",Ro.colorBrand60),Co.extend("--ft-chart-monochrome-50","",Ro.colorBrand0),Co.extend("--ft-chart-monochrome-60","",Ro.colorBrand200),Co.extend("--ft-chip-large-horizontal-padding","",Ro.spacing4),Co.extend("--ft-chip-large-vertical-padding","",Ro.spacing2),Co.extend("--ft-chip-large-gap","",Ro.spacing1),Co.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Co.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Co.extend("--ft-chip-large-border-radius","",Ro.borderRadiusPill),Co.create("--ft-chip-large-border-width","","SIZE","1px"),Co.extend("--ft-chip-large-icon-size","",Ro.iconSize3),Co.extend("--ft-chip-medium-horizontal-padding","",Ro.spacing3),Co.extend("--ft-chip-medium-vertical-padding","",Ro.spacing1),Co.extend("--ft-chip-medium-gap","",Ro.spacing1),Co.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Co.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Co.extend("--ft-chip-medium-border-radius","",Ro.borderRadiusPill),Co.create("--ft-chip-medium-border-width","","SIZE","1px"),Co.extend("--ft-chip-medium-icon-size","",Ro.iconSize2),Co.extend("--ft-chip-small-horizontal-padding","",Ro.spacing2),Co.extend("--ft-chip-small-vertical-padding","",Ro.spacing05),Co.extend("--ft-chip-small-gap","",Ro.spacing1),Co.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Co.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Co.extend("--ft-chip-small-border-radius","",Ro.borderRadiusPill),Co.create("--ft-chip-small-border-width","","SIZE","1px"),Co.extend("--ft-chip-small-icon-size","",Ro.iconSize1),Co.extend("--ft-chip-neutral-background-color","",Uo.backgroundGlobalOnSurface),Co.extend("--ft-chip-neutral-color","",Uo.contentGlobalPrimary),Co.extend("--ft-chip-neutral-border-color","",Uo.borderGlobalSubtle),Co.extend("--ft-chip-info-background-color","",Uo.backgroundInfoSubtle),Co.extend("--ft-chip-info-color","",Uo.contentInfoPrimary),Co.extend("--ft-chip-info-border-color","",Uo.borderInfoPrimary),Co.extend("--ft-chip-success-background-color","",Uo.backgroundSuccessSubtle),Co.extend("--ft-chip-success-color","",Uo.contentSuccessPrimary),Co.extend("--ft-chip-success-border-color","",Uo.borderSuccessPrimary),Co.extend("--ft-chip-warning-background-color","",Uo.backgroundWarningSubtle),Co.extend("--ft-chip-warning-color","",Uo.contentWarningPrimary),Co.extend("--ft-chip-warning-border-color","",Uo.borderWarningPrimary),Co.extend("--ft-chip-error-background-color","",Uo.backgroundErrorSubtle),Co.extend("--ft-chip-error-color","",Uo.contentErrorPrimary),Co.extend("--ft-chip-error-border-color","",Uo.borderErrorPrimary),Co.create("--ft-notice-border-width","","SIZE","1px"),Co.extend("--ft-notice-horizontal-padding","",Ro.spacing2),Co.extend("--ft-notice-vertical-padding","",Ro.spacing1),Co.extend("--ft-notice-border-radius","",Ro.borderRadiusS),Co.extend("--ft-notice-gap","",Ro.spacing2),Co.extend("--ft-notice-icon-size","",Ro.iconSize3),Co.extend("--ft-notice-info-background-color","",Uo.backgroundInfoSubtle),Co.extend("--ft-notice-info-border-color","",Uo.borderInfoPrimary),Co.extend("--ft-notice-info-color","",Uo.contentInfoPrimary),Co.extend("--ft-notice-warning-background-color","",Uo.backgroundWarningSubtle),Co.extend("--ft-notice-warning-border-color","",Uo.borderWarningPrimary),Co.extend("--ft-notice-warning-color","",Uo.contentWarningPrimary),Co.extend("--ft-checkbox-label-color","",Uo.contentGlobalPrimary),Co.extend("--ft-checkbox-checked-background-color","",Uo.contentActionPrimary),Co.extend("--ft-checkbox-checked-state-layer-color","",Uo.contentActionPrimary),Co.extend("--ft-checkbox-checked-color","",Uo.contentGlobalOnColor),Co.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ro.opacity16),Co.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ro.opacity16),Co.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ro.opacity24),Co.extend("--ft-checkbox-checked-component-opacity-disabled","",Ro.opacity40),Co.extend("--ft-checkbox-unchecked-border-color","",Ro.colorGray80),Co.extend("--ft-checkbox-unchecked-state-layer-color","",Ro.colorGray80),Co.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ro.opacity16),Co.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ro.opacity16),Co.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ro.opacity24),Co.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ro.opacity40),Co.extend("--ft-checkbox-focus-focus-ring-color","",Uo.borderActionFocusRing),Co.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Co.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Co.extend("--ft-checkbox-gap","",Ro.spacing3),Co.extend("--ft-toggle-off-state-layer-opacity-hover","",Ro.opacity16),Co.extend("--ft-toggle-off-state-layer-opacity-focus","",Ro.opacity16),Co.extend("--ft-toggle-off-state-layer-opacity-active","",Ro.opacity24),Co.extend("--ft-toggle-off-component-opacity-disabled","",Ro.opacity40),Co.extend("--ft-toggle-off-background-color","",Uo.contentGlobalSubtle),Co.extend("--ft-toggle-off-icon-color","",Uo.contentGlobalSubtle),Co.extend("--ft-toggle-off-state-layer-color","",Uo.contentGlobalSubtle),Co.extend("--ft-toggle-on-state-layer-opacity-hover","",Ro.opacity16),Co.extend("--ft-toggle-on-state-layer-opacity-focus","",Ro.opacity16),Co.extend("--ft-toggle-on-state-layer-opacity-active","",Ro.opacity24),Co.extend("--ft-toggle-on-component-opacity-disabled","",Ro.opacity40),Co.extend("--ft-toggle-on-background-color","",Uo.contentActionPrimary),Co.extend("--ft-toggle-on-icon-color","",Uo.contentActionPrimary),Co.extend("--ft-toggle-on-state-layer-color","",Uo.contentActionPrimary),Co.extend("--ft-toggle-label-color","",Uo.contentGlobalPrimary),Co.extend("--ft-toggle-focus-focus-ring-color","",Uo.borderActionFocusRing),Co.extend("--ft-toggle-gap","",Ro.spacing3),Co.extend("--ft-radio-label-color","",Uo.contentGlobalPrimary),Co.extend("--ft-radio-selected-color","",Uo.contentActionPrimary),Co.extend("--ft-radio-selected-state-layer-color","",Uo.contentActionPrimary),Co.extend("--ft-radio-selected-state-layer-opacity-hover","",Ro.opacity16),Co.extend("--ft-radio-selected-state-layer-opacity-focus","",Ro.opacity16),Co.extend("--ft-radio-selected-state-layer-opacity-active","",Ro.opacity24),Co.extend("--ft-radio-selected-component-opacity-disabled","",Ro.opacity40),Co.extend("--ft-radio-unselected-state-layer-color","",Ro.colorGray80),Co.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ro.opacity16),Co.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ro.opacity16),Co.extend("--ft-radio-unselected-state-layer-opacity-active","",Ro.opacity24),Co.extend("--ft-radio-unselected-component-opacity-disabled","",Ro.opacity40),Co.extend("--ft-radio-focus-focus-ring-color","",Uo.borderActionFocusRing),Co.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Co.create("--ft-radio-focus-outline-width","","SIZE","2px"),Co.extend("--ft-radio-gap","",Ro.spacing3),Co.extend("--ft-notification-icon-size","",Ro.iconSize4),Co.extend("--ft-notification-horizontal-padding","",Ro.spacing4),Co.extend("--ft-notification-vertical-padding","",Ro.spacing4),Co.extend("--ft-notification-info-background-color","",Uo.backgroundInfoSubtle),Co.extend("--ft-notification-info-color","",Uo.contentInfoPrimary),Co.extend("--ft-notification-info-border-color","",Uo.borderInfoPrimary),Co.extend("--ft-notification-success-background-color","",Uo.backgroundSuccessSubtle),Co.extend("--ft-notification-success-color","",Uo.contentSuccessPrimary),Co.extend("--ft-notification-success-border-color","",Uo.borderSuccessPrimary),Co.extend("--ft-notification-warning-background-color","",Uo.backgroundWarningSubtle),Co.extend("--ft-notification-warning-color","",Uo.contentWarningPrimary),Co.extend("--ft-notification-warning-border-color","",Uo.borderWarningPrimary),Co.extend("--ft-notification-error-background-color","",Uo.backgroundErrorSubtle),Co.extend("--ft-notification-error-color","",Uo.contentErrorPrimary),Co.extend("--ft-notification-error-border-color","",Uo.borderErrorPrimary),Co.extend("--ft-notification-border-radius","",Ro.borderRadiusPill),Co.create("--ft-notification-border-width","","SIZE","1px"),Co.extend("--ft-notification-gap-leading","",Ro.spacing2),Co.extend("--ft-notification-gap-trailing","",Ro.spacing8);const Lo={colorPrimary:Co.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Co.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Co.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Co.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Co.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Co.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Co.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Co.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Co.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Co.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Co.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Co.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Co.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Co.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Co.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Co.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Co.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Co.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Co.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Co.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Co.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Co.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Co.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Co.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Co.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Co.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Co.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Co.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Co.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Co.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Co.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Co.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Co.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Co.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Co.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Co.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Co.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Co.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Co.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Co.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Co.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Co.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Co.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Co.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Co.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:Co.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:Co.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:Co.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:Co.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:Co.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:Co.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:Co.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:Co.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:Co.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:Co.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Co.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Co.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Co.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Co.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Co.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Co.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Co.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Wo=window,zo=Wo.ShadowRoot&&(void 0===Wo.ShadyCSS||Wo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
79
+ let we=class extends At{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const i=o?.renderBefore??e;let r=i._$litPart$;if(void 0===r){const t=o?.renderBefore??null;i._$litPart$=r=new ye(e.insertBefore(Yt(),t),t,void 0,o??{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return se}};we._$litElement$=!0,we.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:we});const Se=globalThis.litElementPolyfillSupport;Se?.({LitElement:we}),(globalThis.litElementVersions??=[]).push("4.0.2");const Ne=t=>"string"==typeof t?St(t):t;class $e{static create(t,e,o,i){const r=t=>Ne(null!=t?t:i),n=Nt`var(${Ne(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>Nt`var(${Ne(t)}, ${r(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,o,i){const r=t=>o.get(null!=t?t:i),n=Nt`var(${Ne(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>Nt`var(${Ne(t)}, ${r(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):Ne(null!=e?e:t.lastResortDefaultValue()),i=Nt`var(${Ne(t.name)}, ${o(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=e,i.defaultCssValue=o,i.get=e=>Nt`var(${Ne(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function Ce(t,e){return Ne(`${t.name}: ${e}`)}const ke={colorWhite:$e.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:$e.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:$e.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:$e.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:$e.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:$e.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:$e.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:$e.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:$e.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:$e.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:$e.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:$e.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:$e.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:$e.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:$e.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:$e.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:$e.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:$e.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:$e.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:$e.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:$e.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:$e.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:$e.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:$e.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:$e.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:$e.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:$e.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:$e.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:$e.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:$e.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:$e.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:$e.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:$e.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:$e.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:$e.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:$e.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:$e.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:$e.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:$e.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:$e.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:$e.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:$e.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:$e.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:$e.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:$e.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:$e.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:$e.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:$e.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:$e.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:$e.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:$e.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:$e.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:$e.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:$e.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:$e.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:$e.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:$e.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:$e.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:$e.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:$e.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:$e.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:$e.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:$e.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:$e.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:$e.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:$e.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:$e.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:$e.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:$e.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:$e.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:$e.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:$e.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:$e.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:$e.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:$e.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:$e.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:$e.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:$e.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:$e.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:$e.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:$e.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:$e.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:$e.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:$e.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:$e.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:$e.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:$e.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:$e.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:$e.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:$e.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:$e.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:$e.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:$e.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:$e.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:$e.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:$e.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:$e.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:$e.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:$e.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:$e.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:$e.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:$e.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:$e.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:$e.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:$e.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:$e.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:$e.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:$e.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:$e.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:$e.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:$e.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:$e.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:$e.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:$e.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:$e.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:$e.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:$e.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:$e.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:$e.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:$e.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:$e.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:$e.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:$e.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:$e.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:$e.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:$e.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:$e.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:$e.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:$e.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:$e.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:$e.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:$e.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:$e.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:$e.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:$e.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:$e.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:$e.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:$e.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:$e.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:$e.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:$e.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:$e.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:$e.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:$e.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:$e.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:$e.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:$e.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:$e.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:$e.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:$e.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:$e.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:$e.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:$e.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:$e.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:$e.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:$e.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:$e.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:$e.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:$e.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:$e.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:$e.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:$e.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:$e.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:$e.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:$e.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:$e.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:$e.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:$e.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:$e.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:$e.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:$e.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:$e.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:$e.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:$e.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:$e.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:$e.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:$e.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:$e.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:$e.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:$e.create("--ft-icon-size-6","","SIZE","48px"),opacity0:$e.create("--ft-opacity-0","","NUMBER","0"),opacity8:$e.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:$e.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:$e.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:$e.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:$e.create("--ft-opacity-80","","NUMBER","0.8")},Re={display:{fontFamily:$e.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:$e.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:$e.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:$e.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:$e.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:$e.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:$e.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:$e.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:$e.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:$e.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:$e.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:$e.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:$e.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:$e.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:$e.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:$e.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:$e.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:$e.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:$e.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:$e.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:$e.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:$e.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:$e.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:$e.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:$e.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:$e.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:$e.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:$e.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:$e.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:$e.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:$e.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:$e.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:$e.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:$e.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:$e.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:$e.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:$e.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:$e.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:$e.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:$e.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:$e.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:$e.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:$e.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:$e.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:$e.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:$e.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:$e.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:$e.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:$e.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:$e.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:$e.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:$e.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:$e.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:$e.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:$e.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:$e.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:$e.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:$e.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:$e.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:$e.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:$e.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:$e.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:$e.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:$e.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:$e.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:$e.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:$e.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:$e.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:$e.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:$e.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:$e.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:$e.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:$e.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:$e.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:$e.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:$e.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:$e.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:$e.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:$e.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:$e.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:$e.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:$e.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:$e.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:$e.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:$e.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:$e.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:$e.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:$e.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ee={backgroundActionPrimary:$e.extend("--ft-background-action-primary","Used as backgorund of primary action components.",ke.colorBrand0),backgroundErrorPrimary:$e.extend("--ft-background-error-primary","Used as background of error components.",ke.colorRed0),backgroundErrorSubtle:$e.extend("--ft-background-error-subtle","Used as background of subtle error components.",ke.colorRed10),backgroundInfoPrimary:$e.extend("--ft-background-info-primary","Used as background of information components.",ke.colorCyan200),backgroundInfoSubtle:$e.extend("--ft-background-info-subtle","Used as background of subtle information components.",ke.colorCyan10),backgroundWarningPrimary:$e.extend("--ft-background-warning-primary","Used as background of warning components.",ke.colorOrange300),backgroundWarningSubtle:$e.extend("--ft-background-warning-subtle","Used as background of subtle information components.",ke.colorOrange10),backgroundSuccessPrimary:$e.extend("--ft-background-success-primary","Used as background of success components.",ke.colorGreen200),backgroundSuccessSubtle:$e.extend("--ft-background-success-subtle","Used as background of subtle success components.",ke.colorGreen10),backgroundGlobalSurface:$e.extend("--ft-background-global-surface","Used as app background.",ke.colorWhite),backgroundGlobalOnSurface:$e.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",ke.colorGray10),backgroundGlobalOnSurfaceDark:$e.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",ke.colorGray30),contentActionPrimary:$e.extend("--ft-content-action-primary","Used on label of primary action on light surface.",ke.colorBrand0),contentWarningPrimary:$e.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",ke.colorOrange300),contentWarningIconOnly:$e.extend("--ft-content-warning-icon-only","Used on warning status icons alone",ke.colorOrange0),contentErrorPrimary:$e.extend("--ft-content-error-primary","Used on label of error messages on light surface.",ke.colorRed0),contentErrorIconOnly:$e.extend("--ft-content-error-icon-only","Used on error status icons alone",ke.colorRed0),contentInfoPrimary:$e.extend("--ft-content-info-primary","Used on label of information messages on light surface.",ke.colorCyan200),contentInfoIconOnly:$e.extend("--ft-content-info-icon-only","Used on info status icons alone",ke.colorCyan0),contentSuccessIconOnly:$e.extend("--ft-content-success-icon-only","Used on success status icons alone",ke.colorGreen0),contentSuccessPrimary:$e.extend("--ft-content-success-primary","Used on label of success messages on light surface.",ke.colorGreen200),contentGlobalPrimary:$e.extend("--ft-content-global-primary","Used for main content on the page.",ke.colorGray500),contentGlobalSecondary:$e.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",ke.colorGray200),contentGlobalSubtle:$e.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",ke.colorGray0),contentGlobalOnColor:$e.extend("--ft-content-global-on-color","Used for content on a dominant color.",ke.colorWhite),borderActionPrimary:$e.extend("--ft-border-action-primary","Used as border for primary action components.",ke.colorBrand0),borderActionFocusRing:$e.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",ke.colorCyan0),borderWarningPrimary:$e.extend("--ft-border-warning-primary","Used as border for warning components.",ke.colorOrange30),borderSuccessPrimary:$e.extend("--ft-border-success-primary","Used as border for success components.",ke.colorGreen30),borderErrorPrimary:$e.extend("--ft-border-error-primary","Used as border for error components.",ke.colorRed30),borderInfoPrimary:$e.extend("--ft-border-info-primary","Used as border for information components.",ke.colorCyan30),borderGlobalSubtle:$e.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",ke.colorGray30),borderGlobalPrimary:$e.extend("--ft-border-global-primary","Used as border for element like input.",ke.colorGray50),borderInputPrimary:$e.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",ke.colorGray80)},Ue={largeHeight:$e.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:$e.extend("--ft-button-large-horizontal-padding","",ke.spacing4),largeGap:$e.extend("--ft-button-large-gap","",ke.spacing2),largeBorderRadius:$e.extend("--ft-button-large-border-radius","",ke.borderRadiusS),largeIconSize:$e.extend("--ft-button-large-icon-size","",ke.iconSize3),largeBorderWidth:$e.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:$e.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:$e.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:$e.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:$e.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:$e.extend("--ft-button-small-horizontal-padding","",ke.spacing3),smallGap:$e.extend("--ft-button-small-gap","",ke.spacing2),smallBorderRadius:$e.extend("--ft-button-small-border-radius","",ke.borderRadiusS),smallIconSize:$e.extend("--ft-button-small-icon-size","",ke.iconSize2),smallBorderWidth:$e.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:$e.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:$e.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:$e.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:$e.extend("--ft-button-primary-background-color","",Ee.backgroundActionPrimary),primaryColor:$e.extend("--ft-button-primary-color","",Ee.contentGlobalOnColor),primaryIconColor:$e.extend("--ft-button-primary-icon-color","",Ee.contentGlobalOnColor),primaryStateLayerColor:$e.extend("--ft-button-primary-state-layer-color","",Ee.contentGlobalOnColor),primaryStateLayerOpacityHover:$e.extend("--ft-button-primary-state-layer-opacity-hover","",ke.opacity16),primaryStateLayerOpacityFocus:$e.extend("--ft-button-primary-state-layer-opacity-focus","",ke.opacity16),primaryStateLayerOpacityActive:$e.extend("--ft-button-primary-state-layer-opacity-active","",ke.opacity24),primaryComponentOpacityDisabled:$e.extend("--ft-button-primary-component-opacity-disabled","",ke.opacity40),focusFocusRingColor:$e.extend("--ft-button-focus-focus-ring-color","",Ee.borderActionFocusRing),tertiaryBackgroundColor:$e.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:$e.extend("--ft-button-tertiary-color","",Ee.contentActionPrimary),tertiaryIconColor:$e.extend("--ft-button-tertiary-icon-color","",Ee.contentActionPrimary),tertiaryStateLayerColor:$e.extend("--ft-button-tertiary-state-layer-color","",Ee.contentActionPrimary),tertiaryStateLayerOpacityHover:$e.extend("--ft-button-tertiary-state-layer-opacity-hover","",ke.opacity8),tertiaryStateLayerOpacityFocus:$e.extend("--ft-button-tertiary-state-layer-opacity-focus","",ke.opacity8),tertiaryStateLayerOpacityActive:$e.extend("--ft-button-tertiary-state-layer-opacity-active","",ke.opacity16),tertiaryComponentOpacityDisabled:$e.extend("--ft-button-tertiary-component-opacity-disabled","",ke.opacity40),secondaryBackgroundColor:$e.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:$e.extend("--ft-button-secondary-color","",Ee.contentActionPrimary),secondaryIconColor:$e.extend("--ft-button-secondary-icon-color","",Ee.contentActionPrimary),secondaryStateLayerColor:$e.extend("--ft-button-secondary-state-layer-color","",Ee.contentActionPrimary),secondaryStateLayerOpacityHover:$e.extend("--ft-button-secondary-state-layer-opacity-hover","",ke.opacity8),secondaryStateLayerOpacityFocus:$e.extend("--ft-button-secondary-state-layer-opacity-focus","",ke.opacity8),secondaryStateLayerOpacityActive:$e.extend("--ft-button-secondary-state-layer-opacity-active","",ke.opacity16),secondaryComponentOpacityDisabled:$e.extend("--ft-button-secondary-component-opacity-disabled","",ke.opacity40),secondaryBorderColor:$e.extend("--ft-button-secondary-border-color","",Ee.borderActionPrimary),neutralBackgroundColor:$e.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:$e.extend("--ft-button-neutral-icon-color","",Ee.contentGlobalSecondary),neutralColor:$e.extend("--ft-button-neutral-color","",Ee.contentGlobalSecondary),neutralStateLayerColor:$e.extend("--ft-button-neutral-state-layer-color","",Ee.contentGlobalSecondary),neutralStateLayerOpacityHover:$e.extend("--ft-button-neutral-state-layer-opacity-hover","",ke.opacity8),neutralStateLayerOpacityFocus:$e.extend("--ft-button-neutral-state-layer-opacity-focus","",ke.opacity8),neutralStateLayerOpacityActive:$e.extend("--ft-button-neutral-state-layer-opacity-active","",ke.opacity16),neutralComponentOpacityDisabled:$e.extend("--ft-button-neutral-component-opacity-disabled","",ke.opacity40)};$e.extend("--ft-tabs-top-left-border-radius","",ke.borderRadiusS),$e.extend("--ft-tabs-top-right-border-radius","",ke.borderRadiusS),$e.extend("--ft-tabs-label-horizontal-padding","",ke.spacing4),$e.extend("--ft-tabs-label-vertical-padding","",ke.spacing3),$e.extend("--ft-tabs-label-gap","",ke.spacing1),$e.extend("--ft-switch-group-horizontal-padding","",ke.spacing1),$e.extend("--ft-switch-group-vertical-padding","",ke.spacing1),$e.extend("--ft-switch-group-gap","",ke.spacing1),$e.extend("--ft-switch-group-background-color","",Ee.backgroundGlobalSurface),$e.extend("--ft-switch-group-border-color","",Ee.borderGlobalSubtle),$e.create("--ft-switch-group-border-radius","","SIZE","6px"),$e.extend("--ft-switch-label-horizontal-padding","",ke.spacing2),$e.extend("--ft-switch-label-vertical-padding","",ke.spacing1),$e.extend("--ft-switch-icon-horizontal-padding","",ke.spacing1),$e.extend("--ft-switch-icon-vertical-padding","",ke.spacing1),$e.create("--ft-switch-focus-outline-width","","SIZE","2px"),$e.extend("--ft-switch-focus-focus-ring-color","",Ee.borderActionFocusRing),$e.extend("--ft-switch-option-border-radius","",ke.borderRadiusS),$e.extend("--ft-switch-off-state-layer-opacity-hover","",ke.opacity8),$e.extend("--ft-switch-off-state-layer-opacity-focus","",ke.opacity8),$e.extend("--ft-switch-off-state-layer-opacity-active","",ke.opacity16),$e.extend("--ft-switch-off-component-opacity-disabled","",ke.opacity40),$e.extend("--ft-switch-off-color","",Ee.contentGlobalSubtle),$e.extend("--ft-switch-off-state-layer-color","",Ee.contentGlobalSubtle),$e.extend("--ft-chart-1-light","for area color charts",ke.colorBrand40),$e.extend("--ft-chart-1-base","for line charts",ke.colorBrand0),$e.extend("--ft-chart-2-light","for area color charts",ke.colorYellow60),$e.extend("--ft-chart-2-base","for line charts",ke.colorYellow100),$e.extend("--ft-chart-3-light","",ke.colorUltramarine40),$e.extend("--ft-chart-3-base","",ke.colorUltramarine70),$e.extend("--ft-chart-4-light","",ke.colorCyan50),$e.extend("--ft-chart-4-base","",ke.colorCyan100),$e.extend("--ft-chart-5-light","",ke.colorRed40),$e.extend("--ft-chart-5-base","",ke.colorRed60),$e.extend("--ft-chart-6-light","",ke.colorGreen40),$e.extend("--ft-chart-6-base","",ke.colorGreen70),$e.extend("--ft-chart-7-light","",ke.colorOrange70),$e.extend("--ft-chart-7-base","",ke.colorOrange100),$e.extend("--ft-chart-8-light","",ke.colorAvocado70),$e.extend("--ft-chart-8-base","",ke.colorAvocado200),$e.extend("--ft-chart-9-light","",ke.colorBrown50),$e.extend("--ft-chart-9-base","",ke.colorBrown200),$e.extend("--ft-chart-10-light","",ke.colorGray50),$e.extend("--ft-chart-10-base","",ke.colorGray80),$e.extend("--ft-chart-monochrome-10","",ke.colorBrand10),$e.extend("--ft-chart-monochrome-20","",ke.colorBrand20),$e.extend("--ft-chart-monochrome-30","",ke.colorBrand40),$e.extend("--ft-chart-monochrome-40","",ke.colorBrand60),$e.extend("--ft-chart-monochrome-50","",ke.colorBrand0),$e.extend("--ft-chart-monochrome-60","",ke.colorBrand200),$e.extend("--ft-chip-large-horizontal-padding","",ke.spacing4),$e.extend("--ft-chip-large-vertical-padding","",ke.spacing2),$e.extend("--ft-chip-large-gap","",ke.spacing1),$e.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),$e.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),$e.extend("--ft-chip-large-border-radius","",ke.borderRadiusPill),$e.create("--ft-chip-large-border-width","","SIZE","1px"),$e.extend("--ft-chip-large-icon-size","",ke.iconSize3),$e.extend("--ft-chip-medium-horizontal-padding","",ke.spacing3),$e.extend("--ft-chip-medium-vertical-padding","",ke.spacing1),$e.extend("--ft-chip-medium-gap","",ke.spacing1),$e.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),$e.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),$e.extend("--ft-chip-medium-border-radius","",ke.borderRadiusPill),$e.create("--ft-chip-medium-border-width","","SIZE","1px"),$e.extend("--ft-chip-medium-icon-size","",ke.iconSize2),$e.extend("--ft-chip-small-horizontal-padding","",ke.spacing2),$e.extend("--ft-chip-small-vertical-padding","",ke.spacing05),$e.extend("--ft-chip-small-gap","",ke.spacing1),$e.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),$e.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),$e.extend("--ft-chip-small-border-radius","",ke.borderRadiusPill),$e.create("--ft-chip-small-border-width","","SIZE","1px"),$e.extend("--ft-chip-small-icon-size","",ke.iconSize1),$e.extend("--ft-chip-neutral-background-color","",Ee.backgroundGlobalOnSurface),$e.extend("--ft-chip-neutral-color","",Ee.contentGlobalPrimary),$e.extend("--ft-chip-neutral-border-color","",Ee.borderGlobalSubtle),$e.extend("--ft-chip-info-background-color","",Ee.backgroundInfoSubtle),$e.extend("--ft-chip-info-color","",Ee.contentInfoPrimary),$e.extend("--ft-chip-info-border-color","",Ee.borderInfoPrimary),$e.extend("--ft-chip-success-background-color","",Ee.backgroundSuccessSubtle),$e.extend("--ft-chip-success-color","",Ee.contentSuccessPrimary),$e.extend("--ft-chip-success-border-color","",Ee.borderSuccessPrimary),$e.extend("--ft-chip-warning-background-color","",Ee.backgroundWarningSubtle),$e.extend("--ft-chip-warning-color","",Ee.contentWarningPrimary),$e.extend("--ft-chip-warning-border-color","",Ee.borderWarningPrimary),$e.extend("--ft-chip-error-background-color","",Ee.backgroundErrorSubtle),$e.extend("--ft-chip-error-color","",Ee.contentErrorPrimary),$e.extend("--ft-chip-error-border-color","",Ee.borderErrorPrimary),$e.create("--ft-notice-border-width","","SIZE","1px"),$e.extend("--ft-notice-horizontal-padding","",ke.spacing2),$e.extend("--ft-notice-vertical-padding","",ke.spacing1),$e.extend("--ft-notice-border-radius","",ke.borderRadiusS),$e.extend("--ft-notice-gap","",ke.spacing2),$e.extend("--ft-notice-icon-size","",ke.iconSize3),$e.extend("--ft-notice-info-background-color","",Ee.backgroundInfoSubtle),$e.extend("--ft-notice-info-border-color","",Ee.borderInfoPrimary),$e.extend("--ft-notice-info-color","",Ee.contentInfoPrimary),$e.extend("--ft-notice-warning-background-color","",Ee.backgroundWarningSubtle),$e.extend("--ft-notice-warning-border-color","",Ee.borderWarningPrimary),$e.extend("--ft-notice-warning-color","",Ee.contentWarningPrimary),$e.extend("--ft-checkbox-label-color","",Ee.contentGlobalPrimary),$e.extend("--ft-checkbox-checked-background-color","",Ee.contentActionPrimary),$e.extend("--ft-checkbox-checked-state-layer-color","",Ee.contentActionPrimary),$e.extend("--ft-checkbox-checked-color","",Ee.contentGlobalOnColor),$e.extend("--ft-checkbox-checked-state-layer-opacity-hover","",ke.opacity16),$e.extend("--ft-checkbox-checked-state-layer-opacity-focus","",ke.opacity16),$e.extend("--ft-checkbox-checked-state-layer-opacity-active","",ke.opacity24),$e.extend("--ft-checkbox-checked-component-opacity-disabled","",ke.opacity40),$e.extend("--ft-checkbox-unchecked-border-color","",ke.colorGray80),$e.extend("--ft-checkbox-unchecked-state-layer-color","",ke.colorGray80),$e.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",ke.opacity16),$e.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",ke.opacity16),$e.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",ke.opacity24),$e.extend("--ft-checkbox-unchecked-component-opacity-disabled","",ke.opacity40),$e.extend("--ft-checkbox-focus-focus-ring-color","",Ee.borderActionFocusRing),$e.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),$e.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),$e.extend("--ft-checkbox-gap","",ke.spacing3),$e.extend("--ft-toggle-off-state-layer-opacity-hover","",ke.opacity16),$e.extend("--ft-toggle-off-state-layer-opacity-focus","",ke.opacity16),$e.extend("--ft-toggle-off-state-layer-opacity-active","",ke.opacity24),$e.extend("--ft-toggle-off-component-opacity-disabled","",ke.opacity40),$e.extend("--ft-toggle-off-background-color","",Ee.contentGlobalSubtle),$e.extend("--ft-toggle-off-icon-color","",Ee.contentGlobalSubtle),$e.extend("--ft-toggle-off-state-layer-color","",Ee.contentGlobalSubtle),$e.extend("--ft-toggle-on-state-layer-opacity-hover","",ke.opacity16),$e.extend("--ft-toggle-on-state-layer-opacity-focus","",ke.opacity16),$e.extend("--ft-toggle-on-state-layer-opacity-active","",ke.opacity24),$e.extend("--ft-toggle-on-component-opacity-disabled","",ke.opacity40),$e.extend("--ft-toggle-on-background-color","",Ee.contentActionPrimary),$e.extend("--ft-toggle-on-icon-color","",Ee.contentActionPrimary),$e.extend("--ft-toggle-on-state-layer-color","",Ee.contentActionPrimary),$e.extend("--ft-toggle-label-color","",Ee.contentGlobalPrimary),$e.extend("--ft-toggle-focus-focus-ring-color","",Ee.borderActionFocusRing),$e.extend("--ft-toggle-gap","",ke.spacing3),$e.extend("--ft-radio-label-color","",Ee.contentGlobalPrimary),$e.extend("--ft-radio-selected-color","",Ee.contentActionPrimary),$e.extend("--ft-radio-selected-state-layer-color","",Ee.contentActionPrimary),$e.extend("--ft-radio-selected-state-layer-opacity-hover","",ke.opacity16),$e.extend("--ft-radio-selected-state-layer-opacity-focus","",ke.opacity16),$e.extend("--ft-radio-selected-state-layer-opacity-active","",ke.opacity24),$e.extend("--ft-radio-selected-component-opacity-disabled","",ke.opacity40),$e.extend("--ft-radio-unselected-state-layer-color","",ke.colorGray80),$e.extend("--ft-radio-unselected-state-layer-opacity-hover","",ke.opacity16),$e.extend("--ft-radio-unselected-state-layer-opacity-focus","",ke.opacity16),$e.extend("--ft-radio-unselected-state-layer-opacity-active","",ke.opacity24),$e.extend("--ft-radio-unselected-component-opacity-disabled","",ke.opacity40),$e.extend("--ft-radio-focus-focus-ring-color","",Ee.borderActionFocusRing),$e.create("--ft-radio-focus-outline-offset","","SIZE","3px"),$e.create("--ft-radio-focus-outline-width","","SIZE","2px"),$e.extend("--ft-radio-gap","",ke.spacing3),$e.extend("--ft-notification-icon-size","",ke.iconSize4),$e.extend("--ft-notification-horizontal-padding","",ke.spacing4),$e.extend("--ft-notification-vertical-padding","",ke.spacing4),$e.extend("--ft-notification-info-background-color","",Ee.backgroundInfoSubtle),$e.extend("--ft-notification-info-color","",Ee.contentInfoPrimary),$e.extend("--ft-notification-info-border-color","",Ee.borderInfoPrimary),$e.extend("--ft-notification-success-background-color","",Ee.backgroundSuccessSubtle),$e.extend("--ft-notification-success-color","",Ee.contentSuccessPrimary),$e.extend("--ft-notification-success-border-color","",Ee.borderSuccessPrimary),$e.extend("--ft-notification-warning-background-color","",Ee.backgroundWarningSubtle),$e.extend("--ft-notification-warning-color","",Ee.contentWarningPrimary),$e.extend("--ft-notification-warning-border-color","",Ee.borderWarningPrimary),$e.extend("--ft-notification-error-background-color","",Ee.backgroundErrorSubtle),$e.extend("--ft-notification-error-color","",Ee.contentErrorPrimary),$e.extend("--ft-notification-error-border-color","",Ee.borderErrorPrimary),$e.extend("--ft-notification-border-radius","",ke.borderRadiusPill),$e.create("--ft-notification-border-width","","SIZE","1px"),$e.extend("--ft-notification-gap-leading","",ke.spacing2),$e.extend("--ft-notification-gap-trailing","",ke.spacing8);const Ie={colorPrimary:$e.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:$e.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:$e.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:$e.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:$e.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:$e.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:$e.create("--ft-color-error","","COLOR","#B00020"),colorOutline:$e.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:$e.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:$e.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:$e.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:$e.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:$e.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:$e.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:$e.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:$e.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:$e.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:$e.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:$e.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:$e.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:$e.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:$e.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:$e.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:$e.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:$e.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:$e.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:$e.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:$e.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:$e.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:$e.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:$e.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:$e.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:$e.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:$e.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:$e.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:$e.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:$e.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:$e.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:$e.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:$e.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:$e.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:$e.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:$e.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:$e.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:$e.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:$e.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:$e.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:$e.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:$e.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:$e.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:$e.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:$e.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:$e.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:$e.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:$e.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:$e.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:$e.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:$e.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:$e.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:$e.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:$e.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:$e.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Le=window,We=Le.ShadowRoot&&(void 0===Le.ShadyCSS||Le.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
80
80
  /**
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 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`
84
+ */class ze extends we{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{We?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=Le.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Fe,Ke=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Be=Symbol("constructorPrototype"),Ze=Symbol("constructorName"),De=Symbol("exportpartsDebouncer");class Ae extends ze{constructor(){super(),this[Fe]=new E(5),this[Ze]=this.constructor.name,this[Be]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ze]&&Object.setPrototypeOf(this,this[Be])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).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[De].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 e,o,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!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=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(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Fe=De,Ke([N()],Ae.prototype,"exportpartsPrefix",void 0),Ke([W([])],Ae.prototype,"exportpartsPrefixes",void 0),Ke([N()],Ae.prototype,"customStylesheet",void 0);const Me=$e.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");Nt`
85
85
  .highlight-html-match {
86
- background: ${Po};
86
+ background: ${Me};
87
87
  }
88
- `;const Ho=wt`
88
+ `;const Pe=Nt`
89
89
  .ft-no-text-select {
90
90
  -webkit-touch-callout: none;
91
91
  -webkit-user-select: none;
@@ -94,7 +94,7 @@ let No=class extends Mt{constructor(){super(...arguments),this.renderOptions={ho
94
94
  -ms-user-select: none;
95
95
  user-select: none;
96
96
  }
97
- `;wt`
97
+ `;Nt`
98
98
  .ft-word-wrap {
99
99
  white-space: normal;
100
100
  word-wrap: break-word;
@@ -106,7 +106,7 @@ let No=class extends Mt{constructor(){super(...arguments),this.renderOptions={ho
106
106
  -webkit-hyphens: auto;
107
107
  hyphens: auto
108
108
  }
109
- `;const jo=wt`
109
+ `;const He=Nt`
110
110
  .ft-safari-ellipsis-fix {
111
111
  margin-right: 0;
112
112
 
@@ -117,94 +117,94 @@ let No=class extends Mt{constructor(){super(...arguments),this.renderOptions={ho
117
117
  display: inline-block;
118
118
  width: 0;
119
119
  }
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);
120
+ `;window.ftReduxStores||(window.ftReduxStores={});const je=Symbol("elementInternals");var Te,_e,Ge;const Ve=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ge=null===(_e=null===(Te=window.safari)||void 0===Te?void 0:Te.pushNotification)||void 0===_e?void 0:_e.toString())&&void 0!==Ge?Ge:""),Ye=Symbol.for(""),Je=t=>{if(t?.r===Ye)return t?._$litStatic$},qe=t=>({_$litStatic$:t,r:Ye}),Xe=new Map,Qe=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,f=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=Je(n));)l+=r+e[++c],f=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(e[i]),f){const t=a.join("$$lit$$");void 0===(e=Xe.get(t))&&(a.raw=a,Xe.set(t,e=a)),o=s}return t(e,...o)})(tt);
121
121
  /**
122
122
  * @license
123
123
  * Copyright 2020 Google LLC
124
124
  * SPDX-License-Identifier: BSD-3-Clause
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`
125
+ */var to;!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"}(to||(to={}));const eo=$e.extend("--ft-typography-font-family","",Ie.titleFont),oo=$e.extend("--ft-typography-font-family","",Ie.contentFont),io={fontFamily:oo,fontSize:$e.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:$e.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:$e.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:$e.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:$e.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ro=$e.extend("--ft-typography-title-font-family","",eo),no=$e.extend("--ft-typography-title-font-size","",io.fontSize,"20px"),ao=$e.extend("--ft-typography-title-font-weight","",io.fontWeight,"normal"),so=$e.extend("--ft-typography-title-letter-spacing","",io.letterSpacing,"0.15px"),lo=$e.extend("--ft-typography-title-line-height","",io.lineHeight,"1.2"),co=$e.extend("--ft-typography-title-text-transform","",io.textTransform,"inherit"),fo=$e.extend("--ft-typography-title-dense-font-family","",eo),po=$e.extend("--ft-typography-title-dense-font-size","",io.fontSize,"14px"),ho=$e.extend("--ft-typography-title-dense-font-weight","",io.fontWeight,"normal"),uo=$e.extend("--ft-typography-title-dense-letter-spacing","",io.letterSpacing,"0.105px"),yo=$e.extend("--ft-typography-title-dense-line-height","",io.lineHeight,"1.7"),go=$e.extend("--ft-typography-title-dense-text-transform","",io.textTransform,"inherit"),bo=$e.extend("--ft-typography-subtitle1-font-family","",oo),mo=$e.extend("--ft-typography-subtitle1-font-size","",io.fontSize,"16px"),xo=$e.extend("--ft-typography-subtitle1-font-weight","",io.fontWeight,"600"),vo=$e.extend("--ft-typography-subtitle1-letter-spacing","",io.letterSpacing,"0.144px"),Oo=$e.extend("--ft-typography-subtitle1-line-height","",io.lineHeight,"1.5"),wo=$e.extend("--ft-typography-subtitle1-text-transform","",io.textTransform,"inherit"),So=$e.extend("--ft-typography-subtitle2-font-family","",oo),No=$e.extend("--ft-typography-subtitle2-font-size","",io.fontSize,"14px"),$o=$e.extend("--ft-typography-subtitle2-font-weight","",io.fontWeight,"normal"),Co=$e.extend("--ft-typography-subtitle2-letter-spacing","",io.letterSpacing,"0.098px"),ko=$e.extend("--ft-typography-subtitle2-line-height","",io.lineHeight,"1.7"),Ro=$e.extend("--ft-typography-subtitle2-text-transform","",io.textTransform,"inherit"),Eo=$e.extend("--ft-typography-body1-font-family","",oo),Uo=$e.extend("--ft-typography-body1-font-size","",io.fontSize,"16px"),Io=$e.extend("--ft-typography-body1-font-weight","",io.fontWeight,"normal"),Lo=$e.extend("--ft-typography-body1-letter-spacing","",io.letterSpacing,"0.496px"),Wo=$e.extend("--ft-typography-body1-line-height","",io.lineHeight,"1.5"),zo=$e.extend("--ft-typography-body1-text-transform","",io.textTransform,"inherit"),Fo={fontFamily:$e.extend("--ft-typography-body2-font-family","",oo),fontSize:$e.extend("--ft-typography-body2-font-size","",io.fontSize,"14px"),fontWeight:$e.extend("--ft-typography-body2-font-weight","",io.fontWeight,"normal"),letterSpacing:$e.extend("--ft-typography-body2-letter-spacing","",io.letterSpacing,"0.252px"),lineHeight:$e.extend("--ft-typography-body2-line-height","",io.lineHeight,"1.4"),textTransform:$e.extend("--ft-typography-body2-text-transform","",io.textTransform,"inherit")},Ko=$e.extend("--ft-typography-caption-font-family","",oo),Bo=$e.extend("--ft-typography-caption-font-size","",io.fontSize,"12px"),Zo=$e.extend("--ft-typography-caption-font-weight","",io.fontWeight,"normal"),Do=$e.extend("--ft-typography-caption-letter-spacing","",io.letterSpacing,"0.396px"),Ao=$e.extend("--ft-typography-caption-line-height","",io.lineHeight,"1.33"),Mo=$e.extend("--ft-typography-caption-text-transform","",io.textTransform,"inherit"),Po=$e.extend("--ft-typography-breadcrumb-font-family","",oo),Ho=$e.extend("--ft-typography-breadcrumb-font-size","",io.fontSize,"10px"),jo=$e.extend("--ft-typography-breadcrumb-font-weight","",io.fontWeight,"normal"),To=$e.extend("--ft-typography-breadcrumb-letter-spacing","",io.letterSpacing,"0.33px"),_o=$e.extend("--ft-typography-breadcrumb-line-height","",io.lineHeight,"1.6"),Go=$e.extend("--ft-typography-breadcrumb-text-transform","",io.textTransform,"inherit"),Vo=$e.extend("--ft-typography-overline-font-family","",oo),Yo=$e.extend("--ft-typography-overline-font-size","",io.fontSize,"10px"),Jo=$e.extend("--ft-typography-overline-font-weight","",io.fontWeight,"normal"),qo=$e.extend("--ft-typography-overline-letter-spacing","",io.letterSpacing,"1.5px"),Xo=$e.extend("--ft-typography-overline-line-height","",io.lineHeight,"1.6"),Qo=$e.extend("--ft-typography-overline-text-transform","",io.textTransform,"uppercase"),ti={fontFamily:$e.extend("--ft-typography-button-font-family","",oo),fontSize:$e.extend("--ft-typography-button-font-size","",io.fontSize,"14px"),fontWeight:$e.extend("--ft-typography-button-font-weight","",io.fontWeight,"600"),letterSpacing:$e.extend("--ft-typography-button-letter-spacing","",io.letterSpacing,"1.246px"),lineHeight:$e.extend("--ft-typography-button-line-height","",io.lineHeight,"1.15"),textTransform:$e.extend("--ft-typography-button-text-transform","",io.textTransform,"uppercase")},ei=Nt`
126
126
  .ft-typography--title {
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`
127
+ font-family: ${ro};
128
+ font-size: ${no};
129
+ font-weight: ${ao};
130
+ letter-spacing: ${so};
131
+ line-height: ${lo};
132
+ text-transform: ${co};
133
+ }
134
+ `,oi=Nt`
135
135
  .ft-typography--title-dense {
136
- font-family: ${pe};
137
- font-size: ${fe};
138
- font-weight: ${de};
139
- letter-spacing: ${ue};
140
- line-height: ${ye};
141
- text-transform: ${ge};
142
- }
143
- `,ii=wt`
136
+ font-family: ${fo};
137
+ font-size: ${po};
138
+ font-weight: ${ho};
139
+ letter-spacing: ${uo};
140
+ line-height: ${yo};
141
+ text-transform: ${go};
142
+ }
143
+ `,ii=Nt`
144
144
  .ft-typography--subtitle1 {
145
- font-family: ${be};
146
- font-size: ${me};
147
- font-weight: ${xe};
148
- letter-spacing: ${ve};
149
- line-height: ${Oe};
150
- text-transform: ${Se};
151
- }
152
- `,ri=wt`
145
+ font-family: ${bo};
146
+ font-size: ${mo};
147
+ font-weight: ${xo};
148
+ letter-spacing: ${vo};
149
+ line-height: ${Oo};
150
+ text-transform: ${wo};
151
+ }
152
+ `,ri=Nt`
153
153
  .ft-typography--subtitle2 {
154
- font-family: ${Ne};
155
- font-size: ${we};
156
- font-weight: ${$e};
157
- letter-spacing: ${Ce};
158
- line-height: ${ke};
159
- text-transform: ${Re};
154
+ font-family: ${So};
155
+ font-size: ${No};
156
+ font-weight: ${$o};
157
+ letter-spacing: ${Co};
158
+ line-height: ${ko};
159
+ text-transform: ${Ro};
160
160
  }
161
161
 
162
- `,ni=wt`
162
+ `,ni=Nt`
163
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};
170
- }
171
- `,ai=wt`
164
+ font-family: ${Eo};
165
+ font-size: ${Uo};
166
+ font-weight: ${Io};
167
+ letter-spacing: ${Lo};
168
+ line-height: ${Wo};
169
+ text-transform: ${zo};
170
+ }
171
+ `,ai=Nt`
172
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};
179
- }
180
- `,si=wt`
173
+ font-family: ${Fo.fontFamily};
174
+ font-size: ${Fo.fontSize};
175
+ font-weight: ${Fo.fontWeight};
176
+ letter-spacing: ${Fo.letterSpacing};
177
+ line-height: ${Fo.lineHeight};
178
+ text-transform: ${Fo.textTransform};
179
+ }
180
+ `,si=Nt`
181
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};
188
- }
189
- `,li=wt`
182
+ font-family: ${Ko};
183
+ font-size: ${Bo};
184
+ font-weight: ${Zo};
185
+ letter-spacing: ${Do};
186
+ line-height: ${Ao};
187
+ text-transform: ${Mo};
188
+ }
189
+ `,li=Nt`
190
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};
197
- }
198
- `,ci=wt`
191
+ font-family: ${Po};
192
+ font-size: ${Ho};
193
+ font-weight: ${jo};
194
+ letter-spacing: ${To};
195
+ line-height: ${_o};
196
+ text-transform: ${Go};
197
+ }
198
+ `,ci=Nt`
199
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`
200
+ font-family: ${Vo};
201
+ font-size: ${Yo};
202
+ font-weight: ${Jo};
203
+ letter-spacing: ${qo};
204
+ line-height: ${Xo};
205
+ text-transform: ${Qo};
206
+ }
207
+ `,fi=Nt`
208
208
  .ft-typography--button {
209
209
  font-family: ${ti.fontFamily};
210
210
  font-size: ${ti.fontSize};
@@ -213,38 +213,38 @@ let No=class extends Mt{constructor(){super(...arguments),this.renderOptions={ho
213
213
  line-height: ${ti.lineHeight};
214
214
  text-transform: ${ti.textTransform};
215
215
  }
216
- `,pi=wt`
216
+ `,pi=Nt`
217
217
  .ft-typography {
218
218
  vertical-align: inherit;
219
219
  }
220
- `,fi=[Object.keys(Eo).map((t=>function(t){const o=Eo[t];return wt`
221
- .ft-typography--${Nt(t)} {
222
- font-family: ${o.fontFamily};
223
- font-size: ${o.fontSize};
224
- font-weight: ${o.fontWeight};
225
- letter-spacing: ${o.letterSpacing};
226
- line-height: ${o.lineHeight};
227
- text-transform: ${o.textCase};
228
- }
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)}
220
+ `,hi=[Object.keys(Re).map((t=>function(t){const e=Re[t];return Nt`
221
+ .ft-typography--${St(t)} {
222
+ font-family: ${e.fontFamily};
223
+ font-size: ${e.fontSize};
224
+ font-weight: ${e.fontWeight};
225
+ letter-spacing: ${e.letterSpacing};
226
+ line-height: ${e.lineHeight};
227
+ text-transform: ${e.textCase};
228
+ }
229
+ `}(t)))];var di=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ui extends Ae{constructor(){super(...arguments),this.variant=to.body1}render(){return this.element?Qe`
230
+ <${qe(this.element)}
231
231
  class="ft-typography ft-typography--${this.variant}">
232
232
  <slot></slot>
233
- </${Xo(this.element)}>
234
- `:te`
233
+ </${qe(this.element)}>
234
+ `:Qe`
235
235
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
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);
236
+ `}}ui.styles=[ei,oi,ii,ri,ni,ai,si,li,ci,fi,pi,...hi],di([N()],ui.prototype,"element",void 0),di([N()],ui.prototype,"variant",void 0),L("ft-typography")(ui);
237
237
  /**
238
238
  * @license
239
239
  * Copyright 2017 Google LLC
240
240
  * SPDX-License-Identifier: BSD-3-Clause
241
241
  */
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)}}
242
+ const yi=1,gi=2,bi=t=>(...e)=>({_$litDirective$:t,values:e});class mi{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
243
243
  /**
244
244
  * @license
245
245
  * Copyright 2020 Google LLC
246
246
  * SPDX-License-Identifier: BSD-3-Clause
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`
247
+ */const{D:xi}=gt,vi=()=>document.createComment(""),Oi=(t,e,o)=>{const i=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=i.insertBefore(vi(),r),n=i.insertBefore(vi(),r);o=new xi(e,n,t,t.options)}else{const e=o._$AB.nextSibling,n=o._$AM,a=n!==t;if(a){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==n._$AU&&o._$AP(e)}if(e!==r||a){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;i.insertBefore(t,r),t=e}}}return o},wi=(t,e,o=t)=>(t._$AI(e,o),t),Si={},Ni=t=>{t._$AP?.(!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const t=e.nextSibling;e.remove(),e=t}},$i=(t,e,o)=>{const i=new Map;for(let r=e;r<=o;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,e,o){let i;void 0===o?o=e:void 0!==e&&(i=e);const r=[],n=[];let a=0;for(const e of t)r[a]=i?i(e,a):a,n[a]=o(e,a),a++;return{values:n,keys:r}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,i]){const r=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(e,o,i);if(!Array.isArray(r))return this.dt=a,n;const s=this.dt??=[],l=[];let c,f,p=0,h=r.length-1,d=0,u=n.length-1;for(;p<=h&&d<=u;)if(null===r[p])p++;else if(null===r[h])h--;else if(s[p]===a[d])l[d]=wi(r[p],n[d]),p++,d++;else if(s[h]===a[u])l[u]=wi(r[h],n[u]),h--,u--;else if(s[p]===a[u])l[u]=wi(r[p],n[u]),Oi(t,l[u+1],r[p]),p++,u--;else if(s[h]===a[d])l[d]=wi(r[h],n[d]),Oi(t,r[p],r[h]),h--,d++;else if(void 0===c&&(c=$i(a,d,u),f=$i(s,p,h)),c.has(s[p]))if(c.has(s[h])){const e=f.get(a[d]),o=void 0!==e?r[e]:null;if(null===o){const e=Oi(t,r[p]);wi(e,n[d]),l[d]=e}else l[d]=wi(o,n[d]),Oi(t,r[p],o),r[e]=null;d++}else Ni(r[h]),h--;else Ni(r[p]),p++;for(;d<=u;){const e=Oi(t,l[u+1]);wi(e,n[d]),l[d++]=e}for(;p<=h;){const t=r[p++];null!==t&&Ni(t)}return this.dt=a,((t,e=Si)=>{t._$AH=e})(t,l),et}}),ki=$e.extend("--ft-ripple-color","",Ie.colorContent),Ri={color:ki,backgroundColor:$e.extend("--ft-ripple-background-color","",ki),opacityContentOnSurfacePressed:$e.external(Ie.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:$e.external(Ie.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:$e.external(Ie.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:$e.external(Ie.opacityContentOnSurfaceSelected,"Design system"),borderRadius:$e.create("--ft-ripple-border-radius","","SIZE","0px")},Ei=$e.extend("--ft-ripple-color","",Ie.colorPrimary),Ui=Ei,Ii=$e.extend("--ft-ripple-background-color","",Ei),Li=$e.extend("--ft-ripple-color","",Ie.colorSecondary),Wi=Li,zi=$e.extend("--ft-ripple-background-color","",Li),Fi=Nt`
248
248
  :host {
249
249
  display: contents;
250
250
  }
@@ -356,7 +356,7 @@ const yi=1,gi=2,bi=t=>(...o)=>({_$litDirective$:t,values:o});class mi{constructo
356
356
  opacity: ${Ri.opacityContentOnSurfacePressed};
357
357
  transform: translate(-50%, -50%) scale(1);
358
358
  }
359
- `,Fi={color:Co.extend("--ft-loader-color","",Lo.colorPrimary),size:Co.create("--ft-loader-size","","SIZE","80px")},Bi=wt`
359
+ `,Ki={color:$e.extend("--ft-loader-color","",Ie.colorPrimary),size:$e.create("--ft-loader-size","","SIZE","80px")},Bi=Nt`
360
360
  :host {
361
361
  line-height: 0;
362
362
  }
@@ -365,8 +365,8 @@ const yi=1,gi=2,bi=t=>(...o)=>({_$litDirective$:t,values:o});class mi{constructo
365
365
  display: inline-block;
366
366
  position: relative;
367
367
 
368
- width: ${Fi.size};
369
- height: ${Fi.size};
368
+ width: ${Ki.size};
369
+ height: ${Ki.size};
370
370
  }
371
371
 
372
372
  .ft-loader div {
@@ -375,7 +375,7 @@ const yi=1,gi=2,bi=t=>(...o)=>({_$litDirective$:t,values:o});class mi{constructo
375
375
  width: 25%;
376
376
  height: 25%;
377
377
  border-radius: 50%;
378
- background: ${Fi.color};
378
+ background: ${Ki.color};
379
379
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
380
380
  }
381
381
 
@@ -422,10 +422,10 @@ const yi=1,gi=2,bi=t=>(...o)=>({_$litDirective$:t,values:o});class mi{constructo
422
422
  transform: translate(0, 0);
423
423
  }
424
424
  100% {
425
- transform: translate(calc(0.35 * ${Fi.size}), 0);
425
+ transform: translate(calc(0.35 * ${Ki.size}), 0);
426
426
  }
427
427
  }
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`
428
+ `,Zi={size:$e.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:$e.extend("--ft-icon-fluid-topics-font-family","",$e.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:$e.extend("--ft-icon-file-format-font-family","",$e.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:$e.extend("--ft-icon-material-font-family","",$e.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:$e.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Di=Nt`
429
429
  :host, i.ft-icon {
430
430
  display: inline-flex;
431
431
  align-items: center;
@@ -473,7 +473,7 @@ const yi=1,gi=2,bi=t=>(...o)=>({_$litDirective$:t,values:o});class mi{constructo
473
473
  .ft-icon--material {
474
474
  font-family: ${Zi.materialFontFamily}, "Material Icons", sans-serif;
475
475
  }
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`
476
+ `,Ai=$e.extend("--ft-button-color","",Ie.colorPrimary),Mi={backgroundColor:$e.extend("--ft-button-background-color","",Ie.colorSurface),borderRadius:$e.extend("--ft-button-border-radius","",Ie.borderRadiusL),color:Ai,fontSize:$e.extend("--ft-button-font-size","",ti.fontSize),iconSize:$e.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:$e.extend("--ft-button-ripple-color","",Ai),verticalPadding:$e.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:$e.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:$e.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:$e.external(Ie.colorOpacityDisabled,"Design system")},Pi=$e.extend("--ft-button-primary-color","",$e.extend("--ft-button-color","",Ie.colorOnPrimary)),Hi={backgroundColor:$e.extend("--ft-button-primary-background-color","",$e.extend("--ft-button-background-color","",Ie.colorPrimary)),color:Pi,rippleColor:$e.extend("--ft-button-primary-ripple-color","",Pi)},ji=$e.extend("--ft-button-dense-border-radius","",$e.extend("--ft-button-border-radius","",Ie.borderRadiusM)),Ti=$e.create("--ft-button-dense-vertical-padding","","SIZE","2px"),_i=$e.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Gi=$e.create("--ft-button-dense-icon-padding","","SIZE","4px"),Vi=[Nt`
477
477
  :host {
478
478
  display: inline-block;
479
479
  max-width: 100%;
@@ -484,7 +484,7 @@ const yi=1,gi=2,bi=t=>(...o)=>({_$litDirective$:t,values:o});class mi{constructo
484
484
  box-shadow: 0px 0px 0px transparent;
485
485
  border: 0px solid transparent;
486
486
  text-shadow: 0px 0px 0px transparent;
487
- font-size: ${Ai.fontSize};
487
+ font-size: ${Mi.fontSize};
488
488
  }
489
489
 
490
490
  button:hover {
@@ -513,21 +513,21 @@ const yi=1,gi=2,bi=t=>(...o)=>({_$litDirective$:t,values:o});class mi{constructo
513
513
  border: none;
514
514
  pointer-events: auto;
515
515
 
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
+ --ft-button-internal-line-height: max(calc(${Mi.fontSize} + 2px), ${Mi.iconSize});
517
+ --ft-button-internal-color: ${Mi.color};
518
+ ${Ce(Zi.size,Mi.iconSize)};
519
+ ${Ce(Ri.color,Mi.rippleColor)};
520
520
 
521
- border-radius: ${Ai.borderRadius};
522
- padding: ${Ai.verticalPadding} ${Ai.horizontalPadding};
523
- background-color: ${Ai.backgroundColor};
521
+ border-radius: ${Mi.borderRadius};
522
+ padding: ${Mi.verticalPadding} ${Mi.horizontalPadding};
523
+ background-color: ${Mi.backgroundColor};
524
524
  color: var(--ft-button-internal-color);
525
525
  -webkit-mask-image: radial-gradient(white, black);
526
526
  }
527
527
 
528
528
  .ft-button.ft-button--outlined {
529
529
  border: 1px solid var(--ft-button-internal-color);
530
- padding: calc(${Ai.verticalPadding} - 1px) calc(${Ai.horizontalPadding} - 1px);
530
+ padding: calc(${Mi.verticalPadding} - 1px) calc(${Mi.horizontalPadding} - 1px);
531
531
  }
532
532
 
533
533
  .ft-button.ft-button--dense {
@@ -545,7 +545,7 @@ const yi=1,gi=2,bi=t=>(...o)=>({_$litDirective$:t,values:o});class mi{constructo
545
545
  }
546
546
 
547
547
  .ft-button--round {
548
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ai.verticalPadding});
548
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Mi.verticalPadding});
549
549
  }
550
550
 
551
551
  .ft-button--round.ft-button--dense {
@@ -554,13 +554,13 @@ const yi=1,gi=2,bi=t=>(...o)=>({_$litDirective$:t,values:o});class mi{constructo
554
554
 
555
555
  .ft-button[disabled] {
556
556
  filter: grayscale(1);
557
- opacity: ${Ai.opacityDisabled};
557
+ opacity: ${Mi.opacityDisabled};
558
558
  }
559
559
 
560
560
  .ft-button.ft-button--primary {
561
561
  background-color: ${Hi.backgroundColor};
562
562
  --ft-button-internal-color: ${Hi.color};
563
- ${ko(Ri.color,Hi.rippleColor)};
563
+ ${Ce(Ri.color,Hi.rippleColor)};
564
564
  }
565
565
 
566
566
  .ft-button:focus {
@@ -573,9 +573,9 @@ const yi=1,gi=2,bi=t=>(...o)=>({_$litDirective$:t,values:o});class mi{constructo
573
573
  white-space: nowrap;
574
574
  text-overflow: ellipsis;
575
575
  display: block;
576
- margin: 0 ${Ai.iconPadding};
577
- ${ko(ti.fontSize,"1em")};
578
- ${ko(ti.lineHeight,"var(--ft-button-internal-line-height)")};
576
+ margin: 0 ${Mi.iconPadding};
577
+ ${Ce(ti.fontSize,"1em")};
578
+ ${Ce(ti.lineHeight,"var(--ft-button-internal-line-height)")};
579
579
  }
580
580
 
581
581
  .ft-button--dense .ft-button--label {
@@ -592,8 +592,8 @@ const yi=1,gi=2,bi=t=>(...o)=>({_$litDirective$:t,values:o});class mi{constructo
592
592
  }
593
593
 
594
594
  .ft-button--label[hidden] + ft-icon {
595
- margin: 0 calc(${Ai.horizontalPadding} * -1);
596
- padding: 0 ${Ai.verticalPadding};
595
+ margin: 0 calc(${Mi.horizontalPadding} * -1);
596
+ padding: 0 ${Mi.verticalPadding};
597
597
  }
598
598
 
599
599
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
@@ -607,15 +607,15 @@ const yi=1,gi=2,bi=t=>(...o)=>({_$litDirective$:t,values:o});class mi{constructo
607
607
  }
608
608
 
609
609
  ft-loader {
610
- ${ko(Fi.size,Ai.iconSize)};
611
- ${ko(Fi.color,"var(--ft-button-internal-color)")};
610
+ ${Ce(Ki.size,Mi.iconSize)};
611
+ ${Ce(Ki.color,"var(--ft-button-internal-color)")};
612
612
  }
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}});
613
+ `,Pe],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((e=>t[e])).join(" ")+" "}update(t,[e]){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 e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const i=!!e[t];i===this.it.has(t)||this.st?.has(t)||(i?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return et}});
614
614
  /**
615
615
  * @license
616
616
  * Copyright 2017 Google LLC
617
617
  * SPDX-License-Identifier: BSD-3-Clause
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`
618
+ */var Ji=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class qi extends Ae{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 E(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new E(10),this.moveRipple=t=>{var e,o;let{x:i,y:r}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{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 ae`
619
619
  <style>
620
620
  .ft-ripple .ft-ripple--effect {
621
621
  left: ${this.originX}px;
@@ -626,7 +626,7 @@ const yi=1,gi=2,bi=t=>(...o)=>({_$litDirective$:t,values:o});class mi{constructo
626
626
  <div class="ft-ripple--background"></div>
627
627
  <div class="ft-ripple--effect"></div>
628
628
  </div>
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`
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 e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.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,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}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 e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",o),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",o),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 e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.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 e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}qi.elementDefinitions={},qi.styles=Fi,Ji([N({type:Boolean})],qi.prototype,"primary",void 0),Ji([N({type:Boolean})],qi.prototype,"secondary",void 0),Ji([N({type:Boolean})],qi.prototype,"unbounded",void 0),Ji([N({type:Boolean})],qi.prototype,"activated",void 0),Ji([N({type:Boolean})],qi.prototype,"selected",void 0),Ji([N({type:Boolean})],qi.prototype,"disabled",void 0),Ji([$()],qi.prototype,"hovered",void 0),Ji([$()],qi.prototype,"focused",void 0),Ji([$()],qi.prototype,"pressed",void 0),Ji([$()],qi.prototype,"rippling",void 0),Ji([$()],qi.prototype,"originX",void 0),Ji([$()],qi.prototype,"originY",void 0),Ji([k(".ft-ripple")],qi.prototype,"ripple",void 0),Ji([k(".ft-ripple--effect")],qi.prototype,"rippleEffect",void 0),L("ft-ripple")(qi);const Xi=$e.create("--ft-tooltip-distance","","SIZE","4px"),Qi=$e.create("--ft-tooltip-color","","COLOR","#FFFFFF"),tr=$e.create("--ft-tooltip-background-color","","COLOR","#666666"),er=$e.create("--ft-tooltip-z-index","","NUMBER","100"),or=$e.external(Ie.borderRadiusS,"Design system"),ir=$e.create("--ft-tooltip-max-width","","SIZE","150px"),rr=Nt`
630
630
  .ft-tooltip--container {
631
631
  display: block;
632
632
  }
@@ -644,18 +644,18 @@ const yi=1,gi=2,bi=t=>(...o)=>({_$litDirective$:t,values:o});class mi{constructo
644
644
  max-width: ${ir};
645
645
  text-align: center;
646
646
  padding: ${Xi};
647
- z-index: ${or};
647
+ z-index: ${er};
648
648
  }
649
649
 
650
650
  .ft-tooltip--content {
651
651
  padding: 4px 8px;
652
- border-radius: ${er};
652
+ border-radius: ${or};
653
653
  background-color: ${tr};
654
654
  color: ${Qi};
655
655
  position: relative;
656
656
  word-break: break-word;
657
657
  }
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`
658
+ `,nr=["start","end"],ar=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+nr[0],e+"-"+nr[1])),[]),sr=Math.min,lr=Math.max,cr=Math.round,fr=t=>({x:t,y:t}),pr={left:"right",right:"left",bottom:"top",top:"bottom"},hr={start:"end",end:"start"};function dr(t,e,o){return lr(t,sr(e,o))}function ur(t,e){return"function"==typeof t?t(e):t}function yr(t){return t.split("-")[0]}function gr(t){return t.split("-")[1]}function br(t){return"x"===t?"y":"x"}function mr(t){return"y"===t?"height":"width"}function xr(t){return["top","bottom"].includes(yr(t))?"y":"x"}function vr(t){return br(xr(t))}function Or(t){return t.replace(/left|right|bottom|top/g,(t=>pr[t]))}function wr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Sr(t,e,o){let{reference:i,floating:r}=t;const n=xr(e),a=vr(e),s=mr(a),l=yr(e),c="y"===n,f=i.x+i.width/2-r.width/2,p=i.y+i.height/2-r.height/2,h=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:f,y:i.y-r.height};break;case"bottom":d={x:f,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:p};break;case"left":d={x:i.x-r.width,y:p};break;default:d={x:i.x,y:i.y}}switch(gr(e)){case"start":d[a]-=h*(o&&c?-1:1);break;case"end":d[a]+=h*(o&&c?-1:1)}return d}async function Nr(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:h=!1,padding:d=0}=ur(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===p?"reference":"floating":p],g=wr(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:l})),b="floating"===p?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=wr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-v.top+u.top)/x.y,bottom:(v.bottom-g.bottom+u.bottom)/x.y,left:(g.left-v.left+u.left)/x.x,right:(v.right-g.right+u.right)/x.x}}function $r(t,e,o){return(t?[...o.filter((e=>gr(e)===t)),...o.filter((e=>gr(e)!==t))]:o.filter((t=>yr(t)===t))).filter((o=>!t||(gr(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>hr[t]))}(o)!==o)))}const Cr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:f=!1,alignment:p,allowedPlacements:h=ar,autoAlignment:d=!0,...u}=ur(t,e),y=void 0!==p||h===ar?$r(p||null,d,h):h,g=await Nr(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const i=gr(t),r=vr(t),n=mr(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Or(a)),[a,Or(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[yr(m)],g[x[0]],g[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=gr(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),N=S.filter((t=>t[2].slice(0,gr(t[0])?2:3).every((t=>t<=0)))),$=(null==(r=N[0])?void 0:r[0])||S[0][0];return $!==s?{data:{index:b+1,overflows:O},reset:{placement:$}}:{}}}};function kr(t){return Ur(t)?(t.nodeName||"").toLowerCase():"#document"}function Rr(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Er(t){var e;return null==(e=(Ur(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Ur(t){return t instanceof Node||t instanceof Rr(t).Node}function Ir(t){return t instanceof Element||t instanceof Rr(t).Element}function Lr(t){return t instanceof HTMLElement||t instanceof Rr(t).HTMLElement}function Wr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Rr(t).ShadowRoot)}function zr(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=Dr(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function Fr(t){return["table","td","th"].includes(kr(t))}function Kr(t){const e=Br(),o=Dr(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function Br(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Zr(t){return["html","body","#document"].includes(kr(t))}function Dr(t){return Rr(t).getComputedStyle(t)}function Ar(t){return Ir(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Mr(t){if("html"===kr(t))return t;const e=t.assignedSlot||t.parentNode||Wr(t)&&t.host||Er(t);return Wr(e)?e.host:e}function Pr(t){const e=Mr(t);return Zr(e)?t.ownerDocument?t.ownerDocument.body:t.body:Lr(e)&&zr(e)?e:Pr(e)}function Hr(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=Pr(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=Rr(r);return n?e.concat(a,a.visualViewport||[],zr(r)?r:[],a.frameElement&&o?Hr(a.frameElement):[]):e.concat(r,Hr(r,[],o))}function jr(t){const e=Dr(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=Lr(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=cr(o)!==n||cr(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function Tr(t){return Ir(t)?t:t.contextElement}function _r(t){const e=Tr(t);if(!Lr(e))return fr(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=jr(e);let a=(n?cr(o.width):o.width)/i,s=(n?cr(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Gr=fr(0);function Vr(t){const e=Rr(t);return Br()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Gr}function Yr(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=Tr(t);let a=fr(1);e&&(i?Ir(i)&&(a=_r(i)):a=_r(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Rr(t))&&e}(n,o,i)?Vr(n):fr(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,f=r.width/a.x,p=r.height/a.y;if(n){const t=Rr(n),e=i&&Ir(i)?Rr(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=_r(o),e=o.getBoundingClientRect(),i=Dr(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,f*=t.x,p*=t.y,l+=r,c+=n,o=Rr(o).frameElement}}return wr({width:f,height:p,x:l,y:c})}function Jr(t){return Yr(Er(t)).left+Ar(t).scrollLeft}function qr(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=Rr(t),i=Er(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=Br();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=Er(t),o=Ar(t),i=t.ownerDocument.body,r=lr(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=lr(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+Jr(t);const s=-o.scrollTop;return"rtl"===Dr(i).direction&&(a+=lr(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(Er(t));else if(Ir(e))i=function(t,e){const o=Yr(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=Lr(t)?_r(t):fr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=Vr(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return wr(i)}function Xr(t,e){const o=Mr(t);return!(o===e||!Ir(o)||Zr(o))&&("fixed"===Dr(o).position||Xr(o,e))}function Qr(t,e,o){const i=Lr(e),r=Er(e),n="fixed"===o,a=Yr(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=fr(0);if(i||!i&&!n)if(("body"!==kr(e)||zr(r))&&(s=Ar(e)),i){const t=Yr(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=Jr(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function tn(t,e){return Lr(t)&&"fixed"!==Dr(t).position?e?e(t):t.offsetParent:null}function en(t,e){const o=Rr(t);if(!Lr(t))return o;let i=tn(t,e);for(;i&&Fr(i)&&"static"===Dr(i).position;)i=tn(i,e);return i&&("html"===kr(i)||"body"===kr(i)&&"static"===Dr(i).position&&!Kr(i))?o:i||function(t){let e=Mr(t);for(;Lr(e)&&!Zr(e);){if(Kr(e))return e;e=Mr(e)}return null}(t)||o}const on={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=Lr(o),n=Er(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=fr(1);const l=fr(0);if((r||!r&&"fixed"!==i)&&(("body"!==kr(o)||zr(n))&&(a=Ar(o)),Lr(o))){const t=Yr(o);s=_r(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:Er,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=Hr(t,[],!1).filter((t=>Ir(t)&&"body"!==kr(t))),r=null;const n="fixed"===Dr(t).position;let a=n?Mr(t):t;for(;Ir(a)&&!Zr(a);){const e=Dr(a),o=Kr(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||zr(a)&&!o&&Xr(t,a))?i=i.filter((t=>t!==a)):r=e,a=Mr(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=qr(e,o,r);return t.top=lr(i.top,t.top),t.right=sr(i.right,t.right),t.bottom=sr(i.bottom,t.bottom),t.left=lr(i.left,t.left),t}),qr(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:en,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||en,n=this.getDimensions;return{reference:Qr(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return jr(t)},getScale:_r,isElement:Ir,isRTL:function(t){return"rtl"===Dr(t).direction}},rn=(t,e,o)=>{const i=new Map,r={platform:on,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:f,y:p}=Sr(c,i,l),h=i,d={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:x}=await y({x:f,y:p,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:e}});f=null!=g?g:f,p=null!=b?b:p,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):x.rects),({x:f,y:p}=Sr(c,h,l))),o=-1)}return{x:f,y:p,placement:h,strategy:r,middlewareData:d}})(t,e,{...r,platform:n})};var nn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class an extends Ae{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 E,this.revealDebouncer=new E}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ae`
659
659
  <div part="container"
660
660
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
661
661
  @mouseenter=${this.onHover}
@@ -673,31 +673,31 @@ const yi=1,gi=2,bi=t=>(...o)=>({_$litDirective$:t,values:o});class mi{constructo
673
673
  </div>
674
674
  </div>
675
675
  </div>
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([
676
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&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(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",rn(this.slottedElement,this.tooltip,{middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=ur(t,e),c={x:o,y:i},f=await Nr(e,l),p=xr(yr(r)),h=br(p);let d=c[h],u=c[p];if(n){const t="y"===h?"bottom":"right";d=dr(d+f["y"===h?"top":"left"],d,d-f[t])}if(a){const t="y"===p?"bottom":"right";u=dr(u+f["y"===p?"top":"left"],u,u-f[t])}const y=s.fn({...e,[h]:d,[p]:u});return{...y,data:{x:y.x-o,y:y.y-i}}}}),Cr({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}an.elementDefinitions={"ft-typography":ui},an.styles=rr,nn([N()],an.prototype,"text",void 0),nn([N({type:Boolean})],an.prototype,"manual",void 0),nn([N({type:Boolean})],an.prototype,"inline",void 0),nn([N({type:Number})],an.prototype,"delay",void 0),nn([N()],an.prototype,"position",void 0),nn([
677
677
  /**
678
678
  * @license
679
679
  * Copyright 2017 Google LLC
680
680
  * SPDX-License-Identifier: BSD-3-Clause
681
681
  */
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);
682
+ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return C(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}()],an.prototype,"slotNodes",void 0),nn([k(".ft-tooltip--container")],an.prototype,"container",void 0),nn([k(".ft-tooltip")],an.prototype,"tooltip",void 0),nn([k(".ft-tooltip--content")],an.prototype,"tooltipContent",void 0),nn([$()],an.prototype,"visible",void 0),L("ft-tooltip")(an);
683
683
  /**
684
684
  * @license
685
685
  * Copyright 2017 Google LLC
686
686
  * SPDX-License-Identifier: BSD-3-Clause
687
687
  */
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`
688
+ class sn extends mi{constructor(t){if(super(t),this.et=ot,t.type!==gi)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===ot||null==t)return this.vt=void 0,this.et=t;if(t===et)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 e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}sn.directiveName="unsafeHTML",sn.resultType=1;const ln=bi(sn);var cn,fn,pn;!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;"}(cn||(cn={})),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;"}(fn||(fn={})),new Map([...["abw"].map((t=>[t,fn.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,fn.AUDIO])),...["avi"].map((t=>[t,fn.AVI])),...["chm","xhs"].map((t=>[t,fn.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,fn.CODE])),...["csv"].map((t=>[t,fn.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,fn.DITA])),...["epub"].map((t=>[t,fn.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,fn.EXCEL])),...["flac"].map((t=>[t,fn.FLAC])),...["gif"].map((t=>[t,fn.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,fn.GZIP])),...["html","htm","xhtml"].map((t=>[t,fn.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,fn.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,fn.JPEG])),...["json"].map((t=>[t,fn.JSON])),...["m4a","m4p"].map((t=>[t,fn.M4A])),...["mov","qt"].map((t=>[t,fn.MOV])),...["mp3"].map((t=>[t,fn.MP3])),...["mp4","m4v"].map((t=>[t,fn.MP4])),...["ogg","oga"].map((t=>[t,fn.OGG])),...["pdf","ps"].map((t=>[t,fn.PDF])),...["png"].map((t=>[t,fn.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,fn.POWERPOINT])),...["rar"].map((t=>[t,fn.RAR])),...["stp"].map((t=>[t,fn.STP])),...["txt","rtf","md","mdown"].map((t=>[t,fn.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,fn.VIDEO])),...["wav"].map((t=>[t,fn.WAV])),...["wma"].map((t=>[t,fn.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,fn.WORD])),...["xml","xsl","rdf"].map((t=>[t,fn.XML])),...["yaml","yml","x-yaml"].map((t=>[t,fn.YAML])),...["zip"].map((t=>[t,fn.ZIP]))]),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(pn||(pn={}));var hn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class dn extends Ae{constructor(){super(...arguments),this.resolvedIcon=le}render(){const t=this.variant&&Object.values(pn).includes(this.variant)?this.variant:pn.fluid_topics,e=t!==pn.material||!!this.value;return ae`
689
689
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
690
- ${lr(this.resolvedIcon)}
691
- <slot ?hidden=${o}></slot>
690
+ ${ln(this.resolvedIcon)}
691
+ <slot ?hidden=${e}></slot>
692
692
  </i>
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`
693
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case pn.file_format:this.resolvedIcon=null!==(t=fn[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case pn.material:this.resolvedIcon=this.value||le;break;default:this.resolvedIcon=null!==(e=cn[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}dn.elementDefinitions={},dn.styles=Di,hn([N()],dn.prototype,"variant",void 0),hn([N()],dn.prototype,"value",void 0),hn([$()],dn.prototype,"resolvedIcon",void 0),hn([k("slot")],dn.prototype,"slottedContent",void 0),L("ft-icon")(dn);class un extends Ae{render(){return ae`
694
694
  <div class="ft-loader">
695
695
  <div></div>
696
696
  <div></div>
697
697
  <div></div>
698
698
  <div></div>
699
699
  </div>
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`
700
+ `}}un.styles=Bi,L("ft-loader")(un);var yn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class gn extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[je].form}constructor(...t){super(t),this[je]=this.attachInternals(),this[je].role=e}setFormValue(t){this[je].setFormValue(t)}}}(Ae,"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 e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}render(){return this.addTooltipIfNeeded(ae`
701
701
  <button part="button"
702
702
  class="${Yi(this.buttonClasses)}"
703
703
  aria-label="${this.getLabel()}"
@@ -706,21 +706,21 @@ class sr extends mi{constructor(t){if(super(t),this.et=et,t.type!==gi)throw Erro
706
706
  <ft-typography part="label"
707
707
  variant=${this.typographyVariant}
708
708
  element="span"
709
- class="ft-button--label ${Yo?"ft-safari-ellipsis-fix":""}"
709
+ class="ft-button--label ${Ve?"ft-safari-ellipsis-fix":""}"
710
710
  ?hidden=${!this.hasTextContent()}>
711
711
  <slot @slotchange=${this.onSlotchange}></slot>
712
712
  </ft-typography>
713
713
  ${this.resolveIcon()}
714
714
  </button>
715
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?ao`
715
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?ae`
716
716
  <ft-tooltip part="tooltip"
717
717
  text="${this.getLabel()}"
718
718
  position="${this.tooltipPosition}">
719
719
  ${t}
720
720
  </ft-tooltip>
721
- `:t}resolveIcon(){return this.loading?ao`
722
- <ft-loader part="loader icon"></ft-loader> `:this.icon?ao`
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`
721
+ `:t}resolveIcon(){return this.loading?ae`
722
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?ae`
723
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:le}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}}gn.elementDefinitions={"ft-ripple":qi,"ft-tooltip":an,"ft-typography":ui,"ft-icon":dn,"ft-loader":un},yn([N({type:String,reflect:!0})],gn.prototype,"role",void 0),yn([N()],gn.prototype,"type",void 0),yn([N({type:Boolean})],gn.prototype,"disabled",void 0),yn([N()],gn.prototype,"label",void 0),yn([N()],gn.prototype,"icon",void 0),yn([N()],gn.prototype,"iconVariant",void 0),yn([N({type:Boolean})],gn.prototype,"trailingIcon",void 0),yn([N({type:Boolean})],gn.prototype,"loading",void 0),yn([N()],gn.prototype,"tooltipPosition",void 0),yn([N({type:Boolean})],gn.prototype,"hideTooltip",void 0),yn([N({type:Boolean})],gn.prototype,"forceTooltip",void 0),yn([k(".ft-button")],gn.prototype,"button",void 0),yn([k(".ft-button--label slot")],gn.prototype,"slottedContent",void 0);var bn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class mn extends gn{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"}}mn.styles=[He,Vi],bn([N({type:Boolean})],mn.prototype,"primary",void 0),bn([N({type:Boolean})],mn.prototype,"outlined",void 0),bn([N({type:Boolean})],mn.prototype,"dense",void 0),bn([N({type:Boolean})],mn.prototype,"round",void 0);const xn=[Nt`
724
724
  :host {
725
725
  display: inline-block;
726
726
  max-width: 100%;
@@ -770,7 +770,7 @@ class sr extends mi{constructor(t){if(super(t),this.et=et,t.type!==gi)throw Erro
770
770
  }
771
771
 
772
772
  .ft-button:focus-visible {
773
- outline-color: ${Io.focusFocusRingColor};
773
+ outline-color: ${Ue.focusFocusRingColor};
774
774
  outline-style: solid;
775
775
  }
776
776
 
@@ -799,153 +799,153 @@ class sr extends mi{constructor(t){if(super(t),this.et=et,t.type!==gi)throw Erro
799
799
  /** Primary styles **/
800
800
 
801
801
  .ft-button--primary {
802
- ${ko(Fi.color,Io.primaryIconColor)};
802
+ ${Ce(Ki.color,Ue.primaryIconColor)};
803
803
 
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)};
804
+ ${Ce(Ri.color,Ue.primaryStateLayerColor)};
805
+ ${Ce(Ri.opacityContentOnSurfaceHover,Ue.primaryStateLayerOpacityHover)};
806
+ ${Ce(Ri.opacityContentOnSurfaceFocused,Ue.primaryStateLayerOpacityFocus)};
807
+ ${Ce(Ri.opacityContentOnSurfaceSelected,Ue.primaryStateLayerOpacityActive)};
808
+ ${Ce(Ri.opacityContentOnSurfacePressed,Ue.primaryStateLayerOpacityActive)};
809
809
 
810
- background-color: ${Io.primaryBackgroundColor};
811
- color: ${Io.primaryColor};
810
+ background-color: ${Ue.primaryBackgroundColor};
811
+ color: ${Ue.primaryColor};
812
812
  border-style: none;
813
813
  }
814
814
 
815
815
  .ft-button--primary[disabled] {
816
- opacity: ${Io.primaryComponentOpacityDisabled};
816
+ opacity: ${Ue.primaryComponentOpacityDisabled};
817
817
  }
818
818
 
819
819
  .ft-button--primary ft-icon {
820
- color: ${Io.primaryIconColor};
820
+ color: ${Ue.primaryIconColor};
821
821
  }
822
822
 
823
823
  /** Secondary styles **/
824
824
 
825
825
  .ft-button--secondary {
826
- ${ko(Fi.color,Io.secondaryIconColor)};
826
+ ${Ce(Ki.color,Ue.secondaryIconColor)};
827
827
 
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)};
828
+ ${Ce(Ri.color,Ue.secondaryStateLayerColor)};
829
+ ${Ce(Ri.opacityContentOnSurfaceHover,Ue.secondaryStateLayerOpacityHover)};
830
+ ${Ce(Ri.opacityContentOnSurfaceFocused,Ue.secondaryStateLayerOpacityFocus)};
831
+ ${Ce(Ri.opacityContentOnSurfaceSelected,Ue.secondaryStateLayerOpacityActive)};
832
+ ${Ce(Ri.opacityContentOnSurfacePressed,Ue.secondaryStateLayerOpacityActive)};
833
833
 
834
- background-color: ${Io.secondaryBackgroundColor};
835
- color: ${Io.secondaryColor};
836
- border-color: ${Io.secondaryBorderColor};
834
+ background-color: ${Ue.secondaryBackgroundColor};
835
+ color: ${Ue.secondaryColor};
836
+ border-color: ${Ue.secondaryBorderColor};
837
837
  border-style: solid;
838
838
  }
839
839
 
840
840
  .ft-button--secondary[disabled] {
841
- opacity: ${Io.secondaryComponentOpacityDisabled};
841
+ opacity: ${Ue.secondaryComponentOpacityDisabled};
842
842
  }
843
843
 
844
844
  .ft-button--secondary ft-icon {
845
- color: ${Io.secondaryIconColor};
845
+ color: ${Ue.secondaryIconColor};
846
846
  }
847
847
 
848
848
  /** Tertiary styles **/
849
849
 
850
850
  .ft-button--tertiary {
851
- ${ko(Fi.color,Io.tertiaryIconColor)};
851
+ ${Ce(Ki.color,Ue.tertiaryIconColor)};
852
852
 
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)};
853
+ ${Ce(Ri.color,Ue.tertiaryStateLayerColor)};
854
+ ${Ce(Ri.opacityContentOnSurfaceHover,Ue.tertiaryStateLayerOpacityHover)};
855
+ ${Ce(Ri.opacityContentOnSurfaceFocused,Ue.tertiaryStateLayerOpacityFocus)};
856
+ ${Ce(Ri.opacityContentOnSurfaceSelected,Ue.tertiaryStateLayerOpacityActive)};
857
+ ${Ce(Ri.opacityContentOnSurfacePressed,Ue.tertiaryStateLayerOpacityActive)};
858
858
 
859
- background-color: ${Io.tertiaryBackgroundColor};
860
- color: ${Io.tertiaryColor};
859
+ background-color: ${Ue.tertiaryBackgroundColor};
860
+ color: ${Ue.tertiaryColor};
861
861
  border-style: none;
862
862
  }
863
863
 
864
864
  .ft-button--tertiary[disabled] {
865
- opacity: ${Io.tertiaryComponentOpacityDisabled};
865
+ opacity: ${Ue.tertiaryComponentOpacityDisabled};
866
866
  }
867
867
 
868
868
  .ft-button--tertiary ft-icon {
869
- color: ${Io.tertiaryIconColor};
869
+ color: ${Ue.tertiaryIconColor};
870
870
  }
871
871
 
872
872
  /** Neutral styles **/
873
873
 
874
874
  .ft-button--neutral {
875
- ${ko(Fi.color,Io.neutralIconColor)};
875
+ ${Ce(Ki.color,Ue.neutralIconColor)};
876
876
 
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)};
877
+ ${Ce(Ri.backgroundColor,Ue.neutralStateLayerColor)};
878
+ ${Ce(Ri.opacityContentOnSurfaceHover,Ue.neutralStateLayerOpacityHover)};
879
+ ${Ce(Ri.opacityContentOnSurfaceFocused,Ue.neutralStateLayerOpacityFocus)};
880
+ ${Ce(Ri.opacityContentOnSurfaceSelected,Ue.neutralStateLayerOpacityActive)};
881
+ ${Ce(Ri.opacityContentOnSurfacePressed,Ue.neutralStateLayerOpacityActive)};
882
882
 
883
- background-color: ${Io.neutralBackgroundColor};
884
- color: ${Io.neutralColor};
883
+ background-color: ${Ue.neutralBackgroundColor};
884
+ color: ${Ue.neutralColor};
885
885
  border-style: none;
886
886
  }
887
887
 
888
888
  .ft-button--neutral[disabled] {
889
- opacity: ${Io.neutralComponentOpacityDisabled};
889
+ opacity: ${Ue.neutralComponentOpacityDisabled};
890
890
  }
891
891
 
892
892
  .ft-button--neutral ft-icon {
893
- color: ${Io.neutralIconColor};
893
+ color: ${Ue.neutralIconColor};
894
894
  }
895
895
 
896
896
  /** Large styles **/
897
897
 
898
898
  .ft-button--large {
899
- ${ko(Zi.size,Io.largeIconSize)};
900
- ${ko(Fi.size,Io.largeIconSize)};
899
+ ${Ce(Zi.size,Ue.largeIconSize)};
900
+ ${Ce(Ki.size,Ue.largeIconSize)};
901
901
 
902
- height: ${Io.largeHeight};
903
- padding: 0 ${Io.largeHorizontalPadding};
904
- gap: ${Io.largeGap};
905
- border-radius: ${Io.largeBorderRadius};
906
- border-width: ${Io.largeBorderWidth};
902
+ height: ${Ue.largeHeight};
903
+ padding: 0 ${Ue.largeHorizontalPadding};
904
+ gap: ${Ue.largeGap};
905
+ border-radius: ${Ue.largeBorderRadius};
906
+ border-width: ${Ue.largeBorderWidth};
907
907
  }
908
908
 
909
909
  .ft-button--large:focus-visible {
910
- outline-width: ${Io.largeFocusOutlineWidth};
911
- outline-offset: ${Io.largeFocusOutlineOffset};
910
+ outline-width: ${Ue.largeFocusOutlineWidth};
911
+ outline-offset: ${Ue.largeFocusOutlineOffset};
912
912
  }
913
913
 
914
914
  .ft-button--large.ft-button--icon-only {
915
- width: ${Io.largeIconOnlyWidth};
915
+ width: ${Ue.largeIconOnlyWidth};
916
916
  padding: unset;
917
917
  }
918
918
 
919
919
  /** Small styles **/
920
920
 
921
921
  .ft-button--small {
922
- ${ko(Zi.size,Io.smallIconSize)};
923
- ${ko(Fi.size,Io.smallIconSize)};
922
+ ${Ce(Zi.size,Ue.smallIconSize)};
923
+ ${Ce(Ki.size,Ue.smallIconSize)};
924
924
 
925
- height: ${Io.smallHeight};
926
- padding: 0 ${Io.smallHorizontalPadding};
927
- gap: ${Io.smallGap};
928
- border-radius: ${Io.smallBorderRadius};
929
- border-width: ${Io.smallBorderWidth};
925
+ height: ${Ue.smallHeight};
926
+ padding: 0 ${Ue.smallHorizontalPadding};
927
+ gap: ${Ue.smallGap};
928
+ border-radius: ${Ue.smallBorderRadius};
929
+ border-width: ${Ue.smallBorderWidth};
930
930
  }
931
931
 
932
932
  .ft-button--small:focus-visible {
933
- outline-width: ${Io.smallFocusOutlineWidth};
934
- outline-offset: ${Io.smallFocusOutlineOffset};
933
+ outline-width: ${Ue.smallFocusOutlineWidth};
934
+ outline-offset: ${Ue.smallFocusOutlineOffset};
935
935
  }
936
936
 
937
937
  .ft-button--small.ft-button--icon-only {
938
- width: ${Io.smallIconOnlyWidth};
938
+ width: ${Ue.smallIconOnlyWidth};
939
939
  padding: unset;
940
940
  }
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`
941
+ `,Pe];var vn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class On extends gn{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?to.caption1medium:to.body2medium}}On.styles=[He,xn],vn([N({type:Boolean})],On.prototype,"primary",void 0),vn([N({type:Boolean})],On.prototype,"secondary",void 0),vn([N({type:Boolean})],On.prototype,"tertiary",void 0),vn([N({type:Boolean})],On.prototype,"neutral",void 0),vn([N({type:Boolean})],On.prototype,"small",void 0),L("ft-button")(mn),L("ftds-button")(On);const wn=$e.extend("--ft-checkbox-text-color","",Ie.colorOnSurfaceHigh),Sn=$e.external(Ie.colorPrimary,"Design system"),Nn=$e.external(Ie.colorOnPrimary,"Design system"),$n=$e.extend("--ft-checkbox-border-color","",Ie.colorOnSurfaceMedium),Cn=$e.external(Ie.colorOnSurfaceDisabled,"Design system"),kn=Nt`
942
942
  * {
943
943
  box-sizing: border-box;
944
944
  }
945
945
 
946
946
  .ft-checkbox {
947
947
  box-sizing: border-box;
948
- color: ${Sr};
948
+ color: ${wn};
949
949
 
950
950
  display: inline-flex;
951
951
  align-items: center;
@@ -953,7 +953,7 @@ class sr extends mi{constructor(t){if(super(t),this.et=et,t.type!==gi)throw Erro
953
953
  }
954
954
 
955
955
  .ft-checkbox--disabled {
956
- color: ${Cr};
956
+ color: ${Cn};
957
957
  }
958
958
 
959
959
  input {
@@ -977,26 +977,26 @@ class sr extends mi{constructor(t){if(super(t),this.et=et,t.type!==gi)throw Erro
977
977
 
978
978
  .ft-checkbox--box {
979
979
  display: flex;
980
- border: 2px solid ${$r};
980
+ border: 2px solid ${$n};
981
981
  border-radius: 2px;
982
982
 
983
983
  width: 18px;
984
984
  height: 18px;
985
985
 
986
- color: ${wr};
986
+ color: ${Nn};
987
987
  }
988
988
 
989
989
 
990
990
  .ft-checkbox--checked .ft-checkbox--box,
991
991
  .ft-checkbox--indeterminate .ft-checkbox--box {
992
- border-color: ${Nr};
993
- background-color: ${Nr};
992
+ border-color: ${Sn};
993
+ background-color: ${Sn};
994
994
  }
995
995
 
996
996
  .ft-checkbox--disabled .ft-checkbox--box {
997
- border-color: ${Cr};
997
+ border-color: ${Cn};
998
998
  background-color: transparent;
999
- color: ${Cr};
999
+ color: ${Cn};
1000
1000
  }
1001
1001
 
1002
1002
  .ft-checkbox--checkmark {
@@ -1015,7 +1015,7 @@ class sr extends mi{constructor(t){if(super(t),this.et=et,t.type!==gi)throw Erro
1015
1015
  .ft-checkbox--indeterminate .ft-checkbox--checkmark {
1016
1016
  opacity: 1;
1017
1017
  }
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`
1018
+ `;var Rn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class En extends Ae{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 ae`
1019
1019
  <label class="${Yi(t)}" for="checkbox-input">
1020
1020
  <div class="ft-checkbox--box-container">
1021
1021
  <ft-ripple
@@ -1041,14 +1041,14 @@ class sr extends mi{constructor(t){if(super(t),this.et=et,t.type!==gi)throw Erro
1041
1041
  <slot></slot>
1042
1042
  </ft-typography>
1043
1043
  </label>
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`
1044
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}}En.elementDefinitions={"ft-ripple":qi,"ft-typography":ui},En.styles=kn,Rn([N()],En.prototype,"name",void 0),Rn([N({type:Boolean,reflect:!0})],En.prototype,"checked",void 0),Rn([N({type:Boolean})],En.prototype,"indeterminate",void 0),Rn([N({type:Boolean})],En.prototype,"disabled",void 0),Rn([k(".ft-checkbox")],En.prototype,"container",void 0),Rn([k("ft-ripple")],En.prototype,"ripple",void 0),L("ft-checkbox")(En);const Un=$e.extend("--ft-radio-text-color","",Ie.colorOnSurfaceHigh),In=$e.external(Ie.colorPrimary,"Design system"),Ln=($e.external(Ie.colorOnPrimary,"Design system"),$e.extend("--ft-radio-border-color","",Ie.colorOnSurfaceMedium)),Wn=$e.external(Ie.colorOnSurfaceDisabled,"Design system"),zn=Nt`
1045
1045
  * {
1046
1046
  box-sizing: border-box;
1047
1047
  }
1048
1048
 
1049
1049
  .ft-radio {
1050
1050
  box-sizing: border-box;
1051
- color: ${Ur};
1051
+ color: ${Un};
1052
1052
 
1053
1053
  display: inline-flex;
1054
1054
  align-items: center;
@@ -1056,7 +1056,7 @@ class sr extends mi{constructor(t){if(super(t),this.et=et,t.type!==gi)throw Erro
1056
1056
  }
1057
1057
 
1058
1058
  .ft-radio--disabled {
1059
- color: ${Wr};
1059
+ color: ${Wn};
1060
1060
  }
1061
1061
 
1062
1062
  input {
@@ -1079,7 +1079,7 @@ class sr extends mi{constructor(t){if(super(t),this.et=et,t.type!==gi)throw Erro
1079
1079
  }
1080
1080
 
1081
1081
  .ft-radio--box {
1082
- border: 2px solid ${Lr};
1082
+ border: 2px solid ${Ln};
1083
1083
  border-radius: 50%;
1084
1084
 
1085
1085
  display: flex;
@@ -1092,7 +1092,7 @@ class sr extends mi{constructor(t){if(super(t),this.et=et,t.type!==gi)throw Erro
1092
1092
 
1093
1093
  .ft-radio--box:after {
1094
1094
  content: " ";
1095
- background-color: ${Ir};
1095
+ background-color: ${In};
1096
1096
 
1097
1097
  border-radius: 50%;
1098
1098
 
@@ -1104,7 +1104,7 @@ class sr extends mi{constructor(t){if(super(t),this.et=et,t.type!==gi)throw Erro
1104
1104
  }
1105
1105
 
1106
1106
  .ft-radio--checked .ft-radio--box {
1107
- border-color: ${Ir};
1107
+ border-color: ${In};
1108
1108
  }
1109
1109
 
1110
1110
 
@@ -1113,14 +1113,14 @@ class sr extends mi{constructor(t){if(super(t),this.et=et,t.type!==gi)throw Erro
1113
1113
  }
1114
1114
 
1115
1115
  .ft-radio--disabled .ft-radio--box {
1116
- border-color: ${Wr};
1116
+ border-color: ${Wn};
1117
1117
  background-color: transparent;
1118
1118
  }
1119
1119
 
1120
1120
  .ft-radio--disabled .ft-radio--box:after {
1121
- background-color: ${Wr};
1121
+ background-color: ${Wn};
1122
1122
  }
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`
1123
+ `;var Fn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Kn extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class Bn extends Ae{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 ae`
1124
1124
  <div class="${Yi(t)}">
1125
1125
  <div class="ft-radio--box-container">
1126
1126
  <ft-ripple
@@ -1145,22 +1145,22 @@ class sr extends mi{constructor(t){if(super(t),this.et=et,t.type!==gi)throw Erro
1145
1145
  </ft-typography>
1146
1146
  </label>
1147
1147
  </div>
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`
1148
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Kn(this.value,this.checked))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Kn(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Bn.elementDefinitions={"ft-ripple":qi,"ft-typography":ui},Bn.styles=zn,Fn([N()],Bn.prototype,"value",void 0),Fn([N()],Bn.prototype,"name",void 0),Fn([N({type:Boolean,reflect:!0})],Bn.prototype,"checked",void 0),Fn([N({type:Boolean})],Bn.prototype,"disabled",void 0),Fn([k(".ft-radio")],Bn.prototype,"container",void 0),Fn([k("ft-ripple")],Bn.prototype,"ripple",void 0),Fn([k("input")],Bn.prototype,"input",void 0);const Zn=Nt`
1149
1149
  :host {
1150
1150
  display: contents;
1151
1151
  }
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`
1152
+ `;var Dn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class An extends Ae{constructor(){super(...arguments),this.name=""}render(){return ae`
1153
1153
  <slot @slotchange=${this.onSlotChange}
1154
1154
  @change=${this.onChange}
1155
1155
  @keydown=${this.onKeyDown}
1156
1156
  ></slot>
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([
1157
+ `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((e=>e.checked=t.detail.value===e.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let e=this.findFtRadio(t),o=this.radioButtons.indexOf(e)-1;this.radioButtons[o<0?this.radioButtons.length-1:o].select();break}case"ArrowDown":case"ArrowRight":{let e=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[e>this.radioButtons.length-1?0:e].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}An.elementDefinitions={},An.styles=Zn,Dn([N()],An.prototype,"name",void 0),Dn([
1158
1158
  /**
1159
1159
  * @license
1160
1160
  * Copyright 2021 Google LLC
1161
1161
  * SPDX-License-Identifier: BSD-3-Clause
1162
1162
  */
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`
1163
+ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return C(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===r?o:o.filter((t=>t.matches(r)))}})}}()],An.prototype,"radioButtons",void 0),L("ft-radio")(Bn),L("ft-radio-group")(An);const Mn={borderRadiusM:$e.external(Ie.borderRadiusM,"Design system"),colorOutline:$e.external(Ie.colorOutline,"Design system"),colorOnSurface:$e.external(Ie.colorOnSurface,"Design system"),colorOnSurfaceMedium:$e.external(Ie.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:$e.external(Ie.colorOnSurfaceDisabled,"Design system"),colorPrimary:$e.external(Ie.colorPrimary,"Design system"),colorOnPrimary:$e.external(Ie.colorOnPrimary,"Design system"),fontFamily:$e.external(Fo.fontFamily,"Body2 typography"),fontSize:$e.external(Fo.fontSize,"Body2 typography"),fontWeight:$e.external(Fo.fontWeight,"Body2 typography"),letterSpacing:$e.external(Fo.letterSpacing,"Body2 typography"),lineHeight:$e.external(Fo.lineHeight,"Body2 typography"),textTransform:$e.external(Fo.textTransform,"Body2 typography")},Pn=Nt`
1164
1164
  .ft-filter-level--container {
1165
1165
  display: flex;
1166
1166
  flex-direction: column;
@@ -1174,14 +1174,14 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1174
1174
  flex-shrink: 0;
1175
1175
  text-decoration: none;
1176
1176
  position: relative;
1177
- border-radius: ${Ar.borderRadiusM};
1177
+ border-radius: ${Mn.borderRadiusM};
1178
1178
  overflow: hidden;
1179
1179
  display: flex;
1180
1180
  align-items: center;
1181
1181
  padding: 4px 4px;
1182
1182
  gap: 4px;
1183
1183
  cursor: pointer;
1184
- color: ${Ar.colorOnSurface};
1184
+ color: ${Mn.colorOnSurface};
1185
1185
  }
1186
1186
 
1187
1187
  .ft-filter-level--go-back:focus {
@@ -1210,7 +1210,7 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1210
1210
  }
1211
1211
 
1212
1212
  ft-button {
1213
- ${ko(Ai.color,Ar.colorOnSurface)};
1213
+ ${Ce(Mi.color,Mn.colorOnSurface)};
1214
1214
  }
1215
1215
 
1216
1216
  ft-radio, ft-checkbox {
@@ -1224,11 +1224,11 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1224
1224
 
1225
1225
  .ft-filter-level--no-values {
1226
1226
  margin: 10px 0;
1227
- color: ${Ar.colorOnSurfaceMedium};
1227
+ color: ${Mn.colorOnSurfaceMedium};
1228
1228
  }
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`
1229
+ `;var Hn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class jn extends Ae{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,e;return null!==(e=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==e?e:0}render(){let t=[...this.options];this.hideSelectedOptions&&(t=t.filter((t=>!t.selected))),this.filter&&(t=t.filter((t=>t.label.toLowerCase().includes(this.filter.toLowerCase()))));const e=t.slice(0,this.limit);return ae`
1230
1230
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1231
- ${null==this.parent?null:ao`
1231
+ ${null==this.parent?null:ae`
1232
1232
  <div tabindex="0"
1233
1233
  part="controls go-back"
1234
1234
  class="ft-filter-level--go-back"
@@ -1240,15 +1240,15 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1240
1240
  <ft-typography variant="body2">${this.parent.label}</ft-typography>
1241
1241
  </div>
1242
1242
  `}
1243
- ${0===this.options.length&&this.noValuesLabel?ao`
1243
+ ${0===this.options.length&&this.noValuesLabel?ae`
1244
1244
  <ft-typography class="ft-filter-level--no-values" element="span" variant="body2">
1245
1245
  ${this.noValuesLabel}
1246
1246
  </ft-typography>
1247
- `:lo}
1248
- ${Ci(o,(t=>t.value),(t=>{var o;return ao`
1247
+ `:le}
1248
+ ${Ci(e,(t=>t.value),(t=>{var e;return ae`
1249
1249
  <div class="ft-filter-level--option" part="options">
1250
1250
  ${this.multivalued?this.buildMultiValuedOption(t):this.buildMonoValuedOption(t)}
1251
- ${this.preventNavigation||t.selected||0===(null!==(o=t.subOptions)&&void 0!==o?o:[]).length?lo:ao`
1251
+ ${this.preventNavigation||t.selected||0===(null!==(e=t.subOptions)&&void 0!==e?e:[]).length?le:ae`
1252
1252
  <ft-button icon="thin_arrow_right"
1253
1253
  part="controls navigate-hierarchy"
1254
1254
  label="${t.label}"
@@ -1258,7 +1258,7 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1258
1258
  `}
1259
1259
  </div>
1260
1260
  `}))}
1261
- ${o.length<t.length?ao`
1261
+ ${e.length<t.length?ae`
1262
1262
  <ft-button
1263
1263
  class="ft-filter-level--display-more"
1264
1264
  icon="thin_arrow"
@@ -1267,30 +1267,30 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1267
1267
  @click=${this.displayMore}>
1268
1268
  ${this.moreValuesButtonLabel}
1269
1269
  </ft-button>
1270
- `:lo}
1270
+ `:le}
1271
1271
  </div>
1272
- `}goBackOnKeyPress(t){"Enter"!==t.key&&" "!==t.key||this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(t){t.stopPropagation(),t.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){this.displayedPages++}buildMultiValuedOption(t){var o;return ao`
1272
+ `}goBackOnKeyPress(t){"Enter"!==t.key&&" "!==t.key||this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(t){t.stopPropagation(),t.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){this.displayedPages++}buildMultiValuedOption(t){var e;return ae`
1273
1273
  <ft-checkbox name="${this.filterId}"
1274
1274
  part="multivalued-option"
1275
1275
  data-value="${t.value}"
1276
1276
  .checked=${t.selected}
1277
1277
  .disabled=${this.disabled}
1278
- .indeterminate=${U(null!==(o=t.subOptions)&&void 0!==o?o:[],(t=>{var o;return null!==(o=t.subOptions)&&void 0!==o?o:[]})).some((t=>t.selected))}
1279
- @change=${o=>this.optionsChanged(o,t)}>
1278
+ .indeterminate=${U(null!==(e=t.subOptions)&&void 0!==e?e:[],(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]})).some((t=>t.selected))}
1279
+ @change=${e=>this.optionsChanged(e,t)}>
1280
1280
  ${t.renderOption?t.renderOption:t.label}
1281
1281
  </ft-checkbox>
1282
- `}buildMonoValuedOption(t){return ao`
1282
+ `}buildMonoValuedOption(t){return ae`
1283
1283
  <ft-radio name="${this.filterId+Math.round(1e6*Math.random())}"
1284
1284
  part="monovalued-option"
1285
1285
  data-value="${t.value}"
1286
1286
  .checked=${t.selected}
1287
1287
  .disabled=${this.disabled}
1288
- @click=${o=>this.optionsChanged(o,t)}
1289
- @keyup=${o=>this.onRadioKeyUp(o,t)}
1288
+ @click=${e=>this.optionsChanged(e,t)}
1289
+ @keyup=${e=>this.onRadioKeyUp(e,t)}
1290
1290
  @change=${t=>t.stopPropagation()}>
1291
1291
  ${t.renderOption?t.renderOption:t.label}
1292
1292
  </ft-radio>
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`
1293
+ `}onRadioKeyUp(t,e){e.selected&&" "===t.key&&this.optionsChanged(t,e)}optionsChanged(t,e){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:e}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}jn.elementDefinitions={"ft-button":mn,"ft-ripple":qi,"ft-typography":ui,"ft-checkbox":En,"ft-icon":dn,"ft-radio":Bn},jn.styles=Pn,Hn([N({type:String})],jn.prototype,"filterId",void 0),Hn([N({type:Object})],jn.prototype,"parent",void 0),Hn([N({type:Array})],jn.prototype,"options",void 0),Hn([N({type:Boolean})],jn.prototype,"multivalued",void 0),Hn([N({type:Boolean})],jn.prototype,"disabled",void 0),Hn([N({type:Boolean})],jn.prototype,"hideSelectedOptions",void 0),Hn([N({type:Boolean})],jn.prototype,"preventNavigation",void 0),Hn([N({type:String})],jn.prototype,"filter",void 0),Hn([N({type:String})],jn.prototype,"moreValuesButtonLabel",void 0),Hn([N({type:String})],jn.prototype,"noValuesLabel",void 0),Hn([N({type:Number})],jn.prototype,"displayedValuesLimit",void 0),Hn([k(".ft-filter-level--container")],jn.prototype,"container",void 0),Hn([$()],jn.prototype,"displayedPages",void 0);const Tn={buttonsColor:$e.extend("--ft-snap-scroll-buttons-color","",Ie.colorPrimary),buttonsZIndex:$e.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:$e.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:$e.external(Ie.colorSurface,"Design system")},_n=Nt`
1294
1294
  .ft-snap-scroll {
1295
1295
  box-sizing: border-box;
1296
1296
  position: relative;
@@ -1325,7 +1325,7 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1325
1325
  flex-wrap: nowrap;
1326
1326
  align-items: flex-start;
1327
1327
  justify-content: flex-start;
1328
- gap: ${Tr.gap};
1328
+ gap: ${Tn.gap};
1329
1329
  }
1330
1330
 
1331
1331
  .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
@@ -1368,11 +1368,11 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1368
1368
  .ft-snap-scroll--next {
1369
1369
  position: absolute;
1370
1370
  display: flex;
1371
- z-index: ${Tr.buttonsZIndex};
1371
+ z-index: ${Tn.buttonsZIndex};
1372
1372
  opacity: 1;
1373
1373
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1374
- ${ko(Ai.backgroundColor,"transparent")};
1375
- ${ko(Ai.color,Tr.buttonsColor)};
1374
+ ${Ce(Mi.backgroundColor,"transparent")};
1375
+ ${Ce(Mi.color,Tn.buttonsColor)};
1376
1376
  }
1377
1377
 
1378
1378
  .ft-snap-scroll--previous[hidden],
@@ -1385,45 +1385,45 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1385
1385
  top: 0;
1386
1386
  left: -1px;
1387
1387
  bottom: 0;
1388
- background: linear-gradient(to right, ${Tr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1388
+ background: linear-gradient(to right, ${Tn.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1389
1389
  }
1390
1390
 
1391
1391
  .ft-snap-scroll--vertical .ft-snap-scroll--previous {
1392
1392
  top: -1px;
1393
1393
  left: 0;
1394
1394
  right: 0;
1395
- background: linear-gradient(to bottom, ${Tr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1395
+ background: linear-gradient(to bottom, ${Tn.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1396
1396
  }
1397
1397
 
1398
1398
  .ft-snap-scroll--horizontal .ft-snap-scroll--next {
1399
1399
  top: 0;
1400
1400
  right: -1px;
1401
1401
  bottom: 0;
1402
- background: linear-gradient(to left, ${Tr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1402
+ background: linear-gradient(to left, ${Tn.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1403
1403
  }
1404
1404
 
1405
1405
  .ft-snap-scroll--vertical .ft-snap-scroll--next {
1406
1406
  left: 0;
1407
1407
  right: 0;
1408
1408
  bottom: -1px;
1409
- background: linear-gradient(to top, ${Tr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1409
+ background: linear-gradient(to top, ${Tn.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1410
1410
  }
1411
1411
 
1412
1412
  .ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
1413
1413
  .ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
1414
1414
  .ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
1415
1415
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1416
- background-color: ${Tr.colorSurface};
1416
+ background-color: ${Tn.colorSurface};
1417
1417
  }
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`
1418
+ `;var Gn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Vn extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class Yn extends Ae{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 E(200),this.updateScrollDebouncer=new E(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let e=this.elements[t];if(e){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,o=this.contentSlot[this.scrollAttribute]+this.prevSize;(e[this.offsetAttribute]<o||e[this.offsetAttribute]+e[this.sizeAttribute]>t)&&this.scrollToElement(e)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){const t=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":Ve}),e=this.controls&&this.withScroll;return ae`
1419
1419
  <div part="container" class="${t}">
1420
1420
  <ft-button
1421
1421
  class="ft-snap-scroll--previous"
1422
1422
  part="controls"
1423
1423
  primary
1424
1424
  icon="${this.horizontal?"THIN_ARROW_LEFT":"THIN_ARROW_UP"}"
1425
- ?hidden=${!o||this.startReached}
1426
- ?disabled=${!o||this.startReached}
1425
+ ?hidden=${!e||this.startReached}
1426
+ ?disabled=${!e||this.startReached}
1427
1427
  @click=${this.previous}
1428
1428
  ></ft-button>
1429
1429
  <slot class="ft-snap-scroll--content"
@@ -1434,12 +1434,12 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1434
1434
  part="controls"
1435
1435
  primary
1436
1436
  icon="${this.horizontal?"THIN_ARROW_RIGHT":"THIN_ARROW"}"
1437
- ?hidden=${!o||this.endReached}
1438
- ?disabled=${!o||this.endReached}
1437
+ ?hidden=${!e||this.endReached}
1438
+ ?disabled=${!e||this.endReached}
1439
1439
  @click=${this.next}
1440
1440
  ></ft-button>
1441
1441
  </div>
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`
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 Vn(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var e;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===(e=this.listenedContainer)||void 0===e||e.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const e=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<e&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var e,o;t&&(this.horizontal?null===(e=this.contentSlot)||void 0===e||e.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(o=this.contentSlot)||void 0===o||o.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,e;this.elements=null!==(e=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==e?e:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let e=0;e<this.elements.length;e++)(t<0||this.getDistanceFromStart(this.elements[e])<this.getDistanceFromStart(this.elements[t]))&&(t=e);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const e=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-e)}}Yn.elementDefinitions={"ft-button":mn},Yn.styles=_n,Gn([N({type:Boolean})],Yn.prototype,"horizontal",void 0),Gn([N({type:Boolean})],Yn.prototype,"hideScrollbar",void 0),Gn([N({type:Boolean})],Yn.prototype,"controls",void 0),Gn([N({type:Boolean})],Yn.prototype,"limitSize",void 0),Gn([$()],Yn.prototype,"elements",void 0),Gn([$()],Yn.prototype,"currentElement",void 0),Gn([$()],Yn.prototype,"withScroll",void 0),Gn([$()],Yn.prototype,"startReached",void 0),Gn([$()],Yn.prototype,"endReached",void 0),Gn([k(".ft-snap-scroll--content")],Yn.prototype,"contentSlot",void 0),L("ft-snap-scroll")(Yn);const Jn={colorOutline:$e.external(Ie.colorOutline,"Design system"),colorOnSurface:$e.external(Ie.colorOnSurface,"Design system"),colorOnSurfaceMedium:$e.external(Ie.colorOnSurfaceMedium,"Design system"),colorPrimary:$e.external(Ie.colorPrimary,"Design system"),colorSurface:$e.external(Ie.colorSurface,"Design system"),transitionDuration:$e.external(Ie.transitionDuration,"Design system"),transitionTimingFunction:$e.external(Ie.transitionTimingFunction,"Design system")},qn=[si,Nt`
1443
1443
  :host {
1444
1444
  display: flex;
1445
1445
  max-height: 100%;
@@ -1452,7 +1452,7 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1452
1452
  flex-direction: column;
1453
1453
  max-height: 100%;
1454
1454
  max-width: 100%;
1455
- color: ${Jr.colorOnSurface};
1455
+ color: ${Jn.colorOnSurface};
1456
1456
  }
1457
1457
 
1458
1458
  .ft-filter--header {
@@ -1462,13 +1462,13 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1462
1462
  flex-shrink: 0;
1463
1463
  padding: 0 10px;
1464
1464
  margin-bottom: 8px;
1465
- ${ko(re.fontSize,"14px")};
1465
+ ${Ce(io.fontSize,"14px")};
1466
1466
  }
1467
1467
 
1468
1468
  .ft-filter--header ft-button {
1469
1469
  flex-shrink: 0;
1470
1470
  margin-left: auto;
1471
- ${ko(Ai.iconSize,"18px")};
1471
+ ${Ce(Mi.iconSize,"18px")};
1472
1472
  }
1473
1473
 
1474
1474
  .ft-filter--label {
@@ -1476,8 +1476,8 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1476
1476
  flex-shrink: 1;
1477
1477
  flex-grow: 1;
1478
1478
  word-break: break-word;
1479
- ${ko(re.lineHeight,"22px")};
1480
- ${ko(re.fontWeight,"bold")};
1479
+ ${Ce(io.lineHeight,"22px")};
1480
+ ${Ce(io.fontWeight,"bold")};
1481
1481
  }
1482
1482
 
1483
1483
  .ft-filter--filter {
@@ -1488,8 +1488,8 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1488
1488
  padding: 0 10px;
1489
1489
  overflow: hidden;
1490
1490
  height: 32px;
1491
- transition: height ${Jr.transitionDuration} ${Jr.transitionTimingFunction},
1492
- margin ${Jr.transitionDuration} ${Jr.transitionTimingFunction};
1491
+ transition: height ${Jn.transitionDuration} ${Jn.transitionTimingFunction},
1492
+ margin ${Jn.transitionDuration} ${Jn.transitionTimingFunction};
1493
1493
  transition-delay: 500ms;
1494
1494
  }
1495
1495
 
@@ -1502,15 +1502,15 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1502
1502
  display: block;
1503
1503
  width: 100%;
1504
1504
  border-radius: 4px;
1505
- border: 1px solid ${Jr.colorOutline};
1505
+ border: 1px solid ${Jn.colorOutline};
1506
1506
  padding: 4px;
1507
- background-color: ${Jr.colorSurface};
1508
- color: ${Jr.colorOnSurface};
1509
- outline-color: ${Jr.colorPrimary};
1507
+ background-color: ${Jn.colorSurface};
1508
+ color: ${Jn.colorOnSurface};
1509
+ outline-color: ${Jn.colorPrimary};
1510
1510
  }
1511
1511
 
1512
1512
  input::placeholder {
1513
- color: ${Jr.colorOnSurfaceMedium};
1513
+ color: ${Jn.colorOnSurfaceMedium};
1514
1514
  }
1515
1515
 
1516
1516
  input:placeholder-shown {
@@ -1526,7 +1526,7 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1526
1526
  }
1527
1527
 
1528
1528
  .ft-filter--separator {
1529
- border-top: 1px solid ${Jr.colorOutline};
1529
+ border-top: 1px solid ${Jn.colorOutline};
1530
1530
  margin: 4px 10px;
1531
1531
  }
1532
1532
 
@@ -1551,29 +1551,29 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1551
1551
  slot:not([name]) {
1552
1552
  display: none;
1553
1553
  }
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`
1554
+ `];var Xn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Qn extends CustomEvent{constructor(t){super("change",{detail:t})}}class ta extends Ae{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 E(300),this.changeDebouncer=new E(10),this.lastDispatchedValues=[]}get flatOptions(){return U(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get selectedValues(){return this.flatOptions.filter((t=>t.selected)).map((t=>t.value))}render(){const t=this.flatOptions.some((t=>t.selected)),e=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,o=this.filterPlaceHolder.replace("{0}",this.label);return ae`
1555
1555
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1556
1556
  part="container">
1557
- ${this.label||t?ao`
1557
+ ${this.label||t?ae`
1558
1558
  <div class="ft-filter--header" part="header">
1559
1559
  <ft-typography class="ft-filter--label" variant="overline" part="label">
1560
1560
  ${this.label}
1561
1561
  </ft-typography>
1562
1562
  <slot name="label"></slot>
1563
- ${t&&!this.hideClearButton?ao`
1563
+ ${t&&!this.hideClearButton?ae`
1564
1564
  <ft-button icon="close" dense @click=${this.clear} part="clear-button">
1565
1565
  ${this.clearButtonLabel}
1566
1566
  </ft-button>
1567
1567
  `:null}
1568
1568
  </div>
1569
1569
  `:null}
1570
- <div class="ft-filter--filter" ?hidden=${!o}>
1570
+ <div class="ft-filter--filter" ?hidden=${!e}>
1571
1571
  <input type="search"
1572
1572
  part="input"
1573
1573
  class="ft-typography--caption"
1574
- ?disabled=${!o}
1575
- placeholder="${e}"
1576
- size="${o?e.length:0}"
1574
+ ?disabled=${!e}
1575
+ placeholder="${o}"
1576
+ size="${e?o.length:0}"
1577
1577
  @search=${this.onFilterChange}
1578
1578
  @keyup=${this.onFilterChange}>
1579
1579
  </div>
@@ -1584,14 +1584,14 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1584
1584
  @slotchange=${this.updateOptionsFromSlot}
1585
1585
  @option-change=${this.optionsChanged}></slot>
1586
1586
  </div>
1587
- `}update(t){if(super.update(t),t.has("options")){const t=new Set(this.flatOptions.map((t=>t.value)));this.displayedLevels=this.displayedLevels.filter((o=>t.has(o))),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(t){var o,e,i,r,n;super.contentAvailableCallback(t),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),t.has("options")&&(this.updateScroll(),null===(o=this.levelsContainer)||void 0===o||o.scrollToIndex(this.displayedLevels.length)),t.has("slideIn")&&this.slideIn&&setTimeout((()=>{var t;null===(t=this.levelsContainer)||void 0===t||t.next(),this.slideIn=void 0}),0),t.has("slideOut")&&this.slideOut&&(null===(e=this.levelsContainer)||void 0===e||e.previous(),setTimeout((()=>{this.displayedLevels.pop(),this.slideOut=void 0}),300)),this.lastLevelHasHiddenvalues=null!==(n=null===(r=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(".ft-filter--levels ft-filter-level:last-child"))||void 0===r?void 0:r.hasHiddenValues)&&void 0!==n&&n}renderLevels(){const t=this.flatOptions,o=t.filter((t=>t.selected)),e=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,i=e<0?"ft-filter--level-center":"ft-filter--level-left";return ao`
1588
- ${this.raiseSelectedOptions&&o.length>0?ao`
1587
+ `}update(t){if(super.update(t),t.has("options")){const t=new Set(this.flatOptions.map((t=>t.value)));this.displayedLevels=this.displayedLevels.filter((e=>t.has(e))),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(t){var e,o,i,r,n;super.contentAvailableCallback(t),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),t.has("options")&&(this.updateScroll(),null===(e=this.levelsContainer)||void 0===e||e.scrollToIndex(this.displayedLevels.length)),t.has("slideIn")&&this.slideIn&&setTimeout((()=>{var t;null===(t=this.levelsContainer)||void 0===t||t.next(),this.slideIn=void 0}),0),t.has("slideOut")&&this.slideOut&&(null===(o=this.levelsContainer)||void 0===o||o.previous(),setTimeout((()=>{this.displayedLevels.pop(),this.slideOut=void 0}),300)),this.lastLevelHasHiddenvalues=null!==(n=null===(r=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(".ft-filter--levels ft-filter-level:last-child"))||void 0===r?void 0:r.hasHiddenValues)&&void 0!==n&&n}renderLevels(){const t=this.flatOptions,e=t.filter((t=>t.selected)),o=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,i=o<0?"ft-filter--level-center":"ft-filter--level-left";return ae`
1588
+ ${this.raiseSelectedOptions&&e.length>0?ae`
1589
1589
  <ft-filter-level
1590
1590
  filterId="${this.id}"
1591
1591
  ?multivalued=${this.multivalued}
1592
1592
  ?disabled=${this.disabled}
1593
1593
  preventNavigation
1594
- .options=${o}
1594
+ .options=${e}
1595
1595
  @change=${this.onChange}
1596
1596
  part="values selected-values"
1597
1597
  .exportpartsPrefixes=${["values","selected-values"]}
@@ -1602,9 +1602,9 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1602
1602
  class="ft-filter--levels"
1603
1603
  @current-element-change=${t=>this.levelsScrollDebouncer.run((()=>{for(;t.detail.index<this.displayedLevels.length;)this.displayedLevels.pop();this.requestUpdate()}))}>
1604
1604
  ${this.renderLevel(i,this.options)}
1605
- ${this.displayedLevels.map((o=>t.find((t=>t.value===o)))).map(((t,o)=>{var i;const r=(null==t?void 0:t.value)===this.slideIn||(null==t?void 0:t.value)===this.slideOut?"ft-filter--level-right":o===e?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(r,null!==(i=null==t?void 0:t.subOptions)&&void 0!==i?i:[],t)}))}
1605
+ ${this.displayedLevels.map((e=>t.find((t=>t.value===e)))).map(((t,e)=>{var i;const r=(null==t?void 0:t.value)===this.slideIn||(null==t?void 0:t.value)===this.slideOut?"ft-filter--level-right":e===o?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(r,null!==(i=null==t?void 0:t.subOptions)&&void 0!==i?i:[],t)}))}
1606
1606
  </ft-snap-scroll>
1607
- `}renderLevel(t,o,e){return ao`
1607
+ `}renderLevel(t,e,o){return ae`
1608
1608
  <ft-filter-level
1609
1609
  class="${t}"
1610
1610
  filterId="${this.id}"
@@ -1613,8 +1613,8 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1613
1613
  ?multivalued=${this.multivalued}
1614
1614
  ?disabled=${this.disabled||"ft-filter--level-center"!==t}
1615
1615
  ?hideSelectedOptions=${this.raiseSelectedOptions}
1616
- .parent=${e}
1617
- .options=${o}
1616
+ .parent=${o}
1617
+ .options=${e}
1618
1618
  .displayedValuesLimit=${this.displayedValuesLimit}
1619
1619
  @change=${this.onChange}
1620
1620
  @go-back=${this.goBack}
@@ -1623,6 +1623,6 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1623
1623
  .exportpartsPrefixes=${["values","available-values"]}
1624
1624
  noValuesLabel="${this.noValuesLabel}"
1625
1625
  ></ft-filter-level>
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`
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 e;t.stopPropagation();const o=this.flatOptions.find((e=>e.value===t.detail.value));o.selected=!o.selected;const i=t=>{var e;t!==o&&(t.selected=!1),null===(e=t.subOptions)||void 0===e||e.forEach(i)};this.multivalued?null===(e=o.subOptions)||void 0===e||e.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 Qn(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,e;this.filter=null!==(e=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==e?e:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}ta.elementDefinitions={"ft-button":mn,"ft-filter-level":jn,"ft-snap-scroll":Yn,"ft-typography":ui},ta.styles=qn,Xn([N({type:String})],ta.prototype,"id",void 0),Xn([N({type:String})],ta.prototype,"label",void 0),Xn([N({type:String})],ta.prototype,"filterPlaceHolder",void 0),Xn([N({type:String})],ta.prototype,"clearButtonLabel",void 0),Xn([N({type:String})],ta.prototype,"moreValuesButtonLabel",void 0),Xn([N({type:String})],ta.prototype,"noValuesLabel",void 0),Xn([W([])],ta.prototype,"options",void 0),Xn([N({type:Boolean})],ta.prototype,"multivalued",void 0),Xn([N({type:Boolean})],ta.prototype,"disabled",void 0),Xn([N({type:Boolean})],ta.prototype,"raiseSelectedOptions",void 0),Xn([N({type:Number})],ta.prototype,"displayedValuesLimit",void 0),Xn([N({type:Boolean})],ta.prototype,"hideClearButton",void 0),Xn([k(".ft-filter--slot")],ta.prototype,"slotElement",void 0),Xn([k(".ft-filter--container")],ta.prototype,"container",void 0),Xn([k(".ft-filter--values")],ta.prototype,"valuesContainer",void 0),Xn([k(".ft-filter--levels")],ta.prototype,"levelsContainer",void 0),Xn([$()],ta.prototype,"lastLevelHasHiddenvalues",void 0),Xn([k(".ft-filter--filter input")],ta.prototype,"filterInput",void 0),Xn([function(t){return(e,o)=>C(0,0,{get(){return(this.renderRoot??(R??=document.createDocumentFragment())).querySelectorAll(t)}})}(".ft-filter--levels ft-filter-level")],ta.prototype,"levels",void 0),Xn([$()],ta.prototype,"withScroll",void 0),Xn([$()],ta.prototype,"filter",void 0),Xn([$()],ta.prototype,"slideIn",void 0),Xn([$()],ta.prototype,"slideOut",void 0);var ea=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class oa extends Ae{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return ae`
1627
1627
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
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}({});
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}))}}oa.elementDefinitions={},ea([N({type:String})],oa.prototype,"label",void 0),ea([N({type:Object,converter:t=>t})],oa.prototype,"value",void 0),ea([N({type:Boolean,reflect:!0})],oa.prototype,"selected",void 0),ea([N({type:Object})],oa.prototype,"subOptions",void 0),ea([W({})],oa.prototype,"renderOption",void 0),ea([k(".ft-filter-option--slot")],oa.prototype,"slotElement",void 0),L("ft-filter")(ta),L("ft-filter-option")(oa),t.FtFilter=ta,t.FtFilterChangeEvent=Qn,t.FtFilterCssVariables=Jn,t.FtFilterLevelCssVariables=Mn,t.FtFilterOption=oa,t.levelStyles=Pn,t.styles=qn}({});