@fluid-topics/ft-typography 1.1.42 → 1.1.44

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,55 +12,55 @@
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,e=window.customElements.define,o=window.customElements.get,r=window.customElements,n=new WeakMap,i=new WeakMap,a=new WeakMap,s=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=n.prototype.attributeChangedCallback,c=new Set(n.observedAttributes||[]);u(n,c,s);const l={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(n,l);let f=o.call(r,t);f||(f=p(t),e.call(r,t,f)),this===window.customElements&&(a.set(n,l),l.standInClass=f);const h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)i.delete(t),d(t,l,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}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=c;if(e)return c=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),n.set(e,o),e},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,f=t=>{let e=t.getRootNode();if(!l(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),l(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,n=r._getDefinition(e);return n?d(o,n):i.set(o,r),o}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=n.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},u=(t,e,o)=>{if(0===e.size||void 0===o)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,n){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);r.call(this,i,n),o.call(this,i,t,n)}else r.call(this,i,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);n.call(this,r),o.call(this,r,t,null)}else n.call(this,r)});const i=t.prototype.toggleAttribute;i&&(t.prototype.toggleAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r);const e=this.getAttribute(n);o.call(this,n,t,e)}else i.call(this,n,r)})},h=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):h(o)},d=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),c=t;try{new e.elementClass}catch(t){h(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===n.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 i{constructor(t){const e=new Map;t.forEach(((t,o)=>{const r=t.getAttribute("name"),n=e.get(r)||[];this[+o]=t,n.push(t),e.set(r,n)})),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=n.get(o);t&&!0!==t.formAssociated||e.push(o)}return new i(e)}})}}try{window.customElements.define("custom-element",null)}catch(Da){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)}}}
15
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,n=new WeakMap,i=new WeakMap,a=new WeakMap,l=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=n.prototype.attributeChangedCallback,c=new Set(n.observedAttributes||[]);u(n,c,l);const s={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,s),this._definitionsByClass.set(n,s);let f=e.call(r,t);f||(f=p(t),o.call(r,t,f)),this===window.customElements&&(a.set(n,s),s.standInClass=f);const h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)i.delete(t),d(t,s,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){g.push(this),r.upgrade.apply(r,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 r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=c;if(o)return c=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),n.set(o,e),o},window.HTMLElement.prototype=t.prototype;const s=t=>t===document||t instanceof ShadowRoot,f=t=>{let o=t.getRootNode();if(!s(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),s(o)||(o=l.get(o)?.getRootNode()||document)}return o.customElements},p=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=f(e)||window.customElements,n=r._getDefinition(o);return n?d(e,n):i.set(e,r),e}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=n.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},u=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,n){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);r.call(this,i,n),e.call(this,i,t,n)}else r.call(this,i,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);n.call(this,r),e.call(this,r,t,null)}else n.call(this,r)});const i=t.prototype.toggleAttribute;i&&(t.prototype.toggleAttribute=function(t,r){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);i.call(this,n,r);const o=this.getAttribute(n);e.call(this,n,t,o)}else i.call(this,n,r)})},h=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):h(e)},d=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),n.set(t,o),c=t;try{new o.elementClass}catch(t){h(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 r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&l.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 r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0===n.get(e).formAssociated)return r?.call(this,...o);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 i{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),n=o.get(r)||[];this[+e]=t,n.push(t),o.set(r,n)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=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,[]),o=[];for(const e of t){const t=n.get(e);t&&!0!==t.formAssociated||o.push(e)}return new i(o)}})}}try{window.customElements.define("custom-element",null)}catch(tl){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,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,o=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),n=new WeakMap;const i=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=n.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&n.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 i(e)})(t):t
20
+ */const o=globalThis,e=o.ShadowRoot&&(void 0===o.ShadyCSS||o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),n=new WeakMap;const i=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(e&&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),a=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return i(o)})(t):t
21
21
  /**
22
22
  * @license
23
23
  * Copyright 2017 Google LLC
24
24
  * SPDX-License-Identifier: BSD-3-Clause
25
- */,{is:s,defineProperty:c,getOwnPropertyDescriptor:l,getOwnPropertyNames:f,getOwnPropertySymbols:p,getPrototypeOf:u}=Object,h=globalThis,d=h.trustedTypes,y=d?d.emptyScript:"",g=h.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}},O=(t,e)=>!s(t,e),v={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:O};Symbol.metadata??=Symbol("metadata"),h.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,e=v){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&&c(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:n}=l(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return r?.call(this)},set(e){const i=r?.call(this);n.call(this,e),this.requestUpdate(t,i,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??v}static _$Ei(){if(this.hasOwnProperty(b("elementProperties")))return;const t=u(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"),n=e.litNonce;void 0!==n&&r.setAttribute("nonce",n),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 n=(void 0!==o.converter?.toAttribute?o.converter:m).toAttribute(e,o.type);this._$Em=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),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),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:m;this._$Em=r,this[r]=n.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,r=!1,n){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??O)(r?n: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){}};S.elementStyles=[],S.shadowRootOptions={mode:"open"},S[b("elementProperties")]=new Map,S[b("finalized")]=new Map,g?.({ReactiveElement:S}),(h.reactiveElementVersions??=[]).push("2.0.2");
25
+ */,{is:l,defineProperty:c,getOwnPropertyDescriptor:s,getOwnPropertyNames:f,getOwnPropertySymbols:p,getPrototypeOf:u}=Object,h=globalThis,d=h.trustedTypes,y=d?d.emptyScript:"",g=h.reactiveElementPolyfillSupport,b=(t,o)=>t,m={toAttribute(t,o){switch(o){case Boolean:t=t?y: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}},O=(t,o)=>!l(t,o),v={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:O};Symbol.metadata??=Symbol("metadata"),h.litPropertyMetadata??=new WeakMap;let x=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=v){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&c(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:n}=s(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const i=r?.call(this);n.call(this,o),this.requestUpdate(t,i,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??v}static _$Ei(){if(this.hasOwnProperty(b("elementProperties")))return;const t=u(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,o=[...f(t),...p(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(a(t))}else void 0!==t&&o.push(a(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,r)=>{if(e)t.adoptedStyleSheets=r.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of r){const r=document.createElement("style"),n=o.litNonce;void 0!==n&&r.setAttribute("nonce",n),r.textContent=e.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,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const n=(void 0!==e.converter?.toAttribute?e.converter:m).toAttribute(o,e.type);this._$Em=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:m;this._$Em=r,this[r]=n.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,n){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??O)(r?n: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){}};x.elementStyles=[],x.shadowRootOptions={mode:"open"},x[b("elementProperties")]=new Map,x[b("finalized")]=new Map,g?.({ReactiveElement:x}),(h.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=globalThis,x=w.trustedTypes,N=x?x.createPolicy("lit-html",{createHTML:t=>t}):void 0,C="$lit$",E=`lit$${(Math.random()+"").slice(9)}$`,R="?"+E,L=`<${R}>`,I=document,U=()=>I.createComment(""),W=t=>null===t||"object"!=typeof t&&"function"!=typeof t,k=Array.isArray,$=t=>k(t)||"function"==typeof t?.[Symbol.iterator],F="[ \t\n\f\r]",A=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,K=/>/g,j=RegExp(`>|${F}(?:([^\\s"'>=/]+)(${F}*=${F}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),z=/'/g,P=/"/g,B=/^(?:script|style|textarea|title)$/i,M=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),D=Symbol.for("lit-noChange"),Z=Symbol.for("lit-nothing"),H=new WeakMap,T=I.createTreeWalker(I,129);function G(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==N?N.createHTML(e):e}const V=(t,e)=>{const o=t.length-1,r=[];let n,i=2===e?"<svg>":"",a=A;for(let e=0;e<o;e++){const o=t[e];let s,c,l=-1,f=0;for(;f<o.length&&(a.lastIndex=f,c=a.exec(o),null!==c);)f=a.lastIndex,a===A?"!--"===c[1]?a=_:void 0!==c[1]?a=K:void 0!==c[2]?(B.test(c[2])&&(n=RegExp("</"+c[2],"g")),a=j):void 0!==c[3]&&(a=j):a===j?">"===c[0]?(a=n??A,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?j:'"'===c[3]?P:z):a===P||a===z?a=j:a===_||a===K?a=A:(a=j,n=void 0);const p=a===j&&t[e+1].startsWith("/>")?" ":"";i+=a===A?o+L:l>=0?(r.push(s),o.slice(0,l)+C+o.slice(l)+E+p):o+E+(-2===l?e:p)}return[G(t,i+(t[o]||"<?>")+(2===e?"</svg>":"")),r]};let q=class t{constructor({strings:e,_$litType$:o},r){let n;this.parts=[];let i=0,a=0;const s=e.length-1,c=this.parts,[l,f]=V(e,o);if(this.el=t.createElement(l,r),T.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(n=T.nextNode())&&c.length<s;){if(1===n.nodeType){if(n.hasAttributes())for(const t of n.getAttributeNames())if(t.endsWith(C)){const e=f[a++],o=n.getAttribute(t).split(E),r=/([.?@])?(.*)/.exec(e);c.push({type:1,index:i,name:r[2],strings:o,ctor:"."===r[1]?tt:"?"===r[1]?et:"@"===r[1]?ot:Q}),n.removeAttribute(t)}else t.startsWith(E)&&(c.push({type:6,index:i}),n.removeAttribute(t));if(B.test(n.tagName)){const t=n.textContent.split(E),e=t.length-1;if(e>0){n.textContent=x?x.emptyScript:"";for(let o=0;o<e;o++)n.append(t[o],U()),T.nextNode(),c.push({type:2,index:++i});n.append(t[e],U())}}}else if(8===n.nodeType)if(n.data===R)c.push({type:2,index:i});else{let t=-1;for(;-1!==(t=n.data.indexOf(E,t+1));)c.push({type:7,index:i}),t+=E.length-1}i++}}static createElement(t,e){const o=I.createElement("template");return o.innerHTML=t,o}};function Y(t,e,o=t,r){if(e===D)return e;let n=void 0!==r?o._$Co?.[r]:o._$Cl;const i=W(e)?void 0:e._$litDirective$;return n?.constructor!==i&&(n?._$AO?.(!1),void 0===i?n=void 0:(n=new i(t),n._$AT(t,o,r)),void 0!==r?(o._$Co??=[])[r]=n:o._$Cl=n),void 0!==n&&(e=Y(t,n._$AS(t,e.values),n,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??I).importNode(e,!0);T.currentNode=r;let n=T.nextNode(),i=0,a=0,s=o[0];for(;void 0!==s;){if(i===s.index){let e;2===s.type?e=new X(n,n.nextSibling,this,t):1===s.type?e=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(e=new rt(n,this,t)),this._$AV.push(e),s=o[++a]}i!==s?.index&&(n=T.nextNode(),i++)}return T.currentNode=I,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),W(t)?t===Z||null==t||""===t?(this._$AH!==Z&&this._$AR(),this._$AH=Z):t!==this._$AH&&t!==D&&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!==Z&&W(this._$AH)?this._$AA.nextSibling.data=t:this.$(I.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(G(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){k(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,n=0;for(const i of e)n===o.length?o.push(r=new t(this.k(U()),this.k(U()),this,this.options)):r=o[n],r._$AI(i),n++;n<o.length&&(this._$AR(r&&r._$AB.nextSibling,n),o.length=n)}_$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,n){this.type=1,this._$AH=Z,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=n,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 n=this.strings;let i=!1;if(void 0===n)t=Y(this,t,e,0),i=!W(t)||t!==this._$AH&&t!==D,i&&(this._$AH=t);else{const r=t;let a,s;for(t=n[0],a=0;a<n.length-1;a++)s=Y(this,r[o+a],e,a),s===D&&(s=this._$AH[a]),i||=!W(s)||s!==this._$AH[a],s===Z?t=Z:t!==Z&&(t+=(s??"")+n[a+1]),this._$AH[a]=s}i&&!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,n){super(t,e,o,r,n),this.type=5}_$AI(t,e=this){if((t=Y(this,t,e,0)??Z)===D)return;const o=this._$AH,r=t===Z&&o!==Z||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==Z&&(o===Z||r);r&&this.element.removeEventListener(this.name,this,o),n&&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 nt={j:C,P:E,A:R,C:1,M:V,L:J,R:$,V:Y,D:X,I:Q,H:et,N:ot,U:tt,B:rt},it=w.litHtmlPolyfillSupport;it?.(q,X),(w.litHtmlVersions??=[]).push("3.1.0");
31
+ const S=globalThis,w=S.trustedTypes,N=w?w.createPolicy("lit-html",{createHTML:t=>t}):void 0,C="$lit$",E=`lit$${(Math.random()+"").slice(9)}$`,R="?"+E,I=`<${R}>`,L=document,W=()=>L.createComment(""),U=t=>null===t||"object"!=typeof t&&"function"!=typeof t,k=Array.isArray,z=t=>k(t)||"function"==typeof t?.[Symbol.iterator],$="[ \t\n\f\r]",F=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,A=/-->/g,B=/>/g,_=RegExp(`>|${$}(?:([^\\s"'>=/]+)(${$}*=${$}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),K=/'/g,P=/"/g,Z=/^(?:script|style|textarea|title)$/i,j=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),H=Symbol.for("lit-noChange"),M=Symbol.for("lit-nothing"),D=new WeakMap,T=L.createTreeWalker(L,129);function G(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==N?N.createHTML(o):o}const V=(t,o)=>{const e=t.length-1,r=[];let n,i=2===o?"<svg>":"",a=F;for(let o=0;o<e;o++){const e=t[o];let l,c,s=-1,f=0;for(;f<e.length&&(a.lastIndex=f,c=a.exec(e),null!==c);)f=a.lastIndex,a===F?"!--"===c[1]?a=A:void 0!==c[1]?a=B:void 0!==c[2]?(Z.test(c[2])&&(n=RegExp("</"+c[2],"g")),a=_):void 0!==c[3]&&(a=_):a===_?">"===c[0]?(a=n??F,s=-1):void 0===c[1]?s=-2:(s=a.lastIndex-c[2].length,l=c[1],a=void 0===c[3]?_:'"'===c[3]?P:K):a===P||a===K?a=_:a===A||a===B?a=F:(a=_,n=void 0);const p=a===_&&t[o+1].startsWith("/>")?" ":"";i+=a===F?e+I:s>=0?(r.push(l),e.slice(0,s)+C+e.slice(s)+E+p):e+E+(-2===s?o:p)}return[G(t,i+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};let q=class t{constructor({strings:o,_$litType$:e},r){let n;this.parts=[];let i=0,a=0;const l=o.length-1,c=this.parts,[s,f]=V(o,e);if(this.el=t.createElement(s,r),T.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(n=T.nextNode())&&c.length<l;){if(1===n.nodeType){if(n.hasAttributes())for(const t of n.getAttributeNames())if(t.endsWith(C)){const o=f[a++],e=n.getAttribute(t).split(E),r=/([.?@])?(.*)/.exec(o);c.push({type:1,index:i,name:r[2],strings:e,ctor:"."===r[1]?tt:"?"===r[1]?ot:"@"===r[1]?et:Q}),n.removeAttribute(t)}else t.startsWith(E)&&(c.push({type:6,index:i}),n.removeAttribute(t));if(Z.test(n.tagName)){const t=n.textContent.split(E),o=t.length-1;if(o>0){n.textContent=w?w.emptyScript:"";for(let e=0;e<o;e++)n.append(t[e],W()),T.nextNode(),c.push({type:2,index:++i});n.append(t[o],W())}}}else if(8===n.nodeType)if(n.data===R)c.push({type:2,index:i});else{let t=-1;for(;-1!==(t=n.data.indexOf(E,t+1));)c.push({type:7,index:i}),t+=E.length-1}i++}}static createElement(t,o){const e=L.createElement("template");return e.innerHTML=t,e}};function Y(t,o,e=t,r){if(o===H)return o;let n=void 0!==r?e._$Co?.[r]:e._$Cl;const i=U(o)?void 0:o._$litDirective$;return n?.constructor!==i&&(n?._$AO?.(!1),void 0===i?n=void 0:(n=new i(t),n._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=n:e._$Cl=n),void 0!==n&&(o=Y(t,n._$AS(t,o.values),n,r)),o}let J=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,r=(t?.creationScope??L).importNode(o,!0);T.currentNode=r;let n=T.nextNode(),i=0,a=0,l=e[0];for(;void 0!==l;){if(i===l.index){let o;2===l.type?o=new X(n,n.nextSibling,this,t):1===l.type?o=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(o=new rt(n,this,t)),this._$AV.push(o),l=e[++a]}i!==l?.index&&(n=T.nextNode(),i++)}return T.currentNode=L,r}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++}},X=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=M,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.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=Y(this,t,o),U(t)?t===M||null==t||""===t?(this._$AH!==M&&this._$AR(),this._$AH=M):t!==this._$AH&&t!==H&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):z(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!==M&&U(this._$AH)?this._$AA.nextSibling.data=t:this.$(L.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=q.createElement(G(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new J(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=D.get(t.strings);return void 0===o&&D.set(t.strings,o=new q(t)),o}T(o){k(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,n=0;for(const i of o)n===e.length?e.push(r=new t(this.k(W()),this.k(W()),this,this.options)):r=e[n],r._$AI(i),n++;n<e.length&&(this._$AR(r&&r._$AB.nextSibling,n),e.length=n)}_$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))}},Q=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,n){this.type=1,this._$AH=M,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=M}_$AI(t,o=this,e,r){const n=this.strings;let i=!1;if(void 0===n)t=Y(this,t,o,0),i=!U(t)||t!==this._$AH&&t!==H,i&&(this._$AH=t);else{const r=t;let a,l;for(t=n[0],a=0;a<n.length-1;a++)l=Y(this,r[e+a],o,a),l===H&&(l=this._$AH[a]),i||=!U(l)||l!==this._$AH[a],l===M?t=M:t!==M&&(t+=(l??"")+n[a+1]),this._$AH[a]=l}i&&!r&&this.O(t)}O(t){t===M?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===M?void 0:t}},ot=class extends Q{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==M)}},et=class extends Q{constructor(t,o,e,r,n){super(t,o,e,r,n),this.type=5}_$AI(t,o=this){if((t=Y(this,t,o,0)??M)===H)return;const e=this._$AH,r=t===M&&e!==M||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==M&&(e===M||r);r&&this.element.removeEventListener(this.name,this,e),n&&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,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){Y(this,t)}};const nt={j:C,P:E,A:R,C:1,M:V,L:J,R:z,V:Y,D:X,I:Q,H:ot,N:et,U:tt,B:rt},it=S.litHtmlPolyfillSupport;it?.(q,X),(S.litHtmlVersions??=[]).push("3.1.0");
32
32
  /**
33
33
  * @license
34
34
  * Copyright 2019 Google LLC
35
35
  * SPDX-License-Identifier: BSD-3-Clause
36
36
  */
37
- const at=globalThis,st=at.ShadowRoot&&(void 0===at.ShadyCSS||at.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ct=Symbol(),lt=new WeakMap;let ft=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==ct)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=lt.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&lt.set(e,t))}return t}toString(){return this.cssText}};const pt=t=>new ft("string"==typeof t?t:t+"",void 0,ct),ut=(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,ct)},ht=(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)}},dt=st?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return pt(e)})(t):t
37
+ const at=globalThis,lt=at.ShadowRoot&&(void 0===at.ShadyCSS||at.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ct=Symbol(),st=new WeakMap;let ft=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==ct)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(lt&&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 pt=t=>new ft("string"==typeof t?t:t+"",void 0,ct),ut=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,r)=>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[r+1]),t[0]);return new ft(e,t,ct)},ht=(t,o)=>{if(lt)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=at.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}},dt=lt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return pt(o)})(t):t
38
38
  /**
39
39
  * @license
40
40
  * Copyright 2017 Google LLC
41
41
  * SPDX-License-Identifier: BSD-3-Clause
42
- */,{is:yt,defineProperty:gt,getOwnPropertyDescriptor:bt,getOwnPropertyNames:mt,getOwnPropertySymbols:Ot,getPrototypeOf:vt}=Object,St=globalThis,wt=St.trustedTypes,xt=wt?wt.emptyScript:"",Nt=St.reactiveElementPolyfillSupport,Ct=(t,e)=>t,Et={toAttribute(t,e){switch(e){case Boolean:t=t?xt: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}},Rt=(t,e)=>!yt(t,e),Lt={attribute:!0,type:String,converter:Et,reflect:!1,hasChanged:Rt};Symbol.metadata??=Symbol("metadata"),St.litPropertyMetadata??=new WeakMap;let It=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=Lt){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:n}=bt(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return r?.call(this)},set(e){const i=r?.call(this);n.call(this,e),this.requestUpdate(t,i,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Lt}static _$Ei(){if(this.hasOwnProperty(Ct("elementProperties")))return;const t=vt(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),...Ot(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(dt(t))}else void 0!==t&&e.push(dt(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 ht(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 n=(void 0!==o.converter?.toAttribute?o.converter:Et).toAttribute(e,o.type);this._$Em=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),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),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Et;this._$Em=r,this[r]=n.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,r=!1,n){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??Rt)(r?n: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){}};It.elementStyles=[],It.shadowRootOptions={mode:"open"},It[Ct("elementProperties")]=new Map,It[Ct("finalized")]=new Map,Nt?.({ReactiveElement:It}),(St.reactiveElementVersions??=[]).push("2.0.2");
42
+ */,{is:yt,defineProperty:gt,getOwnPropertyDescriptor:bt,getOwnPropertyNames:mt,getOwnPropertySymbols:Ot,getPrototypeOf:vt}=Object,xt=globalThis,St=xt.trustedTypes,wt=St?St.emptyScript:"",Nt=xt.reactiveElementPolyfillSupport,Ct=(t,o)=>t,Et={toAttribute(t,o){switch(o){case Boolean:t=t?wt: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}},Rt=(t,o)=>!yt(t,o),It={attribute:!0,type:String,converter:Et,reflect:!1,hasChanged:Rt};Symbol.metadata??=Symbol("metadata"),xt.litPropertyMetadata??=new WeakMap;let Lt=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=It){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&gt(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:n}=bt(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const i=r?.call(this);n.call(this,o),this.requestUpdate(t,i,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??It}static _$Ei(){if(this.hasOwnProperty(Ct("elementProperties")))return;const t=vt(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,o=[...mt(t),...Ot(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(dt(t))}else void 0!==t&&o.push(dt(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 ht(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),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const n=(void 0!==e.converter?.toAttribute?e.converter:Et).toAttribute(o,e.type);this._$Em=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Et;this._$Em=r,this[r]=n.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,n){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??Rt)(r?n: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){}};Lt.elementStyles=[],Lt.shadowRootOptions={mode:"open"},Lt[Ct("elementProperties")]=new Map,Lt[Ct("finalized")]=new Map,Nt?.({ReactiveElement:Lt}),(xt.reactiveElementVersions??=[]).push("2.0.2");
43
43
  /**
44
44
  * @license
45
45
  * Copyright 2017 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
47
  */
48
- const Ut=globalThis,Wt=Ut.trustedTypes,kt=Wt?Wt.createPolicy("lit-html",{createHTML:t=>t}):void 0,$t="$lit$",Ft=`lit$${(Math.random()+"").slice(9)}$`,At="?"+Ft,_t=`<${At}>`,Kt=document,jt=()=>Kt.createComment(""),zt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Pt=Array.isArray,Bt=t=>Pt(t)||"function"==typeof t?.[Symbol.iterator],Mt="[ \t\n\f\r]",Dt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Zt=/-->/g,Ht=/>/g,Tt=RegExp(`>|${Mt}(?:([^\\s"'>=/]+)(${Mt}*=${Mt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Gt=/'/g,Vt=/"/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=Kt.createTreeWalker(Kt,129);function re(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==kt?kt.createHTML(e):e}const ne=(t,e)=>{const o=t.length-1,r=[];let n,i=2===e?"<svg>":"",a=Dt;for(let e=0;e<o;e++){const o=t[e];let s,c,l=-1,f=0;for(;f<o.length&&(a.lastIndex=f,c=a.exec(o),null!==c);)f=a.lastIndex,a===Dt?"!--"===c[1]?a=Zt:void 0!==c[1]?a=Ht:void 0!==c[2]?(qt.test(c[2])&&(n=RegExp("</"+c[2],"g")),a=Tt):void 0!==c[3]&&(a=Tt):a===Tt?">"===c[0]?(a=n??Dt,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?Tt:'"'===c[3]?Vt:Gt):a===Vt||a===Gt?a=Tt:a===Zt||a===Ht?a=Dt:(a=Tt,n=void 0);const p=a===Tt&&t[e+1].startsWith("/>")?" ":"";i+=a===Dt?o+_t:l>=0?(r.push(s),o.slice(0,l)+$t+o.slice(l)+Ft+p):o+Ft+(-2===l?e:p)}return[re(t,i+(t[o]||"<?>")+(2===e?"</svg>":"")),r]};class ie{constructor({strings:t,_$litType$:e},o){let r;this.parts=[];let n=0,i=0;const a=t.length-1,s=this.parts,[c,l]=ne(t,e);if(this.el=ie.createElement(c,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($t)){const e=l[i++],o=r.getAttribute(t).split(Ft),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:n,name:a[2],strings:o,ctor:"."===a[1]?fe:"?"===a[1]?pe:"@"===a[1]?ue:le}),r.removeAttribute(t)}else t.startsWith(Ft)&&(s.push({type:6,index:n}),r.removeAttribute(t));if(qt.test(r.tagName)){const t=r.textContent.split(Ft),e=t.length-1;if(e>0){r.textContent=Wt?Wt.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],jt()),oe.nextNode(),s.push({type:2,index:++n});r.append(t[e],jt())}}}else if(8===r.nodeType)if(r.data===At)s.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(Ft,t+1));)s.push({type:7,index:n}),t+=Ft.length-1}n++}}static createElement(t,e){const o=Kt.createElement("template");return o.innerHTML=t,o}}function ae(t,e,o=t,r){if(e===Qt)return e;let n=void 0!==r?o._$Co?.[r]:o._$Cl;const i=zt(e)?void 0:e._$litDirective$;return n?.constructor!==i&&(n?._$AO?.(!1),void 0===i?n=void 0:(n=new i(t),n._$AT(t,o,r)),void 0!==r?(o._$Co??=[])[r]=n:o._$Cl=n),void 0!==n&&(e=ae(t,n._$AS(t,e.values),n,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??Kt).importNode(e,!0);oe.currentNode=r;let n=oe.nextNode(),i=0,a=0,s=o[0];for(;void 0!==s;){if(i===s.index){let e;2===s.type?e=new ce(n,n.nextSibling,this,t):1===s.type?e=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(e=new he(n,this,t)),this._$AV.push(e),s=o[++a]}i!==s?.index&&(n=oe.nextNode(),i++)}return oe.currentNode=Kt,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++}},ce=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),zt(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):Bt(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&&zt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Kt.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=ie.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 ie(t)),e}T(e){Pt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,n=0;for(const i of e)n===o.length?o.push(r=new t(this.k(jt()),this.k(jt()),this,this.options)):r=o[n],r._$AI(i),n++;n<o.length&&(this._$AR(r&&r._$AB.nextSibling,n),o.length=n)}_$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))}},le=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,n){this.type=1,this._$AH=te,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=n,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 n=this.strings;let i=!1;if(void 0===n)t=ae(this,t,e,0),i=!zt(t)||t!==this._$AH&&t!==Qt,i&&(this._$AH=t);else{const r=t;let a,s;for(t=n[0],a=0;a<n.length-1;a++)s=ae(this,r[o+a],e,a),s===Qt&&(s=this._$AH[a]),i||=!zt(s)||s!==this._$AH[a],s===te?t=te:t!==te&&(t+=(s??"")+n[a+1]),this._$AH[a]=s}i&&!r&&this.O(t)}O(t){t===te?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},fe=class extends le{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===te?void 0:t}},pe=class extends le{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==te)}},ue=class extends le{constructor(t,e,o,r,n){super(t,e,o,r,n),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,n=t!==te&&(o===te||r);r&&this.element.removeEventListener(this.name,this,o),n&&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)}},he=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 de={j:$t,P:Ft,A:At,C:1,M:ne,L:se,R:Bt,V:ae,D:ce,I:le,H:pe,N:ue,U:fe,B:he},ye=Ut.litHtmlPolyfillSupport;ye?.(ie,ce),(Ut.litHtmlVersions??=[]).push("3.1.0");const ge=(t,e,o)=>{const r=o?.renderBefore??e;let n=r._$litPart$;if(void 0===n){const t=o?.renderBefore??null;r._$litPart$=n=new ce(e.insertBefore(jt(),t),t,void 0,o??{})}return n._$AI(t),n
48
+ const Wt=globalThis,Ut=Wt.trustedTypes,kt=Ut?Ut.createPolicy("lit-html",{createHTML:t=>t}):void 0,zt="$lit$",$t=`lit$${(Math.random()+"").slice(9)}$`,Ft="?"+$t,At=`<${Ft}>`,Bt=document,_t=()=>Bt.createComment(""),Kt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Pt=Array.isArray,Zt=t=>Pt(t)||"function"==typeof t?.[Symbol.iterator],jt="[ \t\n\f\r]",Ht=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Mt=/-->/g,Dt=/>/g,Tt=RegExp(`>|${jt}(?:([^\\s"'>=/]+)(${jt}*=${jt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Gt=/'/g,Vt=/"/g,qt=/^(?:script|style|textarea|title)$/i,Yt=t=>(o,...e)=>({_$litType$:t,strings:o,values:e}),Jt=Yt(1),Xt=Yt(2),Qt=Symbol.for("lit-noChange"),to=Symbol.for("lit-nothing"),oo=new WeakMap,eo=Bt.createTreeWalker(Bt,129);function ro(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==kt?kt.createHTML(o):o}const no=(t,o)=>{const e=t.length-1,r=[];let n,i=2===o?"<svg>":"",a=Ht;for(let o=0;o<e;o++){const e=t[o];let l,c,s=-1,f=0;for(;f<e.length&&(a.lastIndex=f,c=a.exec(e),null!==c);)f=a.lastIndex,a===Ht?"!--"===c[1]?a=Mt:void 0!==c[1]?a=Dt:void 0!==c[2]?(qt.test(c[2])&&(n=RegExp("</"+c[2],"g")),a=Tt):void 0!==c[3]&&(a=Tt):a===Tt?">"===c[0]?(a=n??Ht,s=-1):void 0===c[1]?s=-2:(s=a.lastIndex-c[2].length,l=c[1],a=void 0===c[3]?Tt:'"'===c[3]?Vt:Gt):a===Vt||a===Gt?a=Tt:a===Mt||a===Dt?a=Ht:(a=Tt,n=void 0);const p=a===Tt&&t[o+1].startsWith("/>")?" ":"";i+=a===Ht?e+At:s>=0?(r.push(l),e.slice(0,s)+zt+e.slice(s)+$t+p):e+$t+(-2===s?o:p)}return[ro(t,i+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class io{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let n=0,i=0;const a=t.length-1,l=this.parts,[c,s]=no(t,o);if(this.el=io.createElement(c,e),eo.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=eo.nextNode())&&l.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(zt)){const o=s[i++],e=r.getAttribute(t).split($t),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:n,name:a[2],strings:e,ctor:"."===a[1]?fo:"?"===a[1]?po:"@"===a[1]?uo:so}),r.removeAttribute(t)}else t.startsWith($t)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(qt.test(r.tagName)){const t=r.textContent.split($t),o=t.length-1;if(o>0){r.textContent=Ut?Ut.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],_t()),eo.nextNode(),l.push({type:2,index:++n});r.append(t[o],_t())}}}else if(8===r.nodeType)if(r.data===Ft)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf($t,t+1));)l.push({type:7,index:n}),t+=$t.length-1}n++}}static createElement(t,o){const e=Bt.createElement("template");return e.innerHTML=t,e}}function ao(t,o,e=t,r){if(o===Qt)return o;let n=void 0!==r?e._$Co?.[r]:e._$Cl;const i=Kt(o)?void 0:o._$litDirective$;return n?.constructor!==i&&(n?._$AO?.(!1),void 0===i?n=void 0:(n=new i(t),n._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=n:e._$Cl=n),void 0!==n&&(o=ao(t,n._$AS(t,o.values),n,r)),o}let lo=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,r=(t?.creationScope??Bt).importNode(o,!0);eo.currentNode=r;let n=eo.nextNode(),i=0,a=0,l=e[0];for(;void 0!==l;){if(i===l.index){let o;2===l.type?o=new co(n,n.nextSibling,this,t):1===l.type?o=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(o=new ho(n,this,t)),this._$AV.push(o),l=e[++a]}i!==l?.index&&(n=eo.nextNode(),i++)}return eo.currentNode=Bt,r}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++}},co=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=to,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.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=ao(this,t,o),Kt(t)?t===to||null==t||""===t?(this._$AH!==to&&this._$AR(),this._$AH=to):t!==this._$AH&&t!==Qt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):Zt(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!==to&&Kt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Bt.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=io.createElement(ro(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new lo(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=oo.get(t.strings);return void 0===o&&oo.set(t.strings,o=new io(t)),o}T(o){Pt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,n=0;for(const i of o)n===e.length?e.push(r=new t(this.k(_t()),this.k(_t()),this,this.options)):r=e[n],r._$AI(i),n++;n<e.length&&(this._$AR(r&&r._$AB.nextSibling,n),e.length=n)}_$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))}},so=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,n){this.type=1,this._$AH=to,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=to}_$AI(t,o=this,e,r){const n=this.strings;let i=!1;if(void 0===n)t=ao(this,t,o,0),i=!Kt(t)||t!==this._$AH&&t!==Qt,i&&(this._$AH=t);else{const r=t;let a,l;for(t=n[0],a=0;a<n.length-1;a++)l=ao(this,r[e+a],o,a),l===Qt&&(l=this._$AH[a]),i||=!Kt(l)||l!==this._$AH[a],l===to?t=to:t!==to&&(t+=(l??"")+n[a+1]),this._$AH[a]=l}i&&!r&&this.O(t)}O(t){t===to?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},fo=class extends so{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===to?void 0:t}},po=class extends so{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==to)}},uo=class extends so{constructor(t,o,e,r,n){super(t,o,e,r,n),this.type=5}_$AI(t,o=this){if((t=ao(this,t,o,0)??to)===Qt)return;const e=this._$AH,r=t===to&&e!==to||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==to&&(e===to||r);r&&this.element.removeEventListener(this.name,this,e),n&&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)}},ho=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){ao(this,t)}};const yo={j:zt,P:$t,A:Ft,C:1,M:no,L:lo,R:Zt,V:ao,D:co,I:so,H:po,N:uo,U:fo,B:ho},go=Wt.litHtmlPolyfillSupport;go?.(io,co),(Wt.litHtmlVersions??=[]).push("3.1.0");const bo=(t,o,e)=>{const r=e?.renderBefore??o;let n=r._$litPart$;if(void 0===n){const t=e?.renderBefore??null;r._$litPart$=n=new co(o.insertBefore(_t(),t),t,void 0,e??{})}return n._$AI(t),n
49
49
  /**
50
50
  * @license
51
51
  * Copyright 2017 Google LLC
52
52
  * SPDX-License-Identifier: BSD-3-Clause
53
- */};let be=class extends It{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 Oe=Object.freeze({__proto__:null,CSSResult:ft,LitElement:be,ReactiveElement:It,_$LE:{_$AK:(t,e,o)=>{t._$AK(e,o)},_$AL:t=>t._$AL},_$LH:de,adoptStyles:ht,css:ut,defaultConverter:Et,getCompatibleStyle:dt,html:Jt,isServer:!1,noChange:Qt,notEqual:Rt,nothing:te,render:ge,supportsAdoptingStyleSheets:st,svg:Xt,unsafeCSS:pt});
53
+ */};let mo=class extends Lt{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=bo(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Qt}};mo._$litElement$=!0,mo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:mo});const Oo=globalThis.litElementPolyfillSupport;Oo?.({LitElement:mo});(globalThis.litElementVersions??=[]).push("4.0.2");var vo=Object.freeze({__proto__:null,CSSResult:ft,LitElement:mo,ReactiveElement:Lt,_$LE:{_$AK:(t,o,e)=>{t._$AK(o,e)},_$AL:t=>t._$AL},_$LH:yo,adoptStyles:ht,css:ut,defaultConverter:Et,getCompatibleStyle:dt,html:Jt,isServer:!1,noChange:Qt,notEqual:Rt,nothing:to,render:bo,supportsAdoptingStyleSheets:lt,svg:Xt,unsafeCSS:pt});
54
54
  /**
55
55
  * @license
56
56
  * Copyright 2017 Google LLC
57
57
  * SPDX-License-Identifier: BSD-3-Clause
58
- */const ve={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:O},Se=(t=ve,e,o)=>{const{kind:r,metadata:n}=o;let i=globalThis.litPropertyMetadata.get(n);if(void 0===i&&globalThis.litPropertyMetadata.set(n,i=new Map),i.set(o.name,t),"accessor"===r){const{name:r}=o;return{set(o){const n=e.get.call(this);e.set.call(this,o),this.requestUpdate(r,n,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 n=this[r];e.call(this,o),this.requestUpdate(r,n,t)}}throw Error("Unsupported decorator location: "+r)};
58
+ */const xo={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:O},So=(t=xo,o,e)=>{const{kind:r,metadata:n}=e;let i=globalThis.litPropertyMetadata.get(n);if(void 0===i&&globalThis.litPropertyMetadata.set(n,i=new Map),i.set(e.name,t),"accessor"===r){const{name:r}=e;return{set(e){const n=o.get.call(this);o.set.call(this,e),this.requestUpdate(r,n,t)},init(o){return void 0!==o&&this.C(r,void 0,t),o}}}if("setter"===r){const{name:r}=e;return function(e){const n=this[r];o.call(this,e),this.requestUpdate(r,n,t)}}throw Error("Unsupported decorator location: "+r)};
59
59
  /**
60
60
  * @license
61
61
  * Copyright 2017 Google LLC
62
62
  * SPDX-License-Identifier: BSD-3-Clause
63
- */function we(t){return(e,o)=>"object"==typeof o?Se(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)
63
+ */function wo(t){return(o,e)=>"object"==typeof e?So(t,o,e):((t,o,e)=>{const r=o.hasOwnProperty(e);return o.constructor.createProperty(e,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(o,e):void 0})(t,o,e)
64
64
  /**
65
65
  * @license
66
66
  * Copyright 2017 Google LLC
@@ -71,7 +71,7 @@ const Ut=globalThis,Wt=Ut.trustedTypes,kt=Wt?Wt.createPolicy("lit-html",{createH
71
71
  * Copyright 2017 Google LLC
72
72
  * SPDX-License-Identifier: BSD-3-Clause
73
73
  */
74
- const xe=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
74
+ const No=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
75
75
  /**
76
76
  * @license
77
77
  * Copyright 2017 Google LLC
@@ -82,13 +82,13 @@ const xe=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
82
82
  * Copyright 2017 Google LLC
83
83
  * SPDX-License-Identifier: BSD-3-Clause
84
84
  */
85
- let Ne;var Ce=Object.freeze({__proto__:null,customElement:t=>(e,o)=>{void 0!==o?o.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)},eventOptions:
85
+ let Co;var Eo=Object.freeze({__proto__:null,customElement:t=>(o,e)=>{void 0!==e?e.addInitializer((()=>{customElements.define(t,o)})):customElements.define(t,o)},eventOptions:
86
86
  /**
87
87
  * @license
88
88
  * Copyright 2017 Google LLC
89
89
  * SPDX-License-Identifier: BSD-3-Clause
90
90
  */
91
- function(t){return(e,o)=>{const r="function"==typeof e?e:e[o];Object.assign(r,t)}},property:we,query:function(t,e){return(o,r,n)=>{const i=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof r?o:n??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return xe(0,0,{get(){let o=t.call(this);return void 0===o&&(o=i(this),(null!==o||this.hasUpdated)&&e.call(this,o)),o}})}return xe(0,0,{get(){return i(this)}})}},queryAll:function(t){return(e,o)=>xe(0,0,{get(){return(this.renderRoot??(Ne??=document.createDocumentFragment())).querySelectorAll(t)}})
91
+ function(t){return(o,e)=>{const r="function"==typeof o?o:o[e];Object.assign(r,t)}},property:wo,query:function(t,o){return(e,r,n)=>{const i=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof r?e:n??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return No(0,0,{get(){let e=t.call(this);return void 0===e&&(e=i(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return No(0,0,{get(){return i(this)}})}},queryAll:function(t){return(o,e)=>No(0,0,{get(){return(this.renderRoot??(Co??=document.createDocumentFragment())).querySelectorAll(t)}})
92
92
  /**
93
93
  * @license
94
94
  * Copyright 2017 Google LLC
@@ -99,51 +99,51 @@ function(t){return(e,o)=>{const r="function"==typeof e?e:e[o];Object.assign(r,t)
99
99
  * Copyright 2021 Google LLC
100
100
  * SPDX-License-Identifier: BSD-3-Clause
101
101
  */
102
- function(t){return(e,o)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return xe(0,0,{get(){const e=this.renderRoot?.querySelector(i),o=e?.assignedElements(t)??[];return void 0===n?o:o.filter((t=>t.matches(n)))}})}}
102
+ function(t){return(o,e)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return No(0,0,{get(){const o=this.renderRoot?.querySelector(i),e=o?.assignedElements(t)??[];return void 0===n?e:e.filter((t=>t.matches(n)))}})}}
103
103
  /**
104
104
  * @license
105
105
  * Copyright 2017 Google LLC
106
106
  * SPDX-License-Identifier: BSD-3-Clause
107
- */,queryAssignedNodes:function(t){return(e,o)=>{const{slot:r}=t??{},n="slot"+(r?`[name=${r}]`:":not([name])");return xe(0,0,{get(){const e=this.renderRoot?.querySelector(n);return e?.assignedNodes(t)??[]}})}},queryAsync:function(t){return(e,o)=>xe(0,0,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})},standardProperty:Se,state:function(t){return we({...t,state:!0,attribute:!1})}});
107
+ */,queryAssignedNodes:function(t){return(o,e)=>{const{slot:r}=t??{},n="slot"+(r?`[name=${r}]`:":not([name])");return No(0,0,{get(){const o=this.renderRoot?.querySelector(n);return o?.assignedNodes(t)??[]}})}},queryAsync:function(t){return(o,e)=>No(0,0,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})},standardProperty:So,state:function(t){return wo({...t,state:!0,attribute:!1})}});
108
108
  /**
109
109
  * @license
110
110
  * Copyright 2017 Google LLC
111
111
  * SPDX-License-Identifier: BSD-3-Clause
112
- */const Ee=1,Re=2,Le=t=>(...e)=>({_$litDirective$:t,values:e});let Ie=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)}};
112
+ */const Ro=1,Io=2,Lo=t=>(...o)=>({_$litDirective$:t,values:o});let Wo=class{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)}};
113
113
  /**
114
114
  * @license
115
115
  * Copyright 2020 Google LLC
116
116
  * SPDX-License-Identifier: BSD-3-Clause
117
- */const{D:Ue}=nt,We=()=>document.createComment(""),ke=(t,e,o)=>{const r=t._$AA.parentNode,n=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=r.insertBefore(We(),n),i=r.insertBefore(We(),n);o=new Ue(e,i,t,t.options)}else{const e=o._$AB.nextSibling,i=o._$AM,a=i!==t;if(a){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==i._$AU&&o._$AP(e)}if(e!==n||a){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;r.insertBefore(t,n),t=e}}}return o},$e=(t,e,o=t)=>(t._$AI(e,o),t),Fe={},Ae=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}},_e=(t,e,o)=>{const r=new Map;for(let n=e;n<=o;n++)r.set(t[n],n);return r},Ke=Le(class extends Ie{constructor(t){if(super(t),t.type!==Re)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 n=[],i=[];let a=0;for(const e of t)n[a]=r?r(e,a):a,i[a]=o(e,a),a++;return{values:i,keys:n}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,r]){const n=(t=>t._$AH)(t),{values:i,keys:a}=this.ht(e,o,r);if(!Array.isArray(n))return this.dt=a,i;const s=this.dt??=[],c=[];let l,f,p=0,u=n.length-1,h=0,d=i.length-1;for(;p<=u&&h<=d;)if(null===n[p])p++;else if(null===n[u])u--;else if(s[p]===a[h])c[h]=$e(n[p],i[h]),p++,h++;else if(s[u]===a[d])c[d]=$e(n[u],i[d]),u--,d--;else if(s[p]===a[d])c[d]=$e(n[p],i[d]),ke(t,c[d+1],n[p]),p++,d--;else if(s[u]===a[h])c[h]=$e(n[u],i[h]),ke(t,n[p],n[u]),u--,h++;else if(void 0===l&&(l=_e(a,h,d),f=_e(s,p,u)),l.has(s[p]))if(l.has(s[u])){const e=f.get(a[h]),o=void 0!==e?n[e]:null;if(null===o){const e=ke(t,n[p]);$e(e,i[h]),c[h]=e}else c[h]=$e(o,i[h]),ke(t,n[p],o),n[e]=null;h++}else Ae(n[u]),u--;else Ae(n[p]),p++;for(;h<=d;){const e=ke(t,c[d+1]);$e(e,i[h]),c[h++]=e}for(;p<=u;){const t=n[p++];null!==t&&Ae(t)}return this.dt=a,((t,e=Fe)=>{t._$AH=e})(t,c),D}});
117
+ */const{D:Uo}=nt,ko=()=>document.createComment(""),zo=(t,o,e)=>{const r=t._$AA.parentNode,n=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=r.insertBefore(ko(),n),i=r.insertBefore(ko(),n);e=new Uo(o,i,t,t.options)}else{const o=e._$AB.nextSibling,i=e._$AM,a=i!==t;if(a){let o;e._$AQ?.(t),e._$AM=t,void 0!==e._$AP&&(o=t._$AU)!==i._$AU&&e._$AP(o)}if(o!==n||a){let t=e._$AA;for(;t!==o;){const o=t.nextSibling;r.insertBefore(t,n),t=o}}}return e},$o=(t,o,e=t)=>(t._$AI(o,e),t),Fo={},Ao=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}},Bo=(t,o,e)=>{const r=new Map;for(let n=o;n<=e;n++)r.set(t[n],n);return r},_o=Lo(class extends Wo{constructor(t){if(super(t),t.type!==Io)throw Error("repeat() can only be used in text expressions")}ht(t,o,e){let r;void 0===e?e=o:void 0!==o&&(r=o);const n=[],i=[];let a=0;for(const o of t)n[a]=r?r(o,a):a,i[a]=e(o,a),a++;return{values:i,keys:n}}render(t,o,e){return this.ht(t,o,e).values}update(t,[o,e,r]){const n=(t=>t._$AH)(t),{values:i,keys:a}=this.ht(o,e,r);if(!Array.isArray(n))return this.dt=a,i;const l=this.dt??=[],c=[];let s,f,p=0,u=n.length-1,h=0,d=i.length-1;for(;p<=u&&h<=d;)if(null===n[p])p++;else if(null===n[u])u--;else if(l[p]===a[h])c[h]=$o(n[p],i[h]),p++,h++;else if(l[u]===a[d])c[d]=$o(n[u],i[d]),u--,d--;else if(l[p]===a[d])c[d]=$o(n[p],i[d]),zo(t,c[d+1],n[p]),p++,d--;else if(l[u]===a[h])c[h]=$o(n[u],i[h]),zo(t,n[p],n[u]),u--,h++;else if(void 0===s&&(s=Bo(a,h,d),f=Bo(l,p,u)),s.has(l[p]))if(s.has(l[u])){const o=f.get(a[h]),e=void 0!==o?n[o]:null;if(null===e){const o=zo(t,n[p]);$o(o,i[h]),c[h]=o}else c[h]=$o(e,i[h]),zo(t,n[p],e),n[o]=null;h++}else Ao(n[u]),u--;else Ao(n[p]),p++;for(;h<=d;){const o=zo(t,c[d+1]);$o(o,i[h]),c[h++]=o}for(;p<=u;){const t=n[p++];null!==t&&Ao(t)}return this.dt=a,((t,o=Fo)=>{t._$AH=o})(t,c),H}});
118
118
  /**
119
119
  * @license
120
120
  * Copyright 2017 Google LLC
121
121
  * SPDX-License-Identifier: BSD-3-Clause
122
- */var je=Object.freeze({__proto__:null,repeat:Ke});
122
+ */var Ko=Object.freeze({__proto__:null,repeat:_o});
123
123
  /**
124
124
  * @license
125
125
  * Copyright 2018 Google LLC
126
126
  * SPDX-License-Identifier: BSD-3-Clause
127
- */const ze=Le(class extends Ie{constructor(t){if(super(t),t.type!==Ee||"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 D}});var Pe=Object.freeze({__proto__:null,classMap:ze});
127
+ */const Po=Lo(class extends Wo{constructor(t){if(super(t),t.type!==Ro||"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 r=!!o[t];r===this.it.has(t)||this.st?.has(t)||(r?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return H}});var Zo=Object.freeze({__proto__:null,classMap:Po});
128
128
  /**
129
129
  * @license
130
130
  * Copyright 2018 Google LLC
131
131
  * SPDX-License-Identifier: BSD-3-Clause
132
- */const Be="important",Me=" !"+Be,De=Le(class extends Ie{constructor(t){if(super(t),t.type!==Ee||"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(Me);t.includes("-")||e?o.setProperty(t,e?r.slice(0,-11):r,e?Be:""):o[t]=r}}return D}});var Ze=Object.freeze({__proto__:null,styleMap:De});
132
+ */const jo="important",Ho=" !"+jo,Mo=Lo(class extends Wo{constructor(t){if(super(t),t.type!==Ro||"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(((o,e)=>{const r=t[e];return null==r?o:o+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`}),"")}update(t,[o]){const{style:e}=t.element;if(void 0===this.ut)return this.ut=new Set(Object.keys(o)),this.render(o);for(const t of this.ut)null==o[t]&&(this.ut.delete(t),t.includes("-")?e.removeProperty(t):e[t]=null);for(const t in o){const r=o[t];if(null!=r){this.ut.add(t);const o="string"==typeof r&&r.endsWith(Ho);t.includes("-")||o?e.setProperty(t,o?r.slice(0,-11):r,o?jo:""):e[t]=r}}return H}});var Do=Object.freeze({__proto__:null,styleMap:Mo});
133
133
  /**
134
134
  * @license
135
135
  * Copyright 2017 Google LLC
136
136
  * SPDX-License-Identifier: BSD-3-Clause
137
- */let He=class extends Ie{constructor(t){if(super(t),this.et=Z,t.type!==Re)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===D)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:[]}}};He.directiveName="unsafeHTML",He.resultType=1;const Te=Le(He);var Ge=Object.freeze({__proto__:null,UnsafeHTMLDirective:He,unsafeHTML:Te});class Ve extends Error{constructor(t,e,o){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=o}}class qe extends Promise{constructor(t){super(((e,o)=>t((t=>{this.isCanceled?o(new Ve("Promise has been canceled",t)):e(t)}),(t=>{this.isCanceled?o(new Ve("Promise has been canceled",void 0,t)):o(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const Ye=t=>new qe(((e,o)=>t.then(e).catch(o)));var Je=Object.freeze({__proto__:null,CancelablePromise:qe,CanceledPromiseError:Ve,cancelable:Ye});var Xe=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 qe&&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=Ye(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 Qe{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=>Qe.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=Qe.extractResultMetadata(this.selectedResult).find((e=>e.key===t));const r=this.allResults.flatMap((e=>Qe.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 n=this.metadataDescriptors.find((t=>o==t.key)),i=(null==n?void 0:n.sortRule)||"NONE",a=(null==n?void 0:n.reverseSort)||!1;if("ALPHABET"==i||"VERSION"==i){let o=t.localeCompare(e,r,{numeric:!0});return a?-1*o:o}return 0}findBestResultForMetadataValue(t,e){const o=this.allResults.filter((o=>Qe.extractResultMetadata(o).find((o=>o.key===t&&o.value===e))));let r,n=Qe.extractResultMetadata(this.selectedResult).filter((t=>this.clusteringMetadata.has(t.key))),i=[...n.filter((e=>e.key!==t))],a=-1;for(let t of o){let e=this.countMatchingMetadata(t,i);if(e>a&&(a=e,r=t,e===i.length))break}return r}countMatchingMetadata(t,e){return Qe.extractResultMetadata(t).filter((t=>e.some((e=>e.key===t.key&&e.value===t.value)))).length}}var to=Object.freeze({__proto__:null,ClusteringHelper:Qe});class eo{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,n=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)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}var oo=Object.freeze({__proto__:null,Debouncer:eo});const ro=t=>new Promise((e=>setTimeout(e,t)));async function no(t,e=10,o=2e4){let r,n,i=await t();for(r=n=performance.now();null==i&&(!o||n-r<o);)await ro(e),i=await t(),n=performance.now();if(null==i)throw new Error("Timeout exceeded");return i}function io(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 ao(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,n;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(r=o;0!=r--;)if(!ao(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(!ao(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=(n=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(r=o;0!=r--;)if(!Object.prototype.hasOwnProperty.call(e,n[r]))return!1;for(r=o;0!=r--;){var i=n[r];if(!ao(t[i],e[i]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}var so=Object.freeze({__proto__:null,dateReviver:function(...t){return function(e,o){return t.includes(e)?io(o):o}},deepEqual:ao,delay:ro,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:function t(e,o){return e.flatMap((e=>[e,...t(o(e),o)]))},last:function(t){return t[t.length-1]},minmax:function(t,e,o){return Math.min(Math.max(t,e),o)},parseDate:io,waitFor:no,waitUntil:async function(t,e=10,o=2e4){await no((async()=>await t()||void 0),e,o)}});const co=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function lo(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)=>!ao(t,e),...null!=e?e:{}})}function fo(t){return!isNaN(parseFloat(t))}var po=Object.freeze({__proto__:null,customElement:co,isNumber:fo,jsonProperty:lo,optionalNumberProperty:function(t){return we({type:Object,converter:{fromAttribute:t=>{if(null!=t)return fo(t)?+t:void 0},toAttribute:t=>""+t},...null!=t?t:{}})}});const uo=t=>"string"==typeof t?pt(t):t;class ho{static create(t,e,o,r){const n=t=>uo(null!=t?t:r),i=ut`var(${uo(t)}, ${n(r)})`;return i.name=t,i.description=e,i.category=o,i.defaultValue=r,i.defaultCssValue=n,i.get=e=>ut`var(${uo(t)}, ${n(e)})`,i.breadcrumb=()=>[],i.lastResortDefaultValue=()=>r,i}static extend(t,e,o,r){const n=t=>o.get(null!=t?t:r),i=ut`var(${uo(t)}, ${n(r)})`;return i.name=t,i.description=e,i.category=o.category,i.fallbackVariable=o,i.defaultValue=r,i.defaultCssValue=n,i.get=e=>ut`var(${uo(t)}, ${n(e)})`,i.breadcrumb=()=>[o.name,...o.breadcrumb()],i.lastResortDefaultValue=()=>null!=r?r:o.lastResortDefaultValue(),i}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):uo(null!=e?e:t.lastResortDefaultValue()),r=ut`var(${uo(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=>ut`var(${uo(t.name)}, ${o(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const yo={colorWhite:ho.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:ho.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:ho.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:ho.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:ho.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:ho.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:ho.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:ho.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:ho.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:ho.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:ho.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:ho.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:ho.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:ho.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:ho.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:ho.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:ho.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:ho.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:ho.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:ho.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:ho.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:ho.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:ho.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:ho.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:ho.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:ho.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:ho.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:ho.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:ho.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:ho.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:ho.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:ho.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:ho.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:ho.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:ho.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:ho.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:ho.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:ho.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:ho.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:ho.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:ho.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:ho.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:ho.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:ho.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:ho.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:ho.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:ho.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:ho.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:ho.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:ho.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:ho.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:ho.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:ho.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:ho.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:ho.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:ho.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:ho.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:ho.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:ho.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:ho.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:ho.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:ho.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:ho.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:ho.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:ho.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:ho.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:ho.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:ho.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:ho.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:ho.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:ho.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:ho.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:ho.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:ho.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:ho.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:ho.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:ho.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:ho.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:ho.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:ho.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:ho.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:ho.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:ho.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:ho.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:ho.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:ho.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:ho.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:ho.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:ho.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:ho.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:ho.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:ho.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:ho.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:ho.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:ho.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:ho.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:ho.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:ho.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:ho.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:ho.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:ho.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:ho.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:ho.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:ho.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:ho.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:ho.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:ho.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:ho.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:ho.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:ho.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:ho.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:ho.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:ho.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:ho.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:ho.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:ho.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:ho.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:ho.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:ho.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:ho.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:ho.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:ho.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:ho.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:ho.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:ho.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:ho.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:ho.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:ho.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:ho.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:ho.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:ho.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:ho.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:ho.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:ho.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:ho.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:ho.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:ho.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:ho.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:ho.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:ho.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:ho.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:ho.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:ho.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:ho.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:ho.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:ho.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:ho.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:ho.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:ho.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:ho.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:ho.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:ho.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:ho.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:ho.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:ho.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:ho.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:ho.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:ho.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:ho.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:ho.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:ho.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:ho.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:ho.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:ho.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:ho.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:ho.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:ho.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:ho.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:ho.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:ho.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:ho.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:ho.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:ho.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:ho.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:ho.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:ho.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:ho.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:ho.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:ho.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:ho.create("--ft-icon-size-6","","SIZE","48px"),opacity0:ho.create("--ft-opacity-0","","NUMBER","0"),opacity8:ho.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:ho.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:ho.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:ho.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:ho.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:ho.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:ho.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:ho.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:ho.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:ho.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:ho.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:ho.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:ho.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:ho.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)")},go={fontFamily:ho.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:ho.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:ho.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:ho.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:ho.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ho.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ho.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:ho.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:ho.create("--ft-typography-display-textCase","","UNKNOWN","none")},bo={fontFamily:ho.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:ho.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:ho.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:ho.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:ho.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ho.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ho.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:ho.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:ho.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},mo={fontFamily:ho.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:ho.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:ho.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:ho.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:ho.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ho.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ho.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:ho.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:ho.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Oo={fontFamily:ho.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:ho.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:ho.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:ho.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:ho.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:ho.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ho.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:ho.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:ho.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},vo={fontFamily:ho.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ho.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:ho.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:ho.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:ho.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ho.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ho.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ho.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:ho.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},So={fontFamily:ho.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ho.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ho.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:ho.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:ho.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ho.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ho.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ho.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:ho.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},wo={fontFamily:ho.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ho.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ho.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:ho.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:ho.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ho.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ho.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ho.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:ho.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},xo={fontFamily:ho.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ho.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:ho.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:ho.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:ho.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ho.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ho.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ho.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:ho.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},No={fontFamily:ho.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ho.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ho.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:ho.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ho.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ho.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ho.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ho.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:ho.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Co={fontFamily:ho.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ho.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ho.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:ho.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ho.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ho.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ho.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ho.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:ho.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Eo={fontFamily:ho.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ho.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ho.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:ho.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ho.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:ho.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ho.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ho.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ho.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Ro={fontFamily:ho.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ho.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ho.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:ho.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ho.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:ho.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ho.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ho.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ho.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Lo={fontFamily:ho.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ho.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ho.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:ho.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:ho.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:ho.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ho.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ho.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ho.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Io={fontFamily:ho.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ho.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ho.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:ho.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ho.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:ho.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ho.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ho.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ho.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Uo={fontFamily:ho.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ho.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ho.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:ho.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ho.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:ho.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ho.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ho.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ho.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Wo={fontFamily:ho.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ho.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ho.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:ho.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ho.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:ho.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ho.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ho.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ho.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},ko={fontFamily:ho.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ho.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ho.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:ho.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ho.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:ho.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ho.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ho.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ho.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},$o={fontFamily:ho.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ho.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ho.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:ho.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ho.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:ho.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ho.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ho.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ho.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Fo={fontFamily:ho.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ho.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ho.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:ho.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ho.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:ho.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ho.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ho.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ho.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Ao={fontFamily:ho.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ho.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ho.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:ho.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:ho.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:ho.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ho.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ho.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ho.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},_o={fontFamily:ho.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ho.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ho.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:ho.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:ho.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:ho.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ho.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ho.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ho.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ko={fontFamily:ho.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ho.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ho.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:ho.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:ho.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:ho.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ho.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ho.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ho.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},jo={fontFamily:ho.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ho.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:ho.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:ho.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:ho.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:ho.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ho.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ho.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ho.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},zo={fontFamily:ho.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ho.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ho.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:ho.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:ho.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:ho.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ho.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ho.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ho.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Po={fontFamily:ho.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ho.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:ho.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:ho.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:ho.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:ho.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ho.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ho.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ho.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Bo={display:go,"title-1":bo,"title-2":mo,"title-3":Oo,"body-1-regular":vo,"body-1-medium":So,"body-1-semibold":wo,"body-2-regular":xo,"body-2-medium":No,"body-2-semibold":Co,"label-1-medium":Eo,"label-1-semibold":Ro,"label-1-bold":Lo,"label-2-medium":Io,"label-2-semibold":Uo,"label-2-bold":Wo,"caption-1-medium":ko,"caption-1-semibold":$o,"caption-1-bold":Fo,"caption-2-medium":Ao,"caption-2-semibold":_o,"caption-2-bold":Ko,"caption-3-medium":jo,"caption-3-semibold":zo,"caption-3-bold":Po},Mo={backgroundActionPrimary:ho.extend("--ft-background-action-primary","Used as backgorund of primary action components.",yo.colorBrand0),backgroundErrorPrimary:ho.extend("--ft-background-error-primary","Used as background of error components.",yo.colorRed0),backgroundErrorSubtle:ho.extend("--ft-background-error-subtle","Used as background of subtle error components.",yo.colorRed10),backgroundInfoPrimary:ho.extend("--ft-background-info-primary","Used as background of information components.",yo.colorCyan200),backgroundInfoSubtle:ho.extend("--ft-background-info-subtle","Used as background of subtle information components.",yo.colorCyan10),backgroundWarningPrimary:ho.extend("--ft-background-warning-primary","Used as background of warning components.",yo.colorOrange300),backgroundWarningSubtle:ho.extend("--ft-background-warning-subtle","Used as background of subtle information components.",yo.colorOrange10),backgroundSuccessPrimary:ho.extend("--ft-background-success-primary","Used as background of success components.",yo.colorGreen200),backgroundSuccessSubtle:ho.extend("--ft-background-success-subtle","Used as background of subtle success components.",yo.colorGreen10),backgroundGlobalSurface:ho.extend("--ft-background-global-surface","Used as app background.",yo.colorWhite),backgroundGlobalOnSurface:ho.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",yo.colorGray10),backgroundGlobalOnSurfaceDark:ho.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",yo.colorGray30),contentActionPrimary:ho.extend("--ft-content-action-primary","Used on label of primary action on light surface.",yo.colorBrand0),contentWarningPrimary:ho.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",yo.colorOrange300),contentWarningIconOnly:ho.extend("--ft-content-warning-icon-only","Used on warning status icons alone",yo.colorOrange0),contentErrorPrimary:ho.extend("--ft-content-error-primary","Used on label of error messages on light surface.",yo.colorRed0),contentErrorIconOnly:ho.extend("--ft-content-error-icon-only","Used on error status icons alone",yo.colorRed0),contentInfoPrimary:ho.extend("--ft-content-info-primary","Used on label of information messages on light surface.",yo.colorCyan200),contentInfoIconOnly:ho.extend("--ft-content-info-icon-only","Used on info status icons alone",yo.colorCyan0),contentSuccessPrimary:ho.extend("--ft-content-success-primary","Used on label of success messages on light surface.",yo.colorGreen200),contentSuccessIconOnly:ho.extend("--ft-content-success-icon-only","Used on success status icons alone",yo.colorGreen0),contentGlobalPrimary:ho.extend("--ft-content-global-primary","Used for main content on the page.",yo.colorGray500),contentGlobalSecondary:ho.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",yo.colorGray200),contentGlobalSubtle:ho.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",yo.colorGray0),contentGlobalOnColor:ho.extend("--ft-content-global-on-color","Used for content on a dominant color.",yo.colorWhite),borderActionPrimary:ho.extend("--ft-border-action-primary","Used as border for primary action components.",yo.colorBrand0),borderActionFocusRing:ho.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",yo.colorCyan0),borderWarningPrimary:ho.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",yo.colorOrange300),borderWarningSubtle:ho.extend("--ft-border-warning-subtle","Used as border for warning components.",yo.colorOrange30),borderSuccessPrimary:ho.extend("--ft-border-success-primary","Used as border for success buttons.",yo.colorGreen200),borderSuccessSubtle:ho.extend("--ft-border-success-subtle","Used as border for success components.",yo.colorGreen30),borderErrorPrimary:ho.extend("--ft-border-error-primary","Used as border for text fields in error states.",yo.colorRed0),borderErrorSubtle:ho.extend("--ft-border-error-subtle","Used as border for error components.",yo.colorRed30),borderInfoPrimary:ho.extend("--ft-border-info-primary","Used as border for buttons in info color.",yo.colorCyan200),borderInfoSubtle:ho.extend("--ft-border-info-subtle","Used as border for information components.",yo.colorCyan30),borderGlobalPrimary:ho.extend("--ft-border-global-primary","Used as border for element like input.",yo.colorGray50),borderGlobalSubtle:ho.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",yo.colorGray30),borderInputPrimary:ho.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",yo.colorGray80)},Do={largeHeight:ho.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:ho.extend("--ft-button-large-horizontal-padding","",yo.spacing4),largeGap:ho.extend("--ft-button-large-gap","",yo.spacing2),largeBorderRadius:ho.extend("--ft-button-large-border-radius","",yo.borderRadiusS),largeIconSize:ho.extend("--ft-button-large-icon-size","",yo.iconSize3),largeBorderWidth:ho.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:ho.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:ho.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:ho.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:ho.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:ho.extend("--ft-button-small-horizontal-padding","",yo.spacing3),smallGap:ho.extend("--ft-button-small-gap","",yo.spacing2),smallBorderRadius:ho.extend("--ft-button-small-border-radius","",yo.borderRadiusS),smallIconSize:ho.extend("--ft-button-small-icon-size","",yo.iconSize2),smallBorderWidth:ho.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:ho.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:ho.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:ho.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:ho.extend("--ft-button-primary-background-color","",Mo.backgroundActionPrimary),primaryColor:ho.extend("--ft-button-primary-color","",Mo.contentGlobalOnColor),primaryIconColor:ho.extend("--ft-button-primary-icon-color","",Mo.contentGlobalOnColor),primaryStateLayerColor:ho.extend("--ft-button-primary-state-layer-color","",Mo.contentGlobalOnColor),primaryStateLayerOpacityHover:ho.extend("--ft-button-primary-state-layer-opacity-hover","",yo.opacity16),primaryStateLayerOpacityFocus:ho.extend("--ft-button-primary-state-layer-opacity-focus","",yo.opacity16),primaryStateLayerOpacityActive:ho.extend("--ft-button-primary-state-layer-opacity-active","",yo.opacity24),primaryComponentOpacityDisabled:ho.extend("--ft-button-primary-component-opacity-disabled","",yo.opacity40),focusFocusRingColor:ho.extend("--ft-button-focus-focus-ring-color","",Mo.borderActionFocusRing),tertiaryBackgroundColor:ho.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:ho.extend("--ft-button-tertiary-color","",Mo.contentActionPrimary),tertiaryIconColor:ho.extend("--ft-button-tertiary-icon-color","",Mo.contentActionPrimary),tertiaryStateLayerColor:ho.extend("--ft-button-tertiary-state-layer-color","",Mo.contentActionPrimary),tertiaryStateLayerOpacityHover:ho.extend("--ft-button-tertiary-state-layer-opacity-hover","",yo.opacity8),tertiaryStateLayerOpacityFocus:ho.extend("--ft-button-tertiary-state-layer-opacity-focus","",yo.opacity8),tertiaryStateLayerOpacityActive:ho.extend("--ft-button-tertiary-state-layer-opacity-active","",yo.opacity16),tertiaryComponentOpacityDisabled:ho.extend("--ft-button-tertiary-component-opacity-disabled","",yo.opacity40),secondaryBackgroundColor:ho.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:ho.extend("--ft-button-secondary-color","",Mo.contentActionPrimary),secondaryIconColor:ho.extend("--ft-button-secondary-icon-color","",Mo.contentActionPrimary),secondaryStateLayerColor:ho.extend("--ft-button-secondary-state-layer-color","",Mo.contentActionPrimary),secondaryStateLayerOpacityHover:ho.extend("--ft-button-secondary-state-layer-opacity-hover","",yo.opacity8),secondaryStateLayerOpacityFocus:ho.extend("--ft-button-secondary-state-layer-opacity-focus","",yo.opacity8),secondaryStateLayerOpacityActive:ho.extend("--ft-button-secondary-state-layer-opacity-active","",yo.opacity16),secondaryComponentOpacityDisabled:ho.extend("--ft-button-secondary-component-opacity-disabled","",yo.opacity40),secondaryBorderColor:ho.extend("--ft-button-secondary-border-color","",Mo.borderActionPrimary),neutralBackgroundColor:ho.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:ho.extend("--ft-button-neutral-icon-color","",Mo.contentGlobalSecondary),neutralColor:ho.extend("--ft-button-neutral-color","",Mo.contentGlobalSecondary),neutralStateLayerColor:ho.extend("--ft-button-neutral-state-layer-color","",Mo.contentGlobalSecondary),neutralStateLayerOpacityHover:ho.extend("--ft-button-neutral-state-layer-opacity-hover","",yo.opacity8),neutralStateLayerOpacityFocus:ho.extend("--ft-button-neutral-state-layer-opacity-focus","",yo.opacity8),neutralStateLayerOpacityActive:ho.extend("--ft-button-neutral-state-layer-opacity-active","",yo.opacity16),neutralComponentOpacityDisabled:ho.extend("--ft-button-neutral-component-opacity-disabled","",yo.opacity40)},Zo={horizontalPadding:ho.extend("--ft-floating-menu-horizontal-padding","",yo.spacing4),verticalPadding:ho.extend("--ft-floating-menu-vertical-padding","",yo.spacing4),offIconColor:ho.extend("--ft-floating-menu-off-icon-color","",Mo.contentGlobalPrimary),offColor:ho.extend("--ft-floating-menu-off-color","",Mo.contentGlobalPrimary),onColor:ho.extend("--ft-floating-menu-on-color","",Mo.contentActionPrimary),onIconColor:ho.extend("--ft-floating-menu-on-icon-color","",Mo.contentActionPrimary),onStateLayerColor:ho.extend("--ft-floating-menu-on-state-layer-color","",Mo.contentActionPrimary),gap:ho.extend("--ft-floating-menu-gap","",yo.spacing3),focusFocusRingColor:ho.extend("--ft-floating-menu-focus-focus-ring-color","",Mo.borderActionFocusRing),focusOutlineWidth:ho.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),stateLayerOpacityHover:ho.extend("--ft-floating-menu-state-layer-opacity-hover","",yo.opacity8),stateLayerOpacityActive:ho.extend("--ft-floating-menu-state-layer-opacity-active","",yo.opacity16),stateLayerOpacityFocus:ho.extend("--ft-floating-menu-state-layer-opacity-focus","",yo.opacity8),componentOpacityDisabled:ho.extend("--ft-floating-menu-component-opacity-disabled","",yo.opacity40),iconSize:ho.extend("--ft-floating-menu-icon-size","",yo.iconSize3),backgroundColor:ho.extend("--ft-floating-menu-background-color","",Mo.backgroundGlobalOnSurface)},Ho={topLeftBorderRadius:ho.extend("--ft-tabs-top-left-border-radius","",yo.borderRadiusS),topRightBorderRadius:ho.extend("--ft-tabs-top-right-border-radius","",yo.borderRadiusS),labelHorizontalPadding:ho.extend("--ft-tabs-label-horizontal-padding","",yo.spacing4),labelVerticalPadding:ho.extend("--ft-tabs-label-vertical-padding","",yo.spacing3),labelGap:ho.extend("--ft-tabs-label-gap","",yo.spacing1),iconHorizontalPadding:ho.extend("--ft-tabs-icon-horizontal-padding","",yo.spacing1),iconVerticalPadding:ho.extend("--ft-tabs-icon-vertical-padding","",yo.spacing4),focusOutlineWidth:ho.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ho.extend("--ft-tabs-focus-focus-ring-color","",Mo.borderActionFocusRing),offStateLayerOpacityHover:ho.extend("--ft-tabs-off-state-layer-opacity-hover","",yo.opacity8),offStateLayerOpacityFocus:ho.extend("--ft-tabs-off-state-layer-opacity-focus","",yo.opacity8),offStateLayerOpacityActive:ho.extend("--ft-tabs-off-state-layer-opacity-active","",yo.opacity16),offComponentOpacityDisabled:ho.extend("--ft-tabs-off-component-opacity-disabled","",yo.opacity40),offColor:ho.extend("--ft-tabs-off-color","",Mo.contentGlobalSubtle),offStateLayerColor:ho.extend("--ft-tabs-off-state-layer-color","",Mo.contentGlobalSubtle),onStateLayerOpacityHover:ho.extend("--ft-tabs-on-state-layer-opacity-hover","",yo.opacity8),onStateLayerOpacityFocus:ho.extend("--ft-tabs-on-state-layer-opacity-focus","",yo.opacity8),onStateLayerOpacityActive:ho.extend("--ft-tabs-on-state-layer-opacity-active","",yo.opacity16),onComponentOpacityDisabled:ho.extend("--ft-tabs-on-component-opacity-disabled","",yo.opacity40),onColor:ho.extend("--ft-tabs-on-color","",Mo.contentActionPrimary),onStateLayerColor:ho.extend("--ft-tabs-on-state-layer-color","",Mo.contentActionPrimary)},To={stateLayerOpacityHover:ho.extend("--ft-collapsible-state-layer-opacity-hover","",yo.opacity8),stateLayerOpacityFocus:ho.extend("--ft-collapsible-state-layer-opacity-focus","",yo.opacity8),stateLayerOpacityActive:ho.extend("--ft-collapsible-state-layer-opacity-active","",yo.opacity16),componentOpacityDisabled:ho.extend("--ft-collapsible-component-opacity-disabled","",yo.opacity40),horizontalPadding:ho.extend("--ft-collapsible-horizontal-padding","",yo.spacing4),verticalPadding:ho.extend("--ft-collapsible-vertical-padding","",yo.spacing3),focusOutlineWidth:ho.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:ho.extend("--ft-collapsible-focus-focus-ring-color","",Mo.borderActionFocusRing),color:ho.extend("--ft-collapsible-color","",Mo.contentGlobalPrimary),stateLayerColor:ho.extend("--ft-collapsible-state-layer-color","",Mo.contentGlobalPrimary),backgroundColor:ho.extend("--ft-collapsible-background-color","",Mo.backgroundGlobalOnSurface),borderColor:ho.extend("--ft-collapsible-border-color","",Mo.borderGlobalSubtle),iconSize:ho.extend("--ft-collapsible-icon-size","",yo.iconSize3)},Go={groupHorizontalPadding:ho.extend("--ft-switch-group-horizontal-padding","",yo.spacing1),groupVerticalPadding:ho.extend("--ft-switch-group-vertical-padding","",yo.spacing1),groupGap:ho.extend("--ft-switch-group-gap","",yo.spacing1),groupBackgroundColor:ho.extend("--ft-switch-group-background-color","",Mo.backgroundGlobalSurface),groupBorderColor:ho.extend("--ft-switch-group-border-color","",Mo.borderGlobalSubtle),groupBorderRadius:ho.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:ho.extend("--ft-switch-label-horizontal-padding","",yo.spacing2),labelVerticalPadding:ho.extend("--ft-switch-label-vertical-padding","",yo.spacing1),iconHorizontalPadding:ho.extend("--ft-switch-icon-horizontal-padding","",yo.spacing1),iconVerticalPadding:ho.extend("--ft-switch-icon-vertical-padding","",yo.spacing1),focusOutlineWidth:ho.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ho.extend("--ft-switch-focus-focus-ring-color","",Mo.borderActionFocusRing),optionBorderRadius:ho.extend("--ft-switch-option-border-radius","",yo.borderRadiusS),offStateLayerOpacityHover:ho.extend("--ft-switch-off-state-layer-opacity-hover","",yo.opacity8),offStateLayerOpacityFocus:ho.extend("--ft-switch-off-state-layer-opacity-focus","",yo.opacity8),offStateLayerOpacityActive:ho.extend("--ft-switch-off-state-layer-opacity-active","",yo.opacity16),offComponentOpacityDisabled:ho.extend("--ft-switch-off-component-opacity-disabled","",yo.opacity40),offColor:ho.extend("--ft-switch-off-color","",Mo.contentGlobalSubtle),offStateLayerColor:ho.extend("--ft-switch-off-state-layer-color","",Mo.contentGlobalSubtle),onStateLayerOpacityHover:ho.extend("--ft-switch-on-state-layer-opacity-hover","",yo.opacity8),onStateLayerOpacityFocus:ho.extend("--ft-switch-on-state-layer-opacity-focus","",yo.opacity8),onStateLayerOpacityActive:ho.extend("--ft-switch-on-state-layer-opacity-active","",yo.opacity16),onComponentOpacityDisabled:ho.extend("--ft-switch-on-component-opacity-disabled","",yo.opacity40),onColor:ho.extend("--ft-switch-on-color","",Mo.contentActionPrimary),onStateLayerColor:ho.extend("--ft-switch-on-state-layer-color","",Mo.contentActionPrimary)},Vo={color1Light:ho.extend("--ft-chart-1-light","for area color charts",yo.colorBrand40),color1Base:ho.extend("--ft-chart-1-base","for line charts",yo.colorBrand0),color2Light:ho.extend("--ft-chart-2-light","for area color charts",yo.colorYellow60),color2Base:ho.extend("--ft-chart-2-base","for line charts",yo.colorYellow100),color3Light:ho.extend("--ft-chart-3-light","",yo.colorUltramarine40),color3Base:ho.extend("--ft-chart-3-base","",yo.colorUltramarine70),color4Light:ho.extend("--ft-chart-4-light","",yo.colorCyan50),color4Base:ho.extend("--ft-chart-4-base","",yo.colorCyan100),color5Light:ho.extend("--ft-chart-5-light","",yo.colorRed40),color5Base:ho.extend("--ft-chart-5-base","",yo.colorRed60),color6Light:ho.extend("--ft-chart-6-light","",yo.colorGreen40),color6Base:ho.extend("--ft-chart-6-base","",yo.colorGreen70),color7Light:ho.extend("--ft-chart-7-light","",yo.colorOrange70),color7Base:ho.extend("--ft-chart-7-base","",yo.colorOrange100),color8Light:ho.extend("--ft-chart-8-light","",yo.colorAvocado70),color8Base:ho.extend("--ft-chart-8-base","",yo.colorAvocado200),color9Light:ho.extend("--ft-chart-9-light","",yo.colorBrown50),color9Base:ho.extend("--ft-chart-9-base","",yo.colorBrown200),color10Light:ho.extend("--ft-chart-10-light","",yo.colorGray50),color10Base:ho.extend("--ft-chart-10-base","",yo.colorGray80),monochrome10:ho.extend("--ft-chart-monochrome-10","",yo.colorBrand10),monochrome20:ho.extend("--ft-chart-monochrome-20","",yo.colorBrand20),monochrome30:ho.extend("--ft-chart-monochrome-30","",yo.colorBrand40),monochrome40:ho.extend("--ft-chart-monochrome-40","",yo.colorBrand60),monochrome50:ho.extend("--ft-chart-monochrome-50","",yo.colorBrand0),monochrome60:ho.extend("--ft-chart-monochrome-60","",yo.colorBrand200)},qo={largeHorizontalPadding:ho.extend("--ft-chip-large-horizontal-padding","",yo.spacing4),largeVerticalPadding:ho.extend("--ft-chip-large-vertical-padding","",yo.spacing2),largeGap:ho.extend("--ft-chip-large-gap","",yo.spacing1),largeFocusOutlineOffset:ho.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:ho.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:ho.extend("--ft-chip-large-border-radius","",yo.borderRadiusPill),largeBorderWidth:ho.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:ho.extend("--ft-chip-large-icon-size","",yo.iconSize3),mediumHorizontalPadding:ho.extend("--ft-chip-medium-horizontal-padding","",yo.spacing3),mediumVerticalPadding:ho.extend("--ft-chip-medium-vertical-padding","",yo.spacing1),mediumGap:ho.extend("--ft-chip-medium-gap","",yo.spacing1),mediumFocusOutlineOffset:ho.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:ho.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:ho.extend("--ft-chip-medium-border-radius","",yo.borderRadiusPill),mediumBorderWidth:ho.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:ho.extend("--ft-chip-medium-icon-size","",yo.iconSize2),smallHorizontalPadding:ho.extend("--ft-chip-small-horizontal-padding","",yo.spacing2),smallVerticalPadding:ho.extend("--ft-chip-small-vertical-padding","",yo.spacing05),smallGap:ho.extend("--ft-chip-small-gap","",yo.spacing1),smallFocusOutlineOffset:ho.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:ho.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:ho.extend("--ft-chip-small-border-radius","",yo.borderRadiusPill),smallBorderWidth:ho.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:ho.extend("--ft-chip-small-icon-size","",yo.iconSize1),neutralBackgroundColor:ho.extend("--ft-chip-neutral-background-color","",Mo.backgroundGlobalOnSurface),neutralColor:ho.extend("--ft-chip-neutral-color","",Mo.contentGlobalPrimary),neutralBorderColor:ho.extend("--ft-chip-neutral-border-color","",Mo.borderGlobalSubtle),infoBackgroundColor:ho.extend("--ft-chip-info-background-color","",Mo.backgroundInfoSubtle),infoColor:ho.extend("--ft-chip-info-color","",Mo.contentInfoPrimary),infoBorderColor:ho.extend("--ft-chip-info-border-color","",Mo.borderInfoSubtle),successBackgroundColor:ho.extend("--ft-chip-success-background-color","",Mo.backgroundSuccessSubtle),successColor:ho.extend("--ft-chip-success-color","",Mo.contentSuccessPrimary),successBorderColor:ho.extend("--ft-chip-success-border-color","",Mo.borderSuccessSubtle),warningBackgroundColor:ho.extend("--ft-chip-warning-background-color","",Mo.backgroundWarningSubtle),warningColor:ho.extend("--ft-chip-warning-color","",Mo.contentWarningPrimary),warningBorderColor:ho.extend("--ft-chip-warning-border-color","",Mo.borderWarningSubtle),errorBackgroundColor:ho.extend("--ft-chip-error-background-color","",Mo.backgroundErrorSubtle),errorColor:ho.extend("--ft-chip-error-color","",Mo.contentErrorPrimary),errorBorderColor:ho.extend("--ft-chip-error-border-color","",Mo.borderErrorSubtle)},Yo={borderWidth:ho.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:ho.extend("--ft-notice-horizontal-padding","",yo.spacing2),verticalPadding:ho.extend("--ft-notice-vertical-padding","",yo.spacing1),borderRadius:ho.extend("--ft-notice-border-radius","",yo.borderRadiusS),gap:ho.extend("--ft-notice-gap","",yo.spacing2),iconSize:ho.extend("--ft-notice-icon-size","",yo.iconSize3),infoBackgroundColor:ho.extend("--ft-notice-info-background-color","",Mo.backgroundInfoSubtle),infoBorderColor:ho.extend("--ft-notice-info-border-color","",Mo.borderInfoSubtle),infoColor:ho.extend("--ft-notice-info-color","",Mo.contentInfoPrimary),warningBackgroundColor:ho.extend("--ft-notice-warning-background-color","",Mo.backgroundWarningSubtle),warningBorderColor:ho.extend("--ft-notice-warning-border-color","",Mo.borderWarningSubtle),warningColor:ho.extend("--ft-notice-warning-color","",Mo.contentWarningPrimary)},Jo={labelColor:ho.extend("--ft-checkbox-label-color","",Mo.contentGlobalPrimary),checkedBackgroundColor:ho.extend("--ft-checkbox-checked-background-color","",Mo.contentActionPrimary),checkedStateLayerColor:ho.extend("--ft-checkbox-checked-state-layer-color","",Mo.contentActionPrimary),checkedColor:ho.extend("--ft-checkbox-checked-color","",Mo.contentGlobalOnColor),checkedStateLayerOpacityHover:ho.extend("--ft-checkbox-checked-state-layer-opacity-hover","",yo.opacity16),checkedStateLayerOpacityFocus:ho.extend("--ft-checkbox-checked-state-layer-opacity-focus","",yo.opacity16),checkedStateLayerOpacityActive:ho.extend("--ft-checkbox-checked-state-layer-opacity-active","",yo.opacity24),checkedComponentOpacityDisabled:ho.extend("--ft-checkbox-checked-component-opacity-disabled","",yo.opacity40),uncheckedBorderColor:ho.extend("--ft-checkbox-unchecked-border-color","",yo.colorGray80),uncheckedStateLayerColor:ho.extend("--ft-checkbox-unchecked-state-layer-color","",yo.colorGray80),uncheckedStateLayerOpacityHover:ho.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",yo.opacity16),uncheckedStateLayerOpacityFocus:ho.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",yo.opacity16),uncheckedStateLayerOpacityActive:ho.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",yo.opacity24),uncheckedComponentOpacityDisabled:ho.extend("--ft-checkbox-unchecked-component-opacity-disabled","",yo.opacity40),focusFocusRingColor:ho.extend("--ft-checkbox-focus-focus-ring-color","",Mo.borderActionFocusRing),focusOutlineOffset:ho.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:ho.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:ho.extend("--ft-checkbox-gap","",yo.spacing3)},Xo={offStateLayerOpacityHover:ho.extend("--ft-toggle-off-state-layer-opacity-hover","",yo.opacity16),offStateLayerOpacityFocus:ho.extend("--ft-toggle-off-state-layer-opacity-focus","",yo.opacity16),offStateLayerOpacityActive:ho.extend("--ft-toggle-off-state-layer-opacity-active","",yo.opacity24),offComponentOpacityDisabled:ho.extend("--ft-toggle-off-component-opacity-disabled","",yo.opacity40),offBackgroundColor:ho.extend("--ft-toggle-off-background-color","",Mo.contentGlobalSubtle),offIconColor:ho.extend("--ft-toggle-off-icon-color","",Mo.contentGlobalSubtle),offStateLayerColor:ho.extend("--ft-toggle-off-state-layer-color","",Mo.contentGlobalSubtle),onStateLayerOpacityHover:ho.extend("--ft-toggle-on-state-layer-opacity-hover","",yo.opacity16),onStateLayerOpacityFocus:ho.extend("--ft-toggle-on-state-layer-opacity-focus","",yo.opacity16),onStateLayerOpacityActive:ho.extend("--ft-toggle-on-state-layer-opacity-active","",yo.opacity24),onComponentOpacityDisabled:ho.extend("--ft-toggle-on-component-opacity-disabled","",yo.opacity40),onBackgroundColor:ho.extend("--ft-toggle-on-background-color","",Mo.contentActionPrimary),onIconColor:ho.extend("--ft-toggle-on-icon-color","",Mo.contentActionPrimary),onStateLayerColor:ho.extend("--ft-toggle-on-state-layer-color","",Mo.contentActionPrimary),labelColor:ho.extend("--ft-toggle-label-color","",Mo.contentGlobalPrimary),focusFocusRingColor:ho.extend("--ft-toggle-focus-focus-ring-color","",Mo.borderActionFocusRing),gap:ho.extend("--ft-toggle-gap","",yo.spacing3)},Qo={labelColor:ho.extend("--ft-radio-label-color","",Mo.contentGlobalPrimary),selectedColor:ho.extend("--ft-radio-selected-color","",Mo.contentActionPrimary),selectedStateLayerColor:ho.extend("--ft-radio-selected-state-layer-color","",Mo.contentActionPrimary),selectedStateLayerOpacityHover:ho.extend("--ft-radio-selected-state-layer-opacity-hover","",yo.opacity16),selectedStateLayerOpacityFocus:ho.extend("--ft-radio-selected-state-layer-opacity-focus","",yo.opacity16),selectedStateLayerOpacityActive:ho.extend("--ft-radio-selected-state-layer-opacity-active","",yo.opacity24),selectedComponentOpacityDisabled:ho.extend("--ft-radio-selected-component-opacity-disabled","",yo.opacity40),unselectedStateLayerColor:ho.extend("--ft-radio-unselected-state-layer-color","",yo.colorGray80),unselectedStateLayerOpacityHover:ho.extend("--ft-radio-unselected-state-layer-opacity-hover","",yo.opacity16),unselectedStateLayerOpacityFocus:ho.extend("--ft-radio-unselected-state-layer-opacity-focus","",yo.opacity16),unselectedStateLayerOpacityActive:ho.extend("--ft-radio-unselected-state-layer-opacity-active","",yo.opacity24),unselectedComponentOpacityDisabled:ho.extend("--ft-radio-unselected-component-opacity-disabled","",yo.opacity40),focusFocusRingColor:ho.extend("--ft-radio-focus-focus-ring-color","",Mo.borderActionFocusRing),focusOutlineOffset:ho.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:ho.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:ho.extend("--ft-radio-gap","",yo.spacing3)},tr={iconSize:ho.extend("--ft-notification-icon-size","",yo.iconSize4),horizontalPadding:ho.extend("--ft-notification-horizontal-padding","",yo.spacing4),verticalPadding:ho.extend("--ft-notification-vertical-padding","",yo.spacing4),infoBackgroundColor:ho.extend("--ft-notification-info-background-color","",Mo.backgroundInfoSubtle),infoColor:ho.extend("--ft-notification-info-color","",Mo.contentInfoPrimary),infoBorderColor:ho.extend("--ft-notification-info-border-color","",Mo.borderInfoSubtle),successBackgroundColor:ho.extend("--ft-notification-success-background-color","",Mo.backgroundSuccessSubtle),successColor:ho.extend("--ft-notification-success-color","",Mo.contentSuccessPrimary),successBorderColor:ho.extend("--ft-notification-success-border-color","",Mo.borderSuccessSubtle),warningBackgroundColor:ho.extend("--ft-notification-warning-background-color","",Mo.backgroundWarningSubtle),warningColor:ho.extend("--ft-notification-warning-color","",Mo.contentWarningPrimary),warningBorderColor:ho.extend("--ft-notification-warning-border-color","",Mo.borderWarningSubtle),errorBackgroundColor:ho.extend("--ft-notification-error-background-color","",Mo.backgroundErrorSubtle),errorColor:ho.extend("--ft-notification-error-color","",Mo.contentErrorPrimary),errorBorderColor:ho.extend("--ft-notification-error-border-color","",Mo.borderErrorSubtle),borderRadius:ho.extend("--ft-notification-border-radius","",yo.borderRadiusPill),borderWidth:ho.create("--ft-notification-border-width","","SIZE","1px"),gapLeading:ho.extend("--ft-notification-gap-leading","",yo.spacing2),gapTrailing:ho.extend("--ft-notification-gap-trailing","",yo.spacing8)},er={horizontalPadding:ho.extend("--ft-tooltip-horizontal-padding","",yo.spacing2),verticalPadding:ho.extend("--ft-tooltip-vertical-padding","",yo.spacing2),borderRadius:ho.extend("--ft-tooltip-border-radius","",yo.borderRadiusS),label:ho.extend("--ft-tooltip-label","",Mo.contentGlobalOnColor),background:ho.extend("--ft-tooltip-background","",Mo.contentGlobalPrimary),backgroundOpacity:ho.extend("--ft-tooltip-background-opacity","",yo.opacity80),shadow:ho.extend("--ft-tooltip-shadow","",yo.shadowElevation03)};var or=Object.freeze({__proto__:null,FtCssVariableFactory:ho,button:Do,chart:Vo,checkbox:Jo,chip:qo,collapsible:To,floatingMenu:Zo,foundation:yo,notice:Yo,notification:tr,radio:Qo,semantic:Mo,setVariable:function(t,e){return uo(`${t.name}: ${e}`)},switch_:Go,tabs:Ho,toggle:Xo,tooltip:er,typographies:Bo,typographyBody1Medium:So,typographyBody1Regular:vo,typographyBody1Semibold:wo,typographyBody2Medium:No,typographyBody2Regular:xo,typographyBody2Semibold:Co,typographyCaption1Bold:Fo,typographyCaption1Medium:ko,typographyCaption1Semibold:$o,typographyCaption2Bold:Ko,typographyCaption2Medium:Ao,typographyCaption2Semibold:_o,typographyCaption3Bold:Po,typographyCaption3Medium:jo,typographyCaption3Semibold:zo,typographyDisplay:go,typographyLabel1Bold:Lo,typographyLabel1Medium:Eo,typographyLabel1Semibold:Ro,typographyLabel2Bold:Wo,typographyLabel2Medium:Io,typographyLabel2Semibold:Uo,typographyTitle1:bo,typographyTitle2:mo,typographyTitle3:Oo,typographyVariants:["display","title-1","title-2","title-3","body-1","body-2","label-1","label-2","caption-1","caption-2","caption-3"]});const rr={colorPrimary:ho.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:ho.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:ho.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:ho.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:ho.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:ho.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ho.create("--ft-color-error","","COLOR","#B00020"),colorOutline:ho.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ho.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:ho.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:ho.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:ho.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:ho.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:ho.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ho.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ho.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:ho.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:ho.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ho.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ho.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ho.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ho.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ho.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ho.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:ho.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:ho.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:ho.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:ho.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:ho.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:ho.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ho.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ho.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:ho.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ho.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ho.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ho.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ho.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ho.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ho.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:ho.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ho.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ho.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ho.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ho.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:ho.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:ho.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:ho.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:ho.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:ho.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:ho.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:ho.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:ho.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:ho.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:ho.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:ho.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:ho.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:ho.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:ho.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:ho.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ho.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ho.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:ho.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var nr=Object.freeze({__proto__:null,designSystemVariables:rr});class ir extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class ar extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class sr extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var cr=Object.freeze({__proto__:null,FtNotificationEvent:ir,PostResizeEvent:sr,PreResizeEvent:ar});const lr=["start","end"],fr=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+lr[0],e+"-"+lr[1])),[]),pr=Math.min,ur=Math.max,hr=Math.round,dr=t=>({x:t,y:t}),yr={left:"right",right:"left",bottom:"top",top:"bottom"},gr={start:"end",end:"start"};function br(t,e,o){return ur(t,pr(e,o))}function mr(t,e){return"function"==typeof t?t(e):t}function Or(t){return t.split("-")[0]}function vr(t){return t.split("-")[1]}function Sr(t){return"x"===t?"y":"x"}function wr(t){return"y"===t?"height":"width"}function xr(t){return["top","bottom"].includes(Or(t))?"y":"x"}function Nr(t){return Sr(xr(t))}function Cr(t){return t.replace(/left|right|bottom|top/g,(t=>yr[t]))}function Er(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Rr(t,e,o){let{reference:r,floating:n}=t;const i=xr(e),a=Nr(e),s=wr(a),c=Or(e),l="y"===i,f=r.x+r.width/2-n.width/2,p=r.y+r.height/2-n.height/2,u=r[s]/2-n[s]/2;let h;switch(c){case"top":h={x:f,y:r.y-n.height};break;case"bottom":h={x:f,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:p};break;case"left":h={x:r.x-n.width,y:p};break;default:h={x:r.x,y:r.y}}switch(vr(e)){case"start":h[a]-=u*(o&&l?-1:1);break;case"end":h[a]+=u*(o&&l?-1:1)}return h}async function Lr(t,e){var o;void 0===e&&(e={});const{x:r,y:n,platform:i,rects:a,elements:s,strategy:c}=t,{boundary:l="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:u=!1,padding:h=0}=mr(e,t),d=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}}(h),y=s[u?"floating"===p?"reference":"floating":p],g=Er(await i.getClippingRect({element:null==(o=await(null==i.isElement?void 0:i.isElement(y)))||o?y:y.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:l,rootBoundary:f,strategy:c})),b="floating"===p?{...a.floating,x:r,y:n}:a.reference,m=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),O=await(null==i.isElement?void 0:i.isElement(m))&&await(null==i.getScale?void 0:i.getScale(m))||{x:1,y:1},v=Er(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(g.top-v.top+d.top)/O.y,bottom:(v.bottom-g.bottom+d.bottom)/O.y,left:(g.left-v.left+d.left)/O.x,right:(v.right-g.right+d.right)/O.x}}function Ir(t,e,o){return(t?[...o.filter((e=>vr(e)===t)),...o.filter((e=>vr(e)!==t))]:o.filter((t=>Or(t)===t))).filter((o=>!t||(vr(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>gr[t]))}(o)!==o)))}const Ur=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,r,n;const{rects:i,middlewareData:a,placement:s,platform:c,elements:l}=e,{crossAxis:f=!1,alignment:p,allowedPlacements:u=fr,autoAlignment:h=!0,...d}=mr(t,e),y=void 0!==p||u===fr?Ir(p||null,h,u):u,g=await Lr(e,d),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const O=function(t,e,o){void 0===o&&(o=!1);const r=vr(t),n=Nr(t),i=wr(n);let a="x"===n?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[i]>e.floating[i]&&(a=Cr(a)),[a,Cr(a)]}(m,i,await(null==c.isRTL?void 0:c.isRTL(l.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[Or(m)],g[O[0]],g[O[1]]],S=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:v}],w=y[b+1];if(w)return{data:{index:b+1,overflows:S},reset:{placement:w}};const x=S.map((t=>{const e=vr(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=x.filter((t=>t[2].slice(0,vr(t[0])?2:3).every((t=>t<=0)))),C=(null==(n=N[0])?void 0:n[0])||x[0][0];return C!==s?{data:{index:b+1,overflows:S},reset:{placement:C}}:{}}}};function Wr(t){return Fr(t)?(t.nodeName||"").toLowerCase():"#document"}function kr(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function $r(t){var e;return null==(e=(Fr(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Fr(t){return t instanceof Node||t instanceof kr(t).Node}function Ar(t){return t instanceof Element||t instanceof kr(t).Element}function _r(t){return t instanceof HTMLElement||t instanceof kr(t).HTMLElement}function Kr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof kr(t).ShadowRoot)}function jr(t){const{overflow:e,overflowX:o,overflowY:r,display:n}=Dr(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(n)}function zr(t){return["table","td","th"].includes(Wr(t))}function Pr(t){const e=Br(),o=Dr(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function Br(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Mr(t){return["html","body","#document"].includes(Wr(t))}function Dr(t){return kr(t).getComputedStyle(t)}function Zr(t){return Ar(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Hr(t){if("html"===Wr(t))return t;const e=t.assignedSlot||t.parentNode||Kr(t)&&t.host||$r(t);return Kr(e)?e.host:e}function Tr(t){const e=Hr(t);return Mr(e)?t.ownerDocument?t.ownerDocument.body:t.body:_r(e)&&jr(e)?e:Tr(e)}function Gr(t,e,o){var r;void 0===e&&(e=[]),void 0===o&&(o=!0);const n=Tr(t),i=n===(null==(r=t.ownerDocument)?void 0:r.body),a=kr(n);return i?e.concat(a,a.visualViewport||[],jr(n)?n:[],a.frameElement&&o?Gr(a.frameElement):[]):e.concat(n,Gr(n,[],o))}function Vr(t){const e=Dr(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const n=_r(t),i=n?t.offsetWidth:o,a=n?t.offsetHeight:r,s=hr(o)!==i||hr(r)!==a;return s&&(o=i,r=a),{width:o,height:r,$:s}}function qr(t){return Ar(t)?t:t.contextElement}function Yr(t){const e=qr(t);if(!_r(e))return dr(1);const o=e.getBoundingClientRect(),{width:r,height:n,$:i}=Vr(e);let a=(i?hr(o.width):o.width)/r,s=(i?hr(o.height):o.height)/n;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Jr=dr(0);function Xr(t){const e=kr(t);return Br()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Jr}function Qr(t,e,o,r){void 0===e&&(e=!1),void 0===o&&(o=!1);const n=t.getBoundingClientRect(),i=qr(t);let a=dr(1);e&&(r?Ar(r)&&(a=Yr(r)):a=Yr(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==kr(t))&&e}(i,o,r)?Xr(i):dr(0);let c=(n.left+s.x)/a.x,l=(n.top+s.y)/a.y,f=n.width/a.x,p=n.height/a.y;if(i){const t=kr(i),e=r&&Ar(r)?kr(r):r;let o=t.frameElement;for(;o&&r&&e!==t;){const t=Yr(o),e=o.getBoundingClientRect(),r=Dr(o),n=e.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,i=e.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,l*=t.y,f*=t.x,p*=t.y,c+=n,l+=i,o=kr(o).frameElement}}return Er({width:f,height:p,x:c,y:l})}function tn(t){return Qr($r(t)).left+Zr(t).scrollLeft}function en(t,e,o){let r;if("viewport"===e)r=function(t,e){const o=kr(t),r=$r(t),n=o.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,c=0;if(n){i=n.width,a=n.height;const t=Br();(!t||t&&"fixed"===e)&&(s=n.offsetLeft,c=n.offsetTop)}return{width:i,height:a,x:s,y:c}}(t,o);else if("document"===e)r=function(t){const e=$r(t),o=Zr(t),r=t.ownerDocument.body,n=ur(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),i=ur(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-o.scrollLeft+tn(t);const s=-o.scrollTop;return"rtl"===Dr(r).direction&&(a+=ur(e.clientWidth,r.clientWidth)-n),{width:n,height:i,x:a,y:s}}($r(t));else if(Ar(e))r=function(t,e){const o=Qr(t,!0,"fixed"===e),r=o.top+t.clientTop,n=o.left+t.clientLeft,i=_r(t)?Yr(t):dr(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:n*i.x,y:r*i.y}}(e,o);else{const o=Xr(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return Er(r)}function on(t,e){const o=Hr(t);return!(o===e||!Ar(o)||Mr(o))&&("fixed"===Dr(o).position||on(o,e))}function rn(t,e,o){const r=_r(e),n=$r(e),i="fixed"===o,a=Qr(t,!0,i,e);let s={scrollLeft:0,scrollTop:0};const c=dr(0);if(r||!r&&!i)if(("body"!==Wr(e)||jr(n))&&(s=Zr(e)),r){const t=Qr(e,!0,i,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}else n&&(c.x=tn(n));return{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function nn(t,e){return _r(t)&&"fixed"!==Dr(t).position?e?e(t):t.offsetParent:null}function an(t,e){const o=kr(t);if(!_r(t))return o;let r=nn(t,e);for(;r&&zr(r)&&"static"===Dr(r).position;)r=nn(r,e);return r&&("html"===Wr(r)||"body"===Wr(r)&&"static"===Dr(r).position&&!Pr(r))?o:r||function(t){let e=Hr(t);for(;_r(e)&&!Mr(e);){if(Pr(e))return e;e=Hr(e)}return null}(t)||o}const sn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:r}=t;const n=_r(o),i=$r(o);if(o===i)return e;let a={scrollLeft:0,scrollTop:0},s=dr(1);const c=dr(0);if((n||!n&&"fixed"!==r)&&(("body"!==Wr(o)||jr(i))&&(a=Zr(o)),_r(o))){const t=Qr(o);s=Yr(o),c.x=t.x+o.clientLeft,c.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+c.x,y:e.y*s.y-a.scrollTop*s.y+c.y}},getDocumentElement:$r,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:r,strategy:n}=t;const i=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let r=Gr(t,[],!1).filter((t=>Ar(t)&&"body"!==Wr(t))),n=null;const i="fixed"===Dr(t).position;let a=i?Hr(t):t;for(;Ar(a)&&!Mr(a);){const e=Dr(a),o=Pr(a);o||"fixed"!==e.position||(n=null),(i?!o&&!n:!o&&"static"===e.position&&n&&["absolute","fixed"].includes(n.position)||jr(a)&&!o&&on(t,a))?r=r.filter((t=>t!==a)):n=e,a=Hr(a)}return e.set(t,r),r}(e,this._c):[].concat(o),r],a=i[0],s=i.reduce(((t,o)=>{const r=en(e,o,n);return t.top=ur(r.top,t.top),t.right=pr(r.right,t.right),t.bottom=pr(r.bottom,t.bottom),t.left=ur(r.left,t.left),t}),en(e,a,n));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:an,getElementRects:async function(t){let{reference:e,floating:o,strategy:r}=t;const n=this.getOffsetParent||an,i=this.getDimensions;return{reference:rn(e,await n(o),r),floating:{x:0,y:0,...await i(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Vr(t)},getScale:Yr,isElement:Ar,isRTL:function(t){return"rtl"===Dr(t).direction}},cn=(t,e,o)=>{const r=new Map,n={platform:sn,...o},i={...n.platform,_c:r};return(async(t,e,o)=>{const{placement:r="bottom",strategy:n="absolute",middleware:i=[],platform:a}=o,s=i.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(e));let l=await a.getElementRects({reference:t,floating:e,strategy:n}),{x:f,y:p}=Rr(l,r,c),u=r,h={},d=0;for(let o=0;o<s.length;o++){const{name:i,fn:y}=s[o],{x:g,y:b,data:m,reset:O}=await y({x:f,y:p,initialPlacement:r,placement:u,strategy:n,middlewareData:h,rects:l,platform:a,elements:{reference:t,floating:e}});f=null!=g?g:f,p=null!=b?b:p,h={...h,[i]:{...h[i],...m}},O&&d<=50&&(d++,"object"==typeof O&&(O.placement&&(u=O.placement),O.rects&&(l=!0===O.rects?await a.getElementRects({reference:t,floating:e,strategy:n}):O.rects),({x:f,y:p}=Rr(l,u,c))),o=-1)}return{x:f,y:p,placement:u,strategy:n,middlewareData:h}})(t,e,{...n,platform:i})};function ln(t){return function(t){for(let e=t;e;e=fn(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=fn(t);e;e=fn(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 fn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var pn=Object.freeze({__proto__:null,computeOffsetPosition:async function(t,e,o){return cn(t,e,{platform:{...sn,getOffsetParent:t=>sn.getOffsetParent(t,ln)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:e,y:o,placement:n}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...c}=mr(r,t),l={x:e,y:o},f=await Lr(t,c),p=xr(Or(n)),u=Sr(p);let h=l[u],d=l[p];if(i){const t="y"===u?"bottom":"right";h=br(h+f["y"===u?"top":"left"],h,h-f[t])}if(a){const t="y"===p?"bottom":"right";d=br(d+f["y"===p?"top":"left"],d,d-f[t])}const y=s.fn({...t,[u]:h,[p]:d});return{...y,data:{x:y.x-e,y:y.y-o}}}}),Ur({allowedPlacements:[o]})]});var r}});
137
+ */let To=class extends Wo{constructor(t){if(super(t),this.et=M,t.type!==Io)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===M||null==t)return this.vt=void 0,this.et=t;if(t===H)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:[]}}};To.directiveName="unsafeHTML",To.resultType=1;const Go=Lo(To);var Vo=Object.freeze({__proto__:null,UnsafeHTMLDirective:To,unsafeHTML:Go});class qo extends Error{constructor(t,o,e){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=e}}class Yo extends Promise{constructor(t){super(((o,e)=>t((t=>{this.isCanceled?e(new qo("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?e(new qo("Promise has been canceled",void 0,t)):e(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const Jo=t=>new Yo(((o,e)=>t.then(o).catch(e)));var Xo=Object.freeze({__proto__:null,CancelablePromise:Yo,CanceledPromiseError:qo,cancelable:Jo});var Qo=Object.freeze({__proto__:null,CacheRegistry:class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,o){this.loaders[t]=o,this.finalContent.delete(t)}registerFinal(t,o){this.loaders[t]=o,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 Yo&&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,o){this.forceClear(t),this.register(t,(async()=>o)),this.content[t]=o}setFinal(t,o){this.forceClear(t),this.registerFinal(t,(async()=>o)),this.content[t]=o}async get(t,o,e){if(void 0===this.content[t]){if(null==(o=null!=o?o:this.loaders[t]))throw new Error("Unknown cache key "+t);const r=Jo(o());return this.content[t]=r,r.then((o=>(this.content[t]=o,null!=e&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),e)),o)))}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 te{constructor(t,o,e,r){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=e,this.metadataDescriptors=r}static extractResultMetadata(t){var o,e;return(null!==(e=null!==(o=null==t?void 0:t.map)&&void 0!==o?o:null==t?void 0:t.document)&&void 0!==e?e:null==t?void 0:t.topic).metadata.map((t=>te.flattenMetadata(t)))}static flattenMetadata(t){if(t.hierarchicalValues){const o=[],e=[];return t.hierarchicalValues.forEach((t=>{o.push(t.join(" > ")),t.length>2?e.push(`... > ${t[t.length-1]}`):e.push(t.join(" > "))})),{key:t.key,value:o.join(", "),displayValue:e.join(", ")}}{const o=t.values.join(", ");return{key:t.key,value:o,displayValue:o}}}computeClustersItemsForMetadata(t,o){let e=te.extractResultMetadata(this.selectedResult).find((o=>o.key===t));const r=this.allResults.flatMap((o=>te.extractResultMetadata(o).filter((o=>o.key===t)))).filter((t=>!(t.key===(null==e?void 0:e.key)&&t.value===(null==e?void 0:e.value)))).filter(((t,o,e)=>e.findIndex((o=>o.value===t.value))===o));return r.map((o=>({result:this.findBestResultForMetadataValue(t,o.value),metadata:o}))).sort(((e,r)=>this.compareMetadata(e.metadata.value,r.metadata.value,t,o)))}compareMetadata(t,o,e,r){let n=this.metadataDescriptors.find((t=>e==t.key)),i=(null==n?void 0:n.sortRule)||"NONE",a=(null==n?void 0:n.reverseSort)||!1;if("ALPHABET"==i||"VERSION"==i){let e=t.localeCompare(o,r,{numeric:!0});return a?-1*e:e}return 0}findBestResultForMetadataValue(t,o){const e=this.allResults.filter((e=>te.extractResultMetadata(e).find((e=>e.key===t&&e.value===o))));let r,n=te.extractResultMetadata(this.selectedResult).filter((t=>this.clusteringMetadata.has(t.key))),i=[...n.filter((o=>o.key!==t))],a=-1;for(let t of e){let o=this.countMatchingMetadata(t,i);if(o>a&&(a=o,r=t,o===i.length))break}return r}countMatchingMetadata(t,o){return te.extractResultMetadata(t).filter((t=>o.some((o=>o.key===t.key&&o.value===t.value)))).length}}var oe=Object.freeze({__proto__:null,ClusteringHelper:te});class ee{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 r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,n=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}var re=Object.freeze({__proto__:null,Debouncer:ee});const ne=t=>new Promise((o=>setTimeout(o,t)));async function ie(t,o=10,e=2e4){let r,n,i=await t();for(r=n=performance.now();null==i&&(!e||n-r<e);)await ne(o),i=await t(),n=performance.now();if(null==i)throw new Error("Timeout exceeded");return i}function ae(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,((t,o,e,r)=>o+e+":"+r)),new Date(t)}function le(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,r,n;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!le(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!le(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[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=(n=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,n[r]))return!1;for(r=e;0!=r--;){var i=n[r];if(!le(t[i],o[i]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}var ce=Object.freeze({__proto__:null,dateReviver:function(...t){return function(o,e){return t.includes(o)?ae(e):e}},deepEqual:le,delay:ne,eventPathContainsMatchingElement:function(t,o,e=window.document.body){if(o.length>0){const r=t.composedPath();for(let t of r){if(t===e)return!1;if(t.matches&&o.some((o=>t.matches(o))))return!0}}return!1},flatDeep:function t(o,e){return o.flatMap((o=>[o,...t(e(o),e)]))},last:function(t){return t[t.length-1]},minmax:function(t,o,e){return Math.min(Math.max(t,o),e)},parseDate:ae,waitFor:ie,waitUntil:async function(t,o=10,e=2e4){await ie((async()=>await t()||void 0),o,e)}});const se=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function fe(t,o){const e=()=>JSON.parse(JSON.stringify(t));return wo({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)=>!le(t,o),...null!=o?o:{}})}function pe(t){return!isNaN(parseFloat(t))}var ue=Object.freeze({__proto__:null,customElement:se,isNumber:pe,jsonProperty:fe,optionalNumberProperty:function(t){return wo({type:Object,converter:{fromAttribute:t=>{if(null!=t)return pe(t)?+t:void 0},toAttribute:t=>null==t?void 0:""+t},...null!=t?t:{}})}});const he=t=>"string"==typeof t?pt(t):t;class de{static create(t,o,e,r){const n=t=>he(null!=t?t:r),i=ut`var(${he(t)}, ${n(r)})`;return i.name=t,i.description=o,i.category=e,i.defaultValue=r,i.defaultCssValue=n,i.get=o=>ut`var(${he(t)}, ${n(o)})`,i.breadcrumb=()=>[],i.lastResortDefaultValue=()=>r,i}static extend(t,o,e,r){const n=t=>e.get(null!=t?t:r),i=ut`var(${he(t)}, ${n(r)})`;return i.name=t,i.description=o,i.category=e.category,i.fallbackVariable=e,i.defaultValue=r,i.defaultCssValue=n,i.get=o=>ut`var(${he(t)}, ${n(o)})`,i.breadcrumb=()=>[e.name,...e.breadcrumb()],i.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),i}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):he(null!=o?o:t.lastResortDefaultValue()),r=ut`var(${he(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>ut`var(${he(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const ye={colorWhite:de.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:de.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:de.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:de.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:de.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:de.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:de.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:de.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:de.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:de.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:de.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:de.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:de.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:de.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:de.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:de.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:de.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:de.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:de.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:de.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:de.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:de.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:de.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:de.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:de.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:de.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:de.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:de.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:de.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:de.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:de.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:de.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:de.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:de.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:de.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:de.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:de.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:de.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:de.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:de.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:de.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:de.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:de.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:de.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:de.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:de.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:de.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:de.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:de.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:de.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:de.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:de.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:de.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:de.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:de.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:de.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:de.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:de.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:de.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:de.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:de.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:de.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:de.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:de.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:de.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:de.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:de.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:de.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:de.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:de.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:de.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:de.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:de.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:de.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:de.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:de.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:de.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:de.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:de.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:de.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:de.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:de.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:de.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:de.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:de.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:de.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:de.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:de.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:de.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:de.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:de.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:de.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:de.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:de.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:de.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:de.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:de.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:de.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:de.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:de.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:de.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:de.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:de.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:de.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:de.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:de.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:de.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:de.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:de.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:de.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:de.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:de.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:de.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:de.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:de.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:de.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:de.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:de.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:de.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:de.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:de.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:de.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:de.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:de.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:de.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:de.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:de.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:de.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:de.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:de.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:de.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:de.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:de.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:de.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:de.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:de.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:de.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:de.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:de.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:de.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:de.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:de.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:de.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:de.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:de.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:de.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:de.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:de.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:de.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:de.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:de.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:de.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:de.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:de.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:de.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:de.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:de.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:de.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:de.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:de.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:de.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:de.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:de.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:de.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:de.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:de.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:de.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:de.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:de.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:de.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:de.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:de.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:de.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:de.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:de.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:de.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:de.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:de.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:de.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:de.create("--ft-icon-size-6","","SIZE","48px"),opacity0:de.create("--ft-opacity-0","","NUMBER","0"),opacity8:de.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:de.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:de.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:de.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:de.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:de.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:de.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:de.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:de.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:de.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:de.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:de.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:de.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:de.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)"),underline:de.create("--ft-underline","","UNKNOWN","underline")},ge={fontFamily:de.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:de.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:de.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:de.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:de.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:de.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:de.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:de.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:de.create("--ft-typography-display-textCase","","UNKNOWN","none")},be={fontFamily:de.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:de.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:de.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:de.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:de.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:de.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:de.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:de.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:de.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},me={fontFamily:de.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:de.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:de.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:de.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:de.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:de.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:de.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:de.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:de.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Oe={fontFamily:de.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:de.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:de.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:de.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:de.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:de.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:de.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:de.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:de.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},ve={fontFamily:de.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:de.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:de.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:de.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:de.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:de.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:de.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:de.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:de.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},xe={fontFamily:de.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:de.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:de.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:de.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:de.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:de.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:de.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:de.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:de.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Se={fontFamily:de.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:de.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:de.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:de.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:de.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:de.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:de.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:de.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:de.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},we={fontFamily:de.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:de.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:de.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:de.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:de.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:de.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:de.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:de.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:de.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Ne={fontFamily:de.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:de.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:de.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:de.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:de.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:de.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:de.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:de.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:de.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Ce={fontFamily:de.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:de.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:de.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:de.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:de.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:de.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:de.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:de.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:de.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Ee={fontFamily:de.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:de.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:de.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:de.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:de.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:de.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:de.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:de.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:de.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Re={fontFamily:de.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:de.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:de.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:de.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:de.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:de.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:de.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:de.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:de.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Ie={fontFamily:de.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:de.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:de.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:de.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:de.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:de.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:de.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:de.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:de.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Le={fontFamily:de.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:de.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:de.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:de.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:de.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:de.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:de.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:de.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:de.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},We={fontFamily:de.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:de.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:de.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:de.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:de.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:de.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:de.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:de.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:de.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Ue={fontFamily:de.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:de.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:de.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:de.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:de.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:de.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:de.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:de.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:de.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},ke={fontFamily:de.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:de.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:de.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:de.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:de.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:de.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:de.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:de.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:de.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},ze={fontFamily:de.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:de.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:de.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:de.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:de.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:de.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:de.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:de.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:de.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},$e={fontFamily:de.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:de.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:de.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:de.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:de.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:de.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:de.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:de.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:de.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Fe={fontFamily:de.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:de.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:de.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:de.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:de.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:de.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:de.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:de.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:de.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Ae={fontFamily:de.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:de.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:de.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:de.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:de.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:de.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:de.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:de.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:de.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Be={fontFamily:de.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:de.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:de.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:de.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:de.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:de.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:de.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:de.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:de.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},_e={fontFamily:de.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:de.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:de.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:de.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:de.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:de.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:de.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:de.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:de.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Ke={fontFamily:de.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:de.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:de.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:de.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:de.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:de.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:de.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:de.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:de.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Pe={fontFamily:de.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:de.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:de.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:de.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:de.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:de.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:de.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:de.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:de.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Ze={fontFamily:de.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:de.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:de.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:de.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:de.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:de.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:de.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:de.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:de.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},je={display:ge,"title-1":be,"title-2":me,"title-3":Oe,"body-1-regular":ve,"body-1-medium":xe,"body-1-semibold":Se,"body-2-regular":we,"body-2-medium":Ne,"body-2-medium-underline":Ce,"body-2-semibold":Ee,"label-1-medium":Re,"label-1-semibold":Ie,"label-1-bold":Le,"label-2-medium":We,"label-2-semibold":Ue,"label-2-bold":ke,"caption-1-medium":ze,"caption-1-semibold":$e,"caption-1-bold":Fe,"caption-2-medium":Ae,"caption-2-semibold":Be,"caption-2-bold":_e,"caption-3-medium":Ke,"caption-3-semibold":Pe,"caption-3-bold":Ze},He={backgroundActionPrimary:de.extend("--ft-background-action-primary","Used as backgorund of primary action components.",ye.colorBrand0),backgroundErrorSubtle:de.extend("--ft-background-error-subtle","Used as background of subtle error components.",ye.colorRed10),backgroundInfoSubtle:de.extend("--ft-background-info-subtle","Used as background of subtle information components.",ye.colorCyan10),backgroundWarningSubtle:de.extend("--ft-background-warning-subtle","Used as background of subtle information components.",ye.colorOrange10),backgroundSuccessSubtle:de.extend("--ft-background-success-subtle","Used as background of subtle success components.",ye.colorGreen10),backgroundGlobalSurface:de.extend("--ft-background-global-surface","Used as app background.",ye.colorWhite),backgroundGlobalOnSurface:de.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",ye.colorGray10),backgroundGlobalOnSurfaceDark:de.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",ye.colorGray30),contentActionPrimary:de.extend("--ft-content-action-primary","Used on label of primary action on light surface.",ye.colorBrand0),contentWarningPrimary:de.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",ye.colorOrange200),contentWarningIconOnly:de.extend("--ft-content-warning-icon-only","Used on warning status icons alone",ye.colorOrange0),contentErrorPrimary:de.extend("--ft-content-error-primary","Used on label of error messages on light surface.",ye.colorRed0),contentErrorIconOnly:de.extend("--ft-content-error-icon-only","Used on error status icons alone",ye.colorRed70),contentInfoPrimary:de.extend("--ft-content-info-primary","Used on label of information messages on light surface.",ye.colorCyan200),contentInfoIconOnly:de.extend("--ft-content-info-icon-only","Used on info status icons alone",ye.colorCyan0),contentSuccessPrimary:de.extend("--ft-content-success-primary","Used on label of success messages on light surface.",ye.colorGreen200),contentSuccessIconOnly:de.extend("--ft-content-success-icon-only","Used on success status icons alone",ye.colorGreen0),contentGlobalPrimary:de.extend("--ft-content-global-primary","Used for main content on the page.",ye.colorGray500),contentGlobalSecondary:de.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",ye.colorGray200),contentGlobalSubtle:de.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",ye.colorGray0),contentGlobalOnColor:de.extend("--ft-content-global-on-color","Used for content on a dominant color.",ye.colorWhite),borderActionPrimary:de.extend("--ft-border-action-primary","Used as border for primary action components.",ye.colorBrand0),borderActionFocusRing:de.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",ye.colorCyan0),borderWarningPrimary:de.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",ye.colorOrange200),borderWarningSubtle:de.extend("--ft-border-warning-subtle","Used as border for warning components.",ye.colorOrange30),borderSuccessPrimary:de.extend("--ft-border-success-primary","Used as border for success buttons.",ye.colorGreen200),borderSuccessSubtle:de.extend("--ft-border-success-subtle","Used as border for success components.",ye.colorGreen30),borderErrorPrimary:de.extend("--ft-border-error-primary","Used as border for text fields in error states.",ye.colorRed0),borderErrorSubtle:de.extend("--ft-border-error-subtle","Used as border for error components.",ye.colorRed30),borderInfoPrimary:de.extend("--ft-border-info-primary","Used as border for buttons in info color.",ye.colorCyan200),borderInfoSubtle:de.extend("--ft-border-info-subtle","Used as border for information components.",ye.colorCyan30),borderGlobalPrimary:de.extend("--ft-border-global-primary","Used as border for element like input.",ye.colorGray50),borderGlobalSubtle:de.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",ye.colorGray30),borderInputPrimary:de.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",ye.colorGray80)},Me={largeHeight:de.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:de.extend("--ft-button-large-horizontal-padding","",ye.spacing4),largeGap:de.extend("--ft-button-large-gap","",ye.spacing2),largeBorderRadius:de.extend("--ft-button-large-border-radius","",ye.borderRadiusS),largeIconSize:de.extend("--ft-button-large-icon-size","",ye.iconSize3),largeBorderWidth:de.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:de.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:de.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:de.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:de.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:de.extend("--ft-button-small-horizontal-padding","",ye.spacing3),smallGap:de.extend("--ft-button-small-gap","",ye.spacing2),smallBorderRadius:de.extend("--ft-button-small-border-radius","",ye.borderRadiusS),smallIconSize:de.extend("--ft-button-small-icon-size","",ye.iconSize2),smallBorderWidth:de.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:de.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:de.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:de.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:de.extend("--ft-button-primary-background-color","",He.backgroundActionPrimary),primaryColor:de.extend("--ft-button-primary-color","",He.contentGlobalOnColor),primaryIconColor:de.extend("--ft-button-primary-icon-color","",He.contentGlobalOnColor),primaryStateLayerColor:de.extend("--ft-button-primary-state-layer-color","",He.contentGlobalOnColor),primaryHoverStateLayerOpacity:de.extend("--ft-button-primary-hover-state-layer-opacity","",ye.opacity16),primaryFocusStateLayerOpacity:de.extend("--ft-button-primary-focus-state-layer-opacity","",ye.opacity16),primaryActiveStateLayerOpacity:de.extend("--ft-button-primary-active-state-layer-opacity","",ye.opacity24),primaryDisabledComponentOpacity:de.extend("--ft-button-primary-disabled-component-opacity","",ye.opacity40),focusFocusRingColor:de.extend("--ft-button-focus-focus-ring-color","",He.borderActionFocusRing),tertiaryBackgroundColor:de.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:de.extend("--ft-button-tertiary-color","",He.contentActionPrimary),tertiaryIconColor:de.extend("--ft-button-tertiary-icon-color","",He.contentActionPrimary),tertiaryStateLayerColor:de.extend("--ft-button-tertiary-state-layer-color","",He.contentActionPrimary),tertiaryHoverStateLayerOpacity:de.extend("--ft-button-tertiary-hover-state-layer-opacity","",ye.opacity8),tertiaryFocusStateLayerOpacity:de.extend("--ft-button-tertiary-focus-state-layer-opacity","",ye.opacity8),tertiaryActiveStateLayerOpacity:de.extend("--ft-button-tertiary-active-state-layer-opacity","",ye.opacity16),tertiaryDisabledComponentOpacity:de.extend("--ft-button-tertiary-disabled-component-opacity","",ye.opacity40),secondaryBackgroundColor:de.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:de.extend("--ft-button-secondary-color","",He.contentActionPrimary),secondaryIconColor:de.extend("--ft-button-secondary-icon-color","",He.contentActionPrimary),secondaryStateLayerColor:de.extend("--ft-button-secondary-state-layer-color","",He.contentActionPrimary),secondaryHoverStateLayerOpacity:de.extend("--ft-button-secondary-hover-state-layer-opacity","",ye.opacity8),secondaryFocusStateLayerOpacity:de.extend("--ft-button-secondary-focus-state-layer-opacity","",ye.opacity8),secondaryActiveStateLayerOpacity:de.extend("--ft-button-secondary-active-state-layer-opacity","",ye.opacity16),secondaryDisabledComponentOpacity:de.extend("--ft-button-secondary-disabled-component-opacity","",ye.opacity40),secondaryBorderColor:de.extend("--ft-button-secondary-border-color","",He.borderActionPrimary),neutralBackgroundColor:de.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:de.extend("--ft-button-neutral-icon-color","",He.contentGlobalSecondary),neutralColor:de.extend("--ft-button-neutral-color","",He.contentGlobalSecondary),neutralStateLayerColor:de.extend("--ft-button-neutral-state-layer-color","",He.contentGlobalSecondary),neutralHoverStateLayerOpacity:de.extend("--ft-button-neutral-hover-state-layer-opacity","",ye.opacity8),neutralFocusStateLayerOpacity:de.extend("--ft-button-neutral-focus-state-layer-opacity","",ye.opacity8),neutralActiveStateLayerOpacity:de.extend("--ft-button-neutral-active-state-layer-opacity","",ye.opacity16),neutralDisabledComponentOpacity:de.extend("--ft-button-neutral-disabled-component-opacity","",ye.opacity40)},De={iconSize:de.extend("--ft-banner-icon-size","",ye.iconSize5),borderWidth:de.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:de.extend("--ft-banner-horizontal-padding","",ye.spacing6),verticalPadding:de.extend("--ft-banner-vertical-padding","",ye.spacing6),horizontalSideGap:de.extend("--ft-banner-horizontal-side-gap","",ye.spacing6),horizontalMobileGap:de.extend("--ft-banner-horizontal-mobile-gap","",ye.spacing4),verticalMobileGap:de.extend("--ft-banner-vertical-mobile-gap","",ye.spacing6),horizontalMiddleGap:de.extend("--ft-banner-horizontal-middle-gap","",ye.spacing20),infoBackgroundColor:de.extend("--ft-banner-info-background-color","",He.backgroundInfoSubtle),infoColor:de.extend("--ft-banner-info-color","",He.contentInfoPrimary),infoIconColor:de.extend("--ft-banner-info-icon-color","",He.contentInfoIconOnly)},Te={gap:de.extend("--ft-breadcrumb-gap","",ye.spacing1)},Ge={horizontalPadding:de.extend("--ft-page-header-horizontal-padding","",ye.spacing12),verticalPadding:de.extend("--ft-page-header-vertical-padding","",ye.spacing6)},Ve={smallContainerWidth:de.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:de.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:de.extend("--ft-modal-overlay-background-color","",ye.colorGray700),overlayOpacity:de.extend("--ft-modal-overlay-opacity","",ye.opacity40),shadow:de.extend("--ft-modal-shadow","",ye.shadowElevation03),bodyBackgroundColor:de.extend("--ft-modal-body-background-color","",ye.colorWhite),bodyColor:de.extend("--ft-modal-body-color","",He.contentGlobalPrimary),bodyHorizontalPadding:de.extend("--ft-modal-body-horizontal-padding","",ye.spacing6),bodyVerticalPadding:de.extend("--ft-modal-body-vertical-padding","",ye.spacing6),bodyVerticalGap:de.extend("--ft-modal-body-vertical-gap","",ye.spacing6),containerMargin:de.extend("--ft-modal-container-margin","",ye.spacing3),headerBackgroundColor:de.extend("--ft-modal-header-background-color","",He.backgroundGlobalOnSurface),headerBorderColor:de.extend("--ft-modal-header-border-color","",He.borderGlobalSubtle),headerColor:de.extend("--ft-modal-header-color","",He.contentGlobalPrimary),headerTrailingIconColor:de.extend("--ft-modal-header-trailing-icon-color","",He.contentGlobalSecondary),headerVerticalPadding:de.extend("--ft-modal-header-vertical-padding","",ye.spacing1),headerRightPadding:de.extend("--ft-modal-header-right-padding","",ye.spacing1),headerLeftPadding:de.extend("--ft-modal-header-left-padding","",ye.spacing6),headerGap:de.extend("--ft-modal-header-gap","",ye.spacing2),headerBorderBottom:de.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:de.extend("--ft-modal-border-radius","",ye.borderRadiusM)},qe={fieldHorizontalPadding:de.extend("--ft-text-input-field-horizontal-padding","",ye.spacing4),fieldHorizontalGap:de.extend("--ft-text-input-field-horizontal-gap","",ye.spacing3),fieldVerticalGap:de.extend("--ft-text-input-field-vertical-gap","",ye.spacing05),fieldIconSize:de.extend("--ft-text-input-field-icon-size","",ye.iconSize3),fieldHeight:de.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:de.extend("--ft-text-input-helper-horizontal-padding","",ye.spacing4),helperHorizontalGap:de.extend("--ft-text-input-helper-horizontal-gap","",ye.spacing1),helperIconSize:de.extend("--ft-text-input-helper-icon-size","",ye.iconSize2),borderRadius:de.extend("--ft-text-input-border-radius","",ye.borderRadiusM),backgroundColor:de.extend("--ft-text-input-background-color","",ye.colorWhite),contentValueColor:de.extend("--ft-text-input-content-value-color","",He.contentGlobalPrimary),trailingIconColor:de.extend("--ft-text-input-trailing-icon-color","",He.contentGlobalSubtle),labelColor:de.extend("--ft-text-input-label-color","",He.contentGlobalSubtle),defaultBorderColor:de.extend("--ft-text-input-default-border-color","",He.borderInputPrimary),defaultHelperTextColor:de.extend("--ft-text-input-default-helper-text-color","",He.contentGlobalSubtle),defaultBorderWidth:de.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:de.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:de.extend("--ft-text-input-error-border-color","",He.borderErrorPrimary),errorHelperTextColor:de.extend("--ft-text-input-error-helper-text-color","",He.contentErrorPrimary),errorHelperIconColor:de.extend("--ft-text-input-error-helper-icon-color","",He.contentErrorIconOnly),warningBorderWidth:de.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:de.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:de.extend("--ft-text-input-focus-focus-ring-color","",He.borderActionFocusRing),focusOutlineOffset:de.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:de.extend("--ft-text-input-disabled-component-opacity","",ye.opacity40)},Ye={backgroundColor:de.extend("--ft-text-area-background-color","",ye.colorWhite),contentValueColor:de.extend("--ft-text-area-content-value-color","",He.contentGlobalPrimary),labelColor:de.extend("--ft-text-area-label-color","",He.contentGlobalSubtle),defaultBorderColor:de.extend("--ft-text-area-default-border-color","",He.borderInputPrimary),defaultHelperTextColor:de.extend("--ft-text-area-default-helper-text-color","",He.contentGlobalSubtle),defaultBorderWidth:de.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:de.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:de.extend("--ft-text-area-error-border-color","",He.borderErrorPrimary),errorHelperTextColor:de.extend("--ft-text-area-error-helper-text-color","",He.contentErrorPrimary),errorHelperIconColor:de.extend("--ft-text-area-error-helper-icon-color","",He.contentErrorIconOnly),focusFocusRingColor:de.extend("--ft-text-area-focus-focus-ring-color","",He.borderActionFocusRing),focusOutlineWidth:de.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:de.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:de.extend("--ft-text-area-disabled-component-opacity","",ye.opacity40),fieldHorizontalLeftPadding:de.extend("--ft-text-area-field-horizontal-left-padding","",ye.spacing4),fieldHorizontalGap:de.extend("--ft-text-area-field-horizontal-gap","",ye.spacing3),fieldVerticalGap:de.extend("--ft-text-area-field-vertical-gap","",ye.spacing05),fieldMinHeight:de.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:de.extend("--ft-text-area-helper-horizontal-padding","",ye.spacing4),helperHorizontalGap:de.extend("--ft-text-area-helper-horizontal-gap","",ye.spacing1),helperIconSize:de.extend("--ft-text-area-helper-icon-size","",ye.iconSize2),borderRadius:de.extend("--ft-text-area-border-radius","",ye.borderRadiusM)},Je={height:de.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:de.extend("--ft-floating-menu-horizontal-padding","",ye.spacing4),offIconColor:de.extend("--ft-floating-menu-off-icon-color","",He.contentGlobalPrimary),offColor:de.extend("--ft-floating-menu-off-color","",He.contentGlobalPrimary),onColor:de.extend("--ft-floating-menu-on-color","",He.contentActionPrimary),onStateLayerColor:de.extend("--ft-floating-menu-on-state-layer-color","",He.contentActionPrimary),gap:de.extend("--ft-floating-menu-gap","",ye.spacing3),focusFocusRingColor:de.extend("--ft-floating-menu-focus-focus-ring-color","",He.borderActionFocusRing),focusOutlineWidth:de.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:de.extend("--ft-floating-menu-focus-state-layer-opacity","",ye.opacity8),hoverStateLayerOpacity:de.extend("--ft-floating-menu-hover-state-layer-opacity","",ye.opacity8),activeStateLayerOpacity:de.extend("--ft-floating-menu-active-state-layer-opacity","",ye.opacity16),disabledComponentOpacity:de.extend("--ft-floating-menu-disabled-component-opacity","",ye.opacity40),iconSize:de.extend("--ft-floating-menu-icon-size","",ye.iconSize3),backgroundColor:de.extend("--ft-floating-menu-background-color","",He.backgroundGlobalOnSurface)},Xe={fieldHorizontalPadding:de.extend("--ft-combobox-single-select-field-horizontal-padding","",ye.spacing4),fieldHorizontalGap:de.extend("--ft-combobox-single-select-field-horizontal-gap","",ye.spacing3),fieldVerticalGap:de.extend("--ft-combobox-single-select-field-vertical-gap","",ye.spacing05),fieldIconSize:de.extend("--ft-combobox-single-select-field-icon-size","",ye.iconSize3),fieldHeight:de.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:de.extend("--ft-combobox-single-select-helper-horizontal-padding","",ye.spacing4),helperHorizontalGap:de.extend("--ft-combobox-single-select-helper-horizontal-gap","",ye.spacing1),helperVerticalGap:de.extend("--ft-combobox-single-select-helper-vertical-gap","",ye.spacing1),helperIconSize:de.extend("--ft-combobox-single-select-helper-icon-size","",ye.iconSize2),menuVerticalGap:de.extend("--ft-combobox-single-select-menu-vertical-gap","",ye.spacing2),borderRadius:de.extend("--ft-combobox-single-select-border-radius","",ye.borderRadiusM),backgroundColor:de.extend("--ft-combobox-single-select-background-color","",ye.colorWhite),labelColor:de.extend("--ft-combobox-single-select-label-color","",He.contentGlobalSubtle),contentValueColor:de.extend("--ft-combobox-single-select-content-value-color","",He.contentGlobalPrimary),trailingIconColor:de.extend("--ft-combobox-single-select-trailing-icon-color","",He.contentGlobalSubtle),defaultBorderColor:de.extend("--ft-combobox-single-select-default-border-color","",He.borderInputPrimary),defaultHelperTextColor:de.extend("--ft-combobox-single-select-default-helper-text-color","",He.contentGlobalSubtle),defaultBorderWidth:de.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:de.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:de.extend("--ft-combobox-single-select-error-border-color","",He.borderErrorPrimary),errorHelperTextColor:de.extend("--ft-combobox-single-select-error-helper-text-color","",He.contentErrorPrimary),warningBorderWidth:de.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:de.extend("--ft-combobox-single-select-warning-border-color","",He.borderWarningPrimary),warningHelperTextColor:de.extend("--ft-combobox-single-select-warning-helper-text-color","",He.contentWarningPrimary),warningHelperIconColor:de.extend("--ft-combobox-single-select-warning-helper-icon-color","",He.contentWarningIconOnly),focusOutlineWidth:de.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:de.extend("--ft-combobox-single-select-focus-focus-ring-color","",He.borderActionFocusRing),focusOutlineOffset:de.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:de.extend("--ft-combobox-single-select-disabled-component-opacity","",ye.opacity40)},Qe={backgroundColor:de.extend("--ft-combobox-multi-select-background-color","",ye.colorWhite),labelColor:de.extend("--ft-combobox-multi-select-label-color","",He.contentGlobalSubtle),trailingIconColor:de.extend("--ft-combobox-multi-select-trailing-icon-color","",He.contentGlobalSubtle),defaultBorderColor:de.extend("--ft-combobox-multi-select-default-border-color","",He.borderInputPrimary),defaultHelperTextColor:de.extend("--ft-combobox-multi-select-default-helper-text-color","",He.contentGlobalSubtle),defaultBorderWidth:de.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:de.extend("--ft-combobox-multi-select-error-border-color","",He.borderErrorPrimary),errorHelperTextColor:de.extend("--ft-combobox-multi-select-error-helper-text-color","",He.contentErrorPrimary),errorHelperIcon:de.extend("--ft-combobox-multi-select-error-helper-icon","",He.contentErrorIconOnly),errorBorderWidth:de.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:de.extend("--ft-combobox-multi-select-warning-border-color","",He.borderWarningPrimary),warningHelperTextColor:de.extend("--ft-combobox-multi-select-warning-helper-text-color","",He.contentWarningPrimary),warningHelperIconColor:de.extend("--ft-combobox-multi-select-warning-helper-icon-color","",He.contentWarningIconOnly),warningBorderWidth:de.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:de.extend("--ft-combobox-multi-select-focus-focus-ring-color","",He.borderActionFocusRing),focusOutlineWidth:de.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:de.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:de.extend("--ft-combobox-multi-select-disabled-component-opacity","",ye.opacity40),helperHorizontalPadding:de.extend("--ft-combobox-multi-select-helper-horizontal-padding","",ye.spacing4),helperHorizontalGap:de.extend("--ft-combobox-multi-select-helper-horizontal-gap","",ye.spacing1),helperVerticalGap:de.extend("--ft-combobox-multi-select-helper-vertical-gap","",ye.spacing1),helperIconSize:de.extend("--ft-combobox-multi-select-helper-icon-size","",ye.iconSize2),fieldHorizontalPadding:de.extend("--ft-combobox-multi-select-field-horizontal-padding","",ye.spacing4),fieldHorizontalGap:de.extend("--ft-combobox-multi-select-field-horizontal-gap","",ye.spacing3),fieldVerticalGap:de.extend("--ft-combobox-multi-select-field-vertical-gap","",ye.spacing05),fieldIconSize:de.extend("--ft-combobox-multi-select-field-icon-size","",ye.iconSize3),fieldMaxHeight:de.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:de.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",ye.spacing1),contentValuesVerticalGap:de.extend("--ft-combobox-multi-select-content-values-vertical-gap","",ye.spacing1),borderRadius:de.extend("--ft-combobox-multi-select-border-radius","",ye.borderRadiusM)},tr={backgroundColor:de.extend("--ft-popover-background-color","",He.backgroundGlobalOnSurface),horizontalPadding:de.extend("--ft-popover-horizontal-padding","",ye.spacing6),verticalPadding:de.extend("--ft-popover-vertical-padding","",ye.spacing6),iconColor:de.extend("--ft-popover-icon-color","",He.contentGlobalSecondary),iconSize:de.extend("--ft-popover-icon-size","",ye.iconSize2),titleColor:de.extend("--ft-popover-title-color","",He.contentGlobalPrimary),bodyColor:de.extend("--ft-popover-body-color","",He.contentGlobalSecondary),linkColor:de.extend("--ft-popover-link-color","",He.contentActionPrimary),gap:de.extend("--ft-popover-gap","",ye.spacing3),borderRadius:de.extend("--ft-popover-border-radius","",ye.borderRadiusM),shadow:de.extend("--ft-popover-shadow","",ye.shadowElevation02)},or={topLeftBorderRadius:de.extend("--ft-tabs-top-left-border-radius","",ye.borderRadiusS),topRightBorderRadius:de.extend("--ft-tabs-top-right-border-radius","",ye.borderRadiusS),labelHorizontalPadding:de.extend("--ft-tabs-label-horizontal-padding","",ye.spacing4),labelVerticalPadding:de.extend("--ft-tabs-label-vertical-padding","",ye.spacing3),labelGap:de.extend("--ft-tabs-label-gap","",ye.spacing1),offHoverStateLayerOpacity:de.extend("--ft-tabs-off-hover-state-layer-opacity","",ye.opacity8),offFocusStateLayerOpacity:de.extend("--ft-tabs-off-focus-state-layer-opacity","",ye.opacity8),offActiveStateLayerOpacity:de.extend("--ft-tabs-off-active-state-layer-opacity","",ye.opacity16),offDisabledComponentOpacity:de.extend("--ft-tabs-off-disabled-component-opacity","",ye.opacity40),offColor:de.extend("--ft-tabs-off-color","",He.contentGlobalSubtle),offStateLayerColor:de.extend("--ft-tabs-off-state-layer-color","",He.contentGlobalSubtle),onHoverStateLayerOpacity:de.extend("--ft-tabs-on-hover-state-layer-opacity","",ye.opacity8),onFocusStateLayerOpacity:de.extend("--ft-tabs-on-focus-state-layer-opacity","",ye.opacity8),onActiveStateLayerOpacity:de.extend("--ft-tabs-on-active-state-layer-opacity","",ye.opacity16),onDisabledComponentOpacity:de.extend("--ft-tabs-on-disabled-component-opacity","",ye.opacity40),onColor:de.extend("--ft-tabs-on-color","",He.contentActionPrimary),onStateLayerColor:de.extend("--ft-tabs-on-state-layer-color","",He.contentActionPrimary),iconHorizontalPadding:de.extend("--ft-tabs-icon-horizontal-padding","",ye.spacing1),iconVerticalPadding:de.extend("--ft-tabs-icon-vertical-padding","",ye.spacing4),focusOutlineWidth:de.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:de.extend("--ft-tabs-focus-focus-ring-color","",He.borderActionFocusRing)},er={hoverStateLayerOpacity:de.extend("--ft-collapsible-hover-state-layer-opacity","",ye.opacity8),focusStateLayerOpacity:de.extend("--ft-collapsible-focus-state-layer-opacity","",ye.opacity8),focusOutlineWidth:de.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:de.extend("--ft-collapsible-focus-focus-ring-color","",He.borderActionFocusRing),activeStateLayerOpacity:de.extend("--ft-collapsible-active-state-layer-opacity","",ye.opacity16),disabledComponentOpacity:de.extend("--ft-collapsible-disabled-component-opacity","",ye.opacity40),horizontalPadding:de.extend("--ft-collapsible-horizontal-padding","",ye.spacing4),verticalPadding:de.extend("--ft-collapsible-vertical-padding","",ye.spacing3),color:de.extend("--ft-collapsible-color","",He.contentGlobalPrimary),stateLayerColor:de.extend("--ft-collapsible-state-layer-color","",He.contentGlobalPrimary),backgroundColor:de.extend("--ft-collapsible-background-color","",He.backgroundGlobalOnSurface),borderColor:de.extend("--ft-collapsible-border-color","",He.borderGlobalSubtle),iconSize:de.extend("--ft-collapsible-icon-size","",ye.iconSize3)},rr={groupHorizontalPadding:de.extend("--ft-switch-group-horizontal-padding","",ye.spacing1),groupVerticalPadding:de.extend("--ft-switch-group-vertical-padding","",ye.spacing1),groupGap:de.extend("--ft-switch-group-gap","",ye.spacing1),groupBackgroundColor:de.extend("--ft-switch-group-background-color","",He.backgroundGlobalSurface),groupBorderColor:de.extend("--ft-switch-group-border-color","",He.borderGlobalSubtle),groupBorderRadius:de.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:de.extend("--ft-switch-label-horizontal-padding","",ye.spacing2),labelVerticalPadding:de.extend("--ft-switch-label-vertical-padding","",ye.spacing1),offHoverStateLayerOpacity:de.extend("--ft-switch-off-hover-state-layer-opacity","",ye.opacity8),offFocusStateLayerOpacity:de.extend("--ft-switch-off-focus-state-layer-opacity","",ye.opacity8),offActiveStateLayerOpacity:de.extend("--ft-switch-off-active-state-layer-opacity","",ye.opacity16),offDisabledComponentOpacity:de.extend("--ft-switch-off-disabled-component-opacity","",ye.opacity40),offColor:de.extend("--ft-switch-off-color","",He.contentGlobalSubtle),offStateLayerColor:de.extend("--ft-switch-off-state-layer-color","",He.contentGlobalSubtle),onHoverStateLayerOpacity:de.extend("--ft-switch-on-hover-state-layer-opacity","",ye.opacity8),onFocusStateLayerOpacity:de.extend("--ft-switch-on-focus-state-layer-opacity","",ye.opacity8),onActiveStateLayerOpacity:de.extend("--ft-switch-on-active-state-layer-opacity","",ye.opacity16),onDisabledComponentOpacity:de.extend("--ft-switch-on-disabled-component-opacity","",ye.opacity40),onColor:de.extend("--ft-switch-on-color","",He.contentActionPrimary),onStateLayerColor:de.extend("--ft-switch-on-state-layer-color","",He.contentActionPrimary),iconHorizontalPadding:de.extend("--ft-switch-icon-horizontal-padding","",ye.spacing1),iconVerticalPadding:de.extend("--ft-switch-icon-vertical-padding","",ye.spacing1),focusOutlineWidth:de.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:de.extend("--ft-switch-focus-focus-ring-color","",He.borderActionFocusRing),optionBorderRadius:de.extend("--ft-switch-option-border-radius","",ye.borderRadiusS)},nr={color1Light:de.extend("--ft-chart-1-light","for area color charts",ye.colorBrand40),color1Base:de.extend("--ft-chart-1-base","for line charts",ye.colorBrand0),color2Light:de.extend("--ft-chart-2-light","for area color charts",ye.colorYellow60),color2Base:de.extend("--ft-chart-2-base","for line charts",ye.colorYellow100),color3Light:de.extend("--ft-chart-3-light","",ye.colorUltramarine40),color3Base:de.extend("--ft-chart-3-base","",ye.colorUltramarine70),color4Light:de.extend("--ft-chart-4-light","",ye.colorCyan50),color4Base:de.extend("--ft-chart-4-base","",ye.colorCyan100),color5Light:de.extend("--ft-chart-5-light","",ye.colorRed40),color5Base:de.extend("--ft-chart-5-base","",ye.colorRed60),color6Light:de.extend("--ft-chart-6-light","",ye.colorGreen40),color6Base:de.extend("--ft-chart-6-base","",ye.colorGreen70),color7Light:de.extend("--ft-chart-7-light","",ye.colorOrange70),color7Base:de.extend("--ft-chart-7-base","",ye.colorOrange100),color8Light:de.extend("--ft-chart-8-light","",ye.colorAvocado70),color8Base:de.extend("--ft-chart-8-base","",ye.colorAvocado200),color9Light:de.extend("--ft-chart-9-light","",ye.colorBrown50),color9Base:de.extend("--ft-chart-9-base","",ye.colorBrown200),color10Light:de.extend("--ft-chart-10-light","",ye.colorGray50),color10Base:de.extend("--ft-chart-10-base","",ye.colorGray80),monochrome10:de.extend("--ft-chart-monochrome-10","",ye.colorBrand10),monochrome20:de.extend("--ft-chart-monochrome-20","",ye.colorBrand20),monochrome30:de.extend("--ft-chart-monochrome-30","",ye.colorBrand40),monochrome40:de.extend("--ft-chart-monochrome-40","",ye.colorBrand60),monochrome50:de.extend("--ft-chart-monochrome-50","",ye.colorBrand0),monochrome60:de.extend("--ft-chart-monochrome-60","",ye.colorBrand200)},ir={largeHorizontalPadding:de.extend("--ft-chip-large-horizontal-padding","",ye.spacing4),largeVerticalPadding:de.extend("--ft-chip-large-vertical-padding","",ye.spacing2),largeGap:de.extend("--ft-chip-large-gap","",ye.spacing1),largeFocusOutlineOffset:de.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:de.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:de.extend("--ft-chip-large-border-radius","",ye.borderRadiusPill),largeBorderWidth:de.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:de.extend("--ft-chip-large-icon-size","",ye.iconSize3),mediumHorizontalPadding:de.extend("--ft-chip-medium-horizontal-padding","",ye.spacing3),mediumVerticalPadding:de.extend("--ft-chip-medium-vertical-padding","",ye.spacing1),mediumGap:de.extend("--ft-chip-medium-gap","",ye.spacing1),mediumFocusOutlineOffset:de.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:de.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:de.extend("--ft-chip-medium-border-radius","",ye.borderRadiusPill),mediumBorderWidth:de.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:de.extend("--ft-chip-medium-icon-size","",ye.iconSize2),smallHorizontalPadding:de.extend("--ft-chip-small-horizontal-padding","",ye.spacing2),smallVerticalPadding:de.extend("--ft-chip-small-vertical-padding","",ye.spacing05),smallGap:de.extend("--ft-chip-small-gap","",ye.spacing1),smallFocusOutlineOffset:de.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:de.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:de.extend("--ft-chip-small-border-radius","",ye.borderRadiusPill),smallBorderWidth:de.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:de.extend("--ft-chip-small-icon-size","",ye.iconSize1),neutralBackgroundColor:de.extend("--ft-chip-neutral-background-color","",He.backgroundGlobalOnSurface),neutralColor:de.extend("--ft-chip-neutral-color","",He.contentGlobalPrimary),neutralIconColor:de.extend("--ft-chip-neutral-icon-color","",He.contentGlobalPrimary),neutralBorderColor:de.extend("--ft-chip-neutral-border-color","",He.borderGlobalSubtle),infoBackgroundColor:de.extend("--ft-chip-info-background-color","",He.backgroundInfoSubtle),infoColor:de.extend("--ft-chip-info-color","",He.contentInfoPrimary),infoIconColor:de.extend("--ft-chip-info-icon-color","",He.contentInfoIconOnly),infoBorderColor:de.extend("--ft-chip-info-border-color","",He.borderInfoSubtle),successBackgroundColor:de.extend("--ft-chip-success-background-color","",He.backgroundSuccessSubtle),successColor:de.extend("--ft-chip-success-color","",He.contentSuccessPrimary),successIconColor:de.extend("--ft-chip-success-icon-color","",He.contentSuccessIconOnly),successBorderColor:de.extend("--ft-chip-success-border-color","",He.borderSuccessSubtle),warningBackgroundColor:de.extend("--ft-chip-warning-background-color","",He.backgroundWarningSubtle),warningColor:de.extend("--ft-chip-warning-color","",He.contentWarningPrimary),warningIconColor:de.extend("--ft-chip-warning-icon-color","",He.contentWarningIconOnly),warningBorderColor:de.extend("--ft-chip-warning-border-color","",He.borderWarningSubtle),errorBackgroundColor:de.extend("--ft-chip-error-background-color","",He.backgroundErrorSubtle),errorColor:de.extend("--ft-chip-error-color","",He.contentErrorPrimary),errorIconColor:de.extend("--ft-chip-error-icon-color","",He.contentErrorIconOnly),errorBorderColor:de.extend("--ft-chip-error-border-color","",He.borderErrorSubtle)},ar={infoBorderColor:de.extend("--ft-border-info-border-color","",He.borderInfoSubtle)},lr={borderWidth:de.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:de.extend("--ft-notice-horizontal-padding","",ye.spacing2),verticalPadding:de.extend("--ft-notice-vertical-padding","",ye.spacing1),borderRadius:de.extend("--ft-notice-border-radius","",ye.borderRadiusS),gap:de.extend("--ft-notice-gap","",ye.spacing2),iconSize:de.extend("--ft-notice-icon-size","",ye.iconSize3),infoBackgroundColor:de.extend("--ft-notice-info-background-color","",He.backgroundInfoSubtle),infoBorderColor:de.extend("--ft-notice-info-border-color","",He.borderInfoSubtle),infoColor:de.extend("--ft-notice-info-color","",He.contentInfoPrimary),infoIconColor:de.extend("--ft-notice-info-icon-color","",He.contentInfoIconOnly),warningBackgroundColor:de.extend("--ft-notice-warning-background-color","",He.backgroundWarningSubtle),warningBorderColor:de.extend("--ft-notice-warning-border-color","",He.borderWarningSubtle),warningColor:de.extend("--ft-notice-warning-color","",He.contentWarningPrimary),warningIconColor:de.extend("--ft-notice-warning-icon-color","",He.contentWarningIconOnly)},cr={color:de.extend("--ft-checkbox-color","",He.contentGlobalPrimary),checkedBackgroundColor:de.extend("--ft-checkbox-checked-background-color","",He.contentActionPrimary),checkedStateLayerColor:de.extend("--ft-checkbox-checked-state-layer-color","",He.contentActionPrimary),checkedIconColor:de.extend("--ft-checkbox-checked-icon-color","",He.contentGlobalOnColor),checkedHoverStateLayerOpacity:de.extend("--ft-checkbox-checked-hover-state-layer-opacity","",ye.opacity16),checkedFocusStateLayerOpacity:de.extend("--ft-checkbox-checked-focus-state-layer-opacity","",ye.opacity16),checkedActiveStateLayerOpacity:de.extend("--ft-checkbox-checked-active-state-layer-opacity","",ye.opacity24),checkedDisabledComponentOpacity:de.extend("--ft-checkbox-checked-disabled-component-opacity","",ye.opacity40),uncheckedBorderColor:de.extend("--ft-checkbox-unchecked-border-color","",ye.colorGray80),uncheckedStateLayerColor:de.extend("--ft-checkbox-unchecked-state-layer-color","",ye.colorGray80),uncheckedHoverStateLayerOpacity:de.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",ye.opacity16),uncheckedFocusStateLayerOpacity:de.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",ye.opacity16),uncheckedActiveStateLayerOpacity:de.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",ye.opacity24),uncheckedDisabledComponentOpacity:de.extend("--ft-checkbox-unchecked-disabled-component-opacity","",ye.opacity40),focusFocusRingColor:de.extend("--ft-checkbox-focus-focus-ring-color","",He.borderActionFocusRing),focusOutlineOffset:de.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:de.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:de.extend("--ft-checkbox-gap","",ye.spacing3)},sr={offHoverStateLayerOpacity:de.extend("--ft-toggle-off-hover-state-layer-opacity","",ye.opacity16),offFocusStateLayerOpacity:de.extend("--ft-toggle-off-focus-state-layer-opacity","",ye.opacity16),offActiveStateLayerOpacity:de.extend("--ft-toggle-off-active-state-layer-opacity","",ye.opacity24),offDisabledComponentOpacity:de.extend("--ft-toggle-off-disabled-component-opacity","",ye.opacity40),offBackgroundColor:de.extend("--ft-toggle-off-background-color","",He.contentGlobalSubtle),offIconColor:de.extend("--ft-toggle-off-icon-color","",He.contentGlobalSubtle),offStateLayerColor:de.extend("--ft-toggle-off-state-layer-color","",He.contentGlobalSubtle),onHoverStateLayerOpacity:de.extend("--ft-toggle-on-hover-state-layer-opacity","",ye.opacity16),onFocusStateLayerOpacity:de.extend("--ft-toggle-on-focus-state-layer-opacity","",ye.opacity16),onActiveStateLayerOpacity:de.extend("--ft-toggle-on-active-state-layer-opacity","",ye.opacity24),onDisabledComponentOpacity:de.extend("--ft-toggle-on-disabled-component-opacity","",ye.opacity40),onBackgroundColor:de.extend("--ft-toggle-on-background-color","",He.contentActionPrimary),onStateLayerColor:de.extend("--ft-toggle-on-state-layer-color","",He.contentActionPrimary),onIconColor:de.extend("--ft-toggle-on-icon-color","",He.contentActionPrimary),color:de.extend("--ft-toggle-color","",He.contentGlobalPrimary),focusFocusRingColor:de.extend("--ft-toggle-focus-focus-ring-color","",He.borderActionFocusRing),gap:de.extend("--ft-toggle-gap","",ye.spacing3)},fr={color:de.extend("--ft-radio-color","",He.contentGlobalPrimary),selectedRadioColor:de.extend("--ft-radio-selected-radio-color","",He.contentActionPrimary),selectedStateLayerColor:de.extend("--ft-radio-selected-state-layer-color","",He.contentActionPrimary),selectedHoverStateLayerOpacity:de.extend("--ft-radio-selected-hover-state-layer-opacity","",ye.opacity16),selectedFocusStateLayerOpacity:de.extend("--ft-radio-selected-focus-state-layer-opacity","",ye.opacity16),selectedActiveStateLayerOpacity:de.extend("--ft-radio-selected-active-state-layer-opacity","",ye.opacity24),selectedDisabledComponentOpacity:de.extend("--ft-radio-selected-disabled-component-opacity","",ye.opacity40),unselectedStateLayerColor:de.extend("--ft-radio-unselected-state-layer-color","",He.borderInputPrimary),unselectedBorderColor:de.extend("--ft-radio-unselected-border-color","",He.borderInputPrimary),unselectedHoverStateLayerOpacity:de.extend("--ft-radio-unselected-hover-state-layer-opacity","",ye.opacity16),unselectedFocusStateLayerOpacity:de.extend("--ft-radio-unselected-focus-state-layer-opacity","",ye.opacity16),unselectedActiveStateLayerOpacity:de.extend("--ft-radio-unselected-active-state-layer-opacity","",ye.opacity24),unselectedDisabledComponentOpacity:de.extend("--ft-radio-unselected-disabled-component-opacity","",ye.opacity40),focusFocusRingColor:de.extend("--ft-radio-focus-focus-ring-color","",He.borderActionFocusRing),focusOutlineOffset:de.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:de.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:de.extend("--ft-radio-gap","",ye.spacing3)},pr={iconSize:de.extend("--ft-notification-icon-size","",ye.iconSize4),horizontalPadding:de.extend("--ft-notification-horizontal-padding","",ye.spacing4),verticalPadding:de.extend("--ft-notification-vertical-padding","",ye.spacing4),infoBackgroundColor:de.extend("--ft-notification-info-background-color","",He.backgroundInfoSubtle),infoColor:de.extend("--ft-notification-info-color","",He.contentInfoPrimary),infoIconColor:de.extend("--ft-notification-info-icon-color","",He.contentInfoIconOnly),infoBorderColor:de.extend("--ft-notification-info-border-color","",He.borderInfoSubtle),successBackgroundColor:de.extend("--ft-notification-success-background-color","",He.backgroundSuccessSubtle),successColor:de.extend("--ft-notification-success-color","",He.contentSuccessPrimary),successIconColor:de.extend("--ft-notification-success-icon-color","",He.contentSuccessIconOnly),successBorderColor:de.extend("--ft-notification-success-border-color","",He.borderSuccessSubtle),warningBackgroundColor:de.extend("--ft-notification-warning-background-color","",He.backgroundWarningSubtle),warningColor:de.extend("--ft-notification-warning-color","",He.contentWarningPrimary),warningIconColor:de.extend("--ft-notification-warning-icon-color","",He.contentWarningIconOnly),warningBorderColor:de.extend("--ft-notification-warning-border-color","",He.borderWarningSubtle),errorBackgroundColor:de.extend("--ft-notification-error-background-color","",He.backgroundErrorSubtle),errorColor:de.extend("--ft-notification-error-color","",He.contentErrorPrimary),errorIconColor:de.extend("--ft-notification-error-icon-color","",He.contentErrorIconOnly),errorBorderColor:de.extend("--ft-notification-error-border-color","",He.borderErrorSubtle),borderRadius:de.extend("--ft-notification-border-radius","",ye.borderRadiusPill),borderWidth:de.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:de.extend("--ft-notification-leading-gap","",ye.spacing2),trailingGap:de.extend("--ft-notification-trailing-gap","",ye.spacing8)},ur={horizontalPadding:de.extend("--ft-tooltip-horizontal-padding","",ye.spacing2),verticalPadding:de.extend("--ft-tooltip-vertical-padding","",ye.spacing2),borderRadius:de.extend("--ft-tooltip-border-radius","",ye.borderRadiusS),color:de.extend("--ft-tooltip-color","",He.contentGlobalOnColor),backgroundColor:de.extend("--ft-tooltip-background-color","",He.contentGlobalPrimary),backgroundOpacity:de.extend("--ft-tooltip-background-opacity","",ye.opacity80),shadow:de.extend("--ft-tooltip-shadow","",ye.shadowElevation03),maxWidth:de.create("--ft-tooltip-max-width","","SIZE","256px"),gap:de.extend("--ft-tooltip-gap","",ye.spacing05)};var hr=Object.freeze({__proto__:null,FtCssVariableFactory:de,banner:De,border:ar,breadcrumb:Te,button:Me,chart:nr,checkbox:cr,chip:ir,collapsible:er,comboboxMultiSelect:Qe,comboboxSingleSelect:Xe,floatingMenu:Je,foundation:ye,modal:Ve,notice:lr,notification:pr,pageHeader:Ge,popover:tr,radio:fr,semantic:He,setVariable:function(t,o){return he(`${t.name}: ${o}`)},switch_:rr,tabs:or,textArea:Ye,textInput:qe,toggle:sr,tooltip:ur,typographies:je,typographyBody1Medium:xe,typographyBody1Regular:ve,typographyBody1Semibold:Se,typographyBody2Medium:Ne,typographyBody2MediumUnderline:Ce,typographyBody2Regular:we,typographyBody2Semibold:Ee,typographyCaption1Bold:Fe,typographyCaption1Medium:ze,typographyCaption1Semibold:$e,typographyCaption2Bold:_e,typographyCaption2Medium:Ae,typographyCaption2Semibold:Be,typographyCaption3Bold:Ze,typographyCaption3Medium:Ke,typographyCaption3Semibold:Pe,typographyDisplay:ge,typographyLabel1Bold:Le,typographyLabel1Medium:Re,typographyLabel1Semibold:Ie,typographyLabel2Bold:ke,typographyLabel2Medium:We,typographyLabel2Semibold:Ue,typographyTitle1:be,typographyTitle2:me,typographyTitle3:Oe,typographyVariants:["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"]});const dr={colorPrimary:de.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:de.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:de.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:de.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:de.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:de.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:de.create("--ft-color-error","","COLOR","#B00020"),colorOutline:de.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:de.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:de.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:de.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:de.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:de.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:de.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:de.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:de.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:de.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:de.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:de.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:de.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:de.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:de.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:de.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:de.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:de.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:de.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:de.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:de.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:de.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:de.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:de.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:de.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:de.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:de.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:de.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:de.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:de.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:de.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:de.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:de.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:de.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:de.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:de.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:de.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:de.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:de.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:de.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:de.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:de.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:de.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:de.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:de.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:de.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:de.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:de.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:de.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:de.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:de.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:de.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:de.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:de.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:de.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var yr=Object.freeze({__proto__:null,designSystemVariables:dr});class gr extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class br extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class mr extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var Or=Object.freeze({__proto__:null,FtNotificationEvent:gr,PostResizeEvent:mr,PreResizeEvent:br});const vr=["start","end"],xr=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+vr[0],o+"-"+vr[1])),[]),Sr=Math.min,wr=Math.max,Nr=Math.round,Cr=t=>({x:t,y:t}),Er={left:"right",right:"left",bottom:"top",top:"bottom"},Rr={start:"end",end:"start"};function Ir(t,o,e){return wr(t,Sr(o,e))}function Lr(t,o){return"function"==typeof t?t(o):t}function Wr(t){return t.split("-")[0]}function Ur(t){return t.split("-")[1]}function kr(t){return"x"===t?"y":"x"}function zr(t){return"y"===t?"height":"width"}function $r(t){return["top","bottom"].includes(Wr(t))?"y":"x"}function Fr(t){return kr($r(t))}function Ar(t){return t.replace(/left|right|bottom|top/g,(t=>Er[t]))}function Br(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function _r(t,o,e){let{reference:r,floating:n}=t;const i=$r(o),a=Fr(o),l=zr(a),c=Wr(o),s="y"===i,f=r.x+r.width/2-n.width/2,p=r.y+r.height/2-n.height/2,u=r[l]/2-n[l]/2;let h;switch(c){case"top":h={x:f,y:r.y-n.height};break;case"bottom":h={x:f,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:p};break;case"left":h={x:r.x-n.width,y:p};break;default:h={x:r.x,y:r.y}}switch(Ur(o)){case"start":h[a]-=u*(e&&s?-1:1);break;case"end":h[a]+=u*(e&&s?-1:1)}return h}async function Kr(t,o){var e;void 0===o&&(o={});const{x:r,y:n,platform:i,rects:a,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:u=!1,padding:h=0}=Lr(o,t),d=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}}(h),y=l[u?"floating"===p?"reference":"floating":p],g=Br(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(y)))||e?y:y.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:s,rootBoundary:f,strategy:c})),b="floating"===p?{...a.floating,x:r,y:n}:a.reference,m=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),O=await(null==i.isElement?void 0:i.isElement(m))&&await(null==i.getScale?void 0:i.getScale(m))||{x:1,y:1},v=Br(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(g.top-v.top+d.top)/O.y,bottom:(v.bottom-g.bottom+d.bottom)/O.y,left:(g.left-v.left+d.left)/O.x,right:(v.right-g.right+d.right)/O.x}}function Pr(t,o,e){return(t?[...e.filter((o=>Ur(o)===t)),...e.filter((o=>Ur(o)!==t))]:e.filter((t=>Wr(t)===t))).filter((e=>!t||(Ur(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Rr[t]))}(e)!==e)))}const Zr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,n;const{rects:i,middlewareData:a,placement:l,platform:c,elements:s}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:u=xr,autoAlignment:h=!0,...d}=Lr(t,o),y=void 0!==p||u===xr?Pr(p||null,h,u):u,g=await Kr(o,d),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const O=function(t,o,e){void 0===e&&(e=!1);const r=Ur(t),n=Fr(t),i=zr(n);let a="x"===n?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[i]>o.floating[i]&&(a=Ar(a)),[a,Ar(a)]}(m,i,await(null==c.isRTL?void 0:c.isRTL(s.floating)));if(l!==m)return{reset:{placement:y[0]}};const v=[g[Wr(m)],g[O[0]],g[O[1]]],x=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:v}],S=y[b+1];if(S)return{data:{index:b+1,overflows:x},reset:{placement:S}};const w=x.map((t=>{const o=Ur(t.placement);return[t.placement,o&&f?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,Ur(t[0])?2:3).every((t=>t<=0)))),C=(null==(n=N[0])?void 0:n[0])||w[0][0];return C!==l?{data:{index:b+1,overflows:x},reset:{placement:C}}:{}}}};function jr(t){return Dr(t)?(t.nodeName||"").toLowerCase():"#document"}function Hr(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Mr(t){var o;return null==(o=(Dr(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Dr(t){return t instanceof Node||t instanceof Hr(t).Node}function Tr(t){return t instanceof Element||t instanceof Hr(t).Element}function Gr(t){return t instanceof HTMLElement||t instanceof Hr(t).HTMLElement}function Vr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Hr(t).ShadowRoot)}function qr(t){const{overflow:o,overflowX:e,overflowY:r,display:n}=tn(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(n)}function Yr(t){return["table","td","th"].includes(jr(t))}function Jr(t){const o=Xr(),e=tn(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 Xr(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Qr(t){return["html","body","#document"].includes(jr(t))}function tn(t){return Hr(t).getComputedStyle(t)}function on(t){return Tr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function en(t){if("html"===jr(t))return t;const o=t.assignedSlot||t.parentNode||Vr(t)&&t.host||Mr(t);return Vr(o)?o.host:o}function rn(t){const o=en(t);return Qr(o)?t.ownerDocument?t.ownerDocument.body:t.body:Gr(o)&&qr(o)?o:rn(o)}function nn(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const n=rn(t),i=n===(null==(r=t.ownerDocument)?void 0:r.body),a=Hr(n);return i?o.concat(a,a.visualViewport||[],qr(n)?n:[],a.frameElement&&e?nn(a.frameElement):[]):o.concat(n,nn(n,[],e))}function an(t){const o=tn(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const n=Gr(t),i=n?t.offsetWidth:e,a=n?t.offsetHeight:r,l=Nr(e)!==i||Nr(r)!==a;return l&&(e=i,r=a),{width:e,height:r,$:l}}function ln(t){return Tr(t)?t:t.contextElement}function cn(t){const o=ln(t);if(!Gr(o))return Cr(1);const e=o.getBoundingClientRect(),{width:r,height:n,$:i}=an(o);let a=(i?Nr(e.width):e.width)/r,l=(i?Nr(e.height):e.height)/n;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const sn=Cr(0);function fn(t){const o=Hr(t);return Xr()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:sn}function pn(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const n=t.getBoundingClientRect(),i=ln(t);let a=Cr(1);o&&(r?Tr(r)&&(a=cn(r)):a=cn(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Hr(t))&&o}(i,e,r)?fn(i):Cr(0);let c=(n.left+l.x)/a.x,s=(n.top+l.y)/a.y,f=n.width/a.x,p=n.height/a.y;if(i){const t=Hr(i),o=r&&Tr(r)?Hr(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=cn(e),o=e.getBoundingClientRect(),r=tn(e),n=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,i=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,s*=t.y,f*=t.x,p*=t.y,c+=n,s+=i,e=Hr(e).frameElement}}return Br({width:f,height:p,x:c,y:s})}function un(t){return pn(Mr(t)).left+on(t).scrollLeft}function hn(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Hr(t),r=Mr(t),n=e.visualViewport;let i=r.clientWidth,a=r.clientHeight,l=0,c=0;if(n){i=n.width,a=n.height;const t=Xr();(!t||t&&"fixed"===o)&&(l=n.offsetLeft,c=n.offsetTop)}return{width:i,height:a,x:l,y:c}}(t,e);else if("document"===o)r=function(t){const o=Mr(t),e=on(t),r=t.ownerDocument.body,n=wr(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),i=wr(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+un(t);const l=-e.scrollTop;return"rtl"===tn(r).direction&&(a+=wr(o.clientWidth,r.clientWidth)-n),{width:n,height:i,x:a,y:l}}(Mr(t));else if(Tr(o))r=function(t,o){const e=pn(t,!0,"fixed"===o),r=e.top+t.clientTop,n=e.left+t.clientLeft,i=Gr(t)?cn(t):Cr(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:n*i.x,y:r*i.y}}(o,e);else{const e=fn(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return Br(r)}function dn(t,o){const e=en(t);return!(e===o||!Tr(e)||Qr(e))&&("fixed"===tn(e).position||dn(e,o))}function yn(t,o,e){const r=Gr(o),n=Mr(o),i="fixed"===e,a=pn(t,!0,i,o);let l={scrollLeft:0,scrollTop:0};const c=Cr(0);if(r||!r&&!i)if(("body"!==jr(o)||qr(n))&&(l=on(o)),r){const t=pn(o,!0,i,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else n&&(c.x=un(n));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function gn(t,o){return Gr(t)&&"fixed"!==tn(t).position?o?o(t):t.offsetParent:null}function bn(t,o){const e=Hr(t);if(!Gr(t))return e;let r=gn(t,o);for(;r&&Yr(r)&&"static"===tn(r).position;)r=gn(r,o);return r&&("html"===jr(r)||"body"===jr(r)&&"static"===tn(r).position&&!Jr(r))?e:r||function(t){let o=en(t);for(;Gr(o)&&!Qr(o);){if(Jr(o))return o;o=en(o)}return null}(t)||e}const mn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const n=Gr(e),i=Mr(e);if(e===i)return o;let a={scrollLeft:0,scrollTop:0},l=Cr(1);const c=Cr(0);if((n||!n&&"fixed"!==r)&&(("body"!==jr(e)||qr(i))&&(a=on(e)),Gr(e))){const t=pn(e);l=cn(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+c.x,y:o.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:Mr,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:n}=t;const i=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=nn(t,[],!1).filter((t=>Tr(t)&&"body"!==jr(t))),n=null;const i="fixed"===tn(t).position;let a=i?en(t):t;for(;Tr(a)&&!Qr(a);){const o=tn(a),e=Jr(a);e||"fixed"!==o.position||(n=null),(i?!e&&!n:!e&&"static"===o.position&&n&&["absolute","fixed"].includes(n.position)||qr(a)&&!e&&dn(t,a))?r=r.filter((t=>t!==a)):n=o,a=en(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=i[0],l=i.reduce(((t,e)=>{const r=hn(o,e,n);return t.top=wr(r.top,t.top),t.right=Sr(r.right,t.right),t.bottom=Sr(r.bottom,t.bottom),t.left=wr(r.left,t.left),t}),hn(o,a,n));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:bn,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const n=this.getOffsetParent||bn,i=this.getDimensions;return{reference:yn(o,await n(e),r),floating:{x:0,y:0,...await i(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return an(t)},getScale:cn,isElement:Tr,isRTL:function(t){return"rtl"===tn(t).direction}},On=(t,o,e)=>{const r=new Map,n={platform:mn,...e},i={...n.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:n="absolute",middleware:i=[],platform:a}=e,l=i.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(o));let s=await a.getElementRects({reference:t,floating:o,strategy:n}),{x:f,y:p}=_r(s,r,c),u=r,h={},d=0;for(let e=0;e<l.length;e++){const{name:i,fn:y}=l[e],{x:g,y:b,data:m,reset:O}=await y({x:f,y:p,initialPlacement:r,placement:u,strategy:n,middlewareData:h,rects:s,platform:a,elements:{reference:t,floating:o}});f=null!=g?g:f,p=null!=b?b:p,h={...h,[i]:{...h[i],...m}},O&&d<=50&&(d++,"object"==typeof O&&(O.placement&&(u=O.placement),O.rects&&(s=!0===O.rects?await a.getElementRects({reference:t,floating:o,strategy:n}):O.rects),({x:f,y:p}=_r(s,u,c))),e=-1)}return{x:f,y:p,placement:u,strategy:n,middlewareData:h}})(t,o,{...n,platform:i})};function vn(t){return function(t){for(let o=t;o;o=xn(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=xn(t);o;o=xn(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 xn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Sn=Object.freeze({__proto__:null,computeOffsetPosition:async function(t,o,e){return On(t,o,{platform:{...mn,getOffsetParent:t=>mn.getOffsetParent(t,vn)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:o,y:e,placement:n}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=Lr(r,t),s={x:o,y:e},f=await Kr(t,c),p=$r(Wr(n)),u=kr(p);let h=s[u],d=s[p];if(i){const t="y"===u?"bottom":"right";h=Ir(h+f["y"===u?"top":"left"],h,h-f[t])}if(a){const t="y"===p?"bottom":"right";d=Ir(d+f["y"===p?"top":"left"],d,d-f[t])}const y=l.fn({...t,[u]:h,[p]:d});return{...y,data:{x:y.x-o,y:y.y-e}}}}),Zr({allowedPlacements:[e]})]});var r}});
138
138
  /**
139
139
  * @license
140
140
  * Copyright 2019 Google LLC
141
141
  * SPDX-License-Identifier: BSD-3-Clause
142
- */const un=window,hn=un.ShadowRoot&&(void 0===un.ShadyCSS||un.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class dn 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)=>{hn?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),r=un.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var yn,gn=Object.freeze({__proto__:null,ScopedRegistryLitElement:dn}),bn=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};const mn=Symbol("constructorPrototype"),On=Symbol("constructorName"),vn=Symbol("exportpartsDebouncer");class Sn extends dn{constructor(){super(),this[yn]=new eo(5),this[On]=this.constructor.name,this[mn]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[On]&&Object.setPrototypeOf(this,this[mn])}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[vn].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,n,i,a;const s=t=>null!=t&&t.trim().length>0,c=t.filter(s).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=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!==(n=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==n?n:[],o=null!==(a=null===(i=t.getAttribute("exportparts"))||void 0===i?void 0:i.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const f=[...l.values()].flatMap((t=>c.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}yn=vn,bn([we()],Sn.prototype,"exportpartsPrefix",void 0),bn([lo([])],Sn.prototype,"exportpartsPrefixes",void 0),bn([we()],Sn.prototype,"customStylesheet",void 0);var wn=Object.freeze({__proto__:null,FtLitElement:Sn}),xn=Object.freeze({__proto__:null});class Nn{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,n=null;const i=()=>{if(!r){r=!0,clearTimeout(n);try{this.isIframeBlank(t)||(t.removeEventListener("load",i),this.getIframeContents(t,e,o))}catch(t){o()}}};t.addEventListener("load",i),n=setTimeout(i,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 n=t.querySelectorAll("iframe"),i=n.length,a=0;n=Array.prototype.slice.call(n);const s=()=>{--i<=0&&r(a)};i||s(),n.forEach((t=>{Nn.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 Nn(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 n=!1,i=!1;return r.forEach(((t,e)=>{t.val===o&&(n=e,i=t.handled)})),this.compareNodeIframe(t,e,o)?(!1!==n||i?!1===n||i||(r[n].handled=!0):r.push({val:o,handled:!0}),!0):(!1===n&&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,n){const i=this.createIterator(e,t,r);let a,s,c=[],l=[],f=()=>(({prevNode:s,node:a}=this.getIteratorNode(i)),a);for(;f();)this.iframes&&this.forEachIframe(e,(t=>this.checkIframeFilter(a,s,t,c)),(e=>{this.createInstanceOnIframe(e).forEachNode(t,(t=>l.push(t)),r)})),l.push(a);l.forEach((t=>{o(t)})),this.iframes&&this.handleOpenIframes(c,t,o,r),n()}forEachNode(t,e,o,r=(()=>{})){const n=this.getContexts();let i=n.length;i||r(),n.forEach((n=>{const a=()=>{this.iterateThroughNodes(t,n,e,o,(()=>{--i<=0&&r()}))};this.iframes?this.waitForIframes(n,a):a()}))}}const Cn=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 Nn(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 n in e)if(e.hasOwnProperty(n)){const i=e[n],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(n):this.escapeStr(n),s="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i);""!==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((n=>{o.every((o=>{if(-1!==o.indexOf(n)){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,n="";switch(r.forEach((t=>{n+=`|${this.escapeStr(t)}`})),o){case"partially":default:return`()(${t})`;case"complementary":return n="\\s"+(n||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿")),`()([^${n}]*${t}[^${n}]*)`;case"exactly":return`(^|\\s${n})(${t})(?=$|\\s${n})`}}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:n,valid:i}=this.callNoMatchOnInvalidRanges(t,o);i&&(t.start=r,t.length=n-r,e.push(t),o=n)})),e}callNoMatchOnInvalidRanges(t,e){let o,r,n=!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?n=!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:n}}checkWhitespaceRanges(t,e,o){let r,n=!0,i=o.length,a=e-i,s=parseInt(t.start,10)-a;return s=s>i?i:s,r=s+parseInt(t.length,10),r>i&&(r=i,this.log(`End range automatically set to the max value of ${i}`)),s<0||r-s<0||s>i||r>i?(n=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===o.substring(s,r).replace(/\s+/g,"")&&(n=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:s,end:r,valid:n}}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 Nn.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,e,o){const r=this.opt.element?this.opt.element:"mark",n=t.splitText(e),i=n.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=n.textContent,n.parentNode.replaceChild(a,n),i}wrapRangeInMappedTextNode(t,e,o,r,n){t.nodes.every(((i,a)=>{const s=t.nodes[a+1];if(void 0===s||s.start>e){if(!r(i.node))return!1;const s=e-i.start,c=(o>i.end?i.end:o)-i.start,l=t.value.substr(0,i.start),f=t.value.substr(c+i.start);if(i.node=this.wrapRangeInTextNode(i.node,s,c),t.value=l+f,t.nodes.forEach(((e,o)=>{o>=a&&(t.nodes[o].start>0&&o!==a&&(t.nodes[o].start-=c),t.nodes[o].end-=c)})),o-=c,n(i.node.previousSibling,i.start),!(o>i.end))return!1;e=i.end}return!0}))}wrapMatches(t,e,o,r,n){const i=0===e?0:e+1;this.getTextNodes((e=>{e.nodes.forEach((e=>{let n;for(e=e.node;null!==(n=t.exec(e.textContent))&&""!==n[i];){if(!o(n[i],e))continue;let a=n.index;if(0!==i)for(let t=1;t<i;t++)a+=n[t].length;e=this.wrapRangeInTextNode(e,a,a+n[i].length),r(e.previousSibling),t.lastIndex=0}})),n()}))}wrapMatchesAcrossElements(t,e,o,r,n){const i=0===e?0:e+1;this.getTextNodes((e=>{let a;for(;null!==(a=t.exec(e.value))&&""!==a[i];){let n=a.index;if(0!==i)for(let t=1;t<i;t++)n+=a[t].length;const s=n+a[i].length;this.wrapRangeInMappedTextNode(e,n,s,(t=>o(a[i],t)),((e,o)=>{t.lastIndex=o,r(e)}))}n()}))}wrapRangeFromIndex(t,e,o,r){this.getTextNodes((n=>{const i=n.value.length;t.forEach(((t,r)=>{let{start:a,end:s,valid:c}=this.checkWhitespaceRanges(t,i,n.value);c&&this.wrapRangeInMappedTextNode(n,a,s,(o=>e(o,t,n.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:n,length:i}=this.getSeparatedKeywords("string"==typeof t?[t]:t),a=this.opt.caseSensitive?"":"i",s=t=>{let e=new RegExp(this.createRegExp(t),`gm${a}`),c=0;this.log(`Searching with expression "${e}"`),this[r](e,1,((e,r)=>this.opt.filter(r,t,o,c)),(t=>{c++,o++,this.opt.each(t)}),(()=>{0===c&&this.opt.noMatch(t),n[i-1]===t?this.opt.done(o):s(n[n.indexOf(t)+1])}))};this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),0===i?this.opt.done(o):s(n[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=Nn.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},En=ho.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Rn=ut`
142
+ */const wn=window,Nn=wn.ShadowRoot&&(void 0===wn.ShadyCSS||wn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Cn extends mo{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)=>{Nn?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=wn.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var En,Rn=Object.freeze({__proto__:null,ScopedRegistryLitElement:Cn}),In=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};const Ln=Symbol("constructorPrototype"),Wn=Symbol("constructorName"),Un=Symbol("exportpartsDebouncer");class kn extends Cn{constructor(){super(),this[En]=new ee(5),this[Wn]=this.constructor.name,this[Ln]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Wn]&&Object.setPrototypeOf(this,this[Ln])}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[Un].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,r,n,i,a;const l=t=>null!=t&&t.trim().length>0,c=t.filter(l).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const s=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!==(n=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==n?n:[],e=null!==(a=null===(i=t.getAttribute("exportparts"))||void 0===i?void 0:i.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(l).map((t=>t.trim())).forEach((t=>s.add(t)))}if(0===s.size)return void this.removeAttribute("exportparts");const f=[...s.values()].flatMap((t=>c.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}En=Un,In([wo()],kn.prototype,"exportpartsPrefix",void 0),In([fe([])],kn.prototype,"exportpartsPrefixes",void 0),In([wo()],kn.prototype,"customStylesheet",void 0);var zn=Object.freeze({__proto__:null,FtLitElement:kn}),$n=Object.freeze({__proto__:null});class Fn{constructor(t,o=!0,e=[],r=5e3){this.ctx=t,this.iframes=o,this.exclude=e,this.iframesTimeout=r}static matches(t,o){const e="string"==typeof o?[o]:o,r=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(r){let o=!1;return e.every((e=>!r.call(t,e)||(o=!0,!1))),o}return!1}getContexts(){let t,o=[];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 e=o.filter((o=>o.contains(t))).length>0;-1!==o.indexOf(t)||e||o.push(t)})),o}getIframeContents(t,o,e=(()=>{})){let r;try{const o=t.contentWindow;if(r=o.document,!o||!r)throw new Error("iframe inaccessible")}catch(t){e()}r&&o(r)}isIframeBlank(t){const o="about:blank",e=t.getAttribute("src").trim();return t.contentWindow.location.href===o&&e!==o&&e}observeIframeLoad(t,o,e){let r=!1,n=null;const i=()=>{if(!r){r=!0,clearTimeout(n);try{this.isIframeBlank(t)||(t.removeEventListener("load",i),this.getIframeContents(t,o,e))}catch(t){e()}}};t.addEventListener("load",i),n=setTimeout(i,this.iframesTimeout)}onIframeReady(t,o,e){try{"complete"===t.contentWindow.document.readyState?this.isIframeBlank(t)?this.observeIframeLoad(t,o,e):this.getIframeContents(t,o,e):this.observeIframeLoad(t,o,e)}catch(t){e()}}waitForIframes(t,o){let e=0;this.forEachIframe(t,(()=>!0),(t=>{e++,this.waitForIframes(t.querySelector("html"),(()=>{--e||o()}))}),(t=>{t||o()}))}forEachIframe(t,o,e,r=(()=>{})){let n=t.querySelectorAll("iframe"),i=n.length,a=0;n=Array.prototype.slice.call(n);const l=()=>{--i<=0&&r(a)};i||l(),n.forEach((t=>{Fn.matches(t,this.exclude)?l():this.onIframeReady(t,(r=>{o(t)&&(a++,e(r)),l()}),l)}))}createIterator(t,o,e){return document.createNodeIterator(t,o,e,!1)}createInstanceOnIframe(t){return new Fn(t.querySelector("html"),this.iframes)}compareNodeIframe(t,o,e){if(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING){if(null===o)return!0;if(o.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}getIteratorNode(t){const o=t.previousNode();let e;return e=(null===o||t.nextNode())&&t.nextNode(),{prevNode:o,node:e}}checkIframeFilter(t,o,e,r){let n=!1,i=!1;return r.forEach(((t,o)=>{t.val===e&&(n=o,i=t.handled)})),this.compareNodeIframe(t,o,e)?(!1!==n||i?!1===n||i||(r[n].handled=!0):r.push({val:e,handled:!0}),!0):(!1===n&&r.push({val:e,handled:!1}),!1)}handleOpenIframes(t,o,e,r){t.forEach((t=>{t.handled||this.getIframeContents(t.val,(t=>{this.createInstanceOnIframe(t).forEachNode(o,e,r)}))}))}iterateThroughNodes(t,o,e,r,n){const i=this.createIterator(o,t,r);let a,l,c=[],s=[],f=()=>(({prevNode:l,node:a}=this.getIteratorNode(i)),a);for(;f();)this.iframes&&this.forEachIframe(o,(t=>this.checkIframeFilter(a,l,t,c)),(o=>{this.createInstanceOnIframe(o).forEachNode(t,(t=>s.push(t)),r)})),s.push(a);s.forEach((t=>{e(t)})),this.iframes&&this.handleOpenIframes(c,t,e,r),n()}forEachNode(t,o,e,r=(()=>{})){const n=this.getContexts();let i=n.length;i||r(),n.forEach((n=>{const a=()=>{this.iterateThroughNodes(t,n,o,e,(()=>{--i<=0&&r()}))};this.iframes?this.waitForIframes(n,a):a()}))}}const An=function(t){const o=new class{constructor(t){this.ctx=t,this.ie=!1;const o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.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 Fn(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,o="debug"){const e=this.opt.log;this.opt.debug&&"object"==typeof e&&"function"==typeof e[o]&&e[o](`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 o=this.opt.synonyms,e=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let n in o)if(o.hasOwnProperty(n)){const i=o[n],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(n):this.escapeStr(n),l="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i);""!==a&&""!==l&&(t=t.replace(new RegExp(`(${this.escapeStr(a)}|${this.escapeStr(l)})`,`gm${e}`),r+`(${this.processSynomyms(a)}|`+`${this.processSynomyms(l)})`+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 o="withSpaces"===this.opt.wildcards;return t.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,((t,o,e)=>{let r=e.charAt(o+1);return/[(|)\\]/.test(r)||""===r?t:t+"\0"}))}createJoinersRegExp(t){let o=[];const e=this.opt.ignorePunctuation;return Array.isArray(e)&&e.length&&o.push(this.escapeStr(e.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?t.split(/\u0000+/).join(`[${o.join("")}]*`):t}createDiacriticsRegExp(t){const o=this.opt.caseSensitive?"":"i",e=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((n=>{e.every((e=>{if(-1!==e.indexOf(n)){if(r.indexOf(e)>-1)return!1;t=t.replace(new RegExp(`[${e}]`,`gm${o}`),`[${e}]`),r.push(e)}return!0}))})),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gim,"[\\s]+")}createAccuracyRegExp(t){let o=this.opt.accuracy,e="string"==typeof o?o:o.value,r="string"==typeof o?[]:o.limiters,n="";switch(r.forEach((t=>{n+=`|${this.escapeStr(t)}`})),e){case"partially":default:return`()(${t})`;case"complementary":return n="\\s"+(n||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿")),`()([^${n}]*${t}[^${n}]*)`;case"exactly":return`(^|\\s${n})(${t})(?=$|\\s${n})`}}getSeparatedKeywords(t){let o=[];return t.forEach((t=>{this.opt.separateWordSearch?t.split(" ").forEach((t=>{t.trim()&&-1===o.indexOf(t)&&o.push(t)})):t.trim()&&-1===o.indexOf(t)&&o.push(t)})),{keywords:o.sort(((t,o)=>o.length-t.length)),length:o.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 o=[];let e=0;return t.sort(((t,o)=>t.start-o.start)).forEach((t=>{let{start:r,end:n,valid:i}=this.callNoMatchOnInvalidRanges(t,e);i&&(t.start=r,t.length=n-r,o.push(t),e=n)})),o}callNoMatchOnInvalidRanges(t,o){let e,r,n=!1;return t&&void 0!==t.start?(e=parseInt(t.start,10),r=e+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&r-o>0&&r-e>0?n=!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:e,end:r,valid:n}}checkWhitespaceRanges(t,o,e){let r,n=!0,i=e.length,a=o-i,l=parseInt(t.start,10)-a;return l=l>i?i:l,r=l+parseInt(t.length,10),r>i&&(r=i,this.log(`End range automatically set to the max value of ${i}`)),l<0||r-l<0||l>i||r>i?(n=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===e.substring(l,r).replace(/\s+/g,"")&&(n=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:l,end:r,valid:n}}getTextNodes(t){let o="",e=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(t=>{e.push({start:o.length,end:(o+=t.textContent).length,node:t})}),(t=>this.matchesExclude(t.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT),(()=>{t({value:o,nodes:e})}))}matchesExclude(t){return Fn.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,e){const r=this.opt.element?this.opt.element:"mark",n=t.splitText(o),i=n.splitText(e-o);let a=document.createElement(r);return a.setAttribute("data-markjs","true"),this.opt.className&&a.setAttribute("class",this.opt.className),a.textContent=n.textContent,n.parentNode.replaceChild(a,n),i}wrapRangeInMappedTextNode(t,o,e,r,n){t.nodes.every(((i,a)=>{const l=t.nodes[a+1];if(void 0===l||l.start>o){if(!r(i.node))return!1;const l=o-i.start,c=(e>i.end?i.end:e)-i.start,s=t.value.substr(0,i.start),f=t.value.substr(c+i.start);if(i.node=this.wrapRangeInTextNode(i.node,l,c),t.value=s+f,t.nodes.forEach(((o,e)=>{e>=a&&(t.nodes[e].start>0&&e!==a&&(t.nodes[e].start-=c),t.nodes[e].end-=c)})),e-=c,n(i.node.previousSibling,i.start),!(e>i.end))return!1;o=i.end}return!0}))}wrapMatches(t,o,e,r,n){const i=0===o?0:o+1;this.getTextNodes((o=>{o.nodes.forEach((o=>{let n;for(o=o.node;null!==(n=t.exec(o.textContent))&&""!==n[i];){if(!e(n[i],o))continue;let a=n.index;if(0!==i)for(let t=1;t<i;t++)a+=n[t].length;o=this.wrapRangeInTextNode(o,a,a+n[i].length),r(o.previousSibling),t.lastIndex=0}})),n()}))}wrapMatchesAcrossElements(t,o,e,r,n){const i=0===o?0:o+1;this.getTextNodes((o=>{let a;for(;null!==(a=t.exec(o.value))&&""!==a[i];){let n=a.index;if(0!==i)for(let t=1;t<i;t++)n+=a[t].length;const l=n+a[i].length;this.wrapRangeInMappedTextNode(o,n,l,(t=>e(a[i],t)),((o,e)=>{t.lastIndex=e,r(o)}))}n()}))}wrapRangeFromIndex(t,o,e,r){this.getTextNodes((n=>{const i=n.value.length;t.forEach(((t,r)=>{let{start:a,end:l,valid:c}=this.checkWhitespaceRanges(t,i,n.value);c&&this.wrapRangeInMappedTextNode(n,a,l,(e=>o(e,t,n.value.substring(a,l),r)),(o=>{e(o,t)}))})),r()}))}unwrapMatches(t){const o=t.parentNode;let e=document.createDocumentFragment();for(;t.firstChild;)e.appendChild(t.removeChild(t.firstChild));o.replaceChild(e,t),this.ie?this.normalizeTextNode(o):o.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,o){this.opt=o,this.log(`Searching with expression "${t}"`);let e=0,r="wrapMatches";this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),this[r](t,this.opt.ignoreGroups,((t,o)=>this.opt.filter(o,t,e)),(t=>{e++,this.opt.each(t)}),(()=>{0===e&&this.opt.noMatch(t),this.opt.done(e)}))}mark(t,o){this.opt=o;let e=0,r="wrapMatches";const{keywords:n,length:i}=this.getSeparatedKeywords("string"==typeof t?[t]:t),a=this.opt.caseSensitive?"":"i",l=t=>{let o=new RegExp(this.createRegExp(t),`gm${a}`),c=0;this.log(`Searching with expression "${o}"`),this[r](o,1,((o,r)=>this.opt.filter(r,t,e,c)),(t=>{c++,e++,this.opt.each(t)}),(()=>{0===c&&this.opt.noMatch(t),n[i-1]===t?this.opt.done(e):l(n[n.indexOf(t)+1])}))};this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),0===i?this.opt.done(e):l(n[0])}markRanges(t,o){this.opt=o;let e=0,r=this.checkRanges(t);r&&r.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(r)),this.wrapRangeFromIndex(r,((t,o,e,r)=>this.opt.filter(t,o,e,r)),((t,o)=>{e++,this.opt.each(t,o)}),(()=>{this.opt.done(e)}))):this.opt.done(e)}unmark(t){this.opt=t;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,(t=>{this.unwrapMatches(t)}),(t=>{const e=Fn.matches(t,o),r=this.matchesExclude(t);return!e||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}}(t);return this.mark=(t,e)=>(o.mark(t,e),this),this.markRegExp=(t,e)=>(o.markRegExp(t,e),this),this.markRanges=(t,e)=>(o.markRanges(t,e),this),this.unmark=t=>(o.unmark(t),this),this},Bn=de.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),_n=ut`
143
143
  .highlight-html-match {
144
- background: ${En};
144
+ background: ${Bn};
145
145
  }
146
- `,Ln={className:"highlight-html-match"};var In=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 Cn(t);if(r.unmark(Ln),e&&e.trim()){r.mark(e.replace(/"[^"]+"/g,""),{...Ln,separateWordSearch:!0});(null!==(o=e.match(/"[^"]+"/g))&&void 0!==o?o:[]).forEach((t=>r.mark(t.replace(/"/g,""),{...Ln,separateWordSearch:!1})))}}t.setAttribute("data-highlight-html-query",null!=e?e:"")},highlightHtmlColorCssVariable:En,highlightHtmlStyles:Rn});const Un=ut`
146
+ `,Kn={className:"highlight-html-match"};var Pn=Object.freeze({__proto__:null,highlightHtml:function(t,o){var e;let r=t.getAttribute("data-highlight-html-query");if((null!=r?r:"")!==(null!=o?o:"")){const r=new An(t);if(r.unmark(Kn),o&&o.trim()){r.mark(o.replace(/"[^"]+"/g,""),{...Kn,separateWordSearch:!0});(null!==(e=o.match(/"[^"]+"/g))&&void 0!==e?e:[]).forEach((t=>r.mark(t.replace(/"/g,""),{...Kn,separateWordSearch:!1})))}}t.setAttribute("data-highlight-html-query",null!=o?o:"")},highlightHtmlColorCssVariable:Bn,highlightHtmlStyles:_n});const Zn=ut`
147
147
  .ft-no-text-select {
148
148
  -webkit-touch-callout: none;
149
149
  -webkit-user-select: none;
@@ -152,7 +152,7 @@ function(t){return(e,o)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}
152
152
  -ms-user-select: none;
153
153
  user-select: none;
154
154
  }
155
- `,Wn=ut`
155
+ `,jn=ut`
156
156
  .ft-word-wrap {
157
157
  white-space: normal;
158
158
  word-wrap: break-word;
@@ -164,7 +164,7 @@ function(t){return(e,o)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}
164
164
  -webkit-hyphens: auto;
165
165
  hyphens: auto
166
166
  }
167
- `,kn=ut`
167
+ `,Hn=ut`
168
168
  .ft-safari-ellipsis-fix {
169
169
  margin-right: 0;
170
170
 
@@ -175,121 +175,121 @@ function(t){return(e,o)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}
175
175
  display: inline-block;
176
176
  width: 0;
177
177
  }
178
- `;var $n=Object.freeze({__proto__:null,noTextSelect:Un,safariEllipsisFix:kn,wordWrap:Wn}),Fn=Object.freeze({__proto__:null});var An=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 n=null!==(r=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==r?r:"";return e.forEach(((t,e)=>n=n.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),n}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 _n{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 Kn(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var jn,zn,Pn;const Bn=Symbol("internalReduxEventsUnsubscribers"),Mn=Symbol("internalStoresUnsubscribers"),Dn=Symbol("internalStores");class Zn extends Sn{constructor(){super(...arguments),this[jn]=new Map,this[zn]=new Map,this[Pn]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[Dn].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Dn].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Dn].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Kn(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[Dn].delete(e)}setupStore(t,e){this[Dn].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Dn].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[Mn].has(t.store):this[Mn].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[Mn].set(t,e.subscribe((()=>this.updateFromStores()))),Kn(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[Bn].push((()=>e.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Mn].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Bn].forEach((t=>t())),this[Bn]=[]}unsubscribeFromStore(t){this[Mn].has(t)&&this[Mn].get(t)(),this[Mn].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Hn(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[ki]}function Gn(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)===$i}(t)||Array.isArray(t)||!!t[Wi]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Wi])||Qn(t)||ti(t))}function Vn(t,e,o){void 0===o&&(o=!1),0===qn(t)?(o?Object.keys:Fi)(t).forEach((function(r){o&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(o,r){return e(r,o,t)}))}function qn(t){var e=t[ki];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Qn(t)?2:ti(t)?3:0}function Yn(t,e){return 2===qn(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Jn(t,e,o){var r=qn(t);2===r?t.set(e,o):3===r?t.add(o):t[e]=o}function Xn(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function Qn(t){return Ri&&t instanceof Map}function ti(t){return Li&&t instanceof Set}function ei(t){return t.o||t.t}function oi(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Ai(t);delete e[ki];for(var o=Fi(e),r=0;r<o.length;r++){var n=o[r],i=e[n];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[n]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),e)}function ri(t,e){return void 0===e&&(e=!1),ii(t)||Tn(t)||!Gn(t)||(qn(t)>1&&(t.set=t.add=t.clear=t.delete=ni),Object.freeze(t),e&&Vn(t,(function(t,e){return ri(e,!0)}),!0)),t}function ni(){Hn(2)}function ii(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function ai(t){var e=_i[t];return e||Hn(18,t),e}function si(){return Ci}function ci(t,e){e&&(ai("Patches"),t.u=[],t.s=[],t.v=e)}function li(t){fi(t),t.p.forEach(ui),t.p=null}function fi(t){t===Ci&&(Ci=t.l)}function pi(t){return Ci={p:[],l:Ci,h:t,m:!0,_:0}}function ui(t){var e=t[ki];0===e.i||1===e.i?e.j():e.g=!0}function hi(t,e){e._=e.p.length;var o=e.p[0],r=void 0!==t&&t!==o;return e.h.O||ai("ES5").S(e,t,r),r?(o[ki].P&&(li(e),Hn(4)),Gn(t)&&(t=di(e,t),e.l||gi(e,t)),e.u&&ai("Patches").M(o[ki].t,t,e.u,e.s)):t=di(e,o,[]),li(e),e.u&&e.v(e.u,e.s),t!==Ui?t:void 0}function di(t,e,o){if(ii(e))return e;var r=e[ki];if(!r)return Vn(e,(function(n,i){return yi(t,r,e,n,i,o)}),!0),e;if(r.A!==t)return e;if(!r.P)return gi(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var n=4===r.i||5===r.i?r.o=oi(r.k):r.o,i=n,a=!1;3===r.i&&(i=new Set(n),n.clear(),a=!0),Vn(i,(function(e,i){return yi(t,r,n,e,i,o,a)})),gi(t,n,!1),o&&t.u&&ai("Patches").N(r,o,t.u,t.s)}return r.o}function yi(t,e,o,r,n,i,a){if(Tn(n)){var s=di(t,n,i&&e&&3!==e.i&&!Yn(e.R,r)?i.concat(r):void 0);if(Jn(o,r,s),!Tn(s))return;t.m=!1}else a&&o.add(n);if(Gn(n)&&!ii(n)){if(!t.h.D&&t._<1)return;di(t,n),e&&e.A.l||gi(t,n)}}function gi(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&ri(e,o)}function bi(t,e){var o=t[ki];return(o?ei(o):t)[e]}function mi(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 Oi(t){t.P||(t.P=!0,t.l&&Oi(t.l))}function vi(t){t.o||(t.o=oi(t.t))}function Si(t,e,o){var r=Qn(e)?ai("MapSet").F(e,o):ti(e)?ai("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),r={i:o?1:0,A:e?e.A:si(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},n=r,i=Ki;o&&(n=[r],i=ji);var a=Proxy.revocable(n,i),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(e,o):ai("ES5").J(e,o);return(o?o.A:si()).p.push(r),r}function wi(t){return Tn(t)||Hn(22,t),function t(e){if(!Gn(e))return e;var o,r=e[ki],n=qn(e);if(r){if(!r.P&&(r.i<4||!ai("ES5").K(r)))return r.t;r.I=!0,o=xi(e,n),r.I=!1}else o=xi(e,n);return Vn(o,(function(e,n){r&&function(t,e){return 2===qn(t)?t.get(e):t[e]}(r.t,e)===n||Jn(o,e,t(n))})),3===n?new Set(o):o}(t)}function xi(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return oi(t)}jn=Mn,zn=Dn,Pn=Bn,Zn.reduxProperties=new Map,Zn.reduxReactiveProperties=new Set,Zn.reduxEventListeners=new Map;var Ni,Ci,Ei="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Ri="undefined"!=typeof Map,Li="undefined"!=typeof Set,Ii="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Ui=Ei?Symbol.for("immer-nothing"):((Ni={})["immer-nothing"]=!0,Ni),Wi=Ei?Symbol.for("immer-draftable"):"__$immer_draftable",ki=Ei?Symbol.for("immer-state"):"__$immer_state",$i=""+Object.prototype.constructor,Fi="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Ai=Object.getOwnPropertyDescriptors||function(t){var e={};return Fi(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},_i={},Ki={get:function(t,e){if(e===ki)return t;var o=ei(t);if(!Yn(o,e))return function(t,e,o){var r,n=mi(e,o);return n?"value"in n?n.value:null===(r=n.get)||void 0===r?void 0:r.call(t.k):void 0}(t,o,e);var r=o[e];return t.I||!Gn(r)?r:r===bi(t.t,e)?(vi(t),t.o[e]=Si(t.A.h,r,t)):r},has:function(t,e){return e in ei(t)},ownKeys:function(t){return Reflect.ownKeys(ei(t))},set:function(t,e,o){var r=mi(ei(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,o),!0;if(!t.P){var n=bi(ei(t),e),i=null==n?void 0:n[ki];if(i&&i.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(Xn(o,n)&&(void 0!==o||Yn(t.t,e)))return!0;vi(t),Oi(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!==bi(t.t,e)||e in t.t?(t.R[e]=!1,vi(t),Oi(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=ei(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(){Hn(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Hn(12)}},ji={};Vn(Ki,(function(t,e){ji[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),ji.deleteProperty=function(t,e){return ji.set.call(this,t,e,void 0)},ji.set=function(t,e,o){return Ki.set.call(this,t[0],e,o,t[0])};var zi=function(){function t(t){var e=this;this.O=Ii,this.D=!0,this.produce=function(t,o,r){if("function"==typeof t&&"function"!=typeof o){var n=o;o=t;var i=e;return function(t){var e=this;void 0===t&&(t=n);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return i.produce(t,(function(t){var r;return(r=o).call.apply(r,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&Hn(6),void 0!==r&&"function"!=typeof r&&Hn(7),Gn(t)){var s=pi(e),c=Si(e,t,void 0),l=!0;try{a=o(c),l=!1}finally{l?li(s):fi(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return ci(s,r),hi(t,s)}),(function(t){throw li(s),t})):(ci(s,r),hi(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===Ui&&(a=void 0),e.D&&ri(a,!0),r){var f=[],p=[];ai("Patches").M(t,a,f,p),r(f,p)}return a}Hn(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(n))}))};var r,n,i=e.produce(t,o,(function(t,e){r=t,n=e}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(t){return[t,r,n]})):[i,r,n]},"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){Gn(t)||Hn(8),Tn(t)&&(t=wi(t));var e=pi(this),o=Si(this,t,void 0);return o[ki].C=!0,fi(e),o},e.finishDraft=function(t,e){var o=(t&&t[ki]).A;return ci(o,e),hi(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Ii&&Hn(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 n=ai("Patches").$;return Tn(t)?n(t,e):this.produce(t,(function(t){return n(t,e)}))},t}(),Pi=new zi,Bi=Pi.produce;function Mi(t){return Mi="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},Mi(t)}function Di(t){var e=function(t,e){if("object"!==Mi(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!==Mi(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Mi(e)?e:String(e)}function Zi(t,e,o){return(e=Di(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Hi(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 Ti(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?Hi(Object(o),!0).forEach((function(e){Zi(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Hi(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function Gi(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. "}Pi.produceWithPatches.bind(Pi),Pi.setAutoFreeze.bind(Pi),Pi.setUseProxies.bind(Pi),Pi.applyPatches.bind(Pi),Pi.createDraft.bind(Pi),Pi.finishDraft.bind(Pi);var Vi="function"==typeof Symbol&&Symbol.observable||"@@observable",qi=function(){return Math.random().toString(36).substring(7).split("").join(".")},Yi={INIT:"@@redux/INIT"+qi(),REPLACE:"@@redux/REPLACE"+qi(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+qi()}};function Ji(t,e,o){var r;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(Gi(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(Gi(1));return o(Ji)(t,e)}if("function"!=typeof t)throw new Error(Gi(2));var n=t,i=e,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function f(){if(c)throw new Error(Gi(3));return i}function p(t){if("function"!=typeof t)throw new Error(Gi(4));if(c)throw new Error(Gi(5));var e=!0;return l(),s.push(t),function(){if(e){if(c)throw new Error(Gi(6));e=!1,l();var o=s.indexOf(t);s.splice(o,1),a=null}}}function u(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(Gi(7));if(void 0===t.type)throw new Error(Gi(8));if(c)throw new Error(Gi(9));try{c=!0,i=n(i,t)}finally{c=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return u({type:Yi.INIT}),(r={dispatch:u,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Gi(10));n=t,u({type:Yi.REPLACE})}})[Vi]=function(){var t,e=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Gi(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[Vi]=function(){return this},t},r}function Xi(t){for(var e=Object.keys(t),o={},r=0;r<e.length;r++){var n=e[r];"function"==typeof t[n]&&(o[n]=t[n])}var i,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:Yi.INIT}))throw new Error(Gi(12));if(void 0===o(void 0,{type:Yi.PROBE_UNKNOWN_ACTION()}))throw new Error(Gi(13))}))}(o)}catch(t){i=t}return function(t,e){if(void 0===t&&(t={}),i)throw i;for(var r=!1,n={},s=0;s<a.length;s++){var c=a[s],l=o[c],f=t[c],p=l(f,e);if(void 0===p)throw e&&e.type,new Error(Gi(14));n[c]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?n:t}}function Qi(){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 ta(){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(Gi(15))},n={getState:o.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=e.map((function(t){return t(n)}));return r=Qi.apply(void 0,i)(o.dispatch),Ti(Ti({},o),{},{dispatch:r})}}}function ea(t){return function(e){var o=e.dispatch,r=e.getState;return function(e){return function(n){return"function"==typeof n?n(o,r,t):e(n)}}}}var oa=ea();oa.withExtraArgument=ea;var ra,na=oa,ia=(ra=function(t,e){return ra=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])},ra(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}ra(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),aa=function(t,e){var o,r,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,r&&(n=2&i[0]?r.return:i[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,i[1])).done)return n;switch(r=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(t){i=[6,t],r=0}finally{o=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},sa=function(t,e){for(var o=0,r=e.length,n=t.length;o<r;o++,n++)t[n]=e[o];return t},ca=Object.defineProperty,la=Object.defineProperties,fa=Object.getOwnPropertyDescriptors,pa=Object.getOwnPropertySymbols,ua=Object.prototype.hasOwnProperty,ha=Object.prototype.propertyIsEnumerable,da=function(t,e,o){return e in t?ca(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},ya=function(t,e){for(var o in e||(e={}))ua.call(e,o)&&da(t,o,e[o]);if(pa)for(var r=0,n=pa(e);r<n.length;r++){o=n[r];ha.call(e,o)&&da(t,o,e[o])}return t},ga=function(t,e){return la(t,fa(e))},ba="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?Qi:Qi.apply(null,arguments)};var ma=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var n=t.apply(this,o)||this;return Object.setPrototypeOf(n,e.prototype),n}return ia(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,sa([void 0],t[0].concat(this)))):new(e.bind.apply(e,sa([void 0],t.concat(this))))},e}(Array),Oa=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var n=t.apply(this,o)||this;return Object.setPrototypeOf(n,e.prototype),n}return ia(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,sa([void 0],t[0].concat(this)))):new(e.bind.apply(e,sa([void 0],t.concat(this))))},e}(Array);function va(t){return Gn(t)?Bi(t,(function(){})):t}function Sa(){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 ma;o&&(!function(t){return"boolean"==typeof t}(o)?r.push(na.withExtraArgument(o.extraArgument)):r.push(na));return r}(t)}}function wa(t){var e,o=Sa(),r=t||{},n=r.reducer,i=void 0===n?void 0:n,a=r.middleware,s=void 0===a?o():a,c=r.devTools,l=void 0===c||c,f=r.preloadedState,p=void 0===f?void 0:f,u=r.enhancers,h=void 0===u?void 0:u;if("function"==typeof i)e=i;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}(i))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=Xi(i)}var d=s;"function"==typeof d&&(d=d(o));var y=ta.apply(void 0,d),g=Qi;l&&(g=ba(ya({trace:!1},"object"==typeof l&&l)));var b=new Oa(y),m=b;return Array.isArray(h)?m=sa([y],h):"function"==typeof h&&(m=h(b)),Ji(e,p,g.apply(void 0,m))}function xa(t,e){function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(e){var n=e.apply(void 0,o);if(!n)throw new Error("prepareAction did not return an object");return ya(ya({type:t,payload:n.payload},"meta"in n&&{meta:n.meta}),"error"in n&&{error:n.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 Na(t){var e,o={},r=[],n={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,n},addMatcher:function(t,e){return r.push({matcher:t,reducer:e}),n},addDefaultCase:function(t){return e=t,n}};return t(n),[o,r,e]}function Ca(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:va(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};function l(){var e="function"==typeof t.extraReducers?Na(t.extraReducers):[t.extraReducers],o=e[0],n=void 0===o?{}:o,i=e[1],a=void 0===i?[]:i,c=e[2],l=void 0===c?void 0:c,f=ya(ya({},n),s);return function(t,e,o,r){void 0===o&&(o=[]);var n,i="function"==typeof e?Na(e):[e,o,r],a=i[0],s=i[1],c=i[2];if(function(t){return"function"==typeof t}(t))n=function(){return va(t())};else{var l=va(t);n=function(){return l}}function f(t,e){void 0===t&&(t=n());var o=sa([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=[c]),o.reduce((function(t,o){if(o){var r;if(Tn(t))return void 0===(r=o(t,e))?t:r;if(Gn(t))return Bi(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=n,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 n=r[o];t.addMatcher(n.matcher,n.reducer)}l&&t.addDefaultCase(l)}))}return i.forEach((function(t){var o,r,i=n[t],l=e+"/"+t;"reducer"in i?(o=i.reducer,r=i.prepare):o=i,a[t]=o,s[l]=o,c[t]=r?xa(l,r):xa(l)})),{name:e,reducer:function(t,e){return o||(o=l()),o(t,e)},actions:c,caseReducers:a,getInitialState:function(){return o||(o=l()),o.getInitialState()}}}var Ea=["name","message","stack","code"],Ra=function(t,e){this.payload=t,this.meta=e},La=function(t,e){this.payload=t,this.meta=e},Ia=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,r=Ea;o<r.length;o++){var n=r[o];"string"==typeof t[n]&&(e[n]=t[n])}return e}return{message:String(t)}};function Ua(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=xa(t+"/fulfilled",(function(t,e,o,r){return{payload:t,meta:ga(ya({},r||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),n=xa(t+"/pending",(function(t,e,o){return{payload:void 0,meta:ga(ya({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),i=xa(t+"/rejected",(function(t,e,r,n,i){return{payload:n,error:(o&&o.serializeError||Ia)(t||"Rejected"),meta:ga(ya({},i||{}),{arg:r,requestId:e,rejectedWithValue:!!n,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,c,l){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}(),u=new a;function h(t){f=t,u.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,g,b,m;return aa(this,(function(O){switch(O.label){case 0:return O.trys.push([0,4,,5]),g=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:c,extra:l}),null===(v=g)||"object"!=typeof v||"function"!=typeof v.then?[3,2]:[4,g];case 1:g=O.sent(),O.label=2;case 2:if(!1===g||u.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return u.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(n(p,t,null==(d=null==o?void 0:o.getPendingMeta)?void 0:d.call(o,{requestId:p,arg:t},{getState:c,extra:l}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:s,getState:c,extra:l,requestId:p,signal:u.signal,abort:h,rejectWithValue:function(t,e){return new Ra(t,e)},fulfillWithValue:function(t,e){return new La(t,e)}})).then((function(e){if(e instanceof Ra)throw e;return e instanceof La?r(e.payload,p,t,e.meta):r(e,p,t)}))])];case 3:return y=O.sent(),[3,5];case 4:return m=O.sent(),y=m instanceof Ra?i(null,p,t,m.payload,m.meta):i(m,p,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&i.match(y)&&y.meta.condition||s(y),[2,y]}var v}))},new Promise((function(t,e){var o=function(t){try{n(y.next(t))}catch(t){e(t)}},r=function(t){try{n(y.throw(t))}catch(t){e(t)}},n=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,r)};n((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:h,requestId:p,arg:t,unwrap:function(){return d.then(Ua)}})}}),{pending:n,rejected:i,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Wa="listenerMiddleware";xa(Wa+"/add"),xa(Wa+"/removeAll"),xa(Wa+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=n[t];return o?o.enumerable=e:n[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[ki];return Ki.get(e,t)},set:function(e){var o=this[ki];Ki.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var n=t[e][ki];if(!n.P)switch(n.i){case 5:r(n)&&Oi(n);break;case 4:o(n)&&Oi(n)}}}function o(t){for(var e=t.t,o=t.k,r=Fi(o),n=r.length-1;n>=0;n--){var i=r[n];if(i!==ki){var a=e[i];if(void 0===a&&!Yn(e,i))return!0;var s=o[i],c=s&&s[ki];if(c?c.t!==a:!Xn(s,a))return!0}}var l=!!e[ki];return r.length!==Fi(e).length+(l?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 n={};!function(t,e){_i[t]||(_i[t]=e)}("ES5",{J:function(e,o){var r=Array.isArray(e),n=function(e,o){if(e){for(var r=Array(o.length),n=0;n<o.length;n++)Object.defineProperty(r,""+n,t(n,!0));return r}var i=Ai(o);delete i[ki];for(var a=Fi(i),s=0;s<a.length;s++){var c=a[s];i[c]=t(c,e||!!i[c].enumerable)}return Object.create(Object.getPrototypeOf(o),i)}(r,e),i={i:r?5:4,A:o?o.A:si(),P:!1,I:!1,R:{},l:o,t:e,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,ki,{value:i,writable:!0}),n},S:function(t,o,n){n?Tn(o)&&o[ki].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[ki];if(o){var n=o.t,i=o.k,a=o.R,s=o.i;if(4===s)Vn(i,(function(e){e!==ki&&(void 0!==n[e]||Yn(n,e)?a[e]||t(i[e]):(a[e]=!0,Oi(o)))})),Vn(n,(function(t){void 0!==i[t]||Yn(i,t)||(a[t]=!1,Oi(o))}));else if(5===s){if(r(o)&&(Oi(o),a.length=!0),i.length<n.length)for(var c=i.length;c<n.length;c++)a[c]=!1;else for(var l=n.length;l<i.length;l++)a[l]=!0;for(var f=Math.min(i.length,n.length),p=0;p<f;p++)i.hasOwnProperty(p)||(a[p]=!0),void 0===a[p]&&t(i[p])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class ka{static get(t){var e;const o="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,n=window.ftReduxStores[o];if(Kn(n))return n;if(null==r)return;const i=Ca({...r,reducers:null!==(e=r.reducers)&&void 0!==e?e:{}}),a=wa({reducer:(t,e)=>{var o;switch(e.type){case"CLEAR_FT_REDUX_STORE":return i.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(o=e.overwrites)&&void 0!==o?o:{}};default:return i.reducer(t,e)}}});return window.ftReduxStores[r.name]=new ka(i,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new _n,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const r=e,n=t[r];return n?(...t)=>{const e=n(...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 $a=Object.freeze({__proto__:null,FtCommandQueue:_n,FtLitElementRedux:Zn,FtReduxStore:ka,clearAllStores:function(){var t;for(let e of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))Kn(e)&&e.clear()},isFtReduxStore:Kn,redux:t=>{const e=null!=t?t:{};return(t,o)=>{var r;const n={hasChanged:(t,e)=>!ao(t,e),attribute:!1,...e};we(n)(t,o);const i=t.constructor;i.reduxProperties=new Map(i.reduxProperties),i.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 Fa=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 Aa=Symbol("elementInternals");var _a,Ka,ja,za,Pa=Object.freeze({__proto__:null,toFtFormComponent:function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Aa].form}constructor(...t){super(t),this[Aa]=this.attachInternals(),this[Aa].role=e}setFormValue(t){this[Aa].setFormValue(t)}}}});const Ba=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(ja=null===(Ka=null===(_a=window.safari)||void 0===_a?void 0:_a.pushNotification)||void 0===Ka?void 0:Ka.toString())&&void 0!==ja?ja:""),Ma="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(za=window.ftGlobals)&&void 0!==za?za:{lit:Oe,litDecorators:Ce,litRepeat:je,litClassMap:Pe,litStyleMap:Ze,litUnsafeHTML:Ge,wcUtils:{...Xe,...Je,...to,...oo,...po,...nr,...cr,...pn,...or,...wn,...xn,...so,...In,...$n,...Fn,...An,...$a,...gn,...Fa,...Pa,isSafari:Ba,isTouchScreen:Ma}};
178
+ `;var Mn=Object.freeze({__proto__:null,noTextSelect:Zn,safariEllipsisFix:Hn,wordWrap:jn}),Dn=Object.freeze({__proto__:null});var Tn=Object.freeze({__proto__:null,ParametrizedLabelResolver:class{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,r;t=this.resolvePluralKey(t,o);let n=null!==(r=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==r?r:"";return o.forEach(((t,o)=>n=n.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),n}resolvePluralKey(t,o){for(let e of o)if("number"==typeof e){const o=`${String(t)}[\\=${e}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const e=e=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(e):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(e):t.toLocaleString(e);try{return e(document.documentElement.lang)}catch(t){return e()}}}});class Gn{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter((o=>o.type!==t.type))),this.queue.push(t)}consume(t){const o=this.queue.find((o=>o.type===t));return o&&(this.queue=this.queue.filter((t=>t!==o))),o}}function Vn(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var qn,Yn,Jn;const Xn=Symbol("internalReduxEventsUnsubscribers"),Qn=Symbol("internalStoresUnsubscribers"),ti=Symbol("internalStores");class oi extends kn{constructor(){super(...arguments),this[qn]=new Map,this[Yn]=new Map,this[Jn]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[ti].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ti].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[ti].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Vn(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[ti].delete(o)}setupStore(t,o){this[ti].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[ti].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[Qn].has(t.store):this[Qn].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Qn].set(t,o.subscribe((()=>this.updateFromStores()))),Vn(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 r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[Xn].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Qn].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Xn].forEach((t=>t())),this[Xn]=[]}unsubscribeFromStore(t){this[Qn].has(t)&&this[Qn].get(t)(),this[Qn].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function ei(t){for(var o=arguments.length,e=Array(o>1?o-1:0),r=1;r<o;r++)e[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(e.length?" "+e.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function ri(t){return!!t&&!!t[Hi]}function ni(t){var o;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;var e=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return e===Object||"function"==typeof e&&Function.toString.call(e)===Mi}(t)||Array.isArray(t)||!!t[ji]||!!(null===(o=t.constructor)||void 0===o?void 0:o[ji])||fi(t)||pi(t))}function ii(t,o,e){void 0===e&&(e=!1),0===ai(t)?(e?Object.keys:Di)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function ai(t){var o=t[Hi];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:fi(t)?2:pi(t)?3:0}function li(t,o){return 2===ai(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function ci(t,o,e){var r=ai(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function si(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function fi(t){return _i&&t instanceof Map}function pi(t){return Ki&&t instanceof Set}function ui(t){return t.o||t.t}function hi(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Ti(t);delete o[Hi];for(var e=Di(o),r=0;r<e.length;r++){var n=e[r],i=o[n];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(o[n]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),o)}function di(t,o){return void 0===o&&(o=!1),gi(t)||ri(t)||!ni(t)||(ai(t)>1&&(t.set=t.add=t.clear=t.delete=yi),Object.freeze(t),o&&ii(t,(function(t,o){return di(o,!0)}),!0)),t}function yi(){ei(2)}function gi(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function bi(t){var o=Gi[t];return o||ei(18,t),o}function mi(){return Ai}function Oi(t,o){o&&(bi("Patches"),t.u=[],t.s=[],t.v=o)}function vi(t){xi(t),t.p.forEach(wi),t.p=null}function xi(t){t===Ai&&(Ai=t.l)}function Si(t){return Ai={p:[],l:Ai,h:t,m:!0,_:0}}function wi(t){var o=t[Hi];0===o.i||1===o.i?o.j():o.g=!0}function Ni(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||bi("ES5").S(o,t,r),r?(e[Hi].P&&(vi(o),ei(4)),ni(t)&&(t=Ci(o,t),o.l||Ri(o,t)),o.u&&bi("Patches").M(e[Hi].t,t,o.u,o.s)):t=Ci(o,e,[]),vi(o),o.u&&o.v(o.u,o.s),t!==Zi?t:void 0}function Ci(t,o,e){if(gi(o))return o;var r=o[Hi];if(!r)return ii(o,(function(n,i){return Ei(t,r,o,n,i,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return Ri(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var n=4===r.i||5===r.i?r.o=hi(r.k):r.o,i=n,a=!1;3===r.i&&(i=new Set(n),n.clear(),a=!0),ii(i,(function(o,i){return Ei(t,r,n,o,i,e,a)})),Ri(t,n,!1),e&&t.u&&bi("Patches").N(r,e,t.u,t.s)}return r.o}function Ei(t,o,e,r,n,i,a){if(ri(n)){var l=Ci(t,n,i&&o&&3!==o.i&&!li(o.R,r)?i.concat(r):void 0);if(ci(e,r,l),!ri(l))return;t.m=!1}else a&&e.add(n);if(ni(n)&&!gi(n)){if(!t.h.D&&t._<1)return;Ci(t,n),o&&o.A.l||Ri(t,n)}}function Ri(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&di(o,e)}function Ii(t,o){var e=t[Hi];return(e?ui(e):t)[o]}function Li(t,o){if(o in t)for(var e=Object.getPrototypeOf(t);e;){var r=Object.getOwnPropertyDescriptor(e,o);if(r)return r;e=Object.getPrototypeOf(e)}}function Wi(t){t.P||(t.P=!0,t.l&&Wi(t.l))}function Ui(t){t.o||(t.o=hi(t.t))}function ki(t,o,e){var r=fi(o)?bi("MapSet").F(o,e):pi(o)?bi("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:mi(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},n=r,i=Vi;e&&(n=[r],i=qi);var a=Proxy.revocable(n,i),l=a.revoke,c=a.proxy;return r.k=c,r.j=l,c}(o,e):bi("ES5").J(o,e);return(e?e.A:mi()).p.push(r),r}function zi(t){return ri(t)||ei(22,t),function t(o){if(!ni(o))return o;var e,r=o[Hi],n=ai(o);if(r){if(!r.P&&(r.i<4||!bi("ES5").K(r)))return r.t;r.I=!0,e=$i(o,n),r.I=!1}else e=$i(o,n);return ii(e,(function(o,n){r&&function(t,o){return 2===ai(t)?t.get(o):t[o]}(r.t,o)===n||ci(e,o,t(n))})),3===n?new Set(e):e}(t)}function $i(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return hi(t)}qn=Qn,Yn=ti,Jn=Xn,oi.reduxProperties=new Map,oi.reduxReactiveProperties=new Set,oi.reduxEventListeners=new Map;var Fi,Ai,Bi="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),_i="undefined"!=typeof Map,Ki="undefined"!=typeof Set,Pi="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Zi=Bi?Symbol.for("immer-nothing"):((Fi={})["immer-nothing"]=!0,Fi),ji=Bi?Symbol.for("immer-draftable"):"__$immer_draftable",Hi=Bi?Symbol.for("immer-state"):"__$immer_state",Mi=""+Object.prototype.constructor,Di="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Ti=Object.getOwnPropertyDescriptors||function(t){var o={};return Di(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},Gi={},Vi={get:function(t,o){if(o===Hi)return t;var e=ui(t);if(!li(e,o))return function(t,o,e){var r,n=Li(o,e);return n?"value"in n?n.value:null===(r=n.get)||void 0===r?void 0:r.call(t.k):void 0}(t,e,o);var r=e[o];return t.I||!ni(r)?r:r===Ii(t.t,o)?(Ui(t),t.o[o]=ki(t.A.h,r,t)):r},has:function(t,o){return o in ui(t)},ownKeys:function(t){return Reflect.ownKeys(ui(t))},set:function(t,o,e){var r=Li(ui(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var n=Ii(ui(t),o),i=null==n?void 0:n[Hi];if(i&&i.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(si(e,n)&&(void 0!==e||li(t.t,o)))return!0;Ui(t),Wi(t)}return t.o[o]===e&&(void 0!==e||o in t.o)||Number.isNaN(e)&&Number.isNaN(t.o[o])||(t.o[o]=e,t.R[o]=!0),!0},deleteProperty:function(t,o){return void 0!==Ii(t.t,o)||o in t.t?(t.R[o]=!1,Ui(t),Wi(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=ui(t),r=Reflect.getOwnPropertyDescriptor(e,o);return r?{writable:!0,configurable:1!==t.i||"length"!==o,enumerable:r.enumerable,value:e[o]}:r},defineProperty:function(){ei(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){ei(12)}},qi={};ii(Vi,(function(t,o){qi[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),qi.deleteProperty=function(t,o){return qi.set.call(this,t,o,void 0)},qi.set=function(t,o,e){return Vi.set.call(this,t[0],o,e,t[0])};var Yi=function(){function t(t){var o=this;this.O=Pi,this.D=!0,this.produce=function(t,e,r){if("function"==typeof t&&"function"!=typeof e){var n=e;e=t;var i=o;return function(t){var o=this;void 0===t&&(t=n);for(var r=arguments.length,a=Array(r>1?r-1:0),l=1;l<r;l++)a[l-1]=arguments[l];return i.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&ei(6),void 0!==r&&"function"!=typeof r&&ei(7),ni(t)){var l=Si(o),c=ki(o,t,void 0),s=!0;try{a=e(c),s=!1}finally{s?vi(l):xi(l)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return Oi(l,r),Ni(t,l)}),(function(t){throw vi(l),t})):(Oi(l,r),Ni(a,l))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===Zi&&(a=void 0),o.D&&di(a,!0),r){var f=[],p=[];bi("Patches").M(t,a,f,p),r(f,p)}return a}ei(21,t)},this.produceWithPatches=function(t,e){if("function"==typeof t)return function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return o.produceWithPatches(e,(function(o){return t.apply(void 0,[o].concat(n))}))};var r,n,i=o.produce(t,e,(function(t,o){r=t,n=o}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(t){return[t,r,n]})):[i,r,n]},"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 o=t.prototype;return o.createDraft=function(t){ni(t)||ei(8),ri(t)&&(t=zi(t));var o=Si(this),e=ki(this,t,void 0);return e[Hi].C=!0,xi(o),e},o.finishDraft=function(t,o){var e=(t&&t[Hi]).A;return Oi(e,o),Ni(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Pi&&ei(20),this.O=t},o.applyPatches=function(t,o){var e;for(e=o.length-1;e>=0;e--){var r=o[e];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}e>-1&&(o=o.slice(e+1));var n=bi("Patches").$;return ri(t)?n(t,o):this.produce(t,(function(t){return n(t,o)}))},t}(),Ji=new Yi,Xi=Ji.produce;function Qi(t){return Qi="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},Qi(t)}function ta(t){var o=function(t,o){if("object"!==Qi(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==Qi(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===Qi(o)?o:String(o)}function oa(t,o,e){return(o=ta(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function ea(t,o){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),e.push.apply(e,r)}return e}function ra(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?ea(Object(e),!0).forEach((function(o){oa(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):ea(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function na(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. "}Ji.produceWithPatches.bind(Ji),Ji.setAutoFreeze.bind(Ji),Ji.setUseProxies.bind(Ji),Ji.applyPatches.bind(Ji),Ji.createDraft.bind(Ji),Ji.finishDraft.bind(Ji);var ia="function"==typeof Symbol&&Symbol.observable||"@@observable",aa=function(){return Math.random().toString(36).substring(7).split("").join(".")},la={INIT:"@@redux/INIT"+aa(),REPLACE:"@@redux/REPLACE"+aa(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+aa()}};function ca(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(na(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(na(1));return e(ca)(t,o)}if("function"!=typeof t)throw new Error(na(2));var n=t,i=o,a=[],l=a,c=!1;function s(){l===a&&(l=a.slice())}function f(){if(c)throw new Error(na(3));return i}function p(t){if("function"!=typeof t)throw new Error(na(4));if(c)throw new Error(na(5));var o=!0;return s(),l.push(t),function(){if(o){if(c)throw new Error(na(6));o=!1,s();var e=l.indexOf(t);l.splice(e,1),a=null}}}function u(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(na(7));if(void 0===t.type)throw new Error(na(8));if(c)throw new Error(na(9));try{c=!0,i=n(i,t)}finally{c=!1}for(var o=a=l,e=0;e<o.length;e++){(0,o[e])()}return t}return u({type:la.INIT}),(r={dispatch:u,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(na(10));n=t,u({type:la.REPLACE})}})[ia]=function(){var t,o=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(na(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[ia]=function(){return this},t},r}function sa(t){for(var o=Object.keys(t),e={},r=0;r<o.length;r++){var n=o[r];"function"==typeof t[n]&&(e[n]=t[n])}var i,a=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(o){var e=t[o];if(void 0===e(void 0,{type:la.INIT}))throw new Error(na(12));if(void 0===e(void 0,{type:la.PROBE_UNKNOWN_ACTION()}))throw new Error(na(13))}))}(e)}catch(t){i=t}return function(t,o){if(void 0===t&&(t={}),i)throw i;for(var r=!1,n={},l=0;l<a.length;l++){var c=a[l],s=e[c],f=t[c],p=s(f,o);if(void 0===p)throw o&&o.type,new Error(na(14));n[c]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?n:t}}function fa(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return 0===o.length?function(t){return t}:1===o.length?o[0]:o.reduce((function(t,o){return function(){return t(o.apply(void 0,arguments))}}))}function pa(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return function(t){return function(){var e=t.apply(void 0,arguments),r=function(){throw new Error(na(15))},n={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=o.map((function(t){return t(n)}));return r=fa.apply(void 0,i)(e.dispatch),ra(ra({},e),{},{dispatch:r})}}}function ua(t){return function(o){var e=o.dispatch,r=o.getState;return function(o){return function(n){return"function"==typeof n?n(e,r,t):o(n)}}}}var ha=ua();ha.withExtraArgument=ua;var da,ya=ha,ga=(da=function(t,o){return da=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])},da(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function e(){this.constructor=t}da(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),ba=function(t,o){var e,r,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=1,r&&(n=2&i[0]?r.return:i[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,i[1])).done)return n;switch(r=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=o.call(t,a)}catch(t){i=[6,t],r=0}finally{e=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}},ma=function(t,o){for(var e=0,r=o.length,n=t.length;e<r;e++,n++)t[n]=o[e];return t},Oa=Object.defineProperty,va=Object.defineProperties,xa=Object.getOwnPropertyDescriptors,Sa=Object.getOwnPropertySymbols,wa=Object.prototype.hasOwnProperty,Na=Object.prototype.propertyIsEnumerable,Ca=function(t,o,e){return o in t?Oa(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},Ea=function(t,o){for(var e in o||(o={}))wa.call(o,e)&&Ca(t,e,o[e]);if(Sa)for(var r=0,n=Sa(o);r<n.length;r++){e=n[r];Na.call(o,e)&&Ca(t,e,o[e])}return t},Ra=function(t,o){return va(t,xa(o))},Ia="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?fa:fa.apply(null,arguments)};var La=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=t.apply(this,e)||this;return Object.setPrototypeOf(n,o.prototype),n}return ga(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,ma([void 0],t[0].concat(this)))):new(o.bind.apply(o,ma([void 0],t.concat(this))))},o}(Array),Wa=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=t.apply(this,e)||this;return Object.setPrototypeOf(n,o.prototype),n}return ga(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,ma([void 0],t[0].concat(this)))):new(o.bind.apply(o,ma([void 0],t.concat(this))))},o}(Array);function Ua(t){return ni(t)?Xi(t,(function(){})):t}function ka(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,e=void 0===o||o;t.immutableCheck,t.serializableCheck;var r=new La;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(ya.withExtraArgument(e.extraArgument)):r.push(ya));return r}(t)}}function za(t){var o,e=ka(),r=t||{},n=r.reducer,i=void 0===n?void 0:n,a=r.middleware,l=void 0===a?e():a,c=r.devTools,s=void 0===c||c,f=r.preloadedState,p=void 0===f?void 0:f,u=r.enhancers,h=void 0===u?void 0:u;if("function"==typeof i)o=i;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;for(var e=o;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return o===e}(i))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');o=sa(i)}var d=l;"function"==typeof d&&(d=d(e));var y=pa.apply(void 0,d),g=fa;s&&(g=Ia(Ea({trace:!1},"object"==typeof s&&s)));var b=new Wa(y),m=b;return Array.isArray(h)?m=ma([y],h):"function"==typeof h&&(m=h(b)),ca(o,p,g.apply(void 0,m))}function $a(t,o){function e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(o){var n=o.apply(void 0,e);if(!n)throw new Error("prepareAction did not return an object");return Ea(Ea({type:t,payload:n.payload},"meta"in n&&{meta:n.meta}),"error"in n&&{error:n.error})}return{type:t,payload:e[0]}}return e.toString=function(){return""+t},e.type=t,e.match=function(o){return o.type===t},e}function Fa(t){var o,e={},r=[],n={addCase:function(t,o){var r="string"==typeof t?t:t.type;if(r in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[r]=o,n},addMatcher:function(t,o){return r.push({matcher:t,reducer:o}),n},addDefaultCase:function(t){return o=t,n}};return t(n),[e,r,o]}function Aa(t){var o=t.name;if(!o)throw new Error("`name` is a required option for createSlice");var e,r="function"==typeof t.initialState?t.initialState:Ua(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},l={},c={};function s(){var o="function"==typeof t.extraReducers?Fa(t.extraReducers):[t.extraReducers],e=o[0],n=void 0===e?{}:e,i=o[1],a=void 0===i?[]:i,c=o[2],s=void 0===c?void 0:c,f=Ea(Ea({},n),l);return function(t,o,e,r){void 0===e&&(e=[]);var n,i="function"==typeof o?Fa(o):[o,e,r],a=i[0],l=i[1],c=i[2];if(function(t){return"function"==typeof t}(t))n=function(){return Ua(t())};else{var s=Ua(t);n=function(){return s}}function f(t,o){void 0===t&&(t=n());var e=ma([a[o.type]],l.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[c]),e.reduce((function(t,e){if(e){var r;if(ri(t))return void 0===(r=e(t,o))?t:r;if(ni(t))return Xi(t,(function(t){return e(t,o)}));if(void 0===(r=e(t,o))){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=n,f}(r,(function(t){for(var o in f)t.addCase(o,f[o]);for(var e=0,r=a;e<r.length;e++){var n=r[e];t.addMatcher(n.matcher,n.reducer)}s&&t.addDefaultCase(s)}))}return i.forEach((function(t){var e,r,i=n[t],s=o+"/"+t;"reducer"in i?(e=i.reducer,r=i.prepare):e=i,a[t]=e,l[s]=e,c[t]=r?$a(s,r):$a(s)})),{name:o,reducer:function(t,o){return e||(e=s()),e(t,o)},actions:c,caseReducers:a,getInitialState:function(){return e||(e=s()),e.getInitialState()}}}var Ba=["name","message","stack","code"],_a=function(t,o){this.payload=t,this.meta=o},Ka=function(t,o){this.payload=t,this.meta=o},Pa=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=Ba;e<r.length;e++){var n=r[e];"string"==typeof t[n]&&(o[n]=t[n])}return o}return{message:String(t)}};function Za(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,e){var r=$a(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:Ra(Ea({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),n=$a(t+"/pending",(function(t,o,e){return{payload:void 0,meta:Ra(Ea({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),i=$a(t+"/rejected",(function(t,o,r,n,i){return{payload:n,error:(e&&e.serializeError||Pa)(t||"Rejected"),meta:Ra(Ea({},i||{}),{arg:r,requestId:o,rejectedWithValue:!!n,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(l,c,s){var f,p=(null==e?void 0:e.idGenerator)?e.idGenerator(t):function(t){void 0===t&&(t=21);for(var o="",e=t;e--;)o+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return o}(),u=new a;function h(t){f=t,u.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,g,b,m;return ba(this,(function(O){switch(O.label){case 0:return O.trys.push([0,4,,5]),g=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:c,extra:s}),null===(v=g)||"object"!=typeof v||"function"!=typeof v.then?[3,2]:[4,g];case 1:g=O.sent(),O.label=2;case 2:if(!1===g||u.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,o){return u.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),l(n(p,t,null==(d=null==e?void 0:e.getPendingMeta)?void 0:d.call(e,{requestId:p,arg:t},{getState:c,extra:s}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:l,getState:c,extra:s,requestId:p,signal:u.signal,abort:h,rejectWithValue:function(t,o){return new _a(t,o)},fulfillWithValue:function(t,o){return new Ka(t,o)}})).then((function(o){if(o instanceof _a)throw o;return o instanceof Ka?r(o.payload,p,t,o.meta):r(o,p,t)}))])];case 3:return y=O.sent(),[3,5];case 4:return m=O.sent(),y=m instanceof _a?i(null,p,t,m.payload,m.meta):i(m,p,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&i.match(y)&&y.meta.condition||l(y),[2,y]}var v}))},new Promise((function(t,o){var e=function(t){try{n(y.next(t))}catch(t){o(t)}},r=function(t){try{n(y.throw(t))}catch(t){o(t)}},n=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};n((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:h,requestId:p,arg:t,unwrap:function(){return d.then(Za)}})}}),{pending:n,rejected:i,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var ja="listenerMiddleware";$a(ja+"/add"),$a(ja+"/removeAll"),$a(ja+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var e=n[t];return e?e.enumerable=o:n[t]=e={configurable:!0,enumerable:o,get:function(){var o=this[Hi];return Vi.get(o,t)},set:function(o){var e=this[Hi];Vi.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var n=t[o][Hi];if(!n.P)switch(n.i){case 5:r(n)&&Wi(n);break;case 4:e(n)&&Wi(n)}}}function e(t){for(var o=t.t,e=t.k,r=Di(e),n=r.length-1;n>=0;n--){var i=r[n];if(i!==Hi){var a=o[i];if(void 0===a&&!li(o,i))return!0;var l=e[i],c=l&&l[Hi];if(c?c.t!==a:!si(l,a))return!0}}var s=!!o[Hi];return r.length!==Di(o).length+(s?0:1)}function r(t){var o=t.k;if(o.length!==t.t.length)return!0;var e=Object.getOwnPropertyDescriptor(o,o.length-1);if(e&&!e.get)return!0;for(var r=0;r<o.length;r++)if(!o.hasOwnProperty(r))return!0;return!1}var n={};!function(t,o){Gi[t]||(Gi[t]=o)}("ES5",{J:function(o,e){var r=Array.isArray(o),n=function(o,e){if(o){for(var r=Array(e.length),n=0;n<e.length;n++)Object.defineProperty(r,""+n,t(n,!0));return r}var i=Ti(e);delete i[Hi];for(var a=Di(i),l=0;l<a.length;l++){var c=a[l];i[c]=t(c,o||!!i[c].enumerable)}return Object.create(Object.getPrototypeOf(e),i)}(r,o),i={i:r?5:4,A:e?e.A:mi(),P:!1,I:!1,R:{},l:e,t:o,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,Hi,{value:i,writable:!0}),n},S:function(t,e,n){n?ri(e)&&e[Hi].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[Hi];if(e){var n=e.t,i=e.k,a=e.R,l=e.i;if(4===l)ii(i,(function(o){o!==Hi&&(void 0!==n[o]||li(n,o)?a[o]||t(i[o]):(a[o]=!0,Wi(e)))})),ii(n,(function(t){void 0!==i[t]||li(i,t)||(a[t]=!1,Wi(e))}));else if(5===l){if(r(e)&&(Wi(e),a.length=!0),i.length<n.length)for(var c=i.length;c<n.length;c++)a[c]=!1;else for(var s=n.length;s<i.length;s++)a[s]=!0;for(var f=Math.min(i.length,n.length),p=0;p<f;p++)i.hasOwnProperty(p)||(a[p]=!0),void 0===a[p]&&t(i[p])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Ha{static get(t){var o;const e="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,n=window.ftReduxStores[e];if(Vn(n))return n;if(null==r)return;const i=Aa({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=za({reducer:(t,o)=>{var e;switch(o.type){case"CLEAR_FT_REDUX_STORE":return i.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(e=o.overwrites)&&void 0!==e?e:{}};default:return i.reducer(t,o)}}});return window.ftReduxStores[r.name]=new Ha(i,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Gn,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,e)=>{const r=o,n=t[r];return n?(...t)=>{const o=n(...t);return this.reduxStore.dispatch(o),o}: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 Ma=Object.freeze({__proto__:null,FtCommandQueue:Gn,FtLitElementRedux:oi,FtReduxStore:Ha,clearAllStores:function(){var t;for(let o of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))Vn(o)&&o.clear()},isFtReduxStore:Vn,redux:t=>{const o=null!=t?t:{};return(t,e)=>{var r;const n={hasChanged:(t,o)=>!le(t,o),attribute:!1,...o};wo(n)(t,e);const i=t.constructor;i.reduxProperties=new Map(i.reduxProperties),i.reduxProperties.set(e,{selector:null!==(r=o.selector)&&void 0!==r?r:t=>t[e],store:o.store})}},reduxEventListener:t=>(o,e)=>{const r=o.constructor;r.reduxEventListeners=new Map(r.reduxEventListeners),r.reduxEventListeners.set(e,t)},reduxReactive:()=>(t,o)=>{var e;const r=t.constructor;r.reduxReactiveProperties=new Set(r.reduxReactiveProperties),null===(e=r.reduxReactiveProperties)||void 0===e||e.add(o)}});var Da=Object.freeze({__proto__:null,serializeRequest:function(t,o){var e;const r=new URLSearchParams({"content-lang":null!==(e=o.contentLocale)&&void 0!==e?e:"all",query:o.query});if(o.filters.length>0){const t=o.filters.map((t=>{const o=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${o}`})).join("*");r.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${r.toString()}`).href}});const Ta=Symbol("elementInternals");var Ga,Va,qa,Ya,Ja=Object.freeze({__proto__:null,toFtFormComponent:function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Ta].form}constructor(...t){super(t),this[Ta]=this.attachInternals(),this[Ta].role=o}setFormValue(t){this[Ta].setFormValue(t)}}}});const Xa=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(qa=null===(Va=null===(Ga=window.safari)||void 0===Ga?void 0:Ga.pushNotification)||void 0===Va?void 0:Va.toString())&&void 0!==qa?qa:""),Qa="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(Ya=window.ftGlobals)&&void 0!==Ya?Ya:{lit:vo,litDecorators:Eo,litRepeat:Ko,litClassMap:Zo,litStyleMap:Do,litUnsafeHTML:Vo,wcUtils:{...Qo,...Xo,...oe,...re,...ue,...yr,...Or,...Sn,...hr,...zn,...$n,...ce,...Pn,...Mn,...Dn,...Tn,...Ma,...Rn,...Da,...Ja,isSafari:Xa,isTouchScreen:Qa}};
179
179
  /**
180
180
  * @license
181
181
  * Copyright 2020 Google LLC
182
182
  * SPDX-License-Identifier: BSD-3-Clause
183
183
  */
184
- const Da=Symbol.for(""),Za=t=>{if(t?.r===Da)return t?._$litStatic$},Ha=t=>({_$litStatic$:t,r:Da}),Ta=new Map,Ga=(t=>(e,...o)=>{const r=o.length;let n,i;const a=[],s=[];let c,l=0,f=!1;for(;l<r;){for(c=e[l];l<r&&void 0!==(i=o[l],n=Za(i));)c+=n+e[++l],f=!0;l!==r&&s.push(i),a.push(c),l++}if(l===r&&a.push(e[r]),f){const t=a.join("$$lit$$");void 0===(e=Ta.get(t))&&(a.raw=a,Ta.set(t,e=a)),o=s}return t(e,...o)})(M);var Va;t.FtTypographyVariants=void 0,(Va=t.FtTypographyVariants||(t.FtTypographyVariants={})).title="title",Va.title_dense="title-dense",Va.subtitle1="subtitle1",Va.subtitle2="subtitle2",Va.body1="body1",Va.body2="body2",Va.caption="caption",Va.breadcrumb="breadcrumb",Va.overline="overline",Va.button="button",Va.display="display",Va.title1="title-1",Va.title2="title-2",Va.title3="title-3",Va.body1regular="body-1-regular",Va.body1medium="body-1-medium",Va.body1semibold="body-1-semibold",Va.body2regular="body-2-regular",Va.body2medium="body-2-medium",Va.body2semibold="body-2-semibold",Va.label1medium="label-1-medium",Va.label1semibold="label-1-semibold",Va.label1bold="label-1-bold",Va.label2medium="label-2-medium",Va.label2semibold="label-2-semibold",Va.label2bold="label-2-bold",Va.caption1medium="caption-1-medium",Va.caption1semibold="caption-1-semibold",Va.caption1bold="caption-1-bold",Va.caption2medium="caption-2-medium",Va.caption2semibold="caption-2-semibold",Va.caption2bold="caption-2-bold";const qa=ho.extend("--ft-typography-font-family","",rr.titleFont),Ya=ho.extend("--ft-typography-font-family","",rr.contentFont),Ja={fontFamily:Ya,fontSize:ho.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:ho.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:ho.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:ho.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:ho.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Xa={fontFamily:ho.extend("--ft-typography-title-font-family","",qa),fontSize:ho.extend("--ft-typography-title-font-size","",Ja.fontSize,"20px"),fontWeight:ho.extend("--ft-typography-title-font-weight","",Ja.fontWeight,"normal"),letterSpacing:ho.extend("--ft-typography-title-letter-spacing","",Ja.letterSpacing,"0.15px"),lineHeight:ho.extend("--ft-typography-title-line-height","",Ja.lineHeight,"1.2"),textTransform:ho.extend("--ft-typography-title-text-transform","",Ja.textTransform,"inherit")},Qa={fontFamily:ho.extend("--ft-typography-title-dense-font-family","",qa),fontSize:ho.extend("--ft-typography-title-dense-font-size","",Ja.fontSize,"14px"),fontWeight:ho.extend("--ft-typography-title-dense-font-weight","",Ja.fontWeight,"normal"),letterSpacing:ho.extend("--ft-typography-title-dense-letter-spacing","",Ja.letterSpacing,"0.105px"),lineHeight:ho.extend("--ft-typography-title-dense-line-height","",Ja.lineHeight,"1.7"),textTransform:ho.extend("--ft-typography-title-dense-text-transform","",Ja.textTransform,"inherit")},ts={fontFamily:ho.extend("--ft-typography-subtitle1-font-family","",Ya),fontSize:ho.extend("--ft-typography-subtitle1-font-size","",Ja.fontSize,"16px"),fontWeight:ho.extend("--ft-typography-subtitle1-font-weight","",Ja.fontWeight,"600"),letterSpacing:ho.extend("--ft-typography-subtitle1-letter-spacing","",Ja.letterSpacing,"0.144px"),lineHeight:ho.extend("--ft-typography-subtitle1-line-height","",Ja.lineHeight,"1.5"),textTransform:ho.extend("--ft-typography-subtitle1-text-transform","",Ja.textTransform,"inherit")},es={fontFamily:ho.extend("--ft-typography-subtitle2-font-family","",Ya),fontSize:ho.extend("--ft-typography-subtitle2-font-size","",Ja.fontSize,"14px"),fontWeight:ho.extend("--ft-typography-subtitle2-font-weight","",Ja.fontWeight,"normal"),letterSpacing:ho.extend("--ft-typography-subtitle2-letter-spacing","",Ja.letterSpacing,"0.098px"),lineHeight:ho.extend("--ft-typography-subtitle2-line-height","",Ja.lineHeight,"1.7"),textTransform:ho.extend("--ft-typography-subtitle2-text-transform","",Ja.textTransform,"inherit")},os={fontFamily:ho.extend("--ft-typography-body1-font-family","",Ya),fontSize:ho.extend("--ft-typography-body1-font-size","",Ja.fontSize,"16px"),fontWeight:ho.extend("--ft-typography-body1-font-weight","",Ja.fontWeight,"normal"),letterSpacing:ho.extend("--ft-typography-body1-letter-spacing","",Ja.letterSpacing,"0.496px"),lineHeight:ho.extend("--ft-typography-body1-line-height","",Ja.lineHeight,"1.5"),textTransform:ho.extend("--ft-typography-body1-text-transform","",Ja.textTransform,"inherit")},rs={fontFamily:ho.extend("--ft-typography-body2-font-family","",Ya),fontSize:ho.extend("--ft-typography-body2-font-size","",Ja.fontSize,"14px"),fontWeight:ho.extend("--ft-typography-body2-font-weight","",Ja.fontWeight,"normal"),letterSpacing:ho.extend("--ft-typography-body2-letter-spacing","",Ja.letterSpacing,"0.252px"),lineHeight:ho.extend("--ft-typography-body2-line-height","",Ja.lineHeight,"1.4"),textTransform:ho.extend("--ft-typography-body2-text-transform","",Ja.textTransform,"inherit")},ns={fontFamily:ho.extend("--ft-typography-caption-font-family","",Ya),fontSize:ho.extend("--ft-typography-caption-font-size","",Ja.fontSize,"12px"),fontWeight:ho.extend("--ft-typography-caption-font-weight","",Ja.fontWeight,"normal"),letterSpacing:ho.extend("--ft-typography-caption-letter-spacing","",Ja.letterSpacing,"0.396px"),lineHeight:ho.extend("--ft-typography-caption-line-height","",Ja.lineHeight,"1.33"),textTransform:ho.extend("--ft-typography-caption-text-transform","",Ja.textTransform,"inherit")},is={fontFamily:ho.extend("--ft-typography-breadcrumb-font-family","",Ya),fontSize:ho.extend("--ft-typography-breadcrumb-font-size","",Ja.fontSize,"10px"),fontWeight:ho.extend("--ft-typography-breadcrumb-font-weight","",Ja.fontWeight,"normal"),letterSpacing:ho.extend("--ft-typography-breadcrumb-letter-spacing","",Ja.letterSpacing,"0.33px"),lineHeight:ho.extend("--ft-typography-breadcrumb-line-height","",Ja.lineHeight,"1.6"),textTransform:ho.extend("--ft-typography-breadcrumb-text-transform","",Ja.textTransform,"inherit")},as={fontFamily:ho.extend("--ft-typography-overline-font-family","",Ya),fontSize:ho.extend("--ft-typography-overline-font-size","",Ja.fontSize,"10px"),fontWeight:ho.extend("--ft-typography-overline-font-weight","",Ja.fontWeight,"normal"),letterSpacing:ho.extend("--ft-typography-overline-letter-spacing","",Ja.letterSpacing,"1.5px"),lineHeight:ho.extend("--ft-typography-overline-line-height","",Ja.lineHeight,"1.6"),textTransform:ho.extend("--ft-typography-overline-text-transform","",Ja.textTransform,"uppercase")},ss={fontFamily:ho.extend("--ft-typography-button-font-family","",Ya),fontSize:ho.extend("--ft-typography-button-font-size","",Ja.fontSize,"14px"),fontWeight:ho.extend("--ft-typography-button-font-weight","",Ja.fontWeight,"600"),letterSpacing:ho.extend("--ft-typography-button-letter-spacing","",Ja.letterSpacing,"1.246px"),lineHeight:ho.extend("--ft-typography-button-line-height","",Ja.lineHeight,"1.15"),textTransform:ho.extend("--ft-typography-button-text-transform","",Ja.textTransform,"uppercase")},cs=ut`
184
+ const tl=Symbol.for(""),ol=t=>{if(t?.r===tl)return t?._$litStatic$},el=t=>({_$litStatic$:t,r:tl}),rl=new Map,nl=(t=>(o,...e)=>{const r=e.length;let n,i;const a=[],l=[];let c,s=0,f=!1;for(;s<r;){for(c=o[s];s<r&&void 0!==(i=e[s],n=ol(i));)c+=n+o[++s],f=!0;s!==r&&l.push(i),a.push(c),s++}if(s===r&&a.push(o[r]),f){const t=a.join("$$lit$$");void 0===(o=rl.get(t))&&(a.raw=a,rl.set(t,o=a)),e=l}return t(o,...e)})(j);var il;t.FtTypographyVariants=void 0,(il=t.FtTypographyVariants||(t.FtTypographyVariants={})).title="title",il.title_dense="title-dense",il.subtitle1="subtitle1",il.subtitle2="subtitle2",il.body1="body1",il.body2="body2",il.caption="caption",il.breadcrumb="breadcrumb",il.overline="overline",il.button="button",il.display="display",il.title1="title-1",il.title2="title-2",il.title3="title-3",il.body1regular="body-1-regular",il.body1medium="body-1-medium",il.body1semibold="body-1-semibold",il.body2regular="body-2-regular",il.body2medium="body-2-medium",il.body2semibold="body-2-semibold",il.label1medium="label-1-medium",il.label1semibold="label-1-semibold",il.label1bold="label-1-bold",il.label2medium="label-2-medium",il.label2semibold="label-2-semibold",il.label2bold="label-2-bold",il.caption1medium="caption-1-medium",il.caption1semibold="caption-1-semibold",il.caption1bold="caption-1-bold",il.caption2medium="caption-2-medium",il.caption2semibold="caption-2-semibold",il.caption2bold="caption-2-bold";const al=de.extend("--ft-typography-font-family","",dr.titleFont),ll=de.extend("--ft-typography-font-family","",dr.contentFont),cl={fontFamily:ll,fontSize:de.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:de.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:de.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:de.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:de.create("--ft-typography-text-transform","","UNKNOWN","inherit")},sl={fontFamily:de.extend("--ft-typography-title-font-family","",al),fontSize:de.extend("--ft-typography-title-font-size","",cl.fontSize,"20px"),fontWeight:de.extend("--ft-typography-title-font-weight","",cl.fontWeight,"normal"),letterSpacing:de.extend("--ft-typography-title-letter-spacing","",cl.letterSpacing,"0.15px"),lineHeight:de.extend("--ft-typography-title-line-height","",cl.lineHeight,"1.2"),textTransform:de.extend("--ft-typography-title-text-transform","",cl.textTransform,"inherit")},fl={fontFamily:de.extend("--ft-typography-title-dense-font-family","",al),fontSize:de.extend("--ft-typography-title-dense-font-size","",cl.fontSize,"14px"),fontWeight:de.extend("--ft-typography-title-dense-font-weight","",cl.fontWeight,"normal"),letterSpacing:de.extend("--ft-typography-title-dense-letter-spacing","",cl.letterSpacing,"0.105px"),lineHeight:de.extend("--ft-typography-title-dense-line-height","",cl.lineHeight,"1.7"),textTransform:de.extend("--ft-typography-title-dense-text-transform","",cl.textTransform,"inherit")},pl={fontFamily:de.extend("--ft-typography-subtitle1-font-family","",ll),fontSize:de.extend("--ft-typography-subtitle1-font-size","",cl.fontSize,"16px"),fontWeight:de.extend("--ft-typography-subtitle1-font-weight","",cl.fontWeight,"600"),letterSpacing:de.extend("--ft-typography-subtitle1-letter-spacing","",cl.letterSpacing,"0.144px"),lineHeight:de.extend("--ft-typography-subtitle1-line-height","",cl.lineHeight,"1.5"),textTransform:de.extend("--ft-typography-subtitle1-text-transform","",cl.textTransform,"inherit")},ul={fontFamily:de.extend("--ft-typography-subtitle2-font-family","",ll),fontSize:de.extend("--ft-typography-subtitle2-font-size","",cl.fontSize,"14px"),fontWeight:de.extend("--ft-typography-subtitle2-font-weight","",cl.fontWeight,"normal"),letterSpacing:de.extend("--ft-typography-subtitle2-letter-spacing","",cl.letterSpacing,"0.098px"),lineHeight:de.extend("--ft-typography-subtitle2-line-height","",cl.lineHeight,"1.7"),textTransform:de.extend("--ft-typography-subtitle2-text-transform","",cl.textTransform,"inherit")},hl={fontFamily:de.extend("--ft-typography-body1-font-family","",ll),fontSize:de.extend("--ft-typography-body1-font-size","",cl.fontSize,"16px"),fontWeight:de.extend("--ft-typography-body1-font-weight","",cl.fontWeight,"normal"),letterSpacing:de.extend("--ft-typography-body1-letter-spacing","",cl.letterSpacing,"0.496px"),lineHeight:de.extend("--ft-typography-body1-line-height","",cl.lineHeight,"1.5"),textTransform:de.extend("--ft-typography-body1-text-transform","",cl.textTransform,"inherit")},dl={fontFamily:de.extend("--ft-typography-body2-font-family","",ll),fontSize:de.extend("--ft-typography-body2-font-size","",cl.fontSize,"14px"),fontWeight:de.extend("--ft-typography-body2-font-weight","",cl.fontWeight,"normal"),letterSpacing:de.extend("--ft-typography-body2-letter-spacing","",cl.letterSpacing,"0.252px"),lineHeight:de.extend("--ft-typography-body2-line-height","",cl.lineHeight,"1.4"),textTransform:de.extend("--ft-typography-body2-text-transform","",cl.textTransform,"inherit")},yl={fontFamily:de.extend("--ft-typography-caption-font-family","",ll),fontSize:de.extend("--ft-typography-caption-font-size","",cl.fontSize,"12px"),fontWeight:de.extend("--ft-typography-caption-font-weight","",cl.fontWeight,"normal"),letterSpacing:de.extend("--ft-typography-caption-letter-spacing","",cl.letterSpacing,"0.396px"),lineHeight:de.extend("--ft-typography-caption-line-height","",cl.lineHeight,"1.33"),textTransform:de.extend("--ft-typography-caption-text-transform","",cl.textTransform,"inherit")},gl={fontFamily:de.extend("--ft-typography-breadcrumb-font-family","",ll),fontSize:de.extend("--ft-typography-breadcrumb-font-size","",cl.fontSize,"10px"),fontWeight:de.extend("--ft-typography-breadcrumb-font-weight","",cl.fontWeight,"normal"),letterSpacing:de.extend("--ft-typography-breadcrumb-letter-spacing","",cl.letterSpacing,"0.33px"),lineHeight:de.extend("--ft-typography-breadcrumb-line-height","",cl.lineHeight,"1.6"),textTransform:de.extend("--ft-typography-breadcrumb-text-transform","",cl.textTransform,"inherit")},bl={fontFamily:de.extend("--ft-typography-overline-font-family","",ll),fontSize:de.extend("--ft-typography-overline-font-size","",cl.fontSize,"10px"),fontWeight:de.extend("--ft-typography-overline-font-weight","",cl.fontWeight,"normal"),letterSpacing:de.extend("--ft-typography-overline-letter-spacing","",cl.letterSpacing,"1.5px"),lineHeight:de.extend("--ft-typography-overline-line-height","",cl.lineHeight,"1.6"),textTransform:de.extend("--ft-typography-overline-text-transform","",cl.textTransform,"uppercase")},ml={fontFamily:de.extend("--ft-typography-button-font-family","",ll),fontSize:de.extend("--ft-typography-button-font-size","",cl.fontSize,"14px"),fontWeight:de.extend("--ft-typography-button-font-weight","",cl.fontWeight,"600"),letterSpacing:de.extend("--ft-typography-button-letter-spacing","",cl.letterSpacing,"1.246px"),lineHeight:de.extend("--ft-typography-button-line-height","",cl.lineHeight,"1.15"),textTransform:de.extend("--ft-typography-button-text-transform","",cl.textTransform,"uppercase")},Ol=ut`
185
185
  .ft-typography--title {
186
- font-family: ${Xa.fontFamily};
187
- font-size: ${Xa.fontSize};
188
- font-weight: ${Xa.fontWeight};
189
- letter-spacing: ${Xa.letterSpacing};
190
- line-height: ${Xa.lineHeight};
191
- text-transform: ${Xa.textTransform};
186
+ font-family: ${sl.fontFamily};
187
+ font-size: ${sl.fontSize};
188
+ font-weight: ${sl.fontWeight};
189
+ letter-spacing: ${sl.letterSpacing};
190
+ line-height: ${sl.lineHeight};
191
+ text-transform: ${sl.textTransform};
192
192
  }
193
- `,ls=ut`
193
+ `,vl=ut`
194
194
  .ft-typography--title-dense {
195
- font-family: ${Qa.fontFamily};
196
- font-size: ${Qa.fontSize};
197
- font-weight: ${Qa.fontWeight};
198
- letter-spacing: ${Qa.letterSpacing};
199
- line-height: ${Qa.lineHeight};
200
- text-transform: ${Qa.textTransform};
195
+ font-family: ${fl.fontFamily};
196
+ font-size: ${fl.fontSize};
197
+ font-weight: ${fl.fontWeight};
198
+ letter-spacing: ${fl.letterSpacing};
199
+ line-height: ${fl.lineHeight};
200
+ text-transform: ${fl.textTransform};
201
201
  }
202
- `,fs=ut`
202
+ `,xl=ut`
203
203
  .ft-typography--subtitle1 {
204
- font-family: ${ts.fontFamily};
205
- font-size: ${ts.fontSize};
206
- font-weight: ${ts.fontWeight};
207
- letter-spacing: ${ts.letterSpacing};
208
- line-height: ${ts.lineHeight};
209
- text-transform: ${ts.textTransform};
204
+ font-family: ${pl.fontFamily};
205
+ font-size: ${pl.fontSize};
206
+ font-weight: ${pl.fontWeight};
207
+ letter-spacing: ${pl.letterSpacing};
208
+ line-height: ${pl.lineHeight};
209
+ text-transform: ${pl.textTransform};
210
210
  }
211
- `,ps=ut`
211
+ `,Sl=ut`
212
212
  .ft-typography--subtitle2 {
213
- font-family: ${es.fontFamily};
214
- font-size: ${es.fontSize};
215
- font-weight: ${es.fontWeight};
216
- letter-spacing: ${es.letterSpacing};
217
- line-height: ${es.lineHeight};
218
- text-transform: ${es.textTransform};
213
+ font-family: ${ul.fontFamily};
214
+ font-size: ${ul.fontSize};
215
+ font-weight: ${ul.fontWeight};
216
+ letter-spacing: ${ul.letterSpacing};
217
+ line-height: ${ul.lineHeight};
218
+ text-transform: ${ul.textTransform};
219
219
  }
220
220
 
221
- `,us=ut`
221
+ `,wl=ut`
222
222
  .ft-typography--body1 {
223
- font-family: ${os.fontFamily};
224
- font-size: ${os.fontSize};
225
- font-weight: ${os.fontWeight};
226
- letter-spacing: ${os.letterSpacing};
227
- line-height: ${os.lineHeight};
228
- text-transform: ${os.textTransform};
223
+ font-family: ${hl.fontFamily};
224
+ font-size: ${hl.fontSize};
225
+ font-weight: ${hl.fontWeight};
226
+ letter-spacing: ${hl.letterSpacing};
227
+ line-height: ${hl.lineHeight};
228
+ text-transform: ${hl.textTransform};
229
229
  }
230
- `,hs=ut`
230
+ `,Nl=ut`
231
231
  .ft-typography--body2 {
232
- font-family: ${rs.fontFamily};
233
- font-size: ${rs.fontSize};
234
- font-weight: ${rs.fontWeight};
235
- letter-spacing: ${rs.letterSpacing};
236
- line-height: ${rs.lineHeight};
237
- text-transform: ${rs.textTransform};
232
+ font-family: ${dl.fontFamily};
233
+ font-size: ${dl.fontSize};
234
+ font-weight: ${dl.fontWeight};
235
+ letter-spacing: ${dl.letterSpacing};
236
+ line-height: ${dl.lineHeight};
237
+ text-transform: ${dl.textTransform};
238
238
  }
239
- `,ds=ut`
239
+ `,Cl=ut`
240
240
  .ft-typography--caption {
241
- font-family: ${ns.fontFamily};
242
- font-size: ${ns.fontSize};
243
- font-weight: ${ns.fontWeight};
244
- letter-spacing: ${ns.letterSpacing};
245
- line-height: ${ns.lineHeight};
246
- text-transform: ${ns.textTransform};
241
+ font-family: ${yl.fontFamily};
242
+ font-size: ${yl.fontSize};
243
+ font-weight: ${yl.fontWeight};
244
+ letter-spacing: ${yl.letterSpacing};
245
+ line-height: ${yl.lineHeight};
246
+ text-transform: ${yl.textTransform};
247
247
  }
248
- `,ys=ut`
248
+ `,El=ut`
249
249
  .ft-typography--breadcrumb {
250
- font-family: ${is.fontFamily};
251
- font-size: ${is.fontSize};
252
- font-weight: ${is.fontWeight};
253
- letter-spacing: ${is.letterSpacing};
254
- line-height: ${is.lineHeight};
255
- text-transform: ${is.textTransform};
250
+ font-family: ${gl.fontFamily};
251
+ font-size: ${gl.fontSize};
252
+ font-weight: ${gl.fontWeight};
253
+ letter-spacing: ${gl.letterSpacing};
254
+ line-height: ${gl.lineHeight};
255
+ text-transform: ${gl.textTransform};
256
256
  }
257
- `,gs=ut`
257
+ `,Rl=ut`
258
258
  .ft-typography--overline {
259
- font-family: ${as.fontFamily};
260
- font-size: ${as.fontSize};
261
- font-weight: ${as.fontWeight};
262
- letter-spacing: ${as.letterSpacing};
263
- line-height: ${as.lineHeight};
264
- text-transform: ${as.textTransform};
259
+ font-family: ${bl.fontFamily};
260
+ font-size: ${bl.fontSize};
261
+ font-weight: ${bl.fontWeight};
262
+ letter-spacing: ${bl.letterSpacing};
263
+ line-height: ${bl.lineHeight};
264
+ text-transform: ${bl.textTransform};
265
265
  }
266
- `,bs=ut`
266
+ `,Il=ut`
267
267
  .ft-typography--button {
268
- font-family: ${ss.fontFamily};
269
- font-size: ${ss.fontSize};
270
- font-weight: ${ss.fontWeight};
271
- letter-spacing: ${ss.letterSpacing};
272
- line-height: ${ss.lineHeight};
273
- text-transform: ${ss.textTransform};
268
+ font-family: ${ml.fontFamily};
269
+ font-size: ${ml.fontSize};
270
+ font-weight: ${ml.fontWeight};
271
+ letter-spacing: ${ml.letterSpacing};
272
+ line-height: ${ml.lineHeight};
273
+ text-transform: ${ml.textTransform};
274
274
  }
275
- `,ms=ut`
275
+ `,Ll=ut`
276
276
  .ft-typography {
277
277
  vertical-align: inherit;
278
278
  }
279
- `,Os=[Object.keys(Bo).map((t=>function(t){const e=Bo[t];return ut`
279
+ `,Wl=[Object.keys(je).map((t=>function(t){const o=je[t];return ut`
280
280
  .ft-typography--${pt(t)} {
281
- font-family: ${e.fontFamily};
282
- font-size: ${e.fontSize};
283
- font-weight: ${e.fontWeight};
284
- letter-spacing: ${e.letterSpacing};
285
- line-height: ${e.lineHeight};
286
- text-transform: ${e.textCase};
281
+ font-family: ${o.fontFamily};
282
+ font-size: ${o.fontSize};
283
+ font-weight: ${o.fontWeight};
284
+ letter-spacing: ${o.letterSpacing};
285
+ line-height: ${o.lineHeight};
286
+ text-transform: ${o.textCase};
287
287
  }
288
- `}(t)))];var vs=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};class Ss extends Sn{constructor(){super(...arguments),this.variant=t.FtTypographyVariants.body1}render(){return this.element?Ga`
289
- <${Ha(this.element)}
288
+ `}(t)))];var Ul=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};class kl extends kn{constructor(){super(...arguments),this.variant=t.FtTypographyVariants.body1}render(){return this.element?nl`
289
+ <${el(this.element)}
290
290
  class="ft-typography ft-typography--${this.variant}">
291
291
  <slot></slot>
292
- </${Ha(this.element)}>
293
- `:Ga`
292
+ </${el(this.element)}>
293
+ `:nl`
294
294
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
295
- `}}Ss.styles=[cs,ls,fs,ps,us,hs,ds,ys,gs,bs,ms,...Os],vs([we()],Ss.prototype,"element",void 0),vs([we()],Ss.prototype,"variant",void 0),co("ft-typography")(Ss),t.FtTypography=Ss,t.FtTypographyBody1=us,t.FtTypographyBody1CssVariables=os,t.FtTypographyBody1MediumCssVariables=So,t.FtTypographyBody1RegularCssVariables=vo,t.FtTypographyBody1SemiboldCssVariables=wo,t.FtTypographyBody2=hs,t.FtTypographyBody2CssVariables=rs,t.FtTypographyBody2MediumCssVariables=No,t.FtTypographyBody2RegularCssVariables=xo,t.FtTypographyBody2SemiboldCssVariables=Co,t.FtTypographyBreadcrumb=ys,t.FtTypographyBreadcrumbCssVariables=is,t.FtTypographyButton=bs,t.FtTypographyButtonCssVariables=ss,t.FtTypographyCaption=ds,t.FtTypographyCaption1BoldCssVariables=Fo,t.FtTypographyCaption1MediumCssVariables=ko,t.FtTypographyCaption1SemiboldCssVariables=$o,t.FtTypographyCaption2BoldCssVariables=Ko,t.FtTypographyCaption2MediumCssVariables=Ao,t.FtTypographyCaption2SemiboldCssVariables=_o,t.FtTypographyCaption3BoldCssVariables=Po,t.FtTypographyCaption3MediumCssVariables=jo,t.FtTypographyCaption3SemiboldCssVariables=zo,t.FtTypographyCaptionCssVariables=ns,t.FtTypographyCssVariables=Ja,t.FtTypographyDisplayCssVariables=go,t.FtTypographyLabel1BoldCssVariables=Lo,t.FtTypographyLabel1MediumCssVariables=Eo,t.FtTypographyLabel1SemiboldCssVariables=Ro,t.FtTypographyLabel2BoldCssVariables=Wo,t.FtTypographyLabel2MediumCssVariables=Io,t.FtTypographyLabel2SemiboldCssVariables=Uo,t.FtTypographyOverline=gs,t.FtTypographyOverlineCssVariables=as,t.FtTypographyStyles=ms,t.FtTypographySubtitle1=fs,t.FtTypographySubtitle1CssVariables=ts,t.FtTypographySubtitle2=ps,t.FtTypographySubtitle2CssVariables=es,t.FtTypographyTitle=cs,t.FtTypographyTitle1CssVariables=bo,t.FtTypographyTitle2CssVariables=mo,t.FtTypographyTitle3CssVariables=Oo,t.FtTypographyTitleCssVariables=Xa,t.FtTypographyTitleDense=ls,t.FtTypographyTitleDenseCssVariables=Qa,t.FtdsTypographyStyles=Os}({});
295
+ `}}kl.styles=[Ol,vl,xl,Sl,wl,Nl,Cl,El,Rl,Il,Ll,...Wl],Ul([wo()],kl.prototype,"element",void 0),Ul([wo()],kl.prototype,"variant",void 0),se("ft-typography")(kl),t.FtTypography=kl,t.FtTypographyBody1=wl,t.FtTypographyBody1CssVariables=hl,t.FtTypographyBody1MediumCssVariables=xe,t.FtTypographyBody1RegularCssVariables=ve,t.FtTypographyBody1SemiboldCssVariables=Se,t.FtTypographyBody2=Nl,t.FtTypographyBody2CssVariables=dl,t.FtTypographyBody2MediumCssVariables=Ne,t.FtTypographyBody2RegularCssVariables=we,t.FtTypographyBody2SemiboldCssVariables=Ee,t.FtTypographyBreadcrumb=El,t.FtTypographyBreadcrumbCssVariables=gl,t.FtTypographyButton=Il,t.FtTypographyButtonCssVariables=ml,t.FtTypographyCaption=Cl,t.FtTypographyCaption1BoldCssVariables=Fe,t.FtTypographyCaption1MediumCssVariables=ze,t.FtTypographyCaption1SemiboldCssVariables=$e,t.FtTypographyCaption2BoldCssVariables=_e,t.FtTypographyCaption2MediumCssVariables=Ae,t.FtTypographyCaption2SemiboldCssVariables=Be,t.FtTypographyCaption3BoldCssVariables=Ze,t.FtTypographyCaption3MediumCssVariables=Ke,t.FtTypographyCaption3SemiboldCssVariables=Pe,t.FtTypographyCaptionCssVariables=yl,t.FtTypographyCssVariables=cl,t.FtTypographyDisplayCssVariables=ge,t.FtTypographyLabel1BoldCssVariables=Le,t.FtTypographyLabel1MediumCssVariables=Re,t.FtTypographyLabel1SemiboldCssVariables=Ie,t.FtTypographyLabel2BoldCssVariables=ke,t.FtTypographyLabel2MediumCssVariables=We,t.FtTypographyLabel2SemiboldCssVariables=Ue,t.FtTypographyOverline=Rl,t.FtTypographyOverlineCssVariables=bl,t.FtTypographyStyles=Ll,t.FtTypographySubtitle1=xl,t.FtTypographySubtitle1CssVariables=pl,t.FtTypographySubtitle2=Sl,t.FtTypographySubtitle2CssVariables=ul,t.FtTypographyTitle=Ol,t.FtTypographyTitle1CssVariables=be,t.FtTypographyTitle2CssVariables=me,t.FtTypographyTitle3CssVariables=Oe,t.FtTypographyTitleCssVariables=sl,t.FtTypographyTitleDense=vl,t.FtTypographyTitleDenseCssVariables=fl,t.FtdsTypographyStyles=Wl}({});