@fluid-topics/ft-loader 1.1.48 → 1.1.50

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,7 +12,7 @@
12
12
  * subject to an additional IP rights grant found at
13
13
  * http://polymer.github.io/PATENTS.txt
14
14
  */
15
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,n=new WeakMap,i=new WeakMap,a=new WeakMap,c=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,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 c=n.prototype.attributeChangedCallback,l=new Set(n.observedAttributes||[]);d(n,l,c);const s={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:c,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,s),this._definitionsByClass.set(n,s);let f=e.call(r,t);f||(f=u(t),o.call(r,t,f)),this===window.customElements&&(a.set(n,s),s.standInClass=f);const p=this._awaitingUpgrade.get(t);if(p){this._awaitingUpgrade.delete(t);for(const t of p)i.delete(t),h(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=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),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=c.get(o)?.getRootNode()||document)}return o.customElements},u=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?h(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)}},d=(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)})},p=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):p(e)},h=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),n.set(t,o),l=t;try{new o.elementClass}catch(t){p(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&&c.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(wn){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)}}}
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,c=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,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 c=n.prototype.attributeChangedCallback,l=new Set(n.observedAttributes||[]);u(n,l,c);const s={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:c,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,s),this._definitionsByClass.set(n,s);let f=e.call(r,t);f||(f=d(t),o.call(r,t,f)),this===window.customElements&&(a.set(n,s),s.standInClass=f);const p=this._awaitingUpgrade.get(t);if(p){this._awaitingUpgrade.delete(t);for(const t of p)i.delete(t),h(t,s,!0)}const g=this._whenDefinedPromises.get(t);return void 0!==g&&(g.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){y.push(this),r.upgrade.apply(r,arguments),y.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=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),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=y[y.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),s(o)||(o=c.get(o)?.getRootNode()||document)}return o.customElements},d=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?h(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)})},p=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):p(e)},h=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),n.set(t,o),l=t;try{new o.elementClass}catch(t){p(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)},g=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=g.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let y=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){y.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&c.set(t,this),y.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){y.push(this),e.set.call(this,t),y.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(Nn){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
@@ -22,35 +22,35 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.cust
22
22
  * @license
23
23
  * Copyright 2017 Google LLC
24
24
  * SPDX-License-Identifier: BSD-3-Clause
25
- */,{is:c,defineProperty:l,getOwnPropertyDescriptor:s,getOwnPropertyNames:f,getOwnPropertySymbols:u,getPrototypeOf:d}=Object,p=globalThis,h=p.trustedTypes,y=h?h.emptyScript:"",g=p.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)=>!c(t,o),v={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:O};Symbol.metadata??=Symbol("metadata"),p.litPropertyMetadata??=new WeakMap;let S=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=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&&l(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=d(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),...u(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){}};S.elementStyles=[],S.shadowRootOptions={mode:"open"},S[b("elementProperties")]=new Map,S[b("finalized")]=new Map,g?.({ReactiveElement:S}),(p.reactiveElementVersions??=[]).push("2.0.2");
25
+ */,{is:c,defineProperty:l,getOwnPropertyDescriptor:s,getOwnPropertyNames:f,getOwnPropertySymbols:d,getPrototypeOf:u}=Object,p=globalThis,h=p.trustedTypes,g=h?h.emptyScript:"",y=p.reactiveElementPolyfillSupport,b=(t,o)=>t,m={toAttribute(t,o){switch(o){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},O=(t,o)=>!c(t,o),v={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:O};Symbol.metadata??=Symbol("metadata"),p.litPropertyMetadata??=new WeakMap;let S=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=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&&l(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),...d(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){}};S.elementStyles=[],S.shadowRootOptions={mode:"open"},S[b("elementProperties")]=new Map,S[b("finalized")]=new Map,y?.({ReactiveElement:S}),(p.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 x=globalThis,w=x.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,U=()=>L.createComment(""),W=t=>null===t||"object"!=typeof t&&"function"!=typeof t,k=Array.isArray,F=t=>k(t)||"function"==typeof t?.[Symbol.iterator],z="[ \t\n\f\r]",A=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,B=/-->/g,_=/>/g,K=RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),P=/'/g,Z=/"/g,j=/^(?:script|style|textarea|title)$/i,M=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),$=new WeakMap,H=L.createTreeWalker(L,129);function T(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==N?N.createHTML(o):o}const G=(t,o)=>{const e=t.length-1,r=[];let n,i=2===o?"<svg>":"",a=A;for(let o=0;o<e;o++){const e=t[o];let c,l,s=-1,f=0;for(;f<e.length&&(a.lastIndex=f,l=a.exec(e),null!==l);)f=a.lastIndex,a===A?"!--"===l[1]?a=B:void 0!==l[1]?a=_:void 0!==l[2]?(j.test(l[2])&&(n=RegExp("</"+l[2],"g")),a=K):void 0!==l[3]&&(a=K):a===K?">"===l[0]?(a=n??A,s=-1):void 0===l[1]?s=-2:(s=a.lastIndex-l[2].length,c=l[1],a=void 0===l[3]?K:'"'===l[3]?Z:P):a===Z||a===P?a=K:a===B||a===_?a=A:(a=K,n=void 0);const u=a===K&&t[o+1].startsWith("/>")?" ":"";i+=a===A?e+I:s>=0?(r.push(c),e.slice(0,s)+C+e.slice(s)+E+u):e+E+(-2===s?o:u)}return[T(t,i+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};let V=class t{constructor({strings:o,_$litType$:e},r){let n;this.parts=[];let i=0,a=0;const c=o.length-1,l=this.parts,[s,f]=G(o,e);if(this.el=t.createElement(s,r),H.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(n=H.nextNode())&&l.length<c;){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);l.push({type:1,index:i,name:r[2],strings:e,ctor:"."===r[1]?Q:"?"===r[1]?tt:"@"===r[1]?ot:X}),n.removeAttribute(t)}else t.startsWith(E)&&(l.push({type:6,index:i}),n.removeAttribute(t));if(j.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],U()),H.nextNode(),l.push({type:2,index:++i});n.append(t[o],U())}}}else if(8===n.nodeType)if(n.data===R)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=n.data.indexOf(E,t+1));)l.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 q(t,o,e=t,r){if(o===M)return o;let n=void 0!==r?e._$Co?.[r]:e._$Cl;const i=W(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=q(t,n._$AS(t,o.values),n,r)),o}let Y=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);H.currentNode=r;let n=H.nextNode(),i=0,a=0,c=e[0];for(;void 0!==c;){if(i===c.index){let o;2===c.type?o=new J(n,n.nextSibling,this,t):1===c.type?o=new c.ctor(n,c.name,c.strings,this,t):6===c.type&&(o=new et(n,this,t)),this._$AV.push(o),c=e[++a]}i!==c?.index&&(n=H.nextNode(),i++)}return H.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++}},J=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=D,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=q(this,t,o),W(t)?t===D||null==t||""===t?(this._$AH!==D&&this._$AR(),this._$AH=D):t!==this._$AH&&t!==M&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):F(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!==D&&W(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=V.createElement(T(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new Y(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=$.get(t.strings);return void 0===o&&$.set(t.strings,o=new V(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(U()),this.k(U()),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))}},X=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,n){this.type=1,this._$AH=D,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=D}_$AI(t,o=this,e,r){const n=this.strings;let i=!1;if(void 0===n)t=q(this,t,o,0),i=!W(t)||t!==this._$AH&&t!==M,i&&(this._$AH=t);else{const r=t;let a,c;for(t=n[0],a=0;a<n.length-1;a++)c=q(this,r[e+a],o,a),c===M&&(c=this._$AH[a]),i||=!W(c)||c!==this._$AH[a],c===D?t=D:t!==D&&(t+=(c??"")+n[a+1]),this._$AH[a]=c}i&&!r&&this.O(t)}O(t){t===D?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Q=class extends X{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===D?void 0:t}},tt=class extends X{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==D)}},ot=class extends X{constructor(t,o,e,r,n){super(t,o,e,r,n),this.type=5}_$AI(t,o=this){if((t=q(this,t,o,0)??D)===M)return;const e=this._$AH,r=t===D&&e!==D||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==D&&(e===D||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)}},et=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){q(this,t)}};const rt={j:C,P:E,A:R,C:1,M:G,L:Y,R:F,V:q,D:J,I:X,H:tt,N:ot,U:Q,B:et},nt=x.litHtmlPolyfillSupport;nt?.(V,J),(x.litHtmlVersions??=[]).push("3.1.0");
31
+ const x=globalThis,w=x.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],B="[ \t\n\f\r]",F=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,A=/-->/g,_=/>/g,P=RegExp(`>|${B}(?:([^\\s"'>=/]+)(${B}*=${B}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Z=/'/g,K=/"/g,j=/^(?:script|style|textarea|title)$/i,M=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),D=new WeakMap,$=L.createTreeWalker(L,129);function T(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==N?N.createHTML(o):o}const G=(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 c,l,s=-1,f=0;for(;f<e.length&&(a.lastIndex=f,l=a.exec(e),null!==l);)f=a.lastIndex,a===F?"!--"===l[1]?a=A:void 0!==l[1]?a=_:void 0!==l[2]?(j.test(l[2])&&(n=RegExp("</"+l[2],"g")),a=P):void 0!==l[3]&&(a=P):a===P?">"===l[0]?(a=n??F,s=-1):void 0===l[1]?s=-2:(s=a.lastIndex-l[2].length,c=l[1],a=void 0===l[3]?P:'"'===l[3]?K:Z):a===K||a===Z?a=P:a===A||a===_?a=F:(a=P,n=void 0);const d=a===P&&t[o+1].startsWith("/>")?" ":"";i+=a===F?e+I:s>=0?(r.push(c),e.slice(0,s)+C+e.slice(s)+E+d):e+E+(-2===s?o:d)}return[T(t,i+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};let V=class t{constructor({strings:o,_$litType$:e},r){let n;this.parts=[];let i=0,a=0;const c=o.length-1,l=this.parts,[s,f]=G(o,e);if(this.el=t.createElement(s,r),$.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(n=$.nextNode())&&l.length<c;){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);l.push({type:1,index:i,name:r[2],strings:e,ctor:"."===r[1]?Q:"?"===r[1]?tt:"@"===r[1]?ot:X}),n.removeAttribute(t)}else t.startsWith(E)&&(l.push({type:6,index:i}),n.removeAttribute(t));if(j.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()),$.nextNode(),l.push({type:2,index:++i});n.append(t[o],W())}}}else if(8===n.nodeType)if(n.data===R)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=n.data.indexOf(E,t+1));)l.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 q(t,o,e=t,r){if(o===M)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=q(t,n._$AS(t,o.values),n,r)),o}let Y=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);$.currentNode=r;let n=$.nextNode(),i=0,a=0,c=e[0];for(;void 0!==c;){if(i===c.index){let o;2===c.type?o=new J(n,n.nextSibling,this,t):1===c.type?o=new c.ctor(n,c.name,c.strings,this,t):6===c.type&&(o=new et(n,this,t)),this._$AV.push(o),c=e[++a]}i!==c?.index&&(n=$.nextNode(),i++)}return $.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++}},J=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=H,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=q(this,t,o),U(t)?t===H||null==t||""===t?(this._$AH!==H&&this._$AR(),this._$AH=H):t!==this._$AH&&t!==M&&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!==H&&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=V.createElement(T(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new Y(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 V(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))}},X=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,n){this.type=1,this._$AH=H,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=H}_$AI(t,o=this,e,r){const n=this.strings;let i=!1;if(void 0===n)t=q(this,t,o,0),i=!U(t)||t!==this._$AH&&t!==M,i&&(this._$AH=t);else{const r=t;let a,c;for(t=n[0],a=0;a<n.length-1;a++)c=q(this,r[e+a],o,a),c===M&&(c=this._$AH[a]),i||=!U(c)||c!==this._$AH[a],c===H?t=H:t!==H&&(t+=(c??"")+n[a+1]),this._$AH[a]=c}i&&!r&&this.O(t)}O(t){t===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Q=class extends X{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===H?void 0:t}},tt=class extends X{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==H)}},ot=class extends X{constructor(t,o,e,r,n){super(t,o,e,r,n),this.type=5}_$AI(t,o=this){if((t=q(this,t,o,0)??H)===M)return;const e=this._$AH,r=t===H&&e!==H||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==H&&(e===H||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)}},et=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){q(this,t)}};const rt={j:C,P:E,A:R,C:1,M:G,L:Y,R:z,V:q,D:J,I:X,H:tt,N:ot,U:Q,B:et},nt=x.litHtmlPolyfillSupport;nt?.(V,J),(x.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 it=globalThis,at=it.ShadowRoot&&(void 0===it.ShadyCSS||it.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ct=Symbol(),lt=new WeakMap;let st=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(at&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=lt.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&lt.set(o,t))}return t}toString(){return this.cssText}};const ft=t=>new st("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 st(e,t,ct)},dt=(t,o)=>{if(at)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=it.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}},pt=at?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return ft(o)})(t):t
37
+ const it=globalThis,at=it.ShadowRoot&&(void 0===it.ShadyCSS||it.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ct=Symbol(),lt=new WeakMap;let st=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(at&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=lt.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&lt.set(o,t))}return t}toString(){return this.cssText}};const ft=t=>new st("string"==typeof t?t:t+"",void 0,ct),dt=(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 st(e,t,ct)},ut=(t,o)=>{if(at)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=it.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}},pt=at?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return ft(o)})(t):t
38
38
  /**
39
39
  * @license
40
40
  * Copyright 2017 Google LLC
41
41
  * SPDX-License-Identifier: BSD-3-Clause
42
- */,{is:ht,defineProperty:yt,getOwnPropertyDescriptor:gt,getOwnPropertyNames:bt,getOwnPropertySymbols:mt,getPrototypeOf:Ot}=Object,vt=globalThis,St=vt.trustedTypes,xt=St?St.emptyScript:"",wt=vt.reactiveElementPolyfillSupport,Nt=(t,o)=>t,Ct={toAttribute(t,o){switch(o){case Boolean:t=t?xt: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}},Et=(t,o)=>!ht(t,o),Rt={attribute:!0,type:String,converter:Ct,reflect:!1,hasChanged:Et};Symbol.metadata??=Symbol("metadata"),vt.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,o=Rt){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&&yt(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:n}=gt(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)??Rt}static _$Ei(){if(this.hasOwnProperty(Nt("elementProperties")))return;const t=Ot(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Nt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Nt("properties"))){const t=this.properties,o=[...bt(t),...mt(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(pt(t))}else void 0!==t&&o.push(pt(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 dt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,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:Ct).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:Ct;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??Et)(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){}};It.elementStyles=[],It.shadowRootOptions={mode:"open"},It[Nt("elementProperties")]=new Map,It[Nt("finalized")]=new Map,wt?.({ReactiveElement:It}),(vt.reactiveElementVersions??=[]).push("2.0.2");
42
+ */,{is:ht,defineProperty:gt,getOwnPropertyDescriptor:yt,getOwnPropertyNames:bt,getOwnPropertySymbols:mt,getPrototypeOf:Ot}=Object,vt=globalThis,St=vt.trustedTypes,xt=St?St.emptyScript:"",wt=vt.reactiveElementPolyfillSupport,Nt=(t,o)=>t,Ct={toAttribute(t,o){switch(o){case Boolean:t=t?xt: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}},Et=(t,o)=>!ht(t,o),Rt={attribute:!0,type:String,converter:Ct,reflect:!1,hasChanged:Et};Symbol.metadata??=Symbol("metadata"),vt.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,o=Rt){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}=yt(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)??Rt}static _$Ei(){if(this.hasOwnProperty(Nt("elementProperties")))return;const t=Ot(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Nt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Nt("properties"))){const t=this.properties,o=[...bt(t),...mt(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(pt(t))}else void 0!==t&&o.push(pt(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 ut(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:Ct).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:Ct;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??Et)(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){}};It.elementStyles=[],It.shadowRootOptions={mode:"open"},It[Nt("elementProperties")]=new Map,It[Nt("finalized")]=new Map,wt?.({ReactiveElement:It}),(vt.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 Lt=globalThis,Ut=Lt.trustedTypes,Wt=Ut?Ut.createPolicy("lit-html",{createHTML:t=>t}):void 0,kt="$lit$",Ft=`lit$${(Math.random()+"").slice(9)}$`,zt="?"+Ft,At=`<${zt}>`,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]",Mt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Dt=/-->/g,$t=/>/g,Ht=RegExp(`>|${jt}(?:([^\\s"'>=/]+)(${jt}*=${jt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Tt=/'/g,Gt=/"/g,Vt=/^(?:script|style|textarea|title)$/i,qt=t=>(o,...e)=>({_$litType$:t,strings:o,values:e}),Yt=qt(1),Jt=qt(2),Xt=Symbol.for("lit-noChange"),Qt=Symbol.for("lit-nothing"),to=new WeakMap,oo=Bt.createTreeWalker(Bt,129);function eo(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Wt?Wt.createHTML(o):o}const ro=(t,o)=>{const e=t.length-1,r=[];let n,i=2===o?"<svg>":"",a=Mt;for(let o=0;o<e;o++){const e=t[o];let c,l,s=-1,f=0;for(;f<e.length&&(a.lastIndex=f,l=a.exec(e),null!==l);)f=a.lastIndex,a===Mt?"!--"===l[1]?a=Dt:void 0!==l[1]?a=$t:void 0!==l[2]?(Vt.test(l[2])&&(n=RegExp("</"+l[2],"g")),a=Ht):void 0!==l[3]&&(a=Ht):a===Ht?">"===l[0]?(a=n??Mt,s=-1):void 0===l[1]?s=-2:(s=a.lastIndex-l[2].length,c=l[1],a=void 0===l[3]?Ht:'"'===l[3]?Gt:Tt):a===Gt||a===Tt?a=Ht:a===Dt||a===$t?a=Mt:(a=Ht,n=void 0);const u=a===Ht&&t[o+1].startsWith("/>")?" ":"";i+=a===Mt?e+At:s>=0?(r.push(c),e.slice(0,s)+kt+e.slice(s)+Ft+u):e+Ft+(-2===s?o:u)}return[eo(t,i+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class no{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let n=0,i=0;const a=t.length-1,c=this.parts,[l,s]=ro(t,o);if(this.el=no.createElement(l,e),oo.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=oo.nextNode())&&c.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(kt)){const o=s[i++],e=r.getAttribute(t).split(Ft),a=/([.?@])?(.*)/.exec(o);c.push({type:1,index:n,name:a[2],strings:e,ctor:"."===a[1]?so:"?"===a[1]?fo:"@"===a[1]?uo:lo}),r.removeAttribute(t)}else t.startsWith(Ft)&&(c.push({type:6,index:n}),r.removeAttribute(t));if(Vt.test(r.tagName)){const t=r.textContent.split(Ft),o=t.length-1;if(o>0){r.textContent=Ut?Ut.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],_t()),oo.nextNode(),c.push({type:2,index:++n});r.append(t[o],_t())}}}else if(8===r.nodeType)if(r.data===zt)c.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(Ft,t+1));)c.push({type:7,index:n}),t+=Ft.length-1}n++}}static createElement(t,o){const e=Bt.createElement("template");return e.innerHTML=t,e}}function io(t,o,e=t,r){if(o===Xt)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=io(t,n._$AS(t,o.values),n,r)),o}let ao=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);oo.currentNode=r;let n=oo.nextNode(),i=0,a=0,c=e[0];for(;void 0!==c;){if(i===c.index){let o;2===c.type?o=new co(n,n.nextSibling,this,t):1===c.type?o=new c.ctor(n,c.name,c.strings,this,t):6===c.type&&(o=new po(n,this,t)),this._$AV.push(o),c=e[++a]}i!==c?.index&&(n=oo.nextNode(),i++)}return oo.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=Qt,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=io(this,t,o),Kt(t)?t===Qt||null==t||""===t?(this._$AH!==Qt&&this._$AR(),this._$AH=Qt):t!==this._$AH&&t!==Xt&&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!==Qt&&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=no.createElement(eo(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new ao(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=to.get(t.strings);return void 0===o&&to.set(t.strings,o=new no(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))}},lo=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,n){this.type=1,this._$AH=Qt,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=Qt}_$AI(t,o=this,e,r){const n=this.strings;let i=!1;if(void 0===n)t=io(this,t,o,0),i=!Kt(t)||t!==this._$AH&&t!==Xt,i&&(this._$AH=t);else{const r=t;let a,c;for(t=n[0],a=0;a<n.length-1;a++)c=io(this,r[e+a],o,a),c===Xt&&(c=this._$AH[a]),i||=!Kt(c)||c!==this._$AH[a],c===Qt?t=Qt:t!==Qt&&(t+=(c??"")+n[a+1]),this._$AH[a]=c}i&&!r&&this.O(t)}O(t){t===Qt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},so=class extends lo{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Qt?void 0:t}},fo=class extends lo{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Qt)}},uo=class extends lo{constructor(t,o,e,r,n){super(t,o,e,r,n),this.type=5}_$AI(t,o=this){if((t=io(this,t,o,0)??Qt)===Xt)return;const e=this._$AH,r=t===Qt&&e!==Qt||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==Qt&&(e===Qt||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)}},po=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){io(this,t)}};const ho={j:kt,P:Ft,A:zt,C:1,M:ro,L:ao,R:Zt,V:io,D:co,I:lo,H:fo,N:uo,U:so,B:po},yo=Lt.litHtmlPolyfillSupport;yo?.(no,co),(Lt.litHtmlVersions??=[]).push("3.1.0");const go=(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
48
+ const Lt=globalThis,Wt=Lt.trustedTypes,Ut=Wt?Wt.createPolicy("lit-html",{createHTML:t=>t}):void 0,kt="$lit$",zt=`lit$${(Math.random()+"").slice(9)}$`,Bt="?"+zt,Ft=`<${Bt}>`,At=document,_t=()=>At.createComment(""),Pt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Zt=Array.isArray,Kt=t=>Zt(t)||"function"==typeof t?.[Symbol.iterator],jt="[ \t\n\f\r]",Mt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ht=/-->/g,Dt=/>/g,$t=RegExp(`>|${jt}(?:([^\\s"'>=/]+)(${jt}*=${jt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Tt=/'/g,Gt=/"/g,Vt=/^(?:script|style|textarea|title)$/i,qt=t=>(o,...e)=>({_$litType$:t,strings:o,values:e}),Yt=qt(1),Jt=qt(2),Xt=Symbol.for("lit-noChange"),Qt=Symbol.for("lit-nothing"),to=new WeakMap,oo=At.createTreeWalker(At,129);function eo(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ut?Ut.createHTML(o):o}const ro=(t,o)=>{const e=t.length-1,r=[];let n,i=2===o?"<svg>":"",a=Mt;for(let o=0;o<e;o++){const e=t[o];let c,l,s=-1,f=0;for(;f<e.length&&(a.lastIndex=f,l=a.exec(e),null!==l);)f=a.lastIndex,a===Mt?"!--"===l[1]?a=Ht:void 0!==l[1]?a=Dt:void 0!==l[2]?(Vt.test(l[2])&&(n=RegExp("</"+l[2],"g")),a=$t):void 0!==l[3]&&(a=$t):a===$t?">"===l[0]?(a=n??Mt,s=-1):void 0===l[1]?s=-2:(s=a.lastIndex-l[2].length,c=l[1],a=void 0===l[3]?$t:'"'===l[3]?Gt:Tt):a===Gt||a===Tt?a=$t:a===Ht||a===Dt?a=Mt:(a=$t,n=void 0);const d=a===$t&&t[o+1].startsWith("/>")?" ":"";i+=a===Mt?e+Ft:s>=0?(r.push(c),e.slice(0,s)+kt+e.slice(s)+zt+d):e+zt+(-2===s?o:d)}return[eo(t,i+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class no{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let n=0,i=0;const a=t.length-1,c=this.parts,[l,s]=ro(t,o);if(this.el=no.createElement(l,e),oo.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=oo.nextNode())&&c.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(kt)){const o=s[i++],e=r.getAttribute(t).split(zt),a=/([.?@])?(.*)/.exec(o);c.push({type:1,index:n,name:a[2],strings:e,ctor:"."===a[1]?so:"?"===a[1]?fo:"@"===a[1]?uo:lo}),r.removeAttribute(t)}else t.startsWith(zt)&&(c.push({type:6,index:n}),r.removeAttribute(t));if(Vt.test(r.tagName)){const t=r.textContent.split(zt),o=t.length-1;if(o>0){r.textContent=Wt?Wt.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],_t()),oo.nextNode(),c.push({type:2,index:++n});r.append(t[o],_t())}}}else if(8===r.nodeType)if(r.data===Bt)c.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(zt,t+1));)c.push({type:7,index:n}),t+=zt.length-1}n++}}static createElement(t,o){const e=At.createElement("template");return e.innerHTML=t,e}}function io(t,o,e=t,r){if(o===Xt)return o;let n=void 0!==r?e._$Co?.[r]:e._$Cl;const i=Pt(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=io(t,n._$AS(t,o.values),n,r)),o}let ao=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??At).importNode(o,!0);oo.currentNode=r;let n=oo.nextNode(),i=0,a=0,c=e[0];for(;void 0!==c;){if(i===c.index){let o;2===c.type?o=new co(n,n.nextSibling,this,t):1===c.type?o=new c.ctor(n,c.name,c.strings,this,t):6===c.type&&(o=new po(n,this,t)),this._$AV.push(o),c=e[++a]}i!==c?.index&&(n=oo.nextNode(),i++)}return oo.currentNode=At,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=Qt,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=io(this,t,o),Pt(t)?t===Qt||null==t||""===t?(this._$AH!==Qt&&this._$AR(),this._$AH=Qt):t!==this._$AH&&t!==Xt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):Kt(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!==Qt&&Pt(this._$AH)?this._$AA.nextSibling.data=t:this.$(At.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=no.createElement(eo(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new ao(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=to.get(t.strings);return void 0===o&&to.set(t.strings,o=new no(t)),o}T(o){Zt(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))}},lo=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,n){this.type=1,this._$AH=Qt,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=Qt}_$AI(t,o=this,e,r){const n=this.strings;let i=!1;if(void 0===n)t=io(this,t,o,0),i=!Pt(t)||t!==this._$AH&&t!==Xt,i&&(this._$AH=t);else{const r=t;let a,c;for(t=n[0],a=0;a<n.length-1;a++)c=io(this,r[e+a],o,a),c===Xt&&(c=this._$AH[a]),i||=!Pt(c)||c!==this._$AH[a],c===Qt?t=Qt:t!==Qt&&(t+=(c??"")+n[a+1]),this._$AH[a]=c}i&&!r&&this.O(t)}O(t){t===Qt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},so=class extends lo{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Qt?void 0:t}},fo=class extends lo{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Qt)}},uo=class extends lo{constructor(t,o,e,r,n){super(t,o,e,r,n),this.type=5}_$AI(t,o=this){if((t=io(this,t,o,0)??Qt)===Xt)return;const e=this._$AH,r=t===Qt&&e!==Qt||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==Qt&&(e===Qt||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)}},po=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){io(this,t)}};const ho={j:kt,P:zt,A:Bt,C:1,M:ro,L:ao,R:Kt,V:io,D:co,I:lo,H:fo,N:uo,U:so,B:po},go=Lt.litHtmlPolyfillSupport;go?.(no,co),(Lt.litHtmlVersions??=[]).push("3.1.0");const yo=(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 bo=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 o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=go(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Xt}};bo._$litElement$=!0,bo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:bo});const mo=globalThis.litElementPolyfillSupport;mo?.({LitElement:bo});(globalThis.litElementVersions??=[]).push("4.0.2");var Oo=Object.freeze({__proto__:null,CSSResult:st,LitElement:bo,ReactiveElement:It,_$LE:{_$AK:(t,o,e)=>{t._$AK(o,e)},_$AL:t=>t._$AL},_$LH:ho,adoptStyles:dt,css:ut,defaultConverter:Ct,getCompatibleStyle:pt,html:Yt,isServer:!1,noChange:Xt,notEqual:Et,nothing:Qt,render:go,supportsAdoptingStyleSheets:at,svg:Jt,unsafeCSS:ft});
53
+ */};let bo=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 o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=yo(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Xt}};bo._$litElement$=!0,bo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:bo});const mo=globalThis.litElementPolyfillSupport;mo?.({LitElement:bo});(globalThis.litElementVersions??=[]).push("4.0.2");var Oo=Object.freeze({__proto__:null,CSSResult:st,LitElement:bo,ReactiveElement:It,_$LE:{_$AK:(t,o,e)=>{t._$AK(o,e)},_$AL:t=>t._$AL},_$LH:ho,adoptStyles:ut,css:dt,defaultConverter:Ct,getCompatibleStyle:pt,html:Yt,isServer:!1,noChange:Xt,notEqual:Et,nothing:Qt,render:yo,supportsAdoptingStyleSheets:at,svg:Jt,unsafeCSS:ft});
54
54
  /**
55
55
  * @license
56
56
  * Copyright 2017 Google LLC
@@ -114,36 +114,36 @@ function(t){return(o,e)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}
114
114
  * @license
115
115
  * Copyright 2020 Google LLC
116
116
  * SPDX-License-Identifier: BSD-3-Clause
117
- */const{D:Uo}=rt,Wo=()=>document.createComment(""),ko=(t,o,e)=>{const r=t._$AA.parentNode,n=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=r.insertBefore(Wo(),n),i=r.insertBefore(Wo(),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},Fo=(t,o,e=t)=>(t._$AI(o,e),t),zo={},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=Io(class extends Lo{constructor(t){if(super(t),t.type!==Ro)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 c=this.dt??=[],l=[];let s,f,u=0,d=n.length-1,p=0,h=i.length-1;for(;u<=d&&p<=h;)if(null===n[u])u++;else if(null===n[d])d--;else if(c[u]===a[p])l[p]=Fo(n[u],i[p]),u++,p++;else if(c[d]===a[h])l[h]=Fo(n[d],i[h]),d--,h--;else if(c[u]===a[h])l[h]=Fo(n[u],i[h]),ko(t,l[h+1],n[u]),u++,h--;else if(c[d]===a[p])l[p]=Fo(n[d],i[p]),ko(t,n[u],n[d]),d--,p++;else if(void 0===s&&(s=Bo(a,p,h),f=Bo(c,u,d)),s.has(c[u]))if(s.has(c[d])){const o=f.get(a[p]),e=void 0!==o?n[o]:null;if(null===e){const o=ko(t,n[u]);Fo(o,i[p]),l[p]=o}else l[p]=Fo(e,i[p]),ko(t,n[u],e),n[o]=null;p++}else Ao(n[d]),d--;else Ao(n[u]),u++;for(;p<=h;){const o=ko(t,l[h+1]);Fo(o,i[p]),l[p++]=o}for(;u<=d;){const t=n[u++];null!==t&&Ao(t)}return this.dt=a,((t,o=zo)=>{t._$AH=o})(t,l),M}});
117
+ */const{D:Wo}=rt,Uo=()=>document.createComment(""),ko=(t,o,e)=>{const r=t._$AA.parentNode,n=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=r.insertBefore(Uo(),n),i=r.insertBefore(Uo(),n);e=new Wo(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},zo=(t,o,e=t)=>(t._$AI(o,e),t),Bo={},Fo=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}},Ao=(t,o,e)=>{const r=new Map;for(let n=o;n<=e;n++)r.set(t[n],n);return r},_o=Io(class extends Lo{constructor(t){if(super(t),t.type!==Ro)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 c=this.dt??=[],l=[];let s,f,d=0,u=n.length-1,p=0,h=i.length-1;for(;d<=u&&p<=h;)if(null===n[d])d++;else if(null===n[u])u--;else if(c[d]===a[p])l[p]=zo(n[d],i[p]),d++,p++;else if(c[u]===a[h])l[h]=zo(n[u],i[h]),u--,h--;else if(c[d]===a[h])l[h]=zo(n[d],i[h]),ko(t,l[h+1],n[d]),d++,h--;else if(c[u]===a[p])l[p]=zo(n[u],i[p]),ko(t,n[d],n[u]),u--,p++;else if(void 0===s&&(s=Ao(a,p,h),f=Ao(c,d,u)),s.has(c[d]))if(s.has(c[u])){const o=f.get(a[p]),e=void 0!==o?n[o]:null;if(null===e){const o=ko(t,n[d]);zo(o,i[p]),l[p]=o}else l[p]=zo(e,i[p]),ko(t,n[d],e),n[o]=null;p++}else Fo(n[u]),u--;else Fo(n[d]),d++;for(;p<=h;){const o=ko(t,l[h+1]);zo(o,i[p]),l[p++]=o}for(;d<=u;){const t=n[d++];null!==t&&Fo(t)}return this.dt=a,((t,o=Bo)=>{t._$AH=o})(t,l),M}});
118
118
  /**
119
119
  * @license
120
120
  * Copyright 2017 Google LLC
121
121
  * SPDX-License-Identifier: BSD-3-Clause
122
- */var Ko=Object.freeze({__proto__:null,repeat:_o});
122
+ */var Po=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 Po=Io(class extends Lo{constructor(t){if(super(t),t.type!==Eo||"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 M}});var Zo=Object.freeze({__proto__:null,classMap:Po});
127
+ */const Zo=Io(class extends Lo{constructor(t){if(super(t),t.type!==Eo||"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 M}});var Ko=Object.freeze({__proto__:null,classMap:Zo});
128
128
  /**
129
129
  * @license
130
130
  * Copyright 2018 Google LLC
131
131
  * SPDX-License-Identifier: BSD-3-Clause
132
- */const jo="important",Mo=" !"+jo,Do=Io(class extends Lo{constructor(t){if(super(t),t.type!==Eo||"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(Mo);t.includes("-")||o?e.setProperty(t,o?r.slice(0,-11):r,o?jo:""):e[t]=r}}return M}});var $o=Object.freeze({__proto__:null,styleMap:Do});
132
+ */const jo="important",Mo=" !"+jo,Ho=Io(class extends Lo{constructor(t){if(super(t),t.type!==Eo||"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(Mo);t.includes("-")||o?e.setProperty(t,o?r.slice(0,-11):r,o?jo:""):e[t]=r}}return M}});var Do=Object.freeze({__proto__:null,styleMap:Ho});
133
133
  /**
134
134
  * @license
135
135
  * Copyright 2017 Google LLC
136
136
  * SPDX-License-Identifier: BSD-3-Clause
137
- */let Ho=class extends Lo{constructor(t){if(super(t),this.et=D,t.type!==Ro)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===D||null==t)return this.vt=void 0,this.et=t;if(t===M)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:[]}}};Ho.directiveName="unsafeHTML",Ho.resultType=1;const To=Io(Ho);var Go=Object.freeze({__proto__:null,UnsafeHTMLDirective:Ho,unsafeHTML:To});class Vo extends Error{constructor(t,o,e){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=e}}class qo extends Promise{constructor(t){super(((o,e)=>t((t=>{this.isCanceled?e(new Vo("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?e(new Vo("Promise has been canceled",void 0,t)):e(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const Yo=t=>new qo(((o,e)=>t.then(o).catch(e)));var Jo=Object.freeze({__proto__:null,CancelablePromise:qo,CanceledPromiseError:Vo,cancelable:Yo});var Xo=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 qo&&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=Yo(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 Qo{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=>Qo.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=Qo.extractResultMetadata(this.selectedResult).find((o=>o.key===t));const r=this.allResults.flatMap((o=>Qo.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=>Qo.extractResultMetadata(e).find((e=>e.key===t&&e.value===o))));let r,n=Qo.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 Qo.extractResultMetadata(t).filter((t=>o.some((o=>o.key===t.key&&o.value===t.value)))).length}}var te=Object.freeze({__proto__:null,ClusteringHelper:Qo});class oe{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 ee=Object.freeze({__proto__:null,Debouncer:oe});const re=t=>new Promise((o=>setTimeout(o,t)));async function ne(t,o=10,e=2e4){let r,n,i=await t();for(r=n=performance.now();null==i&&(!e||n-r<e);)await re(o),i=await t(),n=performance.now();if(null==i)throw new Error("Timeout exceeded");return i}function ie(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 ae(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(!ae(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(!ae(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(!ae(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)?ie(e):e}},deepEqual:ae,delay:re,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:ie,waitFor:ne,waitUntil:async function(t,o=10,e=2e4){await ne((async()=>await t()||void 0),o,e)}});const le=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function se(t,o){const e=()=>JSON.parse(JSON.stringify(t));return xo({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)=>!ae(t,o),...null!=o?o:{}})}function fe(t){return!isNaN(parseFloat(t))}var ue=Object.freeze({__proto__:null,customElement:le,isNumber:fe,jsonProperty:se,optionalNumberProperty:function(t){return xo({type:Object,converter:{fromAttribute:t=>{if(null!=t)return fe(t)?+t:void 0},toAttribute:t=>null==t?void 0:""+t},...null!=t?t:{}})}});const de=t=>"string"==typeof t?ft(t):t;class pe{static create(t,o,e,r){const n=t=>de(null!=t?t:r),i=ut`var(${de(t)}, ${n(r)})`;return i.name=t,i.description=o,i.category=e,i.defaultValue=r,i.defaultCssValue=n,i.get=o=>ut`var(${de(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(${de(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(${de(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):de(null!=o?o:t.lastResortDefaultValue()),r=ut`var(${de(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(${de(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const he={colorWhite:pe.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:pe.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:pe.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:pe.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:pe.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:pe.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:pe.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:pe.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:pe.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:pe.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:pe.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:pe.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:pe.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:pe.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:pe.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:pe.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:pe.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:pe.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:pe.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:pe.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:pe.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:pe.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:pe.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:pe.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:pe.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:pe.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:pe.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:pe.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:pe.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:pe.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:pe.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:pe.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:pe.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:pe.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:pe.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:pe.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:pe.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:pe.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:pe.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:pe.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:pe.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:pe.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:pe.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:pe.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:pe.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:pe.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:pe.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:pe.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:pe.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:pe.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:pe.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:pe.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:pe.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:pe.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:pe.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:pe.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:pe.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:pe.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:pe.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:pe.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:pe.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:pe.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:pe.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:pe.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:pe.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:pe.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:pe.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:pe.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:pe.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:pe.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:pe.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:pe.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:pe.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:pe.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:pe.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:pe.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:pe.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:pe.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:pe.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:pe.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:pe.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:pe.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:pe.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:pe.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:pe.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:pe.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:pe.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:pe.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:pe.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:pe.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:pe.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:pe.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:pe.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:pe.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:pe.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:pe.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:pe.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:pe.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:pe.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:pe.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:pe.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:pe.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:pe.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:pe.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:pe.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:pe.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:pe.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:pe.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:pe.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:pe.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:pe.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:pe.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:pe.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:pe.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:pe.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:pe.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:pe.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:pe.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:pe.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:pe.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:pe.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:pe.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:pe.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:pe.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:pe.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:pe.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:pe.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:pe.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:pe.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:pe.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:pe.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:pe.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:pe.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:pe.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:pe.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:pe.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:pe.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:pe.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:pe.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:pe.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:pe.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:pe.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:pe.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:pe.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:pe.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:pe.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:pe.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:pe.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:pe.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:pe.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:pe.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:pe.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:pe.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:pe.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:pe.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:pe.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:pe.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:pe.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:pe.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:pe.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:pe.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:pe.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:pe.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:pe.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:pe.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:pe.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:pe.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:pe.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:pe.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:pe.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:pe.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:pe.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:pe.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:pe.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:pe.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:pe.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:pe.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:pe.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:pe.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:pe.create("--ft-icon-size-6","","SIZE","48px"),opacity0:pe.create("--ft-opacity-0","","NUMBER","0"),opacity8:pe.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:pe.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:pe.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:pe.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:pe.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:pe.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:pe.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:pe.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:pe.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:pe.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:pe.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:pe.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:pe.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:pe.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:pe.create("--ft-underline","","UNKNOWN","underline")},ye={fontFamily:pe.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:pe.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:pe.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:pe.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:pe.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:pe.create("--ft-typography-display-textCase","","UNKNOWN","none")},ge={fontFamily:pe.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:pe.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:pe.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:pe.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:pe.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:pe.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},be={fontFamily:pe.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:pe.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:pe.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:pe.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:pe.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:pe.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},me={fontFamily:pe.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:pe.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:pe.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:pe.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:pe.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:pe.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Oe={fontFamily:pe.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:pe.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:pe.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:pe.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:pe.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:pe.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},ve={fontFamily:pe.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:pe.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:pe.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:pe.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:pe.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:pe.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Se={fontFamily:pe.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:pe.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:pe.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:pe.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:pe.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:pe.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},xe={fontFamily:pe.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:pe.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:pe.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:pe.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:pe.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:pe.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},we={fontFamily:pe.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:pe.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:pe.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:pe.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:pe.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:pe.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Ne={fontFamily:pe.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:pe.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:pe.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:pe.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:pe.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:pe.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:pe.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Ce={fontFamily:pe.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:pe.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:pe.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:pe.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:pe.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:pe.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Ee={fontFamily:pe.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:pe.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:pe.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:pe.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:pe.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:pe.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Re={fontFamily:pe.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:pe.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:pe.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:pe.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:pe.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:pe.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Ie={fontFamily:pe.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:pe.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:pe.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:pe.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:pe.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:pe.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Le={fontFamily:pe.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:pe.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:pe.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:pe.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:pe.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:pe.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Ue={fontFamily:pe.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:pe.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:pe.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:pe.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:pe.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:pe.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},We={fontFamily:pe.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:pe.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:pe.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:pe.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:pe.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:pe.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},ke={fontFamily:pe.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:pe.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:pe.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:pe.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:pe.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:pe.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Fe={fontFamily:pe.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:pe.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:pe.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:pe.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:pe.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:pe.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},ze={fontFamily:pe.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:pe.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:pe.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:pe.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:pe.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:pe.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Ae={fontFamily:pe.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:pe.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:pe.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:pe.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:pe.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:pe.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Be={fontFamily:pe.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:pe.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:pe.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:pe.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:pe.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:pe.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},_e={fontFamily:pe.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:pe.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:pe.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:pe.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:pe.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:pe.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Ke={fontFamily:pe.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:pe.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:pe.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:pe.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:pe.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:pe.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Pe={fontFamily:pe.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:pe.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:pe.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:pe.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:pe.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:pe.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Ze={fontFamily:pe.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:pe.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:pe.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:pe.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:pe.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:pe.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},je={display:ye,"title-1":ge,"title-2":be,"title-3":me,"body-1-regular":Oe,"body-1-medium":ve,"body-1-semibold":Se,"body-2-regular":xe,"body-2-medium":we,"body-2-medium-underline":Ne,"body-2-semibold":Ce,"label-1-medium":Ee,"label-1-semibold":Re,"label-1-bold":Ie,"label-2-medium":Le,"label-2-semibold":Ue,"label-2-bold":We,"caption-1-medium":ke,"caption-1-semibold":Fe,"caption-1-bold":ze,"caption-2-medium":Ae,"caption-2-semibold":Be,"caption-2-bold":_e,"caption-3-medium":Ke,"caption-3-semibold":Pe,"caption-3-bold":Ze},Me={backgroundActionPrimary:pe.extend("--ft-background-action-primary","Used as backgorund of primary action components.",he.colorBrand0),backgroundErrorSubtle:pe.extend("--ft-background-error-subtle","Used as background of subtle error components.",he.colorRed10),backgroundInfoSubtle:pe.extend("--ft-background-info-subtle","Used as background of subtle information components.",he.colorCyan10),backgroundWarningSubtle:pe.extend("--ft-background-warning-subtle","Used as background of subtle information components.",he.colorOrange10),backgroundSuccessSubtle:pe.extend("--ft-background-success-subtle","Used as background of subtle success components.",he.colorGreen10),backgroundGlobalSurface:pe.extend("--ft-background-global-surface","Used as app background.",he.colorWhite),backgroundGlobalOnSurface:pe.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",he.colorGray10),backgroundGlobalOnSurfaceDark:pe.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",he.colorGray30),contentActionPrimary:pe.extend("--ft-content-action-primary","Used on label of primary action on light surface.",he.colorBrand0),contentWarningPrimary:pe.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",he.colorOrange200),contentWarningIconOnly:pe.extend("--ft-content-warning-icon-only","Used on warning status icons alone",he.colorOrange0),contentErrorPrimary:pe.extend("--ft-content-error-primary","Used on label of error messages on light surface.",he.colorRed0),contentErrorIconOnly:pe.extend("--ft-content-error-icon-only","Used on error status icons alone",he.colorRed70),contentInfoPrimary:pe.extend("--ft-content-info-primary","Used on label of information messages on light surface.",he.colorCyan200),contentInfoIconOnly:pe.extend("--ft-content-info-icon-only","Used on info status icons alone",he.colorCyan0),contentSuccessPrimary:pe.extend("--ft-content-success-primary","Used on label of success messages on light surface.",he.colorGreen200),contentSuccessIconOnly:pe.extend("--ft-content-success-icon-only","Used on success status icons alone",he.colorGreen0),contentGlobalPrimary:pe.extend("--ft-content-global-primary","Used for main content on the page.",he.colorGray500),contentGlobalSecondary:pe.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",he.colorGray200),contentGlobalSubtle:pe.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",he.colorGray0),contentGlobalOnColor:pe.extend("--ft-content-global-on-color","Used for content on a dominant color.",he.colorWhite),borderActionPrimary:pe.extend("--ft-border-action-primary","Used as border for primary action components.",he.colorBrand0),borderActionFocusRing:pe.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",he.colorCyan0),borderWarningPrimary:pe.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",he.colorOrange200),borderWarningSubtle:pe.extend("--ft-border-warning-subtle","Used as border for warning components.",he.colorOrange30),borderSuccessPrimary:pe.extend("--ft-border-success-primary","Used as border for success buttons.",he.colorGreen200),borderSuccessSubtle:pe.extend("--ft-border-success-subtle","Used as border for success components.",he.colorGreen30),borderErrorPrimary:pe.extend("--ft-border-error-primary","Used as border for text fields in error states.",he.colorRed0),borderErrorSubtle:pe.extend("--ft-border-error-subtle","Used as border for error components.",he.colorRed30),borderInfoPrimary:pe.extend("--ft-border-info-primary","Used as border for buttons in info color.",he.colorCyan200),borderInfoSubtle:pe.extend("--ft-border-info-subtle","Used as border for information components.",he.colorCyan30),borderGlobalPrimary:pe.extend("--ft-border-global-primary","Used as border for element like input.",he.colorGray50),borderGlobalSubtle:pe.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",he.colorGray30),borderInputPrimary:pe.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",he.colorGray80)},De={largeHeight:pe.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:pe.extend("--ft-button-large-horizontal-padding","",he.spacing4),largeGap:pe.extend("--ft-button-large-gap","",he.spacing2),largeBorderRadius:pe.extend("--ft-button-large-border-radius","",he.borderRadiusS),largeIconSize:pe.extend("--ft-button-large-icon-size","",he.iconSize3),largeBorderWidth:pe.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:pe.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:pe.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:pe.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:pe.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:pe.extend("--ft-button-small-horizontal-padding","",he.spacing3),smallGap:pe.extend("--ft-button-small-gap","",he.spacing2),smallBorderRadius:pe.extend("--ft-button-small-border-radius","",he.borderRadiusS),smallIconSize:pe.extend("--ft-button-small-icon-size","",he.iconSize2),smallBorderWidth:pe.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:pe.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:pe.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:pe.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:pe.extend("--ft-button-primary-background-color","",Me.backgroundActionPrimary),primaryColor:pe.extend("--ft-button-primary-color","",Me.contentGlobalOnColor),primaryIconColor:pe.extend("--ft-button-primary-icon-color","",Me.contentGlobalOnColor),primaryStateLayerColor:pe.extend("--ft-button-primary-state-layer-color","",Me.contentGlobalOnColor),primaryHoverStateLayerOpacity:pe.extend("--ft-button-primary-hover-state-layer-opacity","",he.opacity16),primaryFocusStateLayerOpacity:pe.extend("--ft-button-primary-focus-state-layer-opacity","",he.opacity16),primaryActiveStateLayerOpacity:pe.extend("--ft-button-primary-active-state-layer-opacity","",he.opacity24),primaryDisabledComponentOpacity:pe.extend("--ft-button-primary-disabled-component-opacity","",he.opacity40),focusFocusRingColor:pe.extend("--ft-button-focus-focus-ring-color","",Me.borderActionFocusRing),tertiaryBackgroundColor:pe.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:pe.extend("--ft-button-tertiary-color","",Me.contentActionPrimary),tertiaryIconColor:pe.extend("--ft-button-tertiary-icon-color","",Me.contentActionPrimary),tertiaryStateLayerColor:pe.extend("--ft-button-tertiary-state-layer-color","",Me.contentActionPrimary),tertiaryHoverStateLayerOpacity:pe.extend("--ft-button-tertiary-hover-state-layer-opacity","",he.opacity8),tertiaryFocusStateLayerOpacity:pe.extend("--ft-button-tertiary-focus-state-layer-opacity","",he.opacity8),tertiaryActiveStateLayerOpacity:pe.extend("--ft-button-tertiary-active-state-layer-opacity","",he.opacity16),tertiaryDisabledComponentOpacity:pe.extend("--ft-button-tertiary-disabled-component-opacity","",he.opacity40),secondaryBackgroundColor:pe.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:pe.extend("--ft-button-secondary-color","",Me.contentActionPrimary),secondaryIconColor:pe.extend("--ft-button-secondary-icon-color","",Me.contentActionPrimary),secondaryStateLayerColor:pe.extend("--ft-button-secondary-state-layer-color","",Me.contentActionPrimary),secondaryHoverStateLayerOpacity:pe.extend("--ft-button-secondary-hover-state-layer-opacity","",he.opacity8),secondaryFocusStateLayerOpacity:pe.extend("--ft-button-secondary-focus-state-layer-opacity","",he.opacity8),secondaryActiveStateLayerOpacity:pe.extend("--ft-button-secondary-active-state-layer-opacity","",he.opacity16),secondaryDisabledComponentOpacity:pe.extend("--ft-button-secondary-disabled-component-opacity","",he.opacity40),secondaryBorderColor:pe.extend("--ft-button-secondary-border-color","",Me.borderActionPrimary),neutralBackgroundColor:pe.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:pe.extend("--ft-button-neutral-icon-color","",Me.contentGlobalSecondary),neutralColor:pe.extend("--ft-button-neutral-color","",Me.contentGlobalSecondary),neutralStateLayerColor:pe.extend("--ft-button-neutral-state-layer-color","",Me.contentGlobalSecondary),neutralHoverStateLayerOpacity:pe.extend("--ft-button-neutral-hover-state-layer-opacity","",he.opacity8),neutralFocusStateLayerOpacity:pe.extend("--ft-button-neutral-focus-state-layer-opacity","",he.opacity8),neutralActiveStateLayerOpacity:pe.extend("--ft-button-neutral-active-state-layer-opacity","",he.opacity16),neutralDisabledComponentOpacity:pe.extend("--ft-button-neutral-disabled-component-opacity","",he.opacity40)},$e={iconSize:pe.extend("--ft-banner-icon-size","",he.iconSize5),borderWidth:pe.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:pe.extend("--ft-banner-horizontal-padding","",he.spacing6),verticalPadding:pe.extend("--ft-banner-vertical-padding","",he.spacing6),horizontalSideGap:pe.extend("--ft-banner-horizontal-side-gap","",he.spacing6),horizontalMobileGap:pe.extend("--ft-banner-horizontal-mobile-gap","",he.spacing4),verticalMobileGap:pe.extend("--ft-banner-vertical-mobile-gap","",he.spacing6),horizontalMiddleGap:pe.extend("--ft-banner-horizontal-middle-gap","",he.spacing20),infoBackgroundColor:pe.extend("--ft-banner-info-background-color","",Me.backgroundInfoSubtle),infoColor:pe.extend("--ft-banner-info-color","",Me.contentInfoPrimary),infoIconColor:pe.extend("--ft-banner-info-icon-color","",Me.contentInfoIconOnly)},He={gap:pe.extend("--ft-breadcrumb-gap","",he.spacing1)},Te={horizontalPadding:pe.extend("--ft-page-header-horizontal-padding","",he.spacing12),verticalPadding:pe.extend("--ft-page-header-vertical-padding","",he.spacing6)},Ge={smallContainerWidth:pe.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:pe.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:pe.extend("--ft-modal-overlay-background-color","",he.colorGray700),overlayOpacity:pe.extend("--ft-modal-overlay-opacity","",he.opacity40),shadow:pe.extend("--ft-modal-shadow","",he.shadowElevation03),bodyBackgroundColor:pe.extend("--ft-modal-body-background-color","",he.colorWhite),bodyColor:pe.extend("--ft-modal-body-color","",Me.contentGlobalPrimary),bodyHorizontalPadding:pe.extend("--ft-modal-body-horizontal-padding","",he.spacing6),bodyVerticalPadding:pe.extend("--ft-modal-body-vertical-padding","",he.spacing6),bodyVerticalGap:pe.extend("--ft-modal-body-vertical-gap","",he.spacing6),containerMargin:pe.extend("--ft-modal-container-margin","",he.spacing3),headerBackgroundColor:pe.extend("--ft-modal-header-background-color","",Me.backgroundGlobalOnSurface),headerBorderColor:pe.extend("--ft-modal-header-border-color","",Me.borderGlobalSubtle),headerColor:pe.extend("--ft-modal-header-color","",Me.contentGlobalPrimary),headerTrailingIconColor:pe.extend("--ft-modal-header-trailing-icon-color","",Me.contentGlobalSecondary),headerVerticalPadding:pe.extend("--ft-modal-header-vertical-padding","",he.spacing1),headerRightPadding:pe.extend("--ft-modal-header-right-padding","",he.spacing1),headerLeftPadding:pe.extend("--ft-modal-header-left-padding","",he.spacing6),headerGap:pe.extend("--ft-modal-header-gap","",he.spacing2),headerBorderBottom:pe.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:pe.extend("--ft-modal-border-radius","",he.borderRadiusM)},Ve={fieldHorizontalPadding:pe.extend("--ft-text-input-field-horizontal-padding","",he.spacing4),fieldHorizontalGap:pe.extend("--ft-text-input-field-horizontal-gap","",he.spacing3),fieldVerticalGap:pe.extend("--ft-text-input-field-vertical-gap","",he.spacing05),fieldIconSize:pe.extend("--ft-text-input-field-icon-size","",he.iconSize3),fieldHeight:pe.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:pe.extend("--ft-text-input-helper-horizontal-padding","",he.spacing4),helperHorizontalGap:pe.extend("--ft-text-input-helper-horizontal-gap","",he.spacing1),helperIconSize:pe.extend("--ft-text-input-helper-icon-size","",he.iconSize2),borderRadius:pe.extend("--ft-text-input-border-radius","",he.borderRadiusM),backgroundColor:pe.extend("--ft-text-input-background-color","",he.colorWhite),contentValueColor:pe.extend("--ft-text-input-content-value-color","",Me.contentGlobalPrimary),trailingIconColor:pe.extend("--ft-text-input-trailing-icon-color","",Me.contentGlobalSubtle),labelColor:pe.extend("--ft-text-input-label-color","",Me.contentGlobalSubtle),defaultBorderColor:pe.extend("--ft-text-input-default-border-color","",Me.borderInputPrimary),defaultHelperTextColor:pe.extend("--ft-text-input-default-helper-text-color","",Me.contentGlobalSubtle),defaultBorderWidth:pe.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:pe.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:pe.extend("--ft-text-input-error-border-color","",Me.borderErrorPrimary),errorHelperTextColor:pe.extend("--ft-text-input-error-helper-text-color","",Me.contentErrorPrimary),errorHelperIconColor:pe.extend("--ft-text-input-error-helper-icon-color","",Me.contentErrorIconOnly),warningBorderWidth:pe.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:pe.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:pe.extend("--ft-text-input-focus-focus-ring-color","",Me.borderActionFocusRing),focusOutlineOffset:pe.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:pe.extend("--ft-text-input-disabled-component-opacity","",he.opacity40)},qe={backgroundColor:pe.extend("--ft-text-area-background-color","",he.colorWhite),contentValueColor:pe.extend("--ft-text-area-content-value-color","",Me.contentGlobalPrimary),labelColor:pe.extend("--ft-text-area-label-color","",Me.contentGlobalSubtle),defaultBorderColor:pe.extend("--ft-text-area-default-border-color","",Me.borderInputPrimary),defaultHelperTextColor:pe.extend("--ft-text-area-default-helper-text-color","",Me.contentGlobalSubtle),defaultBorderWidth:pe.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:pe.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:pe.extend("--ft-text-area-error-border-color","",Me.borderErrorPrimary),errorHelperTextColor:pe.extend("--ft-text-area-error-helper-text-color","",Me.contentErrorPrimary),errorHelperIconColor:pe.extend("--ft-text-area-error-helper-icon-color","",Me.contentErrorIconOnly),focusFocusRingColor:pe.extend("--ft-text-area-focus-focus-ring-color","",Me.borderActionFocusRing),focusOutlineWidth:pe.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:pe.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:pe.extend("--ft-text-area-disabled-component-opacity","",he.opacity40),fieldHorizontalLeftPadding:pe.extend("--ft-text-area-field-horizontal-left-padding","",he.spacing4),fieldHorizontalGap:pe.extend("--ft-text-area-field-horizontal-gap","",he.spacing3),fieldVerticalGap:pe.extend("--ft-text-area-field-vertical-gap","",he.spacing05),fieldMinHeight:pe.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:pe.extend("--ft-text-area-helper-horizontal-padding","",he.spacing4),helperHorizontalGap:pe.extend("--ft-text-area-helper-horizontal-gap","",he.spacing1),helperIconSize:pe.extend("--ft-text-area-helper-icon-size","",he.iconSize2),borderRadius:pe.extend("--ft-text-area-border-radius","",he.borderRadiusM)},Ye={height:pe.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:pe.extend("--ft-floating-menu-horizontal-padding","",he.spacing4),offIconColor:pe.extend("--ft-floating-menu-off-icon-color","",Me.contentGlobalPrimary),offColor:pe.extend("--ft-floating-menu-off-color","",Me.contentGlobalPrimary),onColor:pe.extend("--ft-floating-menu-on-color","",Me.contentActionPrimary),onStateLayerColor:pe.extend("--ft-floating-menu-on-state-layer-color","",Me.contentActionPrimary),gap:pe.extend("--ft-floating-menu-gap","",he.spacing3),focusFocusRingColor:pe.extend("--ft-floating-menu-focus-focus-ring-color","",Me.borderActionFocusRing),focusOutlineWidth:pe.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:pe.extend("--ft-floating-menu-focus-state-layer-opacity","",he.opacity8),hoverStateLayerOpacity:pe.extend("--ft-floating-menu-hover-state-layer-opacity","",he.opacity8),activeStateLayerOpacity:pe.extend("--ft-floating-menu-active-state-layer-opacity","",he.opacity16),disabledComponentOpacity:pe.extend("--ft-floating-menu-disabled-component-opacity","",he.opacity40),iconSize:pe.extend("--ft-floating-menu-icon-size","",he.iconSize3),backgroundColor:pe.extend("--ft-floating-menu-background-color","",Me.backgroundGlobalOnSurface)},Je={fieldHorizontalPadding:pe.extend("--ft-combobox-single-select-field-horizontal-padding","",he.spacing4),fieldHorizontalGap:pe.extend("--ft-combobox-single-select-field-horizontal-gap","",he.spacing3),fieldVerticalGap:pe.extend("--ft-combobox-single-select-field-vertical-gap","",he.spacing05),fieldIconSize:pe.extend("--ft-combobox-single-select-field-icon-size","",he.iconSize3),fieldHeight:pe.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:pe.extend("--ft-combobox-single-select-helper-horizontal-padding","",he.spacing4),helperHorizontalGap:pe.extend("--ft-combobox-single-select-helper-horizontal-gap","",he.spacing1),helperVerticalGap:pe.extend("--ft-combobox-single-select-helper-vertical-gap","",he.spacing1),helperIconSize:pe.extend("--ft-combobox-single-select-helper-icon-size","",he.iconSize2),menuVerticalGap:pe.extend("--ft-combobox-single-select-menu-vertical-gap","",he.spacing2),borderRadius:pe.extend("--ft-combobox-single-select-border-radius","",he.borderRadiusM),backgroundColor:pe.extend("--ft-combobox-single-select-background-color","",he.colorWhite),labelColor:pe.extend("--ft-combobox-single-select-label-color","",Me.contentGlobalSubtle),contentValueColor:pe.extend("--ft-combobox-single-select-content-value-color","",Me.contentGlobalPrimary),trailingIconColor:pe.extend("--ft-combobox-single-select-trailing-icon-color","",Me.contentGlobalSubtle),defaultBorderColor:pe.extend("--ft-combobox-single-select-default-border-color","",Me.borderInputPrimary),defaultHelperTextColor:pe.extend("--ft-combobox-single-select-default-helper-text-color","",Me.contentGlobalSubtle),defaultBorderWidth:pe.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:pe.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:pe.extend("--ft-combobox-single-select-error-border-color","",Me.borderErrorPrimary),errorHelperTextColor:pe.extend("--ft-combobox-single-select-error-helper-text-color","",Me.contentErrorPrimary),warningBorderWidth:pe.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:pe.extend("--ft-combobox-single-select-warning-border-color","",Me.borderWarningPrimary),warningHelperTextColor:pe.extend("--ft-combobox-single-select-warning-helper-text-color","",Me.contentWarningPrimary),warningHelperIconColor:pe.extend("--ft-combobox-single-select-warning-helper-icon-color","",Me.contentWarningIconOnly),focusOutlineWidth:pe.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:pe.extend("--ft-combobox-single-select-focus-focus-ring-color","",Me.borderActionFocusRing),focusOutlineOffset:pe.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:pe.extend("--ft-combobox-single-select-disabled-component-opacity","",he.opacity40)},Xe={backgroundColor:pe.extend("--ft-combobox-multi-select-background-color","",he.colorWhite),labelColor:pe.extend("--ft-combobox-multi-select-label-color","",Me.contentGlobalSubtle),trailingIconColor:pe.extend("--ft-combobox-multi-select-trailing-icon-color","",Me.contentGlobalSubtle),defaultBorderColor:pe.extend("--ft-combobox-multi-select-default-border-color","",Me.borderInputPrimary),defaultHelperTextColor:pe.extend("--ft-combobox-multi-select-default-helper-text-color","",Me.contentGlobalSubtle),defaultBorderWidth:pe.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:pe.extend("--ft-combobox-multi-select-error-border-color","",Me.borderErrorPrimary),errorHelperTextColor:pe.extend("--ft-combobox-multi-select-error-helper-text-color","",Me.contentErrorPrimary),errorHelperIcon:pe.extend("--ft-combobox-multi-select-error-helper-icon","",Me.contentErrorIconOnly),errorBorderWidth:pe.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:pe.extend("--ft-combobox-multi-select-warning-border-color","",Me.borderWarningPrimary),warningHelperTextColor:pe.extend("--ft-combobox-multi-select-warning-helper-text-color","",Me.contentWarningPrimary),warningHelperIconColor:pe.extend("--ft-combobox-multi-select-warning-helper-icon-color","",Me.contentWarningIconOnly),warningBorderWidth:pe.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:pe.extend("--ft-combobox-multi-select-focus-focus-ring-color","",Me.borderActionFocusRing),focusOutlineWidth:pe.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:pe.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:pe.extend("--ft-combobox-multi-select-disabled-component-opacity","",he.opacity40),helperHorizontalPadding:pe.extend("--ft-combobox-multi-select-helper-horizontal-padding","",he.spacing4),helperHorizontalGap:pe.extend("--ft-combobox-multi-select-helper-horizontal-gap","",he.spacing1),helperVerticalGap:pe.extend("--ft-combobox-multi-select-helper-vertical-gap","",he.spacing1),helperIconSize:pe.extend("--ft-combobox-multi-select-helper-icon-size","",he.iconSize2),fieldHorizontalPadding:pe.extend("--ft-combobox-multi-select-field-horizontal-padding","",he.spacing4),fieldHorizontalGap:pe.extend("--ft-combobox-multi-select-field-horizontal-gap","",he.spacing3),fieldVerticalGap:pe.extend("--ft-combobox-multi-select-field-vertical-gap","",he.spacing05),fieldIconSize:pe.extend("--ft-combobox-multi-select-field-icon-size","",he.iconSize3),fieldMaxHeight:pe.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:pe.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",he.spacing1),contentValuesVerticalGap:pe.extend("--ft-combobox-multi-select-content-values-vertical-gap","",he.spacing1),borderRadius:pe.extend("--ft-combobox-multi-select-border-radius","",he.borderRadiusM)},Qe={backgroundColor:pe.extend("--ft-popover-background-color","",Me.backgroundGlobalOnSurface),horizontalPadding:pe.extend("--ft-popover-horizontal-padding","",he.spacing6),verticalPadding:pe.extend("--ft-popover-vertical-padding","",he.spacing6),iconColor:pe.extend("--ft-popover-icon-color","",Me.contentGlobalSecondary),iconSize:pe.extend("--ft-popover-icon-size","",he.iconSize2),titleColor:pe.extend("--ft-popover-title-color","",Me.contentGlobalPrimary),bodyColor:pe.extend("--ft-popover-body-color","",Me.contentGlobalSecondary),linkColor:pe.extend("--ft-popover-link-color","",Me.contentActionPrimary),gap:pe.extend("--ft-popover-gap","",he.spacing3),borderRadius:pe.extend("--ft-popover-border-radius","",he.borderRadiusM),shadow:pe.extend("--ft-popover-shadow","",he.shadowElevation02)},tr={topLeftBorderRadius:pe.extend("--ft-tabs-top-left-border-radius","",he.borderRadiusS),topRightBorderRadius:pe.extend("--ft-tabs-top-right-border-radius","",he.borderRadiusS),labelHorizontalPadding:pe.extend("--ft-tabs-label-horizontal-padding","",he.spacing4),labelVerticalPadding:pe.extend("--ft-tabs-label-vertical-padding","",he.spacing3),labelGap:pe.extend("--ft-tabs-label-gap","",he.spacing1),offHoverStateLayerOpacity:pe.extend("--ft-tabs-off-hover-state-layer-opacity","",he.opacity8),offFocusStateLayerOpacity:pe.extend("--ft-tabs-off-focus-state-layer-opacity","",he.opacity8),offActiveStateLayerOpacity:pe.extend("--ft-tabs-off-active-state-layer-opacity","",he.opacity16),offDisabledComponentOpacity:pe.extend("--ft-tabs-off-disabled-component-opacity","",he.opacity40),offColor:pe.extend("--ft-tabs-off-color","",Me.contentGlobalSubtle),offStateLayerColor:pe.extend("--ft-tabs-off-state-layer-color","",Me.contentGlobalSubtle),onHoverStateLayerOpacity:pe.extend("--ft-tabs-on-hover-state-layer-opacity","",he.opacity8),onFocusStateLayerOpacity:pe.extend("--ft-tabs-on-focus-state-layer-opacity","",he.opacity8),onActiveStateLayerOpacity:pe.extend("--ft-tabs-on-active-state-layer-opacity","",he.opacity16),onDisabledComponentOpacity:pe.extend("--ft-tabs-on-disabled-component-opacity","",he.opacity40),onColor:pe.extend("--ft-tabs-on-color","",Me.contentActionPrimary),onStateLayerColor:pe.extend("--ft-tabs-on-state-layer-color","",Me.contentActionPrimary),iconHorizontalPadding:pe.extend("--ft-tabs-icon-horizontal-padding","",he.spacing1),iconVerticalPadding:pe.extend("--ft-tabs-icon-vertical-padding","",he.spacing4),focusOutlineWidth:pe.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:pe.extend("--ft-tabs-focus-focus-ring-color","",Me.borderActionFocusRing)},or={hoverStateLayerOpacity:pe.extend("--ft-collapsible-hover-state-layer-opacity","",he.opacity8),focusStateLayerOpacity:pe.extend("--ft-collapsible-focus-state-layer-opacity","",he.opacity8),focusOutlineWidth:pe.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:pe.extend("--ft-collapsible-focus-focus-ring-color","",Me.borderActionFocusRing),activeStateLayerOpacity:pe.extend("--ft-collapsible-active-state-layer-opacity","",he.opacity16),disabledComponentOpacity:pe.extend("--ft-collapsible-disabled-component-opacity","",he.opacity40),horizontalPadding:pe.extend("--ft-collapsible-horizontal-padding","",he.spacing4),verticalPadding:pe.extend("--ft-collapsible-vertical-padding","",he.spacing3),color:pe.extend("--ft-collapsible-color","",Me.contentGlobalPrimary),stateLayerColor:pe.extend("--ft-collapsible-state-layer-color","",Me.contentGlobalPrimary),backgroundColor:pe.extend("--ft-collapsible-background-color","",Me.backgroundGlobalOnSurface),borderColor:pe.extend("--ft-collapsible-border-color","",Me.borderGlobalSubtle),iconSize:pe.extend("--ft-collapsible-icon-size","",he.iconSize3)},er={groupHorizontalPadding:pe.extend("--ft-switch-group-horizontal-padding","",he.spacing1),groupVerticalPadding:pe.extend("--ft-switch-group-vertical-padding","",he.spacing1),groupGap:pe.extend("--ft-switch-group-gap","",he.spacing1),groupBackgroundColor:pe.extend("--ft-switch-group-background-color","",Me.backgroundGlobalSurface),groupBorderColor:pe.extend("--ft-switch-group-border-color","",Me.borderGlobalSubtle),groupBorderRadius:pe.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:pe.extend("--ft-switch-label-horizontal-padding","",he.spacing2),labelVerticalPadding:pe.extend("--ft-switch-label-vertical-padding","",he.spacing1),offHoverStateLayerOpacity:pe.extend("--ft-switch-off-hover-state-layer-opacity","",he.opacity8),offFocusStateLayerOpacity:pe.extend("--ft-switch-off-focus-state-layer-opacity","",he.opacity8),offActiveStateLayerOpacity:pe.extend("--ft-switch-off-active-state-layer-opacity","",he.opacity16),offDisabledComponentOpacity:pe.extend("--ft-switch-off-disabled-component-opacity","",he.opacity40),offColor:pe.extend("--ft-switch-off-color","",Me.contentGlobalSubtle),offStateLayerColor:pe.extend("--ft-switch-off-state-layer-color","",Me.contentGlobalSubtle),onHoverStateLayerOpacity:pe.extend("--ft-switch-on-hover-state-layer-opacity","",he.opacity8),onFocusStateLayerOpacity:pe.extend("--ft-switch-on-focus-state-layer-opacity","",he.opacity8),onActiveStateLayerOpacity:pe.extend("--ft-switch-on-active-state-layer-opacity","",he.opacity16),onDisabledComponentOpacity:pe.extend("--ft-switch-on-disabled-component-opacity","",he.opacity40),onColor:pe.extend("--ft-switch-on-color","",Me.contentActionPrimary),onStateLayerColor:pe.extend("--ft-switch-on-state-layer-color","",Me.contentActionPrimary),iconHorizontalPadding:pe.extend("--ft-switch-icon-horizontal-padding","",he.spacing1),iconVerticalPadding:pe.extend("--ft-switch-icon-vertical-padding","",he.spacing1),focusOutlineWidth:pe.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:pe.extend("--ft-switch-focus-focus-ring-color","",Me.borderActionFocusRing),optionBorderRadius:pe.extend("--ft-switch-option-border-radius","",he.borderRadiusS)},rr={color1Light:pe.extend("--ft-chart-1-light","for area color charts",he.colorBrand40),color1Base:pe.extend("--ft-chart-1-base","for line charts",he.colorBrand0),color2Light:pe.extend("--ft-chart-2-light","for area color charts",he.colorYellow60),color2Base:pe.extend("--ft-chart-2-base","for line charts",he.colorYellow100),color3Light:pe.extend("--ft-chart-3-light","",he.colorUltramarine40),color3Base:pe.extend("--ft-chart-3-base","",he.colorUltramarine70),color4Light:pe.extend("--ft-chart-4-light","",he.colorCyan50),color4Base:pe.extend("--ft-chart-4-base","",he.colorCyan100),color5Light:pe.extend("--ft-chart-5-light","",he.colorRed40),color5Base:pe.extend("--ft-chart-5-base","",he.colorRed60),color6Light:pe.extend("--ft-chart-6-light","",he.colorGreen40),color6Base:pe.extend("--ft-chart-6-base","",he.colorGreen70),color7Light:pe.extend("--ft-chart-7-light","",he.colorOrange70),color7Base:pe.extend("--ft-chart-7-base","",he.colorOrange100),color8Light:pe.extend("--ft-chart-8-light","",he.colorAvocado70),color8Base:pe.extend("--ft-chart-8-base","",he.colorAvocado200),color9Light:pe.extend("--ft-chart-9-light","",he.colorBrown50),color9Base:pe.extend("--ft-chart-9-base","",he.colorBrown200),color10Light:pe.extend("--ft-chart-10-light","",he.colorGray50),color10Base:pe.extend("--ft-chart-10-base","",he.colorGray80),monochrome10:pe.extend("--ft-chart-monochrome-10","",he.colorBrand10),monochrome20:pe.extend("--ft-chart-monochrome-20","",he.colorBrand20),monochrome30:pe.extend("--ft-chart-monochrome-30","",he.colorBrand40),monochrome40:pe.extend("--ft-chart-monochrome-40","",he.colorBrand60),monochrome50:pe.extend("--ft-chart-monochrome-50","",he.colorBrand0),monochrome60:pe.extend("--ft-chart-monochrome-60","",he.colorBrand200)},nr={largeHorizontalPadding:pe.extend("--ft-chip-large-horizontal-padding","",he.spacing4),largeVerticalPadding:pe.extend("--ft-chip-large-vertical-padding","",he.spacing2),largeGap:pe.extend("--ft-chip-large-gap","",he.spacing1),largeFocusOutlineOffset:pe.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:pe.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:pe.extend("--ft-chip-large-border-radius","",he.borderRadiusPill),largeBorderWidth:pe.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:pe.extend("--ft-chip-large-icon-size","",he.iconSize3),mediumHorizontalPadding:pe.extend("--ft-chip-medium-horizontal-padding","",he.spacing3),mediumVerticalPadding:pe.extend("--ft-chip-medium-vertical-padding","",he.spacing1),mediumGap:pe.extend("--ft-chip-medium-gap","",he.spacing1),mediumFocusOutlineOffset:pe.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:pe.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:pe.extend("--ft-chip-medium-border-radius","",he.borderRadiusPill),mediumBorderWidth:pe.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:pe.extend("--ft-chip-medium-icon-size","",he.iconSize2),smallHorizontalPadding:pe.extend("--ft-chip-small-horizontal-padding","",he.spacing2),smallVerticalPadding:pe.extend("--ft-chip-small-vertical-padding","",he.spacing05),smallGap:pe.extend("--ft-chip-small-gap","",he.spacing1),smallFocusOutlineOffset:pe.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:pe.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:pe.extend("--ft-chip-small-border-radius","",he.borderRadiusPill),smallBorderWidth:pe.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:pe.extend("--ft-chip-small-icon-size","",he.iconSize1),neutralBackgroundColor:pe.extend("--ft-chip-neutral-background-color","",Me.backgroundGlobalOnSurface),neutralColor:pe.extend("--ft-chip-neutral-color","",Me.contentGlobalPrimary),neutralIconColor:pe.extend("--ft-chip-neutral-icon-color","",Me.contentGlobalPrimary),neutralBorderColor:pe.extend("--ft-chip-neutral-border-color","",Me.borderGlobalSubtle),infoBackgroundColor:pe.extend("--ft-chip-info-background-color","",Me.backgroundInfoSubtle),infoColor:pe.extend("--ft-chip-info-color","",Me.contentInfoPrimary),infoIconColor:pe.extend("--ft-chip-info-icon-color","",Me.contentInfoIconOnly),infoBorderColor:pe.extend("--ft-chip-info-border-color","",Me.borderInfoSubtle),successBackgroundColor:pe.extend("--ft-chip-success-background-color","",Me.backgroundSuccessSubtle),successColor:pe.extend("--ft-chip-success-color","",Me.contentSuccessPrimary),successIconColor:pe.extend("--ft-chip-success-icon-color","",Me.contentSuccessIconOnly),successBorderColor:pe.extend("--ft-chip-success-border-color","",Me.borderSuccessSubtle),warningBackgroundColor:pe.extend("--ft-chip-warning-background-color","",Me.backgroundWarningSubtle),warningColor:pe.extend("--ft-chip-warning-color","",Me.contentWarningPrimary),warningIconColor:pe.extend("--ft-chip-warning-icon-color","",Me.contentWarningIconOnly),warningBorderColor:pe.extend("--ft-chip-warning-border-color","",Me.borderWarningSubtle),errorBackgroundColor:pe.extend("--ft-chip-error-background-color","",Me.backgroundErrorSubtle),errorColor:pe.extend("--ft-chip-error-color","",Me.contentErrorPrimary),errorIconColor:pe.extend("--ft-chip-error-icon-color","",Me.contentErrorIconOnly),errorBorderColor:pe.extend("--ft-chip-error-border-color","",Me.borderErrorSubtle)},ir={infoBorderColor:pe.extend("--ft-border-info-border-color","",Me.borderInfoSubtle)},ar={borderWidth:pe.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:pe.extend("--ft-notice-horizontal-padding","",he.spacing2),verticalPadding:pe.extend("--ft-notice-vertical-padding","",he.spacing1),borderRadius:pe.extend("--ft-notice-border-radius","",he.borderRadiusS),gap:pe.extend("--ft-notice-gap","",he.spacing2),iconSize:pe.extend("--ft-notice-icon-size","",he.iconSize3),infoBackgroundColor:pe.extend("--ft-notice-info-background-color","",Me.backgroundInfoSubtle),infoBorderColor:pe.extend("--ft-notice-info-border-color","",Me.borderInfoSubtle),infoColor:pe.extend("--ft-notice-info-color","",Me.contentInfoPrimary),infoIconColor:pe.extend("--ft-notice-info-icon-color","",Me.contentInfoIconOnly),warningBackgroundColor:pe.extend("--ft-notice-warning-background-color","",Me.backgroundWarningSubtle),warningBorderColor:pe.extend("--ft-notice-warning-border-color","",Me.borderWarningSubtle),warningColor:pe.extend("--ft-notice-warning-color","",Me.contentWarningPrimary),warningIconColor:pe.extend("--ft-notice-warning-icon-color","",Me.contentWarningIconOnly)},cr={color:pe.extend("--ft-checkbox-color","",Me.contentGlobalPrimary),checkedBackgroundColor:pe.extend("--ft-checkbox-checked-background-color","",Me.contentActionPrimary),checkedStateLayerColor:pe.extend("--ft-checkbox-checked-state-layer-color","",Me.contentActionPrimary),checkedIconColor:pe.extend("--ft-checkbox-checked-icon-color","",Me.contentGlobalOnColor),checkedHoverStateLayerOpacity:pe.extend("--ft-checkbox-checked-hover-state-layer-opacity","",he.opacity16),checkedFocusStateLayerOpacity:pe.extend("--ft-checkbox-checked-focus-state-layer-opacity","",he.opacity16),checkedActiveStateLayerOpacity:pe.extend("--ft-checkbox-checked-active-state-layer-opacity","",he.opacity24),checkedDisabledComponentOpacity:pe.extend("--ft-checkbox-checked-disabled-component-opacity","",he.opacity40),uncheckedBorderColor:pe.extend("--ft-checkbox-unchecked-border-color","",he.colorGray80),uncheckedStateLayerColor:pe.extend("--ft-checkbox-unchecked-state-layer-color","",he.colorGray80),uncheckedHoverStateLayerOpacity:pe.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",he.opacity16),uncheckedFocusStateLayerOpacity:pe.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",he.opacity16),uncheckedActiveStateLayerOpacity:pe.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",he.opacity24),uncheckedDisabledComponentOpacity:pe.extend("--ft-checkbox-unchecked-disabled-component-opacity","",he.opacity40),focusFocusRingColor:pe.extend("--ft-checkbox-focus-focus-ring-color","",Me.borderActionFocusRing),focusOutlineOffset:pe.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:pe.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:pe.extend("--ft-checkbox-gap","",he.spacing3)},lr={offHoverStateLayerOpacity:pe.extend("--ft-toggle-off-hover-state-layer-opacity","",he.opacity16),offFocusStateLayerOpacity:pe.extend("--ft-toggle-off-focus-state-layer-opacity","",he.opacity16),offActiveStateLayerOpacity:pe.extend("--ft-toggle-off-active-state-layer-opacity","",he.opacity24),offDisabledComponentOpacity:pe.extend("--ft-toggle-off-disabled-component-opacity","",he.opacity40),offBackgroundColor:pe.extend("--ft-toggle-off-background-color","",Me.contentGlobalSubtle),offIconColor:pe.extend("--ft-toggle-off-icon-color","",Me.contentGlobalSubtle),offStateLayerColor:pe.extend("--ft-toggle-off-state-layer-color","",Me.contentGlobalSubtle),onHoverStateLayerOpacity:pe.extend("--ft-toggle-on-hover-state-layer-opacity","",he.opacity16),onFocusStateLayerOpacity:pe.extend("--ft-toggle-on-focus-state-layer-opacity","",he.opacity16),onActiveStateLayerOpacity:pe.extend("--ft-toggle-on-active-state-layer-opacity","",he.opacity24),onDisabledComponentOpacity:pe.extend("--ft-toggle-on-disabled-component-opacity","",he.opacity40),onBackgroundColor:pe.extend("--ft-toggle-on-background-color","",Me.contentActionPrimary),onStateLayerColor:pe.extend("--ft-toggle-on-state-layer-color","",Me.contentActionPrimary),onIconColor:pe.extend("--ft-toggle-on-icon-color","",Me.contentActionPrimary),color:pe.extend("--ft-toggle-color","",Me.contentGlobalPrimary),focusFocusRingColor:pe.extend("--ft-toggle-focus-focus-ring-color","",Me.borderActionFocusRing),gap:pe.extend("--ft-toggle-gap","",he.spacing3)},sr={color:pe.extend("--ft-radio-color","",Me.contentGlobalPrimary),selectedRadioColor:pe.extend("--ft-radio-selected-radio-color","",Me.contentActionPrimary),selectedStateLayerColor:pe.extend("--ft-radio-selected-state-layer-color","",Me.contentActionPrimary),selectedHoverStateLayerOpacity:pe.extend("--ft-radio-selected-hover-state-layer-opacity","",he.opacity16),selectedFocusStateLayerOpacity:pe.extend("--ft-radio-selected-focus-state-layer-opacity","",he.opacity16),selectedActiveStateLayerOpacity:pe.extend("--ft-radio-selected-active-state-layer-opacity","",he.opacity24),selectedDisabledComponentOpacity:pe.extend("--ft-radio-selected-disabled-component-opacity","",he.opacity40),unselectedStateLayerColor:pe.extend("--ft-radio-unselected-state-layer-color","",Me.borderInputPrimary),unselectedBorderColor:pe.extend("--ft-radio-unselected-border-color","",Me.borderInputPrimary),unselectedHoverStateLayerOpacity:pe.extend("--ft-radio-unselected-hover-state-layer-opacity","",he.opacity16),unselectedFocusStateLayerOpacity:pe.extend("--ft-radio-unselected-focus-state-layer-opacity","",he.opacity16),unselectedActiveStateLayerOpacity:pe.extend("--ft-radio-unselected-active-state-layer-opacity","",he.opacity24),unselectedDisabledComponentOpacity:pe.extend("--ft-radio-unselected-disabled-component-opacity","",he.opacity40),focusFocusRingColor:pe.extend("--ft-radio-focus-focus-ring-color","",Me.borderActionFocusRing),focusOutlineOffset:pe.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:pe.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:pe.extend("--ft-radio-gap","",he.spacing3)},fr={iconSize:pe.extend("--ft-notification-icon-size","",he.iconSize4),horizontalPadding:pe.extend("--ft-notification-horizontal-padding","",he.spacing4),verticalPadding:pe.extend("--ft-notification-vertical-padding","",he.spacing4),infoBackgroundColor:pe.extend("--ft-notification-info-background-color","",Me.backgroundInfoSubtle),infoColor:pe.extend("--ft-notification-info-color","",Me.contentInfoPrimary),infoIconColor:pe.extend("--ft-notification-info-icon-color","",Me.contentInfoIconOnly),infoBorderColor:pe.extend("--ft-notification-info-border-color","",Me.borderInfoSubtle),successBackgroundColor:pe.extend("--ft-notification-success-background-color","",Me.backgroundSuccessSubtle),successColor:pe.extend("--ft-notification-success-color","",Me.contentSuccessPrimary),successIconColor:pe.extend("--ft-notification-success-icon-color","",Me.contentSuccessIconOnly),successBorderColor:pe.extend("--ft-notification-success-border-color","",Me.borderSuccessSubtle),warningBackgroundColor:pe.extend("--ft-notification-warning-background-color","",Me.backgroundWarningSubtle),warningColor:pe.extend("--ft-notification-warning-color","",Me.contentWarningPrimary),warningIconColor:pe.extend("--ft-notification-warning-icon-color","",Me.contentWarningIconOnly),warningBorderColor:pe.extend("--ft-notification-warning-border-color","",Me.borderWarningSubtle),errorBackgroundColor:pe.extend("--ft-notification-error-background-color","",Me.backgroundErrorSubtle),errorColor:pe.extend("--ft-notification-error-color","",Me.contentErrorPrimary),errorIconColor:pe.extend("--ft-notification-error-icon-color","",Me.contentErrorIconOnly),errorBorderColor:pe.extend("--ft-notification-error-border-color","",Me.borderErrorSubtle),borderRadius:pe.extend("--ft-notification-border-radius","",he.borderRadiusPill),borderWidth:pe.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:pe.extend("--ft-notification-leading-gap","",he.spacing2),trailingGap:pe.extend("--ft-notification-trailing-gap","",he.spacing8)},ur={horizontalPadding:pe.extend("--ft-tooltip-horizontal-padding","",he.spacing2),verticalPadding:pe.extend("--ft-tooltip-vertical-padding","",he.spacing2),borderRadius:pe.extend("--ft-tooltip-border-radius","",he.borderRadiusS),color:pe.extend("--ft-tooltip-color","",Me.contentGlobalOnColor),backgroundColor:pe.extend("--ft-tooltip-background-color","",Me.contentGlobalPrimary),backgroundOpacity:pe.extend("--ft-tooltip-background-opacity","",he.opacity80),shadow:pe.extend("--ft-tooltip-shadow","",he.shadowElevation03),maxWidth:pe.create("--ft-tooltip-max-width","","SIZE","256px"),gap:pe.extend("--ft-tooltip-gap","",he.spacing05)};var dr=Object.freeze({__proto__:null,FtCssVariableFactory:pe,banner:$e,border:ir,breadcrumb:He,button:De,chart:rr,checkbox:cr,chip:nr,collapsible:or,comboboxMultiSelect:Xe,comboboxSingleSelect:Je,floatingMenu:Ye,foundation:he,modal:Ge,notice:ar,notification:fr,pageHeader:Te,popover:Qe,radio:sr,semantic:Me,setVariable:function(t,o){return de(`${t.name}: ${o}`)},switch_:er,tabs:tr,textArea:qe,textInput:Ve,toggle:lr,tooltip:ur,typographies:je,typographyBody1Medium:ve,typographyBody1Regular:Oe,typographyBody1Semibold:Se,typographyBody2Medium:we,typographyBody2MediumUnderline:Ne,typographyBody2Regular:xe,typographyBody2Semibold:Ce,typographyCaption1Bold:ze,typographyCaption1Medium:ke,typographyCaption1Semibold:Fe,typographyCaption2Bold:_e,typographyCaption2Medium:Ae,typographyCaption2Semibold:Be,typographyCaption3Bold:Ze,typographyCaption3Medium:Ke,typographyCaption3Semibold:Pe,typographyDisplay:ye,typographyLabel1Bold:Ie,typographyLabel1Medium:Ee,typographyLabel1Semibold:Re,typographyLabel2Bold:We,typographyLabel2Medium:Le,typographyLabel2Semibold:Ue,typographyTitle1:ge,typographyTitle2:be,typographyTitle3:me,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 pr={colorPrimary:pe.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:pe.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:pe.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:pe.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:pe.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:pe.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:pe.create("--ft-color-error","","COLOR","#B00020"),colorOutline:pe.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:pe.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:pe.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:pe.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:pe.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:pe.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:pe.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:pe.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:pe.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:pe.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:pe.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:pe.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:pe.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:pe.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:pe.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:pe.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:pe.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:pe.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:pe.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:pe.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:pe.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:pe.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:pe.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:pe.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:pe.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:pe.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:pe.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:pe.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:pe.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:pe.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:pe.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:pe.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:pe.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:pe.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:pe.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:pe.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:pe.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:pe.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:pe.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:pe.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:pe.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:pe.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:pe.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:pe.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:pe.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:pe.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:pe.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:pe.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:pe.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:pe.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:pe.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:pe.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:pe.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:pe.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:pe.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var hr=Object.freeze({__proto__:null,designSystemVariables:pr});class yr extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class gr extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class br extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var mr=Object.freeze({__proto__:null,FtNotificationEvent:yr,PostResizeEvent:br,PreResizeEvent:gr});const Or=["start","end"],vr=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Or[0],o+"-"+Or[1])),[]),Sr=Math.min,xr=Math.max,wr=Math.round,Nr=t=>({x:t,y:t}),Cr={left:"right",right:"left",bottom:"top",top:"bottom"},Er={start:"end",end:"start"};function Rr(t,o,e){return xr(t,Sr(o,e))}function Ir(t,o){return"function"==typeof t?t(o):t}function Lr(t){return t.split("-")[0]}function Ur(t){return t.split("-")[1]}function Wr(t){return"x"===t?"y":"x"}function kr(t){return"y"===t?"height":"width"}function Fr(t){return["top","bottom"].includes(Lr(t))?"y":"x"}function zr(t){return Wr(Fr(t))}function Ar(t){return t.replace(/left|right|bottom|top/g,(t=>Cr[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=Fr(o),a=zr(o),c=kr(a),l=Lr(o),s="y"===i,f=r.x+r.width/2-n.width/2,u=r.y+r.height/2-n.height/2,d=r[c]/2-n[c]/2;let p;switch(l){case"top":p={x:f,y:r.y-n.height};break;case"bottom":p={x:f,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:u};break;case"left":p={x:r.x-n.width,y:u};break;default:p={x:r.x,y:r.y}}switch(Ur(o)){case"start":p[a]-=d*(e&&s?-1:1);break;case"end":p[a]+=d*(e&&s?-1:1)}return p}async function Kr(t,o){var e;void 0===o&&(o={});const{x:r,y:n,platform:i,rects:a,elements:c,strategy:l}=t,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:d=!1,padding:p=0}=Ir(o,t),h=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}}(p),y=c[d?"floating"===u?"reference":"floating":u],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(c.floating)),boundary:s,rootBoundary:f,strategy:l})),b="floating"===u?{...a.floating,x:r,y:n}:a.reference,m=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c.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:l}):b);return{top:(g.top-v.top+h.top)/O.y,bottom:(v.bottom-g.bottom+h.bottom)/O.y,left:(g.left-v.left+h.left)/O.x,right:(v.right-g.right+h.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=>Lr(t)===t))).filter((e=>!t||(Ur(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Er[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:c,platform:l,elements:s}=o,{crossAxis:f=!1,alignment:u,allowedPlacements:d=vr,autoAlignment:p=!0,...h}=Ir(t,o),y=void 0!==u||d===vr?Pr(u||null,p,d):d,g=await Kr(o,h),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=zr(t),i=kr(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==l.isRTL?void 0:l.isRTL(s.floating)));if(c!==m)return{reset:{placement:y[0]}};const v=[g[Lr(m)],g[O[0]],g[O[1]]],S=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:v}],x=y[b+1];if(x)return{data:{index:b+1,overflows:S},reset:{placement:x}};const w=S.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!==c?{data:{index:b+1,overflows:S},reset:{placement:C}}:{}}}};function jr(t){return $r(t)?(t.nodeName||"").toLowerCase():"#document"}function Mr(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Dr(t){var o;return null==(o=($r(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function $r(t){return t instanceof Node||t instanceof Mr(t).Node}function Hr(t){return t instanceof Element||t instanceof Mr(t).Element}function Tr(t){return t instanceof HTMLElement||t instanceof Mr(t).HTMLElement}function Gr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Mr(t).ShadowRoot)}function Vr(t){const{overflow:o,overflowX:e,overflowY:r,display:n}=Qr(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(n)}function qr(t){return["table","td","th"].includes(jr(t))}function Yr(t){const o=Jr(),e=Qr(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 Jr(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Xr(t){return["html","body","#document"].includes(jr(t))}function Qr(t){return Mr(t).getComputedStyle(t)}function tn(t){return Hr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function on(t){if("html"===jr(t))return t;const o=t.assignedSlot||t.parentNode||Gr(t)&&t.host||Dr(t);return Gr(o)?o.host:o}function en(t){const o=on(t);return Xr(o)?t.ownerDocument?t.ownerDocument.body:t.body:Tr(o)&&Vr(o)?o:en(o)}function rn(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const n=en(t),i=n===(null==(r=t.ownerDocument)?void 0:r.body),a=Mr(n);return i?o.concat(a,a.visualViewport||[],Vr(n)?n:[],a.frameElement&&e?rn(a.frameElement):[]):o.concat(n,rn(n,[],e))}function nn(t){const o=Qr(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const n=Tr(t),i=n?t.offsetWidth:e,a=n?t.offsetHeight:r,c=wr(e)!==i||wr(r)!==a;return c&&(e=i,r=a),{width:e,height:r,$:c}}function an(t){return Hr(t)?t:t.contextElement}function cn(t){const o=an(t);if(!Tr(o))return Nr(1);const e=o.getBoundingClientRect(),{width:r,height:n,$:i}=nn(o);let a=(i?wr(e.width):e.width)/r,c=(i?wr(e.height):e.height)/n;return a&&Number.isFinite(a)||(a=1),c&&Number.isFinite(c)||(c=1),{x:a,y:c}}const ln=Nr(0);function sn(t){const o=Mr(t);return Jr()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ln}function fn(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const n=t.getBoundingClientRect(),i=an(t);let a=Nr(1);o&&(r?Hr(r)&&(a=cn(r)):a=cn(t));const c=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Mr(t))&&o}(i,e,r)?sn(i):Nr(0);let l=(n.left+c.x)/a.x,s=(n.top+c.y)/a.y,f=n.width/a.x,u=n.height/a.y;if(i){const t=Mr(i),o=r&&Hr(r)?Mr(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=cn(e),o=e.getBoundingClientRect(),r=Qr(e),n=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,i=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;l*=t.x,s*=t.y,f*=t.x,u*=t.y,l+=n,s+=i,e=Mr(e).frameElement}}return Br({width:f,height:u,x:l,y:s})}function un(t){return fn(Dr(t)).left+tn(t).scrollLeft}function dn(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Mr(t),r=Dr(t),n=e.visualViewport;let i=r.clientWidth,a=r.clientHeight,c=0,l=0;if(n){i=n.width,a=n.height;const t=Jr();(!t||t&&"fixed"===o)&&(c=n.offsetLeft,l=n.offsetTop)}return{width:i,height:a,x:c,y:l}}(t,e);else if("document"===o)r=function(t){const o=Dr(t),e=tn(t),r=t.ownerDocument.body,n=xr(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),i=xr(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+un(t);const c=-e.scrollTop;return"rtl"===Qr(r).direction&&(a+=xr(o.clientWidth,r.clientWidth)-n),{width:n,height:i,x:a,y:c}}(Dr(t));else if(Hr(o))r=function(t,o){const e=fn(t,!0,"fixed"===o),r=e.top+t.clientTop,n=e.left+t.clientLeft,i=Tr(t)?cn(t):Nr(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=sn(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return Br(r)}function pn(t,o){const e=on(t);return!(e===o||!Hr(e)||Xr(e))&&("fixed"===Qr(e).position||pn(e,o))}function hn(t,o,e){const r=Tr(o),n=Dr(o),i="fixed"===e,a=fn(t,!0,i,o);let c={scrollLeft:0,scrollTop:0};const l=Nr(0);if(r||!r&&!i)if(("body"!==jr(o)||Vr(n))&&(c=tn(o)),r){const t=fn(o,!0,i,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else n&&(l.x=un(n));return{x:a.left+c.scrollLeft-l.x,y:a.top+c.scrollTop-l.y,width:a.width,height:a.height}}function yn(t,o){return Tr(t)&&"fixed"!==Qr(t).position?o?o(t):t.offsetParent:null}function gn(t,o){const e=Mr(t);if(!Tr(t))return e;let r=yn(t,o);for(;r&&qr(r)&&"static"===Qr(r).position;)r=yn(r,o);return r&&("html"===jr(r)||"body"===jr(r)&&"static"===Qr(r).position&&!Yr(r))?e:r||function(t){let o=on(t);for(;Tr(o)&&!Xr(o);){if(Yr(o))return o;o=on(o)}return null}(t)||e}const bn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const n=Tr(e),i=Dr(e);if(e===i)return o;let a={scrollLeft:0,scrollTop:0},c=Nr(1);const l=Nr(0);if((n||!n&&"fixed"!==r)&&(("body"!==jr(e)||Vr(i))&&(a=tn(e)),Tr(e))){const t=fn(e);c=cn(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*c.x,height:o.height*c.y,x:o.x*c.x-a.scrollLeft*c.x+l.x,y:o.y*c.y-a.scrollTop*c.y+l.y}},getDocumentElement:Dr,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=rn(t,[],!1).filter((t=>Hr(t)&&"body"!==jr(t))),n=null;const i="fixed"===Qr(t).position;let a=i?on(t):t;for(;Hr(a)&&!Xr(a);){const o=Qr(a),e=Yr(a);e||"fixed"!==o.position||(n=null),(i?!e&&!n:!e&&"static"===o.position&&n&&["absolute","fixed"].includes(n.position)||Vr(a)&&!e&&pn(t,a))?r=r.filter((t=>t!==a)):n=o,a=on(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=i[0],c=i.reduce(((t,e)=>{const r=dn(o,e,n);return t.top=xr(r.top,t.top),t.right=Sr(r.right,t.right),t.bottom=Sr(r.bottom,t.bottom),t.left=xr(r.left,t.left),t}),dn(o,a,n));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:gn,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const n=this.getOffsetParent||gn,i=this.getDimensions;return{reference:hn(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 nn(t)},getScale:cn,isElement:Hr,isRTL:function(t){return"rtl"===Qr(t).direction}},mn=(t,o,e)=>{const r=new Map,n={platform:bn,...e},i={...n.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:n="absolute",middleware:i=[],platform:a}=e,c=i.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let s=await a.getElementRects({reference:t,floating:o,strategy:n}),{x:f,y:u}=_r(s,r,l),d=r,p={},h=0;for(let e=0;e<c.length;e++){const{name:i,fn:y}=c[e],{x:g,y:b,data:m,reset:O}=await y({x:f,y:u,initialPlacement:r,placement:d,strategy:n,middlewareData:p,rects:s,platform:a,elements:{reference:t,floating:o}});f=null!=g?g:f,u=null!=b?b:u,p={...p,[i]:{...p[i],...m}},O&&h<=50&&(h++,"object"==typeof O&&(O.placement&&(d=O.placement),O.rects&&(s=!0===O.rects?await a.getElementRects({reference:t,floating:o,strategy:n}):O.rects),({x:f,y:u}=_r(s,d,l))),e=-1)}return{x:f,y:u,placement:d,strategy:n,middlewareData:p}})(t,o,{...n,platform:i})};function On(t){return function(t){for(let o=t;o;o=vn(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=vn(t);o;o=vn(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 vn(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 mn(t,o,{platform:{...bn,getOffsetParent:t=>bn.getOffsetParent(t,On)},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:c={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=Ir(r,t),s={x:o,y:e},f=await Kr(t,l),u=Fr(Lr(n)),d=Wr(u);let p=s[d],h=s[u];if(i){const t="y"===d?"bottom":"right";p=Rr(p+f["y"===d?"top":"left"],p,p-f[t])}if(a){const t="y"===u?"bottom":"right";h=Rr(h+f["y"===u?"top":"left"],h,h-f[t])}const y=c.fn({...t,[d]:p,[u]:h});return{...y,data:{x:y.x-o,y:y.y-e}}}}),Zr({allowedPlacements:[e]})]});var r}});
137
+ */let $o=class extends Lo{constructor(t){if(super(t),this.et=H,t.type!==Ro)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===H||null==t)return this.vt=void 0,this.et=t;if(t===M)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:[]}}};$o.directiveName="unsafeHTML",$o.resultType=1;const To=Io($o);var Go=Object.freeze({__proto__:null,UnsafeHTMLDirective:$o,unsafeHTML:To});class Vo extends Error{constructor(t,o,e){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=e}}class qo extends Promise{constructor(t){super(((o,e)=>t((t=>{this.isCanceled?e(new Vo("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?e(new Vo("Promise has been canceled",void 0,t)):e(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const Yo=t=>new qo(((o,e)=>t.then(o).catch(e)));var Jo=Object.freeze({__proto__:null,CancelablePromise:qo,CanceledPromiseError:Vo,cancelable:Yo});var Xo=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 qo&&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=Yo(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 Qo{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=>Qo.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=Qo.extractResultMetadata(this.selectedResult).find((o=>o.key===t));const r=this.allResults.flatMap((o=>Qo.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=>Qo.extractResultMetadata(e).find((e=>e.key===t&&e.value===o))));let r,n=Qo.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 Qo.extractResultMetadata(t).filter((t=>o.some((o=>o.key===t.key&&o.value===t.value)))).length}}var te=Object.freeze({__proto__:null,ClusteringHelper:Qo});class oe{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 ee=Object.freeze({__proto__:null,Debouncer:oe});const re=t=>new Promise((o=>setTimeout(o,t)));async function ne(t,o=10,e=2e4){let r,n,i=await t();for(r=n=performance.now();null==i&&(!e||n-r<e);)await re(o),i=await t(),n=performance.now();if(null==i)throw new Error("Timeout exceeded");return i}function ie(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 ae(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(!ae(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(!ae(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(!ae(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)?ie(e):e}},deepEqual:ae,delay:re,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:ie,waitFor:ne,waitUntil:async function(t,o=10,e=2e4){await ne((async()=>await t()||void 0),o,e)}});const le=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function se(t,o){const e=()=>JSON.parse(JSON.stringify(t));return xo({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)=>!ae(t,o),...null!=o?o:{}})}function fe(t){return!isNaN(parseFloat(t))}var de=Object.freeze({__proto__:null,customElement:le,isNumber:fe,jsonProperty:se,optionalNumberProperty:function(t){return xo({type:Object,converter:{fromAttribute:t=>{if(null!=t)return fe(t)?+t:void 0},toAttribute:t=>null==t?void 0:""+t},...null!=t?t:{}})}});const ue=t=>"string"==typeof t?ft(t):t;class pe{static create(t,o,e,r){const n=t=>ue(null!=t?t:r),i=dt`var(${ue(t)}, ${n(r)})`;return i.name=t,i.description=o,i.category=e,i.defaultValue=r,i.defaultCssValue=n,i.get=o=>dt`var(${ue(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=dt`var(${ue(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=>dt`var(${ue(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):ue(null!=o?o:t.lastResortDefaultValue()),r=dt`var(${ue(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=>dt`var(${ue(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const he={colorWhite:pe.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:pe.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:pe.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:pe.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:pe.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:pe.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:pe.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:pe.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:pe.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:pe.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:pe.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:pe.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:pe.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:pe.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:pe.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:pe.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:pe.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:pe.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:pe.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:pe.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:pe.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:pe.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:pe.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:pe.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:pe.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:pe.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:pe.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:pe.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:pe.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:pe.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:pe.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:pe.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:pe.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:pe.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:pe.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:pe.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:pe.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:pe.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:pe.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:pe.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:pe.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:pe.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:pe.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:pe.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:pe.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:pe.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:pe.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:pe.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:pe.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:pe.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:pe.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:pe.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:pe.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:pe.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:pe.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:pe.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:pe.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:pe.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:pe.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:pe.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:pe.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:pe.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:pe.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:pe.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:pe.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:pe.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:pe.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:pe.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:pe.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:pe.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:pe.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:pe.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:pe.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:pe.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:pe.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:pe.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:pe.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:pe.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:pe.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:pe.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:pe.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:pe.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:pe.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:pe.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:pe.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:pe.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:pe.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:pe.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:pe.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:pe.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:pe.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:pe.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:pe.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:pe.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:pe.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:pe.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:pe.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:pe.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:pe.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:pe.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:pe.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:pe.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:pe.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:pe.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:pe.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:pe.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:pe.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:pe.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:pe.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:pe.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:pe.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:pe.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:pe.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:pe.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:pe.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:pe.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:pe.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:pe.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:pe.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:pe.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:pe.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:pe.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:pe.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:pe.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:pe.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:pe.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:pe.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:pe.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:pe.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:pe.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:pe.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:pe.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:pe.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:pe.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:pe.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:pe.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:pe.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:pe.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:pe.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:pe.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:pe.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:pe.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:pe.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:pe.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:pe.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:pe.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:pe.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:pe.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:pe.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:pe.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:pe.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:pe.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:pe.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:pe.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:pe.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:pe.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:pe.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:pe.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:pe.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:pe.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:pe.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:pe.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:pe.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:pe.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:pe.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:pe.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:pe.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:pe.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:pe.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:pe.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:pe.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:pe.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:pe.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:pe.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:pe.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:pe.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:pe.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:pe.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:pe.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:pe.create("--ft-icon-size-6","","SIZE","48px"),opacity0:pe.create("--ft-opacity-0","","NUMBER","0"),opacity8:pe.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:pe.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:pe.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:pe.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:pe.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:pe.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:pe.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:pe.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:pe.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:pe.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:pe.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:pe.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:pe.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:pe.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)")},ge={fontFamily:pe.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:pe.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:pe.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:pe.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:pe.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:pe.create("--ft-typography-display-textCase","","UNKNOWN","none")},ye={fontFamily:pe.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:pe.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:pe.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:pe.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:pe.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:pe.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},be={fontFamily:pe.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:pe.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:pe.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:pe.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:pe.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:pe.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},me={fontFamily:pe.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:pe.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:pe.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:pe.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:pe.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:pe.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Oe={fontFamily:pe.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:pe.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:pe.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:pe.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:pe.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:pe.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},ve={fontFamily:pe.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:pe.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:pe.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:pe.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:pe.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:pe.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Se={fontFamily:pe.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:pe.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:pe.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:pe.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:pe.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:pe.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},xe={fontFamily:pe.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:pe.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:pe.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:pe.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:pe.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:pe.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},we={fontFamily:pe.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:pe.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:pe.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:pe.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:pe.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:pe.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Ne={fontFamily:pe.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:pe.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:pe.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:pe.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:pe.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:pe.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:pe.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Ce={fontFamily:pe.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:pe.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:pe.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:pe.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:pe.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:pe.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Ee={fontFamily:pe.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:pe.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:pe.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:pe.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:pe.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:pe.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Re={fontFamily:pe.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:pe.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:pe.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:pe.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:pe.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:pe.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Ie={fontFamily:pe.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:pe.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:pe.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:pe.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:pe.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:pe.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Le={fontFamily:pe.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:pe.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:pe.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:pe.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:pe.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:pe.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},We={fontFamily:pe.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:pe.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:pe.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:pe.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:pe.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:pe.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Ue={fontFamily:pe.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:pe.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:pe.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:pe.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:pe.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:pe.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},ke={fontFamily:pe.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:pe.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:pe.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:pe.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:pe.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:pe.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},ze={fontFamily:pe.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:pe.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:pe.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:pe.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:pe.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:pe.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Be={fontFamily:pe.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:pe.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:pe.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:pe.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:pe.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:pe.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Fe={fontFamily:pe.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:pe.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:pe.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:pe.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:pe.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:pe.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Ae={fontFamily:pe.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:pe.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:pe.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:pe.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:pe.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:pe.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},_e={fontFamily:pe.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:pe.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:pe.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:pe.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:pe.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:pe.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Pe={fontFamily:pe.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:pe.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:pe.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:pe.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:pe.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:pe.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Ze={fontFamily:pe.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:pe.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:pe.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:pe.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:pe.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:pe.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Ke={fontFamily:pe.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:pe.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:pe.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:pe.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:pe.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:pe.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:pe.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:pe.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:pe.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},je={display:ge,"title-1":ye,"title-2":be,"title-3":me,"body-1-regular":Oe,"body-1-medium":ve,"body-1-semibold":Se,"body-2-regular":xe,"body-2-medium":we,"body-2-medium-underline":Ne,"body-2-semibold":Ce,"label-1-medium":Ee,"label-1-semibold":Re,"label-1-bold":Ie,"label-2-medium":Le,"label-2-semibold":We,"label-2-bold":Ue,"caption-1-medium":ke,"caption-1-semibold":ze,"caption-1-bold":Be,"caption-2-medium":Fe,"caption-2-semibold":Ae,"caption-2-bold":_e,"caption-3-medium":Pe,"caption-3-semibold":Ze,"caption-3-bold":Ke},Me={backgroundActionPrimary:pe.extend("--ft-background-action-primary","Used as backgorund of primary action components.",he.colorBrand0),backgroundErrorSubtle:pe.extend("--ft-background-error-subtle","Used as background of subtle error components.",he.colorRed10),backgroundInfoSubtle:pe.extend("--ft-background-info-subtle","Used as background of subtle information components.",he.colorCyan10),backgroundWarningSubtle:pe.extend("--ft-background-warning-subtle","Used as background of subtle information components.",he.colorOrange10),backgroundSuccessSubtle:pe.extend("--ft-background-success-subtle","Used as background of subtle success components.",he.colorGreen10),backgroundGlobalSurface:pe.extend("--ft-background-global-surface","Used as app background.",he.colorWhite),backgroundGlobalOnSurface:pe.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",he.colorGray10),backgroundGlobalOnSurfaceDark:pe.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",he.colorGray30),contentActionPrimary:pe.extend("--ft-content-action-primary","Used on label of primary action on light surface.",he.colorBrand0),contentWarningPrimary:pe.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",he.colorOrange200),contentWarningIconOnly:pe.extend("--ft-content-warning-icon-only","Used on warning status icons alone",he.colorOrange0),contentErrorPrimary:pe.extend("--ft-content-error-primary","Used on label of error messages on light surface.",he.colorRed0),contentErrorIconOnly:pe.extend("--ft-content-error-icon-only","Used on error status icons alone",he.colorRed70),contentInfoPrimary:pe.extend("--ft-content-info-primary","Used on label of information messages on light surface.",he.colorCyan200),contentInfoIconOnly:pe.extend("--ft-content-info-icon-only","Used on info status icons alone",he.colorCyan0),contentSuccessPrimary:pe.extend("--ft-content-success-primary","Used on label of success messages on light surface.",he.colorGreen200),contentSuccessIconOnly:pe.extend("--ft-content-success-icon-only","Used on success status icons alone",he.colorGreen0),contentGlobalPrimary:pe.extend("--ft-content-global-primary","Used for main content on the page.",he.colorGray500),contentGlobalSecondary:pe.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",he.colorGray200),contentGlobalSubtle:pe.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",he.colorGray0),contentGlobalOnColor:pe.extend("--ft-content-global-on-color","Used for content on a dominant color.",he.colorWhite),borderActionPrimary:pe.extend("--ft-border-action-primary","Used as border for primary action components.",he.colorBrand0),borderActionFocusRing:pe.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",he.colorCyan0),borderWarningPrimary:pe.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",he.colorOrange200),borderWarningSubtle:pe.extend("--ft-border-warning-subtle","Used as border for warning components.",he.colorOrange30),borderSuccessPrimary:pe.extend("--ft-border-success-primary","Used as border for success buttons.",he.colorGreen200),borderSuccessSubtle:pe.extend("--ft-border-success-subtle","Used as border for success components.",he.colorGreen30),borderErrorPrimary:pe.extend("--ft-border-error-primary","Used as border for text fields in error states.",he.colorRed0),borderErrorSubtle:pe.extend("--ft-border-error-subtle","Used as border for error components.",he.colorRed30),borderInfoPrimary:pe.extend("--ft-border-info-primary","Used as border for buttons in info color.",he.colorCyan200),borderInfoSubtle:pe.extend("--ft-border-info-subtle","Used as border for information components.",he.colorCyan30),borderGlobalPrimary:pe.extend("--ft-border-global-primary","Used as border for element like input.",he.colorGray50),borderGlobalSubtle:pe.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",he.colorGray30),borderInputPrimary:pe.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",he.colorGray80)},He={largeHeight:pe.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:pe.extend("--ft-button-large-horizontal-padding","",he.spacing4),largeGap:pe.extend("--ft-button-large-gap","",he.spacing2),largeBorderRadius:pe.extend("--ft-button-large-border-radius","",he.borderRadiusS),largeIconSize:pe.extend("--ft-button-large-icon-size","",he.iconSize3),largeBorderWidth:pe.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:pe.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:pe.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:pe.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:pe.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:pe.extend("--ft-button-small-horizontal-padding","",he.spacing3),smallGap:pe.extend("--ft-button-small-gap","",he.spacing2),smallBorderRadius:pe.extend("--ft-button-small-border-radius","",he.borderRadiusS),smallIconSize:pe.extend("--ft-button-small-icon-size","",he.iconSize2),smallBorderWidth:pe.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:pe.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:pe.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:pe.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:pe.extend("--ft-button-primary-background-color","",Me.backgroundActionPrimary),primaryColor:pe.extend("--ft-button-primary-color","",Me.contentGlobalOnColor),primaryIconColor:pe.extend("--ft-button-primary-icon-color","",Me.contentGlobalOnColor),primaryStateLayerColor:pe.extend("--ft-button-primary-state-layer-color","",Me.contentGlobalOnColor),primaryHoverStateLayerOpacity:pe.extend("--ft-button-primary-hover-state-layer-opacity","",he.opacity16),primaryFocusStateLayerOpacity:pe.extend("--ft-button-primary-focus-state-layer-opacity","",he.opacity16),primaryActiveStateLayerOpacity:pe.extend("--ft-button-primary-active-state-layer-opacity","",he.opacity24),primaryDisabledComponentOpacity:pe.extend("--ft-button-primary-disabled-component-opacity","",he.opacity40),focusFocusRingColor:pe.extend("--ft-button-focus-focus-ring-color","",Me.borderActionFocusRing),tertiaryBackgroundColor:pe.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:pe.extend("--ft-button-tertiary-color","",Me.contentActionPrimary),tertiaryIconColor:pe.extend("--ft-button-tertiary-icon-color","",Me.contentActionPrimary),tertiaryStateLayerColor:pe.extend("--ft-button-tertiary-state-layer-color","",Me.contentActionPrimary),tertiaryHoverStateLayerOpacity:pe.extend("--ft-button-tertiary-hover-state-layer-opacity","",he.opacity8),tertiaryFocusStateLayerOpacity:pe.extend("--ft-button-tertiary-focus-state-layer-opacity","",he.opacity8),tertiaryActiveStateLayerOpacity:pe.extend("--ft-button-tertiary-active-state-layer-opacity","",he.opacity16),tertiaryDisabledComponentOpacity:pe.extend("--ft-button-tertiary-disabled-component-opacity","",he.opacity40),secondaryBackgroundColor:pe.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:pe.extend("--ft-button-secondary-color","",Me.contentActionPrimary),secondaryIconColor:pe.extend("--ft-button-secondary-icon-color","",Me.contentActionPrimary),secondaryStateLayerColor:pe.extend("--ft-button-secondary-state-layer-color","",Me.contentActionPrimary),secondaryHoverStateLayerOpacity:pe.extend("--ft-button-secondary-hover-state-layer-opacity","",he.opacity8),secondaryFocusStateLayerOpacity:pe.extend("--ft-button-secondary-focus-state-layer-opacity","",he.opacity8),secondaryActiveStateLayerOpacity:pe.extend("--ft-button-secondary-active-state-layer-opacity","",he.opacity16),secondaryDisabledComponentOpacity:pe.extend("--ft-button-secondary-disabled-component-opacity","",he.opacity40),secondaryBorderColor:pe.extend("--ft-button-secondary-border-color","",Me.borderActionPrimary),neutralBackgroundColor:pe.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:pe.extend("--ft-button-neutral-icon-color","",Me.contentGlobalSecondary),neutralColor:pe.extend("--ft-button-neutral-color","",Me.contentGlobalSecondary),neutralStateLayerColor:pe.extend("--ft-button-neutral-state-layer-color","",Me.contentGlobalSecondary),neutralHoverStateLayerOpacity:pe.extend("--ft-button-neutral-hover-state-layer-opacity","",he.opacity8),neutralFocusStateLayerOpacity:pe.extend("--ft-button-neutral-focus-state-layer-opacity","",he.opacity8),neutralActiveStateLayerOpacity:pe.extend("--ft-button-neutral-active-state-layer-opacity","",he.opacity16),neutralDisabledComponentOpacity:pe.extend("--ft-button-neutral-disabled-component-opacity","",he.opacity40)},De={iconSize:pe.extend("--ft-banner-icon-size","",he.iconSize5),borderWidth:pe.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:pe.extend("--ft-banner-horizontal-padding","",he.spacing6),verticalPadding:pe.extend("--ft-banner-vertical-padding","",he.spacing6),horizontalSideGap:pe.extend("--ft-banner-horizontal-side-gap","",he.spacing6),horizontalMobileGap:pe.extend("--ft-banner-horizontal-mobile-gap","",he.spacing4),verticalMobileGap:pe.extend("--ft-banner-vertical-mobile-gap","",he.spacing6),horizontalMiddleGap:pe.extend("--ft-banner-horizontal-middle-gap","",he.spacing20),infoBackgroundColor:pe.extend("--ft-banner-info-background-color","",Me.backgroundInfoSubtle),infoColor:pe.extend("--ft-banner-info-color","",Me.contentInfoPrimary),infoIconColor:pe.extend("--ft-banner-info-icon-color","",Me.contentInfoIconOnly)},$e={horizontalGap:pe.extend("--ft-breadcrumb-horizontal-gap","",he.spacing1),verticalGap:pe.extend("--ft-breadcrumb-vertical-gap","",he.spacing2),currentElementColor:pe.extend("--ft-breadcrumb-current-element-color","",Me.contentGlobalPrimary),iconColor:pe.extend("--ft-breadcrumb-icon-color","",Me.contentGlobalSubtle)},Te={horizontalPadding:pe.extend("--ft-page-header-horizontal-padding","",he.spacing12),horizontalGap:pe.extend("--ft-page-header-horizontal-gap","",he.spacing4),verticalGap:pe.extend("--ft-page-header-vertical-gap","",he.spacing2),classicVerticalPadding:pe.extend("--ft-page-header-classic-vertical-padding","",he.spacing6),multilineVerticalPadding:pe.extend("--ft-page-header-multiline-vertical-padding","",he.spacing4),inlineVerticalPadding:pe.extend("--ft-page-header-inline-vertical-padding","",he.spacing2),backgroundColor:pe.extend("--ft-page-header-background-color","",he.colorWhite),bottomBorderColor:pe.extend("--ft-page-header-bottom-border-color","",Me.borderGlobalSubtle),titleColor:pe.extend("--ft-page-header-title-color","",Me.contentGlobalPrimary),subtitleColor:pe.extend("--ft-page-header-subtitle-color","",Me.contentGlobalSecondary)},Ge={smallContainerWidth:pe.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:pe.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:pe.extend("--ft-modal-overlay-background-color","",he.colorGray700),overlayOpacity:pe.extend("--ft-modal-overlay-opacity","",he.opacity40),shadow:pe.extend("--ft-modal-shadow","",he.shadowElevation03),bodyBackgroundColor:pe.extend("--ft-modal-body-background-color","",he.colorWhite),bodyColor:pe.extend("--ft-modal-body-color","",Me.contentGlobalPrimary),bodyHorizontalPadding:pe.extend("--ft-modal-body-horizontal-padding","",he.spacing6),bodyVerticalPadding:pe.extend("--ft-modal-body-vertical-padding","",he.spacing6),bodyVerticalGap:pe.extend("--ft-modal-body-vertical-gap","",he.spacing6),containerMargin:pe.extend("--ft-modal-container-margin","",he.spacing3),headerBackgroundColor:pe.extend("--ft-modal-header-background-color","",Me.backgroundGlobalOnSurface),headerBorderColor:pe.extend("--ft-modal-header-border-color","",Me.borderGlobalSubtle),headerColor:pe.extend("--ft-modal-header-color","",Me.contentGlobalPrimary),headerTrailingIconColor:pe.extend("--ft-modal-header-trailing-icon-color","",Me.contentGlobalSecondary),headerVerticalPadding:pe.extend("--ft-modal-header-vertical-padding","",he.spacing1),headerRightPadding:pe.extend("--ft-modal-header-right-padding","",he.spacing1),headerLeftPadding:pe.extend("--ft-modal-header-left-padding","",he.spacing6),headerGap:pe.extend("--ft-modal-header-gap","",he.spacing2),headerBorderBottom:pe.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:pe.extend("--ft-modal-border-radius","",he.borderRadiusM)},Ve={overlayOpacity:pe.extend("--ft-drawer-overlay-opacity","",he.opacity40),shadow:pe.extend("--ft-drawer-shadow","",he.shadowElevation03),bodyColor:pe.extend("--ft-drawer-body-color","",Me.contentGlobalPrimary),bodyHorizontalPadding:pe.extend("--ft-drawer-body-horizontal-padding","",he.spacing6),bodyVerticalPadding:pe.extend("--ft-drawer-body-vertical-padding","",he.spacing6),bodyGap:pe.extend("--ft-drawer-body-gap","",he.spacing6),bodyBackgroundColor:pe.extend("--ft-drawer-body-background-color","",he.colorWhite),headerBackgroundColor:pe.extend("--ft-drawer-header-background-color","",Me.backgroundGlobalOnSurface),headerBorderColor:pe.extend("--ft-drawer-header-border-color","",Me.borderGlobalSubtle),headerColor:pe.extend("--ft-drawer-header-color","",Me.contentGlobalPrimary),headerTrailingIconColor:pe.extend("--ft-drawer-header-trailing-icon-color","",Me.contentGlobalSecondary),headerHeight:pe.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:pe.extend("--ft-drawer-header-horizontal-padding","",he.spacing2),headerBorderWidth:pe.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:pe.extend("--ft-drawer-header-gap","",he.spacing3),buttonsBarBackgroundColor:pe.extend("--ft-drawer-buttons-bar-background-color","",Me.backgroundGlobalOnSurface),buttonsBarBorderColor:pe.extend("--ft-drawer-buttons-bar-border-color","",Me.borderGlobalSubtle),buttonsBarColor:pe.extend("--ft-drawer-buttons-bar-color","",Me.contentGlobalPrimary),buttonsBarHorizontalPadding:pe.extend("--ft-drawer-buttons-bar-horizontal-padding","",he.spacing4),buttonsBarVerticalPadding:pe.extend("--ft-drawer-buttons-bar-vertical-padding","",he.spacing4),buttonsBarGap:pe.extend("--ft-drawer-buttons-bar-gap","",he.spacing3),buttonsBarBorderWidth:pe.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:pe.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:pe.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:pe.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:pe.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:pe.extend("--ft-drawer-overlay-background-color","",he.colorGray700)},qe={fieldHorizontalPadding:pe.extend("--ft-text-input-field-horizontal-padding","",he.spacing4),fieldHorizontalGap:pe.extend("--ft-text-input-field-horizontal-gap","",he.spacing3),fieldVerticalGap:pe.extend("--ft-text-input-field-vertical-gap","",he.spacing05),fieldIconSize:pe.extend("--ft-text-input-field-icon-size","",he.iconSize3),fieldHeight:pe.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:pe.extend("--ft-text-input-helper-horizontal-padding","",he.spacing4),helperHorizontalGap:pe.extend("--ft-text-input-helper-horizontal-gap","",he.spacing1),helperIconSize:pe.extend("--ft-text-input-helper-icon-size","",he.iconSize2),borderRadius:pe.extend("--ft-text-input-border-radius","",he.borderRadiusM),backgroundColor:pe.extend("--ft-text-input-background-color","",he.colorWhite),contentValueColor:pe.extend("--ft-text-input-content-value-color","",Me.contentGlobalPrimary),trailingIconColor:pe.extend("--ft-text-input-trailing-icon-color","",Me.contentGlobalSubtle),labelColor:pe.extend("--ft-text-input-label-color","",Me.contentGlobalSubtle),defaultBorderColor:pe.extend("--ft-text-input-default-border-color","",Me.borderInputPrimary),defaultHelperTextColor:pe.extend("--ft-text-input-default-helper-text-color","",Me.contentGlobalSubtle),defaultBorderWidth:pe.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:pe.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:pe.extend("--ft-text-input-error-border-color","",Me.borderErrorPrimary),errorHelperTextColor:pe.extend("--ft-text-input-error-helper-text-color","",Me.contentErrorPrimary),errorHelperIconColor:pe.extend("--ft-text-input-error-helper-icon-color","",Me.contentErrorIconOnly),warningBorderWidth:pe.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:pe.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:pe.extend("--ft-text-input-focus-focus-ring-color","",Me.borderActionFocusRing),focusOutlineOffset:pe.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:pe.extend("--ft-text-input-disabled-component-opacity","",he.opacity40)},Ye={backgroundColor:pe.extend("--ft-text-area-background-color","",he.colorWhite),contentValueColor:pe.extend("--ft-text-area-content-value-color","",Me.contentGlobalPrimary),labelColor:pe.extend("--ft-text-area-label-color","",Me.contentGlobalSubtle),defaultBorderColor:pe.extend("--ft-text-area-default-border-color","",Me.borderInputPrimary),defaultHelperTextColor:pe.extend("--ft-text-area-default-helper-text-color","",Me.contentGlobalSubtle),defaultBorderWidth:pe.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:pe.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:pe.extend("--ft-text-area-error-border-color","",Me.borderErrorPrimary),errorHelperTextColor:pe.extend("--ft-text-area-error-helper-text-color","",Me.contentErrorPrimary),errorHelperIconColor:pe.extend("--ft-text-area-error-helper-icon-color","",Me.contentErrorIconOnly),focusFocusRingColor:pe.extend("--ft-text-area-focus-focus-ring-color","",Me.borderActionFocusRing),focusOutlineWidth:pe.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:pe.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:pe.extend("--ft-text-area-disabled-component-opacity","",he.opacity40),fieldHorizontalLeftPadding:pe.extend("--ft-text-area-field-horizontal-left-padding","",he.spacing4),fieldHorizontalGap:pe.extend("--ft-text-area-field-horizontal-gap","",he.spacing3),fieldVerticalGap:pe.extend("--ft-text-area-field-vertical-gap","",he.spacing05),fieldMinHeight:pe.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:pe.extend("--ft-text-area-helper-horizontal-padding","",he.spacing4),helperHorizontalGap:pe.extend("--ft-text-area-helper-horizontal-gap","",he.spacing1),helperIconSize:pe.extend("--ft-text-area-helper-icon-size","",he.iconSize2),borderRadius:pe.extend("--ft-text-area-border-radius","",he.borderRadiusM)},Je={height:pe.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:pe.extend("--ft-floating-menu-horizontal-padding","",he.spacing4),offIconColor:pe.extend("--ft-floating-menu-off-icon-color","",Me.contentGlobalPrimary),offColor:pe.extend("--ft-floating-menu-off-color","",Me.contentGlobalPrimary),onColor:pe.extend("--ft-floating-menu-on-color","",Me.contentActionPrimary),onStateLayerColor:pe.extend("--ft-floating-menu-on-state-layer-color","",Me.contentActionPrimary),gap:pe.extend("--ft-floating-menu-gap","",he.spacing3),focusFocusRingColor:pe.extend("--ft-floating-menu-focus-focus-ring-color","",Me.borderActionFocusRing),focusOutlineWidth:pe.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:pe.extend("--ft-floating-menu-focus-state-layer-opacity","",he.opacity8),hoverStateLayerOpacity:pe.extend("--ft-floating-menu-hover-state-layer-opacity","",he.opacity8),activeStateLayerOpacity:pe.extend("--ft-floating-menu-active-state-layer-opacity","",he.opacity16),disabledComponentOpacity:pe.extend("--ft-floating-menu-disabled-component-opacity","",he.opacity40),iconSize:pe.extend("--ft-floating-menu-icon-size","",he.iconSize3),backgroundColor:pe.extend("--ft-floating-menu-background-color","",Me.backgroundGlobalOnSurface)},Xe={fieldHorizontalPadding:pe.extend("--ft-combobox-single-select-field-horizontal-padding","",he.spacing4),fieldHorizontalGap:pe.extend("--ft-combobox-single-select-field-horizontal-gap","",he.spacing3),fieldVerticalGap:pe.extend("--ft-combobox-single-select-field-vertical-gap","",he.spacing05),fieldIconSize:pe.extend("--ft-combobox-single-select-field-icon-size","",he.iconSize3),fieldHeight:pe.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:pe.extend("--ft-combobox-single-select-helper-horizontal-padding","",he.spacing4),helperHorizontalGap:pe.extend("--ft-combobox-single-select-helper-horizontal-gap","",he.spacing1),helperVerticalGap:pe.extend("--ft-combobox-single-select-helper-vertical-gap","",he.spacing1),helperIconSize:pe.extend("--ft-combobox-single-select-helper-icon-size","",he.iconSize2),menuVerticalGap:pe.extend("--ft-combobox-single-select-menu-vertical-gap","",he.spacing2),borderRadius:pe.extend("--ft-combobox-single-select-border-radius","",he.borderRadiusM),backgroundColor:pe.extend("--ft-combobox-single-select-background-color","",he.colorWhite),labelColor:pe.extend("--ft-combobox-single-select-label-color","",Me.contentGlobalSubtle),contentValueColor:pe.extend("--ft-combobox-single-select-content-value-color","",Me.contentGlobalPrimary),trailingIconColor:pe.extend("--ft-combobox-single-select-trailing-icon-color","",Me.contentGlobalSubtle),defaultBorderColor:pe.extend("--ft-combobox-single-select-default-border-color","",Me.borderInputPrimary),defaultHelperTextColor:pe.extend("--ft-combobox-single-select-default-helper-text-color","",Me.contentGlobalSubtle),defaultBorderWidth:pe.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:pe.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:pe.extend("--ft-combobox-single-select-error-border-color","",Me.borderErrorPrimary),errorHelperTextColor:pe.extend("--ft-combobox-single-select-error-helper-text-color","",Me.contentErrorPrimary),warningBorderWidth:pe.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:pe.extend("--ft-combobox-single-select-warning-border-color","",Me.borderWarningPrimary),warningHelperTextColor:pe.extend("--ft-combobox-single-select-warning-helper-text-color","",Me.contentWarningPrimary),warningHelperIconColor:pe.extend("--ft-combobox-single-select-warning-helper-icon-color","",Me.contentWarningIconOnly),focusOutlineWidth:pe.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:pe.extend("--ft-combobox-single-select-focus-focus-ring-color","",Me.borderActionFocusRing),focusOutlineOffset:pe.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:pe.extend("--ft-combobox-single-select-disabled-component-opacity","",he.opacity40)},Qe={backgroundColor:pe.extend("--ft-combobox-multi-select-background-color","",he.colorWhite),labelColor:pe.extend("--ft-combobox-multi-select-label-color","",Me.contentGlobalSubtle),trailingIconColor:pe.extend("--ft-combobox-multi-select-trailing-icon-color","",Me.contentGlobalSubtle),defaultBorderColor:pe.extend("--ft-combobox-multi-select-default-border-color","",Me.borderInputPrimary),defaultHelperTextColor:pe.extend("--ft-combobox-multi-select-default-helper-text-color","",Me.contentGlobalSubtle),defaultBorderWidth:pe.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:pe.extend("--ft-combobox-multi-select-error-border-color","",Me.borderErrorPrimary),errorHelperTextColor:pe.extend("--ft-combobox-multi-select-error-helper-text-color","",Me.contentErrorPrimary),errorHelperIcon:pe.extend("--ft-combobox-multi-select-error-helper-icon","",Me.contentErrorIconOnly),errorBorderWidth:pe.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:pe.extend("--ft-combobox-multi-select-warning-border-color","",Me.borderWarningPrimary),warningHelperTextColor:pe.extend("--ft-combobox-multi-select-warning-helper-text-color","",Me.contentWarningPrimary),warningHelperIconColor:pe.extend("--ft-combobox-multi-select-warning-helper-icon-color","",Me.contentWarningIconOnly),warningBorderWidth:pe.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:pe.extend("--ft-combobox-multi-select-focus-focus-ring-color","",Me.borderActionFocusRing),focusOutlineWidth:pe.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:pe.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:pe.extend("--ft-combobox-multi-select-disabled-component-opacity","",he.opacity40),helperHorizontalPadding:pe.extend("--ft-combobox-multi-select-helper-horizontal-padding","",he.spacing4),helperHorizontalGap:pe.extend("--ft-combobox-multi-select-helper-horizontal-gap","",he.spacing1),helperVerticalGap:pe.extend("--ft-combobox-multi-select-helper-vertical-gap","",he.spacing1),helperIconSize:pe.extend("--ft-combobox-multi-select-helper-icon-size","",he.iconSize2),fieldHorizontalPadding:pe.extend("--ft-combobox-multi-select-field-horizontal-padding","",he.spacing4),fieldHorizontalGap:pe.extend("--ft-combobox-multi-select-field-horizontal-gap","",he.spacing3),fieldVerticalGap:pe.extend("--ft-combobox-multi-select-field-vertical-gap","",he.spacing05),fieldIconSize:pe.extend("--ft-combobox-multi-select-field-icon-size","",he.iconSize3),fieldMaxHeight:pe.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:pe.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",he.spacing1),contentValuesVerticalGap:pe.extend("--ft-combobox-multi-select-content-values-vertical-gap","",he.spacing1),borderRadius:pe.extend("--ft-combobox-multi-select-border-radius","",he.borderRadiusM)},tr={backgroundColor:pe.extend("--ft-popover-background-color","",Me.backgroundGlobalOnSurface),horizontalPadding:pe.extend("--ft-popover-horizontal-padding","",he.spacing6),verticalPadding:pe.extend("--ft-popover-vertical-padding","",he.spacing6),iconColor:pe.extend("--ft-popover-icon-color","",Me.contentGlobalSecondary),iconSize:pe.extend("--ft-popover-icon-size","",he.iconSize2),titleColor:pe.extend("--ft-popover-title-color","",Me.contentGlobalPrimary),bodyColor:pe.extend("--ft-popover-body-color","",Me.contentGlobalSecondary),linkColor:pe.extend("--ft-popover-link-color","",Me.contentActionPrimary),gap:pe.extend("--ft-popover-gap","",he.spacing3),borderRadius:pe.extend("--ft-popover-border-radius","",he.borderRadiusM),shadow:pe.extend("--ft-popover-shadow","",he.shadowElevation02)},or={topLeftBorderRadius:pe.extend("--ft-tabs-top-left-border-radius","",he.borderRadiusS),topRightBorderRadius:pe.extend("--ft-tabs-top-right-border-radius","",he.borderRadiusS),labelHorizontalPadding:pe.extend("--ft-tabs-label-horizontal-padding","",he.spacing4),labelVerticalPadding:pe.extend("--ft-tabs-label-vertical-padding","",he.spacing3),labelGap:pe.extend("--ft-tabs-label-gap","",he.spacing1),offHoverStateLayerOpacity:pe.extend("--ft-tabs-off-hover-state-layer-opacity","",he.opacity8),offFocusStateLayerOpacity:pe.extend("--ft-tabs-off-focus-state-layer-opacity","",he.opacity8),offActiveStateLayerOpacity:pe.extend("--ft-tabs-off-active-state-layer-opacity","",he.opacity16),offDisabledComponentOpacity:pe.extend("--ft-tabs-off-disabled-component-opacity","",he.opacity40),offColor:pe.extend("--ft-tabs-off-color","",Me.contentGlobalSubtle),offStateLayerColor:pe.extend("--ft-tabs-off-state-layer-color","",Me.contentGlobalSubtle),onHoverStateLayerOpacity:pe.extend("--ft-tabs-on-hover-state-layer-opacity","",he.opacity8),onFocusStateLayerOpacity:pe.extend("--ft-tabs-on-focus-state-layer-opacity","",he.opacity8),onActiveStateLayerOpacity:pe.extend("--ft-tabs-on-active-state-layer-opacity","",he.opacity16),onDisabledComponentOpacity:pe.extend("--ft-tabs-on-disabled-component-opacity","",he.opacity40),onColor:pe.extend("--ft-tabs-on-color","",Me.contentActionPrimary),onStateLayerColor:pe.extend("--ft-tabs-on-state-layer-color","",Me.contentActionPrimary),iconHorizontalPadding:pe.extend("--ft-tabs-icon-horizontal-padding","",he.spacing1),iconVerticalPadding:pe.extend("--ft-tabs-icon-vertical-padding","",he.spacing4),focusOutlineWidth:pe.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:pe.extend("--ft-tabs-focus-focus-ring-color","",Me.borderActionFocusRing)},er={hoverStateLayerOpacity:pe.extend("--ft-collapsible-hover-state-layer-opacity","",he.opacity8),focusStateLayerOpacity:pe.extend("--ft-collapsible-focus-state-layer-opacity","",he.opacity8),focusOutlineWidth:pe.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:pe.extend("--ft-collapsible-focus-focus-ring-color","",Me.borderActionFocusRing),activeStateLayerOpacity:pe.extend("--ft-collapsible-active-state-layer-opacity","",he.opacity16),disabledComponentOpacity:pe.extend("--ft-collapsible-disabled-component-opacity","",he.opacity40),horizontalPadding:pe.extend("--ft-collapsible-horizontal-padding","",he.spacing4),verticalPadding:pe.extend("--ft-collapsible-vertical-padding","",he.spacing3),color:pe.extend("--ft-collapsible-color","",Me.contentGlobalPrimary),stateLayerColor:pe.extend("--ft-collapsible-state-layer-color","",Me.contentGlobalPrimary),backgroundColor:pe.extend("--ft-collapsible-background-color","",Me.backgroundGlobalOnSurface),borderColor:pe.extend("--ft-collapsible-border-color","",Me.borderGlobalSubtle),iconSize:pe.extend("--ft-collapsible-icon-size","",he.iconSize3)},rr={groupHorizontalPadding:pe.extend("--ft-switch-group-horizontal-padding","",he.spacing1),groupVerticalPadding:pe.extend("--ft-switch-group-vertical-padding","",he.spacing1),groupGap:pe.extend("--ft-switch-group-gap","",he.spacing1),groupBackgroundColor:pe.extend("--ft-switch-group-background-color","",Me.backgroundGlobalSurface),groupBorderColor:pe.extend("--ft-switch-group-border-color","",Me.borderGlobalSubtle),groupBorderRadius:pe.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:pe.extend("--ft-switch-label-horizontal-padding","",he.spacing2),labelVerticalPadding:pe.extend("--ft-switch-label-vertical-padding","",he.spacing1),offHoverStateLayerOpacity:pe.extend("--ft-switch-off-hover-state-layer-opacity","",he.opacity8),offFocusStateLayerOpacity:pe.extend("--ft-switch-off-focus-state-layer-opacity","",he.opacity8),offActiveStateLayerOpacity:pe.extend("--ft-switch-off-active-state-layer-opacity","",he.opacity16),offDisabledComponentOpacity:pe.extend("--ft-switch-off-disabled-component-opacity","",he.opacity40),offColor:pe.extend("--ft-switch-off-color","",Me.contentGlobalSubtle),offStateLayerColor:pe.extend("--ft-switch-off-state-layer-color","",Me.contentGlobalSubtle),onHoverStateLayerOpacity:pe.extend("--ft-switch-on-hover-state-layer-opacity","",he.opacity8),onFocusStateLayerOpacity:pe.extend("--ft-switch-on-focus-state-layer-opacity","",he.opacity8),onActiveStateLayerOpacity:pe.extend("--ft-switch-on-active-state-layer-opacity","",he.opacity16),onDisabledComponentOpacity:pe.extend("--ft-switch-on-disabled-component-opacity","",he.opacity40),onColor:pe.extend("--ft-switch-on-color","",Me.contentActionPrimary),onStateLayerColor:pe.extend("--ft-switch-on-state-layer-color","",Me.contentActionPrimary),iconHorizontalPadding:pe.extend("--ft-switch-icon-horizontal-padding","",he.spacing1),iconVerticalPadding:pe.extend("--ft-switch-icon-vertical-padding","",he.spacing1),focusOutlineWidth:pe.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:pe.extend("--ft-switch-focus-focus-ring-color","",Me.borderActionFocusRing),optionBorderRadius:pe.extend("--ft-switch-option-border-radius","",he.borderRadiusS)},nr={color1Light:pe.extend("--ft-chart-1-light","for area color charts",he.colorBrand40),color1Base:pe.extend("--ft-chart-1-base","for line charts",he.colorBrand0),color2Light:pe.extend("--ft-chart-2-light","for area color charts",he.colorYellow60),color2Base:pe.extend("--ft-chart-2-base","for line charts",he.colorYellow100),color3Light:pe.extend("--ft-chart-3-light","",he.colorUltramarine40),color3Base:pe.extend("--ft-chart-3-base","",he.colorUltramarine70),color4Light:pe.extend("--ft-chart-4-light","",he.colorCyan50),color4Base:pe.extend("--ft-chart-4-base","",he.colorCyan100),color5Light:pe.extend("--ft-chart-5-light","",he.colorRed40),color5Base:pe.extend("--ft-chart-5-base","",he.colorRed60),color6Light:pe.extend("--ft-chart-6-light","",he.colorGreen40),color6Base:pe.extend("--ft-chart-6-base","",he.colorGreen70),color7Light:pe.extend("--ft-chart-7-light","",he.colorOrange70),color7Base:pe.extend("--ft-chart-7-base","",he.colorOrange100),color8Light:pe.extend("--ft-chart-8-light","",he.colorAvocado70),color8Base:pe.extend("--ft-chart-8-base","",he.colorAvocado200),color9Light:pe.extend("--ft-chart-9-light","",he.colorBrown50),color9Base:pe.extend("--ft-chart-9-base","",he.colorBrown200),color10Light:pe.extend("--ft-chart-10-light","",he.colorGray50),color10Base:pe.extend("--ft-chart-10-base","",he.colorGray80),monochrome10:pe.extend("--ft-chart-monochrome-10","",he.colorBrand10),monochrome20:pe.extend("--ft-chart-monochrome-20","",he.colorBrand20),monochrome30:pe.extend("--ft-chart-monochrome-30","",he.colorBrand40),monochrome40:pe.extend("--ft-chart-monochrome-40","",he.colorBrand60),monochrome50:pe.extend("--ft-chart-monochrome-50","",he.colorBrand0),monochrome60:pe.extend("--ft-chart-monochrome-60","",he.colorBrand200)},ir={largeHorizontalPadding:pe.extend("--ft-chip-large-horizontal-padding","",he.spacing4),largeVerticalPadding:pe.extend("--ft-chip-large-vertical-padding","",he.spacing2),largeGap:pe.extend("--ft-chip-large-gap","",he.spacing1),largeFocusOutlineOffset:pe.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:pe.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:pe.extend("--ft-chip-large-border-radius","",he.borderRadiusPill),largeBorderWidth:pe.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:pe.extend("--ft-chip-large-icon-size","",he.iconSize3),mediumHorizontalPadding:pe.extend("--ft-chip-medium-horizontal-padding","",he.spacing3),mediumVerticalPadding:pe.extend("--ft-chip-medium-vertical-padding","",he.spacing1),mediumGap:pe.extend("--ft-chip-medium-gap","",he.spacing1),mediumFocusOutlineOffset:pe.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:pe.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:pe.extend("--ft-chip-medium-border-radius","",he.borderRadiusPill),mediumBorderWidth:pe.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:pe.extend("--ft-chip-medium-icon-size","",he.iconSize2),smallHorizontalPadding:pe.extend("--ft-chip-small-horizontal-padding","",he.spacing2),smallVerticalPadding:pe.extend("--ft-chip-small-vertical-padding","",he.spacing05),smallGap:pe.extend("--ft-chip-small-gap","",he.spacing1),smallFocusOutlineOffset:pe.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:pe.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:pe.extend("--ft-chip-small-border-radius","",he.borderRadiusPill),smallBorderWidth:pe.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:pe.extend("--ft-chip-small-icon-size","",he.iconSize1),neutralBackgroundColor:pe.extend("--ft-chip-neutral-background-color","",Me.backgroundGlobalOnSurface),neutralColor:pe.extend("--ft-chip-neutral-color","",Me.contentGlobalPrimary),neutralIconColor:pe.extend("--ft-chip-neutral-icon-color","",Me.contentGlobalPrimary),neutralBorderColor:pe.extend("--ft-chip-neutral-border-color","",Me.borderGlobalSubtle),infoBackgroundColor:pe.extend("--ft-chip-info-background-color","",Me.backgroundInfoSubtle),infoColor:pe.extend("--ft-chip-info-color","",Me.contentInfoPrimary),infoIconColor:pe.extend("--ft-chip-info-icon-color","",Me.contentInfoIconOnly),infoBorderColor:pe.extend("--ft-chip-info-border-color","",Me.borderInfoSubtle),successBackgroundColor:pe.extend("--ft-chip-success-background-color","",Me.backgroundSuccessSubtle),successColor:pe.extend("--ft-chip-success-color","",Me.contentSuccessPrimary),successIconColor:pe.extend("--ft-chip-success-icon-color","",Me.contentSuccessIconOnly),successBorderColor:pe.extend("--ft-chip-success-border-color","",Me.borderSuccessSubtle),warningBackgroundColor:pe.extend("--ft-chip-warning-background-color","",Me.backgroundWarningSubtle),warningColor:pe.extend("--ft-chip-warning-color","",Me.contentWarningPrimary),warningIconColor:pe.extend("--ft-chip-warning-icon-color","",Me.contentWarningIconOnly),warningBorderColor:pe.extend("--ft-chip-warning-border-color","",Me.borderWarningSubtle),errorBackgroundColor:pe.extend("--ft-chip-error-background-color","",Me.backgroundErrorSubtle),errorColor:pe.extend("--ft-chip-error-color","",Me.contentErrorPrimary),errorIconColor:pe.extend("--ft-chip-error-icon-color","",Me.contentErrorIconOnly),errorBorderColor:pe.extend("--ft-chip-error-border-color","",Me.borderErrorSubtle)},ar={infoBorderColor:pe.extend("--ft-border-info-border-color","",Me.borderInfoSubtle)},cr={borderWidth:pe.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:pe.extend("--ft-notice-horizontal-padding","",he.spacing2),verticalPadding:pe.extend("--ft-notice-vertical-padding","",he.spacing1),borderRadius:pe.extend("--ft-notice-border-radius","",he.borderRadiusS),gap:pe.extend("--ft-notice-gap","",he.spacing2),iconSize:pe.extend("--ft-notice-icon-size","",he.iconSize3),infoBackgroundColor:pe.extend("--ft-notice-info-background-color","",Me.backgroundInfoSubtle),infoBorderColor:pe.extend("--ft-notice-info-border-color","",Me.borderInfoSubtle),infoColor:pe.extend("--ft-notice-info-color","",Me.contentInfoPrimary),infoIconColor:pe.extend("--ft-notice-info-icon-color","",Me.contentInfoIconOnly),warningBackgroundColor:pe.extend("--ft-notice-warning-background-color","",Me.backgroundWarningSubtle),warningBorderColor:pe.extend("--ft-notice-warning-border-color","",Me.borderWarningSubtle),warningColor:pe.extend("--ft-notice-warning-color","",Me.contentWarningPrimary),warningIconColor:pe.extend("--ft-notice-warning-icon-color","",Me.contentWarningIconOnly),errorBackgroundColor:pe.extend("--ft-notice-error-background-color","",Me.backgroundErrorSubtle),errorBorderColor:pe.extend("--ft-notice-error-border-color","",Me.borderErrorSubtle),errorColor:pe.extend("--ft-notice-error-color","",Me.contentErrorPrimary),errorIconColor:pe.extend("--ft-notice-error-icon-color","",Me.contentErrorIconOnly),successBackgroundColor:pe.extend("--ft-notice-success-background-color","",Me.backgroundSuccessSubtle),successBorderColor:pe.extend("--ft-notice-success-border-color","",Me.borderSuccessSubtle),successColor:pe.extend("--ft-notice-success-color","",Me.contentSuccessPrimary),successIconColor:pe.extend("--ft-notice-success-icon-color","",Me.contentSuccessIconOnly)},lr={color:pe.extend("--ft-checkbox-color","",Me.contentGlobalPrimary),checkedBackgroundColor:pe.extend("--ft-checkbox-checked-background-color","",Me.contentActionPrimary),checkedStateLayerColor:pe.extend("--ft-checkbox-checked-state-layer-color","",Me.contentActionPrimary),checkedIconColor:pe.extend("--ft-checkbox-checked-icon-color","",Me.contentGlobalOnColor),checkedHoverStateLayerOpacity:pe.extend("--ft-checkbox-checked-hover-state-layer-opacity","",he.opacity16),checkedFocusStateLayerOpacity:pe.extend("--ft-checkbox-checked-focus-state-layer-opacity","",he.opacity16),checkedActiveStateLayerOpacity:pe.extend("--ft-checkbox-checked-active-state-layer-opacity","",he.opacity24),checkedDisabledComponentOpacity:pe.extend("--ft-checkbox-checked-disabled-component-opacity","",he.opacity40),uncheckedBorderColor:pe.extend("--ft-checkbox-unchecked-border-color","",he.colorGray80),uncheckedStateLayerColor:pe.extend("--ft-checkbox-unchecked-state-layer-color","",he.colorGray80),uncheckedHoverStateLayerOpacity:pe.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",he.opacity16),uncheckedFocusStateLayerOpacity:pe.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",he.opacity16),uncheckedActiveStateLayerOpacity:pe.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",he.opacity24),uncheckedDisabledComponentOpacity:pe.extend("--ft-checkbox-unchecked-disabled-component-opacity","",he.opacity40),focusFocusRingColor:pe.extend("--ft-checkbox-focus-focus-ring-color","",Me.borderActionFocusRing),focusOutlineOffset:pe.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:pe.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:pe.extend("--ft-checkbox-gap","",he.spacing3)},sr={offHoverStateLayerOpacity:pe.extend("--ft-toggle-off-hover-state-layer-opacity","",he.opacity16),offFocusStateLayerOpacity:pe.extend("--ft-toggle-off-focus-state-layer-opacity","",he.opacity16),offActiveStateLayerOpacity:pe.extend("--ft-toggle-off-active-state-layer-opacity","",he.opacity24),offDisabledComponentOpacity:pe.extend("--ft-toggle-off-disabled-component-opacity","",he.opacity40),offBackgroundColor:pe.extend("--ft-toggle-off-background-color","",Me.contentGlobalSubtle),offIconColor:pe.extend("--ft-toggle-off-icon-color","",Me.contentGlobalSubtle),offStateLayerColor:pe.extend("--ft-toggle-off-state-layer-color","",Me.contentGlobalSubtle),onHoverStateLayerOpacity:pe.extend("--ft-toggle-on-hover-state-layer-opacity","",he.opacity16),onFocusStateLayerOpacity:pe.extend("--ft-toggle-on-focus-state-layer-opacity","",he.opacity16),onActiveStateLayerOpacity:pe.extend("--ft-toggle-on-active-state-layer-opacity","",he.opacity24),onDisabledComponentOpacity:pe.extend("--ft-toggle-on-disabled-component-opacity","",he.opacity40),onBackgroundColor:pe.extend("--ft-toggle-on-background-color","",Me.contentActionPrimary),onStateLayerColor:pe.extend("--ft-toggle-on-state-layer-color","",Me.contentActionPrimary),onIconColor:pe.extend("--ft-toggle-on-icon-color","",Me.contentActionPrimary),color:pe.extend("--ft-toggle-color","",Me.contentGlobalPrimary),focusFocusRingColor:pe.extend("--ft-toggle-focus-focus-ring-color","",Me.borderActionFocusRing),gap:pe.extend("--ft-toggle-gap","",he.spacing3)},fr={color:pe.extend("--ft-radio-color","",Me.contentGlobalPrimary),selectedRadioColor:pe.extend("--ft-radio-selected-radio-color","",Me.contentActionPrimary),selectedStateLayerColor:pe.extend("--ft-radio-selected-state-layer-color","",Me.contentActionPrimary),selectedHoverStateLayerOpacity:pe.extend("--ft-radio-selected-hover-state-layer-opacity","",he.opacity16),selectedFocusStateLayerOpacity:pe.extend("--ft-radio-selected-focus-state-layer-opacity","",he.opacity16),selectedActiveStateLayerOpacity:pe.extend("--ft-radio-selected-active-state-layer-opacity","",he.opacity24),selectedDisabledComponentOpacity:pe.extend("--ft-radio-selected-disabled-component-opacity","",he.opacity40),unselectedStateLayerColor:pe.extend("--ft-radio-unselected-state-layer-color","",Me.borderInputPrimary),unselectedBorderColor:pe.extend("--ft-radio-unselected-border-color","",Me.borderInputPrimary),unselectedHoverStateLayerOpacity:pe.extend("--ft-radio-unselected-hover-state-layer-opacity","",he.opacity16),unselectedFocusStateLayerOpacity:pe.extend("--ft-radio-unselected-focus-state-layer-opacity","",he.opacity16),unselectedActiveStateLayerOpacity:pe.extend("--ft-radio-unselected-active-state-layer-opacity","",he.opacity24),unselectedDisabledComponentOpacity:pe.extend("--ft-radio-unselected-disabled-component-opacity","",he.opacity40),focusFocusRingColor:pe.extend("--ft-radio-focus-focus-ring-color","",Me.borderActionFocusRing),focusOutlineOffset:pe.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:pe.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:pe.extend("--ft-radio-gap","",he.spacing3)},dr={iconSize:pe.extend("--ft-notification-icon-size","",he.iconSize4),horizontalPadding:pe.extend("--ft-notification-horizontal-padding","",he.spacing4),verticalPadding:pe.extend("--ft-notification-vertical-padding","",he.spacing4),infoBackgroundColor:pe.extend("--ft-notification-info-background-color","",Me.backgroundInfoSubtle),infoColor:pe.extend("--ft-notification-info-color","",Me.contentInfoPrimary),infoIconColor:pe.extend("--ft-notification-info-icon-color","",Me.contentInfoIconOnly),infoBorderColor:pe.extend("--ft-notification-info-border-color","",Me.borderInfoSubtle),successBackgroundColor:pe.extend("--ft-notification-success-background-color","",Me.backgroundSuccessSubtle),successColor:pe.extend("--ft-notification-success-color","",Me.contentSuccessPrimary),successIconColor:pe.extend("--ft-notification-success-icon-color","",Me.contentSuccessIconOnly),successBorderColor:pe.extend("--ft-notification-success-border-color","",Me.borderSuccessSubtle),warningBackgroundColor:pe.extend("--ft-notification-warning-background-color","",Me.backgroundWarningSubtle),warningColor:pe.extend("--ft-notification-warning-color","",Me.contentWarningPrimary),warningIconColor:pe.extend("--ft-notification-warning-icon-color","",Me.contentWarningIconOnly),warningBorderColor:pe.extend("--ft-notification-warning-border-color","",Me.borderWarningSubtle),errorBackgroundColor:pe.extend("--ft-notification-error-background-color","",Me.backgroundErrorSubtle),errorColor:pe.extend("--ft-notification-error-color","",Me.contentErrorPrimary),errorIconColor:pe.extend("--ft-notification-error-icon-color","",Me.contentErrorIconOnly),errorBorderColor:pe.extend("--ft-notification-error-border-color","",Me.borderErrorSubtle),borderRadius:pe.extend("--ft-notification-border-radius","",he.borderRadiusPill),borderWidth:pe.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:pe.extend("--ft-notification-leading-gap","",he.spacing2),trailingGap:pe.extend("--ft-notification-trailing-gap","",he.spacing8)},ur={horizontalPadding:pe.extend("--ft-tooltip-horizontal-padding","",he.spacing2),verticalPadding:pe.extend("--ft-tooltip-vertical-padding","",he.spacing2),borderRadius:pe.extend("--ft-tooltip-border-radius","",he.borderRadiusS),color:pe.extend("--ft-tooltip-color","",Me.contentGlobalOnColor),backgroundColor:pe.extend("--ft-tooltip-background-color","",Me.contentGlobalPrimary),backgroundOpacity:pe.extend("--ft-tooltip-background-opacity","",he.opacity80),shadow:pe.extend("--ft-tooltip-shadow","",he.shadowElevation03),maxWidth:pe.create("--ft-tooltip-max-width","","SIZE","256px"),gap:pe.extend("--ft-tooltip-gap","",he.spacing05)};var pr=Object.freeze({__proto__:null,FtCssVariableFactory:pe,banner:De,border:ar,breadcrumb:$e,button:He,chart:nr,checkbox:lr,chip:ir,collapsible:er,comboboxMultiSelect:Qe,comboboxSingleSelect:Xe,drawer:Ve,floatingMenu:Je,foundation:he,modal:Ge,notice:cr,notification:dr,pageHeader:Te,popover:tr,radio:fr,semantic:Me,setVariable:function(t,o){return ue(`${t.name}: ${o}`)},switch_:rr,tabs:or,textArea:Ye,textInput:qe,toggle:sr,tooltip:ur,typographies:je,typographyBody1Medium:ve,typographyBody1Regular:Oe,typographyBody1Semibold:Se,typographyBody2Medium:we,typographyBody2MediumUnderline:Ne,typographyBody2Regular:xe,typographyBody2Semibold:Ce,typographyCaption1Bold:Be,typographyCaption1Medium:ke,typographyCaption1Semibold:ze,typographyCaption2Bold:_e,typographyCaption2Medium:Fe,typographyCaption2Semibold:Ae,typographyCaption3Bold:Ke,typographyCaption3Medium:Pe,typographyCaption3Semibold:Ze,typographyDisplay:ge,typographyLabel1Bold:Ie,typographyLabel1Medium:Ee,typographyLabel1Semibold:Re,typographyLabel2Bold:Ue,typographyLabel2Medium:Le,typographyLabel2Semibold:We,typographyTitle1:ye,typographyTitle2:be,typographyTitle3:me,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 hr={colorPrimary:pe.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:pe.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:pe.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:pe.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:pe.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:pe.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:pe.create("--ft-color-error","","COLOR","#B00020"),colorOutline:pe.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:pe.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:pe.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:pe.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:pe.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:pe.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:pe.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:pe.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:pe.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:pe.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:pe.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:pe.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:pe.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:pe.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:pe.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:pe.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:pe.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:pe.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:pe.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:pe.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:pe.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:pe.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:pe.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:pe.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:pe.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:pe.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:pe.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:pe.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:pe.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:pe.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:pe.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:pe.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:pe.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:pe.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:pe.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:pe.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:pe.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:pe.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:pe.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:pe.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:pe.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:pe.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:pe.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:pe.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:pe.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:pe.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:pe.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:pe.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:pe.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:pe.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:pe.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:pe.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:pe.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:pe.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:pe.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var gr=Object.freeze({__proto__:null,designSystemVariables:hr});class yr 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:yr,PostResizeEvent:mr,PreResizeEvent:br});const vr=["start","end"],Sr=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+vr[0],o+"-"+vr[1])),[]),xr=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,xr(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 Br(t){return["top","bottom"].includes(Wr(t))?"y":"x"}function Fr(t){return kr(Br(t))}function Ar(t){return t.replace(/left|right|bottom|top/g,(t=>Er[t]))}function _r(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Pr(t,o,e){let{reference:r,floating:n}=t;const i=Br(o),a=Fr(o),c=zr(a),l=Wr(o),s="y"===i,f=r.x+r.width/2-n.width/2,d=r.y+r.height/2-n.height/2,u=r[c]/2-n[c]/2;let p;switch(l){case"top":p={x:f,y:r.y-n.height};break;case"bottom":p={x:f,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:d};break;case"left":p={x:r.x-n.width,y:d};break;default:p={x:r.x,y:r.y}}switch(Ur(o)){case"start":p[a]-=u*(e&&s?-1:1);break;case"end":p[a]+=u*(e&&s?-1:1)}return p}async function Zr(t,o){var e;void 0===o&&(o={});const{x:r,y:n,platform:i,rects:a,elements:c,strategy:l}=t,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:u=!1,padding:p=0}=Lr(o,t),h=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}}(p),g=c[u?"floating"===d?"reference":"floating":d],y=_r(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(g)))||e?g:g.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(c.floating)),boundary:s,rootBoundary:f,strategy:l})),b="floating"===d?{...a.floating,x:r,y:n}:a.reference,m=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c.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=_r(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(y.top-v.top+h.top)/O.y,bottom:(v.bottom-y.bottom+h.bottom)/O.y,left:(y.left-v.left+h.left)/O.x,right:(v.right-y.right+h.right)/O.x}}function Kr(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 jr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,n;const{rects:i,middlewareData:a,placement:c,platform:l,elements:s}=o,{crossAxis:f=!1,alignment:d,allowedPlacements:u=Sr,autoAlignment:p=!0,...h}=Lr(t,o),g=void 0!==d||u===Sr?Kr(d||null,p,u):u,y=await Zr(o,h),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=g[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==l.isRTL?void 0:l.isRTL(s.floating)));if(c!==m)return{reset:{placement:g[0]}};const v=[y[Wr(m)],y[O[0]],y[O[1]]],S=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:v}],x=g[b+1];if(x)return{data:{index:b+1,overflows:S},reset:{placement:x}};const w=S.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!==c?{data:{index:b+1,overflows:S},reset:{placement:C}}:{}}}};function Mr(t){return $r(t)?(t.nodeName||"").toLowerCase():"#document"}function Hr(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Dr(t){var o;return null==(o=($r(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function $r(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(Mr(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(Mr(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"===Mr(t))return t;const o=t.assignedSlot||t.parentNode||Vr(t)&&t.host||Dr(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,c=Nr(e)!==i||Nr(r)!==a;return c&&(e=i,r=a),{width:e,height:r,$:c}}function cn(t){return Tr(t)?t:t.contextElement}function ln(t){const o=cn(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,c=(i?Nr(e.height):e.height)/n;return a&&Number.isFinite(a)||(a=1),c&&Number.isFinite(c)||(c=1),{x:a,y:c}}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 dn(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const n=t.getBoundingClientRect(),i=cn(t);let a=Cr(1);o&&(r?Tr(r)&&(a=ln(r)):a=ln(t));const c=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Hr(t))&&o}(i,e,r)?fn(i):Cr(0);let l=(n.left+c.x)/a.x,s=(n.top+c.y)/a.y,f=n.width/a.x,d=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=ln(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;l*=t.x,s*=t.y,f*=t.x,d*=t.y,l+=n,s+=i,e=Hr(e).frameElement}}return _r({width:f,height:d,x:l,y:s})}function un(t){return dn(Dr(t)).left+on(t).scrollLeft}function pn(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Hr(t),r=Dr(t),n=e.visualViewport;let i=r.clientWidth,a=r.clientHeight,c=0,l=0;if(n){i=n.width,a=n.height;const t=Xr();(!t||t&&"fixed"===o)&&(c=n.offsetLeft,l=n.offsetTop)}return{width:i,height:a,x:c,y:l}}(t,e);else if("document"===o)r=function(t){const o=Dr(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 c=-e.scrollTop;return"rtl"===tn(r).direction&&(a+=wr(o.clientWidth,r.clientWidth)-n),{width:n,height:i,x:a,y:c}}(Dr(t));else if(Tr(o))r=function(t,o){const e=dn(t,!0,"fixed"===o),r=e.top+t.clientTop,n=e.left+t.clientLeft,i=Gr(t)?ln(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 _r(r)}function hn(t,o){const e=en(t);return!(e===o||!Tr(e)||Qr(e))&&("fixed"===tn(e).position||hn(e,o))}function gn(t,o,e){const r=Gr(o),n=Dr(o),i="fixed"===e,a=dn(t,!0,i,o);let c={scrollLeft:0,scrollTop:0};const l=Cr(0);if(r||!r&&!i)if(("body"!==Mr(o)||qr(n))&&(c=on(o)),r){const t=dn(o,!0,i,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else n&&(l.x=un(n));return{x:a.left+c.scrollLeft-l.x,y:a.top+c.scrollTop-l.y,width:a.width,height:a.height}}function yn(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=yn(t,o);for(;r&&Yr(r)&&"static"===tn(r).position;)r=yn(r,o);return r&&("html"===Mr(r)||"body"===Mr(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=Dr(e);if(e===i)return o;let a={scrollLeft:0,scrollTop:0},c=Cr(1);const l=Cr(0);if((n||!n&&"fixed"!==r)&&(("body"!==Mr(e)||qr(i))&&(a=on(e)),Gr(e))){const t=dn(e);c=ln(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*c.x,height:o.height*c.y,x:o.x*c.x-a.scrollLeft*c.x+l.x,y:o.y*c.y-a.scrollTop*c.y+l.y}},getDocumentElement:Dr,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"!==Mr(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&&hn(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],c=i.reduce(((t,e)=>{const r=pn(o,e,n);return t.top=wr(r.top,t.top),t.right=xr(r.right,t.right),t.bottom=xr(r.bottom,t.bottom),t.left=wr(r.left,t.left),t}),pn(o,a,n));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.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:gn(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:ln,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,c=i.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let s=await a.getElementRects({reference:t,floating:o,strategy:n}),{x:f,y:d}=Pr(s,r,l),u=r,p={},h=0;for(let e=0;e<c.length;e++){const{name:i,fn:g}=c[e],{x:y,y:b,data:m,reset:O}=await g({x:f,y:d,initialPlacement:r,placement:u,strategy:n,middlewareData:p,rects:s,platform:a,elements:{reference:t,floating:o}});f=null!=y?y:f,d=null!=b?b:d,p={...p,[i]:{...p[i],...m}},O&&h<=50&&(h++,"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:d}=Pr(s,u,l))),e=-1)}return{x:f,y:d,placement:u,strategy:n,middlewareData:p}})(t,o,{...n,platform:i})};function vn(t){return function(t){for(let o=t;o;o=Sn(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Sn(t);o;o=Sn(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 Sn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var xn=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:c={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=Lr(r,t),s={x:o,y:e},f=await Zr(t,l),d=Br(Wr(n)),u=kr(d);let p=s[u],h=s[d];if(i){const t="y"===u?"bottom":"right";p=Ir(p+f["y"===u?"top":"left"],p,p-f[t])}if(a){const t="y"===d?"bottom":"right";h=Ir(h+f["y"===d?"top":"left"],h,h-f[t])}const g=c.fn({...t,[u]:p,[d]:h});return{...g,data:{x:g.x-o,y:g.y-e}}}}),jr({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 xn=window,wn=xn.ShadowRoot&&(void 0===xn.ShadyCSS||xn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Nn extends bo{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)=>{wn?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=xn.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Cn,En=Object.freeze({__proto__:null,ScopedRegistryLitElement:Nn}),Rn=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,c=t.length-1;c>=0;c--)(n=t[c])&&(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 In=Symbol("constructorPrototype"),Ln=Symbol("constructorName"),Un=Symbol("exportpartsDebouncer");class Wn extends Nn{constructor(){super(),this[Cn]=new oe(5),this[Ln]=this.constructor.name,this[In]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ln]&&Object.setPrototypeOf(this,this[In])}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 c=t=>null!=t&&t.trim().length>0,l=t.filter(c).map((t=>t.trim()));if(0===l.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(c).map((t=>t.trim())).forEach((t=>s.add(t)))}if(0===s.size)return void this.removeAttribute("exportparts");const f=[...s.values()].flatMap((t=>l.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Cn=Un,Rn([xo()],Wn.prototype,"exportpartsPrefix",void 0),Rn([se([])],Wn.prototype,"exportpartsPrefixes",void 0),Rn([xo()],Wn.prototype,"customStylesheet",void 0);var kn=Object.freeze({__proto__:null,FtLitElement:Wn}),Fn=Object.freeze({__proto__:null});class zn{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 c=()=>{--i<=0&&r(a)};i||c(),n.forEach((t=>{zn.matches(t,this.exclude)?c():this.onIframeReady(t,(r=>{o(t)&&(a++,e(r)),c()}),c)}))}createIterator(t,o,e){return document.createNodeIterator(t,o,e,!1)}createInstanceOnIframe(t){return new zn(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,c,l=[],s=[],f=()=>(({prevNode:c,node:a}=this.getIteratorNode(i)),a);for(;f();)this.iframes&&this.forEachIframe(o,(t=>this.checkIframeFilter(a,c,t,l)),(o=>{this.createInstanceOnIframe(o).forEachNode(t,(t=>s.push(t)),r)})),s.push(a);s.forEach((t=>{e(t)})),this.iframes&&this.handleOpenIframes(l,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 zn(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),c="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i);""!==a&&""!==c&&(t=t.replace(new RegExp(`(${this.escapeStr(a)}|${this.escapeStr(c)})`,`gm${e}`),r+`(${this.processSynomyms(a)}|`+`${this.processSynomyms(c)})`+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,c=parseInt(t.start,10)-a;return c=c>i?i:c,r=c+parseInt(t.length,10),r>i&&(r=i,this.log(`End range automatically set to the max value of ${i}`)),c<0||r-c<0||c>i||r>i?(n=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===e.substring(c,r).replace(/\s+/g,"")&&(n=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:c,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 zn.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 c=t.nodes[a+1];if(void 0===c||c.start>o){if(!r(i.node))return!1;const c=o-i.start,l=(e>i.end?i.end:e)-i.start,s=t.value.substr(0,i.start),f=t.value.substr(l+i.start);if(i.node=this.wrapRangeInTextNode(i.node,c,l),t.value=s+f,t.nodes.forEach(((o,e)=>{e>=a&&(t.nodes[e].start>0&&e!==a&&(t.nodes[e].start-=l),t.nodes[e].end-=l)})),e-=l,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 c=n+a[i].length;this.wrapRangeInMappedTextNode(o,n,c,(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:c,valid:l}=this.checkWhitespaceRanges(t,i,n.value);l&&this.wrapRangeInMappedTextNode(n,a,c,(e=>o(e,t,n.value.substring(a,c),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",c=t=>{let o=new RegExp(this.createRegExp(t),`gm${a}`),l=0;this.log(`Searching with expression "${o}"`),this[r](o,1,((o,r)=>this.opt.filter(r,t,e,l)),(t=>{l++,e++,this.opt.each(t)}),(()=>{0===l&&this.opt.noMatch(t),n[i-1]===t?this.opt.done(e):c(n[n.indexOf(t)+1])}))};this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),0===i?this.opt.done(e):c(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=zn.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=pe.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),_n=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 bo{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,c=t.length-1;c>=0;c--)(n=t[c])&&(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 oe(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 c=t=>null!=t&&t.trim().length>0,l=t.filter(c).map((t=>t.trim()));if(0===l.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(c).map((t=>t.trim())).forEach((t=>s.add(t)))}if(0===s.size)return void this.removeAttribute("exportparts");const f=[...s.values()].flatMap((t=>l.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}En=Un,In([xo()],kn.prototype,"exportpartsPrefix",void 0),In([se([])],kn.prototype,"exportpartsPrefixes",void 0),In([xo()],kn.prototype,"customStylesheet",void 0);var zn=Object.freeze({__proto__:null,FtLitElement:kn}),Bn=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 c=()=>{--i<=0&&r(a)};i||c(),n.forEach((t=>{Fn.matches(t,this.exclude)?c():this.onIframeReady(t,(r=>{o(t)&&(a++,e(r)),c()}),c)}))}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,c,l=[],s=[],f=()=>(({prevNode:c,node:a}=this.getIteratorNode(i)),a);for(;f();)this.iframes&&this.forEachIframe(o,(t=>this.checkIframeFilter(a,c,t,l)),(o=>{this.createInstanceOnIframe(o).forEachNode(t,(t=>s.push(t)),r)})),s.push(a);s.forEach((t=>{e(t)})),this.iframes&&this.handleOpenIframes(l,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),c="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i);""!==a&&""!==c&&(t=t.replace(new RegExp(`(${this.escapeStr(a)}|${this.escapeStr(c)})`,`gm${e}`),r+`(${this.processSynomyms(a)}|`+`${this.processSynomyms(c)})`+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,c=parseInt(t.start,10)-a;return c=c>i?i:c,r=c+parseInt(t.length,10),r>i&&(r=i,this.log(`End range automatically set to the max value of ${i}`)),c<0||r-c<0||c>i||r>i?(n=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===e.substring(c,r).replace(/\s+/g,"")&&(n=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:c,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 c=t.nodes[a+1];if(void 0===c||c.start>o){if(!r(i.node))return!1;const c=o-i.start,l=(e>i.end?i.end:e)-i.start,s=t.value.substr(0,i.start),f=t.value.substr(l+i.start);if(i.node=this.wrapRangeInTextNode(i.node,c,l),t.value=s+f,t.nodes.forEach(((o,e)=>{e>=a&&(t.nodes[e].start>0&&e!==a&&(t.nodes[e].start-=l),t.nodes[e].end-=l)})),e-=l,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 c=n+a[i].length;this.wrapRangeInMappedTextNode(o,n,c,(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:c,valid:l}=this.checkWhitespaceRanges(t,i,n.value);l&&this.wrapRangeInMappedTextNode(n,a,c,(e=>o(e,t,n.value.substring(a,c),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",c=t=>{let o=new RegExp(this.createRegExp(t),`gm${a}`),l=0;this.log(`Searching with expression "${o}"`),this[r](o,1,((o,r)=>this.opt.filter(r,t,e,l)),(t=>{l++,e++,this.opt.each(t)}),(()=>{0===l&&this.opt.noMatch(t),n[i-1]===t?this.opt.done(e):c(n[n.indexOf(t)+1])}))};this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),0===i?this.opt.done(e):c(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},_n=pe.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Pn=dt`
143
143
  .highlight-html-match {
144
- background: ${Bn};
144
+ background: ${_n};
145
145
  }
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`
146
+ `,Zn={className:"highlight-html-match"};var Kn=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(Zn),o&&o.trim()){r.mark(o.replace(/"[^"]+"/g,""),{...Zn,separateWordSearch:!0});(null!==(e=o.match(/"[^"]+"/g))&&void 0!==e?e:[]).forEach((t=>r.mark(t.replace(/"/g,""),{...Zn,separateWordSearch:!1})))}}t.setAttribute("data-highlight-html-query",null!=o?o:"")},highlightHtmlColorCssVariable:_n,highlightHtmlStyles:Pn});const jn=dt`
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(o,e)=>{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
- `,jn=ut`
155
+ `,Mn=dt`
156
156
  .ft-word-wrap {
157
157
  white-space: normal;
158
158
  word-wrap: break-word;
@@ -164,7 +164,7 @@ function(t){return(o,e)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}
164
164
  -webkit-hyphens: auto;
165
165
  hyphens: auto
166
166
  }
167
- `,Mn=ut`
167
+ `,Hn=dt`
168
168
  .ft-safari-ellipsis-fix {
169
169
  margin-right: 0;
170
170
 
@@ -175,7 +175,7 @@ function(t){return(o,e)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}
175
175
  display: inline-block;
176
176
  width: 0;
177
177
  }
178
- `;var Dn=Object.freeze({__proto__:null,noTextSelect:Zn,safariEllipsisFix:Mn,wordWrap:jn}),$n=Object.freeze({__proto__:null});var Hn=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 Tn{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 Gn(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var Vn,qn,Yn;const Jn=Symbol("internalReduxEventsUnsubscribers"),Xn=Symbol("internalStoresUnsubscribers"),Qn=Symbol("internalStores");class ti extends Wn{constructor(){super(...arguments),this[Vn]=new Map,this[qn]=new Map,this[Yn]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[Qn].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Qn].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Qn].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Gn(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[Qn].delete(o)}setupStore(t,o){this[Qn].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Qn].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[Xn].has(t.store):this[Xn].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Xn].set(t,o.subscribe((()=>this.updateFromStores()))),Gn(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[Jn].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Xn].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Jn].forEach((t=>t())),this[Jn]=[]}unsubscribeFromStore(t){this[Xn].has(t)&&this[Xn].get(t)(),this[Xn].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function oi(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 ei(t){return!!t&&!!t[Mi]}function ri(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)===Di}(t)||Array.isArray(t)||!!t[ji]||!!(null===(o=t.constructor)||void 0===o?void 0:o[ji])||si(t)||fi(t))}function ni(t,o,e){void 0===e&&(e=!1),0===ii(t)?(e?Object.keys:$i)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function ii(t){var o=t[Mi];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:si(t)?2:fi(t)?3:0}function ai(t,o){return 2===ii(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function ci(t,o,e){var r=ii(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function li(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function si(t){return _i&&t instanceof Map}function fi(t){return Ki&&t instanceof Set}function ui(t){return t.o||t.t}function di(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Hi(t);delete o[Mi];for(var e=$i(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 pi(t,o){return void 0===o&&(o=!1),yi(t)||ei(t)||!ri(t)||(ii(t)>1&&(t.set=t.add=t.clear=t.delete=hi),Object.freeze(t),o&&ni(t,(function(t,o){return pi(o,!0)}),!0)),t}function hi(){oi(2)}function yi(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function gi(t){var o=Ti[t];return o||oi(18,t),o}function bi(){return Ai}function mi(t,o){o&&(gi("Patches"),t.u=[],t.s=[],t.v=o)}function Oi(t){vi(t),t.p.forEach(xi),t.p=null}function vi(t){t===Ai&&(Ai=t.l)}function Si(t){return Ai={p:[],l:Ai,h:t,m:!0,_:0}}function xi(t){var o=t[Mi];0===o.i||1===o.i?o.j():o.g=!0}function wi(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||gi("ES5").S(o,t,r),r?(e[Mi].P&&(Oi(o),oi(4)),ri(t)&&(t=Ni(o,t),o.l||Ei(o,t)),o.u&&gi("Patches").M(e[Mi].t,t,o.u,o.s)):t=Ni(o,e,[]),Oi(o),o.u&&o.v(o.u,o.s),t!==Zi?t:void 0}function Ni(t,o,e){if(yi(o))return o;var r=o[Mi];if(!r)return ni(o,(function(n,i){return Ci(t,r,o,n,i,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return Ei(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var n=4===r.i||5===r.i?r.o=di(r.k):r.o,i=n,a=!1;3===r.i&&(i=new Set(n),n.clear(),a=!0),ni(i,(function(o,i){return Ci(t,r,n,o,i,e,a)})),Ei(t,n,!1),e&&t.u&&gi("Patches").N(r,e,t.u,t.s)}return r.o}function Ci(t,o,e,r,n,i,a){if(ei(n)){var c=Ni(t,n,i&&o&&3!==o.i&&!ai(o.R,r)?i.concat(r):void 0);if(ci(e,r,c),!ei(c))return;t.m=!1}else a&&e.add(n);if(ri(n)&&!yi(n)){if(!t.h.D&&t._<1)return;Ni(t,n),o&&o.A.l||Ei(t,n)}}function Ei(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&pi(o,e)}function Ri(t,o){var e=t[Mi];return(e?ui(e):t)[o]}function Ii(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 Li(t){t.P||(t.P=!0,t.l&&Li(t.l))}function Ui(t){t.o||(t.o=di(t.t))}function Wi(t,o,e){var r=si(o)?gi("MapSet").F(o,e):fi(o)?gi("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:bi(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},n=r,i=Gi;e&&(n=[r],i=Vi);var a=Proxy.revocable(n,i),c=a.revoke,l=a.proxy;return r.k=l,r.j=c,l}(o,e):gi("ES5").J(o,e);return(e?e.A:bi()).p.push(r),r}function ki(t){return ei(t)||oi(22,t),function t(o){if(!ri(o))return o;var e,r=o[Mi],n=ii(o);if(r){if(!r.P&&(r.i<4||!gi("ES5").K(r)))return r.t;r.I=!0,e=Fi(o,n),r.I=!1}else e=Fi(o,n);return ni(e,(function(o,n){r&&function(t,o){return 2===ii(t)?t.get(o):t[o]}(r.t,o)===n||ci(e,o,t(n))})),3===n?new Set(e):e}(t)}function Fi(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return di(t)}Vn=Xn,qn=Qn,Yn=Jn,ti.reduxProperties=new Map,ti.reduxReactiveProperties=new Set,ti.reduxEventListeners=new Map;var zi,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"):((zi={})["immer-nothing"]=!0,zi),ji=Bi?Symbol.for("immer-draftable"):"__$immer_draftable",Mi=Bi?Symbol.for("immer-state"):"__$immer_state",Di=""+Object.prototype.constructor,$i="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Hi=Object.getOwnPropertyDescriptors||function(t){var o={};return $i(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},Ti={},Gi={get:function(t,o){if(o===Mi)return t;var e=ui(t);if(!ai(e,o))return function(t,o,e){var r,n=Ii(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||!ri(r)?r:r===Ri(t.t,o)?(Ui(t),t.o[o]=Wi(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=Ii(ui(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var n=Ri(ui(t),o),i=null==n?void 0:n[Mi];if(i&&i.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(li(e,n)&&(void 0!==e||ai(t.t,o)))return!0;Ui(t),Li(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!==Ri(t.t,o)||o in t.t?(t.R[o]=!1,Ui(t),Li(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(){oi(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){oi(12)}},Vi={};ni(Gi,(function(t,o){Vi[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),Vi.deleteProperty=function(t,o){return Vi.set.call(this,t,o,void 0)},Vi.set=function(t,o,e){return Gi.set.call(this,t[0],o,e,t[0])};var qi=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),c=1;c<r;c++)a[c-1]=arguments[c];return i.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&oi(6),void 0!==r&&"function"!=typeof r&&oi(7),ri(t)){var c=Si(o),l=Wi(o,t,void 0),s=!0;try{a=e(l),s=!1}finally{s?Oi(c):vi(c)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return mi(c,r),wi(t,c)}),(function(t){throw Oi(c),t})):(mi(c,r),wi(a,c))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===Zi&&(a=void 0),o.D&&pi(a,!0),r){var f=[],u=[];gi("Patches").M(t,a,f,u),r(f,u)}return a}oi(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){ri(t)||oi(8),ei(t)&&(t=ki(t));var o=Si(this),e=Wi(this,t,void 0);return e[Mi].C=!0,vi(o),e},o.finishDraft=function(t,o){var e=(t&&t[Mi]).A;return mi(e,o),wi(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Pi&&oi(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=gi("Patches").$;return ei(t)?n(t,o):this.produce(t,(function(t){return n(t,o)}))},t}(),Yi=new qi,Ji=Yi.produce;function Xi(t){return Xi="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},Xi(t)}function Qi(t){var o=function(t,o){if("object"!==Xi(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==Xi(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===Xi(o)?o:String(o)}function ta(t,o,e){return(o=Qi(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function oa(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 ea(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?oa(Object(e),!0).forEach((function(o){ta(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):oa(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function ra(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. "}Yi.produceWithPatches.bind(Yi),Yi.setAutoFreeze.bind(Yi),Yi.setUseProxies.bind(Yi),Yi.applyPatches.bind(Yi),Yi.createDraft.bind(Yi),Yi.finishDraft.bind(Yi);var na="function"==typeof Symbol&&Symbol.observable||"@@observable",ia=function(){return Math.random().toString(36).substring(7).split("").join(".")},aa={INIT:"@@redux/INIT"+ia(),REPLACE:"@@redux/REPLACE"+ia(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ia()}};function ca(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(ra(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(ra(1));return e(ca)(t,o)}if("function"!=typeof t)throw new Error(ra(2));var n=t,i=o,a=[],c=a,l=!1;function s(){c===a&&(c=a.slice())}function f(){if(l)throw new Error(ra(3));return i}function u(t){if("function"!=typeof t)throw new Error(ra(4));if(l)throw new Error(ra(5));var o=!0;return s(),c.push(t),function(){if(o){if(l)throw new Error(ra(6));o=!1,s();var e=c.indexOf(t);c.splice(e,1),a=null}}}function d(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(ra(7));if(void 0===t.type)throw new Error(ra(8));if(l)throw new Error(ra(9));try{l=!0,i=n(i,t)}finally{l=!1}for(var o=a=c,e=0;e<o.length;e++){(0,o[e])()}return t}return d({type:aa.INIT}),(r={dispatch:d,subscribe:u,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(ra(10));n=t,d({type:aa.REPLACE})}})[na]=function(){var t,o=u;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(ra(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[na]=function(){return this},t},r}function la(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:aa.INIT}))throw new Error(ra(12));if(void 0===e(void 0,{type:aa.PROBE_UNKNOWN_ACTION()}))throw new Error(ra(13))}))}(e)}catch(t){i=t}return function(t,o){if(void 0===t&&(t={}),i)throw i;for(var r=!1,n={},c=0;c<a.length;c++){var l=a[c],s=e[l],f=t[l],u=s(f,o);if(void 0===u)throw o&&o.type,new Error(ra(14));n[l]=u,r=r||u!==f}return(r=r||a.length!==Object.keys(t).length)?n:t}}function sa(){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 fa(){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(ra(15))},n={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=o.map((function(t){return t(n)}));return r=sa.apply(void 0,i)(e.dispatch),ea(ea({},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 da=ua();da.withExtraArgument=ua;var pa,ha=da,ya=(pa=function(t,o){return pa=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])},pa(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}pa(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),ga=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:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){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,c])}}},ba=function(t,o){for(var e=0,r=o.length,n=t.length;e<r;e++,n++)t[n]=o[e];return t},ma=Object.defineProperty,Oa=Object.defineProperties,va=Object.getOwnPropertyDescriptors,Sa=Object.getOwnPropertySymbols,xa=Object.prototype.hasOwnProperty,wa=Object.prototype.propertyIsEnumerable,Na=function(t,o,e){return o in t?ma(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},Ca=function(t,o){for(var e in o||(o={}))xa.call(o,e)&&Na(t,e,o[e]);if(Sa)for(var r=0,n=Sa(o);r<n.length;r++){e=n[r];wa.call(o,e)&&Na(t,e,o[e])}return t},Ea=function(t,o){return Oa(t,va(o))},Ra="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?sa:sa.apply(null,arguments)};var Ia=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 ya(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,ba([void 0],t[0].concat(this)))):new(o.bind.apply(o,ba([void 0],t.concat(this))))},o}(Array),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 ya(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,ba([void 0],t[0].concat(this)))):new(o.bind.apply(o,ba([void 0],t.concat(this))))},o}(Array);function Ua(t){return ri(t)?Ji(t,(function(){})):t}function Wa(){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 Ia;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(ha.withExtraArgument(e.extraArgument)):r.push(ha));return r}(t)}}function ka(t){var o,e=Wa(),r=t||{},n=r.reducer,i=void 0===n?void 0:n,a=r.middleware,c=void 0===a?e():a,l=r.devTools,s=void 0===l||l,f=r.preloadedState,u=void 0===f?void 0:f,d=r.enhancers,p=void 0===d?void 0:d;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=la(i)}var h=c;"function"==typeof h&&(h=h(e));var y=fa.apply(void 0,h),g=sa;s&&(g=Ra(Ca({trace:!1},"object"==typeof s&&s)));var b=new La(y),m=b;return Array.isArray(p)?m=ba([y],p):"function"==typeof p&&(m=p(b)),ca(o,u,g.apply(void 0,m))}function Fa(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 Ca(Ca({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 za(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={},c={},l={};function s(){var o="function"==typeof t.extraReducers?za(t.extraReducers):[t.extraReducers],e=o[0],n=void 0===e?{}:e,i=o[1],a=void 0===i?[]:i,l=o[2],s=void 0===l?void 0:l,f=Ca(Ca({},n),c);return function(t,o,e,r){void 0===e&&(e=[]);var n,i="function"==typeof o?za(o):[o,e,r],a=i[0],c=i[1],l=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=ba([a[o.type]],c.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[l]),e.reduce((function(t,e){if(e){var r;if(ei(t))return void 0===(r=e(t,o))?t:r;if(ri(t))return Ji(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,c[s]=e,l[t]=r?Fa(s,r):Fa(s)})),{name:o,reducer:function(t,o){return e||(e=s()),e(t,o)},actions:l,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=Fa(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:Ea(Ca({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),n=Fa(t+"/pending",(function(t,o,e){return{payload:void 0,meta:Ea(Ca({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),i=Fa(t+"/rejected",(function(t,o,r,n,i){return{payload:n,error:(e&&e.serializeError||Pa)(t||"Rejected"),meta:Ea(Ca({},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(c,l,s){var f,u=(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}(),d=new a;function p(t){f=t,d.abort()}var h=function(){return a=this,h=null,y=function(){var a,h,y,g,b,m;return ga(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:l,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||d.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,o){return d.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),c(n(u,t,null==(h=null==e?void 0:e.getPendingMeta)?void 0:h.call(e,{requestId:u,arg:t},{getState:l,extra:s}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:c,getState:l,extra:s,requestId:u,signal:d.signal,abort:p,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,u,t,o.meta):r(o,u,t)}))])];case 3:return y=O.sent(),[3,5];case 4:return m=O.sent(),y=m instanceof _a?i(null,u,t,m.payload,m.meta):i(m,u,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&i.match(y)&&y.meta.condition||c(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,h)).next())}));var a,h,y}();return Object.assign(h,{abort:p,requestId:u,arg:t,unwrap:function(){return h.then(Za)}})}}),{pending:n,rejected:i,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var ja="listenerMiddleware";Fa(ja+"/add"),Fa(ja+"/removeAll"),Fa(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[Mi];return Gi.get(o,t)},set:function(o){var e=this[Mi];Gi.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var n=t[o][Mi];if(!n.P)switch(n.i){case 5:r(n)&&Li(n);break;case 4:e(n)&&Li(n)}}}function e(t){for(var o=t.t,e=t.k,r=$i(e),n=r.length-1;n>=0;n--){var i=r[n];if(i!==Mi){var a=o[i];if(void 0===a&&!ai(o,i))return!0;var c=e[i],l=c&&c[Mi];if(l?l.t!==a:!li(c,a))return!0}}var s=!!o[Mi];return r.length!==$i(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){Ti[t]||(Ti[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=Hi(e);delete i[Mi];for(var a=$i(i),c=0;c<a.length;c++){var l=a[c];i[l]=t(l,o||!!i[l].enumerable)}return Object.create(Object.getPrototypeOf(e),i)}(r,o),i={i:r?5:4,A:e?e.A:bi(),P:!1,I:!1,R:{},l:e,t:o,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,Mi,{value:i,writable:!0}),n},S:function(t,e,n){n?ei(e)&&e[Mi].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[Mi];if(e){var n=e.t,i=e.k,a=e.R,c=e.i;if(4===c)ni(i,(function(o){o!==Mi&&(void 0!==n[o]||ai(n,o)?a[o]||t(i[o]):(a[o]=!0,Li(e)))})),ni(n,(function(t){void 0!==i[t]||ai(i,t)||(a[t]=!1,Li(e))}));else if(5===c){if(r(e)&&(Li(e),a.length=!0),i.length<n.length)for(var l=i.length;l<n.length;l++)a[l]=!1;else for(var s=n.length;s<i.length;s++)a[s]=!0;for(var f=Math.min(i.length,n.length),u=0;u<f;u++)i.hasOwnProperty(u)||(a[u]=!0),void 0===a[u]&&t(i[u])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Ma{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(Gn(n))return n;if(null==r)return;const i=Aa({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=ka({reducer:(t,o)=>"CLEAR_FT_REDUX_STORE"===o.type?i.getInitialState():"string"==typeof o.type&&o.type.startsWith("DEFAULT_VALUE_SETTER__")?{...t,...o.overwrites}:i.reducer(t,o)});return window.ftReduxStores[r.name]=new Ma(i,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Tn,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_VALUE_SETTER__"+Object.keys(t).join("_"),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 Da=Object.freeze({__proto__:null,FtCommandQueue:Tn,FtLitElementRedux:ti,FtReduxStore:Ma,clearAllStores:function(){var t;for(let o of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))Gn(o)&&o.clear()},isFtReduxStore:Gn,redux:t=>{const o=null!=t?t:{};return(t,e)=>{var r;const n={hasChanged:(t,o)=>!ae(t,o),attribute:!1,...o};xo(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 $a=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 Ha=Symbol("elementInternals");var Ta,Ga,Va,qa,Ya=Object.freeze({__proto__:null,toFtFormComponent:function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Ha].form}constructor(...t){super(t),this[Ha]=this.attachInternals(),this[Ha].role=o}setFormValue(t){this[Ha].setFormValue(t)}}}});const Ja=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Va=null===(Ga=null===(Ta=window.safari)||void 0===Ta?void 0:Ta.pushNotification)||void 0===Ga?void 0:Ga.toString())&&void 0!==Va?Va:""),Xa="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(qa=window.ftGlobals)&&void 0!==qa?qa:{lit:Oo,litDecorators:Co,litRepeat:Ko,litClassMap:Zo,litStyleMap:$o,litUnsafeHTML:Go,wcUtils:{...Xo,...Jo,...te,...ee,...ue,...hr,...mr,...Sn,...dr,...kn,...Fn,...ce,...Pn,...Dn,...$n,...Hn,...Da,...En,...$a,...Ya,isSafari:Ja,isTouchScreen:Xa}};const Qa={color:pe.extend("--ft-loader-color","",pr.colorPrimary),size:pe.create("--ft-loader-size","","SIZE","80px")},tc=ut`
178
+ `;var Dn=Object.freeze({__proto__:null,noTextSelect:jn,safariEllipsisFix:Hn,wordWrap:Mn}),$n=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)===Di}(t)||Array.isArray(t)||!!t[Mi]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Mi])||fi(t)||di(t))}function ii(t,o,e){void 0===e&&(e=!1),0===ai(t)?(e?Object.keys:$i)(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:di(t)?3:0}function ci(t,o){return 2===ai(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function li(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 Pi&&t instanceof Map}function di(t){return Zi&&t instanceof Set}function ui(t){return t.o||t.t}function pi(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Ti(t);delete o[Hi];for(var e=$i(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 hi(t,o){return void 0===o&&(o=!1),yi(t)||ri(t)||!ni(t)||(ai(t)>1&&(t.set=t.add=t.clear=t.delete=gi),Object.freeze(t),o&&ii(t,(function(t,o){return hi(o,!0)}),!0)),t}function gi(){ei(2)}function yi(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){Si(t),t.p.forEach(wi),t.p=null}function Si(t){t===Ai&&(Ai=t.l)}function xi(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!==ji?t:void 0}function Ci(t,o,e){if(yi(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=pi(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 c=Ci(t,n,i&&o&&3!==o.i&&!ci(o.R,r)?i.concat(r):void 0);if(li(e,r,c),!ri(c))return;t.m=!1}else a&&e.add(n);if(ni(n)&&!yi(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&&hi(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=pi(t.t))}function ki(t,o,e){var r=fi(o)?bi("MapSet").F(o,e):di(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),c=a.revoke,l=a.proxy;return r.k=l,r.j=c,l}(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=Bi(o,n),r.I=!1}else e=Bi(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||li(e,o,t(n))})),3===n?new Set(e):e}(t)}function Bi(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return pi(t)}qn=Qn,Yn=ti,Jn=Xn,oi.reduxProperties=new Map,oi.reduxReactiveProperties=new Set,oi.reduxEventListeners=new Map;var Fi,Ai,_i="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Pi="undefined"!=typeof Map,Zi="undefined"!=typeof Set,Ki="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,ji=_i?Symbol.for("immer-nothing"):((Fi={})["immer-nothing"]=!0,Fi),Mi=_i?Symbol.for("immer-draftable"):"__$immer_draftable",Hi=_i?Symbol.for("immer-state"):"__$immer_state",Di=""+Object.prototype.constructor,$i="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 $i(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(!ci(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||ci(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=Ki,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),c=1;c<r;c++)a[c-1]=arguments[c];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 c=xi(o),l=ki(o,t,void 0),s=!0;try{a=e(l),s=!1}finally{s?vi(c):Si(c)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return Oi(c,r),Ni(t,c)}),(function(t){throw vi(c),t})):(Oi(c,r),Ni(a,c))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===ji&&(a=void 0),o.D&&hi(a,!0),r){var f=[],d=[];bi("Patches").M(t,a,f,d),r(f,d)}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=xi(this),e=ki(this,t,void 0);return e[Hi].C=!0,Si(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&&!Ki&&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(".")},ca={INIT:"@@redux/INIT"+aa(),REPLACE:"@@redux/REPLACE"+aa(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+aa()}};function la(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(la)(t,o)}if("function"!=typeof t)throw new Error(na(2));var n=t,i=o,a=[],c=a,l=!1;function s(){c===a&&(c=a.slice())}function f(){if(l)throw new Error(na(3));return i}function d(t){if("function"!=typeof t)throw new Error(na(4));if(l)throw new Error(na(5));var o=!0;return s(),c.push(t),function(){if(o){if(l)throw new Error(na(6));o=!1,s();var e=c.indexOf(t);c.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(l)throw new Error(na(9));try{l=!0,i=n(i,t)}finally{l=!1}for(var o=a=c,e=0;e<o.length;e++){(0,o[e])()}return t}return u({type:ca.INIT}),(r={dispatch:u,subscribe:d,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(na(10));n=t,u({type:ca.REPLACE})}})[ia]=function(){var t,o=d;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:ca.INIT}))throw new Error(na(12));if(void 0===e(void 0,{type:ca.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={},c=0;c<a.length;c++){var l=a[c],s=e[l],f=t[l],d=s(f,o);if(void 0===d)throw o&&o.type,new Error(na(14));n[l]=d,r=r||d!==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 da(){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 pa=ua();pa.withExtraArgument=ua;var ha,ga=pa,ya=(ha=function(t,o){return ha=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])},ha(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}ha(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:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){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,c])}}},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,Sa=Object.getOwnPropertyDescriptors,xa=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(xa)for(var r=0,n=xa(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,Sa(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 ya(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 ya(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(ga.withExtraArgument(e.extraArgument)):r.push(ga));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,c=void 0===a?e():a,l=r.devTools,s=void 0===l||l,f=r.preloadedState,d=void 0===f?void 0:f,u=r.enhancers,p=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 h=c;"function"==typeof h&&(h=h(e));var g=da.apply(void 0,h),y=fa;s&&(y=Ia(Ea({trace:!1},"object"==typeof s&&s)));var b=new Wa(g),m=b;return Array.isArray(p)?m=ma([g],p):"function"==typeof p&&(m=p(b)),la(o,d,y.apply(void 0,m))}function Ba(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={},c={},l={};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,l=o[2],s=void 0===l?void 0:l,f=Ea(Ea({},n),c);return function(t,o,e,r){void 0===e&&(e=[]);var n,i="function"==typeof o?Fa(o):[o,e,r],a=i[0],c=i[1],l=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]],c.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[l]),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,c[s]=e,l[t]=r?Ba(s,r):Ba(s)})),{name:o,reducer:function(t,o){return e||(e=s()),e(t,o)},actions:l,caseReducers:a,getInitialState:function(){return e||(e=s()),e.getInitialState()}}}var _a=["name","message","stack","code"],Pa=function(t,o){this.payload=t,this.meta=o},Za=function(t,o){this.payload=t,this.meta=o},Ka=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=_a;e<r.length;e++){var n=r[e];"string"==typeof t[n]&&(o[n]=t[n])}return o}return{message:String(t)}};function ja(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=Ba(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:Ra(Ea({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),n=Ba(t+"/pending",(function(t,o,e){return{payload:void 0,meta:Ra(Ea({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),i=Ba(t+"/rejected",(function(t,o,r,n,i){return{payload:n,error:(e&&e.serializeError||Ka)(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(c,l,s){var f,d=(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 p(t){f=t,u.abort()}var h=function(){return a=this,h=null,g=function(){var a,h,g,y,b,m;return ba(this,(function(O){switch(O.label){case 0:return O.trys.push([0,4,,5]),y=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:l,extra:s}),null===(v=y)||"object"!=typeof v||"function"!=typeof v.then?[3,2]:[4,y];case 1:y=O.sent(),O.label=2;case 2:if(!1===y||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"})}))})),c(n(d,t,null==(h=null==e?void 0:e.getPendingMeta)?void 0:h.call(e,{requestId:d,arg:t},{getState:l,extra:s}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:c,getState:l,extra:s,requestId:d,signal:u.signal,abort:p,rejectWithValue:function(t,o){return new Pa(t,o)},fulfillWithValue:function(t,o){return new Za(t,o)}})).then((function(o){if(o instanceof Pa)throw o;return o instanceof Za?r(o.payload,d,t,o.meta):r(o,d,t)}))])];case 3:return g=O.sent(),[3,5];case 4:return m=O.sent(),g=m instanceof Pa?i(null,d,t,m.payload,m.meta):i(m,d,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&i.match(g)&&g.meta.condition||c(g),[2,g]}var v}))},new Promise((function(t,o){var e=function(t){try{n(g.next(t))}catch(t){o(t)}},r=function(t){try{n(g.throw(t))}catch(t){o(t)}},n=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};n((g=g.apply(a,h)).next())}));var a,h,g}();return Object.assign(h,{abort:p,requestId:d,arg:t,unwrap:function(){return h.then(ja)}})}}),{pending:n,rejected:i,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Ma="listenerMiddleware";Ba(Ma+"/add"),Ba(Ma+"/removeAll"),Ba(Ma+"/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=$i(e),n=r.length-1;n>=0;n--){var i=r[n];if(i!==Hi){var a=o[i];if(void 0===a&&!ci(o,i))return!0;var c=e[i],l=c&&c[Hi];if(l?l.t!==a:!si(c,a))return!0}}var s=!!o[Hi];return r.length!==$i(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=$i(i),c=0;c<a.length;c++){var l=a[c];i[l]=t(l,o||!!i[l].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,c=e.i;if(4===c)ii(i,(function(o){o!==Hi&&(void 0!==n[o]||ci(n,o)?a[o]||t(i[o]):(a[o]=!0,Wi(e)))})),ii(n,(function(t){void 0!==i[t]||ci(i,t)||(a[t]=!1,Wi(e))}));else if(5===c){if(r(e)&&(Wi(e),a.length=!0),i.length<n.length)for(var l=i.length;l<n.length;l++)a[l]=!1;else for(var s=n.length;s<i.length;s++)a[s]=!0;for(var f=Math.min(i.length,n.length),d=0;d<f;d++)i.hasOwnProperty(d)||(a[d]=!0),void 0===a[d]&&t(i[d])}}}}(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)=>"CLEAR_FT_REDUX_STORE"===o.type?i.getInitialState():"string"==typeof o.type&&o.type.startsWith("DEFAULT_VALUE_SETTER__")?{...t,...o.overwrites}: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_VALUE_SETTER__"+Object.keys(t).join("_"),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 Da=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)=>!ae(t,o),attribute:!1,...o};xo(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 $a=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:Oo,litDecorators:Co,litRepeat:Po,litClassMap:Ko,litStyleMap:Do,litUnsafeHTML:Go,wcUtils:{...Xo,...Jo,...te,...ee,...de,...gr,...Or,...xn,...pr,...zn,...Bn,...ce,...Kn,...Dn,...$n,...Tn,...Da,...Rn,...$a,...Ja,isSafari:Xa,isTouchScreen:Qa}};const tc={color:pe.extend("--ft-loader-color","",hr.colorPrimary),size:pe.create("--ft-loader-size","","SIZE","80px")},oc=dt`
179
179
  :host {
180
180
  line-height: 0;
181
181
  }
@@ -184,8 +184,8 @@ function(t){return(o,e)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}
184
184
  display: inline-block;
185
185
  position: relative;
186
186
 
187
- width: ${Qa.size};
188
- height: ${Qa.size};
187
+ width: ${tc.size};
188
+ height: ${tc.size};
189
189
  }
190
190
 
191
191
  .ft-loader div {
@@ -194,7 +194,7 @@ function(t){return(o,e)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}
194
194
  width: 25%;
195
195
  height: 25%;
196
196
  border-radius: 50%;
197
- background: ${Qa.color};
197
+ background: ${tc.color};
198
198
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
199
199
  }
200
200
 
@@ -241,14 +241,14 @@ function(t){return(o,e)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}
241
241
  transform: translate(0, 0);
242
242
  }
243
243
  100% {
244
- transform: translate(calc(0.35 * ${Qa.size}), 0);
244
+ transform: translate(calc(0.35 * ${tc.size}), 0);
245
245
  }
246
246
  }
247
- `;class oc extends Wn{render(){return Yt`
247
+ `;class ec extends kn{render(){return Yt`
248
248
  <div class="ft-loader">
249
249
  <div></div>
250
250
  <div></div>
251
251
  <div></div>
252
252
  <div></div>
253
253
  </div>
254
- `}}oc.styles=tc,le("ft-loader")(oc),t.FtLoader=oc,t.FtLoaderCssVariables=Qa,t.styles=tc}({});
254
+ `}}ec.styles=oc,le("ft-loader")(ec),t.FtLoader=ec,t.FtLoaderCssVariables=tc,t.styles=oc}({});