@fluid-topics/ft-filter 1.1.40 → 1.1.42

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,86 +12,135 @@
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||[]);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 p=e.call(i,t);p||(p=f(t),o.call(i,t,p)),this===window.customElements&&(a.set(r,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let i=this._awaitingUpgrade.get(o);i||this._awaitingUpgrade.set(o,i=new Set),e?i.add(t):i.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),r.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const i=p(e)||window.customElements,r=i._getDefinition(o);return r?u(e,r):n.set(e,i),e}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(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(mn){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,r=window.customElements,i=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,i){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(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,l=new Set(i.observedAttributes||[]);h(i,l,s);const c={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(i,c);let f=o.call(r,t);f||(f=p(t),e.call(r,t,f)),this===window.customElements&&(a.set(i,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(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),r.upgrade.apply(r,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 r=this._awaitingUpgrade.get(e);r||this._awaitingUpgrade.set(e,r=new Set),o?r.add(t):r.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),i.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 r=f(o)||window.customElements,i=r._getDefinition(e);return i?u(o,i):n.set(o,r),o}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,e,o)=>{if(0===e.size||void 0===o)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);r.call(this,n,i),o.call(this,n,t,i)}else r.call(this,n,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);i.call(this,r),o.call(this,r,t,null)}else i.call(this,r)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const e=this.getAttribute(i);o.call(this,i,t,e)}else n.call(this,i,r)})},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),i.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 r=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=r.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 r=e.call(this,...o);return t.set(r,this),r},o.forEach((e=>{const o=window.ElementInternals.prototype,r=o[e];o[e]=function(...e){const o=t.get(this);if(!0===i.get(o).formAssociated)return r?.call(this,...e);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r 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 r=t.getAttribute("name"),i=e.get(r)||[];this[+o]=t,i.push(t),e.set(r,i)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new r(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=i.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(Qa){const t=window.customElements.define;window.customElements.define=(e,o,r)=>{if(null!==o)try{t.bind(window.customElements)(e,o,r)}catch(t){console.info(e,o,r,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,r=Symbol(),i=new WeakMap;const n=t=>new class{constructor(t,e,o){if(this._$cssResult$=!0,o!==r)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=i.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&i.set(e,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,r),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:p,getOwnPropertyNames:f,getOwnPropertySymbols:h,getPrototypeOf:d}=Object,u=globalThis,y=u.trustedTypes,g=y?y.emptyScript:"",b=u.reactiveElementPolyfillSupport,m=(t,o)=>t,x={toAttribute(t,o){switch(o){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},v=(t,o)=>!l(t,o),O={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;let S=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=O){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),i=this.getPropertyDescriptor(t,e,o);void 0!==i&&c(this.prototype,t,i)}}static getPropertyDescriptor(t,o,e){const{get:i,set:r}=p(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return i?.call(this)},set(o){const n=i?.call(this);r.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??O}static _$Ei(){if(this.hasOwnProperty(m("elementProperties")))return;const t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(m("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(m("properties"))){const t=this.properties,o=[...f(t),...h(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}},v=(t,e)=>!s(t,e),x={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v};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=x){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),r=this.getPropertyDescriptor(t,o,e);void 0!==r&&l(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:i}=c(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return r?.call(this)},set(e){const n=r?.call(this);i.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??x}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,r)=>{if(o)t.adoptedStyleSheets=r.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of r){const r=document.createElement("style"),i=e.litNonce;void 0!==i&&r.setAttribute("nonce",i),r.textContent=o.cssText,t.appendChild(r)}})(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),r=this.constructor._$Eu(t,o);if(void 0!==r&&!0===o.reflect){const i=(void 0!==o.converter?.toAttribute?o.converter:m).toAttribute(e,o.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){const o=this.constructor,r=o._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=o.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:m;this._$Em=r,this[r]=i.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,r=!1,i){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??v)(r?i: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 w={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v},N=(t=w,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?N(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=globalThis,S=w.trustedTypes,N=S?S.createPolicy("lit-html",{createHTML:t=>t}):void 0,C="$lit$",$=`lit$${(Math.random()+"").slice(9)}$`,k="?"+$,E=`<${k}>`,R=document,I=()=>R.createComment(""),L=t=>null===t||"object"!=typeof t&&"function"!=typeof t,U=Array.isArray,W=t=>U(t)||"function"==typeof t?.[Symbol.iterator],F="[ \t\n\f\r]",z=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,A=/-->/g,j=/>/g,B=RegExp(`>|${F}(?:([^\\s"'>=/]+)(${F}*=${F}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),_=/'/g,D=/"/g,M=/^(?:script|style|textarea|title)$/i,K=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),P=Symbol.for("lit-noChange"),Z=Symbol.for("lit-nothing"),H=new WeakMap,T=R.createTreeWalker(R,129);function V(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==N?N.createHTML(e):e}const G=(t,e)=>{const o=t.length-1,r=[];let i,n=2===e?"<svg>":"",a=z;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===z?"!--"===l[1]?a=A:void 0!==l[1]?a=j:void 0!==l[2]?(M.test(l[2])&&(i=RegExp("</"+l[2],"g")),a=B):void 0!==l[3]&&(a=B):a===B?">"===l[0]?(a=i??z,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?B:'"'===l[3]?D:_):a===D||a===_?a=B:a===A||a===j?a=z:(a=B,i=void 0);const p=a===B&&t[e+1].startsWith("/>")?" ":"";n+=a===z?o+E:c>=0?(r.push(s),o.slice(0,c)+C+o.slice(c)+$+p):o+$+(-2===c?e:p)}return[V(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),r]};let q=class t{constructor({strings:e,_$litType$:o},r){let i;this.parts=[];let n=0,a=0;const s=e.length-1,l=this.parts,[c,f]=G(e,o);if(this.el=t.createElement(c,r),T.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=T.nextNode())&&l.length<s;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(C)){const e=f[a++],o=i.getAttribute(t).split($),r=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:r[2],strings:o,ctor:"."===r[1]?tt:"?"===r[1]?et:"@"===r[1]?ot:Q}),i.removeAttribute(t)}else t.startsWith($)&&(l.push({type:6,index:n}),i.removeAttribute(t));if(M.test(i.tagName)){const t=i.textContent.split($),e=t.length-1;if(e>0){i.textContent=S?S.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],I()),T.nextNode(),l.push({type:2,index:++n});i.append(t[e],I())}}}else if(8===i.nodeType)if(i.data===k)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf($,t+1));)l.push({type:7,index:n}),t+=$.length-1}n++}}static createElement(t,e){const o=R.createElement("template");return o.innerHTML=t,o}};function Y(t,e,o=t,r){if(e===P)return e;let i=void 0!==r?o._$Co?.[r]:o._$Cl;const n=L(e)?void 0:e._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,o,r)),void 0!==r?(o._$Co??=[])[r]=i:o._$Cl=i),void 0!==i&&(e=Y(t,i._$AS(t,e.values),i,r)),e}let J=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,r=(t?.creationScope??R).importNode(e,!0);T.currentNode=r;let i=T.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new X(i,i.nextSibling,this,t):1===s.type?e=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(e=new rt(i,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(i=T.nextNode(),n++)}return T.currentNode=R,r}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++}},X=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=Z,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.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=Y(this,t,e),L(t)?t===Z||null==t||""===t?(this._$AH!==Z&&this._$AR(),this._$AH=Z):t!==this._$AH&&t!==P&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):W(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!==Z&&L(this._$AH)?this._$AA.nextSibling.data=t:this.$(R.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=q.createElement(V(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new J(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=H.get(t.strings);return void 0===e&&H.set(t.strings,e=new q(t)),e}T(e){U(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,i=0;for(const n of e)i===o.length?o.push(r=new t(this.k(I()),this.k(I()),this,this.options)):r=o[i],r._$AI(n),i++;i<o.length&&(this._$AR(r&&r._$AB.nextSibling,i),o.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))}},Q=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=Z,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=Z}_$AI(t,e=this,o,r){const i=this.strings;let n=!1;if(void 0===i)t=Y(this,t,e,0),n=!L(t)||t!==this._$AH&&t!==P,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=Y(this,r[o+a],e,a),s===P&&(s=this._$AH[a]),n||=!L(s)||s!==this._$AH[a],s===Z?t=Z:t!==Z&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===Z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},tt=class extends Q{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Z?void 0:t}},et=class extends Q{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Z)}},ot=class extends Q{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=Y(this,t,e,0)??Z)===P)return;const o=this._$AH,r=t===Z&&o!==Z||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==Z&&(o===Z||r);r&&this.element.removeEventListener(this.name,this,o),i&&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)}},rt=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){Y(this,t)}};const it={j:C,P:$,A:k,C:1,M:G,L:J,R:W,V:Y,D:X,I:Q,H:et,N:ot,U:tt,B:rt},nt=w.litHtmlPolyfillSupport;nt?.(q,X),(w.litHtmlVersions??=[]).push("3.1.0");
32
+ /**
33
+ * @license
34
+ * Copyright 2019 Google LLC
35
+ * SPDX-License-Identifier: BSD-3-Clause
36
+ */
37
+ const at=globalThis,st=at.ShadowRoot&&(void 0===at.ShadyCSS||at.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,lt=Symbol(),ct=new WeakMap;let ft=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==lt)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(st&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=ct.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&ct.set(e,t))}return t}toString(){return this.cssText}};const pt=t=>new ft("string"==typeof t?t:t+"",void 0,lt),ht=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,r)=>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[r+1]),t[0]);return new ft(o,t,lt)},dt=(t,e)=>{if(st)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),r=at.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}},ut=st?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return pt(e)})(t):t
32
38
  /**
33
39
  * @license
34
40
  * Copyright 2017 Google LLC
35
41
  * SPDX-License-Identifier: BSD-3-Clause
36
- */}function C(t){return $({...t,state:!0,attribute:!1})}
42
+ */,{is:yt,defineProperty:gt,getOwnPropertyDescriptor:bt,getOwnPropertyNames:mt,getOwnPropertySymbols:vt,getPrototypeOf:xt}=Object,Ot=globalThis,wt=Ot.trustedTypes,St=wt?wt.emptyScript:"",Nt=Ot.reactiveElementPolyfillSupport,Ct=(t,e)=>t,$t={toAttribute(t,e){switch(e){case Boolean:t=t?St: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}},kt=(t,e)=>!yt(t,e),Et={attribute:!0,type:String,converter:$t,reflect:!1,hasChanged:kt};Symbol.metadata??=Symbol("metadata"),Ot.litPropertyMetadata??=new WeakMap;let Rt=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=Et){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),r=this.getPropertyDescriptor(t,o,e);void 0!==r&&gt(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:i}=bt(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return r?.call(this)},set(e){const n=r?.call(this);i.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Et}static _$Ei(){if(this.hasOwnProperty(Ct("elementProperties")))return;const t=xt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ct("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ct("properties"))){const t=this.properties,e=[...mt(t),...vt(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(ut(t))}else void 0!==t&&e.push(ut(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 dt(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),r=this.constructor._$Eu(t,o);if(void 0!==r&&!0===o.reflect){const i=(void 0!==o.converter?.toAttribute?o.converter:$t).toAttribute(e,o.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){const o=this.constructor,r=o._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=o.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:$t;this._$Em=r,this[r]=i.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,r=!1,i){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??kt)(r?i: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){}};Rt.elementStyles=[],Rt.shadowRootOptions={mode:"open"},Rt[Ct("elementProperties")]=new Map,Rt[Ct("finalized")]=new Map,Nt?.({ReactiveElement:Rt}),(Ot.reactiveElementVersions??=[]).push("2.0.2");
37
43
  /**
38
44
  * @license
39
45
  * Copyright 2017 Google LLC
40
46
  * SPDX-License-Identifier: BSD-3-Clause
41
- */function k(t){return(o,e)=>{const i="function"==typeof o?o:o[e];Object.assign(i,t)}}
47
+ */
48
+ const It=globalThis,Lt=It.trustedTypes,Ut=Lt?Lt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Wt="$lit$",Ft=`lit$${(Math.random()+"").slice(9)}$`,zt="?"+Ft,At=`<${zt}>`,jt=document,Bt=()=>jt.createComment(""),_t=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Dt=Array.isArray,Mt=t=>Dt(t)||"function"==typeof t?.[Symbol.iterator],Kt="[ \t\n\f\r]",Pt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Zt=/-->/g,Ht=/>/g,Tt=RegExp(`>|${Kt}(?:([^\\s"'>=/]+)(${Kt}*=${Kt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Vt=/'/g,Gt=/"/g,qt=/^(?:script|style|textarea|title)$/i,Yt=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),Jt=Yt(1),Xt=Yt(2),Qt=Symbol.for("lit-noChange"),te=Symbol.for("lit-nothing"),ee=new WeakMap,oe=jt.createTreeWalker(jt,129);function re(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ut?Ut.createHTML(e):e}const ie=(t,e)=>{const o=t.length-1,r=[];let i,n=2===e?"<svg>":"",a=Pt;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===Pt?"!--"===l[1]?a=Zt:void 0!==l[1]?a=Ht:void 0!==l[2]?(qt.test(l[2])&&(i=RegExp("</"+l[2],"g")),a=Tt):void 0!==l[3]&&(a=Tt):a===Tt?">"===l[0]?(a=i??Pt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?Tt:'"'===l[3]?Gt:Vt):a===Gt||a===Vt?a=Tt:a===Zt||a===Ht?a=Pt:(a=Tt,i=void 0);const p=a===Tt&&t[e+1].startsWith("/>")?" ":"";n+=a===Pt?o+At:c>=0?(r.push(s),o.slice(0,c)+Wt+o.slice(c)+Ft+p):o+Ft+(-2===c?e:p)}return[re(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),r]};class ne{constructor({strings:t,_$litType$:e},o){let r;this.parts=[];let i=0,n=0;const a=t.length-1,s=this.parts,[l,c]=ie(t,e);if(this.el=ne.createElement(l,o),oe.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=oe.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Wt)){const e=c[n++],o=r.getAttribute(t).split(Ft),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:i,name:a[2],strings:o,ctor:"."===a[1]?fe:"?"===a[1]?pe:"@"===a[1]?he:ce}),r.removeAttribute(t)}else t.startsWith(Ft)&&(s.push({type:6,index:i}),r.removeAttribute(t));if(qt.test(r.tagName)){const t=r.textContent.split(Ft),e=t.length-1;if(e>0){r.textContent=Lt?Lt.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],Bt()),oe.nextNode(),s.push({type:2,index:++i});r.append(t[e],Bt())}}}else if(8===r.nodeType)if(r.data===zt)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(Ft,t+1));)s.push({type:7,index:i}),t+=Ft.length-1}i++}}static createElement(t,e){const o=jt.createElement("template");return o.innerHTML=t,o}}function ae(t,e,o=t,r){if(e===Qt)return e;let i=void 0!==r?o._$Co?.[r]:o._$Cl;const n=_t(e)?void 0:e._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,o,r)),void 0!==r?(o._$Co??=[])[r]=i:o._$Cl=i),void 0!==i&&(e=ae(t,i._$AS(t,e.values),i,r)),e}let se=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,r=(t?.creationScope??jt).importNode(e,!0);oe.currentNode=r;let i=oe.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new le(i,i.nextSibling,this,t):1===s.type?e=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(e=new de(i,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(i=oe.nextNode(),n++)}return oe.currentNode=jt,r}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++}},le=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=te,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.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=ae(this,t,e),_t(t)?t===te||null==t||""===t?(this._$AH!==te&&this._$AR(),this._$AH=te):t!==this._$AH&&t!==Qt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):Mt(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!==te&&_t(this._$AH)?this._$AA.nextSibling.data=t:this.$(jt.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=ne.createElement(re(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new se(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=ee.get(t.strings);return void 0===e&&ee.set(t.strings,e=new ne(t)),e}T(e){Dt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,i=0;for(const n of e)i===o.length?o.push(r=new t(this.k(Bt()),this.k(Bt()),this,this.options)):r=o[i],r._$AI(n),i++;i<o.length&&(this._$AR(r&&r._$AB.nextSibling,i),o.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))}},ce=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=te,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=te}_$AI(t,e=this,o,r){const i=this.strings;let n=!1;if(void 0===i)t=ae(this,t,e,0),n=!_t(t)||t!==this._$AH&&t!==Qt,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=ae(this,r[o+a],e,a),s===Qt&&(s=this._$AH[a]),n||=!_t(s)||s!==this._$AH[a],s===te?t=te:t!==te&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===te?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},fe=class extends ce{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===te?void 0:t}},pe=class extends ce{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==te)}},he=class extends ce{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=ae(this,t,e,0)??te)===Qt)return;const o=this._$AH,r=t===te&&o!==te||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==te&&(o===te||r);r&&this.element.removeEventListener(this.name,this,o),i&&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)}},de=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){ae(this,t)}};const ue={j:Wt,P:Ft,A:zt,C:1,M:ie,L:se,R:Mt,V:ae,D:le,I:ce,H:pe,N:he,U:fe,B:de},ye=It.litHtmlPolyfillSupport;ye?.(ne,le),(It.litHtmlVersions??=[]).push("3.1.0");const ge=(t,e,o)=>{const r=o?.renderBefore??e;let i=r._$litPart$;if(void 0===i){const t=o?.renderBefore??null;r._$litPart$=i=new le(e.insertBefore(Bt(),t),t,void 0,o??{})}return i._$AI(t),i
42
49
  /**
43
50
  * @license
44
51
  * Copyright 2017 Google LLC
45
52
  * SPDX-License-Identifier: BSD-3-Clause
46
- */const E=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
53
+ */};let be=class extends Rt{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=ge(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Qt}};be._$litElement$=!0,be.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:be});const me=globalThis.litElementPolyfillSupport;me?.({LitElement:be});(globalThis.litElementVersions??=[]).push("4.0.2");var ve=Object.freeze({__proto__:null,CSSResult:ft,LitElement:be,ReactiveElement:Rt,_$LE:{_$AK:(t,e,o)=>{t._$AK(e,o)},_$AL:t=>t._$AL},_$LH:ue,adoptStyles:dt,css:ht,defaultConverter:$t,getCompatibleStyle:ut,html:Jt,isServer:!1,noChange:Qt,notEqual:kt,nothing:te,render:ge,supportsAdoptingStyleSheets:st,svg:Xt,unsafeCSS:pt});
47
54
  /**
48
55
  * @license
49
56
  * Copyright 2017 Google LLC
50
57
  * SPDX-License-Identifier: BSD-3-Clause
51
- */;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 E(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 E(0,0,{get(){return n(this)}})}}
58
+ */const xe={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v},Oe=(t=xe,e,o)=>{const{kind:r,metadata:i}=o;let n=globalThis.litPropertyMetadata.get(i);if(void 0===n&&globalThis.litPropertyMetadata.set(i,n=new Map),n.set(o.name,t),"accessor"===r){const{name:r}=o;return{set(o){const i=e.get.call(this);e.set.call(this,o),this.requestUpdate(r,i,t)},init(e){return void 0!==e&&this.C(r,void 0,t),e}}}if("setter"===r){const{name:r}=o;return function(o){const i=this[r];e.call(this,o),this.requestUpdate(r,i,t)}}throw Error("Unsupported decorator location: "+r)};
52
59
  /**
53
60
  * @license
54
61
  * Copyright 2017 Google LLC
55
62
  * SPDX-License-Identifier: BSD-3-Clause
56
- */let U;function I(t,o){return t.flatMap((t=>[t,...I(o(t),o)]))}function W(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(!W(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(!W(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(!W(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 z(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)=>!W(t,o),...null!=o?o:{}})}
63
+ */function we(t){return(e,o)=>"object"==typeof o?Oe(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)
57
64
  /**
58
65
  * @license
59
66
  * Copyright 2017 Google LLC
60
67
  * SPDX-License-Identifier: BSD-3-Clause
61
- */const K=globalThis,F=K.trustedTypes,D=F?F.createPolicy("lit-html",{createHTML:t=>t}):void 0,Z="$lit$",B=`lit$${(Math.random()+"").slice(9)}$`,A="?"+B,M=`<${A}>`,H=document,P=()=>H.createComment(""),j=t=>null===t||"object"!=typeof t&&"function"!=typeof t,T=Array.isArray,_=t=>T(t)||"function"==typeof t?.[Symbol.iterator],G="[ \t\n\f\r]",V=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Y=/-->/g,J=/>/g,q=RegExp(`>|${G}(?:([^\\s"'>=/]+)(${G}*=${G}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),X=/'/g,Q=/"/g,tt=/^(?:script|style|textarea|title)$/i,ot=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),et=Symbol.for("lit-noChange"),it=Symbol.for("lit-nothing"),rt=new WeakMap,nt=H.createTreeWalker(H,129);function at(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==D?D.createHTML(o):o}const st=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=V;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,l=a.exec(e),null!==l);)p=a.lastIndex,a===V?"!--"===l[1]?a=Y:void 0!==l[1]?a=J:void 0!==l[2]?(tt.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=q):void 0!==l[3]&&(a=q):a===q?">"===l[0]?(a=r??V,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?q:'"'===l[3]?Q:X):a===Q||a===X?a=q:a===Y||a===J?a=V:(a=q,r=void 0);const f=a===q&&t[o+1].startsWith("/>")?" ":"";n+=a===V?e+M:c>=0?(i.push(s),e.slice(0,c)+Z+e.slice(c)+B+f):e+B+(-2===c?o:f)}return[at(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};let lt=class t{constructor({strings:o,_$litType$:e},i){let r;this.parts=[];let n=0,a=0;const s=o.length-1,l=this.parts,[c,p]=st(o,e);if(this.el=t.createElement(c,i),nt.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=nt.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Z)){const o=p[a++],e=r.getAttribute(t).split(B),i=/([.?@])?(.*)/.exec(o);l.push({type:1,index:n,name:i[2],strings:e,ctor:"."===i[1]?dt:"?"===i[1]?ut:"@"===i[1]?yt:ht}),r.removeAttribute(t)}else t.startsWith(B)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(tt.test(r.tagName)){const t=r.textContent.split(B),o=t.length-1;if(o>0){r.textContent=F?F.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],P()),nt.nextNode(),l.push({type:2,index:++n});r.append(t[o],P())}}}else if(8===r.nodeType)if(r.data===A)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(B,t+1));)l.push({type:7,index:n}),t+=B.length-1}n++}}static createElement(t,o){const e=H.createElement("template");return e.innerHTML=t,e}};function ct(t,o,e=t,i){if(o===et)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=j(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=ct(t,r._$AS(t,o.values),r,i)),o}let pt=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??H).importNode(o,!0);nt.currentNode=i;let r=nt.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new ft(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new gt(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=nt.nextNode(),n++)}return nt.currentNode=H,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++}},ft=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=it,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=ct(this,t,o),j(t)?t===it||null==t||""===t?(this._$AH!==it&&this._$AR(),this._$AH=it):t!==this._$AH&&t!==et&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(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!==it&&j(this._$AH)?this._$AA.nextSibling.data=t:this.$(H.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=lt.createElement(at(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new pt(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=rt.get(t.strings);return void 0===o&&rt.set(t.strings,o=new lt(t)),o}T(o){T(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const n of o)r===e.length?e.push(i=new t(this.k(P()),this.k(P()),this,this.options)):i=e[r],i._$AI(n),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},ht=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=it,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=it}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=ct(this,t,o,0),n=!j(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=ct(this,i[e+a],o,a),s===et&&(s=this._$AH[a]),n||=!j(s)||s!==this._$AH[a],s===it?t=it:t!==it&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===it?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},dt=class extends ht{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===it?void 0:t}},ut=class extends ht{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==it)}},yt=class extends ht{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=ct(this,t,o,0)??it)===et)return;const e=this._$AH,i=t===it&&e!==it||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==it&&(e===it||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)}},gt=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){ct(this,t)}};const bt={j:Z,P:B,A,C:1,M:st,L:pt,R:_,V:ct,D:ft,I:ht,H:ut,N:yt,U:dt,B:gt},mt=K.litHtmlPolyfillSupport;mt?.(lt,ft),(K.litHtmlVersions??=[]).push("3.1.0");
68
+ */}function Se(t){return we({...t,state:!0,attribute:!1})}
62
69
  /**
63
70
  * @license
64
- * Copyright 2019 Google LLC
71
+ * Copyright 2017 Google LLC
65
72
  * SPDX-License-Identifier: BSD-3-Clause
66
- */
67
- const xt=globalThis,vt=xt.ShadowRoot&&(void 0===xt.ShadyCSS||xt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ot=Symbol(),St=new WeakMap;let wt=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==Ot)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(vt&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=St.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&St.set(o,t))}return t}toString(){return this.cssText}};const Nt=t=>new wt("string"==typeof t?t:t+"",void 0,Ot),$t=(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 wt(e,t,Ot)},Ct=vt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return Nt(o)})(t):t
73
+ */function Ne(t){return(e,o)=>{const r="function"==typeof e?e:e[o];Object.assign(r,t)}}
68
74
  /**
69
75
  * @license
70
76
  * Copyright 2017 Google LLC
71
77
  * SPDX-License-Identifier: BSD-3-Clause
72
- */,{is:kt,defineProperty:Et,getOwnPropertyDescriptor:Rt,getOwnPropertyNames:Ut,getOwnPropertySymbols:It,getPrototypeOf:Wt}=Object,Lt=globalThis,zt=Lt.trustedTypes,Kt=zt?zt.emptyScript:"",Ft=Lt.reactiveElementPolyfillSupport,Dt=(t,o)=>t,Zt={toAttribute(t,o){switch(o){case Boolean:t=t?Kt: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}},Bt=(t,o)=>!kt(t,o),At={attribute:!0,type:String,converter:Zt,reflect:!1,hasChanged:Bt};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=At){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&&Et(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)??At}static _$Ei(){if(this.hasOwnProperty(Dt("elementProperties")))return;const t=Wt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Dt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Dt("properties"))){const t=this.properties,o=[...Ut(t),...It(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(Ct(t))}else void 0!==t&&o.push(Ct(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(vt)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),i=xt.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:Zt).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:Zt;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??Bt)(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[Dt("elementProperties")]=new Map,Mt[Dt("finalized")]=new Map,Ft?.({ReactiveElement:Mt}),(Lt.reactiveElementVersions??=[]).push("2.0.2");
78
+ */const Ce=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
73
79
  /**
74
80
  * @license
75
81
  * Copyright 2017 Google LLC
76
82
  * SPDX-License-Identifier: BSD-3-Clause
77
- */
78
- const Ht=globalThis,Pt=Ht.trustedTypes,jt=Pt?Pt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Tt="$lit$",_t=`lit$${(Math.random()+"").slice(9)}$`,Gt="?"+_t,Vt=`<${Gt}>`,Yt=document,Jt=()=>Yt.createComment(""),qt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Xt=Array.isArray,Qt="[ \t\n\f\r]",to=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,oo=/-->/g,eo=/>/g,io=RegExp(`>|${Qt}(?:([^\\s"'>=/]+)(${Qt}*=${Qt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),ro=/'/g,no=/"/g,ao=/^(?:script|style|textarea|title)$/i,so=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),lo=Symbol.for("lit-noChange"),co=Symbol.for("lit-nothing"),po=new WeakMap,fo=Yt.createTreeWalker(Yt,129);function ho(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==jt?jt.createHTML(o):o}const uo=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=to;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,l=a.exec(e),null!==l);)p=a.lastIndex,a===to?"!--"===l[1]?a=oo:void 0!==l[1]?a=eo:void 0!==l[2]?(ao.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=io):void 0!==l[3]&&(a=io):a===io?">"===l[0]?(a=r??to,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?io:'"'===l[3]?no:ro):a===no||a===ro?a=io:a===oo||a===eo?a=to:(a=io,r=void 0);const f=a===io&&t[o+1].startsWith("/>")?" ":"";n+=a===to?e+Vt:c>=0?(i.push(s),e.slice(0,c)+Tt+e.slice(c)+_t+f):e+_t+(-2===c?o:f)}return[ho(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class yo{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]=uo(t,o);if(this.el=yo.createElement(l,e),fo.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=fo.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Tt)){const o=c[n++],e=i.getAttribute(t).split(_t),a=/([.?@])?(.*)/.exec(o);s.push({type:1,index:r,name:a[2],strings:e,ctor:"."===a[1]?xo:"?"===a[1]?vo:"@"===a[1]?Oo:mo}),i.removeAttribute(t)}else t.startsWith(_t)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(ao.test(i.tagName)){const t=i.textContent.split(_t),o=t.length-1;if(o>0){i.textContent=Pt?Pt.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],Jt()),fo.nextNode(),s.push({type:2,index:++r});i.append(t[o],Jt())}}}else if(8===i.nodeType)if(i.data===Gt)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(_t,t+1));)s.push({type:7,index:r}),t+=_t.length-1}r++}}static createElement(t,o){const e=Yt.createElement("template");return e.innerHTML=t,e}}function go(t,o,e=t,i){if(o===lo)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=qt(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=go(t,r._$AS(t,o.values),r,i)),o}class bo{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=co,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=go(this,t,o),qt(t)?t===co||null==t||""===t?(this._$AH!==co&&this._$AR(),this._$AH=co):t!==this._$AH&&t!==lo&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Xt(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!==co&&qt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Yt.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=yo.createElement(ho(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??Yt).importNode(o,!0);fo.currentNode=i;let r=fo.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new bo(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new So(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=fo.nextNode(),n++)}return fo.currentNode=Yt,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=po.get(t.strings);return void 0===o&&po.set(t.strings,o=new yo(t)),o}T(t){Xt(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 bo(this.k(Jt()),this.k(Jt()),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 mo{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=co,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=co}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=go(this,t,o,0),n=!qt(t)||t!==this._$AH&&t!==lo,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=go(this,i[e+a],o,a),s===lo&&(s=this._$AH[a]),n||=!qt(s)||s!==this._$AH[a],s===co?t=co:t!==co&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===co?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class xo extends mo{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===co?void 0:t}}class vo extends mo{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==co)}}class Oo extends mo{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=go(this,t,o,0)??co)===lo)return;const e=this._$AH,i=t===co&&e!==co||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==co&&(e===co||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 So{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){go(this,t)}}const wo=Ht.litHtmlPolyfillSupport;wo?.(yo,bo),(Ht.litHtmlVersions??=[]).push("3.1.0");
83
+ */;function $e(t,e){return(o,r,i)=>{const n=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof r?o:i??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return Ce(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 Ce(0,0,{get(){return n(this)}})}}
79
84
  /**
80
85
  * @license
81
86
  * Copyright 2017 Google LLC
82
87
  * SPDX-License-Identifier: BSD-3-Clause
88
+ */let ke;function Ee(t){return(e,o)=>Ce(0,0,{get(){return(this.renderRoot??(ke??=document.createDocumentFragment())).querySelectorAll(t)}})
89
+ /**
90
+ * @license
91
+ * Copyright 2017 Google LLC
92
+ * SPDX-License-Identifier: BSD-3-Clause
93
+ */}
94
+ /**
95
+ * @license
96
+ * Copyright 2021 Google LLC
97
+ * SPDX-License-Identifier: BSD-3-Clause
83
98
  */
84
- 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 bo(o.insertBefore(Jt(),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 lo}};No._$litElement$=!0,No.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:No});const $o=globalThis.litElementPolyfillSupport;$o?.({LitElement:No}),(globalThis.litElementVersions??=[]).push("4.0.2");const Co=t=>"string"==typeof t?Nt(t):t;class ko{static create(t,o,e,i){const r=t=>Co(null!=t?t:i),n=$t`var(${Co(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>$t`var(${Co(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=$t`var(${Co(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=>$t`var(${Co(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):Co(null!=o?o:t.lastResortDefaultValue()),i=$t`var(${Co(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=>$t`var(${Co(t.name)}, ${e(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function Eo(t,o){return Co(`${t.name}: ${o}`)}const Ro={colorWhite:ko.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:ko.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:ko.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:ko.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:ko.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:ko.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:ko.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:ko.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:ko.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:ko.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:ko.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:ko.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:ko.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:ko.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:ko.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:ko.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:ko.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:ko.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:ko.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:ko.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:ko.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:ko.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:ko.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:ko.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:ko.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:ko.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:ko.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:ko.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:ko.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:ko.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:ko.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:ko.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:ko.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:ko.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:ko.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:ko.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:ko.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:ko.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:ko.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:ko.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:ko.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:ko.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:ko.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:ko.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:ko.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:ko.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:ko.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:ko.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:ko.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:ko.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:ko.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:ko.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:ko.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:ko.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:ko.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:ko.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:ko.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:ko.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:ko.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:ko.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:ko.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:ko.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:ko.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:ko.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:ko.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:ko.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:ko.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:ko.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:ko.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:ko.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:ko.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:ko.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:ko.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:ko.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:ko.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:ko.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:ko.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:ko.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:ko.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:ko.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:ko.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:ko.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:ko.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:ko.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:ko.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:ko.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:ko.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:ko.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:ko.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:ko.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:ko.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:ko.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:ko.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:ko.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:ko.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:ko.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:ko.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:ko.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:ko.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:ko.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:ko.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:ko.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:ko.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:ko.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:ko.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:ko.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:ko.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:ko.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:ko.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:ko.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:ko.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:ko.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:ko.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:ko.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:ko.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:ko.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:ko.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:ko.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:ko.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:ko.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:ko.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:ko.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:ko.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:ko.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:ko.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:ko.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:ko.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:ko.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:ko.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:ko.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:ko.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:ko.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:ko.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:ko.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:ko.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:ko.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:ko.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:ko.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:ko.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:ko.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:ko.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:ko.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:ko.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:ko.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:ko.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:ko.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:ko.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:ko.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:ko.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:ko.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:ko.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:ko.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:ko.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:ko.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:ko.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:ko.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:ko.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:ko.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:ko.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:ko.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:ko.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:ko.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:ko.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:ko.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:ko.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:ko.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:ko.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:ko.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:ko.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:ko.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:ko.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:ko.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:ko.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:ko.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:ko.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:ko.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:ko.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:ko.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:ko.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:ko.create("--ft-icon-size-6","","SIZE","48px"),opacity0:ko.create("--ft-opacity-0","","NUMBER","0"),opacity8:ko.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:ko.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:ko.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:ko.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:ko.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:ko.create("--ft-shadow-elevation-01","","SHADOW","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)"),shadowElevation02:ko.create("--ft-shadow-elevation-02","","SHADOW","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)"),shadowElevation03:ko.create("--ft-shadow-elevation-03","","SHADOW","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)"),shadowElevation04:ko.create("--ft-shadow-elevation-04","","SHADOW","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)"),shadowElevation06:ko.create("--ft-shadow-elevation-06","","SHADOW","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)"),shadowElevation08:ko.create("--ft-shadow-elevation-08","","SHADOW","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)"),shadowElevation12:ko.create("--ft-shadow-elevation-12","","SHADOW","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)"),shadowElevation16:ko.create("--ft-shadow-elevation-16","","SHADOW","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)"),shadowElevation24:ko.create("--ft-shadow-elevation-24","","SHADOW","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)")},Uo={display:{fontFamily:ko.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:ko.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:ko.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:ko.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ko.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:ko.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:ko.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:ko.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:ko.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:ko.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ko.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:ko.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:ko.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:ko.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:ko.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:ko.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ko.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:ko.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:ko.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:ko.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:ko.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:ko.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:ko.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:ko.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:ko.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:ko.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:ko.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:ko.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ko.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:ko.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:ko.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ko.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:ko.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:ko.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ko.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:ko.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:ko.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ko.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:ko.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:ko.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ko.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:ko.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:ko.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:ko.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:ko.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:ko.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ko.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:ko.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:ko.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ko.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:ko.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ko.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ko.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:ko.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:ko.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ko.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:ko.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ko.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ko.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:ko.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:ko.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ko.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:ko.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ko.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:ko.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ko.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:ko.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ko.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:ko.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ko.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:ko.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ko.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:ko.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ko.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:ko.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:ko.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:ko.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ko.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:ko.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ko.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:ko.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ko.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:ko.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ko.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:ko.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ko.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:ko.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ko.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:ko.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ko.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:ko.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ko.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:ko.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ko.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:ko.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ko.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:ko.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ko.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:ko.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ko.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:ko.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ko.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:ko.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ko.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:ko.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ko.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:ko.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ko.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:ko.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ko.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:ko.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ko.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:ko.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ko.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:ko.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ko.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:ko.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:ko.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:ko.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ko.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:ko.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ko.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:ko.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:ko.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:ko.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ko.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:ko.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ko.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:ko.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:ko.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:ko.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ko.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:ko.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:ko.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:ko.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:ko.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:ko.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ko.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:ko.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ko.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:ko.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:ko.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:ko.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ko.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:ko.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ko.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:ko.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:ko.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:ko.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:ko.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ko.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ko.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ko.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},Io={backgroundActionPrimary:ko.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ro.colorBrand0),backgroundErrorPrimary:ko.extend("--ft-background-error-primary","Used as background of error components.",Ro.colorRed0),backgroundErrorSubtle:ko.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ro.colorRed10),backgroundInfoPrimary:ko.extend("--ft-background-info-primary","Used as background of information components.",Ro.colorCyan200),backgroundInfoSubtle:ko.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ro.colorCyan10),backgroundWarningPrimary:ko.extend("--ft-background-warning-primary","Used as background of warning components.",Ro.colorOrange300),backgroundWarningSubtle:ko.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ro.colorOrange10),backgroundSuccessPrimary:ko.extend("--ft-background-success-primary","Used as background of success components.",Ro.colorGreen200),backgroundSuccessSubtle:ko.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ro.colorGreen10),backgroundGlobalSurface:ko.extend("--ft-background-global-surface","Used as app background.",Ro.colorWhite),backgroundGlobalOnSurface:ko.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ro.colorGray10),backgroundGlobalOnSurfaceDark:ko.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ro.colorGray30),contentActionPrimary:ko.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ro.colorBrand0),contentWarningPrimary:ko.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ro.colorOrange300),contentWarningIconOnly:ko.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ro.colorOrange0),contentErrorPrimary:ko.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ro.colorRed0),contentErrorIconOnly:ko.extend("--ft-content-error-icon-only","Used on error status icons alone",Ro.colorRed0),contentInfoPrimary:ko.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ro.colorCyan200),contentInfoIconOnly:ko.extend("--ft-content-info-icon-only","Used on info status icons alone",Ro.colorCyan0),contentSuccessPrimary:ko.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ro.colorGreen200),contentSuccessIconOnly:ko.extend("--ft-content-success-icon-only","Used on success status icons alone",Ro.colorGreen0),contentGlobalPrimary:ko.extend("--ft-content-global-primary","Used for main content on the page.",Ro.colorGray500),contentGlobalSecondary:ko.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ro.colorGray200),contentGlobalSubtle:ko.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ro.colorGray0),contentGlobalOnColor:ko.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ro.colorWhite),borderActionPrimary:ko.extend("--ft-border-action-primary","Used as border for primary action components.",Ro.colorBrand0),borderActionFocusRing:ko.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ro.colorCyan0),borderWarningPrimary:ko.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",Ro.colorOrange300),borderWarningSubtle:ko.extend("--ft-border-warning-subtle","Used as border for warning components.",Ro.colorOrange30),borderSuccessPrimary:ko.extend("--ft-border-success-primary","Used as border for success buttons.",Ro.colorGreen200),borderSuccessSubtle:ko.extend("--ft-border-success-subtle","Used as border for success components.",Ro.colorGreen30),borderErrorPrimary:ko.extend("--ft-border-error-primary","Used as border for text fields in error states.",Ro.colorRed0),borderErrorSubtle:ko.extend("--ft-border-error-subtle","Used as border for error components.",Ro.colorRed30),borderInfoPrimary:ko.extend("--ft-border-info-primary","Used as border for buttons in info color.",Ro.colorCyan200),borderInfoSubtle:ko.extend("--ft-border-info-subtle","Used as border for information components.",Ro.colorCyan30),borderGlobalPrimary:ko.extend("--ft-border-global-primary","Used as border for element like input.",Ro.colorGray50),borderGlobalSubtle:ko.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ro.colorGray30),borderInputPrimary:ko.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ro.colorGray80)},Wo={largeHeight:ko.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:ko.extend("--ft-button-large-horizontal-padding","",Ro.spacing4),largeGap:ko.extend("--ft-button-large-gap","",Ro.spacing2),largeBorderRadius:ko.extend("--ft-button-large-border-radius","",Ro.borderRadiusS),largeIconSize:ko.extend("--ft-button-large-icon-size","",Ro.iconSize3),largeBorderWidth:ko.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:ko.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:ko.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:ko.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:ko.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:ko.extend("--ft-button-small-horizontal-padding","",Ro.spacing3),smallGap:ko.extend("--ft-button-small-gap","",Ro.spacing2),smallBorderRadius:ko.extend("--ft-button-small-border-radius","",Ro.borderRadiusS),smallIconSize:ko.extend("--ft-button-small-icon-size","",Ro.iconSize2),smallBorderWidth:ko.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:ko.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:ko.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:ko.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:ko.extend("--ft-button-primary-background-color","",Io.backgroundActionPrimary),primaryColor:ko.extend("--ft-button-primary-color","",Io.contentGlobalOnColor),primaryIconColor:ko.extend("--ft-button-primary-icon-color","",Io.contentGlobalOnColor),primaryStateLayerColor:ko.extend("--ft-button-primary-state-layer-color","",Io.contentGlobalOnColor),primaryStateLayerOpacityHover:ko.extend("--ft-button-primary-state-layer-opacity-hover","",Ro.opacity16),primaryStateLayerOpacityFocus:ko.extend("--ft-button-primary-state-layer-opacity-focus","",Ro.opacity16),primaryStateLayerOpacityActive:ko.extend("--ft-button-primary-state-layer-opacity-active","",Ro.opacity24),primaryComponentOpacityDisabled:ko.extend("--ft-button-primary-component-opacity-disabled","",Ro.opacity40),focusFocusRingColor:ko.extend("--ft-button-focus-focus-ring-color","",Io.borderActionFocusRing),tertiaryBackgroundColor:ko.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:ko.extend("--ft-button-tertiary-color","",Io.contentActionPrimary),tertiaryIconColor:ko.extend("--ft-button-tertiary-icon-color","",Io.contentActionPrimary),tertiaryStateLayerColor:ko.extend("--ft-button-tertiary-state-layer-color","",Io.contentActionPrimary),tertiaryStateLayerOpacityHover:ko.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ro.opacity8),tertiaryStateLayerOpacityFocus:ko.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ro.opacity8),tertiaryStateLayerOpacityActive:ko.extend("--ft-button-tertiary-state-layer-opacity-active","",Ro.opacity16),tertiaryComponentOpacityDisabled:ko.extend("--ft-button-tertiary-component-opacity-disabled","",Ro.opacity40),secondaryBackgroundColor:ko.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:ko.extend("--ft-button-secondary-color","",Io.contentActionPrimary),secondaryIconColor:ko.extend("--ft-button-secondary-icon-color","",Io.contentActionPrimary),secondaryStateLayerColor:ko.extend("--ft-button-secondary-state-layer-color","",Io.contentActionPrimary),secondaryStateLayerOpacityHover:ko.extend("--ft-button-secondary-state-layer-opacity-hover","",Ro.opacity8),secondaryStateLayerOpacityFocus:ko.extend("--ft-button-secondary-state-layer-opacity-focus","",Ro.opacity8),secondaryStateLayerOpacityActive:ko.extend("--ft-button-secondary-state-layer-opacity-active","",Ro.opacity16),secondaryComponentOpacityDisabled:ko.extend("--ft-button-secondary-component-opacity-disabled","",Ro.opacity40),secondaryBorderColor:ko.extend("--ft-button-secondary-border-color","",Io.borderActionPrimary),neutralBackgroundColor:ko.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:ko.extend("--ft-button-neutral-icon-color","",Io.contentGlobalSecondary),neutralColor:ko.extend("--ft-button-neutral-color","",Io.contentGlobalSecondary),neutralStateLayerColor:ko.extend("--ft-button-neutral-state-layer-color","",Io.contentGlobalSecondary),neutralStateLayerOpacityHover:ko.extend("--ft-button-neutral-state-layer-opacity-hover","",Ro.opacity8),neutralStateLayerOpacityFocus:ko.extend("--ft-button-neutral-state-layer-opacity-focus","",Ro.opacity8),neutralStateLayerOpacityActive:ko.extend("--ft-button-neutral-state-layer-opacity-active","",Ro.opacity16),neutralComponentOpacityDisabled:ko.extend("--ft-button-neutral-component-opacity-disabled","",Ro.opacity40)};ko.extend("--ft-floating-menu-horizontal-padding","",Ro.spacing4),ko.extend("--ft-floating-menu-vertical-padding","",Ro.spacing4),ko.extend("--ft-floating-menu-off-icon-color","",Io.contentGlobalPrimary),ko.extend("--ft-floating-menu-off-color","",Io.contentGlobalPrimary),ko.extend("--ft-floating-menu-on-color","",Io.contentActionPrimary),ko.extend("--ft-floating-menu-on-icon-color","",Io.contentActionPrimary),ko.extend("--ft-floating-menu-on-state-layer-color","",Io.contentActionPrimary),ko.extend("--ft-floating-menu-gap","",Ro.spacing3),ko.extend("--ft-floating-menu-focus-focus-ring-color","",Io.borderActionFocusRing),ko.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),ko.extend("--ft-floating-menu-state-layer-opacity-hover","",Ro.opacity8),ko.extend("--ft-floating-menu-state-layer-opacity-active","",Ro.opacity16),ko.extend("--ft-floating-menu-state-layer-opacity-focus","",Ro.opacity8),ko.extend("--ft-floating-menu-component-opacity-disabled","",Ro.opacity40),ko.extend("--ft-floating-menu-icon-size","",Ro.iconSize3),ko.extend("--ft-floating-menu-background-color","",Io.backgroundGlobalOnSurface),ko.extend("--ft-tabs-top-left-border-radius","",Ro.borderRadiusS),ko.extend("--ft-tabs-top-right-border-radius","",Ro.borderRadiusS),ko.extend("--ft-tabs-label-horizontal-padding","",Ro.spacing4),ko.extend("--ft-tabs-label-vertical-padding","",Ro.spacing3),ko.extend("--ft-tabs-label-gap","",Ro.spacing1),ko.extend("--ft-tabs-icon-horizontal-padding","",Ro.spacing1),ko.extend("--ft-tabs-icon-vertical-padding","",Ro.spacing4),ko.create("--ft-tabs-focus-outline-width","","SIZE","2px"),ko.extend("--ft-tabs-focus-focus-ring-color","",Io.borderActionFocusRing),ko.extend("--ft-tabs-off-state-layer-opacity-hover","",Ro.opacity8),ko.extend("--ft-tabs-off-state-layer-opacity-focus","",Ro.opacity8),ko.extend("--ft-tabs-off-state-layer-opacity-active","",Ro.opacity16),ko.extend("--ft-tabs-off-component-opacity-disabled","",Ro.opacity40),ko.extend("--ft-tabs-off-color","",Io.contentGlobalSubtle),ko.extend("--ft-tabs-off-state-layer-color","",Io.contentGlobalSubtle),ko.extend("--ft-tabs-on-state-layer-opacity-hover","",Ro.opacity8),ko.extend("--ft-tabs-on-state-layer-opacity-focus","",Ro.opacity8),ko.extend("--ft-tabs-on-state-layer-opacity-active","",Ro.opacity16),ko.extend("--ft-tabs-on-component-opacity-disabled","",Ro.opacity40),ko.extend("--ft-tabs-on-color","",Io.contentActionPrimary),ko.extend("--ft-tabs-on-state-layer-color","",Io.contentActionPrimary),ko.extend("--ft-collapsible-state-layer-opacity-hover","",Ro.opacity8),ko.extend("--ft-collapsible-state-layer-opacity-focus","",Ro.opacity8),ko.extend("--ft-collapsible-state-layer-opacity-active","",Ro.opacity16),ko.extend("--ft-collapsible-component-opacity-disabled","",Ro.opacity40),ko.extend("--ft-collapsible-horizontal-padding","",Ro.spacing4),ko.extend("--ft-collapsible-vertical-padding","",Ro.spacing3),ko.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),ko.extend("--ft-collapsible-focus-focus-ring-color","",Io.borderActionFocusRing),ko.extend("--ft-collapsible-color","",Io.contentGlobalPrimary),ko.extend("--ft-collapsible-state-layer-color","",Io.contentGlobalPrimary),ko.extend("--ft-collapsible-background-color","",Io.backgroundGlobalOnSurface),ko.extend("--ft-collapsible-border-color","",Io.borderGlobalSubtle),ko.extend("--ft-collapsible-icon-size","",Ro.iconSize3),ko.extend("--ft-switch-group-horizontal-padding","",Ro.spacing1),ko.extend("--ft-switch-group-vertical-padding","",Ro.spacing1),ko.extend("--ft-switch-group-gap","",Ro.spacing1),ko.extend("--ft-switch-group-background-color","",Io.backgroundGlobalSurface),ko.extend("--ft-switch-group-border-color","",Io.borderGlobalSubtle),ko.create("--ft-switch-group-border-radius","","SIZE","6px"),ko.extend("--ft-switch-label-horizontal-padding","",Ro.spacing2),ko.extend("--ft-switch-label-vertical-padding","",Ro.spacing1),ko.extend("--ft-switch-icon-horizontal-padding","",Ro.spacing1),ko.extend("--ft-switch-icon-vertical-padding","",Ro.spacing1),ko.create("--ft-switch-focus-outline-width","","SIZE","2px"),ko.extend("--ft-switch-focus-focus-ring-color","",Io.borderActionFocusRing),ko.extend("--ft-switch-option-border-radius","",Ro.borderRadiusS),ko.extend("--ft-switch-off-state-layer-opacity-hover","",Ro.opacity8),ko.extend("--ft-switch-off-state-layer-opacity-focus","",Ro.opacity8),ko.extend("--ft-switch-off-state-layer-opacity-active","",Ro.opacity16),ko.extend("--ft-switch-off-component-opacity-disabled","",Ro.opacity40),ko.extend("--ft-switch-off-color","",Io.contentGlobalSubtle),ko.extend("--ft-switch-off-state-layer-color","",Io.contentGlobalSubtle),ko.extend("--ft-switch-on-state-layer-opacity-hover","",Ro.opacity8),ko.extend("--ft-switch-on-state-layer-opacity-focus","",Ro.opacity8),ko.extend("--ft-switch-on-state-layer-opacity-active","",Ro.opacity16),ko.extend("--ft-switch-on-component-opacity-disabled","",Ro.opacity40),ko.extend("--ft-switch-on-color","",Io.contentActionPrimary),ko.extend("--ft-switch-on-state-layer-color","",Io.contentActionPrimary),ko.extend("--ft-chart-1-light","for area color charts",Ro.colorBrand40),ko.extend("--ft-chart-1-base","for line charts",Ro.colorBrand0),ko.extend("--ft-chart-2-light","for area color charts",Ro.colorYellow60),ko.extend("--ft-chart-2-base","for line charts",Ro.colorYellow100),ko.extend("--ft-chart-3-light","",Ro.colorUltramarine40),ko.extend("--ft-chart-3-base","",Ro.colorUltramarine70),ko.extend("--ft-chart-4-light","",Ro.colorCyan50),ko.extend("--ft-chart-4-base","",Ro.colorCyan100),ko.extend("--ft-chart-5-light","",Ro.colorRed40),ko.extend("--ft-chart-5-base","",Ro.colorRed60),ko.extend("--ft-chart-6-light","",Ro.colorGreen40),ko.extend("--ft-chart-6-base","",Ro.colorGreen70),ko.extend("--ft-chart-7-light","",Ro.colorOrange70),ko.extend("--ft-chart-7-base","",Ro.colorOrange100),ko.extend("--ft-chart-8-light","",Ro.colorAvocado70),ko.extend("--ft-chart-8-base","",Ro.colorAvocado200),ko.extend("--ft-chart-9-light","",Ro.colorBrown50),ko.extend("--ft-chart-9-base","",Ro.colorBrown200),ko.extend("--ft-chart-10-light","",Ro.colorGray50),ko.extend("--ft-chart-10-base","",Ro.colorGray80),ko.extend("--ft-chart-monochrome-10","",Ro.colorBrand10),ko.extend("--ft-chart-monochrome-20","",Ro.colorBrand20),ko.extend("--ft-chart-monochrome-30","",Ro.colorBrand40),ko.extend("--ft-chart-monochrome-40","",Ro.colorBrand60),ko.extend("--ft-chart-monochrome-50","",Ro.colorBrand0),ko.extend("--ft-chart-monochrome-60","",Ro.colorBrand200),ko.extend("--ft-chip-large-horizontal-padding","",Ro.spacing4),ko.extend("--ft-chip-large-vertical-padding","",Ro.spacing2),ko.extend("--ft-chip-large-gap","",Ro.spacing1),ko.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),ko.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),ko.extend("--ft-chip-large-border-radius","",Ro.borderRadiusPill),ko.create("--ft-chip-large-border-width","","SIZE","1px"),ko.extend("--ft-chip-large-icon-size","",Ro.iconSize3),ko.extend("--ft-chip-medium-horizontal-padding","",Ro.spacing3),ko.extend("--ft-chip-medium-vertical-padding","",Ro.spacing1),ko.extend("--ft-chip-medium-gap","",Ro.spacing1),ko.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),ko.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),ko.extend("--ft-chip-medium-border-radius","",Ro.borderRadiusPill),ko.create("--ft-chip-medium-border-width","","SIZE","1px"),ko.extend("--ft-chip-medium-icon-size","",Ro.iconSize2),ko.extend("--ft-chip-small-horizontal-padding","",Ro.spacing2),ko.extend("--ft-chip-small-vertical-padding","",Ro.spacing05),ko.extend("--ft-chip-small-gap","",Ro.spacing1),ko.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),ko.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),ko.extend("--ft-chip-small-border-radius","",Ro.borderRadiusPill),ko.create("--ft-chip-small-border-width","","SIZE","1px"),ko.extend("--ft-chip-small-icon-size","",Ro.iconSize1),ko.extend("--ft-chip-neutral-background-color","",Io.backgroundGlobalOnSurface),ko.extend("--ft-chip-neutral-color","",Io.contentGlobalPrimary),ko.extend("--ft-chip-neutral-border-color","",Io.borderGlobalSubtle),ko.extend("--ft-chip-info-background-color","",Io.backgroundInfoSubtle),ko.extend("--ft-chip-info-color","",Io.contentInfoPrimary),ko.extend("--ft-chip-info-border-color","",Io.borderInfoSubtle),ko.extend("--ft-chip-success-background-color","",Io.backgroundSuccessSubtle),ko.extend("--ft-chip-success-color","",Io.contentSuccessPrimary),ko.extend("--ft-chip-success-border-color","",Io.borderSuccessSubtle),ko.extend("--ft-chip-warning-background-color","",Io.backgroundWarningSubtle),ko.extend("--ft-chip-warning-color","",Io.contentWarningPrimary),ko.extend("--ft-chip-warning-border-color","",Io.borderWarningSubtle),ko.extend("--ft-chip-error-background-color","",Io.backgroundErrorSubtle),ko.extend("--ft-chip-error-color","",Io.contentErrorPrimary),ko.extend("--ft-chip-error-border-color","",Io.borderErrorSubtle),ko.create("--ft-notice-border-width","","SIZE","1px"),ko.extend("--ft-notice-horizontal-padding","",Ro.spacing2),ko.extend("--ft-notice-vertical-padding","",Ro.spacing1),ko.extend("--ft-notice-border-radius","",Ro.borderRadiusS),ko.extend("--ft-notice-gap","",Ro.spacing2),ko.extend("--ft-notice-icon-size","",Ro.iconSize3),ko.extend("--ft-notice-info-background-color","",Io.backgroundInfoSubtle),ko.extend("--ft-notice-info-border-color","",Io.borderInfoSubtle),ko.extend("--ft-notice-info-color","",Io.contentInfoPrimary),ko.extend("--ft-notice-warning-background-color","",Io.backgroundWarningSubtle),ko.extend("--ft-notice-warning-border-color","",Io.borderWarningSubtle),ko.extend("--ft-notice-warning-color","",Io.contentWarningPrimary),ko.extend("--ft-checkbox-label-color","",Io.contentGlobalPrimary),ko.extend("--ft-checkbox-checked-background-color","",Io.contentActionPrimary),ko.extend("--ft-checkbox-checked-state-layer-color","",Io.contentActionPrimary),ko.extend("--ft-checkbox-checked-color","",Io.contentGlobalOnColor),ko.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ro.opacity16),ko.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ro.opacity16),ko.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ro.opacity24),ko.extend("--ft-checkbox-checked-component-opacity-disabled","",Ro.opacity40),ko.extend("--ft-checkbox-unchecked-border-color","",Ro.colorGray80),ko.extend("--ft-checkbox-unchecked-state-layer-color","",Ro.colorGray80),ko.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ro.opacity16),ko.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ro.opacity16),ko.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ro.opacity24),ko.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ro.opacity40),ko.extend("--ft-checkbox-focus-focus-ring-color","",Io.borderActionFocusRing),ko.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),ko.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),ko.extend("--ft-checkbox-gap","",Ro.spacing3),ko.extend("--ft-toggle-off-state-layer-opacity-hover","",Ro.opacity16),ko.extend("--ft-toggle-off-state-layer-opacity-focus","",Ro.opacity16),ko.extend("--ft-toggle-off-state-layer-opacity-active","",Ro.opacity24),ko.extend("--ft-toggle-off-component-opacity-disabled","",Ro.opacity40),ko.extend("--ft-toggle-off-background-color","",Io.contentGlobalSubtle),ko.extend("--ft-toggle-off-icon-color","",Io.contentGlobalSubtle),ko.extend("--ft-toggle-off-state-layer-color","",Io.contentGlobalSubtle),ko.extend("--ft-toggle-on-state-layer-opacity-hover","",Ro.opacity16),ko.extend("--ft-toggle-on-state-layer-opacity-focus","",Ro.opacity16),ko.extend("--ft-toggle-on-state-layer-opacity-active","",Ro.opacity24),ko.extend("--ft-toggle-on-component-opacity-disabled","",Ro.opacity40),ko.extend("--ft-toggle-on-background-color","",Io.contentActionPrimary),ko.extend("--ft-toggle-on-icon-color","",Io.contentActionPrimary),ko.extend("--ft-toggle-on-state-layer-color","",Io.contentActionPrimary),ko.extend("--ft-toggle-label-color","",Io.contentGlobalPrimary),ko.extend("--ft-toggle-focus-focus-ring-color","",Io.borderActionFocusRing),ko.extend("--ft-toggle-gap","",Ro.spacing3),ko.extend("--ft-radio-label-color","",Io.contentGlobalPrimary),ko.extend("--ft-radio-selected-color","",Io.contentActionPrimary),ko.extend("--ft-radio-selected-state-layer-color","",Io.contentActionPrimary),ko.extend("--ft-radio-selected-state-layer-opacity-hover","",Ro.opacity16),ko.extend("--ft-radio-selected-state-layer-opacity-focus","",Ro.opacity16),ko.extend("--ft-radio-selected-state-layer-opacity-active","",Ro.opacity24),ko.extend("--ft-radio-selected-component-opacity-disabled","",Ro.opacity40),ko.extend("--ft-radio-unselected-state-layer-color","",Ro.colorGray80),ko.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ro.opacity16),ko.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ro.opacity16),ko.extend("--ft-radio-unselected-state-layer-opacity-active","",Ro.opacity24),ko.extend("--ft-radio-unselected-component-opacity-disabled","",Ro.opacity40),ko.extend("--ft-radio-focus-focus-ring-color","",Io.borderActionFocusRing),ko.create("--ft-radio-focus-outline-offset","","SIZE","3px"),ko.create("--ft-radio-focus-outline-width","","SIZE","2px"),ko.extend("--ft-radio-gap","",Ro.spacing3),ko.extend("--ft-notification-icon-size","",Ro.iconSize4),ko.extend("--ft-notification-horizontal-padding","",Ro.spacing4),ko.extend("--ft-notification-vertical-padding","",Ro.spacing4),ko.extend("--ft-notification-info-background-color","",Io.backgroundInfoSubtle),ko.extend("--ft-notification-info-color","",Io.contentInfoPrimary),ko.extend("--ft-notification-info-border-color","",Io.borderInfoSubtle),ko.extend("--ft-notification-success-background-color","",Io.backgroundSuccessSubtle),ko.extend("--ft-notification-success-color","",Io.contentSuccessPrimary),ko.extend("--ft-notification-success-border-color","",Io.borderSuccessSubtle),ko.extend("--ft-notification-warning-background-color","",Io.backgroundWarningSubtle),ko.extend("--ft-notification-warning-color","",Io.contentWarningPrimary),ko.extend("--ft-notification-warning-border-color","",Io.borderWarningSubtle),ko.extend("--ft-notification-error-background-color","",Io.backgroundErrorSubtle),ko.extend("--ft-notification-error-color","",Io.contentErrorPrimary),ko.extend("--ft-notification-error-border-color","",Io.borderErrorSubtle),ko.extend("--ft-notification-border-radius","",Ro.borderRadiusPill),ko.create("--ft-notification-border-width","","SIZE","1px"),ko.extend("--ft-notification-gap-leading","",Ro.spacing2),ko.extend("--ft-notification-gap-trailing","",Ro.spacing8),ko.extend("--ft-tooltip-horizontal-padding","",Ro.spacing2),ko.extend("--ft-tooltip-vertical-padding","",Ro.spacing2),ko.extend("--ft-tooltip-border-radius","",Ro.borderRadiusS),ko.extend("--ft-tooltip-label","",Io.contentGlobalOnColor),ko.extend("--ft-tooltip-background","",Io.contentGlobalPrimary),ko.extend("--ft-tooltip-background-opacity","",Ro.opacity80),ko.extend("--ft-tooltip-shadow","",Ro.shadowElevation03);const Lo={colorPrimary:ko.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:ko.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:ko.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:ko.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:ko.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:ko.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ko.create("--ft-color-error","","COLOR","#B00020"),colorOutline:ko.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ko.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:ko.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:ko.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:ko.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:ko.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:ko.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ko.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ko.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:ko.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:ko.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ko.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ko.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ko.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ko.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ko.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ko.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:ko.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:ko.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:ko.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:ko.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:ko.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:ko.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ko.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ko.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:ko.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ko.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ko.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ko.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ko.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ko.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ko.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:ko.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ko.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ko.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ko.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ko.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:ko.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:ko.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:ko.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:ko.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:ko.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:ko.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:ko.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:ko.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:ko.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:ko.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:ko.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:ko.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:ko.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:ko.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:ko.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ko.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ko.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:ko.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},zo=["start","end"],Ko=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+zo[0],o+"-"+zo[1])),[]),Fo=Math.min,Do=Math.max,Zo=Math.round,Bo=t=>({x:t,y:t}),Ao={left:"right",right:"left",bottom:"top",top:"bottom"},Mo={start:"end",end:"start"};function Ho(t,o,e){return Do(t,Fo(o,e))}function Po(t,o){return"function"==typeof t?t(o):t}function jo(t){return t.split("-")[0]}function To(t){return t.split("-")[1]}function _o(t){return"x"===t?"y":"x"}function Go(t){return"y"===t?"height":"width"}function Vo(t){return["top","bottom"].includes(jo(t))?"y":"x"}function Yo(t){return _o(Vo(t))}function Jo(t){return t.replace(/left|right|bottom|top/g,(t=>Ao[t]))}function qo(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Xo(t,o,e){let{reference:i,floating:r}=t;const n=Vo(o),a=Yo(o),s=Go(a),l=jo(o),c="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,h=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:p,y:i.y-r.height};break;case"bottom":d={x:p,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-r.width,y:f};break;default:d={x:i.x,y:i.y}}switch(To(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function Qo(t,o){var e;void 0===o&&(o={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=Po(o,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"===f?"reference":"floating":f],g=qo(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...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=qo(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 te(t,o,e){return(t?[...e.filter((o=>To(o)===t)),...e.filter((o=>To(o)!==t))]:e.filter((t=>jo(t)===t))).filter((e=>!t||(To(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Mo[t]))}(e)!==e)))}const oe=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:h=Ko,autoAlignment:d=!0,...u}=Po(t,o),y=void 0!==f||h===Ko?te(f||null,d,h):h,g=await Qo(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const i=To(t),r=Yo(t),n=Go(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Jo(a)),[a,Jo(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[jo(m)],g[x[0]],g[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],S=y[b+1];if(S)return{data:{index:b+1,overflows:O},reset:{placement:S}};const w=O.map((t=>{const o=To(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),N=w.filter((t=>t[2].slice(0,To(t[0])?2:3).every((t=>t<=0)))),$=(null==(r=N[0])?void 0:r[0])||w[0][0];return $!==s?{data:{index:b+1,overflows:O},reset:{placement:$}}:{}}}};function ee(t){return ne(t)?(t.nodeName||"").toLowerCase():"#document"}function ie(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function re(t){var o;return null==(o=(ne(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function ne(t){return t instanceof Node||t instanceof ie(t).Node}function ae(t){return t instanceof Element||t instanceof ie(t).Element}function se(t){return t instanceof HTMLElement||t instanceof ie(t).HTMLElement}function le(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof ie(t).ShadowRoot)}function ce(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=ue(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function pe(t){return["table","td","th"].includes(ee(t))}function fe(t){const o=he(),e=ue(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function he(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function de(t){return["html","body","#document"].includes(ee(t))}function ue(t){return ie(t).getComputedStyle(t)}function ye(t){return ae(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ge(t){if("html"===ee(t))return t;const o=t.assignedSlot||t.parentNode||le(t)&&t.host||re(t);return le(o)?o.host:o}function be(t){const o=ge(t);return de(o)?t.ownerDocument?t.ownerDocument.body:t.body:se(o)&&ce(o)?o:be(o)}function me(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=be(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=ie(r);return n?o.concat(a,a.visualViewport||[],ce(r)?r:[],a.frameElement&&e?me(a.frameElement):[]):o.concat(r,me(r,[],e))}function xe(t){const o=ue(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=se(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,s=Zo(e)!==n||Zo(i)!==a;return s&&(e=n,i=a),{width:e,height:i,$:s}}function ve(t){return ae(t)?t:t.contextElement}function Oe(t){const o=ve(t);if(!se(o))return Bo(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=xe(o);let a=(n?Zo(e.width):e.width)/i,s=(n?Zo(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Se=Bo(0);function we(t){const o=ie(t);return he()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Se}function Ne(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=ve(t);let a=Bo(1);o&&(i?ae(i)&&(a=Oe(i)):a=Oe(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==ie(t))&&o}(n,e,i)?we(n):Bo(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,p=r.width/a.x,f=r.height/a.y;if(n){const t=ie(n),o=i&&ae(i)?ie(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=Oe(e),o=e.getBoundingClientRect(),i=ue(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=r,c+=n,e=ie(e).frameElement}}return qo({width:p,height:f,x:l,y:c})}function $e(t){return Ne(re(t)).left+ye(t).scrollLeft}function Ce(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=ie(t),i=re(t),r=e.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=he();(!t||t&&"fixed"===o)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)i=function(t){const o=re(t),e=ye(t),i=t.ownerDocument.body,r=Do(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=Do(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+$e(t);const s=-e.scrollTop;return"rtl"===ue(i).direction&&(a+=Do(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(re(t));else if(ae(o))i=function(t,o){const e=Ne(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=se(t)?Oe(t):Bo(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=we(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return qo(i)}function ke(t,o){const e=ge(t);return!(e===o||!ae(e)||de(e))&&("fixed"===ue(e).position||ke(e,o))}function Ee(t,o,e){const i=se(o),r=re(o),n="fixed"===e,a=Ne(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=Bo(0);if(i||!i&&!n)if(("body"!==ee(o)||ce(r))&&(s=ye(o)),i){const t=Ne(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else r&&(l.x=$e(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Re(t,o){return se(t)&&"fixed"!==ue(t).position?o?o(t):t.offsetParent:null}function Ue(t,o){const e=ie(t);if(!se(t))return e;let i=Re(t,o);for(;i&&pe(i)&&"static"===ue(i).position;)i=Re(i,o);return i&&("html"===ee(i)||"body"===ee(i)&&"static"===ue(i).position&&!fe(i))?e:i||function(t){let o=ge(t);for(;se(o)&&!de(o);){if(fe(o))return o;o=ge(o)}return null}(t)||e}const Ie={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=se(e),n=re(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=Bo(1);const l=Bo(0);if((r||!r&&"fixed"!==i)&&(("body"!==ee(e)||ce(n))&&(a=ye(e)),se(e))){const t=Ne(e);s=Oe(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+l.x,y:o.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:re,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=me(t,[],!1).filter((t=>ae(t)&&"body"!==ee(t))),r=null;const n="fixed"===ue(t).position;let a=n?ge(t):t;for(;ae(a)&&!de(a);){const o=ue(a),e=fe(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||ce(a)&&!e&&ke(t,a))?i=i.filter((t=>t!==a)):r=o,a=ge(a)}return o.set(t,i),i}(o,this._c):[].concat(e),i],a=n[0],s=n.reduce(((t,e)=>{const i=Ce(o,e,r);return t.top=Do(i.top,t.top),t.right=Fo(i.right,t.right),t.bottom=Fo(i.bottom,t.bottom),t.left=Do(i.left,t.left),t}),Ce(o,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Ue,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||Ue,n=this.getDimensions;return{reference:Ee(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return xe(t)},getScale:Oe,isElement:ae,isRTL:function(t){return"rtl"===ue(t).direction}},We=(t,o,e)=>{const i=new Map,r={platform:Ie,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:p,y:f}=Xo(c,i,l),h=i,d={},u=0;for(let e=0;e<s.length;e++){const{name:n,fn:y}=s[e],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=g?g:p,f=null!=b?b:f,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:o,strategy:r}):x.rects),({x:p,y:f}=Xo(c,h,l))),e=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,o,{...r,platform:n})};function Le(t){return function(t){for(let o=t;o;o=ze(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=ze(t);o;o=ze(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function ze(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}
99
+ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}]`:":not([name])");return Ce(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===i?o:o.filter((t=>t.matches(i)))}})}}
100
+ /**
101
+ * @license
102
+ * Copyright 2017 Google LLC
103
+ * SPDX-License-Identifier: BSD-3-Clause
104
+ */function Ie(t){return(e,o)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return Ce(0,0,{get(){const e=this.renderRoot?.querySelector(i);return e?.assignedNodes(t)??[]}})}}var Le=Object.freeze({__proto__:null,customElement:t=>(e,o)=>{void 0!==o?o.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)},eventOptions:Ne,property:we,query:$e,queryAll:Ee,queryAssignedElements:Re,queryAssignedNodes:Ie,queryAsync:function(t){return(e,o)=>Ce(0,0,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})},standardProperty:Oe,state:Se});
105
+ /**
106
+ * @license
107
+ * Copyright 2017 Google LLC
108
+ * SPDX-License-Identifier: BSD-3-Clause
109
+ */const Ue=1,We=2,Fe=t=>(...e)=>({_$litDirective$:t,values:e});let ze=class{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)}};
110
+ /**
111
+ * @license
112
+ * Copyright 2020 Google LLC
113
+ * SPDX-License-Identifier: BSD-3-Clause
114
+ */const{D:Ae}=it,je=()=>document.createComment(""),Be=(t,e,o)=>{const r=t._$AA.parentNode,i=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=r.insertBefore(je(),i),n=r.insertBefore(je(),i);o=new Ae(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!==i||a){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;r.insertBefore(t,i),t=e}}}return o},_e=(t,e,o=t)=>(t._$AI(e,o),t),De={},Me=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}},Ke=(t,e,o)=>{const r=new Map;for(let i=e;i<=o;i++)r.set(t[i],i);return r},Pe=Fe(class extends ze{constructor(t){if(super(t),t.type!==We)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let r;void 0===o?o=e:void 0!==e&&(r=e);const i=[],n=[];let a=0;for(const e of t)i[a]=r?r(e,a):a,n[a]=o(e,a),a++;return{values:n,keys:i}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,r]){const i=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(e,o,r);if(!Array.isArray(i))return this.dt=a,n;const s=this.dt??=[],l=[];let c,f,p=0,h=i.length-1,d=0,u=n.length-1;for(;p<=h&&d<=u;)if(null===i[p])p++;else if(null===i[h])h--;else if(s[p]===a[d])l[d]=_e(i[p],n[d]),p++,d++;else if(s[h]===a[u])l[u]=_e(i[h],n[u]),h--,u--;else if(s[p]===a[u])l[u]=_e(i[p],n[u]),Be(t,l[u+1],i[p]),p++,u--;else if(s[h]===a[d])l[d]=_e(i[h],n[d]),Be(t,i[p],i[h]),h--,d++;else if(void 0===c&&(c=Ke(a,d,u),f=Ke(s,p,h)),c.has(s[p]))if(c.has(s[h])){const e=f.get(a[d]),o=void 0!==e?i[e]:null;if(null===o){const e=Be(t,i[p]);_e(e,n[d]),l[d]=e}else l[d]=_e(o,n[d]),Be(t,i[p],o),i[e]=null;d++}else Me(i[h]),h--;else Me(i[p]),p++;for(;d<=u;){const e=Be(t,l[u+1]);_e(e,n[d]),l[d++]=e}for(;p<=h;){const t=i[p++];null!==t&&Me(t)}return this.dt=a,((t,e=De)=>{t._$AH=e})(t,l),P}});
115
+ /**
116
+ * @license
117
+ * Copyright 2017 Google LLC
118
+ * SPDX-License-Identifier: BSD-3-Clause
119
+ */var Ze=Object.freeze({__proto__:null,repeat:Pe});
120
+ /**
121
+ * @license
122
+ * Copyright 2018 Google LLC
123
+ * SPDX-License-Identifier: BSD-3-Clause
124
+ */const He=Fe(class extends ze{constructor(t){if(super(t),t.type!==Ue||"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 r=!!e[t];r===this.it.has(t)||this.st?.has(t)||(r?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return P}});var Te=Object.freeze({__proto__:null,classMap:He});
125
+ /**
126
+ * @license
127
+ * Copyright 2018 Google LLC
128
+ * SPDX-License-Identifier: BSD-3-Clause
129
+ */const Ve="important",Ge=" !"+Ve,qe=Fe(class extends ze{constructor(t){if(super(t),t.type!==Ue||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,o)=>{const r=t[o];return null==r?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`}),"")}update(t,[e]){const{style:o}=t.element;if(void 0===this.ut)return this.ut=new Set(Object.keys(e)),this.render(e);for(const t of this.ut)null==e[t]&&(this.ut.delete(t),t.includes("-")?o.removeProperty(t):o[t]=null);for(const t in e){const r=e[t];if(null!=r){this.ut.add(t);const e="string"==typeof r&&r.endsWith(Ge);t.includes("-")||e?o.setProperty(t,e?r.slice(0,-11):r,e?Ve:""):o[t]=r}}return P}});var Ye=Object.freeze({__proto__:null,styleMap:qe});
130
+ /**
131
+ * @license
132
+ * Copyright 2017 Google LLC
133
+ * SPDX-License-Identifier: BSD-3-Clause
134
+ */let Je=class extends ze{constructor(t){if(super(t),this.et=Z,t.type!==We)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Z||null==t)return this.vt=void 0,this.et=t;if(t===P)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:[]}}};Je.directiveName="unsafeHTML",Je.resultType=1;const Xe=Fe(Je);var Qe=Object.freeze({__proto__:null,UnsafeHTMLDirective:Je,unsafeHTML:Xe});class to extends Error{constructor(t,e,o){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=o}}class eo extends Promise{constructor(t){super(((e,o)=>t((t=>{this.isCanceled?o(new to("Promise has been canceled",t)):e(t)}),(t=>{this.isCanceled?o(new to("Promise has been canceled",void 0,t)):o(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const oo=t=>new eo(((e,o)=>t.then(e).catch(o)));var ro=Object.freeze({__proto__:null,CancelablePromise:eo,CanceledPromiseError:to,cancelable:oo});var io=Object.freeze({__proto__:null,CacheRegistry:class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof eo&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,e){this.forceClear(t),this.register(t,(async()=>e)),this.content[t]=e}setFinal(t,e){this.forceClear(t),this.registerFinal(t,(async()=>e)),this.content[t]=e}async get(t,e,o){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const r=oo(e());return this.content[t]=r,r.then((e=>(this.content[t]=e,null!=o&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),o)),e)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}});class no{constructor(t,e,o,r){this.allResults=t,this.selectedResult=e,this.clusteringMetadata=o,this.metadataDescriptors=r}static extractResultMetadata(t){var e,o;return(null!==(o=null!==(e=null==t?void 0:t.map)&&void 0!==e?e:null==t?void 0:t.document)&&void 0!==o?o:null==t?void 0:t.topic).metadata.map((t=>no.flattenMetadata(t)))}static flattenMetadata(t){if(t.hierarchicalValues){const e=[],o=[];return t.hierarchicalValues.forEach((t=>{e.push(t.join(" > ")),t.length>2?o.push(`... > ${t[t.length-1]}`):o.push(t.join(" > "))})),{key:t.key,value:e.join(", "),displayValue:o.join(", ")}}{const e=t.values.join(", ");return{key:t.key,value:e,displayValue:e}}}computeClustersItemsForMetadata(t,e){let o=no.extractResultMetadata(this.selectedResult).find((e=>e.key===t));const r=this.allResults.flatMap((e=>no.extractResultMetadata(e).filter((e=>e.key===t)))).filter((t=>!(t.key===(null==o?void 0:o.key)&&t.value===(null==o?void 0:o.value)))).filter(((t,e,o)=>o.findIndex((e=>e.value===t.value))===e));return r.map((e=>({result:this.findBestResultForMetadataValue(t,e.value),metadata:e}))).sort(((o,r)=>this.compareMetadata(o.metadata.value,r.metadata.value,t,e)))}compareMetadata(t,e,o,r){let i=this.metadataDescriptors.find((t=>o==t.key)),n=(null==i?void 0:i.sortRule)||"NONE",a=(null==i?void 0:i.reverseSort)||!1;if("ALPHABET"==n||"VERSION"==n){let o=t.localeCompare(e,r,{numeric:!0});return a?-1*o:o}return 0}findBestResultForMetadataValue(t,e){const o=this.allResults.filter((o=>no.extractResultMetadata(o).find((o=>o.key===t&&o.value===e))));let r,i=no.extractResultMetadata(this.selectedResult).filter((t=>this.clusteringMetadata.has(t.key))),n=[...i.filter((e=>e.key!==t))],a=-1;for(let t of o){let e=this.countMatchingMetadata(t,n);if(e>a&&(a=e,r=t,e===n.length))break}return r}countMatchingMetadata(t,e){return no.extractResultMetadata(t).filter((t=>e.some((e=>e.key===t.key&&e.value===t.value)))).length}}var ao=Object.freeze({__proto__:null,ClusteringHelper:no});class so{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 r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}var lo=Object.freeze({__proto__:null,Debouncer:so});const co=t=>new Promise((e=>setTimeout(e,t)));async function fo(t,e=10,o=2e4){let r,i,n=await t();for(r=i=performance.now();null==n&&(!o||i-r<o);)await co(e),n=await t(),i=performance.now();if(null==n)throw new Error("Timeout exceeded");return n}function po(t,e){return t.flatMap((t=>[t,...po(e(t),e)]))}function ho(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,((t,e,o,r)=>e+o+":"+r)),new Date(t)}function uo(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,r,i;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(r=o;0!=r--;)if(!uo(t[r],e[r]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(r of t.entries())if(!e.has(r[0]))return!1;for(r of t.entries())if(!uo(r[1],e.get(r[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(r of t.entries())if(!e.has(r[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=(i=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(r=o;0!=r--;)if(!Object.prototype.hasOwnProperty.call(e,i[r]))return!1;for(r=o;0!=r--;){var n=i[r];if(!uo(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}var yo=Object.freeze({__proto__:null,dateReviver:function(...t){return function(e,o){return t.includes(e)?ho(o):o}},deepEqual:uo,delay:co,eventPathContainsMatchingElement:function(t,e,o=window.document.body){if(e.length>0){const r=t.composedPath();for(let t of r){if(t===o)return!1;if(t.matches&&e.some((e=>t.matches(e))))return!0}}return!1},flatDeep:po,last:function(t){return t[t.length-1]},minmax:function(t,e,o){return Math.min(Math.max(t,e),o)},parseDate:ho,waitFor:fo,waitUntil:async function(t,e=10,o=2e4){await fo((async()=>await t()||void 0),e,o)}});const go=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function bo(t,e){const o=()=>JSON.parse(JSON.stringify(t));return we({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)=>!uo(t,e),...null!=e?e:{}})}function mo(t){return!isNaN(parseFloat(t))}var vo=Object.freeze({__proto__:null,customElement:go,isNumber:mo,jsonProperty:bo,optionalNumberProperty:function(t){return we({type:Object,converter:{fromAttribute:t=>{if(null!=t)return mo(t)?+t:void 0},toAttribute:t=>""+t},...null!=t?t:{}})}});const xo=t=>"string"==typeof t?pt(t):t;class Oo{static create(t,e,o,r){const i=t=>xo(null!=t?t:r),n=ht`var(${xo(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>ht`var(${xo(t)}, ${i(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,e,o,r){const i=t=>o.get(null!=t?t:r),n=ht`var(${xo(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>ht`var(${xo(t)}, ${i(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):xo(null!=e?e:t.lastResortDefaultValue()),r=ht`var(${xo(t.name)}, ${o(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=o,r.get=e=>ht`var(${xo(t.name)}, ${o(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function wo(t,e){return xo(`${t.name}: ${e}`)}const So={colorWhite:Oo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Oo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Oo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Oo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Oo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Oo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Oo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Oo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Oo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Oo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Oo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Oo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Oo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Oo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Oo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Oo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Oo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Oo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Oo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Oo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Oo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Oo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Oo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Oo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Oo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Oo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Oo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Oo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Oo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Oo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Oo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Oo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Oo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Oo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Oo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Oo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Oo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Oo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Oo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Oo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Oo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Oo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Oo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Oo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Oo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Oo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Oo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Oo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Oo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Oo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Oo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Oo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Oo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Oo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Oo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Oo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Oo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Oo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Oo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Oo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Oo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Oo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Oo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Oo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Oo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Oo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Oo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Oo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Oo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Oo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Oo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Oo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Oo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Oo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Oo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Oo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Oo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Oo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Oo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Oo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Oo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Oo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Oo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Oo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Oo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Oo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Oo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Oo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Oo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Oo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Oo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Oo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Oo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Oo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Oo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Oo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Oo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Oo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Oo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Oo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Oo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Oo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Oo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Oo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Oo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Oo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Oo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Oo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Oo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Oo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Oo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Oo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Oo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Oo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Oo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Oo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Oo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Oo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Oo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Oo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Oo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Oo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Oo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Oo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Oo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Oo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Oo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Oo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Oo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Oo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Oo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Oo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Oo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Oo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Oo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Oo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Oo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Oo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Oo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Oo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Oo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Oo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Oo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Oo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Oo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Oo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Oo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Oo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Oo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Oo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Oo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Oo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Oo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Oo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Oo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Oo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Oo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Oo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Oo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Oo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Oo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Oo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Oo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Oo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Oo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Oo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Oo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Oo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Oo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Oo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Oo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Oo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Oo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Oo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Oo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Oo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Oo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Oo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Oo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Oo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Oo.create("--ft-opacity-0","","NUMBER","0"),opacity8:Oo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Oo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Oo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Oo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Oo.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:Oo.create("--ft-shadow-elevation-01","","SHADOW","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)"),shadowElevation02:Oo.create("--ft-shadow-elevation-02","","SHADOW","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)"),shadowElevation03:Oo.create("--ft-shadow-elevation-03","","SHADOW","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)"),shadowElevation04:Oo.create("--ft-shadow-elevation-04","","SHADOW","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)"),shadowElevation06:Oo.create("--ft-shadow-elevation-06","","SHADOW","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)"),shadowElevation08:Oo.create("--ft-shadow-elevation-08","","SHADOW","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)"),shadowElevation12:Oo.create("--ft-shadow-elevation-12","","SHADOW","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)"),shadowElevation16:Oo.create("--ft-shadow-elevation-16","","SHADOW","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)"),shadowElevation24:Oo.create("--ft-shadow-elevation-24","","SHADOW","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)")},No={fontFamily:Oo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Oo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Oo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-display-textCase","","UNKNOWN","none")},Co={fontFamily:Oo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:Oo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Oo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},$o={fontFamily:Oo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:Oo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Oo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},ko={fontFamily:Oo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:Oo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Oo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Eo={fontFamily:Oo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Oo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Oo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Ro={fontFamily:Oo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Oo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Io={fontFamily:Oo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Oo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Lo={fontFamily:Oo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Oo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Uo={fontFamily:Oo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Wo={fontFamily:Oo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Fo={fontFamily:Oo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},zo={fontFamily:Oo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Ao={fontFamily:Oo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},jo={fontFamily:Oo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Bo={fontFamily:Oo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},_o={fontFamily:Oo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Do={fontFamily:Oo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Mo={fontFamily:Oo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ko={fontFamily:Oo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Po={fontFamily:Oo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Oo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Zo={fontFamily:Oo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Oo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ho={fontFamily:Oo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Oo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},To={fontFamily:Oo.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:Oo.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Vo={fontFamily:Oo.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:Oo.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Go={fontFamily:Oo.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:Oo.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},qo={display:No,"title-1":Co,"title-2":$o,"title-3":ko,"body-1-regular":Eo,"body-1-medium":Ro,"body-1-semibold":Io,"body-2-regular":Lo,"body-2-medium":Uo,"body-2-semibold":Wo,"label-1-medium":Fo,"label-1-semibold":zo,"label-1-bold":Ao,"label-2-medium":jo,"label-2-semibold":Bo,"label-2-bold":_o,"caption-1-medium":Do,"caption-1-semibold":Mo,"caption-1-bold":Ko,"caption-2-medium":Po,"caption-2-semibold":Zo,"caption-2-bold":Ho,"caption-3-medium":To,"caption-3-semibold":Vo,"caption-3-bold":Go},Yo={backgroundActionPrimary:Oo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",So.colorBrand0),backgroundErrorPrimary:Oo.extend("--ft-background-error-primary","Used as background of error components.",So.colorRed0),backgroundErrorSubtle:Oo.extend("--ft-background-error-subtle","Used as background of subtle error components.",So.colorRed10),backgroundInfoPrimary:Oo.extend("--ft-background-info-primary","Used as background of information components.",So.colorCyan200),backgroundInfoSubtle:Oo.extend("--ft-background-info-subtle","Used as background of subtle information components.",So.colorCyan10),backgroundWarningPrimary:Oo.extend("--ft-background-warning-primary","Used as background of warning components.",So.colorOrange300),backgroundWarningSubtle:Oo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",So.colorOrange10),backgroundSuccessPrimary:Oo.extend("--ft-background-success-primary","Used as background of success components.",So.colorGreen200),backgroundSuccessSubtle:Oo.extend("--ft-background-success-subtle","Used as background of subtle success components.",So.colorGreen10),backgroundGlobalSurface:Oo.extend("--ft-background-global-surface","Used as app background.",So.colorWhite),backgroundGlobalOnSurface:Oo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",So.colorGray10),backgroundGlobalOnSurfaceDark:Oo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",So.colorGray30),contentActionPrimary:Oo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",So.colorBrand0),contentWarningPrimary:Oo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",So.colorOrange300),contentWarningIconOnly:Oo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",So.colorOrange0),contentErrorPrimary:Oo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",So.colorRed0),contentErrorIconOnly:Oo.extend("--ft-content-error-icon-only","Used on error status icons alone",So.colorRed0),contentInfoPrimary:Oo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",So.colorCyan200),contentInfoIconOnly:Oo.extend("--ft-content-info-icon-only","Used on info status icons alone",So.colorCyan0),contentSuccessPrimary:Oo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",So.colorGreen200),contentSuccessIconOnly:Oo.extend("--ft-content-success-icon-only","Used on success status icons alone",So.colorGreen0),contentGlobalPrimary:Oo.extend("--ft-content-global-primary","Used for main content on the page.",So.colorGray500),contentGlobalSecondary:Oo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",So.colorGray200),contentGlobalSubtle:Oo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",So.colorGray0),contentGlobalOnColor:Oo.extend("--ft-content-global-on-color","Used for content on a dominant color.",So.colorWhite),borderActionPrimary:Oo.extend("--ft-border-action-primary","Used as border for primary action components.",So.colorBrand0),borderActionFocusRing:Oo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",So.colorCyan0),borderWarningPrimary:Oo.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",So.colorOrange300),borderWarningSubtle:Oo.extend("--ft-border-warning-subtle","Used as border for warning components.",So.colorOrange30),borderSuccessPrimary:Oo.extend("--ft-border-success-primary","Used as border for success buttons.",So.colorGreen200),borderSuccessSubtle:Oo.extend("--ft-border-success-subtle","Used as border for success components.",So.colorGreen30),borderErrorPrimary:Oo.extend("--ft-border-error-primary","Used as border for text fields in error states.",So.colorRed0),borderErrorSubtle:Oo.extend("--ft-border-error-subtle","Used as border for error components.",So.colorRed30),borderInfoPrimary:Oo.extend("--ft-border-info-primary","Used as border for buttons in info color.",So.colorCyan200),borderInfoSubtle:Oo.extend("--ft-border-info-subtle","Used as border for information components.",So.colorCyan30),borderGlobalPrimary:Oo.extend("--ft-border-global-primary","Used as border for element like input.",So.colorGray50),borderGlobalSubtle:Oo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",So.colorGray30),borderInputPrimary:Oo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",So.colorGray80)},Jo={largeHeight:Oo.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Oo.extend("--ft-button-large-horizontal-padding","",So.spacing4),largeGap:Oo.extend("--ft-button-large-gap","",So.spacing2),largeBorderRadius:Oo.extend("--ft-button-large-border-radius","",So.borderRadiusS),largeIconSize:Oo.extend("--ft-button-large-icon-size","",So.iconSize3),largeBorderWidth:Oo.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Oo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Oo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Oo.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Oo.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Oo.extend("--ft-button-small-horizontal-padding","",So.spacing3),smallGap:Oo.extend("--ft-button-small-gap","",So.spacing2),smallBorderRadius:Oo.extend("--ft-button-small-border-radius","",So.borderRadiusS),smallIconSize:Oo.extend("--ft-button-small-icon-size","",So.iconSize2),smallBorderWidth:Oo.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Oo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Oo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Oo.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Oo.extend("--ft-button-primary-background-color","",Yo.backgroundActionPrimary),primaryColor:Oo.extend("--ft-button-primary-color","",Yo.contentGlobalOnColor),primaryIconColor:Oo.extend("--ft-button-primary-icon-color","",Yo.contentGlobalOnColor),primaryStateLayerColor:Oo.extend("--ft-button-primary-state-layer-color","",Yo.contentGlobalOnColor),primaryStateLayerOpacityHover:Oo.extend("--ft-button-primary-state-layer-opacity-hover","",So.opacity16),primaryStateLayerOpacityFocus:Oo.extend("--ft-button-primary-state-layer-opacity-focus","",So.opacity16),primaryStateLayerOpacityActive:Oo.extend("--ft-button-primary-state-layer-opacity-active","",So.opacity24),primaryComponentOpacityDisabled:Oo.extend("--ft-button-primary-component-opacity-disabled","",So.opacity40),focusFocusRingColor:Oo.extend("--ft-button-focus-focus-ring-color","",Yo.borderActionFocusRing),tertiaryBackgroundColor:Oo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Oo.extend("--ft-button-tertiary-color","",Yo.contentActionPrimary),tertiaryIconColor:Oo.extend("--ft-button-tertiary-icon-color","",Yo.contentActionPrimary),tertiaryStateLayerColor:Oo.extend("--ft-button-tertiary-state-layer-color","",Yo.contentActionPrimary),tertiaryStateLayerOpacityHover:Oo.extend("--ft-button-tertiary-state-layer-opacity-hover","",So.opacity8),tertiaryStateLayerOpacityFocus:Oo.extend("--ft-button-tertiary-state-layer-opacity-focus","",So.opacity8),tertiaryStateLayerOpacityActive:Oo.extend("--ft-button-tertiary-state-layer-opacity-active","",So.opacity16),tertiaryComponentOpacityDisabled:Oo.extend("--ft-button-tertiary-component-opacity-disabled","",So.opacity40),secondaryBackgroundColor:Oo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Oo.extend("--ft-button-secondary-color","",Yo.contentActionPrimary),secondaryIconColor:Oo.extend("--ft-button-secondary-icon-color","",Yo.contentActionPrimary),secondaryStateLayerColor:Oo.extend("--ft-button-secondary-state-layer-color","",Yo.contentActionPrimary),secondaryStateLayerOpacityHover:Oo.extend("--ft-button-secondary-state-layer-opacity-hover","",So.opacity8),secondaryStateLayerOpacityFocus:Oo.extend("--ft-button-secondary-state-layer-opacity-focus","",So.opacity8),secondaryStateLayerOpacityActive:Oo.extend("--ft-button-secondary-state-layer-opacity-active","",So.opacity16),secondaryComponentOpacityDisabled:Oo.extend("--ft-button-secondary-component-opacity-disabled","",So.opacity40),secondaryBorderColor:Oo.extend("--ft-button-secondary-border-color","",Yo.borderActionPrimary),neutralBackgroundColor:Oo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Oo.extend("--ft-button-neutral-icon-color","",Yo.contentGlobalSecondary),neutralColor:Oo.extend("--ft-button-neutral-color","",Yo.contentGlobalSecondary),neutralStateLayerColor:Oo.extend("--ft-button-neutral-state-layer-color","",Yo.contentGlobalSecondary),neutralStateLayerOpacityHover:Oo.extend("--ft-button-neutral-state-layer-opacity-hover","",So.opacity8),neutralStateLayerOpacityFocus:Oo.extend("--ft-button-neutral-state-layer-opacity-focus","",So.opacity8),neutralStateLayerOpacityActive:Oo.extend("--ft-button-neutral-state-layer-opacity-active","",So.opacity16),neutralComponentOpacityDisabled:Oo.extend("--ft-button-neutral-component-opacity-disabled","",So.opacity40)},Xo={horizontalPadding:Oo.extend("--ft-floating-menu-horizontal-padding","",So.spacing4),verticalPadding:Oo.extend("--ft-floating-menu-vertical-padding","",So.spacing4),offIconColor:Oo.extend("--ft-floating-menu-off-icon-color","",Yo.contentGlobalPrimary),offColor:Oo.extend("--ft-floating-menu-off-color","",Yo.contentGlobalPrimary),onColor:Oo.extend("--ft-floating-menu-on-color","",Yo.contentActionPrimary),onIconColor:Oo.extend("--ft-floating-menu-on-icon-color","",Yo.contentActionPrimary),onStateLayerColor:Oo.extend("--ft-floating-menu-on-state-layer-color","",Yo.contentActionPrimary),gap:Oo.extend("--ft-floating-menu-gap","",So.spacing3),focusFocusRingColor:Oo.extend("--ft-floating-menu-focus-focus-ring-color","",Yo.borderActionFocusRing),focusOutlineWidth:Oo.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),stateLayerOpacityHover:Oo.extend("--ft-floating-menu-state-layer-opacity-hover","",So.opacity8),stateLayerOpacityActive:Oo.extend("--ft-floating-menu-state-layer-opacity-active","",So.opacity16),stateLayerOpacityFocus:Oo.extend("--ft-floating-menu-state-layer-opacity-focus","",So.opacity8),componentOpacityDisabled:Oo.extend("--ft-floating-menu-component-opacity-disabled","",So.opacity40),iconSize:Oo.extend("--ft-floating-menu-icon-size","",So.iconSize3),backgroundColor:Oo.extend("--ft-floating-menu-background-color","",Yo.backgroundGlobalOnSurface)},Qo={topLeftBorderRadius:Oo.extend("--ft-tabs-top-left-border-radius","",So.borderRadiusS),topRightBorderRadius:Oo.extend("--ft-tabs-top-right-border-radius","",So.borderRadiusS),labelHorizontalPadding:Oo.extend("--ft-tabs-label-horizontal-padding","",So.spacing4),labelVerticalPadding:Oo.extend("--ft-tabs-label-vertical-padding","",So.spacing3),labelGap:Oo.extend("--ft-tabs-label-gap","",So.spacing1),iconHorizontalPadding:Oo.extend("--ft-tabs-icon-horizontal-padding","",So.spacing1),iconVerticalPadding:Oo.extend("--ft-tabs-icon-vertical-padding","",So.spacing4),focusOutlineWidth:Oo.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:Oo.extend("--ft-tabs-focus-focus-ring-color","",Yo.borderActionFocusRing),offStateLayerOpacityHover:Oo.extend("--ft-tabs-off-state-layer-opacity-hover","",So.opacity8),offStateLayerOpacityFocus:Oo.extend("--ft-tabs-off-state-layer-opacity-focus","",So.opacity8),offStateLayerOpacityActive:Oo.extend("--ft-tabs-off-state-layer-opacity-active","",So.opacity16),offComponentOpacityDisabled:Oo.extend("--ft-tabs-off-component-opacity-disabled","",So.opacity40),offColor:Oo.extend("--ft-tabs-off-color","",Yo.contentGlobalSubtle),offStateLayerColor:Oo.extend("--ft-tabs-off-state-layer-color","",Yo.contentGlobalSubtle),onStateLayerOpacityHover:Oo.extend("--ft-tabs-on-state-layer-opacity-hover","",So.opacity8),onStateLayerOpacityFocus:Oo.extend("--ft-tabs-on-state-layer-opacity-focus","",So.opacity8),onStateLayerOpacityActive:Oo.extend("--ft-tabs-on-state-layer-opacity-active","",So.opacity16),onComponentOpacityDisabled:Oo.extend("--ft-tabs-on-component-opacity-disabled","",So.opacity40),onColor:Oo.extend("--ft-tabs-on-color","",Yo.contentActionPrimary),onStateLayerColor:Oo.extend("--ft-tabs-on-state-layer-color","",Yo.contentActionPrimary)},tr={stateLayerOpacityHover:Oo.extend("--ft-collapsible-state-layer-opacity-hover","",So.opacity8),stateLayerOpacityFocus:Oo.extend("--ft-collapsible-state-layer-opacity-focus","",So.opacity8),stateLayerOpacityActive:Oo.extend("--ft-collapsible-state-layer-opacity-active","",So.opacity16),componentOpacityDisabled:Oo.extend("--ft-collapsible-component-opacity-disabled","",So.opacity40),horizontalPadding:Oo.extend("--ft-collapsible-horizontal-padding","",So.spacing4),verticalPadding:Oo.extend("--ft-collapsible-vertical-padding","",So.spacing3),focusOutlineWidth:Oo.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:Oo.extend("--ft-collapsible-focus-focus-ring-color","",Yo.borderActionFocusRing),color:Oo.extend("--ft-collapsible-color","",Yo.contentGlobalPrimary),stateLayerColor:Oo.extend("--ft-collapsible-state-layer-color","",Yo.contentGlobalPrimary),backgroundColor:Oo.extend("--ft-collapsible-background-color","",Yo.backgroundGlobalOnSurface),borderColor:Oo.extend("--ft-collapsible-border-color","",Yo.borderGlobalSubtle),iconSize:Oo.extend("--ft-collapsible-icon-size","",So.iconSize3)},er={groupHorizontalPadding:Oo.extend("--ft-switch-group-horizontal-padding","",So.spacing1),groupVerticalPadding:Oo.extend("--ft-switch-group-vertical-padding","",So.spacing1),groupGap:Oo.extend("--ft-switch-group-gap","",So.spacing1),groupBackgroundColor:Oo.extend("--ft-switch-group-background-color","",Yo.backgroundGlobalSurface),groupBorderColor:Oo.extend("--ft-switch-group-border-color","",Yo.borderGlobalSubtle),groupBorderRadius:Oo.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:Oo.extend("--ft-switch-label-horizontal-padding","",So.spacing2),labelVerticalPadding:Oo.extend("--ft-switch-label-vertical-padding","",So.spacing1),iconHorizontalPadding:Oo.extend("--ft-switch-icon-horizontal-padding","",So.spacing1),iconVerticalPadding:Oo.extend("--ft-switch-icon-vertical-padding","",So.spacing1),focusOutlineWidth:Oo.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:Oo.extend("--ft-switch-focus-focus-ring-color","",Yo.borderActionFocusRing),optionBorderRadius:Oo.extend("--ft-switch-option-border-radius","",So.borderRadiusS),offStateLayerOpacityHover:Oo.extend("--ft-switch-off-state-layer-opacity-hover","",So.opacity8),offStateLayerOpacityFocus:Oo.extend("--ft-switch-off-state-layer-opacity-focus","",So.opacity8),offStateLayerOpacityActive:Oo.extend("--ft-switch-off-state-layer-opacity-active","",So.opacity16),offComponentOpacityDisabled:Oo.extend("--ft-switch-off-component-opacity-disabled","",So.opacity40),offColor:Oo.extend("--ft-switch-off-color","",Yo.contentGlobalSubtle),offStateLayerColor:Oo.extend("--ft-switch-off-state-layer-color","",Yo.contentGlobalSubtle),onStateLayerOpacityHover:Oo.extend("--ft-switch-on-state-layer-opacity-hover","",So.opacity8),onStateLayerOpacityFocus:Oo.extend("--ft-switch-on-state-layer-opacity-focus","",So.opacity8),onStateLayerOpacityActive:Oo.extend("--ft-switch-on-state-layer-opacity-active","",So.opacity16),onComponentOpacityDisabled:Oo.extend("--ft-switch-on-component-opacity-disabled","",So.opacity40),onColor:Oo.extend("--ft-switch-on-color","",Yo.contentActionPrimary),onStateLayerColor:Oo.extend("--ft-switch-on-state-layer-color","",Yo.contentActionPrimary)},or={color1Light:Oo.extend("--ft-chart-1-light","for area color charts",So.colorBrand40),color1Base:Oo.extend("--ft-chart-1-base","for line charts",So.colorBrand0),color2Light:Oo.extend("--ft-chart-2-light","for area color charts",So.colorYellow60),color2Base:Oo.extend("--ft-chart-2-base","for line charts",So.colorYellow100),color3Light:Oo.extend("--ft-chart-3-light","",So.colorUltramarine40),color3Base:Oo.extend("--ft-chart-3-base","",So.colorUltramarine70),color4Light:Oo.extend("--ft-chart-4-light","",So.colorCyan50),color4Base:Oo.extend("--ft-chart-4-base","",So.colorCyan100),color5Light:Oo.extend("--ft-chart-5-light","",So.colorRed40),color5Base:Oo.extend("--ft-chart-5-base","",So.colorRed60),color6Light:Oo.extend("--ft-chart-6-light","",So.colorGreen40),color6Base:Oo.extend("--ft-chart-6-base","",So.colorGreen70),color7Light:Oo.extend("--ft-chart-7-light","",So.colorOrange70),color7Base:Oo.extend("--ft-chart-7-base","",So.colorOrange100),color8Light:Oo.extend("--ft-chart-8-light","",So.colorAvocado70),color8Base:Oo.extend("--ft-chart-8-base","",So.colorAvocado200),color9Light:Oo.extend("--ft-chart-9-light","",So.colorBrown50),color9Base:Oo.extend("--ft-chart-9-base","",So.colorBrown200),color10Light:Oo.extend("--ft-chart-10-light","",So.colorGray50),color10Base:Oo.extend("--ft-chart-10-base","",So.colorGray80),monochrome10:Oo.extend("--ft-chart-monochrome-10","",So.colorBrand10),monochrome20:Oo.extend("--ft-chart-monochrome-20","",So.colorBrand20),monochrome30:Oo.extend("--ft-chart-monochrome-30","",So.colorBrand40),monochrome40:Oo.extend("--ft-chart-monochrome-40","",So.colorBrand60),monochrome50:Oo.extend("--ft-chart-monochrome-50","",So.colorBrand0),monochrome60:Oo.extend("--ft-chart-monochrome-60","",So.colorBrand200)},rr={largeHorizontalPadding:Oo.extend("--ft-chip-large-horizontal-padding","",So.spacing4),largeVerticalPadding:Oo.extend("--ft-chip-large-vertical-padding","",So.spacing2),largeGap:Oo.extend("--ft-chip-large-gap","",So.spacing1),largeFocusOutlineOffset:Oo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Oo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:Oo.extend("--ft-chip-large-border-radius","",So.borderRadiusPill),largeBorderWidth:Oo.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:Oo.extend("--ft-chip-large-icon-size","",So.iconSize3),mediumHorizontalPadding:Oo.extend("--ft-chip-medium-horizontal-padding","",So.spacing3),mediumVerticalPadding:Oo.extend("--ft-chip-medium-vertical-padding","",So.spacing1),mediumGap:Oo.extend("--ft-chip-medium-gap","",So.spacing1),mediumFocusOutlineOffset:Oo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:Oo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:Oo.extend("--ft-chip-medium-border-radius","",So.borderRadiusPill),mediumBorderWidth:Oo.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:Oo.extend("--ft-chip-medium-icon-size","",So.iconSize2),smallHorizontalPadding:Oo.extend("--ft-chip-small-horizontal-padding","",So.spacing2),smallVerticalPadding:Oo.extend("--ft-chip-small-vertical-padding","",So.spacing05),smallGap:Oo.extend("--ft-chip-small-gap","",So.spacing1),smallFocusOutlineOffset:Oo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Oo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:Oo.extend("--ft-chip-small-border-radius","",So.borderRadiusPill),smallBorderWidth:Oo.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:Oo.extend("--ft-chip-small-icon-size","",So.iconSize1),neutralBackgroundColor:Oo.extend("--ft-chip-neutral-background-color","",Yo.backgroundGlobalOnSurface),neutralColor:Oo.extend("--ft-chip-neutral-color","",Yo.contentGlobalPrimary),neutralBorderColor:Oo.extend("--ft-chip-neutral-border-color","",Yo.borderGlobalSubtle),infoBackgroundColor:Oo.extend("--ft-chip-info-background-color","",Yo.backgroundInfoSubtle),infoColor:Oo.extend("--ft-chip-info-color","",Yo.contentInfoPrimary),infoBorderColor:Oo.extend("--ft-chip-info-border-color","",Yo.borderInfoSubtle),successBackgroundColor:Oo.extend("--ft-chip-success-background-color","",Yo.backgroundSuccessSubtle),successColor:Oo.extend("--ft-chip-success-color","",Yo.contentSuccessPrimary),successBorderColor:Oo.extend("--ft-chip-success-border-color","",Yo.borderSuccessSubtle),warningBackgroundColor:Oo.extend("--ft-chip-warning-background-color","",Yo.backgroundWarningSubtle),warningColor:Oo.extend("--ft-chip-warning-color","",Yo.contentWarningPrimary),warningBorderColor:Oo.extend("--ft-chip-warning-border-color","",Yo.borderWarningSubtle),errorBackgroundColor:Oo.extend("--ft-chip-error-background-color","",Yo.backgroundErrorSubtle),errorColor:Oo.extend("--ft-chip-error-color","",Yo.contentErrorPrimary),errorBorderColor:Oo.extend("--ft-chip-error-border-color","",Yo.borderErrorSubtle)},ir={borderWidth:Oo.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:Oo.extend("--ft-notice-horizontal-padding","",So.spacing2),verticalPadding:Oo.extend("--ft-notice-vertical-padding","",So.spacing1),borderRadius:Oo.extend("--ft-notice-border-radius","",So.borderRadiusS),gap:Oo.extend("--ft-notice-gap","",So.spacing2),iconSize:Oo.extend("--ft-notice-icon-size","",So.iconSize3),infoBackgroundColor:Oo.extend("--ft-notice-info-background-color","",Yo.backgroundInfoSubtle),infoBorderColor:Oo.extend("--ft-notice-info-border-color","",Yo.borderInfoSubtle),infoColor:Oo.extend("--ft-notice-info-color","",Yo.contentInfoPrimary),warningBackgroundColor:Oo.extend("--ft-notice-warning-background-color","",Yo.backgroundWarningSubtle),warningBorderColor:Oo.extend("--ft-notice-warning-border-color","",Yo.borderWarningSubtle),warningColor:Oo.extend("--ft-notice-warning-color","",Yo.contentWarningPrimary)},nr={labelColor:Oo.extend("--ft-checkbox-label-color","",Yo.contentGlobalPrimary),checkedBackgroundColor:Oo.extend("--ft-checkbox-checked-background-color","",Yo.contentActionPrimary),checkedStateLayerColor:Oo.extend("--ft-checkbox-checked-state-layer-color","",Yo.contentActionPrimary),checkedColor:Oo.extend("--ft-checkbox-checked-color","",Yo.contentGlobalOnColor),checkedStateLayerOpacityHover:Oo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",So.opacity16),checkedStateLayerOpacityFocus:Oo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",So.opacity16),checkedStateLayerOpacityActive:Oo.extend("--ft-checkbox-checked-state-layer-opacity-active","",So.opacity24),checkedComponentOpacityDisabled:Oo.extend("--ft-checkbox-checked-component-opacity-disabled","",So.opacity40),uncheckedBorderColor:Oo.extend("--ft-checkbox-unchecked-border-color","",So.colorGray80),uncheckedStateLayerColor:Oo.extend("--ft-checkbox-unchecked-state-layer-color","",So.colorGray80),uncheckedStateLayerOpacityHover:Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",So.opacity16),uncheckedStateLayerOpacityFocus:Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",So.opacity16),uncheckedStateLayerOpacityActive:Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",So.opacity24),uncheckedComponentOpacityDisabled:Oo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",So.opacity40),focusFocusRingColor:Oo.extend("--ft-checkbox-focus-focus-ring-color","",Yo.borderActionFocusRing),focusOutlineOffset:Oo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:Oo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:Oo.extend("--ft-checkbox-gap","",So.spacing3)},ar={offStateLayerOpacityHover:Oo.extend("--ft-toggle-off-state-layer-opacity-hover","",So.opacity16),offStateLayerOpacityFocus:Oo.extend("--ft-toggle-off-state-layer-opacity-focus","",So.opacity16),offStateLayerOpacityActive:Oo.extend("--ft-toggle-off-state-layer-opacity-active","",So.opacity24),offComponentOpacityDisabled:Oo.extend("--ft-toggle-off-component-opacity-disabled","",So.opacity40),offBackgroundColor:Oo.extend("--ft-toggle-off-background-color","",Yo.contentGlobalSubtle),offIconColor:Oo.extend("--ft-toggle-off-icon-color","",Yo.contentGlobalSubtle),offStateLayerColor:Oo.extend("--ft-toggle-off-state-layer-color","",Yo.contentGlobalSubtle),onStateLayerOpacityHover:Oo.extend("--ft-toggle-on-state-layer-opacity-hover","",So.opacity16),onStateLayerOpacityFocus:Oo.extend("--ft-toggle-on-state-layer-opacity-focus","",So.opacity16),onStateLayerOpacityActive:Oo.extend("--ft-toggle-on-state-layer-opacity-active","",So.opacity24),onComponentOpacityDisabled:Oo.extend("--ft-toggle-on-component-opacity-disabled","",So.opacity40),onBackgroundColor:Oo.extend("--ft-toggle-on-background-color","",Yo.contentActionPrimary),onIconColor:Oo.extend("--ft-toggle-on-icon-color","",Yo.contentActionPrimary),onStateLayerColor:Oo.extend("--ft-toggle-on-state-layer-color","",Yo.contentActionPrimary),labelColor:Oo.extend("--ft-toggle-label-color","",Yo.contentGlobalPrimary),focusFocusRingColor:Oo.extend("--ft-toggle-focus-focus-ring-color","",Yo.borderActionFocusRing),gap:Oo.extend("--ft-toggle-gap","",So.spacing3)},sr={labelColor:Oo.extend("--ft-radio-label-color","",Yo.contentGlobalPrimary),selectedColor:Oo.extend("--ft-radio-selected-color","",Yo.contentActionPrimary),selectedStateLayerColor:Oo.extend("--ft-radio-selected-state-layer-color","",Yo.contentActionPrimary),selectedStateLayerOpacityHover:Oo.extend("--ft-radio-selected-state-layer-opacity-hover","",So.opacity16),selectedStateLayerOpacityFocus:Oo.extend("--ft-radio-selected-state-layer-opacity-focus","",So.opacity16),selectedStateLayerOpacityActive:Oo.extend("--ft-radio-selected-state-layer-opacity-active","",So.opacity24),selectedComponentOpacityDisabled:Oo.extend("--ft-radio-selected-component-opacity-disabled","",So.opacity40),unselectedStateLayerColor:Oo.extend("--ft-radio-unselected-state-layer-color","",So.colorGray80),unselectedStateLayerOpacityHover:Oo.extend("--ft-radio-unselected-state-layer-opacity-hover","",So.opacity16),unselectedStateLayerOpacityFocus:Oo.extend("--ft-radio-unselected-state-layer-opacity-focus","",So.opacity16),unselectedStateLayerOpacityActive:Oo.extend("--ft-radio-unselected-state-layer-opacity-active","",So.opacity24),unselectedComponentOpacityDisabled:Oo.extend("--ft-radio-unselected-component-opacity-disabled","",So.opacity40),focusFocusRingColor:Oo.extend("--ft-radio-focus-focus-ring-color","",Yo.borderActionFocusRing),focusOutlineOffset:Oo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:Oo.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:Oo.extend("--ft-radio-gap","",So.spacing3)},lr={iconSize:Oo.extend("--ft-notification-icon-size","",So.iconSize4),horizontalPadding:Oo.extend("--ft-notification-horizontal-padding","",So.spacing4),verticalPadding:Oo.extend("--ft-notification-vertical-padding","",So.spacing4),infoBackgroundColor:Oo.extend("--ft-notification-info-background-color","",Yo.backgroundInfoSubtle),infoColor:Oo.extend("--ft-notification-info-color","",Yo.contentInfoPrimary),infoBorderColor:Oo.extend("--ft-notification-info-border-color","",Yo.borderInfoSubtle),successBackgroundColor:Oo.extend("--ft-notification-success-background-color","",Yo.backgroundSuccessSubtle),successColor:Oo.extend("--ft-notification-success-color","",Yo.contentSuccessPrimary),successBorderColor:Oo.extend("--ft-notification-success-border-color","",Yo.borderSuccessSubtle),warningBackgroundColor:Oo.extend("--ft-notification-warning-background-color","",Yo.backgroundWarningSubtle),warningColor:Oo.extend("--ft-notification-warning-color","",Yo.contentWarningPrimary),warningBorderColor:Oo.extend("--ft-notification-warning-border-color","",Yo.borderWarningSubtle),errorBackgroundColor:Oo.extend("--ft-notification-error-background-color","",Yo.backgroundErrorSubtle),errorColor:Oo.extend("--ft-notification-error-color","",Yo.contentErrorPrimary),errorBorderColor:Oo.extend("--ft-notification-error-border-color","",Yo.borderErrorSubtle),borderRadius:Oo.extend("--ft-notification-border-radius","",So.borderRadiusPill),borderWidth:Oo.create("--ft-notification-border-width","","SIZE","1px"),gapLeading:Oo.extend("--ft-notification-gap-leading","",So.spacing2),gapTrailing:Oo.extend("--ft-notification-gap-trailing","",So.spacing8)},cr={horizontalPadding:Oo.extend("--ft-tooltip-horizontal-padding","",So.spacing2),verticalPadding:Oo.extend("--ft-tooltip-vertical-padding","",So.spacing2),borderRadius:Oo.extend("--ft-tooltip-border-radius","",So.borderRadiusS),label:Oo.extend("--ft-tooltip-label","",Yo.contentGlobalOnColor),background:Oo.extend("--ft-tooltip-background","",Yo.contentGlobalPrimary),backgroundOpacity:Oo.extend("--ft-tooltip-background-opacity","",So.opacity80),shadow:Oo.extend("--ft-tooltip-shadow","",So.shadowElevation03)};var fr=Object.freeze({__proto__:null,FtCssVariableFactory:Oo,button:Jo,chart:or,checkbox:nr,chip:rr,collapsible:tr,floatingMenu:Xo,foundation:So,notice:ir,notification:lr,radio:sr,semantic:Yo,setVariable:wo,switch_:er,tabs:Qo,toggle:ar,tooltip:cr,typographies:qo,typographyBody1Medium:Ro,typographyBody1Regular:Eo,typographyBody1Semibold:Io,typographyBody2Medium:Uo,typographyBody2Regular:Lo,typographyBody2Semibold:Wo,typographyCaption1Bold:Ko,typographyCaption1Medium:Do,typographyCaption1Semibold:Mo,typographyCaption2Bold:Ho,typographyCaption2Medium:Po,typographyCaption2Semibold:Zo,typographyCaption3Bold:Go,typographyCaption3Medium:To,typographyCaption3Semibold:Vo,typographyDisplay:No,typographyLabel1Bold:Ao,typographyLabel1Medium:Fo,typographyLabel1Semibold:zo,typographyLabel2Bold:_o,typographyLabel2Medium:jo,typographyLabel2Semibold:Bo,typographyTitle1:Co,typographyTitle2:$o,typographyTitle3:ko,typographyVariants:["display","title-1","title-2","title-3","body-1","body-2","label-1","label-2","caption-1","caption-2","caption-3"]});const pr={colorPrimary:Oo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Oo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Oo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Oo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Oo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Oo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Oo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Oo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Oo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Oo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Oo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Oo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Oo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Oo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Oo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Oo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Oo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Oo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Oo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Oo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Oo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Oo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Oo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Oo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Oo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Oo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Oo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Oo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Oo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Oo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Oo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Oo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Oo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Oo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Oo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Oo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Oo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Oo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Oo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Oo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Oo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Oo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Oo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Oo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Oo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Oo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Oo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Oo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Oo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Oo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Oo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var hr=Object.freeze({__proto__:null,designSystemVariables:pr});class dr extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class ur extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class yr extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var gr=Object.freeze({__proto__:null,FtNotificationEvent:dr,PostResizeEvent:yr,PreResizeEvent:ur});const br=["start","end"],mr=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+br[0],e+"-"+br[1])),[]),vr=Math.min,xr=Math.max,Or=Math.round,wr=t=>({x:t,y:t}),Sr={left:"right",right:"left",bottom:"top",top:"bottom"},Nr={start:"end",end:"start"};function Cr(t,e,o){return xr(t,vr(e,o))}function $r(t,e){return"function"==typeof t?t(e):t}function kr(t){return t.split("-")[0]}function Er(t){return t.split("-")[1]}function Rr(t){return"x"===t?"y":"x"}function Ir(t){return"y"===t?"height":"width"}function Lr(t){return["top","bottom"].includes(kr(t))?"y":"x"}function Ur(t){return Rr(Lr(t))}function Wr(t){return t.replace(/left|right|bottom|top/g,(t=>Sr[t]))}function Fr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function zr(t,e,o){let{reference:r,floating:i}=t;const n=Lr(e),a=Ur(e),s=Ir(a),l=kr(e),c="y"===n,f=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,h=r[s]/2-i[s]/2;let d;switch(l){case"top":d={x:f,y:r.y-i.height};break;case"bottom":d={x:f,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:p};break;case"left":d={x:r.x-i.width,y:p};break;default:d={x:r.x,y:r.y}}switch(Er(e)){case"start":d[a]-=h*(o&&c?-1:1);break;case"end":d[a]+=h*(o&&c?-1:1)}return d}async function Ar(t,e){var o;void 0===e&&(e={});const{x:r,y:i,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:h=!1,padding:d=0}=$r(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=Fr(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:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=Fr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-x.top+u.top)/v.y,bottom:(x.bottom-g.bottom+u.bottom)/v.y,left:(g.left-x.left+u.left)/v.x,right:(x.right-g.right+u.right)/v.x}}function jr(t,e,o){return(t?[...o.filter((e=>Er(e)===t)),...o.filter((e=>Er(e)!==t))]:o.filter((t=>kr(t)===t))).filter((o=>!t||(Er(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Nr[t]))}(o)!==o)))}const Br=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,r,i;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:f=!1,alignment:p,allowedPlacements:h=mr,autoAlignment:d=!0,...u}=$r(t,e),y=void 0!==p||h===mr?jr(p||null,d,h):h,g=await Ar(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const r=Er(t),i=Ur(t),n=Ir(i);let a="x"===i?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Wr(a)),[a,Wr(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const x=[g[kr(m)],g[v[0]],g[v[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:x}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=Er(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,Er(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=N[0])?void 0:i[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function _r(t){return Kr(t)?(t.nodeName||"").toLowerCase():"#document"}function Dr(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Mr(t){var e;return null==(e=(Kr(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Kr(t){return t instanceof Node||t instanceof Dr(t).Node}function Pr(t){return t instanceof Element||t instanceof Dr(t).Element}function Zr(t){return t instanceof HTMLElement||t instanceof Dr(t).HTMLElement}function Hr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Dr(t).ShadowRoot)}function Tr(t){const{overflow:e,overflowX:o,overflowY:r,display:i}=Jr(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(i)}function Vr(t){return["table","td","th"].includes(_r(t))}function Gr(t){const e=qr(),o=Jr(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 qr(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Yr(t){return["html","body","#document"].includes(_r(t))}function Jr(t){return Dr(t).getComputedStyle(t)}function Xr(t){return Pr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Qr(t){if("html"===_r(t))return t;const e=t.assignedSlot||t.parentNode||Hr(t)&&t.host||Mr(t);return Hr(e)?e.host:e}function ti(t){const e=Qr(t);return Yr(e)?t.ownerDocument?t.ownerDocument.body:t.body:Zr(e)&&Tr(e)?e:ti(e)}function ei(t,e,o){var r;void 0===e&&(e=[]),void 0===o&&(o=!0);const i=ti(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=Dr(i);return n?e.concat(a,a.visualViewport||[],Tr(i)?i:[],a.frameElement&&o?ei(a.frameElement):[]):e.concat(i,ei(i,[],o))}function oi(t){const e=Jr(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=Zr(t),n=i?t.offsetWidth:o,a=i?t.offsetHeight:r,s=Or(o)!==n||Or(r)!==a;return s&&(o=n,r=a),{width:o,height:r,$:s}}function ri(t){return Pr(t)?t:t.contextElement}function ii(t){const e=ri(t);if(!Zr(e))return wr(1);const o=e.getBoundingClientRect(),{width:r,height:i,$:n}=oi(e);let a=(n?Or(o.width):o.width)/r,s=(n?Or(o.height):o.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const ni=wr(0);function ai(t){const e=Dr(t);return qr()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:ni}function si(t,e,o,r){void 0===e&&(e=!1),void 0===o&&(o=!1);const i=t.getBoundingClientRect(),n=ri(t);let a=wr(1);e&&(r?Pr(r)&&(a=ii(r)):a=ii(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Dr(t))&&e}(n,o,r)?ai(n):wr(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,f=i.width/a.x,p=i.height/a.y;if(n){const t=Dr(n),e=r&&Pr(r)?Dr(r):r;let o=t.frameElement;for(;o&&r&&e!==t;){const t=ii(o),e=o.getBoundingClientRect(),r=Jr(o),i=e.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;l*=t.x,c*=t.y,f*=t.x,p*=t.y,l+=i,c+=n,o=Dr(o).frameElement}}return Fr({width:f,height:p,x:l,y:c})}function li(t){return si(Mr(t)).left+Xr(t).scrollLeft}function ci(t,e,o){let r;if("viewport"===e)r=function(t,e){const o=Dr(t),r=Mr(t),i=o.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){n=i.width,a=i.height;const t=qr();(!t||t&&"fixed"===e)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)r=function(t){const e=Mr(t),o=Xr(t),r=t.ownerDocument.body,i=xr(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),n=xr(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-o.scrollLeft+li(t);const s=-o.scrollTop;return"rtl"===Jr(r).direction&&(a+=xr(e.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(Mr(t));else if(Pr(e))r=function(t,e){const o=si(t,!0,"fixed"===e),r=o.top+t.clientTop,i=o.left+t.clientLeft,n=Zr(t)?ii(t):wr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(e,o);else{const o=ai(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return Fr(r)}function fi(t,e){const o=Qr(t);return!(o===e||!Pr(o)||Yr(o))&&("fixed"===Jr(o).position||fi(o,e))}function pi(t,e,o){const r=Zr(e),i=Mr(e),n="fixed"===o,a=si(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=wr(0);if(r||!r&&!n)if(("body"!==_r(e)||Tr(i))&&(s=Xr(e)),r){const t=si(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else i&&(l.x=li(i));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function hi(t,e){return Zr(t)&&"fixed"!==Jr(t).position?e?e(t):t.offsetParent:null}function di(t,e){const o=Dr(t);if(!Zr(t))return o;let r=hi(t,e);for(;r&&Vr(r)&&"static"===Jr(r).position;)r=hi(r,e);return r&&("html"===_r(r)||"body"===_r(r)&&"static"===Jr(r).position&&!Gr(r))?o:r||function(t){let e=Qr(t);for(;Zr(e)&&!Yr(e);){if(Gr(e))return e;e=Qr(e)}return null}(t)||o}const ui={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:r}=t;const i=Zr(o),n=Mr(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=wr(1);const l=wr(0);if((i||!i&&"fixed"!==r)&&(("body"!==_r(o)||Tr(n))&&(a=Xr(o)),Zr(o))){const t=si(o);s=ii(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:Mr,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let r=ei(t,[],!1).filter((t=>Pr(t)&&"body"!==_r(t))),i=null;const n="fixed"===Jr(t).position;let a=n?Qr(t):t;for(;Pr(a)&&!Yr(a);){const e=Jr(a),o=Gr(a);o||"fixed"!==e.position||(i=null),(n?!o&&!i:!o&&"static"===e.position&&i&&["absolute","fixed"].includes(i.position)||Tr(a)&&!o&&fi(t,a))?r=r.filter((t=>t!==a)):i=e,a=Qr(a)}return e.set(t,r),r}(e,this._c):[].concat(o),r],a=n[0],s=n.reduce(((t,o)=>{const r=ci(e,o,i);return t.top=xr(r.top,t.top),t.right=vr(r.right,t.right),t.bottom=vr(r.bottom,t.bottom),t.left=xr(r.left,t.left),t}),ci(e,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:di,getElementRects:async function(t){let{reference:e,floating:o,strategy:r}=t;const i=this.getOffsetParent||di,n=this.getDimensions;return{reference:pi(e,await i(o),r),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return oi(t)},getScale:ii,isElement:Pr,isRTL:function(t){return"rtl"===Jr(t).direction}},yi=(t,e,o)=>{const r=new Map,i={platform:ui,...o},n={...i.platform,_c:r};return(async(t,e,o)=>{const{placement:r="bottom",strategy:i="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:i}),{x:f,y:p}=zr(c,r,l),h=r,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:v}=await y({x:f,y:p,initialPlacement:r,placement:h,strategy:i,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}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(h=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:i}):v.rects),({x:f,y:p}=zr(c,h,l))),o=-1)}return{x:f,y:p,placement:h,strategy:i,middlewareData:d}})(t,e,{...i,platform:n})};function gi(t){return function(t){for(let e=t;e;e=bi(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=bi(t);e;e=bi(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function bi(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}async function mi(t,e,o){return yi(t,e,{platform:{...ui,getOffsetParent:t=>ui.getOffsetParent(t,gi)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:e,y:o,placement:i}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=$r(r,t),c={x:e,y:o},f=await Ar(t,l),p=Lr(kr(i)),h=Rr(p);let d=c[h],u=c[p];if(n){const t="y"===h?"bottom":"right";d=Cr(d+f["y"===h?"top":"left"],d,d-f[t])}if(a){const t="y"===p?"bottom":"right";u=Cr(u+f["y"===p?"top":"left"],u,u-f[t])}const y=s.fn({...t,[h]:d,[p]:u});return{...y,data:{x:y.x-e,y:y.y-o}}}}),Br({allowedPlacements:[o]})]});var r}var vi=Object.freeze({__proto__:null,computeOffsetPosition:mi});
85
135
  /**
86
136
  * @license
87
137
  * Copyright 2019 Google LLC
88
138
  * SPDX-License-Identifier: BSD-3-Clause
89
- */
90
- const Ke=window,Fe=Ke.ShadowRoot&&(void 0===Ke.ShadyCSS||Ke.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class De 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)=>{Fe?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),i=Ke.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Ze,Be=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 Ae=Symbol("constructorPrototype"),Me=Symbol("constructorName"),He=Symbol("exportpartsDebouncer");class Pe extends De{constructor(){super(),this[Ze]=new o(5),this[Me]=this.constructor.name,this[Ae]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Me]&&Object.setPrototypeOf(this,this[Ae])}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.insertCustomStylesheet(),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}insertCustomStylesheet(){var t,o;if((null!==(o=null===(t=this.shadowRoot)||void 0===t?void 0:t.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(){var t,o,e;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(e=null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)&&void 0!==e&&e)&&this[He].run((()=>{var t,o;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],e=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>l.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Ze=He,Be([$()],Pe.prototype,"exportpartsPrefix",void 0),Be([z([])],Pe.prototype,"exportpartsPrefixes",void 0),Be([$()],Pe.prototype,"customStylesheet",void 0);const je=ko.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");$t`
139
+ */const xi=window,Oi=xi.ShadowRoot&&(void 0===xi.ShadyCSS||xi.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class wi extends be{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)=>{Oi?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),r=xi.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Si,Ni=Object.freeze({__proto__:null,ScopedRegistryLitElement:wi}),Ci=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const $i=Symbol("constructorPrototype"),ki=Symbol("constructorName"),Ei=Symbol("exportpartsDebouncer");class Ri extends wi{constructor(){super(),this[Si]=new so(5),this[ki]=this.constructor.name,this[$i]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ki]&&Object.setPrototypeOf(this,this[$i])}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.insertCustomStylesheet(),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}insertCustomStylesheet(){var t,e;if((null!==(e=null===(t=this.shadowRoot)||void 0===t?void 0:t.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(){var t,e,o;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(o=null===(e=this.exportpartsPrefixes)||void 0===e?void 0:e.length)&&void 0!==o&&o)&&this[Ei].run((()=>{var t,e;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(e=this.exportpartsPrefixes)||void 0===e?void 0:e.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,r,i,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!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],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(", "))}}Si=Ei,Ci([we()],Ri.prototype,"exportpartsPrefix",void 0),Ci([bo([])],Ri.prototype,"exportpartsPrefixes",void 0),Ci([we()],Ri.prototype,"customStylesheet",void 0);var Ii=Object.freeze({__proto__:null,FtLitElement:Ri}),Li=Object.freeze({__proto__:null});class Ui{constructor(t,e=!0,o=[],r=5e3){this.ctx=t,this.iframes=e,this.exclude=o,this.iframesTimeout=r}static matches(t,e){const o="string"==typeof e?[e]:e,r=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(r){let e=!1;return o.every((o=>!r.call(t,o)||(e=!0,!1))),e}return!1}getContexts(){let t,e=[];return t=void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[],t.forEach((t=>{const o=e.filter((e=>e.contains(t))).length>0;-1!==e.indexOf(t)||o||e.push(t)})),e}getIframeContents(t,e,o=(()=>{})){let r;try{const e=t.contentWindow;if(r=e.document,!e||!r)throw new Error("iframe inaccessible")}catch(t){o()}r&&e(r)}isIframeBlank(t){const e="about:blank",o=t.getAttribute("src").trim();return t.contentWindow.location.href===e&&o!==e&&o}observeIframeLoad(t,e,o){let r=!1,i=null;const n=()=>{if(!r){r=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",n),this.getIframeContents(t,e,o))}catch(t){o()}}};t.addEventListener("load",n),i=setTimeout(n,this.iframesTimeout)}onIframeReady(t,e,o){try{"complete"===t.contentWindow.document.readyState?this.isIframeBlank(t)?this.observeIframeLoad(t,e,o):this.getIframeContents(t,e,o):this.observeIframeLoad(t,e,o)}catch(t){o()}}waitForIframes(t,e){let o=0;this.forEachIframe(t,(()=>!0),(t=>{o++,this.waitForIframes(t.querySelector("html"),(()=>{--o||e()}))}),(t=>{t||e()}))}forEachIframe(t,e,o,r=(()=>{})){let i=t.querySelectorAll("iframe"),n=i.length,a=0;i=Array.prototype.slice.call(i);const s=()=>{--n<=0&&r(a)};n||s(),i.forEach((t=>{Ui.matches(t,this.exclude)?s():this.onIframeReady(t,(r=>{e(t)&&(a++,o(r)),s()}),s)}))}createIterator(t,e,o){return document.createNodeIterator(t,e,o,!1)}createInstanceOnIframe(t){return new Ui(t.querySelector("html"),this.iframes)}compareNodeIframe(t,e,o){if(t.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_PRECEDING){if(null===e)return!0;if(e.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}getIteratorNode(t){const e=t.previousNode();let o;return o=(null===e||t.nextNode())&&t.nextNode(),{prevNode:e,node:o}}checkIframeFilter(t,e,o,r){let i=!1,n=!1;return r.forEach(((t,e)=>{t.val===o&&(i=e,n=t.handled)})),this.compareNodeIframe(t,e,o)?(!1!==i||n?!1===i||n||(r[i].handled=!0):r.push({val:o,handled:!0}),!0):(!1===i&&r.push({val:o,handled:!1}),!1)}handleOpenIframes(t,e,o,r){t.forEach((t=>{t.handled||this.getIframeContents(t.val,(t=>{this.createInstanceOnIframe(t).forEachNode(e,o,r)}))}))}iterateThroughNodes(t,e,o,r,i){const n=this.createIterator(e,t,r);let a,s,l=[],c=[],f=()=>(({prevNode:s,node:a}=this.getIteratorNode(n)),a);for(;f();)this.iframes&&this.forEachIframe(e,(t=>this.checkIframeFilter(a,s,t,l)),(e=>{this.createInstanceOnIframe(e).forEachNode(t,(t=>c.push(t)),r)})),c.push(a);c.forEach((t=>{o(t)})),this.iframes&&this.handleOpenIframes(l,t,o,r),i()}forEachNode(t,e,o,r=(()=>{})){const i=this.getContexts();let n=i.length;n||r(),i.forEach((i=>{const a=()=>{this.iterateThroughNodes(t,i,e,o,(()=>{--n<=0&&r()}))};this.iframes?this.waitForIframes(i,a):a()}))}}const Wi=function(t){const e=new class{constructor(t){this.ctx=t,this.ie=!1;const e=window.navigator.userAgent;(e.indexOf("MSIE")>-1||e.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new Ui(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,e="debug"){const o=this.opt.log;this.opt.debug&&"object"==typeof o&&"function"==typeof o[e]&&o[e](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return"disabled"!==this.opt.wildcards&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),"disabled"!==this.opt.wildcards&&(t=this.createWildcardsRegExp(t)),this.createAccuracyRegExp(t)}createSynonymsRegExp(t){const e=this.opt.synonyms,o=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in e)if(e.hasOwnProperty(i)){const n=e[i],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i),s="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(n):this.escapeStr(n);""!==a&&""!==s&&(t=t.replace(new RegExp(`(${this.escapeStr(a)}|${this.escapeStr(s)})`,`gm${o}`),r+`(${this.processSynomyms(a)}|`+`${this.processSynomyms(s)})`+r))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return(t=t.replace(/(?:\\)*\?/g,(t=>"\\"===t.charAt(0)?"?":""))).replace(/(?:\\)*\*/g,(t=>"\\"===t.charAt(0)?"*":""))}createWildcardsRegExp(t){let e="withSpaces"===this.opt.wildcards;return t.replace(/\u0001/g,e?"[\\S\\s]?":"\\S?").replace(/\u0002/g,e?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,((t,e,o)=>{let r=o.charAt(e+1);return/[(|)\\]/.test(r)||""===r?t:t+"\0"}))}createJoinersRegExp(t){let e=[];const o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&e.push(this.escapeStr(o.join(""))),this.opt.ignoreJoiners&&e.push("\\u00ad\\u200b\\u200c\\u200d"),e.length?t.split(/\u0000+/).join(`[${e.join("")}]*`):t}createDiacriticsRegExp(t){const e=this.opt.caseSensitive?"":"i",o=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let r=[];return t.split("").forEach((i=>{o.every((o=>{if(-1!==o.indexOf(i)){if(r.indexOf(o)>-1)return!1;t=t.replace(new RegExp(`[${o}]`,`gm${e}`),`[${o}]`),r.push(o)}return!0}))})),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gim,"[\\s]+")}createAccuracyRegExp(t){let e=this.opt.accuracy,o="string"==typeof e?e:e.value,r="string"==typeof e?[]:e.limiters,i="";switch(r.forEach((t=>{i+=`|${this.escapeStr(t)}`})),o){case"partially":default:return`()(${t})`;case"complementary":return i="\\s"+(i||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿")),`()([^${i}]*${t}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${t})(?=$|\\s${i})`}}getSeparatedKeywords(t){let e=[];return t.forEach((t=>{this.opt.separateWordSearch?t.split(" ").forEach((t=>{t.trim()&&-1===e.indexOf(t)&&e.push(t)})):t.trim()&&-1===e.indexOf(t)&&e.push(t)})),{keywords:e.sort(((t,e)=>e.length-t.length)),length:e.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||"[object Object]"!==Object.prototype.toString.call(t[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];const e=[];let o=0;return t.sort(((t,e)=>t.start-e.start)).forEach((t=>{let{start:r,end:i,valid:n}=this.callNoMatchOnInvalidRanges(t,o);n&&(t.start=r,t.length=i-r,e.push(t),o=i)})),e}callNoMatchOnInvalidRanges(t,e){let o,r,i=!1;return t&&void 0!==t.start?(o=parseInt(t.start,10),r=o+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&r-e>0&&r-o>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:o,end:r,valid:i}}checkWhitespaceRanges(t,e,o){let r,i=!0,n=o.length,a=e-n,s=parseInt(t.start,10)-a;return s=s>n?n:s,r=s+parseInt(t.length,10),r>n&&(r=n,this.log(`End range automatically set to the max value of ${n}`)),s<0||r-s<0||s>n||r>n?(i=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===o.substring(s,r).replace(/\s+/g,"")&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:s,end:r,valid:i}}getTextNodes(t){let e="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(t=>{o.push({start:e.length,end:(e+=t.textContent).length,node:t})}),(t=>this.matchesExclude(t.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT),(()=>{t({value:e,nodes:o})}))}matchesExclude(t){return Ui.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,e,o){const r=this.opt.element?this.opt.element:"mark",i=t.splitText(e),n=i.splitText(o-e);let a=document.createElement(r);return a.setAttribute("data-markjs","true"),this.opt.className&&a.setAttribute("class",this.opt.className),a.textContent=i.textContent,i.parentNode.replaceChild(a,i),n}wrapRangeInMappedTextNode(t,e,o,r,i){t.nodes.every(((n,a)=>{const s=t.nodes[a+1];if(void 0===s||s.start>e){if(!r(n.node))return!1;const s=e-n.start,l=(o>n.end?n.end:o)-n.start,c=t.value.substr(0,n.start),f=t.value.substr(l+n.start);if(n.node=this.wrapRangeInTextNode(n.node,s,l),t.value=c+f,t.nodes.forEach(((e,o)=>{o>=a&&(t.nodes[o].start>0&&o!==a&&(t.nodes[o].start-=l),t.nodes[o].end-=l)})),o-=l,i(n.node.previousSibling,n.start),!(o>n.end))return!1;e=n.end}return!0}))}wrapMatches(t,e,o,r,i){const n=0===e?0:e+1;this.getTextNodes((e=>{e.nodes.forEach((e=>{let i;for(e=e.node;null!==(i=t.exec(e.textContent))&&""!==i[n];){if(!o(i[n],e))continue;let a=i.index;if(0!==n)for(let t=1;t<n;t++)a+=i[t].length;e=this.wrapRangeInTextNode(e,a,a+i[n].length),r(e.previousSibling),t.lastIndex=0}})),i()}))}wrapMatchesAcrossElements(t,e,o,r,i){const n=0===e?0:e+1;this.getTextNodes((e=>{let a;for(;null!==(a=t.exec(e.value))&&""!==a[n];){let i=a.index;if(0!==n)for(let t=1;t<n;t++)i+=a[t].length;const s=i+a[n].length;this.wrapRangeInMappedTextNode(e,i,s,(t=>o(a[n],t)),((e,o)=>{t.lastIndex=o,r(e)}))}i()}))}wrapRangeFromIndex(t,e,o,r){this.getTextNodes((i=>{const n=i.value.length;t.forEach(((t,r)=>{let{start:a,end:s,valid:l}=this.checkWhitespaceRanges(t,n,i.value);l&&this.wrapRangeInMappedTextNode(i,a,s,(o=>e(o,t,i.value.substring(a,s),r)),(e=>{o(e,t)}))})),r()}))}unwrapMatches(t){const e=t.parentNode;let o=document.createDocumentFragment();for(;t.firstChild;)o.appendChild(t.removeChild(t.firstChild));e.replaceChild(o,t),this.ie?this.normalizeTextNode(e):e.normalize()}normalizeTextNode(t){if(t){if(3===t.nodeType)for(;t.nextSibling&&3===t.nextSibling.nodeType;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,e){this.opt=e,this.log(`Searching with expression "${t}"`);let o=0,r="wrapMatches";this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),this[r](t,this.opt.ignoreGroups,((t,e)=>this.opt.filter(e,t,o)),(t=>{o++,this.opt.each(t)}),(()=>{0===o&&this.opt.noMatch(t),this.opt.done(o)}))}mark(t,e){this.opt=e;let o=0,r="wrapMatches";const{keywords:i,length:n}=this.getSeparatedKeywords("string"==typeof t?[t]:t),a=this.opt.caseSensitive?"":"i",s=t=>{let e=new RegExp(this.createRegExp(t),`gm${a}`),l=0;this.log(`Searching with expression "${e}"`),this[r](e,1,((e,r)=>this.opt.filter(r,t,o,l)),(t=>{l++,o++,this.opt.each(t)}),(()=>{0===l&&this.opt.noMatch(t),i[n-1]===t?this.opt.done(o):s(i[i.indexOf(t)+1])}))};this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),0===n?this.opt.done(o):s(i[0])}markRanges(t,e){this.opt=e;let o=0,r=this.checkRanges(t);r&&r.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(r)),this.wrapRangeFromIndex(r,((t,e,o,r)=>this.opt.filter(t,e,o,r)),((t,e)=>{o++,this.opt.each(t,e)}),(()=>{this.opt.done(o)}))):this.opt.done(o)}unmark(t){this.opt=t;let e=this.opt.element?this.opt.element:"*";e+="[data-markjs]",this.opt.className&&(e+=`.${this.opt.className}`),this.log(`Removal selector "${e}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,(t=>{this.unwrapMatches(t)}),(t=>{const o=Ui.matches(t,e),r=this.matchesExclude(t);return!o||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}}(t);return this.mark=(t,o)=>(e.mark(t,o),this),this.markRegExp=(t,o)=>(e.markRegExp(t,o),this),this.markRanges=(t,o)=>(e.markRanges(t,o),this),this.unmark=t=>(e.unmark(t),this),this},Fi=Oo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),zi=ht`
91
140
  .highlight-html-match {
92
- background: ${je};
141
+ background: ${Fi};
93
142
  }
94
- `;const Te=$t`
143
+ `,Ai={className:"highlight-html-match"};var ji=Object.freeze({__proto__:null,highlightHtml:function(t,e){var o;let r=t.getAttribute("data-highlight-html-query");if((null!=r?r:"")!==(null!=e?e:"")){const r=new Wi(t);if(r.unmark(Ai),e&&e.trim()){r.mark(e.replace(/"[^"]+"/g,""),{...Ai,separateWordSearch:!0});(null!==(o=e.match(/"[^"]+"/g))&&void 0!==o?o:[]).forEach((t=>r.mark(t.replace(/"/g,""),{...Ai,separateWordSearch:!1})))}}t.setAttribute("data-highlight-html-query",null!=e?e:"")},highlightHtmlColorCssVariable:Fi,highlightHtmlStyles:zi});const Bi=ht`
95
144
  .ft-no-text-select {
96
145
  -webkit-touch-callout: none;
97
146
  -webkit-user-select: none;
@@ -100,7 +149,7 @@ const Ke=window,Fe=Ke.ShadowRoot&&(void 0===Ke.ShadyCSS||Ke.ShadyCSS.nativeShado
100
149
  -ms-user-select: none;
101
150
  user-select: none;
102
151
  }
103
- `;$t`
152
+ `,_i=ht`
104
153
  .ft-word-wrap {
105
154
  white-space: normal;
106
155
  word-wrap: break-word;
@@ -112,7 +161,7 @@ const Ke=window,Fe=Ke.ShadowRoot&&(void 0===Ke.ShadyCSS||Ke.ShadyCSS.nativeShado
112
161
  -webkit-hyphens: auto;
113
162
  hyphens: auto
114
163
  }
115
- `;const _e=$t`
164
+ `,Di=ht`
116
165
  .ft-safari-ellipsis-fix {
117
166
  margin-right: 0;
118
167
 
@@ -123,134 +172,124 @@ const Ke=window,Fe=Ke.ShadowRoot&&(void 0===Ke.ShadyCSS||Ke.ShadyCSS.nativeShado
123
172
  display: inline-block;
124
173
  width: 0;
125
174
  }
126
- `;function Ge(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var Ve,Ye,Je;const qe=Symbol("internalReduxEventsUnsubscribers"),Xe=Symbol("internalStoresUnsubscribers"),Qe=Symbol("internalStores");class ti extends Pe{constructor(){super(...arguments),this[Ve]=new Map,this[Ye]=new Map,this[Je]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[Qe].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Qe].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Qe].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Ge(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[Qe].delete(o)}setupStore(t,o){this[Qe].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Qe].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[Xe].has(t.store):this[Xe].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Xe].set(t,o.subscribe((()=>this.updateFromStores()))),Ge(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const i=t=>this[e](t);o.eventBus.addEventListener(t.eventName,i),this[qe].push((()=>o.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Xe].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[qe].forEach((t=>t())),this[qe]=[]}unsubscribeFromStore(t){this[Xe].has(t)&&this[Xe].get(t)(),this[Xe].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}Ve=Xe,Ye=Qe,Je=qe,ti.reduxProperties=new Map,ti.reduxReactiveProperties=new Set,ti.reduxEventListeners=new Map,window.ftReduxStores||(window.ftReduxStores={});const oi=Symbol("elementInternals");var ei,ii,ri;const ni=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(ri=null===(ii=null===(ei=window.safari)||void 0===ei?void 0:ei.pushNotification)||void 0===ii?void 0:ii.toString())&&void 0!==ri?ri:""),ai=Symbol.for(""),si=t=>{if(t?.r===ai)return t?._$litStatic$},li=t=>({_$litStatic$:t,r:ai}),ci=new Map,pi=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],s=[];let l,c=0,p=!1;for(;c<i;){for(l=o[c];c<i&&void 0!==(n=e[c],r=si(n));)l+=r+o[++c],p=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(o[i]),p){const t=a.join("$$lit$$");void 0===(o=ci.get(t))&&(a.raw=a,ci.set(t,o=a)),e=s}return t(o,...e)})(ot);
175
+ `;var Mi=Object.freeze({__proto__:null,noTextSelect:Bi,safariEllipsisFix:Di,wordWrap:_i}),Ki=Object.freeze({__proto__:null});var Pi=Object.freeze({__proto__:null,ParametrizedLabelResolver:class{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,r;t=this.resolvePluralKey(t,e);let i=null!==(r=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==r?r:"";return e.forEach(((t,e)=>i=i.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),i}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}});class Zi{constructor(){this.queue=[]}add(t,e=!1){e&&(this.queue=this.queue.filter((e=>e.type!==t.type))),this.queue.push(t)}consume(t){const e=this.queue.find((e=>e.type===t));return e&&(this.queue=this.queue.filter((t=>t!==e))),e}}function Hi(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Ti,Vi,Gi;const qi=Symbol("internalReduxEventsUnsubscribers"),Yi=Symbol("internalStoresUnsubscribers"),Ji=Symbol("internalStores");class Xi extends Ri{constructor(){super(...arguments),this[Ti]=new Map,this[Vi]=new Map,this[Gi]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[Ji].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ji].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Ji].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Hi(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Ji].delete(e)}setupStore(t,e){this[Ji].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ji].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[Yi].has(t.store):this[Yi].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[Yi].set(t,e.subscribe((()=>this.updateFromStores()))),Hi(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const r=t=>this[o](t);e.eventBus.addEventListener(t.eventName,r),this[qi].push((()=>e.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Yi].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[qi].forEach((t=>t())),this[qi]=[]}unsubscribeFromStore(t){this[Yi].has(t)&&this[Yi].get(t)(),this[Yi].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Qi(t){for(var e=arguments.length,o=Array(e>1?e-1:0),r=1;r<e;r++)o[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function tn(t){return!!t&&!!t[Mn]}function en(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===Kn}(t)||Array.isArray(t)||!!t[Dn]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Dn])||ln(t)||cn(t))}function on(t,e,o){void 0===o&&(o=!1),0===rn(t)?(o?Object.keys:Pn)(t).forEach((function(r){o&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(o,r){return e(r,o,t)}))}function rn(t){var e=t[Mn];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:ln(t)?2:cn(t)?3:0}function nn(t,e){return 2===rn(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function an(t,e,o){var r=rn(t);2===r?t.set(e,o):3===r?t.add(o):t[e]=o}function sn(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function ln(t){return An&&t instanceof Map}function cn(t){return jn&&t instanceof Set}function fn(t){return t.o||t.t}function pn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Zn(t);delete e[Mn];for(var o=Pn(e),r=0;r<o.length;r++){var i=o[r],n=e[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function hn(t,e){return void 0===e&&(e=!1),un(t)||tn(t)||!en(t)||(rn(t)>1&&(t.set=t.add=t.clear=t.delete=dn),Object.freeze(t),e&&on(t,(function(t,e){return hn(e,!0)}),!0)),t}function dn(){Qi(2)}function un(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function yn(t){var e=Hn[t];return e||Qi(18,t),e}function gn(){return Fn}function bn(t,e){e&&(yn("Patches"),t.u=[],t.s=[],t.v=e)}function mn(t){vn(t),t.p.forEach(On),t.p=null}function vn(t){t===Fn&&(Fn=t.l)}function xn(t){return Fn={p:[],l:Fn,h:t,m:!0,_:0}}function On(t){var e=t[Mn];0===e.i||1===e.i?e.j():e.g=!0}function wn(t,e){e._=e.p.length;var o=e.p[0],r=void 0!==t&&t!==o;return e.h.O||yn("ES5").S(e,t,r),r?(o[Mn].P&&(mn(e),Qi(4)),en(t)&&(t=Sn(e,t),e.l||Cn(e,t)),e.u&&yn("Patches").M(o[Mn].t,t,e.u,e.s)):t=Sn(e,o,[]),mn(e),e.u&&e.v(e.u,e.s),t!==_n?t:void 0}function Sn(t,e,o){if(un(e))return e;var r=e[Mn];if(!r)return on(e,(function(i,n){return Nn(t,r,e,i,n,o)}),!0),e;if(r.A!==t)return e;if(!r.P)return Cn(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=pn(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),on(n,(function(e,n){return Nn(t,r,i,e,n,o,a)})),Cn(t,i,!1),o&&t.u&&yn("Patches").N(r,o,t.u,t.s)}return r.o}function Nn(t,e,o,r,i,n,a){if(tn(i)){var s=Sn(t,i,n&&e&&3!==e.i&&!nn(e.R,r)?n.concat(r):void 0);if(an(o,r,s),!tn(s))return;t.m=!1}else a&&o.add(i);if(en(i)&&!un(i)){if(!t.h.D&&t._<1)return;Sn(t,i),e&&e.A.l||Cn(t,i)}}function Cn(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&hn(e,o)}function $n(t,e){var o=t[Mn];return(o?fn(o):t)[e]}function kn(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var r=Object.getOwnPropertyDescriptor(o,e);if(r)return r;o=Object.getPrototypeOf(o)}}function En(t){t.P||(t.P=!0,t.l&&En(t.l))}function Rn(t){t.o||(t.o=pn(t.t))}function In(t,e,o){var r=ln(e)?yn("MapSet").F(e,o):cn(e)?yn("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),r={i:o?1:0,A:e?e.A:gn(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},i=r,n=Tn;o&&(i=[r],n=Vn);var a=Proxy.revocable(i,n),s=a.revoke,l=a.proxy;return r.k=l,r.j=s,l}(e,o):yn("ES5").J(e,o);return(o?o.A:gn()).p.push(r),r}function Ln(t){return tn(t)||Qi(22,t),function t(e){if(!en(e))return e;var o,r=e[Mn],i=rn(e);if(r){if(!r.P&&(r.i<4||!yn("ES5").K(r)))return r.t;r.I=!0,o=Un(e,i),r.I=!1}else o=Un(e,i);return on(o,(function(e,i){r&&function(t,e){return 2===rn(t)?t.get(e):t[e]}(r.t,e)===i||an(o,e,t(i))})),3===i?new Set(o):o}(t)}function Un(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return pn(t)}Ti=Yi,Vi=Ji,Gi=qi,Xi.reduxProperties=new Map,Xi.reduxReactiveProperties=new Set,Xi.reduxEventListeners=new Map;var Wn,Fn,zn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),An="undefined"!=typeof Map,jn="undefined"!=typeof Set,Bn="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,_n=zn?Symbol.for("immer-nothing"):((Wn={})["immer-nothing"]=!0,Wn),Dn=zn?Symbol.for("immer-draftable"):"__$immer_draftable",Mn=zn?Symbol.for("immer-state"):"__$immer_state",Kn=""+Object.prototype.constructor,Pn="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Zn=Object.getOwnPropertyDescriptors||function(t){var e={};return Pn(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Hn={},Tn={get:function(t,e){if(e===Mn)return t;var o=fn(t);if(!nn(o,e))return function(t,e,o){var r,i=kn(e,o);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,o,e);var r=o[e];return t.I||!en(r)?r:r===$n(t.t,e)?(Rn(t),t.o[e]=In(t.A.h,r,t)):r},has:function(t,e){return e in fn(t)},ownKeys:function(t){return Reflect.ownKeys(fn(t))},set:function(t,e,o){var r=kn(fn(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,o),!0;if(!t.P){var i=$n(fn(t),e),n=null==i?void 0:i[Mn];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(sn(o,i)&&(void 0!==o||nn(t.t,e)))return!0;Rn(t),En(t)}return t.o[e]===o&&(void 0!==o||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==$n(t.t,e)||e in t.t?(t.R[e]=!1,Rn(t),En(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=fn(t),r=Reflect.getOwnPropertyDescriptor(o,e);return r?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:r.enumerable,value:o[e]}:r},defineProperty:function(){Qi(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Qi(12)}},Vn={};on(Tn,(function(t,e){Vn[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Vn.deleteProperty=function(t,e){return Vn.set.call(this,t,e,void 0)},Vn.set=function(t,e,o){return Tn.set.call(this,t[0],e,o,t[0])};var Gn=function(){function t(t){var e=this;this.O=Bn,this.D=!0,this.produce=function(t,o,r){if("function"==typeof t&&"function"!=typeof o){var i=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var r;return(r=o).call.apply(r,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&Qi(6),void 0!==r&&"function"!=typeof r&&Qi(7),en(t)){var s=xn(e),l=In(e,t,void 0),c=!0;try{a=o(l),c=!1}finally{c?mn(s):vn(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return bn(s,r),wn(t,s)}),(function(t){throw mn(s),t})):(bn(s,r),wn(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===_n&&(a=void 0),e.D&&hn(a,!0),r){var f=[],p=[];yn("Patches").M(t,a,f,p),r(f,p)}return a}Qi(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(i))}))};var r,i,n=e.produce(t,o,(function(t,e){r=t,i=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,r,i]})):[n,r,i]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){en(t)||Qi(8),tn(t)&&(t=Ln(t));var e=xn(this),o=In(this,t,void 0);return o[Mn].C=!0,vn(e),o},e.finishDraft=function(t,e){var o=(t&&t[Mn]).A;return bn(o,e),wn(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Bn&&Qi(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var r=e[o];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}o>-1&&(e=e.slice(o+1));var i=yn("Patches").$;return tn(t)?i(t,e):this.produce(t,(function(t){return i(t,e)}))},t}(),qn=new Gn,Yn=qn.produce;function Jn(t){return Jn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jn(t)}function Xn(t){var e=function(t,e){if("object"!==Jn(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!==Jn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Jn(e)?e:String(e)}function Qn(t,e,o){return(e=Xn(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function ta(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,r)}return o}function ea(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?ta(Object(o),!0).forEach((function(e){Qn(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):ta(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function oa(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}qn.produceWithPatches.bind(qn),qn.setAutoFreeze.bind(qn),qn.setUseProxies.bind(qn),qn.applyPatches.bind(qn),qn.createDraft.bind(qn),qn.finishDraft.bind(qn);var ra="function"==typeof Symbol&&Symbol.observable||"@@observable",ia=function(){return Math.random().toString(36).substring(7).split("").join(".")},na={INIT:"@@redux/INIT"+ia(),REPLACE:"@@redux/REPLACE"+ia(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ia()}};function aa(t,e,o){var r;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(oa(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(oa(1));return o(aa)(t,e)}if("function"!=typeof t)throw new Error(oa(2));var i=t,n=e,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function f(){if(l)throw new Error(oa(3));return n}function p(t){if("function"!=typeof t)throw new Error(oa(4));if(l)throw new Error(oa(5));var e=!0;return c(),s.push(t),function(){if(e){if(l)throw new Error(oa(6));e=!1,c();var o=s.indexOf(t);s.splice(o,1),a=null}}}function h(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(oa(7));if(void 0===t.type)throw new Error(oa(8));if(l)throw new Error(oa(9));try{l=!0,n=i(n,t)}finally{l=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return h({type:na.INIT}),(r={dispatch:h,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(oa(10));i=t,h({type:na.REPLACE})}})[ra]=function(){var t,e=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(oa(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[ra]=function(){return this},t},r}function sa(t){for(var e=Object.keys(t),o={},r=0;r<e.length;r++){var i=e[r];"function"==typeof t[i]&&(o[i]=t[i])}var n,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:na.INIT}))throw new Error(oa(12));if(void 0===o(void 0,{type:na.PROBE_UNKNOWN_ACTION()}))throw new Error(oa(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},s=0;s<a.length;s++){var l=a[s],c=o[l],f=t[l],p=c(f,e);if(void 0===p)throw e&&e.type,new Error(oa(14));i[l]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function la(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function ca(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),r=function(){throw new Error(oa(15))},i={getState:o.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=e.map((function(t){return t(i)}));return r=la.apply(void 0,n)(o.dispatch),ea(ea({},o),{},{dispatch:r})}}}function fa(t){return function(e){var o=e.dispatch,r=e.getState;return function(e){return function(i){return"function"==typeof i?i(o,r,t):e(i)}}}}var pa=fa();pa.withExtraArgument=fa;var ha,da=pa,ua=(ha=function(t,e){return ha=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},ha(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}ha(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),ya=function(t,e){var o,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],r=0}finally{o=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},ga=function(t,e){for(var o=0,r=e.length,i=t.length;o<r;o++,i++)t[i]=e[o];return t},ba=Object.defineProperty,ma=Object.defineProperties,va=Object.getOwnPropertyDescriptors,xa=Object.getOwnPropertySymbols,Oa=Object.prototype.hasOwnProperty,wa=Object.prototype.propertyIsEnumerable,Sa=function(t,e,o){return e in t?ba(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Na=function(t,e){for(var o in e||(e={}))Oa.call(e,o)&&Sa(t,o,e[o]);if(xa)for(var r=0,i=xa(e);r<i.length;r++){o=i[r];wa.call(e,o)&&Sa(t,o,e[o])}return t},Ca=function(t,e){return ma(t,va(e))},$a="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?la:la.apply(null,arguments)};var ka=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return ua(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,ga([void 0],t[0].concat(this)))):new(e.bind.apply(e,ga([void 0],t.concat(this))))},e}(Array),Ea=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return ua(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,ga([void 0],t[0].concat(this)))):new(e.bind.apply(e,ga([void 0],t.concat(this))))},e}(Array);function Ra(t){return en(t)?Yn(t,(function(){})):t}function Ia(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var r=new ka;o&&(!function(t){return"boolean"==typeof t}(o)?r.push(da.withExtraArgument(o.extraArgument)):r.push(da));return r}(t)}}function La(t){var e,o=Ia(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?o():a,l=r.devTools,c=void 0===l||l,f=r.preloadedState,p=void 0===f?void 0:f,h=r.enhancers,d=void 0===h?void 0:h;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=sa(n)}var u=s;"function"==typeof u&&(u=u(o));var y=ca.apply(void 0,u),g=la;c&&(g=$a(Na({trace:!1},"object"==typeof c&&c)));var b=new Ea(y),m=b;return Array.isArray(d)?m=ga([y],d):"function"==typeof d&&(m=d(b)),aa(e,p,g.apply(void 0,m))}function Ua(t,e){function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(e){var i=e.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return Na(Na({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function Wa(t){var e,o={},r=[],i={addCase:function(t,e){var r="string"==typeof t?t:t.type;if(r in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[r]=e,i},addMatcher:function(t,e){return r.push({matcher:t,reducer:e}),i},addDefaultCase:function(t){return e=t,i}};return t(i),[o,r,e]}function Fa(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,r="function"==typeof t.initialState?t.initialState:Ra(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},l={};function c(){var e="function"==typeof t.extraReducers?Wa(t.extraReducers):[t.extraReducers],o=e[0],i=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,l=e[2],c=void 0===l?void 0:l,f=Na(Na({},i),s);return function(t,e,o,r){void 0===o&&(o=[]);var i,n="function"==typeof e?Wa(e):[e,o,r],a=n[0],s=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Ra(t())};else{var c=Ra(t);i=function(){return c}}function f(t,e){void 0===t&&(t=i());var o=ga([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[l]),o.reduce((function(t,o){if(o){var r;if(tn(t))return void 0===(r=o(t,e))?t:r;if(en(t))return Yn(t,(function(t){return o(t,e)}));if(void 0===(r=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=i,f}(r,(function(t){for(var e in f)t.addCase(e,f[e]);for(var o=0,r=a;o<r.length;o++){var i=r[o];t.addMatcher(i.matcher,i.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var o,r,n=i[t],c=e+"/"+t;"reducer"in n?(o=n.reducer,r=n.prepare):o=n,a[t]=o,s[c]=o,l[t]=r?Ua(c,r):Ua(c)})),{name:e,reducer:function(t,e){return o||(o=c()),o(t,e)},actions:l,caseReducers:a,getInitialState:function(){return o||(o=c()),o.getInitialState()}}}var za=["name","message","stack","code"],Aa=function(t,e){this.payload=t,this.meta=e},ja=function(t,e){this.payload=t,this.meta=e},Ba=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,r=za;o<r.length;o++){var i=r[o];"string"==typeof t[i]&&(e[i]=t[i])}return e}return{message:String(t)}};function _a(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var r=Ua(t+"/fulfilled",(function(t,e,o,r){return{payload:t,meta:Ca(Na({},r||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),i=Ua(t+"/pending",(function(t,e,o){return{payload:void 0,meta:Ca(Na({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Ua(t+"/rejected",(function(t,e,r,i,n){return{payload:i,error:(o&&o.serializeError||Ba)(t||"Rejected"),meta:Ca(Na({},n||{}),{arg:r,requestId:e,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,l,c){var f,p=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),h=new a;function d(t){f=t,h.abort()}var u=function(){return a=this,u=null,y=function(){var a,u,y,g,b,m;return ya(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:l,extra:c}),null===(x=g)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||h.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return h.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(i(p,t,null==(u=null==o?void 0:o.getPendingMeta)?void 0:u.call(o,{requestId:p,arg:t},{getState:l,extra:c}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:s,getState:l,extra:c,requestId:p,signal:h.signal,abort:d,rejectWithValue:function(t,e){return new Aa(t,e)},fulfillWithValue:function(t,e){return new ja(t,e)}})).then((function(e){if(e instanceof Aa)throw e;return e instanceof ja?r(e.payload,p,t,e.meta):r(e,p,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Aa?n(null,p,t,m.payload,m.meta):n(m,p,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var x}))},new Promise((function(t,e){var o=function(t){try{i(y.next(t))}catch(t){e(t)}},r=function(t){try{i(y.throw(t))}catch(t){e(t)}},i=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,r)};i((y=y.apply(a,u)).next())}));var a,u,y}();return Object.assign(u,{abort:d,requestId:p,arg:t,unwrap:function(){return u.then(_a)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Da="listenerMiddleware";Ua(Da+"/add"),Ua(Da+"/removeAll"),Ua(Da+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=i[t];return o?o.enumerable=e:i[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[Mn];return Tn.get(e,t)},set:function(e){var o=this[Mn];Tn.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var i=t[e][Mn];if(!i.P)switch(i.i){case 5:r(i)&&En(i);break;case 4:o(i)&&En(i)}}}function o(t){for(var e=t.t,o=t.k,r=Pn(o),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Mn){var a=e[n];if(void 0===a&&!nn(e,n))return!0;var s=o[n],l=s&&s[Mn];if(l?l.t!==a:!sn(s,a))return!0}}var c=!!e[Mn];return r.length!==Pn(e).length+(c?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var r=0;r<e.length;r++)if(!e.hasOwnProperty(r))return!0;return!1}var i={};!function(t,e){Hn[t]||(Hn[t]=e)}("ES5",{J:function(e,o){var r=Array.isArray(e),i=function(e,o){if(e){for(var r=Array(o.length),i=0;i<o.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=Zn(o);delete n[Mn];for(var a=Pn(n),s=0;s<a.length;s++){var l=a[s];n[l]=t(l,e||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(r,e),n={i:r?5:4,A:o?o.A:gn(),P:!1,I:!1,R:{},l:o,t:e,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Mn,{value:n,writable:!0}),i},S:function(t,o,i){i?tn(o)&&o[Mn].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[Mn];if(o){var i=o.t,n=o.k,a=o.R,s=o.i;if(4===s)on(n,(function(e){e!==Mn&&(void 0!==i[e]||nn(i,e)?a[e]||t(n[e]):(a[e]=!0,En(o)))})),on(i,(function(t){void 0!==n[t]||nn(n,t)||(a[t]=!1,En(o))}));else if(5===s){if(r(o)&&(En(o),a.length=!0),n.length<i.length)for(var l=n.length;l<i.length;l++)a[l]=!1;else for(var c=i.length;c<n.length;c++)a[c]=!0;for(var f=Math.min(n.length,i.length),p=0;p<f;p++)n.hasOwnProperty(p)||(a[p]=!0),void 0===a[p]&&t(n[p])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Ma{static get(t){var e;const o="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[o];if(Hi(i))return i;if(null==r)return;const n=Fa({...r,reducers:null!==(e=r.reducers)&&void 0!==e?e:{}}),a=La({reducer:(t,e)=>{var o;switch(e.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(o=e.overwrites)&&void 0!==o?o:{}};default:return n.reducer(t,e)}}});return window.ftReduxStores[r.name]=new Ma(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Zi,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const r=e,i=t[r];return i?(...t)=>{const e=i(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var Ka=Object.freeze({__proto__:null,FtCommandQueue:Zi,FtLitElementRedux:Xi,FtReduxStore:Ma,clearAllStores:function(){var t;for(let e of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))Hi(e)&&e.clear()},isFtReduxStore:Hi,redux:t=>{const e=null!=t?t:{};return(t,o)=>{var r;const i={hasChanged:(t,e)=>!uo(t,e),attribute:!1,...e};we(i)(t,o);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(o,{selector:null!==(r=e.selector)&&void 0!==r?r:t=>t[o],store:e.store})}},reduxEventListener:t=>(e,o)=>{const r=e.constructor;r.reduxEventListeners=new Map(r.reduxEventListeners),r.reduxEventListeners.set(o,t)},reduxReactive:()=>(t,e)=>{var o;const r=t.constructor;r.reduxReactiveProperties=new Set(r.reduxReactiveProperties),null===(o=r.reduxReactiveProperties)||void 0===o||o.add(e)}});var Pa=Object.freeze({__proto__:null,serializeRequest:function(t,e){var o;const r=new URLSearchParams({"content-lang":null!==(o=e.contentLocale)&&void 0!==o?o:"all",query:e.query});if(e.filters.length>0){const t=e.filters.map((t=>{const e=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${e}`})).join("*");r.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${r.toString()}`).href}});const Za=Symbol("elementInternals");function Ha(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Za].form}constructor(...t){super(t),this[Za]=this.attachInternals(),this[Za].role=e}setFormValue(t){this[Za].setFormValue(t)}}}var Ta,Va,Ga,qa,Ya=Object.freeze({__proto__:null,toFtFormComponent:Ha});const Ja=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ga=null===(Va=null===(Ta=window.safari)||void 0===Ta?void 0:Ta.pushNotification)||void 0===Va?void 0:Va.toString())&&void 0!==Ga?Ga:""),Xa="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(qa=window.ftGlobals)&&void 0!==qa?qa:{lit:ve,litDecorators:Le,litRepeat:Ze,litClassMap:Te,litStyleMap:Ye,litUnsafeHTML:Qe,wcUtils:{...io,...ro,...ao,...lo,...vo,...hr,...gr,...vi,...fr,...Ii,...Li,...yo,...ji,...Mi,...Ki,...Pi,...Ka,...Ni,...Pa,...Ya,isSafari:Ja,isTouchScreen:Xa}};
127
176
  /**
128
177
  * @license
129
178
  * Copyright 2020 Google LLC
130
179
  * SPDX-License-Identifier: BSD-3-Clause
131
- */var fi;!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"}(fi||(fi={}));const hi=ko.extend("--ft-typography-font-family","",Lo.titleFont),di=ko.extend("--ft-typography-font-family","",Lo.contentFont),ui={fontFamily:di,fontSize:ko.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:ko.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:ko.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:ko.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:ko.create("--ft-typography-text-transform","","UNKNOWN","inherit")},yi=ko.extend("--ft-typography-title-font-family","",hi),gi=ko.extend("--ft-typography-title-font-size","",ui.fontSize,"20px"),bi=ko.extend("--ft-typography-title-font-weight","",ui.fontWeight,"normal"),mi=ko.extend("--ft-typography-title-letter-spacing","",ui.letterSpacing,"0.15px"),xi=ko.extend("--ft-typography-title-line-height","",ui.lineHeight,"1.2"),vi=ko.extend("--ft-typography-title-text-transform","",ui.textTransform,"inherit"),Oi=ko.extend("--ft-typography-title-dense-font-family","",hi),Si=ko.extend("--ft-typography-title-dense-font-size","",ui.fontSize,"14px"),wi=ko.extend("--ft-typography-title-dense-font-weight","",ui.fontWeight,"normal"),Ni=ko.extend("--ft-typography-title-dense-letter-spacing","",ui.letterSpacing,"0.105px"),$i=ko.extend("--ft-typography-title-dense-line-height","",ui.lineHeight,"1.7"),Ci=ko.extend("--ft-typography-title-dense-text-transform","",ui.textTransform,"inherit"),ki=ko.extend("--ft-typography-subtitle1-font-family","",di),Ei=ko.extend("--ft-typography-subtitle1-font-size","",ui.fontSize,"16px"),Ri=ko.extend("--ft-typography-subtitle1-font-weight","",ui.fontWeight,"600"),Ui=ko.extend("--ft-typography-subtitle1-letter-spacing","",ui.letterSpacing,"0.144px"),Ii=ko.extend("--ft-typography-subtitle1-line-height","",ui.lineHeight,"1.5"),Wi=ko.extend("--ft-typography-subtitle1-text-transform","",ui.textTransform,"inherit"),Li=ko.extend("--ft-typography-subtitle2-font-family","",di),zi=ko.extend("--ft-typography-subtitle2-font-size","",ui.fontSize,"14px"),Ki=ko.extend("--ft-typography-subtitle2-font-weight","",ui.fontWeight,"normal"),Fi=ko.extend("--ft-typography-subtitle2-letter-spacing","",ui.letterSpacing,"0.098px"),Di=ko.extend("--ft-typography-subtitle2-line-height","",ui.lineHeight,"1.7"),Zi=ko.extend("--ft-typography-subtitle2-text-transform","",ui.textTransform,"inherit"),Bi=ko.extend("--ft-typography-body1-font-family","",di),Ai=ko.extend("--ft-typography-body1-font-size","",ui.fontSize,"16px"),Mi=ko.extend("--ft-typography-body1-font-weight","",ui.fontWeight,"normal"),Hi=ko.extend("--ft-typography-body1-letter-spacing","",ui.letterSpacing,"0.496px"),Pi=ko.extend("--ft-typography-body1-line-height","",ui.lineHeight,"1.5"),ji=ko.extend("--ft-typography-body1-text-transform","",ui.textTransform,"inherit"),Ti={fontFamily:ko.extend("--ft-typography-body2-font-family","",di),fontSize:ko.extend("--ft-typography-body2-font-size","",ui.fontSize,"14px"),fontWeight:ko.extend("--ft-typography-body2-font-weight","",ui.fontWeight,"normal"),letterSpacing:ko.extend("--ft-typography-body2-letter-spacing","",ui.letterSpacing,"0.252px"),lineHeight:ko.extend("--ft-typography-body2-line-height","",ui.lineHeight,"1.4"),textTransform:ko.extend("--ft-typography-body2-text-transform","",ui.textTransform,"inherit")},_i=ko.extend("--ft-typography-caption-font-family","",di),Gi=ko.extend("--ft-typography-caption-font-size","",ui.fontSize,"12px"),Vi=ko.extend("--ft-typography-caption-font-weight","",ui.fontWeight,"normal"),Yi=ko.extend("--ft-typography-caption-letter-spacing","",ui.letterSpacing,"0.396px"),Ji=ko.extend("--ft-typography-caption-line-height","",ui.lineHeight,"1.33"),qi=ko.extend("--ft-typography-caption-text-transform","",ui.textTransform,"inherit"),Xi=ko.extend("--ft-typography-breadcrumb-font-family","",di),Qi=ko.extend("--ft-typography-breadcrumb-font-size","",ui.fontSize,"10px"),tr=ko.extend("--ft-typography-breadcrumb-font-weight","",ui.fontWeight,"normal"),or=ko.extend("--ft-typography-breadcrumb-letter-spacing","",ui.letterSpacing,"0.33px"),er=ko.extend("--ft-typography-breadcrumb-line-height","",ui.lineHeight,"1.6"),ir=ko.extend("--ft-typography-breadcrumb-text-transform","",ui.textTransform,"inherit"),rr=ko.extend("--ft-typography-overline-font-family","",di),nr=ko.extend("--ft-typography-overline-font-size","",ui.fontSize,"10px"),ar=ko.extend("--ft-typography-overline-font-weight","",ui.fontWeight,"normal"),sr=ko.extend("--ft-typography-overline-letter-spacing","",ui.letterSpacing,"1.5px"),lr=ko.extend("--ft-typography-overline-line-height","",ui.lineHeight,"1.6"),cr=ko.extend("--ft-typography-overline-text-transform","",ui.textTransform,"uppercase"),pr={fontFamily:ko.extend("--ft-typography-button-font-family","",di),fontSize:ko.extend("--ft-typography-button-font-size","",ui.fontSize,"14px"),fontWeight:ko.extend("--ft-typography-button-font-weight","",ui.fontWeight,"600"),letterSpacing:ko.extend("--ft-typography-button-letter-spacing","",ui.letterSpacing,"1.246px"),lineHeight:ko.extend("--ft-typography-button-line-height","",ui.lineHeight,"1.15"),textTransform:ko.extend("--ft-typography-button-text-transform","",ui.textTransform,"uppercase")},fr=$t`
180
+ */
181
+ const Qa=Symbol.for(""),ts=t=>{if(t?.r===Qa)return t?._$litStatic$},es=t=>({_$litStatic$:t,r:Qa}),os=new Map,rs=(t=>(e,...o)=>{const r=o.length;let i,n;const a=[],s=[];let l,c=0,f=!1;for(;c<r;){for(l=e[c];c<r&&void 0!==(n=o[c],i=ts(n));)l+=i+e[++c],f=!0;c!==r&&s.push(n),a.push(l),c++}if(c===r&&a.push(e[r]),f){const t=a.join("$$lit$$");void 0===(e=os.get(t))&&(a.raw=a,os.set(t,e=a)),o=s}return t(e,...o)})(K);var is;!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"}(is||(is={}));const ns=Oo.extend("--ft-typography-font-family","",pr.titleFont),as=Oo.extend("--ft-typography-font-family","",pr.contentFont),ss={fontFamily:as,fontSize:Oo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Oo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Oo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Oo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Oo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ls=Oo.extend("--ft-typography-title-font-family","",ns),cs=Oo.extend("--ft-typography-title-font-size","",ss.fontSize,"20px"),fs=Oo.extend("--ft-typography-title-font-weight","",ss.fontWeight,"normal"),ps=Oo.extend("--ft-typography-title-letter-spacing","",ss.letterSpacing,"0.15px"),hs=Oo.extend("--ft-typography-title-line-height","",ss.lineHeight,"1.2"),ds=Oo.extend("--ft-typography-title-text-transform","",ss.textTransform,"inherit"),us=Oo.extend("--ft-typography-title-dense-font-family","",ns),ys=Oo.extend("--ft-typography-title-dense-font-size","",ss.fontSize,"14px"),gs=Oo.extend("--ft-typography-title-dense-font-weight","",ss.fontWeight,"normal"),bs=Oo.extend("--ft-typography-title-dense-letter-spacing","",ss.letterSpacing,"0.105px"),ms=Oo.extend("--ft-typography-title-dense-line-height","",ss.lineHeight,"1.7"),vs=Oo.extend("--ft-typography-title-dense-text-transform","",ss.textTransform,"inherit"),xs=Oo.extend("--ft-typography-subtitle1-font-family","",as),Os=Oo.extend("--ft-typography-subtitle1-font-size","",ss.fontSize,"16px"),ws=Oo.extend("--ft-typography-subtitle1-font-weight","",ss.fontWeight,"600"),Ss=Oo.extend("--ft-typography-subtitle1-letter-spacing","",ss.letterSpacing,"0.144px"),Ns=Oo.extend("--ft-typography-subtitle1-line-height","",ss.lineHeight,"1.5"),Cs=Oo.extend("--ft-typography-subtitle1-text-transform","",ss.textTransform,"inherit"),$s=Oo.extend("--ft-typography-subtitle2-font-family","",as),ks=Oo.extend("--ft-typography-subtitle2-font-size","",ss.fontSize,"14px"),Es=Oo.extend("--ft-typography-subtitle2-font-weight","",ss.fontWeight,"normal"),Rs=Oo.extend("--ft-typography-subtitle2-letter-spacing","",ss.letterSpacing,"0.098px"),Is=Oo.extend("--ft-typography-subtitle2-line-height","",ss.lineHeight,"1.7"),Ls=Oo.extend("--ft-typography-subtitle2-text-transform","",ss.textTransform,"inherit"),Us=Oo.extend("--ft-typography-body1-font-family","",as),Ws=Oo.extend("--ft-typography-body1-font-size","",ss.fontSize,"16px"),Fs=Oo.extend("--ft-typography-body1-font-weight","",ss.fontWeight,"normal"),zs=Oo.extend("--ft-typography-body1-letter-spacing","",ss.letterSpacing,"0.496px"),As=Oo.extend("--ft-typography-body1-line-height","",ss.lineHeight,"1.5"),js=Oo.extend("--ft-typography-body1-text-transform","",ss.textTransform,"inherit"),Bs={fontFamily:Oo.extend("--ft-typography-body2-font-family","",as),fontSize:Oo.extend("--ft-typography-body2-font-size","",ss.fontSize,"14px"),fontWeight:Oo.extend("--ft-typography-body2-font-weight","",ss.fontWeight,"normal"),letterSpacing:Oo.extend("--ft-typography-body2-letter-spacing","",ss.letterSpacing,"0.252px"),lineHeight:Oo.extend("--ft-typography-body2-line-height","",ss.lineHeight,"1.4"),textTransform:Oo.extend("--ft-typography-body2-text-transform","",ss.textTransform,"inherit")},_s=Oo.extend("--ft-typography-caption-font-family","",as),Ds=Oo.extend("--ft-typography-caption-font-size","",ss.fontSize,"12px"),Ms=Oo.extend("--ft-typography-caption-font-weight","",ss.fontWeight,"normal"),Ks=Oo.extend("--ft-typography-caption-letter-spacing","",ss.letterSpacing,"0.396px"),Ps=Oo.extend("--ft-typography-caption-line-height","",ss.lineHeight,"1.33"),Zs=Oo.extend("--ft-typography-caption-text-transform","",ss.textTransform,"inherit"),Hs=Oo.extend("--ft-typography-breadcrumb-font-family","",as),Ts=Oo.extend("--ft-typography-breadcrumb-font-size","",ss.fontSize,"10px"),Vs=Oo.extend("--ft-typography-breadcrumb-font-weight","",ss.fontWeight,"normal"),Gs=Oo.extend("--ft-typography-breadcrumb-letter-spacing","",ss.letterSpacing,"0.33px"),qs=Oo.extend("--ft-typography-breadcrumb-line-height","",ss.lineHeight,"1.6"),Ys=Oo.extend("--ft-typography-breadcrumb-text-transform","",ss.textTransform,"inherit"),Js=Oo.extend("--ft-typography-overline-font-family","",as),Xs=Oo.extend("--ft-typography-overline-font-size","",ss.fontSize,"10px"),Qs=Oo.extend("--ft-typography-overline-font-weight","",ss.fontWeight,"normal"),tl=Oo.extend("--ft-typography-overline-letter-spacing","",ss.letterSpacing,"1.5px"),el=Oo.extend("--ft-typography-overline-line-height","",ss.lineHeight,"1.6"),ol=Oo.extend("--ft-typography-overline-text-transform","",ss.textTransform,"uppercase"),rl={fontFamily:Oo.extend("--ft-typography-button-font-family","",as),fontSize:Oo.extend("--ft-typography-button-font-size","",ss.fontSize,"14px"),fontWeight:Oo.extend("--ft-typography-button-font-weight","",ss.fontWeight,"600"),letterSpacing:Oo.extend("--ft-typography-button-letter-spacing","",ss.letterSpacing,"1.246px"),lineHeight:Oo.extend("--ft-typography-button-line-height","",ss.lineHeight,"1.15"),textTransform:Oo.extend("--ft-typography-button-text-transform","",ss.textTransform,"uppercase")},il=ht`
132
182
  .ft-typography--title {
133
- font-family: ${yi};
134
- font-size: ${gi};
135
- font-weight: ${bi};
136
- letter-spacing: ${mi};
137
- line-height: ${xi};
138
- text-transform: ${vi};
139
- }
140
- `,hr=$t`
183
+ font-family: ${ls};
184
+ font-size: ${cs};
185
+ font-weight: ${fs};
186
+ letter-spacing: ${ps};
187
+ line-height: ${hs};
188
+ text-transform: ${ds};
189
+ }
190
+ `,nl=ht`
141
191
  .ft-typography--title-dense {
142
- font-family: ${Oi};
143
- font-size: ${Si};
144
- font-weight: ${wi};
145
- letter-spacing: ${Ni};
146
- line-height: ${$i};
147
- text-transform: ${Ci};
148
- }
149
- `,dr=$t`
192
+ font-family: ${us};
193
+ font-size: ${ys};
194
+ font-weight: ${gs};
195
+ letter-spacing: ${bs};
196
+ line-height: ${ms};
197
+ text-transform: ${vs};
198
+ }
199
+ `,al=ht`
150
200
  .ft-typography--subtitle1 {
151
- font-family: ${ki};
152
- font-size: ${Ei};
153
- font-weight: ${Ri};
154
- letter-spacing: ${Ui};
155
- line-height: ${Ii};
156
- text-transform: ${Wi};
157
- }
158
- `,ur=$t`
201
+ font-family: ${xs};
202
+ font-size: ${Os};
203
+ font-weight: ${ws};
204
+ letter-spacing: ${Ss};
205
+ line-height: ${Ns};
206
+ text-transform: ${Cs};
207
+ }
208
+ `,sl=ht`
159
209
  .ft-typography--subtitle2 {
160
- font-family: ${Li};
161
- font-size: ${zi};
162
- font-weight: ${Ki};
163
- letter-spacing: ${Fi};
164
- line-height: ${Di};
165
- text-transform: ${Zi};
210
+ font-family: ${$s};
211
+ font-size: ${ks};
212
+ font-weight: ${Es};
213
+ letter-spacing: ${Rs};
214
+ line-height: ${Is};
215
+ text-transform: ${Ls};
166
216
  }
167
217
 
168
- `,yr=$t`
218
+ `,ll=ht`
169
219
  .ft-typography--body1 {
170
- font-family: ${Bi};
171
- font-size: ${Ai};
172
- font-weight: ${Mi};
173
- letter-spacing: ${Hi};
174
- line-height: ${Pi};
175
- text-transform: ${ji};
176
- }
177
- `,gr=$t`
220
+ font-family: ${Us};
221
+ font-size: ${Ws};
222
+ font-weight: ${Fs};
223
+ letter-spacing: ${zs};
224
+ line-height: ${As};
225
+ text-transform: ${js};
226
+ }
227
+ `,cl=ht`
178
228
  .ft-typography--body2 {
179
- font-family: ${Ti.fontFamily};
180
- font-size: ${Ti.fontSize};
181
- font-weight: ${Ti.fontWeight};
182
- letter-spacing: ${Ti.letterSpacing};
183
- line-height: ${Ti.lineHeight};
184
- text-transform: ${Ti.textTransform};
185
- }
186
- `,br=$t`
229
+ font-family: ${Bs.fontFamily};
230
+ font-size: ${Bs.fontSize};
231
+ font-weight: ${Bs.fontWeight};
232
+ letter-spacing: ${Bs.letterSpacing};
233
+ line-height: ${Bs.lineHeight};
234
+ text-transform: ${Bs.textTransform};
235
+ }
236
+ `,fl=ht`
187
237
  .ft-typography--caption {
188
- font-family: ${_i};
189
- font-size: ${Gi};
190
- font-weight: ${Vi};
191
- letter-spacing: ${Yi};
192
- line-height: ${Ji};
193
- text-transform: ${qi};
194
- }
195
- `,mr=$t`
238
+ font-family: ${_s};
239
+ font-size: ${Ds};
240
+ font-weight: ${Ms};
241
+ letter-spacing: ${Ks};
242
+ line-height: ${Ps};
243
+ text-transform: ${Zs};
244
+ }
245
+ `,pl=ht`
196
246
  .ft-typography--breadcrumb {
197
- font-family: ${Xi};
198
- font-size: ${Qi};
199
- font-weight: ${tr};
200
- letter-spacing: ${or};
201
- line-height: ${er};
202
- text-transform: ${ir};
203
- }
204
- `,xr=$t`
247
+ font-family: ${Hs};
248
+ font-size: ${Ts};
249
+ font-weight: ${Vs};
250
+ letter-spacing: ${Gs};
251
+ line-height: ${qs};
252
+ text-transform: ${Ys};
253
+ }
254
+ `,hl=ht`
205
255
  .ft-typography--overline {
206
- font-family: ${rr};
207
- font-size: ${nr};
208
- font-weight: ${ar};
209
- letter-spacing: ${sr};
210
- line-height: ${lr};
211
- text-transform: ${cr};
212
- }
213
- `,vr=$t`
256
+ font-family: ${Js};
257
+ font-size: ${Xs};
258
+ font-weight: ${Qs};
259
+ letter-spacing: ${tl};
260
+ line-height: ${el};
261
+ text-transform: ${ol};
262
+ }
263
+ `,dl=ht`
214
264
  .ft-typography--button {
215
- font-family: ${pr.fontFamily};
216
- font-size: ${pr.fontSize};
217
- font-weight: ${pr.fontWeight};
218
- letter-spacing: ${pr.letterSpacing};
219
- line-height: ${pr.lineHeight};
220
- text-transform: ${pr.textTransform};
221
- }
222
- `,Or=$t`
265
+ font-family: ${rl.fontFamily};
266
+ font-size: ${rl.fontSize};
267
+ font-weight: ${rl.fontWeight};
268
+ letter-spacing: ${rl.letterSpacing};
269
+ line-height: ${rl.lineHeight};
270
+ text-transform: ${rl.textTransform};
271
+ }
272
+ `,ul=ht`
223
273
  .ft-typography {
224
274
  vertical-align: inherit;
225
275
  }
226
- `,Sr=[Object.keys(Uo).map((t=>function(t){const o=Uo[t];return $t`
227
- .ft-typography--${Nt(t)} {
228
- font-family: ${o.fontFamily};
229
- font-size: ${o.fontSize};
230
- font-weight: ${o.fontWeight};
231
- letter-spacing: ${o.letterSpacing};
232
- line-height: ${o.lineHeight};
233
- text-transform: ${o.textCase};
234
- }
235
- `}(t)))];var wr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Nr extends Pe{constructor(){super(...arguments),this.variant=fi.body1}render(){return this.element?pi`
236
- <${li(this.element)}
276
+ `,yl=[Object.keys(qo).map((t=>function(t){const e=qo[t];return ht`
277
+ .ft-typography--${pt(t)} {
278
+ font-family: ${e.fontFamily};
279
+ font-size: ${e.fontSize};
280
+ font-weight: ${e.fontWeight};
281
+ letter-spacing: ${e.letterSpacing};
282
+ line-height: ${e.lineHeight};
283
+ text-transform: ${e.textCase};
284
+ }
285
+ `}(t)))];var gl=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class bl extends Ri{constructor(){super(...arguments),this.variant=is.body1}render(){return this.element?rs`
286
+ <${es(this.element)}
237
287
  class="ft-typography ft-typography--${this.variant}">
238
288
  <slot></slot>
239
- </${li(this.element)}>
240
- `:pi`
289
+ </${es(this.element)}>
290
+ `:rs`
241
291
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
242
- `}}Nr.styles=[fr,hr,dr,ur,yr,gr,br,mr,xr,vr,Or,...Sr],wr([$()],Nr.prototype,"element",void 0),wr([$()],Nr.prototype,"variant",void 0),L("ft-typography")(Nr);
243
- /**
244
- * @license
245
- * Copyright 2017 Google LLC
246
- * SPDX-License-Identifier: BSD-3-Clause
247
- */
248
- const $r=1,Cr=2,kr=t=>(...o)=>({_$litDirective$:t,values:o});class Er{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)}}
249
- /**
250
- * @license
251
- * Copyright 2020 Google LLC
252
- * SPDX-License-Identifier: BSD-3-Clause
253
- */const{D:Rr}=bt,Ur=()=>document.createComment(""),Ir=(t,o,e)=>{const i=t._$AA.parentNode,r=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=i.insertBefore(Ur(),r),n=i.insertBefore(Ur(),r);e=new Rr(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},Wr=(t,o,e=t)=>(t._$AI(o,e),t),Lr={},zr=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}},Kr=(t,o,e)=>{const i=new Map;for(let r=o;r<=e;r++)i.set(t[r],r);return i},Fr=kr(class extends Er{constructor(t){if(super(t),t.type!==Cr)throw Error("repeat() can only be used in text expressions")}ht(t,o,e){let i;void 0===e?e=o:void 0!==o&&(i=o);const r=[],n=[];let a=0;for(const o of t)r[a]=i?i(o,a):a,n[a]=e(o,a),a++;return{values:n,keys:r}}render(t,o,e){return this.ht(t,o,e).values}update(t,[o,e,i]){const r=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(o,e,i);if(!Array.isArray(r))return this.dt=a,n;const s=this.dt??=[],l=[];let c,p,f=0,h=r.length-1,d=0,u=n.length-1;for(;f<=h&&d<=u;)if(null===r[f])f++;else if(null===r[h])h--;else if(s[f]===a[d])l[d]=Wr(r[f],n[d]),f++,d++;else if(s[h]===a[u])l[u]=Wr(r[h],n[u]),h--,u--;else if(s[f]===a[u])l[u]=Wr(r[f],n[u]),Ir(t,l[u+1],r[f]),f++,u--;else if(s[h]===a[d])l[d]=Wr(r[h],n[d]),Ir(t,r[f],r[h]),h--,d++;else if(void 0===c&&(c=Kr(a,d,u),p=Kr(s,f,h)),c.has(s[f]))if(c.has(s[h])){const o=p.get(a[d]),e=void 0!==o?r[o]:null;if(null===e){const o=Ir(t,r[f]);Wr(o,n[d]),l[d]=o}else l[d]=Wr(e,n[d]),Ir(t,r[f],e),r[o]=null;d++}else zr(r[h]),h--;else zr(r[f]),f++;for(;d<=u;){const o=Ir(t,l[u+1]);Wr(o,n[d]),l[d++]=o}for(;f<=h;){const t=r[f++];null!==t&&zr(t)}return this.dt=a,((t,o=Lr)=>{t._$AH=o})(t,l),et}}),Dr=ko.extend("--ft-ripple-color","",Lo.colorContent),Zr={color:Dr,backgroundColor:ko.extend("--ft-ripple-background-color","",Dr),opacityContentOnSurfacePressed:ko.external(Lo.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ko.external(Lo.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ko.external(Lo.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ko.external(Lo.opacityContentOnSurfaceSelected,"Design system"),borderRadius:ko.create("--ft-ripple-border-radius","","SIZE","0px")},Br=ko.extend("--ft-ripple-color","",Lo.colorPrimary),Ar=Br,Mr=ko.extend("--ft-ripple-background-color","",Br),Hr=ko.extend("--ft-ripple-color","",Lo.colorSecondary),Pr=Hr,jr=ko.extend("--ft-ripple-background-color","",Hr),Tr=$t`
292
+ `}}bl.styles=[il,nl,al,sl,ll,cl,fl,pl,hl,dl,ul,...yl],gl([we()],bl.prototype,"element",void 0),gl([we()],bl.prototype,"variant",void 0),go("ft-typography")(bl);const ml=Oo.extend("--ft-ripple-color","",pr.colorContent),vl={color:ml,backgroundColor:Oo.extend("--ft-ripple-background-color","",ml),opacityContentOnSurfacePressed:Oo.external(pr.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Oo.external(pr.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Oo.external(pr.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Oo.external(pr.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Oo.create("--ft-ripple-border-radius","","SIZE","0px")},xl=Oo.extend("--ft-ripple-color","",pr.colorPrimary),Ol=xl,wl=Oo.extend("--ft-ripple-background-color","",xl),Sl=Oo.extend("--ft-ripple-color","",pr.colorSecondary),Nl=Sl,Cl=Oo.extend("--ft-ripple-background-color","",Sl),$l=ht`
254
293
  :host {
255
294
  display: contents;
256
295
  }
@@ -263,7 +302,7 @@ const $r=1,Cr=2,kr=t=>(...o)=>({_$litDirective$:t,values:o});class Er{constructo
263
302
 
264
303
  .ft-ripple:not(.ft-ripple--unbounded) {
265
304
  overflow: hidden;
266
- border-radius: ${Zr.borderRadius};
305
+ border-radius: ${vl.borderRadius};
267
306
  }
268
307
 
269
308
  .ft-ripple .ft-ripple--background,
@@ -297,27 +336,27 @@ const $r=1,Cr=2,kr=t=>(...o)=>({_$litDirective$:t,values:o});class Er{constructo
297
336
  }
298
337
 
299
338
  .ft-ripple .ft-ripple--background {
300
- background-color: ${Zr.backgroundColor};
339
+ background-color: ${vl.backgroundColor};
301
340
  }
302
341
 
303
342
  .ft-ripple .ft-ripple--effect {
304
- background-color: ${Zr.color};
343
+ background-color: ${vl.color};
305
344
  }
306
345
 
307
346
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
308
- background-color: ${jr};
347
+ background-color: ${Cl};
309
348
  }
310
349
 
311
350
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
312
- background-color: ${Pr};
351
+ background-color: ${Nl};
313
352
  }
314
353
 
315
354
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
316
- background-color: ${Mr};
355
+ background-color: ${wl};
317
356
  }
318
357
 
319
358
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
320
- background-color: ${Ar};
359
+ background-color: ${Ol};
321
360
  }
322
361
 
323
362
  .ft-ripple .ft-ripple--background {
@@ -347,22 +386,22 @@ const $r=1,Cr=2,kr=t=>(...o)=>({_$litDirective$:t,values:o});class Er{constructo
347
386
  }
348
387
 
349
388
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
350
- opacity: ${Zr.opacityContentOnSurfaceHover};
389
+ opacity: ${vl.opacityContentOnSurfaceHover};
351
390
  }
352
391
 
353
392
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
354
- opacity: ${Zr.opacityContentOnSurfaceSelected};
393
+ opacity: ${vl.opacityContentOnSurfaceSelected};
355
394
  }
356
395
 
357
396
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
358
- opacity: ${Zr.opacityContentOnSurfaceFocused};
397
+ opacity: ${vl.opacityContentOnSurfaceFocused};
359
398
  }
360
399
 
361
400
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
362
- opacity: ${Zr.opacityContentOnSurfacePressed};
401
+ opacity: ${vl.opacityContentOnSurfacePressed};
363
402
  transform: translate(-50%, -50%) scale(1);
364
403
  }
365
- `,_r={color:ko.extend("--ft-loader-color","",Lo.colorPrimary),size:ko.create("--ft-loader-size","","SIZE","80px")},Gr=$t`
404
+ `,kl={color:Oo.extend("--ft-loader-color","",pr.colorPrimary),size:Oo.create("--ft-loader-size","","SIZE","80px")},El=ht`
366
405
  :host {
367
406
  line-height: 0;
368
407
  }
@@ -371,8 +410,8 @@ const $r=1,Cr=2,kr=t=>(...o)=>({_$litDirective$:t,values:o});class Er{constructo
371
410
  display: inline-block;
372
411
  position: relative;
373
412
 
374
- width: ${_r.size};
375
- height: ${_r.size};
413
+ width: ${kl.size};
414
+ height: ${kl.size};
376
415
  }
377
416
 
378
417
  .ft-loader div {
@@ -381,7 +420,7 @@ const $r=1,Cr=2,kr=t=>(...o)=>({_$litDirective$:t,values:o});class Er{constructo
381
420
  width: 25%;
382
421
  height: 25%;
383
422
  border-radius: 50%;
384
- background: ${_r.color};
423
+ background: ${kl.color};
385
424
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
386
425
  }
387
426
 
@@ -428,10 +467,10 @@ const $r=1,Cr=2,kr=t=>(...o)=>({_$litDirective$:t,values:o});class Er{constructo
428
467
  transform: translate(0, 0);
429
468
  }
430
469
  100% {
431
- transform: translate(calc(0.35 * ${_r.size}), 0);
470
+ transform: translate(calc(0.35 * ${kl.size}), 0);
432
471
  }
433
472
  }
434
- `,Vr={size:ko.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:ko.extend("--ft-icon-fluid-topics-font-family","",ko.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:ko.extend("--ft-icon-file-format-font-family","",ko.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:ko.extend("--ft-icon-material-font-family","",ko.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:ko.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Yr=$t`
473
+ `,Rl={size:Oo.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Oo.extend("--ft-icon-fluid-topics-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Oo.extend("--ft-icon-file-format-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Oo.extend("--ft-icon-material-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Oo.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Il=ht`
435
474
  :host, i.ft-icon {
436
475
  display: inline-flex;
437
476
  align-items: center;
@@ -440,14 +479,14 @@ const $r=1,Cr=2,kr=t=>(...o)=>({_$litDirective$:t,values:o});class Er{constructo
440
479
  }
441
480
 
442
481
  :host {
443
- width: ${Vr.size};
444
- height: ${Vr.size};
482
+ width: ${Rl.size};
483
+ height: ${Rl.size};
445
484
  }
446
485
 
447
486
  i.ft-icon {
448
487
  width: 100%;
449
488
  height: 100%;
450
- font-size: ${Vr.size};
489
+ font-size: ${Rl.size};
451
490
  line-height: 1;
452
491
  font-weight: normal;
453
492
  text-transform: none;
@@ -458,28 +497,28 @@ const $r=1,Cr=2,kr=t=>(...o)=>({_$litDirective$:t,values:o});class Er{constructo
458
497
  text-rendering: auto;
459
498
  -webkit-font-smoothing: antialiased;
460
499
  -moz-osx-font-smoothing: grayscale;
461
- vertical-align: ${Vr.verticalAlign};
500
+ vertical-align: ${Rl.verticalAlign};
462
501
  }
463
502
 
464
503
  i.ft-icon.ft-icon--fluid-topics {
465
- font-family: ${Vr.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
504
+ font-family: ${Rl.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
466
505
 
467
506
  /* Ugly fix because font is broken */
468
- font-size: calc(0.75 * ${Vr.size});
469
- line-height: ${Vr.size};
507
+ font-size: calc(0.75 * ${Rl.size});
508
+ line-height: ${Rl.size};
470
509
  position: relative;
471
510
  top: -4%;
472
511
  justify-content: center;
473
512
  }
474
513
 
475
514
  .ft-icon--file-format {
476
- font-family: ${Vr.fileFormatFontFamily}, ft-mime, sans-serif;
515
+ font-family: ${Rl.fileFormatFontFamily}, ft-mime, sans-serif;
477
516
  }
478
517
 
479
518
  .ft-icon--material {
480
- font-family: ${Vr.materialFontFamily}, "Material Icons", sans-serif;
519
+ font-family: ${Rl.materialFontFamily}, "Material Icons", sans-serif;
481
520
  }
482
- `,Jr=ko.extend("--ft-button-color","",Lo.colorPrimary),qr={backgroundColor:ko.extend("--ft-button-background-color","",Lo.colorSurface),borderRadius:ko.extend("--ft-button-border-radius","",Lo.borderRadiusL),color:Jr,fontSize:ko.extend("--ft-button-font-size","",pr.fontSize),iconSize:ko.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:ko.extend("--ft-button-ripple-color","",Jr),verticalPadding:ko.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:ko.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:ko.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:ko.external(Lo.colorOpacityDisabled,"Design system")},Xr=ko.extend("--ft-button-primary-color","",ko.extend("--ft-button-color","",Lo.colorOnPrimary)),Qr={backgroundColor:ko.extend("--ft-button-primary-background-color","",ko.extend("--ft-button-background-color","",Lo.colorPrimary)),color:Xr,rippleColor:ko.extend("--ft-button-primary-ripple-color","",Xr)},tn=ko.extend("--ft-button-dense-border-radius","",ko.extend("--ft-button-border-radius","",Lo.borderRadiusM)),on=ko.create("--ft-button-dense-vertical-padding","","SIZE","2px"),en=ko.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),rn=ko.create("--ft-button-dense-icon-padding","","SIZE","4px"),nn=[$t`
521
+ `,Ll=Oo.extend("--ft-button-color","",pr.colorPrimary),Ul={backgroundColor:Oo.extend("--ft-button-background-color","",pr.colorSurface),borderRadius:Oo.extend("--ft-button-border-radius","",pr.borderRadiusL),color:Ll,fontSize:Oo.extend("--ft-button-font-size","",rl.fontSize),iconSize:Oo.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Oo.extend("--ft-button-ripple-color","",Ll),verticalPadding:Oo.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Oo.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Oo.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Oo.external(pr.colorOpacityDisabled,"Design system")},Wl=Oo.extend("--ft-button-primary-color","",Oo.extend("--ft-button-color","",pr.colorOnPrimary)),Fl={backgroundColor:Oo.extend("--ft-button-primary-background-color","",Oo.extend("--ft-button-background-color","",pr.colorPrimary)),color:Wl,rippleColor:Oo.extend("--ft-button-primary-ripple-color","",Wl)},zl=Oo.extend("--ft-button-dense-border-radius","",Oo.extend("--ft-button-border-radius","",pr.borderRadiusM)),Al=Oo.create("--ft-button-dense-vertical-padding","","SIZE","2px"),jl=Oo.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Bl=Oo.create("--ft-button-dense-icon-padding","","SIZE","4px"),_l=[ht`
483
522
  :host {
484
523
  display: inline-block;
485
524
  max-width: 100%;
@@ -490,7 +529,7 @@ const $r=1,Cr=2,kr=t=>(...o)=>({_$litDirective$:t,values:o});class Er{constructo
490
529
  box-shadow: 0px 0px 0px transparent;
491
530
  border: 0px solid transparent;
492
531
  text-shadow: 0px 0px 0px transparent;
493
- font-size: ${qr.fontSize};
532
+ font-size: ${Ul.fontSize};
494
533
  }
495
534
 
496
535
  button:hover {
@@ -519,31 +558,31 @@ const $r=1,Cr=2,kr=t=>(...o)=>({_$litDirective$:t,values:o});class Er{constructo
519
558
  border: none;
520
559
  pointer-events: auto;
521
560
 
522
- --ft-button-internal-line-height: max(calc(${qr.fontSize} + 2px), ${qr.iconSize});
523
- --ft-button-internal-color: ${qr.color};
524
- ${Eo(Vr.size,qr.iconSize)};
525
- ${Eo(Zr.color,qr.rippleColor)};
561
+ --ft-button-internal-line-height: max(calc(${Ul.fontSize} + 2px), ${Ul.iconSize});
562
+ --ft-button-internal-color: ${Ul.color};
563
+ ${wo(Rl.size,Ul.iconSize)};
564
+ ${wo(vl.color,Ul.rippleColor)};
526
565
 
527
- border-radius: ${qr.borderRadius};
528
- padding: ${qr.verticalPadding} ${qr.horizontalPadding};
529
- background-color: ${qr.backgroundColor};
566
+ border-radius: ${Ul.borderRadius};
567
+ padding: ${Ul.verticalPadding} ${Ul.horizontalPadding};
568
+ background-color: ${Ul.backgroundColor};
530
569
  color: var(--ft-button-internal-color);
531
570
  -webkit-mask-image: radial-gradient(white, black);
532
571
  }
533
572
 
534
573
  .ft-button.ft-button--outlined {
535
574
  border: 1px solid var(--ft-button-internal-color);
536
- padding: calc(${qr.verticalPadding} - 1px) calc(${qr.horizontalPadding} - 1px);
575
+ padding: calc(${Ul.verticalPadding} - 1px) calc(${Ul.horizontalPadding} - 1px);
537
576
  }
538
577
 
539
578
  .ft-button.ft-button--dense {
540
- padding: ${on} ${en};
541
- border-radius: ${tn};
542
- gap: ${rn};
579
+ padding: ${Al} ${jl};
580
+ border-radius: ${zl};
581
+ gap: ${Bl};
543
582
  }
544
583
 
545
584
  .ft-button.ft-button--dense.ft-button--outlined {
546
- padding: calc(${on} - 1px) calc(${en} - 1px);
585
+ padding: calc(${Al} - 1px) calc(${jl} - 1px);
547
586
  }
548
587
 
549
588
  .ft-button:not([disabled]):hover {
@@ -551,22 +590,22 @@ const $r=1,Cr=2,kr=t=>(...o)=>({_$litDirective$:t,values:o});class Er{constructo
551
590
  }
552
591
 
553
592
  .ft-button--round {
554
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${qr.verticalPadding});
593
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ul.verticalPadding});
555
594
  }
556
595
 
557
596
  .ft-button--round.ft-button--dense {
558
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${on});
597
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Al});
559
598
  }
560
599
 
561
600
  .ft-button[disabled] {
562
601
  filter: grayscale(1);
563
- opacity: ${qr.opacityDisabled};
602
+ opacity: ${Ul.opacityDisabled};
564
603
  }
565
604
 
566
605
  .ft-button.ft-button--primary {
567
- background-color: ${Qr.backgroundColor};
568
- --ft-button-internal-color: ${Qr.color};
569
- ${Eo(Zr.color,Qr.rippleColor)};
606
+ background-color: ${Fl.backgroundColor};
607
+ --ft-button-internal-color: ${Fl.color};
608
+ ${wo(vl.color,Fl.rippleColor)};
570
609
  }
571
610
 
572
611
  .ft-button:focus {
@@ -579,13 +618,13 @@ const $r=1,Cr=2,kr=t=>(...o)=>({_$litDirective$:t,values:o});class Er{constructo
579
618
  white-space: nowrap;
580
619
  text-overflow: ellipsis;
581
620
  display: block;
582
- margin: 0 ${qr.iconPadding};
583
- ${Eo(pr.fontSize,"1em")};
584
- ${Eo(pr.lineHeight,"var(--ft-button-internal-line-height)")};
621
+ margin: 0 ${Ul.iconPadding};
622
+ ${wo(rl.fontSize,"1em")};
623
+ ${wo(rl.lineHeight,"var(--ft-button-internal-line-height)")};
585
624
  }
586
625
 
587
626
  .ft-button--dense .ft-button--label {
588
- margin: 0 ${rn};
627
+ margin: 0 ${Bl};
589
628
  }
590
629
 
591
630
  .ft-button--label[hidden] {
@@ -598,13 +637,13 @@ const $r=1,Cr=2,kr=t=>(...o)=>({_$litDirective$:t,values:o});class Er{constructo
598
637
  }
599
638
 
600
639
  .ft-button--label[hidden] + ft-icon {
601
- margin: 0 calc(${qr.horizontalPadding} * -1);
602
- padding: 0 ${qr.verticalPadding};
640
+ margin: 0 calc(${Ul.horizontalPadding} * -1);
641
+ padding: 0 ${Ul.verticalPadding};
603
642
  }
604
643
 
605
644
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
606
- margin: 0 calc(${en} * -1);
607
- padding: 0 ${on};
645
+ margin: 0 calc(${jl} * -1);
646
+ padding: 0 ${Al};
608
647
  }
609
648
 
610
649
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -613,26 +652,21 @@ const $r=1,Cr=2,kr=t=>(...o)=>({_$litDirective$:t,values:o});class Er{constructo
613
652
  }
614
653
 
615
654
  ft-loader {
616
- ${Eo(_r.size,qr.iconSize)};
617
- ${Eo(_r.color,"var(--ft-button-internal-color)")};
655
+ ${wo(kl.size,Ul.iconSize)};
656
+ ${wo(kl.color,"var(--ft-button-internal-color)")};
618
657
  }
619
- `,Te],an=kr(class extends Er{constructor(t){if(super(t),t.type!==$r||"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 et}});
620
- /**
621
- * @license
622
- * Copyright 2017 Google LLC
623
- * SPDX-License-Identifier: BSD-3-Clause
624
- */var sn=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 ln extends Pe{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 so`
658
+ `,Bi];var Dl=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ml extends Ri{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 so(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 so(10),this.moveRipple=t=>{var e,o;let{x:r,y:i}=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!=r?r-n.x:n.width/2),this.originY=Math.round(null!=i?i-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 Jt`
625
659
  <style>
626
660
  .ft-ripple .ft-ripple--effect {
627
661
  left: ${this.originX}px;
628
662
  top: ${this.originY}px;
629
663
  }
630
664
  </style>
631
- <div class="${an(t)}">
665
+ <div class="${He(t)}">
632
666
  <div class="ft-ripple--background"></div>
633
667
  <div class="ft-ripple--effect"></div>
634
668
  </div>
635
- `}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)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",e,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),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()}}ln.elementDefinitions={},ln.styles=Tr,sn([$({type:Boolean})],ln.prototype,"primary",void 0),sn([$({type:Boolean})],ln.prototype,"secondary",void 0),sn([$({type:Boolean})],ln.prototype,"unbounded",void 0),sn([$({type:Boolean})],ln.prototype,"activated",void 0),sn([$({type:Boolean})],ln.prototype,"selected",void 0),sn([$({type:Boolean})],ln.prototype,"disabled",void 0),sn([C()],ln.prototype,"hovered",void 0),sn([C()],ln.prototype,"focused",void 0),sn([C()],ln.prototype,"pressed",void 0),sn([C()],ln.prototype,"rippling",void 0),sn([C()],ln.prototype,"originX",void 0),sn([C()],ln.prototype,"originY",void 0),sn([R(".ft-ripple")],ln.prototype,"ripple",void 0),sn([R(".ft-ripple--effect")],ln.prototype,"rippleEffect",void 0),L("ft-ripple")(ln);const cn=ko.create("--ft-tooltip-distance","","SIZE","4px"),pn=ko.create("--ft-tooltip-color","","COLOR","#FFFFFF"),fn=ko.create("--ft-tooltip-background-color","","COLOR","#666666"),hn=ko.create("--ft-tooltip-z-index","","NUMBER","100"),dn=ko.external(Lo.borderRadiusS,"Design system"),un=ko.create("--ft-tooltip-max-width","","SIZE","150px"),yn=$t`
669
+ `}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"),r=e("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",r,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",i,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",r,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",i,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let r,i;return null!=e.x?({x:r,y:i}=e):null!=o.touches&&(r=o.touches[0].clientX,i=o.touches[0].clientY),{x:r,y:i}}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()}}Ml.elementDefinitions={},Ml.styles=$l,Dl([we({type:Boolean})],Ml.prototype,"primary",void 0),Dl([we({type:Boolean})],Ml.prototype,"secondary",void 0),Dl([we({type:Boolean})],Ml.prototype,"unbounded",void 0),Dl([we({type:Boolean})],Ml.prototype,"activated",void 0),Dl([we({type:Boolean})],Ml.prototype,"selected",void 0),Dl([we({type:Boolean})],Ml.prototype,"disabled",void 0),Dl([Se()],Ml.prototype,"hovered",void 0),Dl([Se()],Ml.prototype,"focused",void 0),Dl([Se()],Ml.prototype,"pressed",void 0),Dl([Se()],Ml.prototype,"rippling",void 0),Dl([Se()],Ml.prototype,"originX",void 0),Dl([Se()],Ml.prototype,"originY",void 0),Dl([$e(".ft-ripple")],Ml.prototype,"ripple",void 0),Dl([$e(".ft-ripple--effect")],Ml.prototype,"rippleEffect",void 0),go("ft-ripple")(Ml);const Kl=Oo.create("--ft-tooltip-distance","","SIZE","4px"),Pl=Oo.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Zl=Oo.create("--ft-tooltip-background-color","","COLOR","#666666"),Hl=Oo.create("--ft-tooltip-z-index","","NUMBER","100"),Tl=Oo.external(pr.borderRadiusS,"Design system"),Vl=Oo.create("--ft-tooltip-max-width","","SIZE","150px"),Gl=ht`
636
670
  .ft-tooltip--container {
637
671
  display: block;
638
672
  }
@@ -647,21 +681,21 @@ const $r=1,Cr=2,kr=t=>(...o)=>({_$litDirective$:t,values:o});class Er{constructo
647
681
  box-sizing: border-box;
648
682
  overflow: hidden;
649
683
  width: max-content;
650
- max-width: ${un};
684
+ max-width: ${Vl};
651
685
  text-align: center;
652
- padding: ${cn};
653
- z-index: ${hn};
686
+ padding: ${Kl};
687
+ z-index: ${Hl};
654
688
  }
655
689
 
656
690
  .ft-tooltip--content {
657
691
  padding: 4px 8px;
658
- border-radius: ${dn};
659
- background-color: ${fn};
660
- color: ${pn};
692
+ border-radius: ${Tl};
693
+ background-color: ${Zl};
694
+ color: ${Pl};
661
695
  position: relative;
662
696
  word-break: break-word;
663
697
  }
664
- `;var gn=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 bn extends Pe{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 so`
698
+ `;var ql,Yl,Jl,Xl=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ql extends Ri{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 so,this.revealDebouncer=new so}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Jt`
665
699
  <div part="container"
666
700
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
667
701
  @mouseenter=${this.onHover}
@@ -679,54 +713,42 @@ const $r=1,Cr=2,kr=t=>(...o)=>({_$litDirective$:t,values:o});class Er{constructo
679
713
  </div>
680
714
  </div>
681
715
  </div>
682
- `}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()}async show(t){this.visible=!0,null!=t&&await 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(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",async function(t,o,e){return We(t,o,{platform:{...Ie,getOffsetParent:t=>Ie.getOffsetParent(t,Le)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:o,y:e,placement:r}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=Po(i,t),c={x:o,y:e},p=await Qo(t,l),f=Vo(jo(r)),h=_o(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=Ho(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=Ho(u+p["y"===f?"top":"left"],u,u-p[t])}const y=s.fn({...t,[h]:d,[f]:u});return{...y,data:{x:y.x-o,y:y.y-e}}}}),oe({allowedPlacements:[e]})]});var i}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}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())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}bn.elementDefinitions={"ft-typography":Nr},bn.styles=yn,gn([$()],bn.prototype,"text",void 0),gn([$({type:Boolean})],bn.prototype,"manual",void 0),gn([$({type:Boolean})],bn.prototype,"inline",void 0),gn([$({type:Number})],bn.prototype,"delay",void 0),gn([$()],bn.prototype,"position",void 0),gn([
683
- /**
684
- * @license
685
- * Copyright 2017 Google LLC
686
- * SPDX-License-Identifier: BSD-3-Clause
687
- */
688
- function(t){return(o,e)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return E(0,0,{get(){const o=this.renderRoot?.querySelector(r);return o?.assignedNodes(t)??[]}})}}()],bn.prototype,"slotNodes",void 0),gn([R(".ft-tooltip--container")],bn.prototype,"container",void 0),gn([R(".ft-tooltip")],bn.prototype,"tooltip",void 0),gn([R(".ft-tooltip--content")],bn.prototype,"tooltipContent",void 0),gn([C()],bn.prototype,"visible",void 0),gn([k({passive:!0})],bn.prototype,"onTouch",null),gn([k({passive:!0})],bn.prototype,"onHover",null),gn([k({passive:!0})],bn.prototype,"onOut",null),gn([k({passive:!0})],bn.prototype,"onClick",null),L("ft-tooltip")(bn);
689
- /**
690
- * @license
691
- * Copyright 2017 Google LLC
692
- * SPDX-License-Identifier: BSD-3-Clause
693
- */
694
- class mn extends Er{constructor(t){if(super(t),this.et=it,t.type!==Cr)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===it||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 o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}}mn.directiveName="unsafeHTML",mn.resultType=1;const xn=kr(mn);var vn,On,Sn;!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.CHART_BAR_NORMALIZED="&#xe97b;",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;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;"}(vn||(vn={})),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;"}(On||(On={})),new Map([...["abw"].map((t=>[t,On.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,On.AUDIO])),...["avi"].map((t=>[t,On.AVI])),...["chm","xhs"].map((t=>[t,On.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,On.CODE])),...["csv"].map((t=>[t,On.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,On.DITA])),...["epub"].map((t=>[t,On.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,On.EXCEL])),...["flac"].map((t=>[t,On.FLAC])),...["gif"].map((t=>[t,On.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,On.GZIP])),...["html","htm","xhtml"].map((t=>[t,On.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,On.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,On.JPEG])),...["json"].map((t=>[t,On.JSON])),...["m4a","m4p"].map((t=>[t,On.M4A])),...["mov","qt"].map((t=>[t,On.MOV])),...["mp3"].map((t=>[t,On.MP3])),...["mp4","m4v"].map((t=>[t,On.MP4])),...["ogg","oga"].map((t=>[t,On.OGG])),...["pdf","ps"].map((t=>[t,On.PDF])),...["png"].map((t=>[t,On.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,On.POWERPOINT])),...["rar"].map((t=>[t,On.RAR])),...["stp"].map((t=>[t,On.STP])),...["txt","rtf","md","mdown"].map((t=>[t,On.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,On.VIDEO])),...["wav"].map((t=>[t,On.WAV])),...["wma"].map((t=>[t,On.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,On.WORD])),...["xml","xsl","rdf"].map((t=>[t,On.XML])),...["yaml","yml","x-yaml"].map((t=>[t,On.YAML])),...["zip"].map((t=>[t,On.ZIP]))]),On.ABW,On.AUDIO,On.AVI,On.CHM,On.CODE,On.CSV,On.DITA,On.EPUB,On.EXCEL,On.FLAC,On.GIF,On.GZIP,On.HTML,On.IMAGE,On.JPEG,On.JSON,On.M4A,On.MOV,On.MP3,On.MP4,On.OGG,On.PDF,On.PNG,On.POWERPOINT,On.RAR,On.STP,On.TEXT,On.UNKNOWN,On.VIDEO,On.WAV,On.WMA,On.WORD,On.XML,On.YAML,On.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Sn||(Sn={}));var wn=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 Nn extends Pe{constructor(){super(...arguments),this.resolvedIcon=co}render(){const t=this.variant&&Object.values(Sn).includes(this.variant)?this.variant:Sn.fluid_topics,o=t!==Sn.material||!!this.value;return so`
716
+ `}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()}async show(t){this.visible=!0,null!=t&&await 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(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",mi(this.slottedElement,this.tooltip,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())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}Ql.elementDefinitions={"ft-typography":bl},Ql.styles=Gl,Xl([we()],Ql.prototype,"text",void 0),Xl([we({type:Boolean})],Ql.prototype,"manual",void 0),Xl([we({type:Boolean})],Ql.prototype,"inline",void 0),Xl([we({type:Number})],Ql.prototype,"delay",void 0),Xl([we()],Ql.prototype,"position",void 0),Xl([Ie()],Ql.prototype,"slotNodes",void 0),Xl([$e(".ft-tooltip--container")],Ql.prototype,"container",void 0),Xl([$e(".ft-tooltip")],Ql.prototype,"tooltip",void 0),Xl([$e(".ft-tooltip--content")],Ql.prototype,"tooltipContent",void 0),Xl([Se()],Ql.prototype,"visible",void 0),Xl([Ne({passive:!0})],Ql.prototype,"onTouch",null),Xl([Ne({passive:!0})],Ql.prototype,"onHover",null),Xl([Ne({passive:!0})],Ql.prototype,"onOut",null),Xl([Ne({passive:!0})],Ql.prototype,"onClick",null),go("ft-tooltip")(Ql),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.CHART_BAR_NORMALIZED="&#xe97b;",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;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;"}(ql||(ql={})),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;"}(Yl||(Yl={})),new Map([...["abw"].map((t=>[t,Yl.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,Yl.AUDIO])),...["avi"].map((t=>[t,Yl.AVI])),...["chm","xhs"].map((t=>[t,Yl.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,Yl.CODE])),...["csv"].map((t=>[t,Yl.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Yl.DITA])),...["epub"].map((t=>[t,Yl.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Yl.EXCEL])),...["flac"].map((t=>[t,Yl.FLAC])),...["gif"].map((t=>[t,Yl.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Yl.GZIP])),...["html","htm","xhtml"].map((t=>[t,Yl.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,Yl.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Yl.JPEG])),...["json"].map((t=>[t,Yl.JSON])),...["m4a","m4p"].map((t=>[t,Yl.M4A])),...["mov","qt"].map((t=>[t,Yl.MOV])),...["mp3"].map((t=>[t,Yl.MP3])),...["mp4","m4v"].map((t=>[t,Yl.MP4])),...["ogg","oga"].map((t=>[t,Yl.OGG])),...["pdf","ps"].map((t=>[t,Yl.PDF])),...["png"].map((t=>[t,Yl.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Yl.POWERPOINT])),...["rar"].map((t=>[t,Yl.RAR])),...["stp"].map((t=>[t,Yl.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Yl.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,Yl.VIDEO])),...["wav"].map((t=>[t,Yl.WAV])),...["wma"].map((t=>[t,Yl.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Yl.WORD])),...["xml","xsl","rdf"].map((t=>[t,Yl.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Yl.YAML])),...["zip"].map((t=>[t,Yl.ZIP]))]),Yl.ABW,Yl.AUDIO,Yl.AVI,Yl.CHM,Yl.CODE,Yl.CSV,Yl.DITA,Yl.EPUB,Yl.EXCEL,Yl.FLAC,Yl.GIF,Yl.GZIP,Yl.HTML,Yl.IMAGE,Yl.JPEG,Yl.JSON,Yl.M4A,Yl.MOV,Yl.MP3,Yl.MP4,Yl.OGG,Yl.PDF,Yl.PNG,Yl.POWERPOINT,Yl.RAR,Yl.STP,Yl.TEXT,Yl.UNKNOWN,Yl.VIDEO,Yl.WAV,Yl.WMA,Yl.WORD,Yl.XML,Yl.YAML,Yl.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Jl||(Jl={}));var tc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ec extends Ri{constructor(){super(...arguments),this.resolvedIcon=te}render(){const t=this.variant&&Object.values(Jl).includes(this.variant)?this.variant:Jl.fluid_topics,e=t!==Jl.material||!!this.value;return Jt`
695
717
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
696
- ${xn(this.resolvedIcon)}
697
- <slot ?hidden=${o}></slot>
718
+ ${Xe(this.resolvedIcon)}
719
+ <slot ?hidden=${e}></slot>
698
720
  </i>
699
- `}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 Sn.file_format:this.resolvedIcon=null!==(t=On[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case Sn.material:this.resolvedIcon=this.value||co;break;default:this.resolvedIcon=null!==(o=vn[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Nn.elementDefinitions={},Nn.styles=Yr,wn([$()],Nn.prototype,"variant",void 0),wn([$()],Nn.prototype,"value",void 0),wn([C()],Nn.prototype,"resolvedIcon",void 0),wn([R("slot")],Nn.prototype,"slottedContent",void 0),L("ft-icon")(Nn);class $n extends Pe{render(){return so`
721
+ `}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 Jl.file_format:this.resolvedIcon=null!==(t=Yl[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Jl.material:this.resolvedIcon=this.value||te;break;default:this.resolvedIcon=null!==(e=ql[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}ec.elementDefinitions={},ec.styles=Il,tc([we()],ec.prototype,"variant",void 0),tc([we()],ec.prototype,"value",void 0),tc([Se()],ec.prototype,"resolvedIcon",void 0),tc([$e("slot")],ec.prototype,"slottedContent",void 0),go("ft-icon")(ec);class oc extends Ri{render(){return Jt`
700
722
  <div class="ft-loader">
701
723
  <div></div>
702
724
  <div></div>
703
725
  <div></div>
704
726
  <div></div>
705
727
  </div>
706
- `}}$n.styles=Gr,L("ft-loader")($n);var Cn=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 kn extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[oi].form}constructor(...t){super(t),this[oi]=this.attachInternals(),this[oi].role=o}setFormValue(t){this[oi].setFormValue(t)}}}(Pe,"button")){constructor(){super(),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.addEventListener("click",(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(so`
728
+ `}}oc.styles=El,go("ft-loader")(oc);var rc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ic extends(Ha(Ri,"button")){constructor(){super(),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.addEventListener("click",(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(Jt`
707
729
  <button part="button"
708
- class="${an(this.buttonClasses)}"
730
+ class="${He(this.buttonClasses)}"
709
731
  aria-label="${this.getLabel()}"
710
732
  ?disabled=${this.isDisabled()}>
711
733
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
712
734
  <ft-typography part="label"
713
735
  variant=${this.typographyVariant}
714
736
  element="span"
715
- class="ft-button--label ${ni?"ft-safari-ellipsis-fix":""}"
737
+ class="ft-button--label ${Ja?"ft-safari-ellipsis-fix":""}"
716
738
  ?hidden=${!this.hasTextContent()}>
717
739
  <slot @slotchange=${this.onSlotchange}></slot>
718
740
  </ft-typography>
719
741
  ${this.resolveIcon()}
720
742
  </button>
721
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?so`
743
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Jt`
722
744
  <ft-tooltip part="tooltip"
723
745
  text="${this.getLabel()}"
724
746
  position="${this.tooltipPosition}">
725
747
  ${t}
726
748
  </ft-tooltip>
727
- `:t}resolveIcon(){return this.loading?so`
728
- <ft-loader part="loader icon"></ft-loader> `:this.icon?so`
729
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:co}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}}kn.elementDefinitions={"ft-ripple":ln,"ft-tooltip":bn,"ft-typography":Nr,"ft-icon":Nn,"ft-loader":$n},Cn([$({type:String,reflect:!0})],kn.prototype,"role",void 0),Cn([$()],kn.prototype,"type",void 0),Cn([$({type:Boolean})],kn.prototype,"disabled",void 0),Cn([$()],kn.prototype,"label",void 0),Cn([$()],kn.prototype,"icon",void 0),Cn([$()],kn.prototype,"iconVariant",void 0),Cn([$({type:Boolean})],kn.prototype,"trailingIcon",void 0),Cn([$({type:Boolean})],kn.prototype,"loading",void 0),Cn([$()],kn.prototype,"tooltipPosition",void 0),Cn([$({type:Boolean})],kn.prototype,"hideTooltip",void 0),Cn([$({type:Boolean})],kn.prototype,"forceTooltip",void 0),Cn([R(".ft-button")],kn.prototype,"button",void 0),Cn([R(".ft-button--label slot")],kn.prototype,"slottedContent",void 0);var En=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 Rn extends kn{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"}}Rn.styles=[_e,nn],En([$({type:Boolean})],Rn.prototype,"primary",void 0),En([$({type:Boolean})],Rn.prototype,"outlined",void 0),En([$({type:Boolean})],Rn.prototype,"dense",void 0),En([$({type:Boolean})],Rn.prototype,"round",void 0);const Un=[$t`
749
+ `:t}resolveIcon(){return this.loading?Jt`
750
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?Jt`
751
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:te}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}}ic.elementDefinitions={"ft-ripple":Ml,"ft-tooltip":Ql,"ft-typography":bl,"ft-icon":ec,"ft-loader":oc},rc([we({type:String,reflect:!0})],ic.prototype,"role",void 0),rc([we()],ic.prototype,"type",void 0),rc([we({type:Boolean})],ic.prototype,"disabled",void 0),rc([we()],ic.prototype,"label",void 0),rc([we()],ic.prototype,"icon",void 0),rc([we()],ic.prototype,"iconVariant",void 0),rc([we({type:Boolean})],ic.prototype,"trailingIcon",void 0),rc([we({type:Boolean})],ic.prototype,"loading",void 0),rc([we()],ic.prototype,"tooltipPosition",void 0),rc([we({type:Boolean})],ic.prototype,"hideTooltip",void 0),rc([we({type:Boolean})],ic.prototype,"forceTooltip",void 0),rc([$e(".ft-button")],ic.prototype,"button",void 0),rc([$e(".ft-button--label slot")],ic.prototype,"slottedContent",void 0);var nc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ac extends ic{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"}}ac.styles=[Di,_l],nc([we({type:Boolean})],ac.prototype,"primary",void 0),nc([we({type:Boolean})],ac.prototype,"outlined",void 0),nc([we({type:Boolean})],ac.prototype,"dense",void 0),nc([we({type:Boolean})],ac.prototype,"round",void 0);const sc=[ht`
730
752
  :host {
731
753
  display: inline-block;
732
754
  max-width: 100%;
@@ -776,7 +798,7 @@ class mn extends Er{constructor(t){if(super(t),this.et=it,t.type!==Cr)throw Erro
776
798
  }
777
799
 
778
800
  .ft-button:focus-visible {
779
- outline-color: ${Wo.focusFocusRingColor};
801
+ outline-color: ${Jo.focusFocusRingColor};
780
802
  outline-style: solid;
781
803
  }
782
804
 
@@ -805,154 +827,154 @@ class mn extends Er{constructor(t){if(super(t),this.et=it,t.type!==Cr)throw Erro
805
827
  /** Primary styles **/
806
828
 
807
829
  .ft-button--primary {
808
- ${Eo(_r.color,Wo.primaryIconColor)};
830
+ ${wo(kl.color,Jo.primaryIconColor)};
809
831
 
810
- ${Eo(Zr.color,Wo.primaryStateLayerColor)};
811
- ${Eo(Zr.opacityContentOnSurfaceHover,Wo.primaryStateLayerOpacityHover)};
812
- ${Eo(Zr.opacityContentOnSurfaceFocused,Wo.primaryStateLayerOpacityFocus)};
813
- ${Eo(Zr.opacityContentOnSurfaceSelected,Wo.primaryStateLayerOpacityActive)};
814
- ${Eo(Zr.opacityContentOnSurfacePressed,Wo.primaryStateLayerOpacityActive)};
832
+ ${wo(vl.color,Jo.primaryStateLayerColor)};
833
+ ${wo(vl.opacityContentOnSurfaceHover,Jo.primaryStateLayerOpacityHover)};
834
+ ${wo(vl.opacityContentOnSurfaceFocused,Jo.primaryStateLayerOpacityFocus)};
835
+ ${wo(vl.opacityContentOnSurfaceSelected,Jo.primaryStateLayerOpacityActive)};
836
+ ${wo(vl.opacityContentOnSurfacePressed,Jo.primaryStateLayerOpacityActive)};
815
837
 
816
- background-color: ${Wo.primaryBackgroundColor};
817
- color: ${Wo.primaryColor};
838
+ background-color: ${Jo.primaryBackgroundColor};
839
+ color: ${Jo.primaryColor};
818
840
  border-style: none;
819
841
  }
820
842
 
821
843
  .ft-button--primary[disabled] {
822
- opacity: ${Wo.primaryComponentOpacityDisabled};
844
+ opacity: ${Jo.primaryComponentOpacityDisabled};
823
845
  }
824
846
 
825
847
  .ft-button--primary ft-icon {
826
- color: ${Wo.primaryIconColor};
848
+ color: ${Jo.primaryIconColor};
827
849
  }
828
850
 
829
851
  /** Secondary styles **/
830
852
 
831
853
  .ft-button--secondary {
832
- ${Eo(_r.color,Wo.secondaryIconColor)};
854
+ ${wo(kl.color,Jo.secondaryIconColor)};
833
855
 
834
- ${Eo(Zr.color,Wo.secondaryStateLayerColor)};
835
- ${Eo(Zr.opacityContentOnSurfaceHover,Wo.secondaryStateLayerOpacityHover)};
836
- ${Eo(Zr.opacityContentOnSurfaceFocused,Wo.secondaryStateLayerOpacityFocus)};
837
- ${Eo(Zr.opacityContentOnSurfaceSelected,Wo.secondaryStateLayerOpacityActive)};
838
- ${Eo(Zr.opacityContentOnSurfacePressed,Wo.secondaryStateLayerOpacityActive)};
856
+ ${wo(vl.color,Jo.secondaryStateLayerColor)};
857
+ ${wo(vl.opacityContentOnSurfaceHover,Jo.secondaryStateLayerOpacityHover)};
858
+ ${wo(vl.opacityContentOnSurfaceFocused,Jo.secondaryStateLayerOpacityFocus)};
859
+ ${wo(vl.opacityContentOnSurfaceSelected,Jo.secondaryStateLayerOpacityActive)};
860
+ ${wo(vl.opacityContentOnSurfacePressed,Jo.secondaryStateLayerOpacityActive)};
839
861
 
840
- background-color: ${Wo.secondaryBackgroundColor};
841
- color: ${Wo.secondaryColor};
842
- border-color: ${Wo.secondaryBorderColor};
862
+ background-color: ${Jo.secondaryBackgroundColor};
863
+ color: ${Jo.secondaryColor};
864
+ border-color: ${Jo.secondaryBorderColor};
843
865
  border-style: solid;
844
866
  }
845
867
 
846
868
  .ft-button--secondary[disabled] {
847
- opacity: ${Wo.secondaryComponentOpacityDisabled};
869
+ opacity: ${Jo.secondaryComponentOpacityDisabled};
848
870
  }
849
871
 
850
872
  .ft-button--secondary ft-icon {
851
- color: ${Wo.secondaryIconColor};
873
+ color: ${Jo.secondaryIconColor};
852
874
  }
853
875
 
854
876
  /** Tertiary styles **/
855
877
 
856
878
  .ft-button--tertiary {
857
- ${Eo(_r.color,Wo.tertiaryIconColor)};
879
+ ${wo(kl.color,Jo.tertiaryIconColor)};
858
880
 
859
- ${Eo(Zr.color,Wo.tertiaryStateLayerColor)};
860
- ${Eo(Zr.opacityContentOnSurfaceHover,Wo.tertiaryStateLayerOpacityHover)};
861
- ${Eo(Zr.opacityContentOnSurfaceFocused,Wo.tertiaryStateLayerOpacityFocus)};
862
- ${Eo(Zr.opacityContentOnSurfaceSelected,Wo.tertiaryStateLayerOpacityActive)};
863
- ${Eo(Zr.opacityContentOnSurfacePressed,Wo.tertiaryStateLayerOpacityActive)};
881
+ ${wo(vl.color,Jo.tertiaryStateLayerColor)};
882
+ ${wo(vl.opacityContentOnSurfaceHover,Jo.tertiaryStateLayerOpacityHover)};
883
+ ${wo(vl.opacityContentOnSurfaceFocused,Jo.tertiaryStateLayerOpacityFocus)};
884
+ ${wo(vl.opacityContentOnSurfaceSelected,Jo.tertiaryStateLayerOpacityActive)};
885
+ ${wo(vl.opacityContentOnSurfacePressed,Jo.tertiaryStateLayerOpacityActive)};
864
886
 
865
- background-color: ${Wo.tertiaryBackgroundColor};
866
- color: ${Wo.tertiaryColor};
887
+ background-color: ${Jo.tertiaryBackgroundColor};
888
+ color: ${Jo.tertiaryColor};
867
889
  border-style: none;
868
890
  }
869
891
 
870
892
  .ft-button--tertiary[disabled] {
871
- opacity: ${Wo.tertiaryComponentOpacityDisabled};
893
+ opacity: ${Jo.tertiaryComponentOpacityDisabled};
872
894
  }
873
895
 
874
896
  .ft-button--tertiary ft-icon {
875
- color: ${Wo.tertiaryIconColor};
897
+ color: ${Jo.tertiaryIconColor};
876
898
  }
877
899
 
878
900
  /** Neutral styles **/
879
901
 
880
902
  .ft-button--neutral {
881
- ${Eo(_r.color,Wo.neutralIconColor)};
903
+ ${wo(kl.color,Jo.neutralIconColor)};
882
904
 
883
- ${Eo(Zr.backgroundColor,Wo.neutralStateLayerColor)};
884
- ${Eo(Zr.opacityContentOnSurfaceHover,Wo.neutralStateLayerOpacityHover)};
885
- ${Eo(Zr.opacityContentOnSurfaceFocused,Wo.neutralStateLayerOpacityFocus)};
886
- ${Eo(Zr.opacityContentOnSurfaceSelected,Wo.neutralStateLayerOpacityActive)};
887
- ${Eo(Zr.opacityContentOnSurfacePressed,Wo.neutralStateLayerOpacityActive)};
905
+ ${wo(vl.backgroundColor,Jo.neutralStateLayerColor)};
906
+ ${wo(vl.opacityContentOnSurfaceHover,Jo.neutralStateLayerOpacityHover)};
907
+ ${wo(vl.opacityContentOnSurfaceFocused,Jo.neutralStateLayerOpacityFocus)};
908
+ ${wo(vl.opacityContentOnSurfaceSelected,Jo.neutralStateLayerOpacityActive)};
909
+ ${wo(vl.opacityContentOnSurfacePressed,Jo.neutralStateLayerOpacityActive)};
888
910
 
889
- background-color: ${Wo.neutralBackgroundColor};
890
- color: ${Wo.neutralColor};
911
+ background-color: ${Jo.neutralBackgroundColor};
912
+ color: ${Jo.neutralColor};
891
913
  border-style: none;
892
914
  }
893
915
 
894
916
  .ft-button--neutral[disabled] {
895
- opacity: ${Wo.neutralComponentOpacityDisabled};
917
+ opacity: ${Jo.neutralComponentOpacityDisabled};
896
918
  }
897
919
 
898
920
  .ft-button--neutral ft-icon {
899
- color: ${Wo.neutralIconColor};
921
+ color: ${Jo.neutralIconColor};
900
922
  }
901
923
 
902
924
  /** Large styles **/
903
925
 
904
926
  .ft-button--large {
905
- ${Eo(Vr.size,Wo.largeIconSize)};
906
- ${Eo(_r.size,Wo.largeIconSize)};
927
+ ${wo(Rl.size,Jo.largeIconSize)};
928
+ ${wo(kl.size,Jo.largeIconSize)};
907
929
 
908
- height: ${Wo.largeHeight};
909
- padding: 0 ${Wo.largeHorizontalPadding};
910
- gap: ${Wo.largeGap};
911
- border-radius: ${Wo.largeBorderRadius};
912
- border-width: ${Wo.largeBorderWidth};
930
+ height: ${Jo.largeHeight};
931
+ padding: 0 ${Jo.largeHorizontalPadding};
932
+ gap: ${Jo.largeGap};
933
+ border-radius: ${Jo.largeBorderRadius};
934
+ border-width: ${Jo.largeBorderWidth};
913
935
  }
914
936
 
915
937
  .ft-button--large:focus-visible {
916
- outline-width: ${Wo.largeFocusOutlineWidth};
917
- outline-offset: ${Wo.largeFocusOutlineOffset};
938
+ outline-width: ${Jo.largeFocusOutlineWidth};
939
+ outline-offset: ${Jo.largeFocusOutlineOffset};
918
940
  }
919
941
 
920
942
  .ft-button--large.ft-button--icon-only {
921
- width: ${Wo.largeIconOnlyWidth};
943
+ width: ${Jo.largeIconOnlyWidth};
922
944
  padding: unset;
923
945
  }
924
946
 
925
947
  /** Small styles **/
926
948
 
927
949
  .ft-button--small {
928
- ${Eo(Vr.size,Wo.smallIconSize)};
929
- ${Eo(_r.size,Wo.smallIconSize)};
950
+ ${wo(Rl.size,Jo.smallIconSize)};
951
+ ${wo(kl.size,Jo.smallIconSize)};
930
952
 
931
- height: ${Wo.smallHeight};
932
- padding: 0 ${Wo.smallHorizontalPadding};
933
- gap: ${Wo.smallGap};
934
- border-radius: ${Wo.smallBorderRadius};
935
- border-width: ${Wo.smallBorderWidth};
953
+ height: ${Jo.smallHeight};
954
+ padding: 0 ${Jo.smallHorizontalPadding};
955
+ gap: ${Jo.smallGap};
956
+ border-radius: ${Jo.smallBorderRadius};
957
+ border-width: ${Jo.smallBorderWidth};
936
958
  }
937
959
 
938
960
  .ft-button--small:focus-visible {
939
- outline-width: ${Wo.smallFocusOutlineWidth};
940
- outline-offset: ${Wo.smallFocusOutlineOffset};
961
+ outline-width: ${Jo.smallFocusOutlineWidth};
962
+ outline-offset: ${Jo.smallFocusOutlineOffset};
941
963
  }
942
964
 
943
965
  .ft-button--small.ft-button--icon-only {
944
- width: ${Wo.smallIconOnlyWidth};
966
+ width: ${Jo.smallIconOnlyWidth};
945
967
  padding: unset;
946
968
  }
947
- `,Te];var In=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 Wn extends kn{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?fi.caption1medium:fi.body2medium}}Wn.styles=[_e,Un],In([$({type:Boolean})],Wn.prototype,"primary",void 0),In([$({type:Boolean})],Wn.prototype,"secondary",void 0),In([$({type:Boolean})],Wn.prototype,"tertiary",void 0),In([$({type:Boolean})],Wn.prototype,"neutral",void 0),In([$({type:Boolean})],Wn.prototype,"small",void 0),L("ft-button")(Rn),L("ftds-button")(Wn);const Ln=ko.extend("--ft-checkbox-text-color","",Lo.colorOnSurfaceHigh),zn=ko.extend("--ft-checkbox-font-size","",ui.fontSize),Kn=ko.external(Lo.colorPrimary,"Design system"),Fn=ko.external(Lo.colorOnPrimary,"Design system"),Dn=ko.extend("--ft-checkbox-border-color","",Lo.colorOnSurfaceMedium),Zn=ko.external(Lo.colorOnSurfaceDisabled,"Design system"),Bn=$t`
969
+ `,Bi];var lc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class cc extends ic{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?is.caption1medium:is.body2medium}}cc.styles=[Di,sc],lc([we({type:Boolean})],cc.prototype,"primary",void 0),lc([we({type:Boolean})],cc.prototype,"secondary",void 0),lc([we({type:Boolean})],cc.prototype,"tertiary",void 0),lc([we({type:Boolean})],cc.prototype,"neutral",void 0),lc([we({type:Boolean})],cc.prototype,"small",void 0),go("ft-button")(ac),go("ftds-button")(cc);const fc=Oo.extend("--ft-checkbox-text-color","",pr.colorOnSurfaceHigh),pc=Oo.extend("--ft-checkbox-font-size","",ss.fontSize),hc=Oo.external(pr.colorPrimary,"Design system"),dc=Oo.external(pr.colorOnPrimary,"Design system"),uc=Oo.extend("--ft-checkbox-border-color","",pr.colorOnSurfaceMedium),yc=Oo.external(pr.colorOnSurfaceDisabled,"Design system"),gc=ht`
948
970
  * {
949
971
  box-sizing: border-box;
950
972
  }
951
973
 
952
974
  .ft-checkbox {
953
975
  box-sizing: border-box;
954
- color: ${Ln};
955
- font-size: ${zn};
976
+ color: ${fc};
977
+ font-size: ${pc};
956
978
 
957
979
  display: inline-flex;
958
980
  align-items: center;
@@ -960,7 +982,7 @@ class mn extends Er{constructor(t){if(super(t),this.et=it,t.type!==Cr)throw Erro
960
982
  }
961
983
 
962
984
  .ft-checkbox--disabled {
963
- color: ${Zn};
985
+ color: ${yc};
964
986
  }
965
987
 
966
988
  input {
@@ -984,26 +1006,26 @@ class mn extends Er{constructor(t){if(super(t),this.et=it,t.type!==Cr)throw Erro
984
1006
 
985
1007
  .ft-checkbox--box {
986
1008
  display: flex;
987
- border: 2px solid ${Dn};
1009
+ border: 2px solid ${uc};
988
1010
  border-radius: 2px;
989
1011
 
990
1012
  width: 18px;
991
1013
  height: 18px;
992
1014
 
993
- color: ${Fn};
1015
+ color: ${dc};
994
1016
  }
995
1017
 
996
1018
 
997
1019
  .ft-checkbox--checked .ft-checkbox--box,
998
1020
  .ft-checkbox--indeterminate .ft-checkbox--box {
999
- border-color: ${Kn};
1000
- background-color: ${Kn};
1021
+ border-color: ${hc};
1022
+ background-color: ${hc};
1001
1023
  }
1002
1024
 
1003
1025
  .ft-checkbox--disabled .ft-checkbox--box {
1004
- border-color: ${Zn};
1026
+ border-color: ${yc};
1005
1027
  background-color: transparent;
1006
- color: ${Zn};
1028
+ color: ${yc};
1007
1029
  }
1008
1030
 
1009
1031
  .ft-checkbox--checkmark {
@@ -1022,8 +1044,8 @@ class mn extends Er{constructor(t){if(super(t),this.et=it,t.type!==Cr)throw Erro
1022
1044
  .ft-checkbox--indeterminate .ft-checkbox--checkmark {
1023
1045
  opacity: 1;
1024
1046
  }
1025
- `;var An=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 Mn extends Pe{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 so`
1026
- <label class="${an(t)}" for="checkbox-input">
1047
+ `;var bc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class mc extends Ri{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 Jt`
1048
+ <label class="${He(t)}" for="checkbox-input">
1027
1049
  <div class="ft-checkbox--box-container">
1028
1050
  <ft-ripple
1029
1051
  ?disabled=${this.disabled}
@@ -1048,14 +1070,14 @@ class mn extends Er{constructor(t){if(super(t),this.et=it,t.type!==Cr)throw Erro
1048
1070
  <slot></slot>
1049
1071
  </ft-typography>
1050
1072
  </label>
1051
- `}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)}}Mn.elementDefinitions={"ft-ripple":ln,"ft-typography":Nr},Mn.styles=Bn,An([$()],Mn.prototype,"name",void 0),An([$({type:Boolean,reflect:!0})],Mn.prototype,"checked",void 0),An([$({type:Boolean})],Mn.prototype,"indeterminate",void 0),An([$({type:Boolean})],Mn.prototype,"disabled",void 0),An([R(".ft-checkbox")],Mn.prototype,"container",void 0),An([R("ft-ripple")],Mn.prototype,"ripple",void 0),L("ft-checkbox")(Mn);const Hn=ko.extend("--ft-radio-text-color","",Lo.colorOnSurfaceHigh),Pn=ko.external(Lo.colorPrimary,"Design system"),jn=(ko.external(Lo.colorOnPrimary,"Design system"),ko.extend("--ft-radio-border-color","",Lo.colorOnSurfaceMedium)),Tn=ko.external(Lo.colorOnSurfaceDisabled,"Design system"),_n=$t`
1073
+ `}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)}}mc.elementDefinitions={"ft-ripple":Ml,"ft-typography":bl},mc.styles=gc,bc([we()],mc.prototype,"name",void 0),bc([we({type:Boolean,reflect:!0})],mc.prototype,"checked",void 0),bc([we({type:Boolean})],mc.prototype,"indeterminate",void 0),bc([we({type:Boolean})],mc.prototype,"disabled",void 0),bc([$e(".ft-checkbox")],mc.prototype,"container",void 0),bc([$e("ft-ripple")],mc.prototype,"ripple",void 0),go("ft-checkbox")(mc);const vc=Oo.extend("--ft-radio-text-color","",pr.colorOnSurfaceHigh),xc=Oo.external(pr.colorPrimary,"Design system"),Oc=(Oo.external(pr.colorOnPrimary,"Design system"),Oo.extend("--ft-radio-border-color","",pr.colorOnSurfaceMedium)),wc=Oo.external(pr.colorOnSurfaceDisabled,"Design system"),Sc=ht`
1052
1074
  * {
1053
1075
  box-sizing: border-box;
1054
1076
  }
1055
1077
 
1056
1078
  .ft-radio {
1057
1079
  box-sizing: border-box;
1058
- color: ${Hn};
1080
+ color: ${vc};
1059
1081
 
1060
1082
  display: inline-flex;
1061
1083
  align-items: center;
@@ -1063,7 +1085,7 @@ class mn extends Er{constructor(t){if(super(t),this.et=it,t.type!==Cr)throw Erro
1063
1085
  }
1064
1086
 
1065
1087
  .ft-radio--disabled {
1066
- color: ${Tn};
1088
+ color: ${wc};
1067
1089
  }
1068
1090
 
1069
1091
  input {
@@ -1086,7 +1108,7 @@ class mn extends Er{constructor(t){if(super(t),this.et=it,t.type!==Cr)throw Erro
1086
1108
  }
1087
1109
 
1088
1110
  .ft-radio--box {
1089
- border: 2px solid ${jn};
1111
+ border: 2px solid ${Oc};
1090
1112
  border-radius: 50%;
1091
1113
 
1092
1114
  display: flex;
@@ -1099,7 +1121,7 @@ class mn extends Er{constructor(t){if(super(t),this.et=it,t.type!==Cr)throw Erro
1099
1121
 
1100
1122
  .ft-radio--box:after {
1101
1123
  content: " ";
1102
- background-color: ${Pn};
1124
+ background-color: ${xc};
1103
1125
 
1104
1126
  border-radius: 50%;
1105
1127
 
@@ -1111,7 +1133,7 @@ class mn extends Er{constructor(t){if(super(t),this.et=it,t.type!==Cr)throw Erro
1111
1133
  }
1112
1134
 
1113
1135
  .ft-radio--checked .ft-radio--box {
1114
- border-color: ${Pn};
1136
+ border-color: ${xc};
1115
1137
  }
1116
1138
 
1117
1139
 
@@ -1120,15 +1142,15 @@ class mn extends Er{constructor(t){if(super(t),this.et=it,t.type!==Cr)throw Erro
1120
1142
  }
1121
1143
 
1122
1144
  .ft-radio--disabled .ft-radio--box {
1123
- border-color: ${Tn};
1145
+ border-color: ${wc};
1124
1146
  background-color: transparent;
1125
1147
  }
1126
1148
 
1127
1149
  .ft-radio--disabled .ft-radio--box:after {
1128
- background-color: ${Tn};
1150
+ background-color: ${wc};
1129
1151
  }
1130
- `;var Gn=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 Vn extends CustomEvent{constructor(t,o){super("change",{detail:{value:t,checked:o},bubbles:!0,composed:!0})}}class Yn extends Pe{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 so`
1131
- <div class="${an(t)}">
1152
+ `;var Nc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Cc extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class $c extends Ri{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 Jt`
1153
+ <div class="${He(t)}">
1132
1154
  <div class="ft-radio--box-container">
1133
1155
  <ft-ripple
1134
1156
  ?disabled=${this.disabled}
@@ -1152,22 +1174,16 @@ class mn extends Er{constructor(t){if(super(t),this.et=it,t.type!==Cr)throw Erro
1152
1174
  </ft-typography>
1153
1175
  </label>
1154
1176
  </div>
1155
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Vn(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 Vn(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Yn.elementDefinitions={"ft-ripple":ln,"ft-typography":Nr},Yn.styles=_n,Gn([$()],Yn.prototype,"value",void 0),Gn([$()],Yn.prototype,"name",void 0),Gn([$({type:Boolean,reflect:!0})],Yn.prototype,"checked",void 0),Gn([$({type:Boolean})],Yn.prototype,"disabled",void 0),Gn([R(".ft-radio")],Yn.prototype,"container",void 0),Gn([R("ft-ripple")],Yn.prototype,"ripple",void 0),Gn([R("input")],Yn.prototype,"input",void 0);const Jn=$t`
1177
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Cc(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 Cc(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}$c.elementDefinitions={"ft-ripple":Ml,"ft-typography":bl},$c.styles=Sc,Nc([we()],$c.prototype,"value",void 0),Nc([we()],$c.prototype,"name",void 0),Nc([we({type:Boolean,reflect:!0})],$c.prototype,"checked",void 0),Nc([we({type:Boolean})],$c.prototype,"disabled",void 0),Nc([$e(".ft-radio")],$c.prototype,"container",void 0),Nc([$e("ft-ripple")],$c.prototype,"ripple",void 0),Nc([$e("input")],$c.prototype,"input",void 0);const kc=ht`
1156
1178
  :host {
1157
1179
  display: contents;
1158
1180
  }
1159
- `;var qn=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 Xn extends Pe{constructor(){super(...arguments),this.name=""}render(){return so`
1181
+ `;var Ec=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Rc extends Ri{constructor(){super(...arguments),this.name=""}render(){return Jt`
1160
1182
  <slot @slotchange=${this.onSlotChange}
1161
1183
  @change=${this.onChange}
1162
1184
  @keydown=${this.onKeyDown}
1163
1185
  ></slot>
1164
- `}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)}}Xn.elementDefinitions={},Xn.styles=Jn,qn([$()],Xn.prototype,"name",void 0),qn([
1165
- /**
1166
- * @license
1167
- * Copyright 2021 Google LLC
1168
- * SPDX-License-Identifier: BSD-3-Clause
1169
- */
1170
- function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return E(0,0,{get(){const o=this.renderRoot?.querySelector(n),e=o?.assignedElements(t)??[];return void 0===r?e:e.filter((t=>t.matches(r)))}})}}()],Xn.prototype,"radioButtons",void 0),L("ft-radio")(Yn),L("ft-radio-group")(Xn);const Qn={borderRadiusM:ko.external(Lo.borderRadiusM,"Design system"),colorOutline:ko.external(Lo.colorOutline,"Design system"),colorOnSurface:ko.external(Lo.colorOnSurface,"Design system"),colorOnSurfaceMedium:ko.external(Lo.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:ko.external(Lo.colorOnSurfaceDisabled,"Design system"),colorPrimary:ko.external(Lo.colorPrimary,"Design system"),colorOnPrimary:ko.external(Lo.colorOnPrimary,"Design system"),fontFamily:ko.external(Ti.fontFamily,"Body2 typography"),fontSize:ko.external(Ti.fontSize,"Body2 typography"),fontWeight:ko.external(Ti.fontWeight,"Body2 typography"),letterSpacing:ko.external(Ti.letterSpacing,"Body2 typography"),lineHeight:ko.external(Ti.lineHeight,"Body2 typography"),textTransform:ko.external(Ti.textTransform,"Body2 typography")},ta=$t`
1186
+ `}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)}}Rc.elementDefinitions={},Rc.styles=kc,Ec([we()],Rc.prototype,"name",void 0),Ec([Re()],Rc.prototype,"radioButtons",void 0),go("ft-radio")($c),go("ft-radio-group")(Rc);const Ic={borderRadiusM:Oo.external(pr.borderRadiusM,"Design system"),colorOutline:Oo.external(pr.colorOutline,"Design system"),colorOnSurface:Oo.external(pr.colorOnSurface,"Design system"),colorOnSurfaceMedium:Oo.external(pr.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:Oo.external(pr.colorOnSurfaceDisabled,"Design system"),colorPrimary:Oo.external(pr.colorPrimary,"Design system"),colorOnPrimary:Oo.external(pr.colorOnPrimary,"Design system"),fontFamily:Oo.external(Bs.fontFamily,"Body2 typography"),fontSize:Oo.external(Bs.fontSize,"Body2 typography"),fontWeight:Oo.external(Bs.fontWeight,"Body2 typography"),letterSpacing:Oo.external(Bs.letterSpacing,"Body2 typography"),lineHeight:Oo.external(Bs.lineHeight,"Body2 typography"),textTransform:Oo.external(Bs.textTransform,"Body2 typography")},Lc=ht`
1171
1187
  .ft-filter-level--container {
1172
1188
  display: flex;
1173
1189
  flex-direction: column;
@@ -1181,14 +1197,14 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1181
1197
  flex-shrink: 0;
1182
1198
  text-decoration: none;
1183
1199
  position: relative;
1184
- border-radius: ${Qn.borderRadiusM};
1200
+ border-radius: ${Ic.borderRadiusM};
1185
1201
  overflow: hidden;
1186
1202
  display: flex;
1187
1203
  align-items: center;
1188
1204
  padding: 4px 4px;
1189
1205
  gap: 4px;
1190
1206
  cursor: pointer;
1191
- color: ${Qn.colorOnSurface};
1207
+ color: ${Ic.colorOnSurface};
1192
1208
  }
1193
1209
 
1194
1210
  .ft-filter-level--go-back:focus {
@@ -1217,7 +1233,7 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1217
1233
  }
1218
1234
 
1219
1235
  ft-button {
1220
- ${Eo(qr.color,Qn.colorOnSurface)};
1236
+ ${wo(Ul.color,Ic.colorOnSurface)};
1221
1237
  }
1222
1238
 
1223
1239
  ft-radio, ft-checkbox {
@@ -1231,11 +1247,11 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1231
1247
 
1232
1248
  .ft-filter-level--no-values {
1233
1249
  margin: 10px 0;
1234
- color: ${Qn.colorOnSurfaceMedium};
1250
+ color: ${Ic.colorOnSurfaceMedium};
1235
1251
  }
1236
- `;var oa=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 ea extends Pe{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 so`
1252
+ `;var Uc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Wc extends Ri{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 Jt`
1237
1253
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1238
- ${null==this.parent?null:so`
1254
+ ${null==this.parent?null:Jt`
1239
1255
  <div tabindex="0"
1240
1256
  part="controls go-back"
1241
1257
  class="ft-filter-level--go-back"
@@ -1247,15 +1263,15 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1247
1263
  <ft-typography variant="body2">${this.parent.label}</ft-typography>
1248
1264
  </div>
1249
1265
  `}
1250
- ${0===this.options.length&&this.noValuesLabel?so`
1266
+ ${0===this.options.length&&this.noValuesLabel?Jt`
1251
1267
  <ft-typography class="ft-filter-level--no-values" element="span" variant="body2">
1252
1268
  ${this.noValuesLabel}
1253
1269
  </ft-typography>
1254
- `:co}
1255
- ${Fr(o,(t=>t.value),(t=>{var o;return so`
1270
+ `:te}
1271
+ ${Pe(e,(t=>t.value),(t=>{var e;return Jt`
1256
1272
  <div class="ft-filter-level--option" part="options">
1257
1273
  ${this.multivalued?this.buildMultiValuedOption(t):this.buildMonoValuedOption(t)}
1258
- ${this.preventNavigation||t.selected||0===(null!==(o=t.subOptions)&&void 0!==o?o:[]).length?co:so`
1274
+ ${this.preventNavigation||t.selected||0===(null!==(e=t.subOptions)&&void 0!==e?e:[]).length?te:Jt`
1259
1275
  <ft-button icon="thin_arrow_right"
1260
1276
  part="controls navigate-hierarchy"
1261
1277
  label="${t.label}"
@@ -1265,7 +1281,7 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1265
1281
  `}
1266
1282
  </div>
1267
1283
  `}))}
1268
- ${o.length<t.length?so`
1284
+ ${e.length<t.length?Jt`
1269
1285
  <ft-button
1270
1286
  class="ft-filter-level--display-more"
1271
1287
  icon="thin_arrow"
@@ -1274,30 +1290,30 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1274
1290
  @click=${this.displayMore}>
1275
1291
  ${this.moreValuesButtonLabel}
1276
1292
  </ft-button>
1277
- `:co}
1293
+ `:te}
1278
1294
  </div>
1279
- `}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 so`
1295
+ `}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 Jt`
1280
1296
  <ft-checkbox name="${this.filterId}"
1281
1297
  part="multivalued-option"
1282
1298
  data-value="${t.value}"
1283
1299
  .checked=${t.selected}
1284
1300
  .disabled=${this.disabled}
1285
- .indeterminate=${I(null!==(o=t.subOptions)&&void 0!==o?o:[],(t=>{var o;return null!==(o=t.subOptions)&&void 0!==o?o:[]})).some((t=>t.selected))}
1286
- @change=${o=>this.optionsChanged(o,t)}>
1301
+ .indeterminate=${po(null!==(e=t.subOptions)&&void 0!==e?e:[],(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]})).some((t=>t.selected))}
1302
+ @change=${e=>this.optionsChanged(e,t)}>
1287
1303
  ${t.renderOption?t.renderOption:t.label}
1288
1304
  </ft-checkbox>
1289
- `}buildMonoValuedOption(t){return so`
1305
+ `}buildMonoValuedOption(t){return Jt`
1290
1306
  <ft-radio name="${this.filterId+Math.round(1e6*Math.random())}"
1291
1307
  part="monovalued-option"
1292
1308
  data-value="${t.value}"
1293
1309
  .checked=${t.selected}
1294
1310
  .disabled=${this.disabled}
1295
- @click=${o=>this.optionsChanged(o,t)}
1296
- @keyup=${o=>this.onRadioKeyUp(o,t)}
1311
+ @click=${e=>this.optionsChanged(e,t)}
1312
+ @keyup=${e=>this.onRadioKeyUp(e,t)}
1297
1313
  @change=${t=>t.stopPropagation()}>
1298
1314
  ${t.renderOption?t.renderOption:t.label}
1299
1315
  </ft-radio>
1300
- `}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}))}}ea.elementDefinitions={"ft-button":Rn,"ft-ripple":ln,"ft-typography":Nr,"ft-checkbox":Mn,"ft-icon":Nn,"ft-radio":Yn},ea.styles=ta,oa([$({type:String})],ea.prototype,"filterId",void 0),oa([$({type:Object})],ea.prototype,"parent",void 0),oa([$({type:Array})],ea.prototype,"options",void 0),oa([$({type:Boolean})],ea.prototype,"multivalued",void 0),oa([$({type:Boolean})],ea.prototype,"disabled",void 0),oa([$({type:Boolean})],ea.prototype,"hideSelectedOptions",void 0),oa([$({type:Boolean})],ea.prototype,"preventNavigation",void 0),oa([$({type:String})],ea.prototype,"filter",void 0),oa([$({type:String})],ea.prototype,"moreValuesButtonLabel",void 0),oa([$({type:String})],ea.prototype,"noValuesLabel",void 0),oa([$({type:Number})],ea.prototype,"displayedValuesLimit",void 0),oa([R(".ft-filter-level--container")],ea.prototype,"container",void 0),oa([C()],ea.prototype,"displayedPages",void 0);const ia={buttonsColor:ko.extend("--ft-snap-scroll-buttons-color","",Lo.colorPrimary),buttonsZIndex:ko.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:ko.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:ko.external(Lo.colorSurface,"Design system")},ra=$t`
1316
+ `}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}))}}Wc.elementDefinitions={"ft-button":ac,"ft-ripple":Ml,"ft-typography":bl,"ft-checkbox":mc,"ft-icon":ec,"ft-radio":$c},Wc.styles=Lc,Uc([we({type:String})],Wc.prototype,"filterId",void 0),Uc([we({type:Object})],Wc.prototype,"parent",void 0),Uc([we({type:Array})],Wc.prototype,"options",void 0),Uc([we({type:Boolean})],Wc.prototype,"multivalued",void 0),Uc([we({type:Boolean})],Wc.prototype,"disabled",void 0),Uc([we({type:Boolean})],Wc.prototype,"hideSelectedOptions",void 0),Uc([we({type:Boolean})],Wc.prototype,"preventNavigation",void 0),Uc([we({type:String})],Wc.prototype,"filter",void 0),Uc([we({type:String})],Wc.prototype,"moreValuesButtonLabel",void 0),Uc([we({type:String})],Wc.prototype,"noValuesLabel",void 0),Uc([we({type:Number})],Wc.prototype,"displayedValuesLimit",void 0),Uc([$e(".ft-filter-level--container")],Wc.prototype,"container",void 0),Uc([Se()],Wc.prototype,"displayedPages",void 0);const Fc={buttonsColor:Oo.extend("--ft-snap-scroll-buttons-color","",pr.colorPrimary),buttonsZIndex:Oo.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:Oo.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:Oo.external(pr.colorSurface,"Design system")},zc=ht`
1301
1317
  .ft-snap-scroll {
1302
1318
  box-sizing: border-box;
1303
1319
  position: relative;
@@ -1332,7 +1348,7 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1332
1348
  flex-wrap: nowrap;
1333
1349
  align-items: flex-start;
1334
1350
  justify-content: flex-start;
1335
- gap: ${ia.gap};
1351
+ gap: ${Fc.gap};
1336
1352
  }
1337
1353
 
1338
1354
  .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
@@ -1375,11 +1391,11 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1375
1391
  .ft-snap-scroll--next {
1376
1392
  position: absolute;
1377
1393
  display: flex;
1378
- z-index: ${ia.buttonsZIndex};
1394
+ z-index: ${Fc.buttonsZIndex};
1379
1395
  opacity: 1;
1380
1396
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1381
- ${Eo(qr.backgroundColor,"transparent")};
1382
- ${Eo(qr.color,ia.buttonsColor)};
1397
+ ${wo(Ul.backgroundColor,"transparent")};
1398
+ ${wo(Ul.color,Fc.buttonsColor)};
1383
1399
  }
1384
1400
 
1385
1401
  .ft-snap-scroll--previous[hidden],
@@ -1392,45 +1408,45 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1392
1408
  top: 0;
1393
1409
  left: -1px;
1394
1410
  bottom: 0;
1395
- background: linear-gradient(to right, ${ia.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1411
+ background: linear-gradient(to right, ${Fc.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1396
1412
  }
1397
1413
 
1398
1414
  .ft-snap-scroll--vertical .ft-snap-scroll--previous {
1399
1415
  top: -1px;
1400
1416
  left: 0;
1401
1417
  right: 0;
1402
- background: linear-gradient(to bottom, ${ia.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1418
+ background: linear-gradient(to bottom, ${Fc.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1403
1419
  }
1404
1420
 
1405
1421
  .ft-snap-scroll--horizontal .ft-snap-scroll--next {
1406
1422
  top: 0;
1407
1423
  right: -1px;
1408
1424
  bottom: 0;
1409
- background: linear-gradient(to left, ${ia.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1425
+ background: linear-gradient(to left, ${Fc.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1410
1426
  }
1411
1427
 
1412
1428
  .ft-snap-scroll--vertical .ft-snap-scroll--next {
1413
1429
  left: 0;
1414
1430
  right: 0;
1415
1431
  bottom: -1px;
1416
- background: linear-gradient(to top, ${ia.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1432
+ background: linear-gradient(to top, ${Fc.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1417
1433
  }
1418
1434
 
1419
1435
  .ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
1420
1436
  .ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
1421
1437
  .ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
1422
1438
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1423
- background-color: ${ia.colorSurface};
1439
+ background-color: ${Fc.colorSurface};
1424
1440
  }
1425
- `;var na=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 aa extends CustomEvent{constructor(t,o){super("current-element-change",{detail:{index:t,element:o}})}}class sa extends Pe{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=an({"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":ni}),o=this.controls&&this.withScroll;return so`
1441
+ `;var Ac=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class jc extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class Bc extends Ri{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 so(200),this.updateScrollDebouncer=new so(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=He({"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":Ja}),e=this.controls&&this.withScroll;return Jt`
1426
1442
  <div part="container" class="${t}">
1427
1443
  <ft-button
1428
1444
  class="ft-snap-scroll--previous"
1429
1445
  part="controls"
1430
1446
  primary
1431
1447
  icon="${this.horizontal?"THIN_ARROW_LEFT":"THIN_ARROW_UP"}"
1432
- ?hidden=${!o||this.startReached}
1433
- ?disabled=${!o||this.startReached}
1448
+ ?hidden=${!e||this.startReached}
1449
+ ?disabled=${!e||this.startReached}
1434
1450
  @click=${this.previous}
1435
1451
  ></ft-button>
1436
1452
  <slot class="ft-snap-scroll--content"
@@ -1441,12 +1457,12 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1441
1457
  part="controls"
1442
1458
  primary
1443
1459
  icon="${this.horizontal?"THIN_ARROW_RIGHT":"THIN_ARROW"}"
1444
- ?hidden=${!o||this.endReached}
1445
- ?disabled=${!o||this.endReached}
1460
+ ?hidden=${!e||this.endReached}
1461
+ ?disabled=${!e||this.endReached}
1446
1462
  @click=${this.next}
1447
1463
  ></ft-button>
1448
1464
  </div>
1449
- `}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 aa(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)}}sa.elementDefinitions={"ft-button":Rn},sa.styles=ra,na([$({type:Boolean})],sa.prototype,"horizontal",void 0),na([$({type:Boolean})],sa.prototype,"hideScrollbar",void 0),na([$({type:Boolean})],sa.prototype,"controls",void 0),na([$({type:Boolean})],sa.prototype,"limitSize",void 0),na([C()],sa.prototype,"elements",void 0),na([C()],sa.prototype,"currentElement",void 0),na([C()],sa.prototype,"withScroll",void 0),na([C()],sa.prototype,"startReached",void 0),na([C()],sa.prototype,"endReached",void 0),na([R(".ft-snap-scroll--content")],sa.prototype,"contentSlot",void 0),L("ft-snap-scroll")(sa);const la={colorOutline:ko.external(Lo.colorOutline,"Design system"),colorOnSurface:ko.external(Lo.colorOnSurface,"Design system"),colorOnSurfaceMedium:ko.external(Lo.colorOnSurfaceMedium,"Design system"),colorPrimary:ko.external(Lo.colorPrimary,"Design system"),colorSurface:ko.external(Lo.colorSurface,"Design system"),transitionDuration:ko.external(Lo.transitionDuration,"Design system"),transitionTimingFunction:ko.external(Lo.transitionTimingFunction,"Design system"),labelColor:ko.extend("--ft-filter-label-color","",Lo.colorOnSurface),labelFontSize:ko.extend("--ft-filter-label-font-size","",ui.fontSize,"16px")},ca=[br,$t`
1465
+ `}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 jc(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)}}Bc.elementDefinitions={"ft-button":ac},Bc.styles=zc,Ac([we({type:Boolean})],Bc.prototype,"horizontal",void 0),Ac([we({type:Boolean})],Bc.prototype,"hideScrollbar",void 0),Ac([we({type:Boolean})],Bc.prototype,"controls",void 0),Ac([we({type:Boolean})],Bc.prototype,"limitSize",void 0),Ac([Se()],Bc.prototype,"elements",void 0),Ac([Se()],Bc.prototype,"currentElement",void 0),Ac([Se()],Bc.prototype,"withScroll",void 0),Ac([Se()],Bc.prototype,"startReached",void 0),Ac([Se()],Bc.prototype,"endReached",void 0),Ac([$e(".ft-snap-scroll--content")],Bc.prototype,"contentSlot",void 0),go("ft-snap-scroll")(Bc);const _c={colorOutline:Oo.external(pr.colorOutline,"Design system"),colorOnSurface:Oo.external(pr.colorOnSurface,"Design system"),colorOnSurfaceMedium:Oo.external(pr.colorOnSurfaceMedium,"Design system"),colorPrimary:Oo.external(pr.colorPrimary,"Design system"),colorSurface:Oo.external(pr.colorSurface,"Design system"),transitionDuration:Oo.external(pr.transitionDuration,"Design system"),transitionTimingFunction:Oo.external(pr.transitionTimingFunction,"Design system"),labelColor:Oo.extend("--ft-filter-label-color","",pr.colorOnSurface),labelFontSize:Oo.extend("--ft-filter-label-font-size","",ss.fontSize,"16px")},Dc=[fl,ht`
1450
1466
  :host {
1451
1467
  display: flex;
1452
1468
  max-height: 100%;
@@ -1473,7 +1489,7 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1473
1489
  .ft-filter--header ft-button {
1474
1490
  flex-shrink: 0;
1475
1491
  margin-left: auto;
1476
- ${Eo(qr.iconSize,"18px")};
1492
+ ${wo(Ul.iconSize,"18px")};
1477
1493
  }
1478
1494
 
1479
1495
  .ft-filter--label {
@@ -1481,10 +1497,10 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1481
1497
  flex-shrink: 1;
1482
1498
  flex-grow: 1;
1483
1499
  word-break: break-word;
1484
- color: ${la.labelColor};
1485
- font-size: ${la.labelFontSize};
1486
- ${Eo(ui.lineHeight,"22px")};
1487
- ${Eo(ui.fontWeight,"bold")};
1500
+ color: ${_c.labelColor};
1501
+ font-size: ${_c.labelFontSize};
1502
+ ${wo(ss.lineHeight,"22px")};
1503
+ ${wo(ss.fontWeight,"bold")};
1488
1504
  }
1489
1505
 
1490
1506
  .ft-filter--filter {
@@ -1495,8 +1511,8 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1495
1511
  padding: 0 10px;
1496
1512
  overflow: hidden;
1497
1513
  height: 32px;
1498
- transition: height ${la.transitionDuration} ${la.transitionTimingFunction},
1499
- margin ${la.transitionDuration} ${la.transitionTimingFunction};
1514
+ transition: height ${_c.transitionDuration} ${_c.transitionTimingFunction},
1515
+ margin ${_c.transitionDuration} ${_c.transitionTimingFunction};
1500
1516
  transition-delay: 500ms;
1501
1517
  }
1502
1518
 
@@ -1509,15 +1525,15 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1509
1525
  display: block;
1510
1526
  width: 100%;
1511
1527
  border-radius: 4px;
1512
- border: 1px solid ${la.colorOutline};
1528
+ border: 1px solid ${_c.colorOutline};
1513
1529
  padding: 4px;
1514
- background-color: ${la.colorSurface};
1515
- color: ${la.colorOnSurface};
1516
- outline-color: ${la.colorPrimary};
1530
+ background-color: ${_c.colorSurface};
1531
+ color: ${_c.colorOnSurface};
1532
+ outline-color: ${_c.colorPrimary};
1517
1533
  }
1518
1534
 
1519
1535
  input::placeholder {
1520
- color: ${la.colorOnSurfaceMedium};
1536
+ color: ${_c.colorOnSurfaceMedium};
1521
1537
  }
1522
1538
 
1523
1539
  input:placeholder-shown {
@@ -1533,7 +1549,7 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1533
1549
  }
1534
1550
 
1535
1551
  .ft-filter--separator {
1536
- border-top: 1px solid ${la.colorOutline};
1552
+ border-top: 1px solid ${_c.colorOutline};
1537
1553
  margin: 4px 10px;
1538
1554
  }
1539
1555
 
@@ -1558,29 +1574,29 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1558
1574
  slot:not([name]) {
1559
1575
  display: none;
1560
1576
  }
1561
- `];var pa=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 fa extends CustomEvent{constructor(t){super("change",{detail:t})}}class ha extends Pe{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 I(this.options,(t=>{var o;return null!==(o=t.subOptions)&&void 0!==o?o:[]}))}get childrenFilteredFlatOptions(){return I(this.options,(t=>{var o;return t.selected?[]:null!==(o=t.subOptions)&&void 0!==o?o:[]}))}get selectedValues(){return this.childrenFilteredFlatOptions.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 so`
1577
+ `];var Mc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Kc extends CustomEvent{constructor(t){super("change",{detail:t})}}class Pc extends Ri{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 so(300),this.changeDebouncer=new so(10),this.lastDispatchedValues=[]}get flatOptions(){return po(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get childrenFilteredFlatOptions(){return po(this.options,(t=>{var e;return t.selected?[]:null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get selectedValues(){return this.childrenFilteredFlatOptions.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 Jt`
1562
1578
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1563
1579
  part="container">
1564
- ${this.label||t?so`
1580
+ ${this.label||t?Jt`
1565
1581
  <div class="ft-filter--header" part="header">
1566
1582
  <ft-typography class="ft-filter--label" variant="overline" part="label">
1567
1583
  ${this.label}
1568
1584
  </ft-typography>
1569
1585
  <slot name="label"></slot>
1570
- ${t&&!this.hideClearButton?so`
1586
+ ${t&&!this.hideClearButton?Jt`
1571
1587
  <ft-button icon="close" dense @click=${this.clear} part="clear-button">
1572
1588
  ${this.clearButtonLabel}
1573
1589
  </ft-button>
1574
1590
  `:null}
1575
1591
  </div>
1576
1592
  `:null}
1577
- <div class="ft-filter--filter" ?hidden=${!o}>
1593
+ <div class="ft-filter--filter" ?hidden=${!e}>
1578
1594
  <input type="search"
1579
1595
  part="input"
1580
1596
  class="ft-typography--caption"
1581
- ?disabled=${!o}
1582
- placeholder="${e}"
1583
- size="${o?e.length:0}"
1597
+ ?disabled=${!e}
1598
+ placeholder="${o}"
1599
+ size="${e?o.length:0}"
1584
1600
  @search=${this.onFilterChange}
1585
1601
  @keyup=${this.onFilterChange}>
1586
1602
  </div>
@@ -1591,14 +1607,14 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1591
1607
  @slotchange=${this.updateOptionsFromSlot}
1592
1608
  @option-change=${this.optionsChanged}></slot>
1593
1609
  </div>
1594
- `}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 so`
1595
- ${this.raiseSelectedOptions&&o.length>0?so`
1610
+ `}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,r,i,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===(i=null===(r=this.shadowRoot)||void 0===r?void 0:r.querySelector(".ft-filter--levels ft-filter-level:last-child"))||void 0===i?void 0:i.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,r=o<0?"ft-filter--level-center":"ft-filter--level-left";return Jt`
1611
+ ${this.raiseSelectedOptions&&e.length>0?Jt`
1596
1612
  <ft-filter-level
1597
1613
  filterId="${this.id}"
1598
1614
  ?multivalued=${this.multivalued}
1599
1615
  ?disabled=${this.disabled}
1600
1616
  preventNavigation
1601
- .options=${o}
1617
+ .options=${e}
1602
1618
  @change=${this.onChange}
1603
1619
  part="values selected-values"
1604
1620
  .exportpartsPrefixes=${["values","selected-values"]}
@@ -1608,10 +1624,10 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1608
1624
  <ft-snap-scroll horizontal hideScrollbar
1609
1625
  class="ft-filter--levels"
1610
1626
  @current-element-change=${t=>this.levelsScrollDebouncer.run((()=>{for(;t.detail.index<this.displayedLevels.length;)this.displayedLevels.pop();this.requestUpdate()}))}>
1611
- ${this.renderLevel(i,this.options)}
1612
- ${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)}))}
1627
+ ${this.renderLevel(r,this.options)}
1628
+ ${this.displayedLevels.map((e=>t.find((t=>t.value===e)))).map(((t,e)=>{var r;const i=(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(i,null!==(r=null==t?void 0:t.subOptions)&&void 0!==r?r:[],t)}))}
1613
1629
  </ft-snap-scroll>
1614
- `}renderLevel(t,o,e){return so`
1630
+ `}renderLevel(t,e,o){return Jt`
1615
1631
  <ft-filter-level
1616
1632
  class="${t}"
1617
1633
  filterId="${this.id}"
@@ -1620,8 +1636,8 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1620
1636
  ?multivalued=${this.multivalued}
1621
1637
  ?disabled=${this.disabled||"ft-filter--level-center"!==t}
1622
1638
  ?hideSelectedOptions=${this.raiseSelectedOptions}
1623
- .parent=${e}
1624
- .options=${o}
1639
+ .parent=${o}
1640
+ .options=${e}
1625
1641
  .displayedValuesLimit=${this.displayedValuesLimit}
1626
1642
  @change=${this.onChange}
1627
1643
  @go-back=${this.goBack}
@@ -1630,6 +1646,6 @@ function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1630
1646
  .exportpartsPrefixes=${["values","available-values"]}
1631
1647
  noValuesLabel="${this.noValuesLabel}"
1632
1648
  ></ft-filter-level>
1633
- `}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;W(this.lastDispatchedValues,t)||(this.dispatchEvent(new fa(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)}}ha.elementDefinitions={"ft-button":Rn,"ft-filter-level":ea,"ft-snap-scroll":sa,"ft-typography":Nr},ha.styles=ca,pa([$({type:String})],ha.prototype,"id",void 0),pa([$({type:String})],ha.prototype,"label",void 0),pa([$({type:String})],ha.prototype,"filterPlaceHolder",void 0),pa([$({type:String})],ha.prototype,"clearButtonLabel",void 0),pa([$({type:String})],ha.prototype,"moreValuesButtonLabel",void 0),pa([$({type:String})],ha.prototype,"noValuesLabel",void 0),pa([z([])],ha.prototype,"options",void 0),pa([$({type:Boolean})],ha.prototype,"multivalued",void 0),pa([$({type:Boolean})],ha.prototype,"disabled",void 0),pa([$({type:Boolean})],ha.prototype,"raiseSelectedOptions",void 0),pa([$({type:Number})],ha.prototype,"displayedValuesLimit",void 0),pa([$({type:Boolean})],ha.prototype,"hideClearButton",void 0),pa([R(".ft-filter--slot")],ha.prototype,"slotElement",void 0),pa([R(".ft-filter--container")],ha.prototype,"container",void 0),pa([R(".ft-filter--values")],ha.prototype,"valuesContainer",void 0),pa([R(".ft-filter--levels")],ha.prototype,"levelsContainer",void 0),pa([C()],ha.prototype,"lastLevelHasHiddenvalues",void 0),pa([R(".ft-filter--filter input")],ha.prototype,"filterInput",void 0),pa([function(t){return(o,e)=>E(0,0,{get(){return(this.renderRoot??(U??=document.createDocumentFragment())).querySelectorAll(t)}})}(".ft-filter--levels ft-filter-level")],ha.prototype,"levels",void 0),pa([C()],ha.prototype,"withScroll",void 0),pa([C()],ha.prototype,"filter",void 0),pa([C()],ha.prototype,"slideIn",void 0),pa([C()],ha.prototype,"slideOut",void 0);var da=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 ua extends Pe{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return so`
1649
+ `}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 r=t=>{var e;t!==o&&(t.selected=!1),null===(e=t.subOptions)||void 0===e||e.forEach(r)};this.multivalued?null===(e=o.subOptions)||void 0===e||e.forEach(r):this.options.forEach(r),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;uo(this.lastDispatchedValues,t)||(this.dispatchEvent(new Kc(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)}}Pc.elementDefinitions={"ft-button":ac,"ft-filter-level":Wc,"ft-snap-scroll":Bc,"ft-typography":bl},Pc.styles=Dc,Mc([we({type:String})],Pc.prototype,"id",void 0),Mc([we({type:String})],Pc.prototype,"label",void 0),Mc([we({type:String})],Pc.prototype,"filterPlaceHolder",void 0),Mc([we({type:String})],Pc.prototype,"clearButtonLabel",void 0),Mc([we({type:String})],Pc.prototype,"moreValuesButtonLabel",void 0),Mc([we({type:String})],Pc.prototype,"noValuesLabel",void 0),Mc([bo([])],Pc.prototype,"options",void 0),Mc([we({type:Boolean})],Pc.prototype,"multivalued",void 0),Mc([we({type:Boolean})],Pc.prototype,"disabled",void 0),Mc([we({type:Boolean})],Pc.prototype,"raiseSelectedOptions",void 0),Mc([we({type:Number})],Pc.prototype,"displayedValuesLimit",void 0),Mc([we({type:Boolean})],Pc.prototype,"hideClearButton",void 0),Mc([$e(".ft-filter--slot")],Pc.prototype,"slotElement",void 0),Mc([$e(".ft-filter--container")],Pc.prototype,"container",void 0),Mc([$e(".ft-filter--values")],Pc.prototype,"valuesContainer",void 0),Mc([$e(".ft-filter--levels")],Pc.prototype,"levelsContainer",void 0),Mc([Se()],Pc.prototype,"lastLevelHasHiddenvalues",void 0),Mc([$e(".ft-filter--filter input")],Pc.prototype,"filterInput",void 0),Mc([Ee(".ft-filter--levels ft-filter-level")],Pc.prototype,"levels",void 0),Mc([Se()],Pc.prototype,"withScroll",void 0),Mc([Se()],Pc.prototype,"filter",void 0),Mc([Se()],Pc.prototype,"slideIn",void 0),Mc([Se()],Pc.prototype,"slideOut",void 0);var Zc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Hc extends Ri{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return Jt`
1634
1650
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1635
- `}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}))}}ua.elementDefinitions={},da([$({type:String})],ua.prototype,"label",void 0),da([$({type:Object,converter:t=>t})],ua.prototype,"value",void 0),da([$({type:Boolean,reflect:!0})],ua.prototype,"selected",void 0),da([$({type:Object})],ua.prototype,"subOptions",void 0),da([z({})],ua.prototype,"renderOption",void 0),da([R(".ft-filter-option--slot")],ua.prototype,"slotElement",void 0),L("ft-filter")(ha),L("ft-filter-option")(ua),t.FtFilter=ha,t.FtFilterChangeEvent=fa,t.FtFilterCssVariables=la,t.FtFilterLevelCssVariables=Qn,t.FtFilterOption=ua,t.levelStyles=ta,t.styles=ca}({});
1651
+ `}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}))}}Hc.elementDefinitions={},Zc([we({type:String})],Hc.prototype,"label",void 0),Zc([we({type:Object,converter:t=>t})],Hc.prototype,"value",void 0),Zc([we({type:Boolean,reflect:!0})],Hc.prototype,"selected",void 0),Zc([we({type:Object})],Hc.prototype,"subOptions",void 0),Zc([bo({})],Hc.prototype,"renderOption",void 0),Zc([$e(".ft-filter-option--slot")],Hc.prototype,"slotElement",void 0),go("ft-filter")(Pc),go("ft-filter-option")(Hc),t.FtFilter=Pc,t.FtFilterChangeEvent=Kc,t.FtFilterCssVariables=_c,t.FtFilterLevelCssVariables=Ic,t.FtFilterOption=Hc,t.levelStyles=Lc,t.styles=Dc}({});