@fluid-topics/ft-switch 1.1.41 → 1.1.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,87 +12,136 @@
12
12
  * subject to an additional IP rights grant found at
13
13
  * http://polymer.github.io/PATENTS.txt
14
14
  */
15
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);h(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let p=e.call(i,t);p||(p=f(t),o.call(i,t,p)),this===window.customElements&&(a.set(r,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let i=this._awaitingUpgrade.get(o);i||this._awaitingUpgrade.set(o,i=new Set),e?i.add(t):i.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),r.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const i=p(e)||window.customElements,r=i._getDefinition(o);return r?u(e,r):n.set(e,i),e}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);i.call(this,n,r),e.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);r.call(this,i),e.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const o=this.getAttribute(r);e.call(this,r,t,o)}else n.call(this,r,i)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),r.set(t,o),l=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const i=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=i.apply(e||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const i=o.call(this,...e);return t.set(i,this),i},e.forEach((o=>{const e=window.ElementInternals.prototype,i=e[o];e[o]=function(...o){const e=t.get(this);if(!0===r.get(e).formAssociated)return i?.call(this,...o);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const i=t.getAttribute("name"),r=o.get(i)||[];this[+e]=t,r.push(t),o.set(i,r)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=r.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(Tr){const t=window.customElements.define;window.customElements.define=(o,e,i)=>{if(null!==e)try{t.bind(window.customElements)(o,e,i)}catch(t){console.info(o,e,i,t)}}}class o{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
15
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,r=window.customElements,i=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,c=new Set(i.observedAttributes||[]);h(i,c,s);const l={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(i,l);let f=o.call(r,t);f||(f=p(t),e.call(r,t,f)),this===window.customElements&&(a.set(i,l),l.standInClass=f);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)n.delete(t),d(t,l,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let r=this._awaitingUpgrade.get(e);r||this._awaitingUpgrade.set(e,r=new Set),o?r.add(t):r.delete(t)}},window.HTMLElement=function(){let e=c;if(e)return c=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),i.set(e,o),e},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,f=t=>{let e=t.getRootNode();if(!l(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),l(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const r=f(o)||window.customElements,i=r._getDefinition(e);return i?d(o,i):n.set(o,r),o}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,e,o)=>{if(0===e.size||void 0===o)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);r.call(this,n,i),o.call(this,n,t,i)}else r.call(this,n,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);i.call(this,r),o.call(this,r,t,null)}else i.call(this,r)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const e=this.getAttribute(i);o.call(this,i,t,e)}else n.call(this,i,r)})},u=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):u(o)},d=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),i.set(t,e),c=t;try{new e.elementClass}catch(t){u(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const r=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=r.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const r=e.call(this,...o);return t.set(r,this),r},o.forEach((e=>{const o=window.ElementInternals.prototype,r=o[e];o[e]=function(...e){const o=t.get(this);if(!0===i.get(o).formAssociated)return r?.call(this,...e);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const r=t.getAttribute("name"),i=e.get(r)||[];this[+o]=t,i.push(t),e.set(r,i)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=i.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(as){const t=window.customElements.define;window.customElements.define=(e,o,r)=>{if(null!==o)try{t.bind(window.customElements)(e,o,r)}catch(t){console.info(e,o,r,t)}}}
16
16
  /**
17
17
  * @license
18
18
  * Copyright 2019 Google LLC
19
19
  * SPDX-License-Identifier: BSD-3-Clause
20
- */const e=globalThis,i=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),n=new WeakMap;const a=t=>new class{constructor(t,o,e){if(this._$cssResult$=!0,e!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(i&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=n.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&n.set(o,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,r),s=i?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return a(o)})(t):t
20
+ */const e=globalThis,o=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),i=new WeakMap;const n=t=>new class{constructor(t,e,o){if(this._$cssResult$=!0,o!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(o&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=i.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&i.set(e,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,r),a=o?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return n(e)})(t):t
21
21
  /**
22
22
  * @license
23
23
  * Copyright 2017 Google LLC
24
24
  * SPDX-License-Identifier: BSD-3-Clause
25
- */,{is:l,defineProperty:c,getOwnPropertyDescriptor:p,getOwnPropertyNames:f,getOwnPropertySymbols:h,getPrototypeOf:d}=Object,u=globalThis,y=u.trustedTypes,g=y?y.emptyScript:"",b=u.reactiveElementPolyfillSupport,m=(t,o)=>t,x={toAttribute(t,o){switch(o){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},O=(t,o)=>!l(t,o),v={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:O};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;let N=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(),i=this.getPropertyDescriptor(t,e,o);void 0!==i&&c(this.prototype,t,i)}}static getPropertyDescriptor(t,o,e){const{get:i,set:r}=p(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return i?.call(this)},set(o){const n=i?.call(this);r.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??v}static _$Ei(){if(this.hasOwnProperty(m("elementProperties")))return;const t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(m("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(m("properties"))){const t=this.properties,o=[...f(t),...h(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(s(t))}else void 0!==t&&o.push(s(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(i)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of o){const o=document.createElement("style"),r=e.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=i.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,e);if(void 0!==i&&!0===e.reflect){const r=(void 0!==e.converter?.toAttribute?e.converter:x).toAttribute(o,e.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,o){const e=this.constructor,i=e._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=e.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:x;this._$Em=i,this[i]=r.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,i=!1,r){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??O)(i?r:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};N.elementStyles=[],N.shadowRootOptions={mode:"open"},N[m("elementProperties")]=new Map,N[m("finalized")]=new Map,b?.({ReactiveElement:N}),(u.reactiveElementVersions??=[]).push("2.0.2");
25
+ */,{is:s,defineProperty:c,getOwnPropertyDescriptor:l,getOwnPropertyNames:f,getOwnPropertySymbols:p,getPrototypeOf:h}=Object,u=globalThis,d=u.trustedTypes,y=d?d.emptyScript:"",g=u.reactiveElementPolyfillSupport,b=(t,e)=>t,m={toAttribute(t,e){switch(e){case Boolean:t=t?y:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},v=(t,e)=>!s(t,e),x={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;let O=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=x){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),r=this.getPropertyDescriptor(t,o,e);void 0!==r&&c(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:i}=l(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return r?.call(this)},set(e){const n=r?.call(this);i.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??x}static _$Ei(){if(this.hasOwnProperty(b("elementProperties")))return;const t=h(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(b("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(b("properties"))){const t=this.properties,e=[...f(t),...p(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(a(t))}else void 0!==t&&e.push(a(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,r)=>{if(o)t.adoptedStyleSheets=r.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of r){const r=document.createElement("style"),i=e.litNonce;void 0!==i&&r.setAttribute("nonce",i),r.textContent=o.cssText,t.appendChild(r)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,o);if(void 0!==r&&!0===o.reflect){const i=(void 0!==o.converter?.toAttribute?o.converter:m).toAttribute(e,o.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){const o=this.constructor,r=o._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=o.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:m;this._$Em=r,this[r]=i.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,r=!1,i){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??v)(r?i:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};O.elementStyles=[],O.shadowRootOptions={mode:"open"},O[b("elementProperties")]=new Map,O[b("finalized")]=new Map,g?.({ReactiveElement:O}),(u.reactiveElementVersions??=[]).push("2.0.2");
26
26
  /**
27
27
  * @license
28
28
  * Copyright 2017 Google LLC
29
29
  * SPDX-License-Identifier: BSD-3-Clause
30
30
  */
31
- const w={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:O},S=(t=w,o,e)=>{const{kind:i,metadata:r}=e;let n=globalThis.litPropertyMetadata.get(r);if(void 0===n&&globalThis.litPropertyMetadata.set(r,n=new Map),n.set(e.name,t),"accessor"===i){const{name:i}=e;return{set(e){const r=o.get.call(this);o.set.call(this,e),this.requestUpdate(i,r,t)},init(o){return void 0!==o&&this.C(i,void 0,t),o}}}if("setter"===i){const{name:i}=e;return function(e){const r=this[i];o.call(this,e),this.requestUpdate(i,r,t)}}throw Error("Unsupported decorator location: "+i)};function C(t){return(o,e)=>"object"==typeof e?S(t,o,e):((t,o,e)=>{const i=o.hasOwnProperty(e);return o.constructor.createProperty(e,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(o,e):void 0})(t,o,e)
31
+ const w=globalThis,S=w.trustedTypes,N=S?S.createPolicy("lit-html",{createHTML:t=>t}):void 0,C="$lit$",E=`lit$${(Math.random()+"").slice(9)}$`,R="?"+E,$=`<${R}>`,L=document,I=()=>L.createComment(""),k=t=>null===t||"object"!=typeof t&&"function"!=typeof t,U=Array.isArray,W=t=>U(t)||"function"==typeof t?.[Symbol.iterator],F="[ \t\n\f\r]",A=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,j=/>/g,z=RegExp(`>|${F}(?:([^\\s"'>=/]+)(${F}*=${F}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),K=/'/g,B=/"/g,P=/^(?:script|style|textarea|title)$/i,M=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),D=Symbol.for("lit-noChange"),Z=Symbol.for("lit-nothing"),H=new WeakMap,T=L.createTreeWalker(L,129);function G(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==N?N.createHTML(e):e}const V=(t,e)=>{const o=t.length-1,r=[];let i,n=2===e?"<svg>":"",a=A;for(let e=0;e<o;e++){const o=t[e];let s,c,l=-1,f=0;for(;f<o.length&&(a.lastIndex=f,c=a.exec(o),null!==c);)f=a.lastIndex,a===A?"!--"===c[1]?a=_:void 0!==c[1]?a=j:void 0!==c[2]?(P.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=z):void 0!==c[3]&&(a=z):a===z?">"===c[0]?(a=i??A,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?z:'"'===c[3]?B:K):a===B||a===K?a=z:a===_||a===j?a=A:(a=z,i=void 0);const p=a===z&&t[e+1].startsWith("/>")?" ":"";n+=a===A?o+$:l>=0?(r.push(s),o.slice(0,l)+C+o.slice(l)+E+p):o+E+(-2===l?e:p)}return[G(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),r]};let q=class t{constructor({strings:e,_$litType$:o},r){let i;this.parts=[];let n=0,a=0;const s=e.length-1,c=this.parts,[l,f]=V(e,o);if(this.el=t.createElement(l,r),T.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=T.nextNode())&&c.length<s;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(C)){const e=f[a++],o=i.getAttribute(t).split(E),r=/([.?@])?(.*)/.exec(e);c.push({type:1,index:n,name:r[2],strings:o,ctor:"."===r[1]?tt:"?"===r[1]?et:"@"===r[1]?ot:Q}),i.removeAttribute(t)}else t.startsWith(E)&&(c.push({type:6,index:n}),i.removeAttribute(t));if(P.test(i.tagName)){const t=i.textContent.split(E),e=t.length-1;if(e>0){i.textContent=S?S.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],I()),T.nextNode(),c.push({type:2,index:++n});i.append(t[e],I())}}}else if(8===i.nodeType)if(i.data===R)c.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(E,t+1));)c.push({type:7,index:n}),t+=E.length-1}n++}}static createElement(t,e){const o=L.createElement("template");return o.innerHTML=t,o}};function Y(t,e,o=t,r){if(e===D)return e;let i=void 0!==r?o._$Co?.[r]:o._$Cl;const n=k(e)?void 0:e._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,o,r)),void 0!==r?(o._$Co??=[])[r]=i:o._$Cl=i),void 0!==i&&(e=Y(t,i._$AS(t,e.values),i,r)),e}let J=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,r=(t?.creationScope??L).importNode(e,!0);T.currentNode=r;let i=T.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new X(i,i.nextSibling,this,t):1===s.type?e=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(e=new rt(i,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(i=T.nextNode(),n++)}return T.currentNode=L,r}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},X=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=Z,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=Y(this,t,e),k(t)?t===Z||null==t||""===t?(this._$AH!==Z&&this._$AR(),this._$AH=Z):t!==this._$AH&&t!==D&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):W(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Z&&k(this._$AH)?this._$AA.nextSibling.data=t:this.$(L.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=q.createElement(G(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new J(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=H.get(t.strings);return void 0===e&&H.set(t.strings,e=new q(t)),e}T(e){U(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,i=0;for(const n of e)i===o.length?o.push(r=new t(this.k(I()),this.k(I()),this,this.options)):r=o[i],r._$AI(n),i++;i<o.length&&(this._$AR(r&&r._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},Q=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=Z,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=Z}_$AI(t,e=this,o,r){const i=this.strings;let n=!1;if(void 0===i)t=Y(this,t,e,0),n=!k(t)||t!==this._$AH&&t!==D,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=Y(this,r[o+a],e,a),s===D&&(s=this._$AH[a]),n||=!k(s)||s!==this._$AH[a],s===Z?t=Z:t!==Z&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===Z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},tt=class extends Q{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Z?void 0:t}},et=class extends Q{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Z)}},ot=class extends Q{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=Y(this,t,e,0)??Z)===D)return;const o=this._$AH,r=t===Z&&o!==Z||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==Z&&(o===Z||r);r&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},rt=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){Y(this,t)}};const it={j:C,P:E,A:R,C:1,M:V,L:J,R:W,V:Y,D:X,I:Q,H:et,N:ot,U:tt,B:rt},nt=w.litHtmlPolyfillSupport;nt?.(q,X),(w.litHtmlVersions??=[]).push("3.1.0");
32
+ /**
33
+ * @license
34
+ * Copyright 2019 Google LLC
35
+ * SPDX-License-Identifier: BSD-3-Clause
36
+ */
37
+ const at=globalThis,st=at.ShadowRoot&&(void 0===at.ShadyCSS||at.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ct=Symbol(),lt=new WeakMap;let ft=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==ct)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(st&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=lt.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&lt.set(e,t))}return t}toString(){return this.cssText}};const pt=t=>new ft("string"==typeof t?t:t+"",void 0,ct),ht=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,r)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[r+1]),t[0]);return new ft(o,t,ct)},ut=(t,e)=>{if(st)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),r=at.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}},dt=st?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return pt(e)})(t):t
32
38
  /**
33
39
  * @license
34
40
  * Copyright 2017 Google LLC
35
41
  * SPDX-License-Identifier: BSD-3-Clause
36
- */}function E(t){return C({...t,state:!0,attribute:!1})}
42
+ */,{is:yt,defineProperty:gt,getOwnPropertyDescriptor:bt,getOwnPropertyNames:mt,getOwnPropertySymbols:vt,getPrototypeOf:xt}=Object,Ot=globalThis,wt=Ot.trustedTypes,St=wt?wt.emptyScript:"",Nt=Ot.reactiveElementPolyfillSupport,Ct=(t,e)=>t,Et={toAttribute(t,e){switch(e){case Boolean:t=t?St:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},Rt=(t,e)=>!yt(t,e),$t={attribute:!0,type:String,converter:Et,reflect:!1,hasChanged:Rt};Symbol.metadata??=Symbol("metadata"),Ot.litPropertyMetadata??=new WeakMap;let Lt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=$t){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),r=this.getPropertyDescriptor(t,o,e);void 0!==r&&gt(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:i}=bt(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return r?.call(this)},set(e){const n=r?.call(this);i.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??$t}static _$Ei(){if(this.hasOwnProperty(Ct("elementProperties")))return;const t=xt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ct("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ct("properties"))){const t=this.properties,e=[...mt(t),...vt(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(dt(t))}else void 0!==t&&e.push(dt(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return 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,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,o);if(void 0!==r&&!0===o.reflect){const i=(void 0!==o.converter?.toAttribute?o.converter:Et).toAttribute(e,o.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){const o=this.constructor,r=o._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=o.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Et;this._$Em=r,this[r]=i.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,r=!1,i){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??Rt)(r?i:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};Lt.elementStyles=[],Lt.shadowRootOptions={mode:"open"},Lt[Ct("elementProperties")]=new Map,Lt[Ct("finalized")]=new Map,Nt?.({ReactiveElement:Lt}),(Ot.reactiveElementVersions??=[]).push("2.0.2");
37
43
  /**
38
44
  * @license
39
45
  * Copyright 2017 Google LLC
40
46
  * SPDX-License-Identifier: BSD-3-Clause
41
- */function R(t){return(o,e)=>{const i="function"==typeof o?o:o[e];Object.assign(i,t)}}
47
+ */
48
+ const It=globalThis,kt=It.trustedTypes,Ut=kt?kt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Wt="$lit$",Ft=`lit$${(Math.random()+"").slice(9)}$`,At="?"+Ft,_t=`<${At}>`,jt=document,zt=()=>jt.createComment(""),Kt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Bt=Array.isArray,Pt=t=>Bt(t)||"function"==typeof t?.[Symbol.iterator],Mt="[ \t\n\f\r]",Dt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Zt=/-->/g,Ht=/>/g,Tt=RegExp(`>|${Mt}(?:([^\\s"'>=/]+)(${Mt}*=${Mt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Gt=/'/g,Vt=/"/g,qt=/^(?:script|style|textarea|title)$/i,Yt=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),Jt=Yt(1),Xt=Yt(2),Qt=Symbol.for("lit-noChange"),te=Symbol.for("lit-nothing"),ee=new WeakMap,oe=jt.createTreeWalker(jt,129);function re(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ut?Ut.createHTML(e):e}const ie=(t,e)=>{const o=t.length-1,r=[];let i,n=2===e?"<svg>":"",a=Dt;for(let e=0;e<o;e++){const o=t[e];let s,c,l=-1,f=0;for(;f<o.length&&(a.lastIndex=f,c=a.exec(o),null!==c);)f=a.lastIndex,a===Dt?"!--"===c[1]?a=Zt:void 0!==c[1]?a=Ht:void 0!==c[2]?(qt.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=Tt):void 0!==c[3]&&(a=Tt):a===Tt?">"===c[0]?(a=i??Dt,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?Tt:'"'===c[3]?Vt:Gt):a===Vt||a===Gt?a=Tt:a===Zt||a===Ht?a=Dt:(a=Tt,i=void 0);const p=a===Tt&&t[e+1].startsWith("/>")?" ":"";n+=a===Dt?o+_t:l>=0?(r.push(s),o.slice(0,l)+Wt+o.slice(l)+Ft+p):o+Ft+(-2===l?e:p)}return[re(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),r]};class ne{constructor({strings:t,_$litType$:e},o){let r;this.parts=[];let i=0,n=0;const a=t.length-1,s=this.parts,[c,l]=ie(t,e);if(this.el=ne.createElement(c,o),oe.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=oe.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Wt)){const e=l[n++],o=r.getAttribute(t).split(Ft),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:i,name:a[2],strings:o,ctor:"."===a[1]?fe:"?"===a[1]?pe:"@"===a[1]?he:le}),r.removeAttribute(t)}else t.startsWith(Ft)&&(s.push({type:6,index:i}),r.removeAttribute(t));if(qt.test(r.tagName)){const t=r.textContent.split(Ft),e=t.length-1;if(e>0){r.textContent=kt?kt.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],zt()),oe.nextNode(),s.push({type:2,index:++i});r.append(t[e],zt())}}}else if(8===r.nodeType)if(r.data===At)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(Ft,t+1));)s.push({type:7,index:i}),t+=Ft.length-1}i++}}static createElement(t,e){const o=jt.createElement("template");return o.innerHTML=t,o}}function ae(t,e,o=t,r){if(e===Qt)return e;let i=void 0!==r?o._$Co?.[r]:o._$Cl;const n=Kt(e)?void 0:e._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,o,r)),void 0!==r?(o._$Co??=[])[r]=i:o._$Cl=i),void 0!==i&&(e=ae(t,i._$AS(t,e.values),i,r)),e}let se=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,r=(t?.creationScope??jt).importNode(e,!0);oe.currentNode=r;let i=oe.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new ce(i,i.nextSibling,this,t):1===s.type?e=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(e=new ue(i,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(i=oe.nextNode(),n++)}return oe.currentNode=jt,r}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},ce=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=te,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=ae(this,t,e),Kt(t)?t===te||null==t||""===t?(this._$AH!==te&&this._$AR(),this._$AH=te):t!==this._$AH&&t!==Qt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):Pt(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==te&&Kt(this._$AH)?this._$AA.nextSibling.data=t:this.$(jt.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=ne.createElement(re(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new se(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=ee.get(t.strings);return void 0===e&&ee.set(t.strings,e=new ne(t)),e}T(e){Bt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,i=0;for(const n of e)i===o.length?o.push(r=new t(this.k(zt()),this.k(zt()),this,this.options)):r=o[i],r._$AI(n),i++;i<o.length&&(this._$AR(r&&r._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},le=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=te,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=te}_$AI(t,e=this,o,r){const i=this.strings;let n=!1;if(void 0===i)t=ae(this,t,e,0),n=!Kt(t)||t!==this._$AH&&t!==Qt,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=ae(this,r[o+a],e,a),s===Qt&&(s=this._$AH[a]),n||=!Kt(s)||s!==this._$AH[a],s===te?t=te:t!==te&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===te?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},fe=class extends le{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===te?void 0:t}},pe=class extends le{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==te)}},he=class extends le{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=ae(this,t,e,0)??te)===Qt)return;const o=this._$AH,r=t===te&&o!==te||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==te&&(o===te||r);r&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},ue=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){ae(this,t)}};const de={j:Wt,P:Ft,A:At,C:1,M:ie,L:se,R:Pt,V:ae,D:ce,I:le,H:pe,N:he,U:fe,B:ue},ye=It.litHtmlPolyfillSupport;ye?.(ne,ce),(It.litHtmlVersions??=[]).push("3.1.0");const ge=(t,e,o)=>{const r=o?.renderBefore??e;let i=r._$litPart$;if(void 0===i){const t=o?.renderBefore??null;r._$litPart$=i=new ce(e.insertBefore(zt(),t),t,void 0,o??{})}return i._$AI(t),i
42
49
  /**
43
50
  * @license
44
51
  * Copyright 2017 Google LLC
45
52
  * SPDX-License-Identifier: BSD-3-Clause
46
- */const U=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
53
+ */};let be=class extends Lt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=ge(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Qt}};be._$litElement$=!0,be.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:be});const me=globalThis.litElementPolyfillSupport;me?.({LitElement:be});(globalThis.litElementVersions??=[]).push("4.0.2");var ve=Object.freeze({__proto__:null,CSSResult:ft,LitElement:be,ReactiveElement:Lt,_$LE:{_$AK:(t,e,o)=>{t._$AK(e,o)},_$AL:t=>t._$AL},_$LH:de,adoptStyles:ut,css:ht,defaultConverter:Et,getCompatibleStyle:dt,html:Jt,isServer:!1,noChange:Qt,notEqual:Rt,nothing:te,render:ge,supportsAdoptingStyleSheets:st,svg:Xt,unsafeCSS:pt});
47
54
  /**
48
55
  * @license
49
56
  * Copyright 2017 Google LLC
50
57
  * SPDX-License-Identifier: BSD-3-Clause
51
- */;function $(t,o){return(e,i,r)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof i?e:r??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return U(0,0,{get(){let e=t.call(this);return void 0===e&&(e=n(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return U(0,0,{get(){return n(this)}})}}
58
+ */const xe={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v},Oe=(t=xe,e,o)=>{const{kind:r,metadata:i}=o;let n=globalThis.litPropertyMetadata.get(i);if(void 0===n&&globalThis.litPropertyMetadata.set(i,n=new Map),n.set(o.name,t),"accessor"===r){const{name:r}=o;return{set(o){const i=e.get.call(this);e.set.call(this,o),this.requestUpdate(r,i,t)},init(e){return void 0!==e&&this.C(r,void 0,t),e}}}if("setter"===r){const{name:r}=o;return function(o){const i=this[r];e.call(this,o),this.requestUpdate(r,i,t)}}throw Error("Unsupported decorator location: "+r)};
52
59
  /**
53
60
  * @license
54
61
  * Copyright 2017 Google LLC
55
62
  * SPDX-License-Identifier: BSD-3-Clause
56
- */function W(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,i,r;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(i=e;0!=i--;)if(!W(t[i],o[i]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(i of t.entries())if(!o.has(i[0]))return!1;for(i of t.entries())if(!W(i[1],o.get(i[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(i of t.entries())if(!o.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(r=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(i=e;0!=i--;)if(!Object.prototype.hasOwnProperty.call(o,r[i]))return!1;for(i=e;0!=i--;){var n=r[i];if(!W(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const I=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};
63
+ */function we(t){return(e,o)=>"object"==typeof o?Oe(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)
57
64
  /**
58
65
  * @license
59
66
  * Copyright 2017 Google LLC
60
67
  * SPDX-License-Identifier: BSD-3-Clause
61
- */
62
- const k=globalThis,L=k.trustedTypes,K=L?L.createPolicy("lit-html",{createHTML:t=>t}):void 0,Z="$lit$",z=`lit$${(Math.random()+"").slice(9)}$`,F="?"+z,A=`<${F}>`,D=document,M=()=>D.createComment(""),B=t=>null===t||"object"!=typeof t&&"function"!=typeof t,P=Array.isArray,H="[ \t\n\f\r]",j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,T=/-->/g,_=/>/g,G=RegExp(`>|${H}(?:([^\\s"'>=/]+)(${H}*=${H}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Y=/'/g,V=/"/g,J=/^(?:script|style|textarea|title)$/i,q=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),X=Symbol.for("lit-noChange"),Q=Symbol.for("lit-nothing"),tt=new WeakMap,ot=D.createTreeWalker(D,129);function et(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==K?K.createHTML(o):o}let it=class t{constructor({strings:o,_$litType$:e},i){let r;this.parts=[];let n=0,a=0;const s=o.length-1,l=this.parts,[c,p]=((t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=j;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,l=a.exec(e),null!==l);)p=a.lastIndex,a===j?"!--"===l[1]?a=T:void 0!==l[1]?a=_:void 0!==l[2]?(J.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=G):void 0!==l[3]&&(a=G):a===G?">"===l[0]?(a=r??j,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?G:'"'===l[3]?V:Y):a===V||a===Y?a=G:a===T||a===_?a=j:(a=G,r=void 0);const f=a===G&&t[o+1].startsWith("/>")?" ":"";n+=a===j?e+A:c>=0?(i.push(s),e.slice(0,c)+Z+e.slice(c)+z+f):e+z+(-2===c?o:f)}return[et(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]})(o,e);if(this.el=t.createElement(c,i),ot.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ot.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Z)){const o=p[a++],e=r.getAttribute(t).split(z),i=/([.?@])?(.*)/.exec(o);l.push({type:1,index:n,name:i[2],strings:e,ctor:"."===i[1]?st:"?"===i[1]?lt:"@"===i[1]?ct:at}),r.removeAttribute(t)}else t.startsWith(z)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(J.test(r.tagName)){const t=r.textContent.split(z),o=t.length-1;if(o>0){r.textContent=L?L.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],M()),ot.nextNode(),l.push({type:2,index:++n});r.append(t[o],M())}}}else if(8===r.nodeType)if(r.data===F)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(z,t+1));)l.push({type:7,index:n}),t+=z.length-1}n++}}static createElement(t,o){const e=D.createElement("template");return e.innerHTML=t,e}};function rt(t,o,e=t,i){if(o===X)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=B(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=rt(t,r._$AS(t,o.values),r,i)),o}let nt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=Q,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=rt(this,t,o),B(t)?t===Q||null==t||""===t?(this._$AH!==Q&&this._$AR(),this._$AH=Q):t!==this._$AH&&t!==X&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>P(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Q&&B(this._$AH)?this._$AA.nextSibling.data=t:this.$(D.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=it.createElement(et(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??D).importNode(o,!0);ot.currentNode=i;let r=ot.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new nt(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new pt(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=ot.nextNode(),n++)}return ot.currentNode=D,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=tt.get(t.strings);return void 0===o&&tt.set(t.strings,o=new it(t)),o}T(o){P(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const n of o)r===e.length?e.push(i=new t(this.k(M()),this.k(M()),this,this.options)):i=e[r],i._$AI(n),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},at=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=Q,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=Q}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=rt(this,t,o,0),n=!B(t)||t!==this._$AH&&t!==X,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=rt(this,i[e+a],o,a),s===X&&(s=this._$AH[a]),n||=!B(s)||s!==this._$AH[a],s===Q?t=Q:t!==Q&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===Q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},st=class extends at{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Q?void 0:t}},lt=class extends at{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Q)}},ct=class extends at{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=rt(this,t,o,0)??Q)===X)return;const e=this._$AH,i=t===Q&&e!==Q||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==Q&&(e===Q||i);i&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},pt=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){rt(this,t)}};const ft=k.litHtmlPolyfillSupport;ft?.(it,nt),(k.litHtmlVersions??=[]).push("3.1.0");
68
+ */}function Se(t){return we({...t,state:!0,attribute:!1})}
63
69
  /**
64
70
  * @license
65
- * Copyright 2019 Google LLC
71
+ * Copyright 2017 Google LLC
66
72
  * SPDX-License-Identifier: BSD-3-Clause
67
- */
68
- const ht=globalThis,dt=ht.ShadowRoot&&(void 0===ht.ShadyCSS||ht.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ut=Symbol(),yt=new WeakMap;let gt=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==ut)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(dt&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=yt.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&yt.set(o,t))}return t}toString(){return this.cssText}};const bt=t=>new gt("string"==typeof t?t:t+"",void 0,ut),mt=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,i)=>o+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[i+1]),t[0]);return new gt(e,t,ut)},xt=dt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return bt(o)})(t):t
73
+ */function Ne(t){return(e,o)=>{const r="function"==typeof e?e:e[o];Object.assign(r,t)}}
74
+ /**
75
+ * @license
76
+ * Copyright 2017 Google LLC
77
+ * SPDX-License-Identifier: BSD-3-Clause
78
+ */const Ce=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
79
+ /**
80
+ * @license
81
+ * Copyright 2017 Google LLC
82
+ * SPDX-License-Identifier: BSD-3-Clause
83
+ */;function Ee(t,e){return(o,r,i)=>{const n=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof r?o:i??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return Ce(0,0,{get(){let o=t.call(this);return void 0===o&&(o=n(this),(null!==o||this.hasUpdated)&&e.call(this,o)),o}})}return Ce(0,0,{get(){return n(this)}})}}
69
84
  /**
70
85
  * @license
71
86
  * Copyright 2017 Google LLC
72
87
  * SPDX-License-Identifier: BSD-3-Clause
73
- */,{is:Ot,defineProperty:vt,getOwnPropertyDescriptor:Nt,getOwnPropertyNames:wt,getOwnPropertySymbols:St,getPrototypeOf:Ct}=Object,Et=globalThis,Rt=Et.trustedTypes,Ut=Rt?Rt.emptyScript:"",$t=Et.reactiveElementPolyfillSupport,Wt=(t,o)=>t,It={toAttribute(t,o){switch(o){case Boolean:t=t?Ut: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}},kt=(t,o)=>!Ot(t,o),Lt={attribute:!0,type:String,converter:It,reflect:!1,hasChanged:kt};Symbol.metadata??=Symbol("metadata"),Et.litPropertyMetadata??=new WeakMap;class Kt 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=Lt){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),i=this.getPropertyDescriptor(t,e,o);void 0!==i&&vt(this.prototype,t,i)}}static getPropertyDescriptor(t,o,e){const{get:i,set:r}=Nt(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return i?.call(this)},set(o){const n=i?.call(this);r.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Lt}static _$Ei(){if(this.hasOwnProperty(Wt("elementProperties")))return;const t=Ct(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Wt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Wt("properties"))){const t=this.properties,o=[...wt(t),...St(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(xt(t))}else void 0!==t&&o.push(xt(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(dt)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),i=ht.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,e);if(void 0!==i&&!0===e.reflect){const r=(void 0!==e.converter?.toAttribute?e.converter:It).toAttribute(o,e.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,o){const e=this.constructor,i=e._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=e.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:It;this._$Em=i,this[i]=r.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,i=!1,r){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??kt)(i?r:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}}Kt.elementStyles=[],Kt.shadowRootOptions={mode:"open"},Kt[Wt("elementProperties")]=new Map,Kt[Wt("finalized")]=new Map,$t?.({ReactiveElement:Kt}),(Et.reactiveElementVersions??=[]).push("2.0.2");
88
+ */let Re;
74
89
  /**
75
90
  * @license
76
91
  * Copyright 2017 Google LLC
77
92
  * SPDX-License-Identifier: BSD-3-Clause
78
93
  */
79
- const Zt=globalThis,zt=Zt.trustedTypes,Ft=zt?zt.createPolicy("lit-html",{createHTML:t=>t}):void 0,At="$lit$",Dt=`lit$${(Math.random()+"").slice(9)}$`,Mt="?"+Dt,Bt=`<${Mt}>`,Pt=document,Ht=()=>Pt.createComment(""),jt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Tt=Array.isArray,_t="[ \t\n\f\r]",Gt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Yt=/-->/g,Vt=/>/g,Jt=RegExp(`>|${_t}(?:([^\\s"'>=/]+)(${_t}*=${_t}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),qt=/'/g,Xt=/"/g,Qt=/^(?:script|style|textarea|title)$/i,to=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),oo=Symbol.for("lit-noChange"),eo=Symbol.for("lit-nothing"),io=new WeakMap,ro=Pt.createTreeWalker(Pt,129);function no(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ft?Ft.createHTML(o):o}const ao=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=Gt;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,l=a.exec(e),null!==l);)p=a.lastIndex,a===Gt?"!--"===l[1]?a=Yt:void 0!==l[1]?a=Vt:void 0!==l[2]?(Qt.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=Jt):void 0!==l[3]&&(a=Jt):a===Jt?">"===l[0]?(a=r??Gt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?Jt:'"'===l[3]?Xt:qt):a===Xt||a===qt?a=Jt:a===Yt||a===Vt?a=Gt:(a=Jt,r=void 0);const f=a===Jt&&t[o+1].startsWith("/>")?" ":"";n+=a===Gt?e+Bt:c>=0?(i.push(s),e.slice(0,c)+At+e.slice(c)+Dt+f):e+Dt+(-2===c?o:f)}return[no(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class so{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[l,c]=ao(t,o);if(this.el=so.createElement(l,e),ro.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=ro.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(At)){const o=c[n++],e=i.getAttribute(t).split(Dt),a=/([.?@])?(.*)/.exec(o);s.push({type:1,index:r,name:a[2],strings:e,ctor:"."===a[1]?fo:"?"===a[1]?ho:"@"===a[1]?uo:po}),i.removeAttribute(t)}else t.startsWith(Dt)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(Qt.test(i.tagName)){const t=i.textContent.split(Dt),o=t.length-1;if(o>0){i.textContent=zt?zt.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],Ht()),ro.nextNode(),s.push({type:2,index:++r});i.append(t[o],Ht())}}}else if(8===i.nodeType)if(i.data===Mt)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Dt,t+1));)s.push({type:7,index:r}),t+=Dt.length-1}r++}}static createElement(t,o){const e=Pt.createElement("template");return e.innerHTML=t,e}}function lo(t,o,e=t,i){if(o===oo)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=jt(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=lo(t,r._$AS(t,o.values),r,i)),o}class co{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=eo,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=lo(this,t,o),jt(t)?t===eo||null==t||""===t?(this._$AH!==eo&&this._$AR(),this._$AH=eo):t!==this._$AH&&t!==oo&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Tt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==eo&&jt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Pt.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=so.createElement(no(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??Pt).importNode(o,!0);ro.currentNode=i;let r=ro.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new co(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new yo(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=ro.nextNode(),n++)}return ro.currentNode=Pt,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=io.get(t.strings);return void 0===o&&io.set(t.strings,o=new so(t)),o}T(t){Tt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,i=0;for(const r of t)i===o.length?o.push(e=new co(this.k(Ht()),this.k(Ht()),this,this.options)):e=o[i],e._$AI(r),i++;i<o.length&&(this._$AR(e&&e._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class po{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=eo,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=eo}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=lo(this,t,o,0),n=!jt(t)||t!==this._$AH&&t!==oo,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=lo(this,i[e+a],o,a),s===oo&&(s=this._$AH[a]),n||=!jt(s)||s!==this._$AH[a],s===eo?t=eo:t!==eo&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===eo?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class fo extends po{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===eo?void 0:t}}class ho extends po{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==eo)}}class uo extends po{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=lo(this,t,o,0)??eo)===oo)return;const e=this._$AH,i=t===eo&&e!==eo||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==eo&&(e===eo||i);i&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class yo{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){lo(this,t)}}const go=Zt.litHtmlPolyfillSupport;go?.(so,co),(Zt.litHtmlVersions??=[]).push("3.1.0");
94
+ function $e(t){return(e,o)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return Ce(0,0,{get(){const e=this.renderRoot?.querySelector(i);return e?.assignedNodes(t)??[]}})}}var Le=Object.freeze({__proto__:null,customElement:t=>(e,o)=>{void 0!==o?o.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)},eventOptions:Ne,property:we,query:Ee,queryAll:function(t){return(e,o)=>Ce(0,0,{get(){return(this.renderRoot??(Re??=document.createDocumentFragment())).querySelectorAll(t)}})
80
95
  /**
81
96
  * @license
82
97
  * Copyright 2017 Google LLC
83
98
  * SPDX-License-Identifier: BSD-3-Clause
99
+ */},queryAssignedElements:
100
+ /**
101
+ * @license
102
+ * Copyright 2021 Google LLC
103
+ * SPDX-License-Identifier: BSD-3-Clause
84
104
  */
85
- class bo extends Kt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{const i=e?.renderBefore??o;let r=i._$litPart$;if(void 0===r){const t=e?.renderBefore??null;i._$litPart$=r=new co(o.insertBefore(Ht(),t),t,void 0,e??{})}return r._$AI(t),r})(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return oo}}bo._$litElement$=!0,bo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:bo});const mo=globalThis.litElementPolyfillSupport;mo?.({LitElement:bo}),(globalThis.litElementVersions??=[]).push("4.0.2");const xo=t=>"string"==typeof t?bt(t):t;class Oo{static create(t,o,e,i){const r=t=>xo(null!=t?t:i),n=mt`var(${xo(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>mt`var(${xo(t)}, ${r(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,o,e,i){const r=t=>e.get(null!=t?t:i),n=mt`var(${xo(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>mt`var(${xo(t)}, ${r(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):xo(null!=o?o:t.lastResortDefaultValue()),i=mt`var(${xo(t.name)}, ${e(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=e,i.get=o=>mt`var(${xo(t.name)}, ${e(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function vo(t,o){return xo(`${t.name}: ${o}`)}const No={colorWhite:Oo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Oo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Oo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Oo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Oo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Oo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Oo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Oo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Oo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Oo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Oo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Oo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Oo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Oo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Oo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Oo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Oo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Oo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Oo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Oo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Oo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Oo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Oo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Oo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Oo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Oo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Oo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Oo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Oo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Oo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Oo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Oo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Oo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Oo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Oo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Oo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Oo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Oo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Oo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Oo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Oo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Oo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Oo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Oo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Oo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Oo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Oo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Oo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Oo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Oo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Oo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Oo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Oo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Oo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Oo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Oo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Oo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Oo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Oo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Oo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Oo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Oo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Oo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Oo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Oo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Oo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Oo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Oo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Oo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Oo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Oo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Oo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Oo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Oo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Oo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Oo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Oo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Oo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Oo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Oo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Oo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Oo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Oo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Oo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Oo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Oo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Oo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Oo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Oo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Oo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Oo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Oo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Oo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Oo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Oo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Oo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Oo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Oo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Oo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Oo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Oo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Oo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Oo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Oo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Oo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Oo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Oo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Oo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Oo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Oo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Oo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Oo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Oo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Oo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Oo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Oo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Oo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Oo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Oo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Oo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Oo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Oo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Oo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Oo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Oo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Oo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Oo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Oo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Oo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Oo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Oo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Oo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Oo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Oo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Oo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Oo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Oo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Oo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Oo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Oo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Oo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Oo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Oo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Oo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Oo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Oo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Oo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Oo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Oo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Oo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Oo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Oo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Oo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Oo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Oo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Oo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Oo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Oo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Oo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Oo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Oo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Oo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Oo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Oo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Oo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Oo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Oo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Oo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Oo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Oo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Oo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Oo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Oo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Oo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Oo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Oo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Oo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Oo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Oo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Oo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Oo.create("--ft-opacity-0","","NUMBER","0"),opacity8:Oo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Oo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Oo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Oo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Oo.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:Oo.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:Oo.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:Oo.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:Oo.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:Oo.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:Oo.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:Oo.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:Oo.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:Oo.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},wo={display:{fontFamily:Oo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Oo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Oo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Oo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:Oo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Oo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Oo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:Oo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Oo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Oo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:Oo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Oo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Oo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Oo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Oo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Oo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Oo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Oo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Oo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Oo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Oo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Oo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Oo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Oo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Oo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Oo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Oo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Oo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Oo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Oo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Oo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Oo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Oo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Oo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Oo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Oo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Oo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Oo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:Oo.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:Oo.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:Oo.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:Oo.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:Oo.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:Oo.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},So={backgroundActionPrimary:Oo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",No.colorBrand0),backgroundErrorPrimary:Oo.extend("--ft-background-error-primary","Used as background of error components.",No.colorRed0),backgroundErrorSubtle:Oo.extend("--ft-background-error-subtle","Used as background of subtle error components.",No.colorRed10),backgroundInfoPrimary:Oo.extend("--ft-background-info-primary","Used as background of information components.",No.colorCyan200),backgroundInfoSubtle:Oo.extend("--ft-background-info-subtle","Used as background of subtle information components.",No.colorCyan10),backgroundWarningPrimary:Oo.extend("--ft-background-warning-primary","Used as background of warning components.",No.colorOrange300),backgroundWarningSubtle:Oo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",No.colorOrange10),backgroundSuccessPrimary:Oo.extend("--ft-background-success-primary","Used as background of success components.",No.colorGreen200),backgroundSuccessSubtle:Oo.extend("--ft-background-success-subtle","Used as background of subtle success components.",No.colorGreen10),backgroundGlobalSurface:Oo.extend("--ft-background-global-surface","Used as app background.",No.colorWhite),backgroundGlobalOnSurface:Oo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",No.colorGray10),backgroundGlobalOnSurfaceDark:Oo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",No.colorGray30),contentActionPrimary:Oo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",No.colorBrand0),contentWarningPrimary:Oo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",No.colorOrange300),contentWarningIconOnly:Oo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",No.colorOrange0),contentErrorPrimary:Oo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",No.colorRed0),contentErrorIconOnly:Oo.extend("--ft-content-error-icon-only","Used on error status icons alone",No.colorRed0),contentInfoPrimary:Oo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",No.colorCyan200),contentInfoIconOnly:Oo.extend("--ft-content-info-icon-only","Used on info status icons alone",No.colorCyan0),contentSuccessPrimary:Oo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",No.colorGreen200),contentSuccessIconOnly:Oo.extend("--ft-content-success-icon-only","Used on success status icons alone",No.colorGreen0),contentGlobalPrimary:Oo.extend("--ft-content-global-primary","Used for main content on the page.",No.colorGray500),contentGlobalSecondary:Oo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",No.colorGray200),contentGlobalSubtle:Oo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",No.colorGray0),contentGlobalOnColor:Oo.extend("--ft-content-global-on-color","Used for content on a dominant color.",No.colorWhite),borderActionPrimary:Oo.extend("--ft-border-action-primary","Used as border for primary action components.",No.colorBrand0),borderActionFocusRing:Oo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",No.colorCyan0),borderWarningPrimary:Oo.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",No.colorOrange300),borderWarningSubtle:Oo.extend("--ft-border-warning-subtle","Used as border for warning components.",No.colorOrange30),borderSuccessPrimary:Oo.extend("--ft-border-success-primary","Used as border for success buttons.",No.colorGreen200),borderSuccessSubtle:Oo.extend("--ft-border-success-subtle","Used as border for success components.",No.colorGreen30),borderErrorPrimary:Oo.extend("--ft-border-error-primary","Used as border for text fields in error states.",No.colorRed0),borderErrorSubtle:Oo.extend("--ft-border-error-subtle","Used as border for error components.",No.colorRed30),borderInfoPrimary:Oo.extend("--ft-border-info-primary","Used as border for buttons in info color.",No.colorCyan200),borderInfoSubtle:Oo.extend("--ft-border-info-subtle","Used as border for information components.",No.colorCyan30),borderGlobalPrimary:Oo.extend("--ft-border-global-primary","Used as border for element like input.",No.colorGray50),borderGlobalSubtle:Oo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",No.colorGray30),borderInputPrimary:Oo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",No.colorGray80)};Oo.create("--ft-button-large-height","","SIZE","40px"),Oo.extend("--ft-button-large-horizontal-padding","",No.spacing4),Oo.extend("--ft-button-large-gap","",No.spacing2),Oo.extend("--ft-button-large-border-radius","",No.borderRadiusS),Oo.extend("--ft-button-large-icon-size","",No.iconSize3),Oo.create("--ft-button-large-border-width","","SIZE","1px"),Oo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),Oo.create("--ft-button-large-icon-only-width","","SIZE","40px"),Oo.create("--ft-button-small-height","","SIZE","30px"),Oo.extend("--ft-button-small-horizontal-padding","",No.spacing3),Oo.extend("--ft-button-small-gap","",No.spacing2),Oo.extend("--ft-button-small-border-radius","",No.borderRadiusS),Oo.extend("--ft-button-small-icon-size","",No.iconSize2),Oo.create("--ft-button-small-border-width","","SIZE","1px"),Oo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),Oo.create("--ft-button-small-icon-only-width","","SIZE","30px"),Oo.extend("--ft-button-primary-background-color","",So.backgroundActionPrimary),Oo.extend("--ft-button-primary-color","",So.contentGlobalOnColor),Oo.extend("--ft-button-primary-icon-color","",So.contentGlobalOnColor),Oo.extend("--ft-button-primary-state-layer-color","",So.contentGlobalOnColor),Oo.extend("--ft-button-primary-state-layer-opacity-hover","",No.opacity16),Oo.extend("--ft-button-primary-state-layer-opacity-focus","",No.opacity16),Oo.extend("--ft-button-primary-state-layer-opacity-active","",No.opacity24),Oo.extend("--ft-button-primary-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-button-focus-focus-ring-color","",So.borderActionFocusRing),Oo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),Oo.extend("--ft-button-tertiary-color","",So.contentActionPrimary),Oo.extend("--ft-button-tertiary-icon-color","",So.contentActionPrimary),Oo.extend("--ft-button-tertiary-state-layer-color","",So.contentActionPrimary),Oo.extend("--ft-button-tertiary-state-layer-opacity-hover","",No.opacity8),Oo.extend("--ft-button-tertiary-state-layer-opacity-focus","",No.opacity8),Oo.extend("--ft-button-tertiary-state-layer-opacity-active","",No.opacity16),Oo.extend("--ft-button-tertiary-component-opacity-disabled","",No.opacity40),Oo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),Oo.extend("--ft-button-secondary-color","",So.contentActionPrimary),Oo.extend("--ft-button-secondary-icon-color","",So.contentActionPrimary),Oo.extend("--ft-button-secondary-state-layer-color","",So.contentActionPrimary),Oo.extend("--ft-button-secondary-state-layer-opacity-hover","",No.opacity8),Oo.extend("--ft-button-secondary-state-layer-opacity-focus","",No.opacity8),Oo.extend("--ft-button-secondary-state-layer-opacity-active","",No.opacity16),Oo.extend("--ft-button-secondary-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-button-secondary-border-color","",So.borderActionPrimary),Oo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),Oo.extend("--ft-button-neutral-icon-color","",So.contentGlobalSecondary),Oo.extend("--ft-button-neutral-color","",So.contentGlobalSecondary),Oo.extend("--ft-button-neutral-state-layer-color","",So.contentGlobalSecondary),Oo.extend("--ft-button-neutral-state-layer-opacity-hover","",No.opacity8),Oo.extend("--ft-button-neutral-state-layer-opacity-focus","",No.opacity8),Oo.extend("--ft-button-neutral-state-layer-opacity-active","",No.opacity16),Oo.extend("--ft-button-neutral-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-floating-menu-horizontal-padding","",No.spacing4),Oo.extend("--ft-floating-menu-vertical-padding","",No.spacing4),Oo.extend("--ft-floating-menu-off-icon-color","",So.contentGlobalPrimary),Oo.extend("--ft-floating-menu-off-color","",So.contentGlobalPrimary),Oo.extend("--ft-floating-menu-on-color","",So.contentActionPrimary),Oo.extend("--ft-floating-menu-on-icon-color","",So.contentActionPrimary),Oo.extend("--ft-floating-menu-on-state-layer-color","",So.contentActionPrimary),Oo.extend("--ft-floating-menu-gap","",No.spacing3),Oo.extend("--ft-floating-menu-focus-focus-ring-color","",So.borderActionFocusRing),Oo.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),Oo.extend("--ft-floating-menu-state-layer-opacity-hover","",No.opacity8),Oo.extend("--ft-floating-menu-state-layer-opacity-active","",No.opacity16),Oo.extend("--ft-floating-menu-state-layer-opacity-focus","",No.opacity8),Oo.extend("--ft-floating-menu-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-floating-menu-icon-size","",No.iconSize3),Oo.extend("--ft-floating-menu-background-color","",So.backgroundGlobalOnSurface),Oo.extend("--ft-tabs-top-left-border-radius","",No.borderRadiusS),Oo.extend("--ft-tabs-top-right-border-radius","",No.borderRadiusS),Oo.extend("--ft-tabs-label-horizontal-padding","",No.spacing4),Oo.extend("--ft-tabs-label-vertical-padding","",No.spacing3),Oo.extend("--ft-tabs-label-gap","",No.spacing1),Oo.extend("--ft-tabs-icon-horizontal-padding","",No.spacing1),Oo.extend("--ft-tabs-icon-vertical-padding","",No.spacing4),Oo.create("--ft-tabs-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-tabs-focus-focus-ring-color","",So.borderActionFocusRing),Oo.extend("--ft-tabs-off-state-layer-opacity-hover","",No.opacity8),Oo.extend("--ft-tabs-off-state-layer-opacity-focus","",No.opacity8),Oo.extend("--ft-tabs-off-state-layer-opacity-active","",No.opacity16),Oo.extend("--ft-tabs-off-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-tabs-off-color","",So.contentGlobalSubtle),Oo.extend("--ft-tabs-off-state-layer-color","",So.contentGlobalSubtle),Oo.extend("--ft-tabs-on-state-layer-opacity-hover","",No.opacity8),Oo.extend("--ft-tabs-on-state-layer-opacity-focus","",No.opacity8),Oo.extend("--ft-tabs-on-state-layer-opacity-active","",No.opacity16),Oo.extend("--ft-tabs-on-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-tabs-on-color","",So.contentActionPrimary),Oo.extend("--ft-tabs-on-state-layer-color","",So.contentActionPrimary),Oo.extend("--ft-collapsible-state-layer-opacity-hover","",No.opacity8),Oo.extend("--ft-collapsible-state-layer-opacity-focus","",No.opacity8),Oo.extend("--ft-collapsible-state-layer-opacity-active","",No.opacity16),Oo.extend("--ft-collapsible-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-collapsible-horizontal-padding","",No.spacing4),Oo.extend("--ft-collapsible-vertical-padding","",No.spacing3),Oo.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),Oo.extend("--ft-collapsible-focus-focus-ring-color","",So.borderActionFocusRing),Oo.extend("--ft-collapsible-color","",So.contentGlobalPrimary),Oo.extend("--ft-collapsible-state-layer-color","",So.contentGlobalPrimary),Oo.extend("--ft-collapsible-background-color","",So.backgroundGlobalOnSurface),Oo.extend("--ft-collapsible-border-color","",So.borderGlobalSubtle),Oo.extend("--ft-collapsible-icon-size","",No.iconSize3),Oo.extend("--ft-switch-group-horizontal-padding","",No.spacing1),Oo.extend("--ft-switch-group-vertical-padding","",No.spacing1),Oo.extend("--ft-switch-group-gap","",No.spacing1),Oo.extend("--ft-switch-group-background-color","",So.backgroundGlobalSurface),Oo.extend("--ft-switch-group-border-color","",So.borderGlobalSubtle),Oo.create("--ft-switch-group-border-radius","","SIZE","6px"),Oo.extend("--ft-switch-label-horizontal-padding","",No.spacing2),Oo.extend("--ft-switch-label-vertical-padding","",No.spacing1),Oo.extend("--ft-switch-icon-horizontal-padding","",No.spacing1),Oo.extend("--ft-switch-icon-vertical-padding","",No.spacing1),Oo.create("--ft-switch-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-switch-focus-focus-ring-color","",So.borderActionFocusRing),Oo.extend("--ft-switch-option-border-radius","",No.borderRadiusS),Oo.extend("--ft-switch-off-state-layer-opacity-hover","",No.opacity8),Oo.extend("--ft-switch-off-state-layer-opacity-focus","",No.opacity8),Oo.extend("--ft-switch-off-state-layer-opacity-active","",No.opacity16),Oo.extend("--ft-switch-off-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-switch-off-color","",So.contentGlobalSubtle),Oo.extend("--ft-switch-off-state-layer-color","",So.contentGlobalSubtle),Oo.extend("--ft-switch-on-state-layer-opacity-hover","",No.opacity8),Oo.extend("--ft-switch-on-state-layer-opacity-focus","",No.opacity8),Oo.extend("--ft-switch-on-state-layer-opacity-active","",No.opacity16),Oo.extend("--ft-switch-on-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-switch-on-color","",So.contentActionPrimary),Oo.extend("--ft-switch-on-state-layer-color","",So.contentActionPrimary),Oo.extend("--ft-chart-1-light","for area color charts",No.colorBrand40),Oo.extend("--ft-chart-1-base","for line charts",No.colorBrand0),Oo.extend("--ft-chart-2-light","for area color charts",No.colorYellow60),Oo.extend("--ft-chart-2-base","for line charts",No.colorYellow100),Oo.extend("--ft-chart-3-light","",No.colorUltramarine40),Oo.extend("--ft-chart-3-base","",No.colorUltramarine70),Oo.extend("--ft-chart-4-light","",No.colorCyan50),Oo.extend("--ft-chart-4-base","",No.colorCyan100),Oo.extend("--ft-chart-5-light","",No.colorRed40),Oo.extend("--ft-chart-5-base","",No.colorRed60),Oo.extend("--ft-chart-6-light","",No.colorGreen40),Oo.extend("--ft-chart-6-base","",No.colorGreen70),Oo.extend("--ft-chart-7-light","",No.colorOrange70),Oo.extend("--ft-chart-7-base","",No.colorOrange100),Oo.extend("--ft-chart-8-light","",No.colorAvocado70),Oo.extend("--ft-chart-8-base","",No.colorAvocado200),Oo.extend("--ft-chart-9-light","",No.colorBrown50),Oo.extend("--ft-chart-9-base","",No.colorBrown200),Oo.extend("--ft-chart-10-light","",No.colorGray50),Oo.extend("--ft-chart-10-base","",No.colorGray80),Oo.extend("--ft-chart-monochrome-10","",No.colorBrand10),Oo.extend("--ft-chart-monochrome-20","",No.colorBrand20),Oo.extend("--ft-chart-monochrome-30","",No.colorBrand40),Oo.extend("--ft-chart-monochrome-40","",No.colorBrand60),Oo.extend("--ft-chart-monochrome-50","",No.colorBrand0),Oo.extend("--ft-chart-monochrome-60","",No.colorBrand200),Oo.extend("--ft-chip-large-horizontal-padding","",No.spacing4),Oo.extend("--ft-chip-large-vertical-padding","",No.spacing2),Oo.extend("--ft-chip-large-gap","",No.spacing1),Oo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-chip-large-border-radius","",No.borderRadiusPill),Oo.create("--ft-chip-large-border-width","","SIZE","1px"),Oo.extend("--ft-chip-large-icon-size","",No.iconSize3),Oo.extend("--ft-chip-medium-horizontal-padding","",No.spacing3),Oo.extend("--ft-chip-medium-vertical-padding","",No.spacing1),Oo.extend("--ft-chip-medium-gap","",No.spacing1),Oo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-chip-medium-border-radius","",No.borderRadiusPill),Oo.create("--ft-chip-medium-border-width","","SIZE","1px"),Oo.extend("--ft-chip-medium-icon-size","",No.iconSize2),Oo.extend("--ft-chip-small-horizontal-padding","",No.spacing2),Oo.extend("--ft-chip-small-vertical-padding","",No.spacing05),Oo.extend("--ft-chip-small-gap","",No.spacing1),Oo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-chip-small-border-radius","",No.borderRadiusPill),Oo.create("--ft-chip-small-border-width","","SIZE","1px"),Oo.extend("--ft-chip-small-icon-size","",No.iconSize1),Oo.extend("--ft-chip-neutral-background-color","",So.backgroundGlobalOnSurface),Oo.extend("--ft-chip-neutral-color","",So.contentGlobalPrimary),Oo.extend("--ft-chip-neutral-border-color","",So.borderGlobalSubtle),Oo.extend("--ft-chip-info-background-color","",So.backgroundInfoSubtle),Oo.extend("--ft-chip-info-color","",So.contentInfoPrimary),Oo.extend("--ft-chip-info-border-color","",So.borderInfoSubtle),Oo.extend("--ft-chip-success-background-color","",So.backgroundSuccessSubtle),Oo.extend("--ft-chip-success-color","",So.contentSuccessPrimary),Oo.extend("--ft-chip-success-border-color","",So.borderSuccessSubtle),Oo.extend("--ft-chip-warning-background-color","",So.backgroundWarningSubtle),Oo.extend("--ft-chip-warning-color","",So.contentWarningPrimary),Oo.extend("--ft-chip-warning-border-color","",So.borderWarningSubtle),Oo.extend("--ft-chip-error-background-color","",So.backgroundErrorSubtle),Oo.extend("--ft-chip-error-color","",So.contentErrorPrimary),Oo.extend("--ft-chip-error-border-color","",So.borderErrorSubtle),Oo.create("--ft-notice-border-width","","SIZE","1px"),Oo.extend("--ft-notice-horizontal-padding","",No.spacing2),Oo.extend("--ft-notice-vertical-padding","",No.spacing1),Oo.extend("--ft-notice-border-radius","",No.borderRadiusS),Oo.extend("--ft-notice-gap","",No.spacing2),Oo.extend("--ft-notice-icon-size","",No.iconSize3),Oo.extend("--ft-notice-info-background-color","",So.backgroundInfoSubtle),Oo.extend("--ft-notice-info-border-color","",So.borderInfoSubtle),Oo.extend("--ft-notice-info-color","",So.contentInfoPrimary),Oo.extend("--ft-notice-warning-background-color","",So.backgroundWarningSubtle),Oo.extend("--ft-notice-warning-border-color","",So.borderWarningSubtle),Oo.extend("--ft-notice-warning-color","",So.contentWarningPrimary),Oo.extend("--ft-checkbox-label-color","",So.contentGlobalPrimary),Oo.extend("--ft-checkbox-checked-background-color","",So.contentActionPrimary),Oo.extend("--ft-checkbox-checked-state-layer-color","",So.contentActionPrimary),Oo.extend("--ft-checkbox-checked-color","",So.contentGlobalOnColor),Oo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",No.opacity16),Oo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",No.opacity16),Oo.extend("--ft-checkbox-checked-state-layer-opacity-active","",No.opacity24),Oo.extend("--ft-checkbox-checked-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-checkbox-unchecked-border-color","",No.colorGray80),Oo.extend("--ft-checkbox-unchecked-state-layer-color","",No.colorGray80),Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",No.opacity16),Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",No.opacity16),Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",No.opacity24),Oo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-checkbox-focus-focus-ring-color","",So.borderActionFocusRing),Oo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Oo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-checkbox-gap","",No.spacing3),Oo.extend("--ft-toggle-off-state-layer-opacity-hover","",No.opacity16),Oo.extend("--ft-toggle-off-state-layer-opacity-focus","",No.opacity16),Oo.extend("--ft-toggle-off-state-layer-opacity-active","",No.opacity24),Oo.extend("--ft-toggle-off-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-toggle-off-background-color","",So.contentGlobalSubtle),Oo.extend("--ft-toggle-off-icon-color","",So.contentGlobalSubtle),Oo.extend("--ft-toggle-off-state-layer-color","",So.contentGlobalSubtle),Oo.extend("--ft-toggle-on-state-layer-opacity-hover","",No.opacity16),Oo.extend("--ft-toggle-on-state-layer-opacity-focus","",No.opacity16),Oo.extend("--ft-toggle-on-state-layer-opacity-active","",No.opacity24),Oo.extend("--ft-toggle-on-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-toggle-on-background-color","",So.contentActionPrimary),Oo.extend("--ft-toggle-on-icon-color","",So.contentActionPrimary),Oo.extend("--ft-toggle-on-state-layer-color","",So.contentActionPrimary),Oo.extend("--ft-toggle-label-color","",So.contentGlobalPrimary),Oo.extend("--ft-toggle-focus-focus-ring-color","",So.borderActionFocusRing),Oo.extend("--ft-toggle-gap","",No.spacing3),Oo.extend("--ft-radio-label-color","",So.contentGlobalPrimary),Oo.extend("--ft-radio-selected-color","",So.contentActionPrimary),Oo.extend("--ft-radio-selected-state-layer-color","",So.contentActionPrimary),Oo.extend("--ft-radio-selected-state-layer-opacity-hover","",No.opacity16),Oo.extend("--ft-radio-selected-state-layer-opacity-focus","",No.opacity16),Oo.extend("--ft-radio-selected-state-layer-opacity-active","",No.opacity24),Oo.extend("--ft-radio-selected-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-radio-unselected-state-layer-color","",No.colorGray80),Oo.extend("--ft-radio-unselected-state-layer-opacity-hover","",No.opacity16),Oo.extend("--ft-radio-unselected-state-layer-opacity-focus","",No.opacity16),Oo.extend("--ft-radio-unselected-state-layer-opacity-active","",No.opacity24),Oo.extend("--ft-radio-unselected-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-radio-focus-focus-ring-color","",So.borderActionFocusRing),Oo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Oo.create("--ft-radio-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-radio-gap","",No.spacing3),Oo.extend("--ft-notification-icon-size","",No.iconSize4),Oo.extend("--ft-notification-horizontal-padding","",No.spacing4),Oo.extend("--ft-notification-vertical-padding","",No.spacing4),Oo.extend("--ft-notification-info-background-color","",So.backgroundInfoSubtle),Oo.extend("--ft-notification-info-color","",So.contentInfoPrimary),Oo.extend("--ft-notification-info-border-color","",So.borderInfoSubtle),Oo.extend("--ft-notification-success-background-color","",So.backgroundSuccessSubtle),Oo.extend("--ft-notification-success-color","",So.contentSuccessPrimary),Oo.extend("--ft-notification-success-border-color","",So.borderSuccessSubtle),Oo.extend("--ft-notification-warning-background-color","",So.backgroundWarningSubtle),Oo.extend("--ft-notification-warning-color","",So.contentWarningPrimary),Oo.extend("--ft-notification-warning-border-color","",So.borderWarningSubtle),Oo.extend("--ft-notification-error-background-color","",So.backgroundErrorSubtle),Oo.extend("--ft-notification-error-color","",So.contentErrorPrimary),Oo.extend("--ft-notification-error-border-color","",So.borderErrorSubtle),Oo.extend("--ft-notification-border-radius","",No.borderRadiusPill),Oo.create("--ft-notification-border-width","","SIZE","1px"),Oo.extend("--ft-notification-gap-leading","",No.spacing2),Oo.extend("--ft-notification-gap-trailing","",No.spacing8),Oo.extend("--ft-tooltip-horizontal-padding","",No.spacing2),Oo.extend("--ft-tooltip-vertical-padding","",No.spacing2),Oo.extend("--ft-tooltip-border-radius","",No.borderRadiusS),Oo.extend("--ft-tooltip-label","",So.contentGlobalOnColor),Oo.extend("--ft-tooltip-background","",So.contentGlobalPrimary),Oo.extend("--ft-tooltip-background-opacity","",No.opacity80),Oo.extend("--ft-tooltip-shadow","",No.shadowElevation03);const Co={colorPrimary:Oo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Oo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Oo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Oo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Oo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Oo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Oo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Oo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Oo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Oo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Oo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Oo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Oo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Oo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Oo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Oo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Oo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Oo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Oo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Oo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Oo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Oo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Oo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Oo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Oo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Oo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Oo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Oo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Oo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Oo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Oo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Oo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Oo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Oo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Oo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Oo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Oo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Oo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Oo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Oo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Oo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Oo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Oo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Oo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Oo.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:Oo.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:Oo.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:Oo.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:Oo.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:Oo.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:Oo.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:Oo.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:Oo.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:Oo.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:Oo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Oo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Oo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Oo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Oo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Oo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Oo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Oo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Eo=["start","end"],Ro=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Eo[0],o+"-"+Eo[1])),[]),Uo=Math.min,$o=Math.max,Wo=Math.round,Io=t=>({x:t,y:t}),ko={left:"right",right:"left",bottom:"top",top:"bottom"},Lo={start:"end",end:"start"};function Ko(t,o,e){return $o(t,Uo(o,e))}function Zo(t,o){return"function"==typeof t?t(o):t}function zo(t){return t.split("-")[0]}function Fo(t){return t.split("-")[1]}function Ao(t){return"x"===t?"y":"x"}function Do(t){return"y"===t?"height":"width"}function Mo(t){return["top","bottom"].includes(zo(t))?"y":"x"}function Bo(t){return Ao(Mo(t))}function Po(t){return t.replace(/left|right|bottom|top/g,(t=>ko[t]))}function Ho(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function jo(t,o,e){let{reference:i,floating:r}=t;const n=Mo(o),a=Bo(o),s=Do(a),l=zo(o),c="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,h=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:p,y:i.y-r.height};break;case"bottom":d={x:p,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-r.width,y:f};break;default:d={x:i.x,y:i.y}}switch(Fo(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function To(t,o){var e;void 0===o&&(o={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=Zo(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===f?"reference":"floating":f],g=Ho(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=Ho(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-O.top+u.top)/x.y,bottom:(O.bottom-g.bottom+u.bottom)/x.y,left:(g.left-O.left+u.left)/x.x,right:(O.right-g.right+u.right)/x.x}}function _o(t,o,e){return(t?[...e.filter((o=>Fo(o)===t)),...e.filter((o=>Fo(o)!==t))]:e.filter((t=>zo(t)===t))).filter((e=>!t||(Fo(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Lo[t]))}(e)!==e)))}const Go=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:h=Ro,autoAlignment:d=!0,...u}=Zo(t,o),y=void 0!==f||h===Ro?_o(f||null,d,h):h,g=await To(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const i=Fo(t),r=Bo(t),n=Do(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Po(a)),[a,Po(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const O=[g[zo(m)],g[x[0]],g[x[1]]],v=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:O}],N=y[b+1];if(N)return{data:{index:b+1,overflows:v},reset:{placement:N}};const w=v.map((t=>{const o=Fo(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),S=w.filter((t=>t[2].slice(0,Fo(t[0])?2:3).every((t=>t<=0)))),C=(null==(r=S[0])?void 0:r[0])||w[0][0];return C!==s?{data:{index:b+1,overflows:v},reset:{placement:C}}:{}}}};function Yo(t){return qo(t)?(t.nodeName||"").toLowerCase():"#document"}function Vo(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Jo(t){var o;return null==(o=(qo(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function qo(t){return t instanceof Node||t instanceof Vo(t).Node}function Xo(t){return t instanceof Element||t instanceof Vo(t).Element}function Qo(t){return t instanceof HTMLElement||t instanceof Vo(t).HTMLElement}function te(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Vo(t).ShadowRoot)}function oe(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=ae(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function ee(t){return["table","td","th"].includes(Yo(t))}function ie(t){const o=re(),e=ae(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 re(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ne(t){return["html","body","#document"].includes(Yo(t))}function ae(t){return Vo(t).getComputedStyle(t)}function se(t){return Xo(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function le(t){if("html"===Yo(t))return t;const o=t.assignedSlot||t.parentNode||te(t)&&t.host||Jo(t);return te(o)?o.host:o}function ce(t){const o=le(t);return ne(o)?t.ownerDocument?t.ownerDocument.body:t.body:Qo(o)&&oe(o)?o:ce(o)}function pe(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=ce(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=Vo(r);return n?o.concat(a,a.visualViewport||[],oe(r)?r:[],a.frameElement&&e?pe(a.frameElement):[]):o.concat(r,pe(r,[],e))}function fe(t){const o=ae(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=Qo(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,s=Wo(e)!==n||Wo(i)!==a;return s&&(e=n,i=a),{width:e,height:i,$:s}}function he(t){return Xo(t)?t:t.contextElement}function de(t){const o=he(t);if(!Qo(o))return Io(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=fe(o);let a=(n?Wo(e.width):e.width)/i,s=(n?Wo(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const ue=Io(0);function ye(t){const o=Vo(t);return re()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ue}function ge(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=he(t);let a=Io(1);o&&(i?Xo(i)&&(a=de(i)):a=de(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Vo(t))&&o}(n,e,i)?ye(n):Io(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,p=r.width/a.x,f=r.height/a.y;if(n){const t=Vo(n),o=i&&Xo(i)?Vo(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=de(e),o=e.getBoundingClientRect(),i=ae(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=r,c+=n,e=Vo(e).frameElement}}return Ho({width:p,height:f,x:l,y:c})}function be(t){return ge(Jo(t)).left+se(t).scrollLeft}function me(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=Vo(t),i=Jo(t),r=e.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=re();(!t||t&&"fixed"===o)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)i=function(t){const o=Jo(t),e=se(t),i=t.ownerDocument.body,r=$o(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=$o(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+be(t);const s=-e.scrollTop;return"rtl"===ae(i).direction&&(a+=$o(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(Jo(t));else if(Xo(o))i=function(t,o){const e=ge(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=Qo(t)?de(t):Io(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=ye(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return Ho(i)}function xe(t,o){const e=le(t);return!(e===o||!Xo(e)||ne(e))&&("fixed"===ae(e).position||xe(e,o))}function Oe(t,o,e){const i=Qo(o),r=Jo(o),n="fixed"===e,a=ge(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=Io(0);if(i||!i&&!n)if(("body"!==Yo(o)||oe(r))&&(s=se(o)),i){const t=ge(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else r&&(l.x=be(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function ve(t,o){return Qo(t)&&"fixed"!==ae(t).position?o?o(t):t.offsetParent:null}function Ne(t,o){const e=Vo(t);if(!Qo(t))return e;let i=ve(t,o);for(;i&&ee(i)&&"static"===ae(i).position;)i=ve(i,o);return i&&("html"===Yo(i)||"body"===Yo(i)&&"static"===ae(i).position&&!ie(i))?e:i||function(t){let o=le(t);for(;Qo(o)&&!ne(o);){if(ie(o))return o;o=le(o)}return null}(t)||e}const we={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=Qo(e),n=Jo(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=Io(1);const l=Io(0);if((r||!r&&"fixed"!==i)&&(("body"!==Yo(e)||oe(n))&&(a=se(e)),Qo(e))){const t=ge(e);s=de(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+l.x,y:o.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:Jo,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=pe(t,[],!1).filter((t=>Xo(t)&&"body"!==Yo(t))),r=null;const n="fixed"===ae(t).position;let a=n?le(t):t;for(;Xo(a)&&!ne(a);){const o=ae(a),e=ie(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||oe(a)&&!e&&xe(t,a))?i=i.filter((t=>t!==a)):r=o,a=le(a)}return o.set(t,i),i}(o,this._c):[].concat(e),i],a=n[0],s=n.reduce(((t,e)=>{const i=me(o,e,r);return t.top=$o(i.top,t.top),t.right=Uo(i.right,t.right),t.bottom=Uo(i.bottom,t.bottom),t.left=$o(i.left,t.left),t}),me(o,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Ne,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||Ne,n=this.getDimensions;return{reference:Oe(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return fe(t)},getScale:de,isElement:Xo,isRTL:function(t){return"rtl"===ae(t).direction}},Se=(t,o,e)=>{const i=new Map,r={platform:we,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:p,y:f}=jo(c,i,l),h=i,d={},u=0;for(let e=0;e<s.length;e++){const{name:n,fn:y}=s[e],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:r}):x.rects),({x:p,y:f}=jo(c,h,l))),e=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,o,{...r,platform:n})};function Ce(t){return function(t){for(let o=t;o;o=Ee(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Ee(t);o;o=Ee(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 Ee(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}
105
+ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}]`:":not([name])");return Ce(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===i?o:o.filter((t=>t.matches(i)))}})}},queryAssignedNodes:$e,queryAsync:function(t){return(e,o)=>Ce(0,0,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})},standardProperty:Oe,state:Se});
106
+ /**
107
+ * @license
108
+ * Copyright 2017 Google LLC
109
+ * SPDX-License-Identifier: BSD-3-Clause
110
+ */const Ie=1,ke=2,Ue=t=>(...e)=>({_$litDirective$:t,values:e});let We=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
111
+ /**
112
+ * @license
113
+ * Copyright 2020 Google LLC
114
+ * SPDX-License-Identifier: BSD-3-Clause
115
+ */const{D:Fe}=it,Ae=()=>document.createComment(""),_e=(t,e,o)=>{const r=t._$AA.parentNode,i=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=r.insertBefore(Ae(),i),n=r.insertBefore(Ae(),i);o=new Fe(e,n,t,t.options)}else{const e=o._$AB.nextSibling,n=o._$AM,a=n!==t;if(a){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==n._$AU&&o._$AP(e)}if(e!==i||a){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;r.insertBefore(t,i),t=e}}}return o},je=(t,e,o=t)=>(t._$AI(e,o),t),ze={},Ke=t=>{t._$AP?.(!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const t=e.nextSibling;e.remove(),e=t}},Be=(t,e,o)=>{const r=new Map;for(let i=e;i<=o;i++)r.set(t[i],i);return r},Pe=Ue(class extends We{constructor(t){if(super(t),t.type!==ke)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let r;void 0===o?o=e:void 0!==e&&(r=e);const i=[],n=[];let a=0;for(const e of t)i[a]=r?r(e,a):a,n[a]=o(e,a),a++;return{values:n,keys:i}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,r]){const i=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(e,o,r);if(!Array.isArray(i))return this.dt=a,n;const s=this.dt??=[],c=[];let l,f,p=0,h=i.length-1,u=0,d=n.length-1;for(;p<=h&&u<=d;)if(null===i[p])p++;else if(null===i[h])h--;else if(s[p]===a[u])c[u]=je(i[p],n[u]),p++,u++;else if(s[h]===a[d])c[d]=je(i[h],n[d]),h--,d--;else if(s[p]===a[d])c[d]=je(i[p],n[d]),_e(t,c[d+1],i[p]),p++,d--;else if(s[h]===a[u])c[u]=je(i[h],n[u]),_e(t,i[p],i[h]),h--,u++;else if(void 0===l&&(l=Be(a,u,d),f=Be(s,p,h)),l.has(s[p]))if(l.has(s[h])){const e=f.get(a[u]),o=void 0!==e?i[e]:null;if(null===o){const e=_e(t,i[p]);je(e,n[u]),c[u]=e}else c[u]=je(o,n[u]),_e(t,i[p],o),i[e]=null;u++}else Ke(i[h]),h--;else Ke(i[p]),p++;for(;u<=d;){const e=_e(t,c[d+1]);je(e,n[u]),c[u++]=e}for(;p<=h;){const t=i[p++];null!==t&&Ke(t)}return this.dt=a,((t,e=ze)=>{t._$AH=e})(t,c),D}});
116
+ /**
117
+ * @license
118
+ * Copyright 2017 Google LLC
119
+ * SPDX-License-Identifier: BSD-3-Clause
120
+ */var Me=Object.freeze({__proto__:null,repeat:Pe});
121
+ /**
122
+ * @license
123
+ * Copyright 2018 Google LLC
124
+ * SPDX-License-Identifier: BSD-3-Clause
125
+ */const De=Ue(class extends We{constructor(t){if(super(t),t.type!==Ie||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const r=!!e[t];r===this.it.has(t)||this.st?.has(t)||(r?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return D}});var Ze=Object.freeze({__proto__:null,classMap:De});
126
+ /**
127
+ * @license
128
+ * Copyright 2018 Google LLC
129
+ * SPDX-License-Identifier: BSD-3-Clause
130
+ */const He="important",Te=" !"+He,Ge=Ue(class extends We{constructor(t){if(super(t),t.type!==Ie||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,o)=>{const r=t[o];return null==r?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`}),"")}update(t,[e]){const{style:o}=t.element;if(void 0===this.ut)return this.ut=new Set(Object.keys(e)),this.render(e);for(const t of this.ut)null==e[t]&&(this.ut.delete(t),t.includes("-")?o.removeProperty(t):o[t]=null);for(const t in e){const r=e[t];if(null!=r){this.ut.add(t);const e="string"==typeof r&&r.endsWith(Te);t.includes("-")||e?o.setProperty(t,e?r.slice(0,-11):r,e?He:""):o[t]=r}}return D}});var Ve=Object.freeze({__proto__:null,styleMap:Ge});
131
+ /**
132
+ * @license
133
+ * Copyright 2017 Google LLC
134
+ * SPDX-License-Identifier: BSD-3-Clause
135
+ */let qe=class extends We{constructor(t){if(super(t),this.et=Z,t.type!==ke)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Z||null==t)return this.vt=void 0,this.et=t;if(t===D)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}};qe.directiveName="unsafeHTML",qe.resultType=1;const Ye=Ue(qe);var Je=Object.freeze({__proto__:null,UnsafeHTMLDirective:qe,unsafeHTML:Ye});class Xe extends Error{constructor(t,e,o){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=o}}class Qe extends Promise{constructor(t){super(((e,o)=>t((t=>{this.isCanceled?o(new Xe("Promise has been canceled",t)):e(t)}),(t=>{this.isCanceled?o(new Xe("Promise has been canceled",void 0,t)):o(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const to=t=>new Qe(((e,o)=>t.then(e).catch(o)));var eo=Object.freeze({__proto__:null,CancelablePromise:Qe,CanceledPromiseError:Xe,cancelable:to});var oo=Object.freeze({__proto__:null,CacheRegistry:class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof Qe&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,e){this.forceClear(t),this.register(t,(async()=>e)),this.content[t]=e}setFinal(t,e){this.forceClear(t),this.registerFinal(t,(async()=>e)),this.content[t]=e}async get(t,e,o){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const r=to(e());return this.content[t]=r,r.then((e=>(this.content[t]=e,null!=o&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),o)),e)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}});class ro{constructor(t,e,o,r){this.allResults=t,this.selectedResult=e,this.clusteringMetadata=o,this.metadataDescriptors=r}static extractResultMetadata(t){var e,o;return(null!==(o=null!==(e=null==t?void 0:t.map)&&void 0!==e?e:null==t?void 0:t.document)&&void 0!==o?o:null==t?void 0:t.topic).metadata.map((t=>ro.flattenMetadata(t)))}static flattenMetadata(t){if(t.hierarchicalValues){const e=[],o=[];return t.hierarchicalValues.forEach((t=>{e.push(t.join(" > ")),t.length>2?o.push(`... > ${t[t.length-1]}`):o.push(t.join(" > "))})),{key:t.key,value:e.join(", "),displayValue:o.join(", ")}}{const e=t.values.join(", ");return{key:t.key,value:e,displayValue:e}}}computeClustersItemsForMetadata(t,e){let o=ro.extractResultMetadata(this.selectedResult).find((e=>e.key===t));const r=this.allResults.flatMap((e=>ro.extractResultMetadata(e).filter((e=>e.key===t)))).filter((t=>!(t.key===(null==o?void 0:o.key)&&t.value===(null==o?void 0:o.value)))).filter(((t,e,o)=>o.findIndex((e=>e.value===t.value))===e));return r.map((e=>({result:this.findBestResultForMetadataValue(t,e.value),metadata:e}))).sort(((o,r)=>this.compareMetadata(o.metadata.value,r.metadata.value,t,e)))}compareMetadata(t,e,o,r){let i=this.metadataDescriptors.find((t=>o==t.key)),n=(null==i?void 0:i.sortRule)||"NONE",a=(null==i?void 0:i.reverseSort)||!1;if("ALPHABET"==n||"VERSION"==n){let o=t.localeCompare(e,r,{numeric:!0});return a?-1*o:o}return 0}findBestResultForMetadataValue(t,e){const o=this.allResults.filter((o=>ro.extractResultMetadata(o).find((o=>o.key===t&&o.value===e))));let r,i=ro.extractResultMetadata(this.selectedResult).filter((t=>this.clusteringMetadata.has(t.key))),n=[...i.filter((e=>e.key!==t))],a=-1;for(let t of o){let e=this.countMatchingMetadata(t,n);if(e>a&&(a=e,r=t,e===n.length))break}return r}countMatchingMetadata(t,e){return ro.extractResultMetadata(t).filter((t=>e.some((e=>e.key===t.key&&e.value===t.value)))).length}}var io=Object.freeze({__proto__:null,ClusteringHelper:ro});class no{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}var ao=Object.freeze({__proto__:null,Debouncer:no});const so=t=>new Promise((e=>setTimeout(e,t)));async function co(t,e=10,o=2e4){let r,i,n=await t();for(r=i=performance.now();null==n&&(!o||i-r<o);)await so(e),n=await t(),i=performance.now();if(null==n)throw new Error("Timeout exceeded");return n}function lo(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,((t,e,o,r)=>e+o+":"+r)),new Date(t)}function fo(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var o,r,i;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(r=o;0!=r--;)if(!fo(t[r],e[r]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(r of t.entries())if(!e.has(r[0]))return!1;for(r of t.entries())if(!fo(r[1],e.get(r[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(r of t.entries())if(!e.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((o=(i=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(r=o;0!=r--;)if(!Object.prototype.hasOwnProperty.call(e,i[r]))return!1;for(r=o;0!=r--;){var n=i[r];if(!fo(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}var po=Object.freeze({__proto__:null,dateReviver:function(...t){return function(e,o){return t.includes(e)?lo(o):o}},deepEqual:fo,delay:so,eventPathContainsMatchingElement:function(t,e,o=window.document.body){if(e.length>0){const r=t.composedPath();for(let t of r){if(t===o)return!1;if(t.matches&&e.some((e=>t.matches(e))))return!0}}return!1},flatDeep:function t(e,o){return e.flatMap((e=>[e,...t(o(e),o)]))},last:function(t){return t[t.length-1]},minmax:function(t,e,o){return Math.min(Math.max(t,e),o)},parseDate:lo,waitFor:co,waitUntil:async function(t,e=10,o=2e4){await co((async()=>await t()||void 0),e,o)}});const ho=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function uo(t,e){const o=()=>JSON.parse(JSON.stringify(t));return we({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!fo(t,e),...null!=e?e:{}})}function yo(t){return!isNaN(parseFloat(t))}var go=Object.freeze({__proto__:null,customElement:ho,isNumber:yo,jsonProperty:uo,optionalNumberProperty:function(t){return we({type:Object,converter:{fromAttribute:t=>{if(null!=t)return yo(t)?+t:void 0},toAttribute:t=>""+t},...null!=t?t:{}})}});const bo=t=>"string"==typeof t?pt(t):t;class mo{static create(t,e,o,r){const i=t=>bo(null!=t?t:r),n=ht`var(${bo(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>ht`var(${bo(t)}, ${i(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,e,o,r){const i=t=>o.get(null!=t?t:r),n=ht`var(${bo(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>ht`var(${bo(t)}, ${i(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):bo(null!=e?e:t.lastResortDefaultValue()),r=ht`var(${bo(t.name)}, ${o(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=o,r.get=e=>ht`var(${bo(t.name)}, ${o(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function vo(t,e){return bo(`${t.name}: ${e}`)}const xo={colorWhite:mo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:mo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:mo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:mo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:mo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:mo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:mo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:mo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:mo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:mo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:mo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:mo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:mo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:mo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:mo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:mo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:mo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:mo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:mo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:mo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:mo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:mo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:mo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:mo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:mo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:mo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:mo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:mo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:mo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:mo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:mo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:mo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:mo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:mo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:mo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:mo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:mo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:mo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:mo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:mo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:mo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:mo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:mo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:mo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:mo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:mo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:mo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:mo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:mo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:mo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:mo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:mo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:mo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:mo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:mo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:mo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:mo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:mo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:mo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:mo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:mo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:mo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:mo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:mo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:mo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:mo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:mo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:mo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:mo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:mo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:mo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:mo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:mo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:mo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:mo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:mo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:mo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:mo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:mo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:mo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:mo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:mo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:mo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:mo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:mo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:mo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:mo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:mo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:mo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:mo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:mo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:mo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:mo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:mo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:mo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:mo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:mo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:mo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:mo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:mo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:mo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:mo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:mo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:mo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:mo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:mo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:mo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:mo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:mo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:mo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:mo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:mo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:mo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:mo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:mo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:mo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:mo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:mo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:mo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:mo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:mo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:mo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:mo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:mo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:mo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:mo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:mo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:mo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:mo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:mo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:mo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:mo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:mo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:mo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:mo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:mo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:mo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:mo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:mo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:mo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:mo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:mo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:mo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:mo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:mo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:mo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:mo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:mo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:mo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:mo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:mo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:mo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:mo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:mo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:mo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:mo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:mo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:mo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:mo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:mo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:mo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:mo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:mo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:mo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:mo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:mo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:mo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:mo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:mo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:mo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:mo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:mo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:mo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:mo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:mo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:mo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:mo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:mo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:mo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:mo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:mo.create("--ft-opacity-0","","NUMBER","0"),opacity8:mo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:mo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:mo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:mo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:mo.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:mo.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:mo.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:mo.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:mo.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:mo.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:mo.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:mo.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:mo.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:mo.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)")},Oo={fontFamily:mo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:mo.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:mo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:mo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:mo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:mo.create("--ft-typography-display-textCase","","UNKNOWN","none")},wo={fontFamily:mo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:mo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:mo.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:mo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:mo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:mo.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},So={fontFamily:mo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:mo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:mo.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:mo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:mo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:mo.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},No={fontFamily:mo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:mo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:mo.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:mo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:mo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:mo.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Co={fontFamily:mo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:mo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:mo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:mo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:mo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:mo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Eo={fontFamily:mo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:mo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:mo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:mo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:mo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:mo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Ro={fontFamily:mo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:mo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:mo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:mo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:mo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},$o={fontFamily:mo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:mo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:mo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:mo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:mo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:mo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Lo={fontFamily:mo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:mo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:mo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:mo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:mo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:mo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Io={fontFamily:mo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:mo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:mo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:mo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:mo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},ko={fontFamily:mo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:mo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:mo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:mo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:mo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Uo={fontFamily:mo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:mo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:mo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:mo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Wo={fontFamily:mo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:mo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:mo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:mo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:mo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Fo={fontFamily:mo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:mo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:mo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:mo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:mo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Ao={fontFamily:mo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:mo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:mo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:mo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},_o={fontFamily:mo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:mo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:mo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:mo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:mo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},jo={fontFamily:mo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:mo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:mo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:mo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:mo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:mo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},zo={fontFamily:mo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:mo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:mo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:mo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:mo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ko={fontFamily:mo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:mo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:mo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:mo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:mo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:mo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Bo={fontFamily:mo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:mo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:mo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:mo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:mo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:mo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Po={fontFamily:mo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:mo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:mo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:mo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:mo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Mo={fontFamily:mo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:mo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:mo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:mo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:mo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:mo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Do={fontFamily:mo.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:mo.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:mo.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:mo.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:mo.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:mo.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Zo={fontFamily:mo.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mo.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:mo.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:mo.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:mo.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:mo.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Ho={fontFamily:mo.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:mo.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:mo.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:mo.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:mo.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:mo.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},To={display:Oo,"title-1":wo,"title-2":So,"title-3":No,"body-1-regular":Co,"body-1-medium":Eo,"body-1-semibold":Ro,"body-2-regular":$o,"body-2-medium":Lo,"body-2-semibold":Io,"label-1-medium":ko,"label-1-semibold":Uo,"label-1-bold":Wo,"label-2-medium":Fo,"label-2-semibold":Ao,"label-2-bold":_o,"caption-1-medium":jo,"caption-1-semibold":zo,"caption-1-bold":Ko,"caption-2-medium":Bo,"caption-2-semibold":Po,"caption-2-bold":Mo,"caption-3-medium":Do,"caption-3-semibold":Zo,"caption-3-bold":Ho},Go={backgroundActionPrimary:mo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",xo.colorBrand0),backgroundErrorPrimary:mo.extend("--ft-background-error-primary","Used as background of error components.",xo.colorRed0),backgroundErrorSubtle:mo.extend("--ft-background-error-subtle","Used as background of subtle error components.",xo.colorRed10),backgroundInfoPrimary:mo.extend("--ft-background-info-primary","Used as background of information components.",xo.colorCyan200),backgroundInfoSubtle:mo.extend("--ft-background-info-subtle","Used as background of subtle information components.",xo.colorCyan10),backgroundWarningPrimary:mo.extend("--ft-background-warning-primary","Used as background of warning components.",xo.colorOrange300),backgroundWarningSubtle:mo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",xo.colorOrange10),backgroundSuccessPrimary:mo.extend("--ft-background-success-primary","Used as background of success components.",xo.colorGreen200),backgroundSuccessSubtle:mo.extend("--ft-background-success-subtle","Used as background of subtle success components.",xo.colorGreen10),backgroundGlobalSurface:mo.extend("--ft-background-global-surface","Used as app background.",xo.colorWhite),backgroundGlobalOnSurface:mo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",xo.colorGray10),backgroundGlobalOnSurfaceDark:mo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",xo.colorGray30),contentActionPrimary:mo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",xo.colorBrand0),contentWarningPrimary:mo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",xo.colorOrange300),contentWarningIconOnly:mo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",xo.colorOrange0),contentErrorPrimary:mo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",xo.colorRed0),contentErrorIconOnly:mo.extend("--ft-content-error-icon-only","Used on error status icons alone",xo.colorRed0),contentInfoPrimary:mo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",xo.colorCyan200),contentInfoIconOnly:mo.extend("--ft-content-info-icon-only","Used on info status icons alone",xo.colorCyan0),contentSuccessPrimary:mo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",xo.colorGreen200),contentSuccessIconOnly:mo.extend("--ft-content-success-icon-only","Used on success status icons alone",xo.colorGreen0),contentGlobalPrimary:mo.extend("--ft-content-global-primary","Used for main content on the page.",xo.colorGray500),contentGlobalSecondary:mo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",xo.colorGray200),contentGlobalSubtle:mo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",xo.colorGray0),contentGlobalOnColor:mo.extend("--ft-content-global-on-color","Used for content on a dominant color.",xo.colorWhite),borderActionPrimary:mo.extend("--ft-border-action-primary","Used as border for primary action components.",xo.colorBrand0),borderActionFocusRing:mo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",xo.colorCyan0),borderWarningPrimary:mo.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",xo.colorOrange300),borderWarningSubtle:mo.extend("--ft-border-warning-subtle","Used as border for warning components.",xo.colorOrange30),borderSuccessPrimary:mo.extend("--ft-border-success-primary","Used as border for success buttons.",xo.colorGreen200),borderSuccessSubtle:mo.extend("--ft-border-success-subtle","Used as border for success components.",xo.colorGreen30),borderErrorPrimary:mo.extend("--ft-border-error-primary","Used as border for text fields in error states.",xo.colorRed0),borderErrorSubtle:mo.extend("--ft-border-error-subtle","Used as border for error components.",xo.colorRed30),borderInfoPrimary:mo.extend("--ft-border-info-primary","Used as border for buttons in info color.",xo.colorCyan200),borderInfoSubtle:mo.extend("--ft-border-info-subtle","Used as border for information components.",xo.colorCyan30),borderGlobalPrimary:mo.extend("--ft-border-global-primary","Used as border for element like input.",xo.colorGray50),borderGlobalSubtle:mo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",xo.colorGray30),borderInputPrimary:mo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",xo.colorGray80)},Vo={largeHeight:mo.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:mo.extend("--ft-button-large-horizontal-padding","",xo.spacing4),largeGap:mo.extend("--ft-button-large-gap","",xo.spacing2),largeBorderRadius:mo.extend("--ft-button-large-border-radius","",xo.borderRadiusS),largeIconSize:mo.extend("--ft-button-large-icon-size","",xo.iconSize3),largeBorderWidth:mo.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:mo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:mo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:mo.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:mo.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:mo.extend("--ft-button-small-horizontal-padding","",xo.spacing3),smallGap:mo.extend("--ft-button-small-gap","",xo.spacing2),smallBorderRadius:mo.extend("--ft-button-small-border-radius","",xo.borderRadiusS),smallIconSize:mo.extend("--ft-button-small-icon-size","",xo.iconSize2),smallBorderWidth:mo.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:mo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:mo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:mo.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:mo.extend("--ft-button-primary-background-color","",Go.backgroundActionPrimary),primaryColor:mo.extend("--ft-button-primary-color","",Go.contentGlobalOnColor),primaryIconColor:mo.extend("--ft-button-primary-icon-color","",Go.contentGlobalOnColor),primaryStateLayerColor:mo.extend("--ft-button-primary-state-layer-color","",Go.contentGlobalOnColor),primaryStateLayerOpacityHover:mo.extend("--ft-button-primary-state-layer-opacity-hover","",xo.opacity16),primaryStateLayerOpacityFocus:mo.extend("--ft-button-primary-state-layer-opacity-focus","",xo.opacity16),primaryStateLayerOpacityActive:mo.extend("--ft-button-primary-state-layer-opacity-active","",xo.opacity24),primaryComponentOpacityDisabled:mo.extend("--ft-button-primary-component-opacity-disabled","",xo.opacity40),focusFocusRingColor:mo.extend("--ft-button-focus-focus-ring-color","",Go.borderActionFocusRing),tertiaryBackgroundColor:mo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:mo.extend("--ft-button-tertiary-color","",Go.contentActionPrimary),tertiaryIconColor:mo.extend("--ft-button-tertiary-icon-color","",Go.contentActionPrimary),tertiaryStateLayerColor:mo.extend("--ft-button-tertiary-state-layer-color","",Go.contentActionPrimary),tertiaryStateLayerOpacityHover:mo.extend("--ft-button-tertiary-state-layer-opacity-hover","",xo.opacity8),tertiaryStateLayerOpacityFocus:mo.extend("--ft-button-tertiary-state-layer-opacity-focus","",xo.opacity8),tertiaryStateLayerOpacityActive:mo.extend("--ft-button-tertiary-state-layer-opacity-active","",xo.opacity16),tertiaryComponentOpacityDisabled:mo.extend("--ft-button-tertiary-component-opacity-disabled","",xo.opacity40),secondaryBackgroundColor:mo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:mo.extend("--ft-button-secondary-color","",Go.contentActionPrimary),secondaryIconColor:mo.extend("--ft-button-secondary-icon-color","",Go.contentActionPrimary),secondaryStateLayerColor:mo.extend("--ft-button-secondary-state-layer-color","",Go.contentActionPrimary),secondaryStateLayerOpacityHover:mo.extend("--ft-button-secondary-state-layer-opacity-hover","",xo.opacity8),secondaryStateLayerOpacityFocus:mo.extend("--ft-button-secondary-state-layer-opacity-focus","",xo.opacity8),secondaryStateLayerOpacityActive:mo.extend("--ft-button-secondary-state-layer-opacity-active","",xo.opacity16),secondaryComponentOpacityDisabled:mo.extend("--ft-button-secondary-component-opacity-disabled","",xo.opacity40),secondaryBorderColor:mo.extend("--ft-button-secondary-border-color","",Go.borderActionPrimary),neutralBackgroundColor:mo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:mo.extend("--ft-button-neutral-icon-color","",Go.contentGlobalSecondary),neutralColor:mo.extend("--ft-button-neutral-color","",Go.contentGlobalSecondary),neutralStateLayerColor:mo.extend("--ft-button-neutral-state-layer-color","",Go.contentGlobalSecondary),neutralStateLayerOpacityHover:mo.extend("--ft-button-neutral-state-layer-opacity-hover","",xo.opacity8),neutralStateLayerOpacityFocus:mo.extend("--ft-button-neutral-state-layer-opacity-focus","",xo.opacity8),neutralStateLayerOpacityActive:mo.extend("--ft-button-neutral-state-layer-opacity-active","",xo.opacity16),neutralComponentOpacityDisabled:mo.extend("--ft-button-neutral-component-opacity-disabled","",xo.opacity40)},qo={horizontalPadding:mo.extend("--ft-floating-menu-horizontal-padding","",xo.spacing4),verticalPadding:mo.extend("--ft-floating-menu-vertical-padding","",xo.spacing4),offIconColor:mo.extend("--ft-floating-menu-off-icon-color","",Go.contentGlobalPrimary),offColor:mo.extend("--ft-floating-menu-off-color","",Go.contentGlobalPrimary),onColor:mo.extend("--ft-floating-menu-on-color","",Go.contentActionPrimary),onIconColor:mo.extend("--ft-floating-menu-on-icon-color","",Go.contentActionPrimary),onStateLayerColor:mo.extend("--ft-floating-menu-on-state-layer-color","",Go.contentActionPrimary),gap:mo.extend("--ft-floating-menu-gap","",xo.spacing3),focusFocusRingColor:mo.extend("--ft-floating-menu-focus-focus-ring-color","",Go.borderActionFocusRing),focusOutlineWidth:mo.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),stateLayerOpacityHover:mo.extend("--ft-floating-menu-state-layer-opacity-hover","",xo.opacity8),stateLayerOpacityActive:mo.extend("--ft-floating-menu-state-layer-opacity-active","",xo.opacity16),stateLayerOpacityFocus:mo.extend("--ft-floating-menu-state-layer-opacity-focus","",xo.opacity8),componentOpacityDisabled:mo.extend("--ft-floating-menu-component-opacity-disabled","",xo.opacity40),iconSize:mo.extend("--ft-floating-menu-icon-size","",xo.iconSize3),backgroundColor:mo.extend("--ft-floating-menu-background-color","",Go.backgroundGlobalOnSurface)},Yo={topLeftBorderRadius:mo.extend("--ft-tabs-top-left-border-radius","",xo.borderRadiusS),topRightBorderRadius:mo.extend("--ft-tabs-top-right-border-radius","",xo.borderRadiusS),labelHorizontalPadding:mo.extend("--ft-tabs-label-horizontal-padding","",xo.spacing4),labelVerticalPadding:mo.extend("--ft-tabs-label-vertical-padding","",xo.spacing3),labelGap:mo.extend("--ft-tabs-label-gap","",xo.spacing1),iconHorizontalPadding:mo.extend("--ft-tabs-icon-horizontal-padding","",xo.spacing1),iconVerticalPadding:mo.extend("--ft-tabs-icon-vertical-padding","",xo.spacing4),focusOutlineWidth:mo.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:mo.extend("--ft-tabs-focus-focus-ring-color","",Go.borderActionFocusRing),offStateLayerOpacityHover:mo.extend("--ft-tabs-off-state-layer-opacity-hover","",xo.opacity8),offStateLayerOpacityFocus:mo.extend("--ft-tabs-off-state-layer-opacity-focus","",xo.opacity8),offStateLayerOpacityActive:mo.extend("--ft-tabs-off-state-layer-opacity-active","",xo.opacity16),offComponentOpacityDisabled:mo.extend("--ft-tabs-off-component-opacity-disabled","",xo.opacity40),offColor:mo.extend("--ft-tabs-off-color","",Go.contentGlobalSubtle),offStateLayerColor:mo.extend("--ft-tabs-off-state-layer-color","",Go.contentGlobalSubtle),onStateLayerOpacityHover:mo.extend("--ft-tabs-on-state-layer-opacity-hover","",xo.opacity8),onStateLayerOpacityFocus:mo.extend("--ft-tabs-on-state-layer-opacity-focus","",xo.opacity8),onStateLayerOpacityActive:mo.extend("--ft-tabs-on-state-layer-opacity-active","",xo.opacity16),onComponentOpacityDisabled:mo.extend("--ft-tabs-on-component-opacity-disabled","",xo.opacity40),onColor:mo.extend("--ft-tabs-on-color","",Go.contentActionPrimary),onStateLayerColor:mo.extend("--ft-tabs-on-state-layer-color","",Go.contentActionPrimary)},Jo={stateLayerOpacityHover:mo.extend("--ft-collapsible-state-layer-opacity-hover","",xo.opacity8),stateLayerOpacityFocus:mo.extend("--ft-collapsible-state-layer-opacity-focus","",xo.opacity8),stateLayerOpacityActive:mo.extend("--ft-collapsible-state-layer-opacity-active","",xo.opacity16),componentOpacityDisabled:mo.extend("--ft-collapsible-component-opacity-disabled","",xo.opacity40),horizontalPadding:mo.extend("--ft-collapsible-horizontal-padding","",xo.spacing4),verticalPadding:mo.extend("--ft-collapsible-vertical-padding","",xo.spacing3),focusOutlineWidth:mo.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:mo.extend("--ft-collapsible-focus-focus-ring-color","",Go.borderActionFocusRing),color:mo.extend("--ft-collapsible-color","",Go.contentGlobalPrimary),stateLayerColor:mo.extend("--ft-collapsible-state-layer-color","",Go.contentGlobalPrimary),backgroundColor:mo.extend("--ft-collapsible-background-color","",Go.backgroundGlobalOnSurface),borderColor:mo.extend("--ft-collapsible-border-color","",Go.borderGlobalSubtle),iconSize:mo.extend("--ft-collapsible-icon-size","",xo.iconSize3)},Xo={groupHorizontalPadding:mo.extend("--ft-switch-group-horizontal-padding","",xo.spacing1),groupVerticalPadding:mo.extend("--ft-switch-group-vertical-padding","",xo.spacing1),groupGap:mo.extend("--ft-switch-group-gap","",xo.spacing1),groupBackgroundColor:mo.extend("--ft-switch-group-background-color","",Go.backgroundGlobalSurface),groupBorderColor:mo.extend("--ft-switch-group-border-color","",Go.borderGlobalSubtle),groupBorderRadius:mo.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:mo.extend("--ft-switch-label-horizontal-padding","",xo.spacing2),labelVerticalPadding:mo.extend("--ft-switch-label-vertical-padding","",xo.spacing1),iconHorizontalPadding:mo.extend("--ft-switch-icon-horizontal-padding","",xo.spacing1),iconVerticalPadding:mo.extend("--ft-switch-icon-vertical-padding","",xo.spacing1),focusOutlineWidth:mo.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:mo.extend("--ft-switch-focus-focus-ring-color","",Go.borderActionFocusRing),optionBorderRadius:mo.extend("--ft-switch-option-border-radius","",xo.borderRadiusS),offStateLayerOpacityHover:mo.extend("--ft-switch-off-state-layer-opacity-hover","",xo.opacity8),offStateLayerOpacityFocus:mo.extend("--ft-switch-off-state-layer-opacity-focus","",xo.opacity8),offStateLayerOpacityActive:mo.extend("--ft-switch-off-state-layer-opacity-active","",xo.opacity16),offComponentOpacityDisabled:mo.extend("--ft-switch-off-component-opacity-disabled","",xo.opacity40),offColor:mo.extend("--ft-switch-off-color","",Go.contentGlobalSubtle),offStateLayerColor:mo.extend("--ft-switch-off-state-layer-color","",Go.contentGlobalSubtle),onStateLayerOpacityHover:mo.extend("--ft-switch-on-state-layer-opacity-hover","",xo.opacity8),onStateLayerOpacityFocus:mo.extend("--ft-switch-on-state-layer-opacity-focus","",xo.opacity8),onStateLayerOpacityActive:mo.extend("--ft-switch-on-state-layer-opacity-active","",xo.opacity16),onComponentOpacityDisabled:mo.extend("--ft-switch-on-component-opacity-disabled","",xo.opacity40),onColor:mo.extend("--ft-switch-on-color","",Go.contentActionPrimary),onStateLayerColor:mo.extend("--ft-switch-on-state-layer-color","",Go.contentActionPrimary)},Qo={color1Light:mo.extend("--ft-chart-1-light","for area color charts",xo.colorBrand40),color1Base:mo.extend("--ft-chart-1-base","for line charts",xo.colorBrand0),color2Light:mo.extend("--ft-chart-2-light","for area color charts",xo.colorYellow60),color2Base:mo.extend("--ft-chart-2-base","for line charts",xo.colorYellow100),color3Light:mo.extend("--ft-chart-3-light","",xo.colorUltramarine40),color3Base:mo.extend("--ft-chart-3-base","",xo.colorUltramarine70),color4Light:mo.extend("--ft-chart-4-light","",xo.colorCyan50),color4Base:mo.extend("--ft-chart-4-base","",xo.colorCyan100),color5Light:mo.extend("--ft-chart-5-light","",xo.colorRed40),color5Base:mo.extend("--ft-chart-5-base","",xo.colorRed60),color6Light:mo.extend("--ft-chart-6-light","",xo.colorGreen40),color6Base:mo.extend("--ft-chart-6-base","",xo.colorGreen70),color7Light:mo.extend("--ft-chart-7-light","",xo.colorOrange70),color7Base:mo.extend("--ft-chart-7-base","",xo.colorOrange100),color8Light:mo.extend("--ft-chart-8-light","",xo.colorAvocado70),color8Base:mo.extend("--ft-chart-8-base","",xo.colorAvocado200),color9Light:mo.extend("--ft-chart-9-light","",xo.colorBrown50),color9Base:mo.extend("--ft-chart-9-base","",xo.colorBrown200),color10Light:mo.extend("--ft-chart-10-light","",xo.colorGray50),color10Base:mo.extend("--ft-chart-10-base","",xo.colorGray80),monochrome10:mo.extend("--ft-chart-monochrome-10","",xo.colorBrand10),monochrome20:mo.extend("--ft-chart-monochrome-20","",xo.colorBrand20),monochrome30:mo.extend("--ft-chart-monochrome-30","",xo.colorBrand40),monochrome40:mo.extend("--ft-chart-monochrome-40","",xo.colorBrand60),monochrome50:mo.extend("--ft-chart-monochrome-50","",xo.colorBrand0),monochrome60:mo.extend("--ft-chart-monochrome-60","",xo.colorBrand200)},tr={largeHorizontalPadding:mo.extend("--ft-chip-large-horizontal-padding","",xo.spacing4),largeVerticalPadding:mo.extend("--ft-chip-large-vertical-padding","",xo.spacing2),largeGap:mo.extend("--ft-chip-large-gap","",xo.spacing1),largeFocusOutlineOffset:mo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:mo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:mo.extend("--ft-chip-large-border-radius","",xo.borderRadiusPill),largeBorderWidth:mo.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:mo.extend("--ft-chip-large-icon-size","",xo.iconSize3),mediumHorizontalPadding:mo.extend("--ft-chip-medium-horizontal-padding","",xo.spacing3),mediumVerticalPadding:mo.extend("--ft-chip-medium-vertical-padding","",xo.spacing1),mediumGap:mo.extend("--ft-chip-medium-gap","",xo.spacing1),mediumFocusOutlineOffset:mo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:mo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:mo.extend("--ft-chip-medium-border-radius","",xo.borderRadiusPill),mediumBorderWidth:mo.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:mo.extend("--ft-chip-medium-icon-size","",xo.iconSize2),smallHorizontalPadding:mo.extend("--ft-chip-small-horizontal-padding","",xo.spacing2),smallVerticalPadding:mo.extend("--ft-chip-small-vertical-padding","",xo.spacing05),smallGap:mo.extend("--ft-chip-small-gap","",xo.spacing1),smallFocusOutlineOffset:mo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:mo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:mo.extend("--ft-chip-small-border-radius","",xo.borderRadiusPill),smallBorderWidth:mo.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:mo.extend("--ft-chip-small-icon-size","",xo.iconSize1),neutralBackgroundColor:mo.extend("--ft-chip-neutral-background-color","",Go.backgroundGlobalOnSurface),neutralColor:mo.extend("--ft-chip-neutral-color","",Go.contentGlobalPrimary),neutralBorderColor:mo.extend("--ft-chip-neutral-border-color","",Go.borderGlobalSubtle),infoBackgroundColor:mo.extend("--ft-chip-info-background-color","",Go.backgroundInfoSubtle),infoColor:mo.extend("--ft-chip-info-color","",Go.contentInfoPrimary),infoBorderColor:mo.extend("--ft-chip-info-border-color","",Go.borderInfoSubtle),successBackgroundColor:mo.extend("--ft-chip-success-background-color","",Go.backgroundSuccessSubtle),successColor:mo.extend("--ft-chip-success-color","",Go.contentSuccessPrimary),successBorderColor:mo.extend("--ft-chip-success-border-color","",Go.borderSuccessSubtle),warningBackgroundColor:mo.extend("--ft-chip-warning-background-color","",Go.backgroundWarningSubtle),warningColor:mo.extend("--ft-chip-warning-color","",Go.contentWarningPrimary),warningBorderColor:mo.extend("--ft-chip-warning-border-color","",Go.borderWarningSubtle),errorBackgroundColor:mo.extend("--ft-chip-error-background-color","",Go.backgroundErrorSubtle),errorColor:mo.extend("--ft-chip-error-color","",Go.contentErrorPrimary),errorBorderColor:mo.extend("--ft-chip-error-border-color","",Go.borderErrorSubtle)},er={borderWidth:mo.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:mo.extend("--ft-notice-horizontal-padding","",xo.spacing2),verticalPadding:mo.extend("--ft-notice-vertical-padding","",xo.spacing1),borderRadius:mo.extend("--ft-notice-border-radius","",xo.borderRadiusS),gap:mo.extend("--ft-notice-gap","",xo.spacing2),iconSize:mo.extend("--ft-notice-icon-size","",xo.iconSize3),infoBackgroundColor:mo.extend("--ft-notice-info-background-color","",Go.backgroundInfoSubtle),infoBorderColor:mo.extend("--ft-notice-info-border-color","",Go.borderInfoSubtle),infoColor:mo.extend("--ft-notice-info-color","",Go.contentInfoPrimary),warningBackgroundColor:mo.extend("--ft-notice-warning-background-color","",Go.backgroundWarningSubtle),warningBorderColor:mo.extend("--ft-notice-warning-border-color","",Go.borderWarningSubtle),warningColor:mo.extend("--ft-notice-warning-color","",Go.contentWarningPrimary)},or={labelColor:mo.extend("--ft-checkbox-label-color","",Go.contentGlobalPrimary),checkedBackgroundColor:mo.extend("--ft-checkbox-checked-background-color","",Go.contentActionPrimary),checkedStateLayerColor:mo.extend("--ft-checkbox-checked-state-layer-color","",Go.contentActionPrimary),checkedColor:mo.extend("--ft-checkbox-checked-color","",Go.contentGlobalOnColor),checkedStateLayerOpacityHover:mo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",xo.opacity16),checkedStateLayerOpacityFocus:mo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",xo.opacity16),checkedStateLayerOpacityActive:mo.extend("--ft-checkbox-checked-state-layer-opacity-active","",xo.opacity24),checkedComponentOpacityDisabled:mo.extend("--ft-checkbox-checked-component-opacity-disabled","",xo.opacity40),uncheckedBorderColor:mo.extend("--ft-checkbox-unchecked-border-color","",xo.colorGray80),uncheckedStateLayerColor:mo.extend("--ft-checkbox-unchecked-state-layer-color","",xo.colorGray80),uncheckedStateLayerOpacityHover:mo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",xo.opacity16),uncheckedStateLayerOpacityFocus:mo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",xo.opacity16),uncheckedStateLayerOpacityActive:mo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",xo.opacity24),uncheckedComponentOpacityDisabled:mo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",xo.opacity40),focusFocusRingColor:mo.extend("--ft-checkbox-focus-focus-ring-color","",Go.borderActionFocusRing),focusOutlineOffset:mo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:mo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:mo.extend("--ft-checkbox-gap","",xo.spacing3)},rr={offStateLayerOpacityHover:mo.extend("--ft-toggle-off-state-layer-opacity-hover","",xo.opacity16),offStateLayerOpacityFocus:mo.extend("--ft-toggle-off-state-layer-opacity-focus","",xo.opacity16),offStateLayerOpacityActive:mo.extend("--ft-toggle-off-state-layer-opacity-active","",xo.opacity24),offComponentOpacityDisabled:mo.extend("--ft-toggle-off-component-opacity-disabled","",xo.opacity40),offBackgroundColor:mo.extend("--ft-toggle-off-background-color","",Go.contentGlobalSubtle),offIconColor:mo.extend("--ft-toggle-off-icon-color","",Go.contentGlobalSubtle),offStateLayerColor:mo.extend("--ft-toggle-off-state-layer-color","",Go.contentGlobalSubtle),onStateLayerOpacityHover:mo.extend("--ft-toggle-on-state-layer-opacity-hover","",xo.opacity16),onStateLayerOpacityFocus:mo.extend("--ft-toggle-on-state-layer-opacity-focus","",xo.opacity16),onStateLayerOpacityActive:mo.extend("--ft-toggle-on-state-layer-opacity-active","",xo.opacity24),onComponentOpacityDisabled:mo.extend("--ft-toggle-on-component-opacity-disabled","",xo.opacity40),onBackgroundColor:mo.extend("--ft-toggle-on-background-color","",Go.contentActionPrimary),onIconColor:mo.extend("--ft-toggle-on-icon-color","",Go.contentActionPrimary),onStateLayerColor:mo.extend("--ft-toggle-on-state-layer-color","",Go.contentActionPrimary),labelColor:mo.extend("--ft-toggle-label-color","",Go.contentGlobalPrimary),focusFocusRingColor:mo.extend("--ft-toggle-focus-focus-ring-color","",Go.borderActionFocusRing),gap:mo.extend("--ft-toggle-gap","",xo.spacing3)},ir={labelColor:mo.extend("--ft-radio-label-color","",Go.contentGlobalPrimary),selectedColor:mo.extend("--ft-radio-selected-color","",Go.contentActionPrimary),selectedStateLayerColor:mo.extend("--ft-radio-selected-state-layer-color","",Go.contentActionPrimary),selectedStateLayerOpacityHover:mo.extend("--ft-radio-selected-state-layer-opacity-hover","",xo.opacity16),selectedStateLayerOpacityFocus:mo.extend("--ft-radio-selected-state-layer-opacity-focus","",xo.opacity16),selectedStateLayerOpacityActive:mo.extend("--ft-radio-selected-state-layer-opacity-active","",xo.opacity24),selectedComponentOpacityDisabled:mo.extend("--ft-radio-selected-component-opacity-disabled","",xo.opacity40),unselectedStateLayerColor:mo.extend("--ft-radio-unselected-state-layer-color","",xo.colorGray80),unselectedStateLayerOpacityHover:mo.extend("--ft-radio-unselected-state-layer-opacity-hover","",xo.opacity16),unselectedStateLayerOpacityFocus:mo.extend("--ft-radio-unselected-state-layer-opacity-focus","",xo.opacity16),unselectedStateLayerOpacityActive:mo.extend("--ft-radio-unselected-state-layer-opacity-active","",xo.opacity24),unselectedComponentOpacityDisabled:mo.extend("--ft-radio-unselected-component-opacity-disabled","",xo.opacity40),focusFocusRingColor:mo.extend("--ft-radio-focus-focus-ring-color","",Go.borderActionFocusRing),focusOutlineOffset:mo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:mo.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:mo.extend("--ft-radio-gap","",xo.spacing3)},nr={iconSize:mo.extend("--ft-notification-icon-size","",xo.iconSize4),horizontalPadding:mo.extend("--ft-notification-horizontal-padding","",xo.spacing4),verticalPadding:mo.extend("--ft-notification-vertical-padding","",xo.spacing4),infoBackgroundColor:mo.extend("--ft-notification-info-background-color","",Go.backgroundInfoSubtle),infoColor:mo.extend("--ft-notification-info-color","",Go.contentInfoPrimary),infoBorderColor:mo.extend("--ft-notification-info-border-color","",Go.borderInfoSubtle),successBackgroundColor:mo.extend("--ft-notification-success-background-color","",Go.backgroundSuccessSubtle),successColor:mo.extend("--ft-notification-success-color","",Go.contentSuccessPrimary),successBorderColor:mo.extend("--ft-notification-success-border-color","",Go.borderSuccessSubtle),warningBackgroundColor:mo.extend("--ft-notification-warning-background-color","",Go.backgroundWarningSubtle),warningColor:mo.extend("--ft-notification-warning-color","",Go.contentWarningPrimary),warningBorderColor:mo.extend("--ft-notification-warning-border-color","",Go.borderWarningSubtle),errorBackgroundColor:mo.extend("--ft-notification-error-background-color","",Go.backgroundErrorSubtle),errorColor:mo.extend("--ft-notification-error-color","",Go.contentErrorPrimary),errorBorderColor:mo.extend("--ft-notification-error-border-color","",Go.borderErrorSubtle),borderRadius:mo.extend("--ft-notification-border-radius","",xo.borderRadiusPill),borderWidth:mo.create("--ft-notification-border-width","","SIZE","1px"),gapLeading:mo.extend("--ft-notification-gap-leading","",xo.spacing2),gapTrailing:mo.extend("--ft-notification-gap-trailing","",xo.spacing8)},ar={horizontalPadding:mo.extend("--ft-tooltip-horizontal-padding","",xo.spacing2),verticalPadding:mo.extend("--ft-tooltip-vertical-padding","",xo.spacing2),borderRadius:mo.extend("--ft-tooltip-border-radius","",xo.borderRadiusS),label:mo.extend("--ft-tooltip-label","",Go.contentGlobalOnColor),background:mo.extend("--ft-tooltip-background","",Go.contentGlobalPrimary),backgroundOpacity:mo.extend("--ft-tooltip-background-opacity","",xo.opacity80),shadow:mo.extend("--ft-tooltip-shadow","",xo.shadowElevation03)};var sr=Object.freeze({__proto__:null,FtCssVariableFactory:mo,button:Vo,chart:Qo,checkbox:or,chip:tr,collapsible:Jo,floatingMenu:qo,foundation:xo,notice:er,notification:nr,radio:ir,semantic:Go,setVariable:vo,switch_:Xo,tabs:Yo,toggle:rr,tooltip:ar,typographies:To,typographyBody1Medium:Eo,typographyBody1Regular:Co,typographyBody1Semibold:Ro,typographyBody2Medium:Lo,typographyBody2Regular:$o,typographyBody2Semibold:Io,typographyCaption1Bold:Ko,typographyCaption1Medium:jo,typographyCaption1Semibold:zo,typographyCaption2Bold:Mo,typographyCaption2Medium:Bo,typographyCaption2Semibold:Po,typographyCaption3Bold:Ho,typographyCaption3Medium:Do,typographyCaption3Semibold:Zo,typographyDisplay:Oo,typographyLabel1Bold:Wo,typographyLabel1Medium:ko,typographyLabel1Semibold:Uo,typographyLabel2Bold:_o,typographyLabel2Medium:Fo,typographyLabel2Semibold:Ao,typographyTitle1:wo,typographyTitle2:So,typographyTitle3:No,typographyVariants:["display","title-1","title-2","title-3","body-1","body-2","label-1","label-2","caption-1","caption-2","caption-3"]});const cr={colorPrimary:mo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:mo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:mo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:mo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:mo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:mo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:mo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:mo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:mo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:mo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:mo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:mo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:mo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:mo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:mo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:mo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:mo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:mo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:mo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:mo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:mo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:mo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:mo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:mo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:mo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:mo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:mo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:mo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:mo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:mo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:mo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:mo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:mo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:mo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:mo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:mo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:mo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:mo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:mo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:mo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:mo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:mo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:mo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:mo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:mo.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:mo.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:mo.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:mo.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:mo.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:mo.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:mo.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:mo.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:mo.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:mo.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:mo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:mo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:mo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:mo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:mo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:mo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:mo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:mo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var lr=Object.freeze({__proto__:null,designSystemVariables:cr});class fr extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class pr extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class hr extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var ur=Object.freeze({__proto__:null,FtNotificationEvent:fr,PostResizeEvent:hr,PreResizeEvent:pr});const dr=["start","end"],yr=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+dr[0],e+"-"+dr[1])),[]),gr=Math.min,br=Math.max,mr=Math.round,vr=t=>({x:t,y:t}),xr={left:"right",right:"left",bottom:"top",top:"bottom"},Or={start:"end",end:"start"};function wr(t,e,o){return br(t,gr(e,o))}function Sr(t,e){return"function"==typeof t?t(e):t}function Nr(t){return t.split("-")[0]}function Cr(t){return t.split("-")[1]}function Er(t){return"x"===t?"y":"x"}function Rr(t){return"y"===t?"height":"width"}function $r(t){return["top","bottom"].includes(Nr(t))?"y":"x"}function Lr(t){return Er($r(t))}function Ir(t){return t.replace(/left|right|bottom|top/g,(t=>xr[t]))}function kr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Ur(t,e,o){let{reference:r,floating:i}=t;const n=$r(e),a=Lr(e),s=Rr(a),c=Nr(e),l="y"===n,f=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,h=r[s]/2-i[s]/2;let u;switch(c){case"top":u={x:f,y:r.y-i.height};break;case"bottom":u={x:f,y:r.y+r.height};break;case"right":u={x:r.x+r.width,y:p};break;case"left":u={x:r.x-i.width,y:p};break;default:u={x:r.x,y:r.y}}switch(Cr(e)){case"start":u[a]-=h*(o&&l?-1:1);break;case"end":u[a]+=h*(o&&l?-1:1)}return u}async function Wr(t,e){var o;void 0===e&&(e={});const{x:r,y:i,platform:n,rects:a,elements:s,strategy:c}=t,{boundary:l="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:h=!1,padding:u=0}=Sr(e,t),d=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(u),y=s[h?"floating"===p?"reference":"floating":p],g=kr(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:l,rootBoundary:f,strategy:c})),b="floating"===p?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=kr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(g.top-x.top+d.top)/v.y,bottom:(x.bottom-g.bottom+d.bottom)/v.y,left:(g.left-x.left+d.left)/v.x,right:(x.right-g.right+d.right)/v.x}}function Fr(t,e,o){return(t?[...o.filter((e=>Cr(e)===t)),...o.filter((e=>Cr(e)!==t))]:o.filter((t=>Nr(t)===t))).filter((o=>!t||(Cr(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Or[t]))}(o)!==o)))}const Ar=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,r,i;const{rects:n,middlewareData:a,placement:s,platform:c,elements:l}=e,{crossAxis:f=!1,alignment:p,allowedPlacements:h=yr,autoAlignment:u=!0,...d}=Sr(t,e),y=void 0!==p||h===yr?Fr(p||null,u,h):h,g=await Wr(e,d),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const r=Cr(t),i=Lr(t),n=Rr(i);let a="x"===i?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Ir(a)),[a,Ir(a)]}(m,n,await(null==c.isRTL?void 0:c.isRTL(l.floating)));if(s!==m)return{reset:{placement:y[0]}};const x=[g[Nr(m)],g[v[0]],g[v[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:x}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=Cr(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),N=S.filter((t=>t[2].slice(0,Cr(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=N[0])?void 0:i[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function _r(t){return Kr(t)?(t.nodeName||"").toLowerCase():"#document"}function jr(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function zr(t){var e;return null==(e=(Kr(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Kr(t){return t instanceof Node||t instanceof jr(t).Node}function Br(t){return t instanceof Element||t instanceof jr(t).Element}function Pr(t){return t instanceof HTMLElement||t instanceof jr(t).HTMLElement}function Mr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof jr(t).ShadowRoot)}function Dr(t){const{overflow:e,overflowX:o,overflowY:r,display:i}=Vr(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(i)}function Zr(t){return["table","td","th"].includes(_r(t))}function Hr(t){const e=Tr(),o=Vr(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function Tr(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Gr(t){return["html","body","#document"].includes(_r(t))}function Vr(t){return jr(t).getComputedStyle(t)}function qr(t){return Br(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Yr(t){if("html"===_r(t))return t;const e=t.assignedSlot||t.parentNode||Mr(t)&&t.host||zr(t);return Mr(e)?e.host:e}function Jr(t){const e=Yr(t);return Gr(e)?t.ownerDocument?t.ownerDocument.body:t.body:Pr(e)&&Dr(e)?e:Jr(e)}function Xr(t,e,o){var r;void 0===e&&(e=[]),void 0===o&&(o=!0);const i=Jr(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=jr(i);return n?e.concat(a,a.visualViewport||[],Dr(i)?i:[],a.frameElement&&o?Xr(a.frameElement):[]):e.concat(i,Xr(i,[],o))}function Qr(t){const e=Vr(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=Pr(t),n=i?t.offsetWidth:o,a=i?t.offsetHeight:r,s=mr(o)!==n||mr(r)!==a;return s&&(o=n,r=a),{width:o,height:r,$:s}}function ti(t){return Br(t)?t:t.contextElement}function ei(t){const e=ti(t);if(!Pr(e))return vr(1);const o=e.getBoundingClientRect(),{width:r,height:i,$:n}=Qr(e);let a=(n?mr(o.width):o.width)/r,s=(n?mr(o.height):o.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const oi=vr(0);function ri(t){const e=jr(t);return Tr()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:oi}function ii(t,e,o,r){void 0===e&&(e=!1),void 0===o&&(o=!1);const i=t.getBoundingClientRect(),n=ti(t);let a=vr(1);e&&(r?Br(r)&&(a=ei(r)):a=ei(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==jr(t))&&e}(n,o,r)?ri(n):vr(0);let c=(i.left+s.x)/a.x,l=(i.top+s.y)/a.y,f=i.width/a.x,p=i.height/a.y;if(n){const t=jr(n),e=r&&Br(r)?jr(r):r;let o=t.frameElement;for(;o&&r&&e!==t;){const t=ei(o),e=o.getBoundingClientRect(),r=Vr(o),i=e.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,l*=t.y,f*=t.x,p*=t.y,c+=i,l+=n,o=jr(o).frameElement}}return kr({width:f,height:p,x:c,y:l})}function ni(t){return ii(zr(t)).left+qr(t).scrollLeft}function ai(t,e,o){let r;if("viewport"===e)r=function(t,e){const o=jr(t),r=zr(t),i=o.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,c=0;if(i){n=i.width,a=i.height;const t=Tr();(!t||t&&"fixed"===e)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:n,height:a,x:s,y:c}}(t,o);else if("document"===e)r=function(t){const e=zr(t),o=qr(t),r=t.ownerDocument.body,i=br(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),n=br(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-o.scrollLeft+ni(t);const s=-o.scrollTop;return"rtl"===Vr(r).direction&&(a+=br(e.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(zr(t));else if(Br(e))r=function(t,e){const o=ii(t,!0,"fixed"===e),r=o.top+t.clientTop,i=o.left+t.clientLeft,n=Pr(t)?ei(t):vr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(e,o);else{const o=ri(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return kr(r)}function si(t,e){const o=Yr(t);return!(o===e||!Br(o)||Gr(o))&&("fixed"===Vr(o).position||si(o,e))}function ci(t,e,o){const r=Pr(e),i=zr(e),n="fixed"===o,a=ii(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const c=vr(0);if(r||!r&&!n)if(("body"!==_r(e)||Dr(i))&&(s=qr(e)),r){const t=ii(e,!0,n,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}else i&&(c.x=ni(i));return{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function li(t,e){return Pr(t)&&"fixed"!==Vr(t).position?e?e(t):t.offsetParent:null}function fi(t,e){const o=jr(t);if(!Pr(t))return o;let r=li(t,e);for(;r&&Zr(r)&&"static"===Vr(r).position;)r=li(r,e);return r&&("html"===_r(r)||"body"===_r(r)&&"static"===Vr(r).position&&!Hr(r))?o:r||function(t){let e=Yr(t);for(;Pr(e)&&!Gr(e);){if(Hr(e))return e;e=Yr(e)}return null}(t)||o}const pi={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:r}=t;const i=Pr(o),n=zr(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=vr(1);const c=vr(0);if((i||!i&&"fixed"!==r)&&(("body"!==_r(o)||Dr(n))&&(a=qr(o)),Pr(o))){const t=ii(o);s=ei(o),c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+c.x,y:e.y*s.y-a.scrollTop*s.y+c.y}},getDocumentElement:zr,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let r=Xr(t,[],!1).filter((t=>Br(t)&&"body"!==_r(t))),i=null;const n="fixed"===Vr(t).position;let a=n?Yr(t):t;for(;Br(a)&&!Gr(a);){const e=Vr(a),o=Hr(a);o||"fixed"!==e.position||(i=null),(n?!o&&!i:!o&&"static"===e.position&&i&&["absolute","fixed"].includes(i.position)||Dr(a)&&!o&&si(t,a))?r=r.filter((t=>t!==a)):i=e,a=Yr(a)}return e.set(t,r),r}(e,this._c):[].concat(o),r],a=n[0],s=n.reduce(((t,o)=>{const r=ai(e,o,i);return t.top=br(r.top,t.top),t.right=gr(r.right,t.right),t.bottom=gr(r.bottom,t.bottom),t.left=br(r.left,t.left),t}),ai(e,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:fi,getElementRects:async function(t){let{reference:e,floating:o,strategy:r}=t;const i=this.getOffsetParent||fi,n=this.getDimensions;return{reference:ci(e,await i(o),r),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Qr(t)},getScale:ei,isElement:Br,isRTL:function(t){return"rtl"===Vr(t).direction}},hi=(t,e,o)=>{const r=new Map,i={platform:pi,...o},n={...i.platform,_c:r};return(async(t,e,o)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(e));let l=await a.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:p}=Ur(l,r,c),h=r,u={},d=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:v}=await y({x:f,y:p,initialPlacement:r,placement:h,strategy:i,middlewareData:u,rects:l,platform:a,elements:{reference:t,floating:e}});f=null!=g?g:f,p=null!=b?b:p,u={...u,[n]:{...u[n],...m}},v&&d<=50&&(d++,"object"==typeof v&&(v.placement&&(h=v.placement),v.rects&&(l=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:i}):v.rects),({x:f,y:p}=Ur(l,h,c))),o=-1)}return{x:f,y:p,placement:h,strategy:i,middlewareData:u}})(t,e,{...i,platform:n})};function ui(t){return function(t){for(let e=t;e;e=di(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=di(t);e;e=di(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function di(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}async function yi(t,e,o){return hi(t,e,{platform:{...pi,getOffsetParent:t=>pi.getOffsetParent(t,ui)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:e,y:o,placement:i}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...c}=Sr(r,t),l={x:e,y:o},f=await Wr(t,c),p=$r(Nr(i)),h=Er(p);let u=l[h],d=l[p];if(n){const t="y"===h?"bottom":"right";u=wr(u+f["y"===h?"top":"left"],u,u-f[t])}if(a){const t="y"===p?"bottom":"right";d=wr(d+f["y"===p?"top":"left"],d,d-f[t])}const y=s.fn({...t,[h]:u,[p]:d});return{...y,data:{x:y.x-e,y:y.y-o}}}}),Ar({allowedPlacements:[o]})]});var r}var gi=Object.freeze({__proto__:null,computeOffsetPosition:yi});
86
136
  /**
87
137
  * @license
88
138
  * Copyright 2019 Google LLC
89
139
  * SPDX-License-Identifier: BSD-3-Clause
90
- */
91
- const Re=window,Ue=Re.ShadowRoot&&(void 0===Re.ShadyCSS||Re.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class $e 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)=>{Ue?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),i=Re.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var We,Ie=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const ke=Symbol("constructorPrototype"),Le=Symbol("constructorName"),Ke=Symbol("exportpartsDebouncer");class Ze extends $e{constructor(){super(),this[We]=new o(5),this[Le]=this.constructor.name,this[ke]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Le]&&Object.setPrototypeOf(this,this[ke])}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[Ke].run((()=>{var t,o;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],e=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>l.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}We=Ke,Ie([C()],Ze.prototype,"exportpartsPrefix",void 0),Ie([function(t,o){const e=()=>JSON.parse(JSON.stringify(t));return C({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!W(t,o),...null!=o?o:{}})}([])],Ze.prototype,"exportpartsPrefixes",void 0),Ie([C()],Ze.prototype,"customStylesheet",void 0);const ze=Oo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");mt`
140
+ */const bi=window,mi=bi.ShadowRoot&&(void 0===bi.ShadyCSS||bi.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class vi extends be{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{mi?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),r=bi.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var xi,Oi=Object.freeze({__proto__:null,ScopedRegistryLitElement:vi}),wi=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Si=Symbol("constructorPrototype"),Ni=Symbol("constructorName"),Ci=Symbol("exportpartsDebouncer");class Ei extends vi{constructor(){super(),this[xi]=new no(5),this[Ni]=this.constructor.name,this[Si]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ni]&&Object.setPrototypeOf(this,this[Si])}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.insertCustomStylesheet(),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}insertCustomStylesheet(){var t,e;if((null!==(e=null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){var t,e,o;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(o=null===(e=this.exportpartsPrefixes)||void 0===e?void 0:e.length)&&void 0!==o&&o)&&this[Ci].run((()=>{var t,e;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(e=this.exportpartsPrefixes)||void 0===e?void 0:e.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,r,i,n,a;const s=t=>null!=t&&t.trim().length>0,c=t.filter(s).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const f=[...l.values()].flatMap((t=>c.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}xi=Ci,wi([we()],Ei.prototype,"exportpartsPrefix",void 0),wi([uo([])],Ei.prototype,"exportpartsPrefixes",void 0),wi([we()],Ei.prototype,"customStylesheet",void 0);var Ri=Object.freeze({__proto__:null,FtLitElement:Ei}),$i=Object.freeze({__proto__:null});class Li{constructor(t,e=!0,o=[],r=5e3){this.ctx=t,this.iframes=e,this.exclude=o,this.iframesTimeout=r}static matches(t,e){const o="string"==typeof e?[e]:e,r=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(r){let e=!1;return o.every((o=>!r.call(t,o)||(e=!0,!1))),e}return!1}getContexts(){let t,e=[];return t=void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[],t.forEach((t=>{const o=e.filter((e=>e.contains(t))).length>0;-1!==e.indexOf(t)||o||e.push(t)})),e}getIframeContents(t,e,o=(()=>{})){let r;try{const e=t.contentWindow;if(r=e.document,!e||!r)throw new Error("iframe inaccessible")}catch(t){o()}r&&e(r)}isIframeBlank(t){const e="about:blank",o=t.getAttribute("src").trim();return t.contentWindow.location.href===e&&o!==e&&o}observeIframeLoad(t,e,o){let r=!1,i=null;const n=()=>{if(!r){r=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",n),this.getIframeContents(t,e,o))}catch(t){o()}}};t.addEventListener("load",n),i=setTimeout(n,this.iframesTimeout)}onIframeReady(t,e,o){try{"complete"===t.contentWindow.document.readyState?this.isIframeBlank(t)?this.observeIframeLoad(t,e,o):this.getIframeContents(t,e,o):this.observeIframeLoad(t,e,o)}catch(t){o()}}waitForIframes(t,e){let o=0;this.forEachIframe(t,(()=>!0),(t=>{o++,this.waitForIframes(t.querySelector("html"),(()=>{--o||e()}))}),(t=>{t||e()}))}forEachIframe(t,e,o,r=(()=>{})){let i=t.querySelectorAll("iframe"),n=i.length,a=0;i=Array.prototype.slice.call(i);const s=()=>{--n<=0&&r(a)};n||s(),i.forEach((t=>{Li.matches(t,this.exclude)?s():this.onIframeReady(t,(r=>{e(t)&&(a++,o(r)),s()}),s)}))}createIterator(t,e,o){return document.createNodeIterator(t,e,o,!1)}createInstanceOnIframe(t){return new Li(t.querySelector("html"),this.iframes)}compareNodeIframe(t,e,o){if(t.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_PRECEDING){if(null===e)return!0;if(e.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}getIteratorNode(t){const e=t.previousNode();let o;return o=(null===e||t.nextNode())&&t.nextNode(),{prevNode:e,node:o}}checkIframeFilter(t,e,o,r){let i=!1,n=!1;return r.forEach(((t,e)=>{t.val===o&&(i=e,n=t.handled)})),this.compareNodeIframe(t,e,o)?(!1!==i||n?!1===i||n||(r[i].handled=!0):r.push({val:o,handled:!0}),!0):(!1===i&&r.push({val:o,handled:!1}),!1)}handleOpenIframes(t,e,o,r){t.forEach((t=>{t.handled||this.getIframeContents(t.val,(t=>{this.createInstanceOnIframe(t).forEachNode(e,o,r)}))}))}iterateThroughNodes(t,e,o,r,i){const n=this.createIterator(e,t,r);let a,s,c=[],l=[],f=()=>(({prevNode:s,node:a}=this.getIteratorNode(n)),a);for(;f();)this.iframes&&this.forEachIframe(e,(t=>this.checkIframeFilter(a,s,t,c)),(e=>{this.createInstanceOnIframe(e).forEachNode(t,(t=>l.push(t)),r)})),l.push(a);l.forEach((t=>{o(t)})),this.iframes&&this.handleOpenIframes(c,t,o,r),i()}forEachNode(t,e,o,r=(()=>{})){const i=this.getContexts();let n=i.length;n||r(),i.forEach((i=>{const a=()=>{this.iterateThroughNodes(t,i,e,o,(()=>{--n<=0&&r()}))};this.iframes?this.waitForIframes(i,a):a()}))}}const Ii=function(t){const e=new class{constructor(t){this.ctx=t,this.ie=!1;const e=window.navigator.userAgent;(e.indexOf("MSIE")>-1||e.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new Li(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,e="debug"){const o=this.opt.log;this.opt.debug&&"object"==typeof o&&"function"==typeof o[e]&&o[e](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return"disabled"!==this.opt.wildcards&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),"disabled"!==this.opt.wildcards&&(t=this.createWildcardsRegExp(t)),this.createAccuracyRegExp(t)}createSynonymsRegExp(t){const e=this.opt.synonyms,o=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in e)if(e.hasOwnProperty(i)){const n=e[i],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i),s="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(n):this.escapeStr(n);""!==a&&""!==s&&(t=t.replace(new RegExp(`(${this.escapeStr(a)}|${this.escapeStr(s)})`,`gm${o}`),r+`(${this.processSynomyms(a)}|`+`${this.processSynomyms(s)})`+r))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return(t=t.replace(/(?:\\)*\?/g,(t=>"\\"===t.charAt(0)?"?":""))).replace(/(?:\\)*\*/g,(t=>"\\"===t.charAt(0)?"*":""))}createWildcardsRegExp(t){let e="withSpaces"===this.opt.wildcards;return t.replace(/\u0001/g,e?"[\\S\\s]?":"\\S?").replace(/\u0002/g,e?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,((t,e,o)=>{let r=o.charAt(e+1);return/[(|)\\]/.test(r)||""===r?t:t+"\0"}))}createJoinersRegExp(t){let e=[];const o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&e.push(this.escapeStr(o.join(""))),this.opt.ignoreJoiners&&e.push("\\u00ad\\u200b\\u200c\\u200d"),e.length?t.split(/\u0000+/).join(`[${e.join("")}]*`):t}createDiacriticsRegExp(t){const e=this.opt.caseSensitive?"":"i",o=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let r=[];return t.split("").forEach((i=>{o.every((o=>{if(-1!==o.indexOf(i)){if(r.indexOf(o)>-1)return!1;t=t.replace(new RegExp(`[${o}]`,`gm${e}`),`[${o}]`),r.push(o)}return!0}))})),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gim,"[\\s]+")}createAccuracyRegExp(t){let e=this.opt.accuracy,o="string"==typeof e?e:e.value,r="string"==typeof e?[]:e.limiters,i="";switch(r.forEach((t=>{i+=`|${this.escapeStr(t)}`})),o){case"partially":default:return`()(${t})`;case"complementary":return i="\\s"+(i||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿")),`()([^${i}]*${t}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${t})(?=$|\\s${i})`}}getSeparatedKeywords(t){let e=[];return t.forEach((t=>{this.opt.separateWordSearch?t.split(" ").forEach((t=>{t.trim()&&-1===e.indexOf(t)&&e.push(t)})):t.trim()&&-1===e.indexOf(t)&&e.push(t)})),{keywords:e.sort(((t,e)=>e.length-t.length)),length:e.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||"[object Object]"!==Object.prototype.toString.call(t[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];const e=[];let o=0;return t.sort(((t,e)=>t.start-e.start)).forEach((t=>{let{start:r,end:i,valid:n}=this.callNoMatchOnInvalidRanges(t,o);n&&(t.start=r,t.length=i-r,e.push(t),o=i)})),e}callNoMatchOnInvalidRanges(t,e){let o,r,i=!1;return t&&void 0!==t.start?(o=parseInt(t.start,10),r=o+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&r-e>0&&r-o>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:o,end:r,valid:i}}checkWhitespaceRanges(t,e,o){let r,i=!0,n=o.length,a=e-n,s=parseInt(t.start,10)-a;return s=s>n?n:s,r=s+parseInt(t.length,10),r>n&&(r=n,this.log(`End range automatically set to the max value of ${n}`)),s<0||r-s<0||s>n||r>n?(i=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===o.substring(s,r).replace(/\s+/g,"")&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:s,end:r,valid:i}}getTextNodes(t){let e="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(t=>{o.push({start:e.length,end:(e+=t.textContent).length,node:t})}),(t=>this.matchesExclude(t.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT),(()=>{t({value:e,nodes:o})}))}matchesExclude(t){return Li.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,e,o){const r=this.opt.element?this.opt.element:"mark",i=t.splitText(e),n=i.splitText(o-e);let a=document.createElement(r);return a.setAttribute("data-markjs","true"),this.opt.className&&a.setAttribute("class",this.opt.className),a.textContent=i.textContent,i.parentNode.replaceChild(a,i),n}wrapRangeInMappedTextNode(t,e,o,r,i){t.nodes.every(((n,a)=>{const s=t.nodes[a+1];if(void 0===s||s.start>e){if(!r(n.node))return!1;const s=e-n.start,c=(o>n.end?n.end:o)-n.start,l=t.value.substr(0,n.start),f=t.value.substr(c+n.start);if(n.node=this.wrapRangeInTextNode(n.node,s,c),t.value=l+f,t.nodes.forEach(((e,o)=>{o>=a&&(t.nodes[o].start>0&&o!==a&&(t.nodes[o].start-=c),t.nodes[o].end-=c)})),o-=c,i(n.node.previousSibling,n.start),!(o>n.end))return!1;e=n.end}return!0}))}wrapMatches(t,e,o,r,i){const n=0===e?0:e+1;this.getTextNodes((e=>{e.nodes.forEach((e=>{let i;for(e=e.node;null!==(i=t.exec(e.textContent))&&""!==i[n];){if(!o(i[n],e))continue;let a=i.index;if(0!==n)for(let t=1;t<n;t++)a+=i[t].length;e=this.wrapRangeInTextNode(e,a,a+i[n].length),r(e.previousSibling),t.lastIndex=0}})),i()}))}wrapMatchesAcrossElements(t,e,o,r,i){const n=0===e?0:e+1;this.getTextNodes((e=>{let a;for(;null!==(a=t.exec(e.value))&&""!==a[n];){let i=a.index;if(0!==n)for(let t=1;t<n;t++)i+=a[t].length;const s=i+a[n].length;this.wrapRangeInMappedTextNode(e,i,s,(t=>o(a[n],t)),((e,o)=>{t.lastIndex=o,r(e)}))}i()}))}wrapRangeFromIndex(t,e,o,r){this.getTextNodes((i=>{const n=i.value.length;t.forEach(((t,r)=>{let{start:a,end:s,valid:c}=this.checkWhitespaceRanges(t,n,i.value);c&&this.wrapRangeInMappedTextNode(i,a,s,(o=>e(o,t,i.value.substring(a,s),r)),(e=>{o(e,t)}))})),r()}))}unwrapMatches(t){const e=t.parentNode;let o=document.createDocumentFragment();for(;t.firstChild;)o.appendChild(t.removeChild(t.firstChild));e.replaceChild(o,t),this.ie?this.normalizeTextNode(e):e.normalize()}normalizeTextNode(t){if(t){if(3===t.nodeType)for(;t.nextSibling&&3===t.nextSibling.nodeType;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,e){this.opt=e,this.log(`Searching with expression "${t}"`);let o=0,r="wrapMatches";this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),this[r](t,this.opt.ignoreGroups,((t,e)=>this.opt.filter(e,t,o)),(t=>{o++,this.opt.each(t)}),(()=>{0===o&&this.opt.noMatch(t),this.opt.done(o)}))}mark(t,e){this.opt=e;let o=0,r="wrapMatches";const{keywords:i,length:n}=this.getSeparatedKeywords("string"==typeof t?[t]:t),a=this.opt.caseSensitive?"":"i",s=t=>{let e=new RegExp(this.createRegExp(t),`gm${a}`),c=0;this.log(`Searching with expression "${e}"`),this[r](e,1,((e,r)=>this.opt.filter(r,t,o,c)),(t=>{c++,o++,this.opt.each(t)}),(()=>{0===c&&this.opt.noMatch(t),i[n-1]===t?this.opt.done(o):s(i[i.indexOf(t)+1])}))};this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),0===n?this.opt.done(o):s(i[0])}markRanges(t,e){this.opt=e;let o=0,r=this.checkRanges(t);r&&r.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(r)),this.wrapRangeFromIndex(r,((t,e,o,r)=>this.opt.filter(t,e,o,r)),((t,e)=>{o++,this.opt.each(t,e)}),(()=>{this.opt.done(o)}))):this.opt.done(o)}unmark(t){this.opt=t;let e=this.opt.element?this.opt.element:"*";e+="[data-markjs]",this.opt.className&&(e+=`.${this.opt.className}`),this.log(`Removal selector "${e}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,(t=>{this.unwrapMatches(t)}),(t=>{const o=Li.matches(t,e),r=this.matchesExclude(t);return!o||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}}(t);return this.mark=(t,o)=>(e.mark(t,o),this),this.markRegExp=(t,o)=>(e.markRegExp(t,o),this),this.markRanges=(t,o)=>(e.markRanges(t,o),this),this.unmark=t=>(e.unmark(t),this),this},ki=mo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Ui=ht`
92
141
  .highlight-html-match {
93
- background: ${ze};
142
+ background: ${ki};
94
143
  }
95
- `,mt`
144
+ `,Wi={className:"highlight-html-match"};var Fi=Object.freeze({__proto__:null,highlightHtml:function(t,e){var o;let r=t.getAttribute("data-highlight-html-query");if((null!=r?r:"")!==(null!=e?e:"")){const r=new Ii(t);if(r.unmark(Wi),e&&e.trim()){r.mark(e.replace(/"[^"]+"/g,""),{...Wi,separateWordSearch:!0});(null!==(o=e.match(/"[^"]+"/g))&&void 0!==o?o:[]).forEach((t=>r.mark(t.replace(/"/g,""),{...Wi,separateWordSearch:!1})))}}t.setAttribute("data-highlight-html-query",null!=e?e:"")},highlightHtmlColorCssVariable:ki,highlightHtmlStyles:Ui});const Ai=ht`
96
145
  .ft-no-text-select {
97
146
  -webkit-touch-callout: none;
98
147
  -webkit-user-select: none;
@@ -101,7 +150,7 @@ const Re=window,Ue=Re.ShadowRoot&&(void 0===Re.ShadyCSS||Re.ShadyCSS.nativeShado
101
150
  -ms-user-select: none;
102
151
  user-select: none;
103
152
  }
104
- `,mt`
153
+ `,_i=ht`
105
154
  .ft-word-wrap {
106
155
  white-space: normal;
107
156
  word-wrap: break-word;
@@ -113,7 +162,7 @@ const Re=window,Ue=Re.ShadowRoot&&(void 0===Re.ShadyCSS||Re.ShadyCSS.nativeShado
113
162
  -webkit-hyphens: auto;
114
163
  hyphens: auto
115
164
  }
116
- `;const Fe=mt`
165
+ `,ji=ht`
117
166
  .ft-safari-ellipsis-fix {
118
167
  margin-right: 0;
119
168
 
@@ -124,17 +173,7 @@ const Re=window,Ue=Re.ShadowRoot&&(void 0===Re.ShadyCSS||Re.ShadyCSS.nativeShado
124
173
  display: inline-block;
125
174
  width: 0;
126
175
  }
127
- `;function Ae(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var De,Me,Be;const Pe=Symbol("internalReduxEventsUnsubscribers"),He=Symbol("internalStoresUnsubscribers"),je=Symbol("internalStores");class Te extends Ze{constructor(){super(...arguments),this[De]=new Map,this[Me]=new Map,this[Be]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[je].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[je].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[je].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Ae(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[je].delete(o)}setupStore(t,o){this[je].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[je].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[He].has(t.store):this[He].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[He].set(t,o.subscribe((()=>this.updateFromStores()))),Ae(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const i=t=>this[e](t);o.eventBus.addEventListener(t.eventName,i),this[Pe].push((()=>o.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[He].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Pe].forEach((t=>t())),this[Pe]=[]}unsubscribeFromStore(t){this[He].has(t)&&this[He].get(t)(),this[He].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}var _e,Ge,Ye;De=He,Me=je,Be=Pe,Te.reduxProperties=new Map,Te.reduxReactiveProperties=new Set,Te.reduxEventListeners=new Map,window.ftReduxStores||(window.ftReduxStores={});const Ve=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ye=null===(Ge=null===(_e=window.safari)||void 0===_e?void 0:_e.pushNotification)||void 0===Ge?void 0:Ge.toString())&&void 0!==Ye?Ye:""),Je=1,qe=2,Xe=t=>(...o)=>({_$litDirective$:t,values:o});
128
- /**
129
- * @license
130
- * Copyright 2017 Google LLC
131
- * SPDX-License-Identifier: BSD-3-Clause
132
- */let Qe=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};
133
- /**
134
- * @license
135
- * Copyright 2018 Google LLC
136
- * SPDX-License-Identifier: BSD-3-Clause
137
- */const ti=Xe(class extends Qe{constructor(t){if(super(t),t.type!==Je||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const i=!!o[t];i===this.it.has(t)||this.st?.has(t)||(i?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return X}}),oi=Oo.extend("--ft-ripple-color","",Co.colorContent),ei={color:oi,backgroundColor:Oo.extend("--ft-ripple-background-color","",oi),opacityContentOnSurfacePressed:Oo.external(Co.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Oo.external(Co.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Oo.external(Co.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Oo.external(Co.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Oo.create("--ft-ripple-border-radius","","SIZE","0px")},ii=Oo.extend("--ft-ripple-color","",Co.colorPrimary),ri=ii,ni=Oo.extend("--ft-ripple-background-color","",ii),ai=Oo.extend("--ft-ripple-color","",Co.colorSecondary),si=ai,li=Oo.extend("--ft-ripple-background-color","",ai),ci=mt`
176
+ `;var zi=Object.freeze({__proto__:null,noTextSelect:Ai,safariEllipsisFix:ji,wordWrap:_i}),Ki=Object.freeze({__proto__:null});var Bi=Object.freeze({__proto__:null,ParametrizedLabelResolver:class{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,r;t=this.resolvePluralKey(t,e);let i=null!==(r=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==r?r:"";return e.forEach(((t,e)=>i=i.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),i}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}});class Pi{constructor(){this.queue=[]}add(t,e=!1){e&&(this.queue=this.queue.filter((e=>e.type!==t.type))),this.queue.push(t)}consume(t){const e=this.queue.find((e=>e.type===t));return e&&(this.queue=this.queue.filter((t=>t!==e))),e}}function Mi(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Di,Zi,Hi;const Ti=Symbol("internalReduxEventsUnsubscribers"),Gi=Symbol("internalStoresUnsubscribers"),Vi=Symbol("internalStores");class qi extends Ei{constructor(){super(...arguments),this[Di]=new Map,this[Zi]=new Map,this[Hi]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[Vi].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Vi].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Vi].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Mi(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Vi].delete(e)}setupStore(t,e){this[Vi].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Vi].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[Gi].has(t.store):this[Gi].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[Gi].set(t,e.subscribe((()=>this.updateFromStores()))),Mi(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const r=t=>this[o](t);e.eventBus.addEventListener(t.eventName,r),this[Ti].push((()=>e.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Gi].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Ti].forEach((t=>t())),this[Ti]=[]}unsubscribeFromStore(t){this[Gi].has(t)&&this[Gi].get(t)(),this[Gi].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Yi(t){for(var e=arguments.length,o=Array(e>1?e-1:0),r=1;r<e;r++)o[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ji(t){return!!t&&!!t[zn]}function Xi(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===Kn}(t)||Array.isArray(t)||!!t[jn]||!!(null===(e=t.constructor)||void 0===e?void 0:e[jn])||nn(t)||an(t))}function Qi(t,e,o){void 0===o&&(o=!1),0===tn(t)?(o?Object.keys:Bn)(t).forEach((function(r){o&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(o,r){return e(r,o,t)}))}function tn(t){var e=t[zn];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:nn(t)?2:an(t)?3:0}function en(t,e){return 2===tn(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function on(t,e,o){var r=tn(t);2===r?t.set(e,o):3===r?t.add(o):t[e]=o}function rn(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function nn(t){return Wn&&t instanceof Map}function an(t){return Fn&&t instanceof Set}function sn(t){return t.o||t.t}function cn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Pn(t);delete e[zn];for(var o=Bn(e),r=0;r<o.length;r++){var i=o[r],n=e[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function ln(t,e){return void 0===e&&(e=!1),pn(t)||Ji(t)||!Xi(t)||(tn(t)>1&&(t.set=t.add=t.clear=t.delete=fn),Object.freeze(t),e&&Qi(t,(function(t,e){return ln(e,!0)}),!0)),t}function fn(){Yi(2)}function pn(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function hn(t){var e=Mn[t];return e||Yi(18,t),e}function un(){return kn}function dn(t,e){e&&(hn("Patches"),t.u=[],t.s=[],t.v=e)}function yn(t){gn(t),t.p.forEach(mn),t.p=null}function gn(t){t===kn&&(kn=t.l)}function bn(t){return kn={p:[],l:kn,h:t,m:!0,_:0}}function mn(t){var e=t[zn];0===e.i||1===e.i?e.j():e.g=!0}function vn(t,e){e._=e.p.length;var o=e.p[0],r=void 0!==t&&t!==o;return e.h.O||hn("ES5").S(e,t,r),r?(o[zn].P&&(yn(e),Yi(4)),Xi(t)&&(t=xn(e,t),e.l||wn(e,t)),e.u&&hn("Patches").M(o[zn].t,t,e.u,e.s)):t=xn(e,o,[]),yn(e),e.u&&e.v(e.u,e.s),t!==_n?t:void 0}function xn(t,e,o){if(pn(e))return e;var r=e[zn];if(!r)return Qi(e,(function(i,n){return On(t,r,e,i,n,o)}),!0),e;if(r.A!==t)return e;if(!r.P)return wn(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=cn(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),Qi(n,(function(e,n){return On(t,r,i,e,n,o,a)})),wn(t,i,!1),o&&t.u&&hn("Patches").N(r,o,t.u,t.s)}return r.o}function On(t,e,o,r,i,n,a){if(Ji(i)){var s=xn(t,i,n&&e&&3!==e.i&&!en(e.R,r)?n.concat(r):void 0);if(on(o,r,s),!Ji(s))return;t.m=!1}else a&&o.add(i);if(Xi(i)&&!pn(i)){if(!t.h.D&&t._<1)return;xn(t,i),e&&e.A.l||wn(t,i)}}function wn(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&ln(e,o)}function Sn(t,e){var o=t[zn];return(o?sn(o):t)[e]}function Nn(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var r=Object.getOwnPropertyDescriptor(o,e);if(r)return r;o=Object.getPrototypeOf(o)}}function Cn(t){t.P||(t.P=!0,t.l&&Cn(t.l))}function En(t){t.o||(t.o=cn(t.t))}function Rn(t,e,o){var r=nn(e)?hn("MapSet").F(e,o):an(e)?hn("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),r={i:o?1:0,A:e?e.A:un(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},i=r,n=Dn;o&&(i=[r],n=Zn);var a=Proxy.revocable(i,n),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(e,o):hn("ES5").J(e,o);return(o?o.A:un()).p.push(r),r}function $n(t){return Ji(t)||Yi(22,t),function t(e){if(!Xi(e))return e;var o,r=e[zn],i=tn(e);if(r){if(!r.P&&(r.i<4||!hn("ES5").K(r)))return r.t;r.I=!0,o=Ln(e,i),r.I=!1}else o=Ln(e,i);return Qi(o,(function(e,i){r&&function(t,e){return 2===tn(t)?t.get(e):t[e]}(r.t,e)===i||on(o,e,t(i))})),3===i?new Set(o):o}(t)}function Ln(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return cn(t)}Di=Gi,Zi=Vi,Hi=Ti,qi.reduxProperties=new Map,qi.reduxReactiveProperties=new Set,qi.reduxEventListeners=new Map;var In,kn,Un="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Wn="undefined"!=typeof Map,Fn="undefined"!=typeof Set,An="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,_n=Un?Symbol.for("immer-nothing"):((In={})["immer-nothing"]=!0,In),jn=Un?Symbol.for("immer-draftable"):"__$immer_draftable",zn=Un?Symbol.for("immer-state"):"__$immer_state",Kn=""+Object.prototype.constructor,Bn="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Pn=Object.getOwnPropertyDescriptors||function(t){var e={};return Bn(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Mn={},Dn={get:function(t,e){if(e===zn)return t;var o=sn(t);if(!en(o,e))return function(t,e,o){var r,i=Nn(e,o);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,o,e);var r=o[e];return t.I||!Xi(r)?r:r===Sn(t.t,e)?(En(t),t.o[e]=Rn(t.A.h,r,t)):r},has:function(t,e){return e in sn(t)},ownKeys:function(t){return Reflect.ownKeys(sn(t))},set:function(t,e,o){var r=Nn(sn(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,o),!0;if(!t.P){var i=Sn(sn(t),e),n=null==i?void 0:i[zn];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(rn(o,i)&&(void 0!==o||en(t.t,e)))return!0;En(t),Cn(t)}return t.o[e]===o&&(void 0!==o||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==Sn(t.t,e)||e in t.t?(t.R[e]=!1,En(t),Cn(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=sn(t),r=Reflect.getOwnPropertyDescriptor(o,e);return r?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:r.enumerable,value:o[e]}:r},defineProperty:function(){Yi(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Yi(12)}},Zn={};Qi(Dn,(function(t,e){Zn[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Zn.deleteProperty=function(t,e){return Zn.set.call(this,t,e,void 0)},Zn.set=function(t,e,o){return Dn.set.call(this,t[0],e,o,t[0])};var Hn=function(){function t(t){var e=this;this.O=An,this.D=!0,this.produce=function(t,o,r){if("function"==typeof t&&"function"!=typeof o){var i=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var r;return(r=o).call.apply(r,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&Yi(6),void 0!==r&&"function"!=typeof r&&Yi(7),Xi(t)){var s=bn(e),c=Rn(e,t,void 0),l=!0;try{a=o(c),l=!1}finally{l?yn(s):gn(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return dn(s,r),vn(t,s)}),(function(t){throw yn(s),t})):(dn(s,r),vn(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===_n&&(a=void 0),e.D&&ln(a,!0),r){var f=[],p=[];hn("Patches").M(t,a,f,p),r(f,p)}return a}Yi(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(i))}))};var r,i,n=e.produce(t,o,(function(t,e){r=t,i=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,r,i]})):[n,r,i]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){Xi(t)||Yi(8),Ji(t)&&(t=$n(t));var e=bn(this),o=Rn(this,t,void 0);return o[zn].C=!0,gn(e),o},e.finishDraft=function(t,e){var o=(t&&t[zn]).A;return dn(o,e),vn(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!An&&Yi(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var r=e[o];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}o>-1&&(e=e.slice(o+1));var i=hn("Patches").$;return Ji(t)?i(t,e):this.produce(t,(function(t){return i(t,e)}))},t}(),Tn=new Hn,Gn=Tn.produce;function Vn(t){return Vn="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},Vn(t)}function qn(t){var e=function(t,e){if("object"!==Vn(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!==Vn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Vn(e)?e:String(e)}function Yn(t,e,o){return(e=qn(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Jn(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,r)}return o}function Xn(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?Jn(Object(o),!0).forEach((function(e){Yn(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Jn(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function Qn(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. "}Tn.produceWithPatches.bind(Tn),Tn.setAutoFreeze.bind(Tn),Tn.setUseProxies.bind(Tn),Tn.applyPatches.bind(Tn),Tn.createDraft.bind(Tn),Tn.finishDraft.bind(Tn);var ta="function"==typeof Symbol&&Symbol.observable||"@@observable",ea=function(){return Math.random().toString(36).substring(7).split("").join(".")},oa={INIT:"@@redux/INIT"+ea(),REPLACE:"@@redux/REPLACE"+ea(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ea()}};function ra(t,e,o){var r;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(Qn(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(Qn(1));return o(ra)(t,e)}if("function"!=typeof t)throw new Error(Qn(2));var i=t,n=e,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function f(){if(c)throw new Error(Qn(3));return n}function p(t){if("function"!=typeof t)throw new Error(Qn(4));if(c)throw new Error(Qn(5));var e=!0;return l(),s.push(t),function(){if(e){if(c)throw new Error(Qn(6));e=!1,l();var o=s.indexOf(t);s.splice(o,1),a=null}}}function h(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(Qn(7));if(void 0===t.type)throw new Error(Qn(8));if(c)throw new Error(Qn(9));try{c=!0,n=i(n,t)}finally{c=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return h({type:oa.INIT}),(r={dispatch:h,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Qn(10));i=t,h({type:oa.REPLACE})}})[ta]=function(){var t,e=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Qn(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[ta]=function(){return this},t},r}function ia(t){for(var e=Object.keys(t),o={},r=0;r<e.length;r++){var i=e[r];"function"==typeof t[i]&&(o[i]=t[i])}var n,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:oa.INIT}))throw new Error(Qn(12));if(void 0===o(void 0,{type:oa.PROBE_UNKNOWN_ACTION()}))throw new Error(Qn(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},s=0;s<a.length;s++){var c=a[s],l=o[c],f=t[c],p=l(f,e);if(void 0===p)throw e&&e.type,new Error(Qn(14));i[c]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function na(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function aa(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),r=function(){throw new Error(Qn(15))},i={getState:o.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=e.map((function(t){return t(i)}));return r=na.apply(void 0,n)(o.dispatch),Xn(Xn({},o),{},{dispatch:r})}}}function sa(t){return function(e){var o=e.dispatch,r=e.getState;return function(e){return function(i){return"function"==typeof i?i(o,r,t):e(i)}}}}var ca=sa();ca.withExtraArgument=sa;var la,fa=ca,pa=(la=function(t,e){return la=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},la(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}la(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),ha=function(t,e){var o,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],r=0}finally{o=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},ua=function(t,e){for(var o=0,r=e.length,i=t.length;o<r;o++,i++)t[i]=e[o];return t},da=Object.defineProperty,ya=Object.defineProperties,ga=Object.getOwnPropertyDescriptors,ba=Object.getOwnPropertySymbols,ma=Object.prototype.hasOwnProperty,va=Object.prototype.propertyIsEnumerable,xa=function(t,e,o){return e in t?da(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Oa=function(t,e){for(var o in e||(e={}))ma.call(e,o)&&xa(t,o,e[o]);if(ba)for(var r=0,i=ba(e);r<i.length;r++){o=i[r];va.call(e,o)&&xa(t,o,e[o])}return t},wa=function(t,e){return ya(t,ga(e))},Sa="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?na:na.apply(null,arguments)};var Na=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return pa(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,ua([void 0],t[0].concat(this)))):new(e.bind.apply(e,ua([void 0],t.concat(this))))},e}(Array),Ca=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return pa(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,ua([void 0],t[0].concat(this)))):new(e.bind.apply(e,ua([void 0],t.concat(this))))},e}(Array);function Ea(t){return Xi(t)?Gn(t,(function(){})):t}function Ra(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var r=new Na;o&&(!function(t){return"boolean"==typeof t}(o)?r.push(fa.withExtraArgument(o.extraArgument)):r.push(fa));return r}(t)}}function $a(t){var e,o=Ra(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?o():a,c=r.devTools,l=void 0===c||c,f=r.preloadedState,p=void 0===f?void 0:f,h=r.enhancers,u=void 0===h?void 0:h;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=ia(n)}var d=s;"function"==typeof d&&(d=d(o));var y=aa.apply(void 0,d),g=na;l&&(g=Sa(Oa({trace:!1},"object"==typeof l&&l)));var b=new Ca(y),m=b;return Array.isArray(u)?m=ua([y],u):"function"==typeof u&&(m=u(b)),ra(e,p,g.apply(void 0,m))}function La(t,e){function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(e){var i=e.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return Oa(Oa({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function Ia(t){var e,o={},r=[],i={addCase:function(t,e){var r="string"==typeof t?t:t.type;if(r in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[r]=e,i},addMatcher:function(t,e){return r.push({matcher:t,reducer:e}),i},addDefaultCase:function(t){return e=t,i}};return t(i),[o,r,e]}function ka(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,r="function"==typeof t.initialState?t.initialState:Ea(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},c={};function l(){var e="function"==typeof t.extraReducers?Ia(t.extraReducers):[t.extraReducers],o=e[0],i=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,c=e[2],l=void 0===c?void 0:c,f=Oa(Oa({},i),s);return function(t,e,o,r){void 0===o&&(o=[]);var i,n="function"==typeof e?Ia(e):[e,o,r],a=n[0],s=n[1],c=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Ea(t())};else{var l=Ea(t);i=function(){return l}}function f(t,e){void 0===t&&(t=i());var o=ua([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[c]),o.reduce((function(t,o){if(o){var r;if(Ji(t))return void 0===(r=o(t,e))?t:r;if(Xi(t))return Gn(t,(function(t){return o(t,e)}));if(void 0===(r=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=i,f}(r,(function(t){for(var e in f)t.addCase(e,f[e]);for(var o=0,r=a;o<r.length;o++){var i=r[o];t.addMatcher(i.matcher,i.reducer)}l&&t.addDefaultCase(l)}))}return n.forEach((function(t){var o,r,n=i[t],l=e+"/"+t;"reducer"in n?(o=n.reducer,r=n.prepare):o=n,a[t]=o,s[l]=o,c[t]=r?La(l,r):La(l)})),{name:e,reducer:function(t,e){return o||(o=l()),o(t,e)},actions:c,caseReducers:a,getInitialState:function(){return o||(o=l()),o.getInitialState()}}}var Ua=["name","message","stack","code"],Wa=function(t,e){this.payload=t,this.meta=e},Fa=function(t,e){this.payload=t,this.meta=e},Aa=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,r=Ua;o<r.length;o++){var i=r[o];"string"==typeof t[i]&&(e[i]=t[i])}return e}return{message:String(t)}};function _a(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var r=La(t+"/fulfilled",(function(t,e,o,r){return{payload:t,meta:wa(Oa({},r||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),i=La(t+"/pending",(function(t,e,o){return{payload:void 0,meta:wa(Oa({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=La(t+"/rejected",(function(t,e,r,i,n){return{payload:i,error:(o&&o.serializeError||Aa)(t||"Rejected"),meta:wa(Oa({},n||{}),{arg:r,requestId:e,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,c,l){var f,p=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),h=new a;function u(t){f=t,h.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,g,b,m;return ha(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:c,extra:l}),null===(x=g)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||h.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return h.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(i(p,t,null==(d=null==o?void 0:o.getPendingMeta)?void 0:d.call(o,{requestId:p,arg:t},{getState:c,extra:l}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:s,getState:c,extra:l,requestId:p,signal:h.signal,abort:u,rejectWithValue:function(t,e){return new Wa(t,e)},fulfillWithValue:function(t,e){return new Fa(t,e)}})).then((function(e){if(e instanceof Wa)throw e;return e instanceof Fa?r(e.payload,p,t,e.meta):r(e,p,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Wa?n(null,p,t,m.payload,m.meta):n(m,p,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var x}))},new Promise((function(t,e){var o=function(t){try{i(y.next(t))}catch(t){e(t)}},r=function(t){try{i(y.throw(t))}catch(t){e(t)}},i=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,r)};i((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:u,requestId:p,arg:t,unwrap:function(){return d.then(_a)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var ja="listenerMiddleware";La(ja+"/add"),La(ja+"/removeAll"),La(ja+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=i[t];return o?o.enumerable=e:i[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[zn];return Dn.get(e,t)},set:function(e){var o=this[zn];Dn.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var i=t[e][zn];if(!i.P)switch(i.i){case 5:r(i)&&Cn(i);break;case 4:o(i)&&Cn(i)}}}function o(t){for(var e=t.t,o=t.k,r=Bn(o),i=r.length-1;i>=0;i--){var n=r[i];if(n!==zn){var a=e[n];if(void 0===a&&!en(e,n))return!0;var s=o[n],c=s&&s[zn];if(c?c.t!==a:!rn(s,a))return!0}}var l=!!e[zn];return r.length!==Bn(e).length+(l?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var r=0;r<e.length;r++)if(!e.hasOwnProperty(r))return!0;return!1}var i={};!function(t,e){Mn[t]||(Mn[t]=e)}("ES5",{J:function(e,o){var r=Array.isArray(e),i=function(e,o){if(e){for(var r=Array(o.length),i=0;i<o.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=Pn(o);delete n[zn];for(var a=Bn(n),s=0;s<a.length;s++){var c=a[s];n[c]=t(c,e||!!n[c].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(r,e),n={i:r?5:4,A:o?o.A:un(),P:!1,I:!1,R:{},l:o,t:e,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,zn,{value:n,writable:!0}),i},S:function(t,o,i){i?Ji(o)&&o[zn].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[zn];if(o){var i=o.t,n=o.k,a=o.R,s=o.i;if(4===s)Qi(n,(function(e){e!==zn&&(void 0!==i[e]||en(i,e)?a[e]||t(n[e]):(a[e]=!0,Cn(o)))})),Qi(i,(function(t){void 0!==n[t]||en(n,t)||(a[t]=!1,Cn(o))}));else if(5===s){if(r(o)&&(Cn(o),a.length=!0),n.length<i.length)for(var c=n.length;c<i.length;c++)a[c]=!1;else for(var l=i.length;l<n.length;l++)a[l]=!0;for(var f=Math.min(n.length,i.length),p=0;p<f;p++)n.hasOwnProperty(p)||(a[p]=!0),void 0===a[p]&&t(n[p])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class za{static get(t){var e;const o="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[o];if(Mi(i))return i;if(null==r)return;const n=ka({...r,reducers:null!==(e=r.reducers)&&void 0!==e?e:{}}),a=$a({reducer:(t,e)=>{var o;switch(e.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(o=e.overwrites)&&void 0!==o?o:{}};default:return n.reducer(t,e)}}});return window.ftReduxStores[r.name]=new za(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Pi,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const r=e,i=t[r];return i?(...t)=>{const e=i(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var Ka=Object.freeze({__proto__:null,FtCommandQueue:Pi,FtLitElementRedux:qi,FtReduxStore:za,clearAllStores:function(){var t;for(let e of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))Mi(e)&&e.clear()},isFtReduxStore:Mi,redux:t=>{const e=null!=t?t:{};return(t,o)=>{var r;const i={hasChanged:(t,e)=>!fo(t,e),attribute:!1,...e};we(i)(t,o);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(o,{selector:null!==(r=e.selector)&&void 0!==r?r:t=>t[o],store:e.store})}},reduxEventListener:t=>(e,o)=>{const r=e.constructor;r.reduxEventListeners=new Map(r.reduxEventListeners),r.reduxEventListeners.set(o,t)},reduxReactive:()=>(t,e)=>{var o;const r=t.constructor;r.reduxReactiveProperties=new Set(r.reduxReactiveProperties),null===(o=r.reduxReactiveProperties)||void 0===o||o.add(e)}});var Ba=Object.freeze({__proto__:null,serializeRequest:function(t,e){var o;const r=new URLSearchParams({"content-lang":null!==(o=e.contentLocale)&&void 0!==o?o:"all",query:e.query});if(e.filters.length>0){const t=e.filters.map((t=>{const e=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${e}`})).join("*");r.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${r.toString()}`).href}});const Pa=Symbol("elementInternals");var Ma,Da,Za,Ha,Ta=Object.freeze({__proto__:null,toFtFormComponent:function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Pa].form}constructor(...t){super(t),this[Pa]=this.attachInternals(),this[Pa].role=e}setFormValue(t){this[Pa].setFormValue(t)}}}});const Ga=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Za=null===(Da=null===(Ma=window.safari)||void 0===Ma?void 0:Ma.pushNotification)||void 0===Da?void 0:Da.toString())&&void 0!==Za?Za:""),Va="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(Ha=window.ftGlobals)&&void 0!==Ha?Ha:{lit:ve,litDecorators:Le,litRepeat:Me,litClassMap:Ze,litStyleMap:Ve,litUnsafeHTML:Je,wcUtils:{...oo,...eo,...io,...ao,...go,...lr,...ur,...gi,...sr,...Ri,...$i,...po,...Fi,...zi,...Ki,...Bi,...Ka,...Oi,...Ba,...Ta,isSafari:Ga,isTouchScreen:Va}};const qa=mo.extend("--ft-ripple-color","",cr.colorContent),Ya={color:qa,backgroundColor:mo.extend("--ft-ripple-background-color","",qa),opacityContentOnSurfacePressed:mo.external(cr.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:mo.external(cr.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:mo.external(cr.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:mo.external(cr.opacityContentOnSurfaceSelected,"Design system"),borderRadius:mo.create("--ft-ripple-border-radius","","SIZE","0px")},Ja=mo.extend("--ft-ripple-color","",cr.colorPrimary),Xa=Ja,Qa=mo.extend("--ft-ripple-background-color","",Ja),ts=mo.extend("--ft-ripple-color","",cr.colorSecondary),es=ts,os=mo.extend("--ft-ripple-background-color","",ts),rs=ht`
138
177
  :host {
139
178
  display: contents;
140
179
  }
@@ -147,7 +186,7 @@ const Re=window,Ue=Re.ShadowRoot&&(void 0===Re.ShadyCSS||Re.ShadyCSS.nativeShado
147
186
 
148
187
  .ft-ripple:not(.ft-ripple--unbounded) {
149
188
  overflow: hidden;
150
- border-radius: ${ei.borderRadius};
189
+ border-radius: ${Ya.borderRadius};
151
190
  }
152
191
 
153
192
  .ft-ripple .ft-ripple--background,
@@ -181,27 +220,27 @@ const Re=window,Ue=Re.ShadowRoot&&(void 0===Re.ShadyCSS||Re.ShadyCSS.nativeShado
181
220
  }
182
221
 
183
222
  .ft-ripple .ft-ripple--background {
184
- background-color: ${ei.backgroundColor};
223
+ background-color: ${Ya.backgroundColor};
185
224
  }
186
225
 
187
226
  .ft-ripple .ft-ripple--effect {
188
- background-color: ${ei.color};
227
+ background-color: ${Ya.color};
189
228
  }
190
229
 
191
230
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
192
- background-color: ${li};
231
+ background-color: ${os};
193
232
  }
194
233
 
195
234
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
196
- background-color: ${si};
235
+ background-color: ${es};
197
236
  }
198
237
 
199
238
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
200
- background-color: ${ni};
239
+ background-color: ${Qa};
201
240
  }
202
241
 
203
242
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
204
- background-color: ${ri};
243
+ background-color: ${Xa};
205
244
  }
206
245
 
207
246
  .ft-ripple .ft-ripple--background {
@@ -231,150 +270,150 @@ const Re=window,Ue=Re.ShadowRoot&&(void 0===Re.ShadyCSS||Re.ShadyCSS.nativeShado
231
270
  }
232
271
 
233
272
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
234
- opacity: ${ei.opacityContentOnSurfaceHover};
273
+ opacity: ${Ya.opacityContentOnSurfaceHover};
235
274
  }
236
275
 
237
276
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
238
- opacity: ${ei.opacityContentOnSurfaceSelected};
277
+ opacity: ${Ya.opacityContentOnSurfaceSelected};
239
278
  }
240
279
 
241
280
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
242
- opacity: ${ei.opacityContentOnSurfaceFocused};
281
+ opacity: ${Ya.opacityContentOnSurfaceFocused};
243
282
  }
244
283
 
245
284
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
246
- opacity: ${ei.opacityContentOnSurfacePressed};
285
+ opacity: ${Ya.opacityContentOnSurfacePressed};
247
286
  transform: translate(-50%, -50%) scale(1);
248
287
  }
249
- `;var pi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class fi extends Ze{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o(10),this.moveRipple=t=>{var o,e;let{x:i,y:r}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return to`
288
+ `;var is=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ns extends Ei{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new no(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new no(10),this.moveRipple=t=>{var e,o;let{x:r,y:i}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-n.x:n.width/2),this.originY=Math.round(null!=i?i-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return Jt`
250
289
  <style>
251
290
  .ft-ripple .ft-ripple--effect {
252
291
  left: ${this.originX}px;
253
292
  top: ${this.originY}px;
254
293
  }
255
294
  </style>
256
- <div class="${ti(t)}">
295
+ <div class="${De(t)}">
257
296
  <div class="ft-ripple--background"></div>
258
297
  <div class="ft-ripple--effect"></div>
259
298
  </div>
260
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",e,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}fi.elementDefinitions={},fi.styles=ci,pi([C({type:Boolean})],fi.prototype,"primary",void 0),pi([C({type:Boolean})],fi.prototype,"secondary",void 0),pi([C({type:Boolean})],fi.prototype,"unbounded",void 0),pi([C({type:Boolean})],fi.prototype,"activated",void 0),pi([C({type:Boolean})],fi.prototype,"selected",void 0),pi([C({type:Boolean})],fi.prototype,"disabled",void 0),pi([E()],fi.prototype,"hovered",void 0),pi([E()],fi.prototype,"focused",void 0),pi([E()],fi.prototype,"pressed",void 0),pi([E()],fi.prototype,"rippling",void 0),pi([E()],fi.prototype,"originX",void 0),pi([E()],fi.prototype,"originY",void 0),pi([$(".ft-ripple")],fi.prototype,"ripple",void 0),pi([$(".ft-ripple--effect")],fi.prototype,"rippleEffect",void 0),I("ft-ripple")(fi);
299
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),r=e("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",r,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",i,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",r,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",i,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let r,i;return null!=e.x?({x:r,y:i}=e):null!=o.touches&&(r=o.touches[0].clientX,i=o.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}ns.elementDefinitions={},ns.styles=rs,is([we({type:Boolean})],ns.prototype,"primary",void 0),is([we({type:Boolean})],ns.prototype,"secondary",void 0),is([we({type:Boolean})],ns.prototype,"unbounded",void 0),is([we({type:Boolean})],ns.prototype,"activated",void 0),is([we({type:Boolean})],ns.prototype,"selected",void 0),is([we({type:Boolean})],ns.prototype,"disabled",void 0),is([Se()],ns.prototype,"hovered",void 0),is([Se()],ns.prototype,"focused",void 0),is([Se()],ns.prototype,"pressed",void 0),is([Se()],ns.prototype,"rippling",void 0),is([Se()],ns.prototype,"originX",void 0),is([Se()],ns.prototype,"originY",void 0),is([Ee(".ft-ripple")],ns.prototype,"ripple",void 0),is([Ee(".ft-ripple--effect")],ns.prototype,"rippleEffect",void 0),ho("ft-ripple")(ns);
261
300
  /**
262
301
  * @license
263
302
  * Copyright 2020 Google LLC
264
303
  * SPDX-License-Identifier: BSD-3-Clause
265
304
  */
266
- const hi=Symbol.for(""),di=t=>{if(t?.r===hi)return t?._$litStatic$},ui=t=>({_$litStatic$:t,r:hi}),yi=new Map,gi=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],s=[];let l,c=0,p=!1;for(;c<i;){for(l=o[c];c<i&&void 0!==(n=e[c],r=di(n));)l+=r+o[++c],p=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(o[i]),p){const t=a.join("$$lit$$");void 0===(o=yi.get(t))&&(a.raw=a,yi.set(t,o=a)),e=s}return t(o,...e)})(q);var bi;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(bi||(bi={}));const mi=Oo.extend("--ft-typography-font-family","",Co.titleFont),xi=Oo.extend("--ft-typography-font-family","",Co.contentFont),Oi={fontFamily:xi,fontSize:Oo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Oo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Oo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Oo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Oo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},vi=Oo.extend("--ft-typography-title-font-family","",mi),Ni=Oo.extend("--ft-typography-title-font-size","",Oi.fontSize,"20px"),wi=Oo.extend("--ft-typography-title-font-weight","",Oi.fontWeight,"normal"),Si=Oo.extend("--ft-typography-title-letter-spacing","",Oi.letterSpacing,"0.15px"),Ci=Oo.extend("--ft-typography-title-line-height","",Oi.lineHeight,"1.2"),Ei=Oo.extend("--ft-typography-title-text-transform","",Oi.textTransform,"inherit"),Ri=Oo.extend("--ft-typography-title-dense-font-family","",mi),Ui=Oo.extend("--ft-typography-title-dense-font-size","",Oi.fontSize,"14px"),$i=Oo.extend("--ft-typography-title-dense-font-weight","",Oi.fontWeight,"normal"),Wi=Oo.extend("--ft-typography-title-dense-letter-spacing","",Oi.letterSpacing,"0.105px"),Ii=Oo.extend("--ft-typography-title-dense-line-height","",Oi.lineHeight,"1.7"),ki=Oo.extend("--ft-typography-title-dense-text-transform","",Oi.textTransform,"inherit"),Li=Oo.extend("--ft-typography-subtitle1-font-family","",xi),Ki=Oo.extend("--ft-typography-subtitle1-font-size","",Oi.fontSize,"16px"),Zi=Oo.extend("--ft-typography-subtitle1-font-weight","",Oi.fontWeight,"600"),zi=Oo.extend("--ft-typography-subtitle1-letter-spacing","",Oi.letterSpacing,"0.144px"),Fi=Oo.extend("--ft-typography-subtitle1-line-height","",Oi.lineHeight,"1.5"),Ai=Oo.extend("--ft-typography-subtitle1-text-transform","",Oi.textTransform,"inherit"),Di=Oo.extend("--ft-typography-subtitle2-font-family","",xi),Mi=Oo.extend("--ft-typography-subtitle2-font-size","",Oi.fontSize,"14px"),Bi=Oo.extend("--ft-typography-subtitle2-font-weight","",Oi.fontWeight,"normal"),Pi=Oo.extend("--ft-typography-subtitle2-letter-spacing","",Oi.letterSpacing,"0.098px"),Hi=Oo.extend("--ft-typography-subtitle2-line-height","",Oi.lineHeight,"1.7"),ji=Oo.extend("--ft-typography-subtitle2-text-transform","",Oi.textTransform,"inherit"),Ti=Oo.extend("--ft-typography-body1-font-family","",xi),_i=Oo.extend("--ft-typography-body1-font-size","",Oi.fontSize,"16px"),Gi=Oo.extend("--ft-typography-body1-font-weight","",Oi.fontWeight,"normal"),Yi=Oo.extend("--ft-typography-body1-letter-spacing","",Oi.letterSpacing,"0.496px"),Vi=Oo.extend("--ft-typography-body1-line-height","",Oi.lineHeight,"1.5"),Ji=Oo.extend("--ft-typography-body1-text-transform","",Oi.textTransform,"inherit"),qi=Oo.extend("--ft-typography-body2-font-family","",xi),Xi=Oo.extend("--ft-typography-body2-font-size","",Oi.fontSize,"14px"),Qi=Oo.extend("--ft-typography-body2-font-weight","",Oi.fontWeight,"normal"),tr=Oo.extend("--ft-typography-body2-letter-spacing","",Oi.letterSpacing,"0.252px"),or=Oo.extend("--ft-typography-body2-line-height","",Oi.lineHeight,"1.4"),er=Oo.extend("--ft-typography-body2-text-transform","",Oi.textTransform,"inherit"),ir=Oo.extend("--ft-typography-caption-font-family","",xi),rr=Oo.extend("--ft-typography-caption-font-size","",Oi.fontSize,"12px"),nr=Oo.extend("--ft-typography-caption-font-weight","",Oi.fontWeight,"normal"),ar=Oo.extend("--ft-typography-caption-letter-spacing","",Oi.letterSpacing,"0.396px"),sr=Oo.extend("--ft-typography-caption-line-height","",Oi.lineHeight,"1.33"),lr=Oo.extend("--ft-typography-caption-text-transform","",Oi.textTransform,"inherit"),cr=Oo.extend("--ft-typography-breadcrumb-font-family","",xi),pr=Oo.extend("--ft-typography-breadcrumb-font-size","",Oi.fontSize,"10px"),fr=Oo.extend("--ft-typography-breadcrumb-font-weight","",Oi.fontWeight,"normal"),hr=Oo.extend("--ft-typography-breadcrumb-letter-spacing","",Oi.letterSpacing,"0.33px"),dr=Oo.extend("--ft-typography-breadcrumb-line-height","",Oi.lineHeight,"1.6"),ur=Oo.extend("--ft-typography-breadcrumb-text-transform","",Oi.textTransform,"inherit"),yr=Oo.extend("--ft-typography-overline-font-family","",xi),gr=Oo.extend("--ft-typography-overline-font-size","",Oi.fontSize,"10px"),br=Oo.extend("--ft-typography-overline-font-weight","",Oi.fontWeight,"normal"),mr=Oo.extend("--ft-typography-overline-letter-spacing","",Oi.letterSpacing,"1.5px"),xr=Oo.extend("--ft-typography-overline-line-height","",Oi.lineHeight,"1.6"),Or=Oo.extend("--ft-typography-overline-text-transform","",Oi.textTransform,"uppercase"),vr={fontFamily:Oo.extend("--ft-typography-button-font-family","",xi),fontSize:Oo.extend("--ft-typography-button-font-size","",Oi.fontSize,"14px"),fontWeight:Oo.extend("--ft-typography-button-font-weight","",Oi.fontWeight,"600"),letterSpacing:Oo.extend("--ft-typography-button-letter-spacing","",Oi.letterSpacing,"1.246px"),lineHeight:Oo.extend("--ft-typography-button-line-height","",Oi.lineHeight,"1.15"),textTransform:Oo.extend("--ft-typography-button-text-transform","",Oi.textTransform,"uppercase")},Nr=mt`
305
+ const as=Symbol.for(""),ss=t=>{if(t?.r===as)return t?._$litStatic$},cs=t=>({_$litStatic$:t,r:as}),ls=new Map,fs=(t=>(e,...o)=>{const r=o.length;let i,n;const a=[],s=[];let c,l=0,f=!1;for(;l<r;){for(c=e[l];l<r&&void 0!==(n=o[l],i=ss(n));)c+=i+e[++l],f=!0;l!==r&&s.push(n),a.push(c),l++}if(l===r&&a.push(e[r]),f){const t=a.join("$$lit$$");void 0===(e=ls.get(t))&&(a.raw=a,ls.set(t,e=a)),o=s}return t(e,...o)})(M);var ps;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(ps||(ps={}));const hs=mo.extend("--ft-typography-font-family","",cr.titleFont),us=mo.extend("--ft-typography-font-family","",cr.contentFont),ds={fontFamily:us,fontSize:mo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:mo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:mo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:mo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:mo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ys=mo.extend("--ft-typography-title-font-family","",hs),gs=mo.extend("--ft-typography-title-font-size","",ds.fontSize,"20px"),bs=mo.extend("--ft-typography-title-font-weight","",ds.fontWeight,"normal"),ms=mo.extend("--ft-typography-title-letter-spacing","",ds.letterSpacing,"0.15px"),vs=mo.extend("--ft-typography-title-line-height","",ds.lineHeight,"1.2"),xs=mo.extend("--ft-typography-title-text-transform","",ds.textTransform,"inherit"),Os=mo.extend("--ft-typography-title-dense-font-family","",hs),ws=mo.extend("--ft-typography-title-dense-font-size","",ds.fontSize,"14px"),Ss=mo.extend("--ft-typography-title-dense-font-weight","",ds.fontWeight,"normal"),Ns=mo.extend("--ft-typography-title-dense-letter-spacing","",ds.letterSpacing,"0.105px"),Cs=mo.extend("--ft-typography-title-dense-line-height","",ds.lineHeight,"1.7"),Es=mo.extend("--ft-typography-title-dense-text-transform","",ds.textTransform,"inherit"),Rs=mo.extend("--ft-typography-subtitle1-font-family","",us),$s=mo.extend("--ft-typography-subtitle1-font-size","",ds.fontSize,"16px"),Ls=mo.extend("--ft-typography-subtitle1-font-weight","",ds.fontWeight,"600"),Is=mo.extend("--ft-typography-subtitle1-letter-spacing","",ds.letterSpacing,"0.144px"),ks=mo.extend("--ft-typography-subtitle1-line-height","",ds.lineHeight,"1.5"),Us=mo.extend("--ft-typography-subtitle1-text-transform","",ds.textTransform,"inherit"),Ws=mo.extend("--ft-typography-subtitle2-font-family","",us),Fs=mo.extend("--ft-typography-subtitle2-font-size","",ds.fontSize,"14px"),As=mo.extend("--ft-typography-subtitle2-font-weight","",ds.fontWeight,"normal"),_s=mo.extend("--ft-typography-subtitle2-letter-spacing","",ds.letterSpacing,"0.098px"),js=mo.extend("--ft-typography-subtitle2-line-height","",ds.lineHeight,"1.7"),zs=mo.extend("--ft-typography-subtitle2-text-transform","",ds.textTransform,"inherit"),Ks=mo.extend("--ft-typography-body1-font-family","",us),Bs=mo.extend("--ft-typography-body1-font-size","",ds.fontSize,"16px"),Ps=mo.extend("--ft-typography-body1-font-weight","",ds.fontWeight,"normal"),Ms=mo.extend("--ft-typography-body1-letter-spacing","",ds.letterSpacing,"0.496px"),Ds=mo.extend("--ft-typography-body1-line-height","",ds.lineHeight,"1.5"),Zs=mo.extend("--ft-typography-body1-text-transform","",ds.textTransform,"inherit"),Hs=mo.extend("--ft-typography-body2-font-family","",us),Ts=mo.extend("--ft-typography-body2-font-size","",ds.fontSize,"14px"),Gs=mo.extend("--ft-typography-body2-font-weight","",ds.fontWeight,"normal"),Vs=mo.extend("--ft-typography-body2-letter-spacing","",ds.letterSpacing,"0.252px"),qs=mo.extend("--ft-typography-body2-line-height","",ds.lineHeight,"1.4"),Ys=mo.extend("--ft-typography-body2-text-transform","",ds.textTransform,"inherit"),Js=mo.extend("--ft-typography-caption-font-family","",us),Xs=mo.extend("--ft-typography-caption-font-size","",ds.fontSize,"12px"),Qs=mo.extend("--ft-typography-caption-font-weight","",ds.fontWeight,"normal"),tc=mo.extend("--ft-typography-caption-letter-spacing","",ds.letterSpacing,"0.396px"),ec=mo.extend("--ft-typography-caption-line-height","",ds.lineHeight,"1.33"),oc=mo.extend("--ft-typography-caption-text-transform","",ds.textTransform,"inherit"),rc=mo.extend("--ft-typography-breadcrumb-font-family","",us),ic=mo.extend("--ft-typography-breadcrumb-font-size","",ds.fontSize,"10px"),nc=mo.extend("--ft-typography-breadcrumb-font-weight","",ds.fontWeight,"normal"),ac=mo.extend("--ft-typography-breadcrumb-letter-spacing","",ds.letterSpacing,"0.33px"),sc=mo.extend("--ft-typography-breadcrumb-line-height","",ds.lineHeight,"1.6"),cc=mo.extend("--ft-typography-breadcrumb-text-transform","",ds.textTransform,"inherit"),lc=mo.extend("--ft-typography-overline-font-family","",us),fc=mo.extend("--ft-typography-overline-font-size","",ds.fontSize,"10px"),pc=mo.extend("--ft-typography-overline-font-weight","",ds.fontWeight,"normal"),hc=mo.extend("--ft-typography-overline-letter-spacing","",ds.letterSpacing,"1.5px"),uc=mo.extend("--ft-typography-overline-line-height","",ds.lineHeight,"1.6"),dc=mo.extend("--ft-typography-overline-text-transform","",ds.textTransform,"uppercase"),yc={fontFamily:mo.extend("--ft-typography-button-font-family","",us),fontSize:mo.extend("--ft-typography-button-font-size","",ds.fontSize,"14px"),fontWeight:mo.extend("--ft-typography-button-font-weight","",ds.fontWeight,"600"),letterSpacing:mo.extend("--ft-typography-button-letter-spacing","",ds.letterSpacing,"1.246px"),lineHeight:mo.extend("--ft-typography-button-line-height","",ds.lineHeight,"1.15"),textTransform:mo.extend("--ft-typography-button-text-transform","",ds.textTransform,"uppercase")},gc=ht`
267
306
  .ft-typography--title {
268
- font-family: ${vi};
269
- font-size: ${Ni};
270
- font-weight: ${wi};
271
- letter-spacing: ${Si};
272
- line-height: ${Ci};
273
- text-transform: ${Ei};
274
- }
275
- `,wr=mt`
307
+ font-family: ${ys};
308
+ font-size: ${gs};
309
+ font-weight: ${bs};
310
+ letter-spacing: ${ms};
311
+ line-height: ${vs};
312
+ text-transform: ${xs};
313
+ }
314
+ `,bc=ht`
276
315
  .ft-typography--title-dense {
277
- font-family: ${Ri};
278
- font-size: ${Ui};
279
- font-weight: ${$i};
280
- letter-spacing: ${Wi};
281
- line-height: ${Ii};
282
- text-transform: ${ki};
283
- }
284
- `,Sr=mt`
316
+ font-family: ${Os};
317
+ font-size: ${ws};
318
+ font-weight: ${Ss};
319
+ letter-spacing: ${Ns};
320
+ line-height: ${Cs};
321
+ text-transform: ${Es};
322
+ }
323
+ `,mc=ht`
285
324
  .ft-typography--subtitle1 {
286
- font-family: ${Li};
287
- font-size: ${Ki};
288
- font-weight: ${Zi};
289
- letter-spacing: ${zi};
290
- line-height: ${Fi};
291
- text-transform: ${Ai};
292
- }
293
- `,Cr=mt`
325
+ font-family: ${Rs};
326
+ font-size: ${$s};
327
+ font-weight: ${Ls};
328
+ letter-spacing: ${Is};
329
+ line-height: ${ks};
330
+ text-transform: ${Us};
331
+ }
332
+ `,vc=ht`
294
333
  .ft-typography--subtitle2 {
295
- font-family: ${Di};
296
- font-size: ${Mi};
297
- font-weight: ${Bi};
298
- letter-spacing: ${Pi};
299
- line-height: ${Hi};
300
- text-transform: ${ji};
334
+ font-family: ${Ws};
335
+ font-size: ${Fs};
336
+ font-weight: ${As};
337
+ letter-spacing: ${_s};
338
+ line-height: ${js};
339
+ text-transform: ${zs};
301
340
  }
302
341
 
303
- `,Er=mt`
342
+ `,xc=ht`
304
343
  .ft-typography--body1 {
305
- font-family: ${Ti};
306
- font-size: ${_i};
307
- font-weight: ${Gi};
308
- letter-spacing: ${Yi};
309
- line-height: ${Vi};
310
- text-transform: ${Ji};
311
- }
312
- `,Rr=mt`
344
+ font-family: ${Ks};
345
+ font-size: ${Bs};
346
+ font-weight: ${Ps};
347
+ letter-spacing: ${Ms};
348
+ line-height: ${Ds};
349
+ text-transform: ${Zs};
350
+ }
351
+ `,Oc=ht`
313
352
  .ft-typography--body2 {
314
- font-family: ${qi};
315
- font-size: ${Xi};
316
- font-weight: ${Qi};
317
- letter-spacing: ${tr};
318
- line-height: ${or};
319
- text-transform: ${er};
320
- }
321
- `,Ur=mt`
353
+ font-family: ${Hs};
354
+ font-size: ${Ts};
355
+ font-weight: ${Gs};
356
+ letter-spacing: ${Vs};
357
+ line-height: ${qs};
358
+ text-transform: ${Ys};
359
+ }
360
+ `,wc=ht`
322
361
  .ft-typography--caption {
323
- font-family: ${ir};
324
- font-size: ${rr};
325
- font-weight: ${nr};
326
- letter-spacing: ${ar};
327
- line-height: ${sr};
328
- text-transform: ${lr};
329
- }
330
- `,$r=mt`
362
+ font-family: ${Js};
363
+ font-size: ${Xs};
364
+ font-weight: ${Qs};
365
+ letter-spacing: ${tc};
366
+ line-height: ${ec};
367
+ text-transform: ${oc};
368
+ }
369
+ `,Sc=ht`
331
370
  .ft-typography--breadcrumb {
332
- font-family: ${cr};
333
- font-size: ${pr};
334
- font-weight: ${fr};
335
- letter-spacing: ${hr};
336
- line-height: ${dr};
337
- text-transform: ${ur};
338
- }
339
- `,Wr=mt`
371
+ font-family: ${rc};
372
+ font-size: ${ic};
373
+ font-weight: ${nc};
374
+ letter-spacing: ${ac};
375
+ line-height: ${sc};
376
+ text-transform: ${cc};
377
+ }
378
+ `,Nc=ht`
340
379
  .ft-typography--overline {
341
- font-family: ${yr};
342
- font-size: ${gr};
343
- font-weight: ${br};
344
- letter-spacing: ${mr};
345
- line-height: ${xr};
346
- text-transform: ${Or};
347
- }
348
- `,Ir=mt`
380
+ font-family: ${lc};
381
+ font-size: ${fc};
382
+ font-weight: ${pc};
383
+ letter-spacing: ${hc};
384
+ line-height: ${uc};
385
+ text-transform: ${dc};
386
+ }
387
+ `,Cc=ht`
349
388
  .ft-typography--button {
350
- font-family: ${vr.fontFamily};
351
- font-size: ${vr.fontSize};
352
- font-weight: ${vr.fontWeight};
353
- letter-spacing: ${vr.letterSpacing};
354
- line-height: ${vr.lineHeight};
355
- text-transform: ${vr.textTransform};
356
- }
357
- `,kr=mt`
389
+ font-family: ${yc.fontFamily};
390
+ font-size: ${yc.fontSize};
391
+ font-weight: ${yc.fontWeight};
392
+ letter-spacing: ${yc.letterSpacing};
393
+ line-height: ${yc.lineHeight};
394
+ text-transform: ${yc.textTransform};
395
+ }
396
+ `,Ec=ht`
358
397
  .ft-typography {
359
398
  vertical-align: inherit;
360
399
  }
361
- `,Lr=[Object.keys(wo).map((t=>function(t){const o=wo[t];return mt`
362
- .ft-typography--${bt(t)} {
363
- font-family: ${o.fontFamily};
364
- font-size: ${o.fontSize};
365
- font-weight: ${o.fontWeight};
366
- letter-spacing: ${o.letterSpacing};
367
- line-height: ${o.lineHeight};
368
- text-transform: ${o.textCase};
400
+ `,Rc=[Object.keys(To).map((t=>function(t){const e=To[t];return ht`
401
+ .ft-typography--${pt(t)} {
402
+ font-family: ${e.fontFamily};
403
+ font-size: ${e.fontSize};
404
+ font-weight: ${e.fontWeight};
405
+ letter-spacing: ${e.letterSpacing};
406
+ line-height: ${e.lineHeight};
407
+ text-transform: ${e.textCase};
369
408
  }
370
- `}(t)))];var Kr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Zr extends Ze{constructor(){super(...arguments),this.variant=bi.body1}render(){return this.element?gi`
371
- <${ui(this.element)}
409
+ `}(t)))];var $c=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Lc extends Ei{constructor(){super(...arguments),this.variant=ps.body1}render(){return this.element?fs`
410
+ <${cs(this.element)}
372
411
  class="ft-typography ft-typography--${this.variant}">
373
412
  <slot></slot>
374
- </${ui(this.element)}>
375
- `:gi`
413
+ </${cs(this.element)}>
414
+ `:fs`
376
415
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
377
- `}}Zr.styles=[Nr,wr,Sr,Cr,Er,Rr,Ur,$r,Wr,Ir,kr,...Lr],Kr([C()],Zr.prototype,"element",void 0),Kr([C()],Zr.prototype,"variant",void 0),I("ft-typography")(Zr);const zr=Oo.create("--ft-tooltip-distance","","SIZE","4px"),Fr=Oo.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Ar=Oo.create("--ft-tooltip-background-color","","COLOR","#666666"),Dr=Oo.create("--ft-tooltip-z-index","","NUMBER","100"),Mr=Oo.external(Co.borderRadiusS,"Design system"),Br=Oo.create("--ft-tooltip-max-width","","SIZE","150px"),Pr=mt`
416
+ `}}Lc.styles=[gc,bc,mc,vc,xc,Oc,wc,Sc,Nc,Cc,Ec,...Rc],$c([we()],Lc.prototype,"element",void 0),$c([we()],Lc.prototype,"variant",void 0),ho("ft-typography")(Lc);const Ic=mo.create("--ft-tooltip-distance","","SIZE","4px"),kc=mo.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Uc=mo.create("--ft-tooltip-background-color","","COLOR","#666666"),Wc=mo.create("--ft-tooltip-z-index","","NUMBER","100"),Fc=mo.external(cr.borderRadiusS,"Design system"),Ac=mo.create("--ft-tooltip-max-width","","SIZE","150px"),_c=ht`
378
417
  .ft-tooltip--container {
379
418
  display: block;
380
419
  }
@@ -389,21 +428,21 @@ const hi=Symbol.for(""),di=t=>{if(t?.r===hi)return t?._$litStatic$},ui=t=>({_$li
389
428
  box-sizing: border-box;
390
429
  overflow: hidden;
391
430
  width: max-content;
392
- max-width: ${Br};
431
+ max-width: ${Ac};
393
432
  text-align: center;
394
- padding: ${zr};
395
- z-index: ${Dr};
433
+ padding: ${Ic};
434
+ z-index: ${Wc};
396
435
  }
397
436
 
398
437
  .ft-tooltip--content {
399
438
  padding: 4px 8px;
400
- border-radius: ${Mr};
401
- background-color: ${Ar};
402
- color: ${Fr};
439
+ border-radius: ${Fc};
440
+ background-color: ${Uc};
441
+ color: ${kc};
403
442
  position: relative;
404
443
  word-break: break-word;
405
444
  }
406
- `;var Hr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class jr extends Ze{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o,this.revealDebouncer=new o}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return to`
445
+ `;var jc,zc,Kc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Bc extends Ei{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new no,this.revealDebouncer=new no}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Jt`
407
446
  <div part="container"
408
447
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
409
448
  @mouseenter=${this.onHover}
@@ -421,13 +460,7 @@ const hi=Symbol.for(""),di=t=>{if(t?.r===hi)return t?._$litStatic$},ui=t=>({_$li
421
460
  </div>
422
461
  </div>
423
462
  </div>
424
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",async function(t,o,e){return Se(t,o,{platform:{...we,getOffsetParent:t=>we.getOffsetParent(t,Ce)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:o,y:e,placement:r}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=Zo(i,t),c={x:o,y:e},p=await To(t,l),f=Mo(zo(r)),h=Ao(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=Ko(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=Ko(u+p["y"===f?"top":"left"],u,u-p[t])}const y=s.fn({...t,[h]:d,[f]:u});return{...y,data:{x:y.x-o,y:y.y-e}}}}),Go({allowedPlacements:[e]})]});var i}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}jr.elementDefinitions={"ft-typography":Zr},jr.styles=Pr,Hr([C()],jr.prototype,"text",void 0),Hr([C({type:Boolean})],jr.prototype,"manual",void 0),Hr([C({type:Boolean})],jr.prototype,"inline",void 0),Hr([C({type:Number})],jr.prototype,"delay",void 0),Hr([C()],jr.prototype,"position",void 0),Hr([function(t){return(o,e)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return U(0,0,{get(){const o=this.renderRoot?.querySelector(r);return o?.assignedNodes(t)??[]}})}}()],jr.prototype,"slotNodes",void 0),Hr([$(".ft-tooltip--container")],jr.prototype,"container",void 0),Hr([$(".ft-tooltip")],jr.prototype,"tooltip",void 0),Hr([$(".ft-tooltip--content")],jr.prototype,"tooltipContent",void 0),Hr([E()],jr.prototype,"visible",void 0),Hr([R({passive:!0})],jr.prototype,"onTouch",null),Hr([R({passive:!0})],jr.prototype,"onHover",null),Hr([R({passive:!0})],jr.prototype,"onOut",null),Hr([R({passive:!0})],jr.prototype,"onClick",null),I("ft-tooltip")(jr);
425
- /**
426
- * @license
427
- * Copyright 2017 Google LLC
428
- * SPDX-License-Identifier: BSD-3-Clause
429
- */
430
- class Tr extends Qe{constructor(t){if(super(t),this.et=Q,t.type!==qe)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Q||null==t)return this.vt=void 0,this.et=t;if(t===X)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:[]}}}Tr.directiveName="unsafeHTML",Tr.resultType=1;const _r=Xe(Tr);var Gr,Yr;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;"}(Gr||(Gr={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Yr||(Yr={})),new Map([...["abw"].map((t=>[t,Yr.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Yr.AUDIO])),...["avi"].map((t=>[t,Yr.AVI])),...["chm","xhs"].map((t=>[t,Yr.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Yr.CODE])),...["csv"].map((t=>[t,Yr.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Yr.DITA])),...["epub"].map((t=>[t,Yr.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Yr.EXCEL])),...["flac"].map((t=>[t,Yr.FLAC])),...["gif"].map((t=>[t,Yr.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Yr.GZIP])),...["html","htm","xhtml"].map((t=>[t,Yr.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,Yr.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Yr.JPEG])),...["json"].map((t=>[t,Yr.JSON])),...["m4a","m4p"].map((t=>[t,Yr.M4A])),...["mov","qt"].map((t=>[t,Yr.MOV])),...["mp3"].map((t=>[t,Yr.MP3])),...["mp4","m4v"].map((t=>[t,Yr.MP4])),...["ogg","oga"].map((t=>[t,Yr.OGG])),...["pdf","ps"].map((t=>[t,Yr.PDF])),...["png"].map((t=>[t,Yr.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Yr.POWERPOINT])),...["rar"].map((t=>[t,Yr.RAR])),...["stp"].map((t=>[t,Yr.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Yr.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Yr.VIDEO])),...["wav"].map((t=>[t,Yr.WAV])),...["wma"].map((t=>[t,Yr.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Yr.WORD])),...["xml","xsl","rdf"].map((t=>[t,Yr.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Yr.YAML])),...["zip"].map((t=>[t,Yr.ZIP]))]),Yr.ABW,Yr.AUDIO,Yr.AVI,Yr.CHM,Yr.CODE,Yr.CSV,Yr.DITA,Yr.EPUB,Yr.EXCEL,Yr.FLAC,Yr.GIF,Yr.GZIP,Yr.HTML,Yr.IMAGE,Yr.JPEG,Yr.JSON,Yr.M4A,Yr.MOV,Yr.MP3,Yr.MP4,Yr.OGG,Yr.PDF,Yr.PNG,Yr.POWERPOINT,Yr.RAR,Yr.STP,Yr.TEXT,Yr.UNKNOWN,Yr.VIDEO,Yr.WAV,Yr.WMA,Yr.WORD,Yr.XML,Yr.YAML,Yr.ZIP;const Vr={size:Oo.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Oo.extend("--ft-icon-fluid-topics-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Oo.extend("--ft-icon-file-format-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Oo.extend("--ft-icon-material-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Oo.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Jr=mt`
463
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",yi(this.slottedElement,this.tooltip,this.position).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}Bc.elementDefinitions={"ft-typography":Lc},Bc.styles=_c,Kc([we()],Bc.prototype,"text",void 0),Kc([we({type:Boolean})],Bc.prototype,"manual",void 0),Kc([we({type:Boolean})],Bc.prototype,"inline",void 0),Kc([we({type:Number})],Bc.prototype,"delay",void 0),Kc([we()],Bc.prototype,"position",void 0),Kc([$e()],Bc.prototype,"slotNodes",void 0),Kc([Ee(".ft-tooltip--container")],Bc.prototype,"container",void 0),Kc([Ee(".ft-tooltip")],Bc.prototype,"tooltip",void 0),Kc([Ee(".ft-tooltip--content")],Bc.prototype,"tooltipContent",void 0),Kc([Se()],Bc.prototype,"visible",void 0),Kc([Ne({passive:!0})],Bc.prototype,"onTouch",null),Kc([Ne({passive:!0})],Bc.prototype,"onHover",null),Kc([Ne({passive:!0})],Bc.prototype,"onOut",null),Kc([Ne({passive:!0})],Bc.prototype,"onClick",null),ho("ft-tooltip")(Bc),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;"}(jc||(jc={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(zc||(zc={})),new Map([...["abw"].map((t=>[t,zc.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,zc.AUDIO])),...["avi"].map((t=>[t,zc.AVI])),...["chm","xhs"].map((t=>[t,zc.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,zc.CODE])),...["csv"].map((t=>[t,zc.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,zc.DITA])),...["epub"].map((t=>[t,zc.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,zc.EXCEL])),...["flac"].map((t=>[t,zc.FLAC])),...["gif"].map((t=>[t,zc.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,zc.GZIP])),...["html","htm","xhtml"].map((t=>[t,zc.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,zc.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,zc.JPEG])),...["json"].map((t=>[t,zc.JSON])),...["m4a","m4p"].map((t=>[t,zc.M4A])),...["mov","qt"].map((t=>[t,zc.MOV])),...["mp3"].map((t=>[t,zc.MP3])),...["mp4","m4v"].map((t=>[t,zc.MP4])),...["ogg","oga"].map((t=>[t,zc.OGG])),...["pdf","ps"].map((t=>[t,zc.PDF])),...["png"].map((t=>[t,zc.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,zc.POWERPOINT])),...["rar"].map((t=>[t,zc.RAR])),...["stp"].map((t=>[t,zc.STP])),...["txt","rtf","md","mdown"].map((t=>[t,zc.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,zc.VIDEO])),...["wav"].map((t=>[t,zc.WAV])),...["wma"].map((t=>[t,zc.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,zc.WORD])),...["xml","xsl","rdf"].map((t=>[t,zc.XML])),...["yaml","yml","x-yaml"].map((t=>[t,zc.YAML])),...["zip"].map((t=>[t,zc.ZIP]))]),zc.ABW,zc.AUDIO,zc.AVI,zc.CHM,zc.CODE,zc.CSV,zc.DITA,zc.EPUB,zc.EXCEL,zc.FLAC,zc.GIF,zc.GZIP,zc.HTML,zc.IMAGE,zc.JPEG,zc.JSON,zc.M4A,zc.MOV,zc.MP3,zc.MP4,zc.OGG,zc.PDF,zc.PNG,zc.POWERPOINT,zc.RAR,zc.STP,zc.TEXT,zc.UNKNOWN,zc.VIDEO,zc.WAV,zc.WMA,zc.WORD,zc.XML,zc.YAML,zc.ZIP;const Pc={size:mo.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:mo.extend("--ft-icon-fluid-topics-font-family","",mo.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:mo.extend("--ft-icon-file-format-font-family","",mo.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:mo.extend("--ft-icon-material-font-family","",mo.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:mo.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Mc=ht`
431
464
  :host, i.ft-icon {
432
465
  display: inline-flex;
433
466
  align-items: center;
@@ -436,14 +469,14 @@ class Tr extends Qe{constructor(t){if(super(t),this.et=Q,t.type!==qe)throw Error
436
469
  }
437
470
 
438
471
  :host {
439
- width: ${Vr.size};
440
- height: ${Vr.size};
472
+ width: ${Pc.size};
473
+ height: ${Pc.size};
441
474
  }
442
475
 
443
476
  i.ft-icon {
444
477
  width: 100%;
445
478
  height: 100%;
446
- font-size: ${Vr.size};
479
+ font-size: ${Pc.size};
447
480
  line-height: 1;
448
481
  font-weight: normal;
449
482
  text-transform: none;
@@ -454,33 +487,33 @@ class Tr extends Qe{constructor(t){if(super(t),this.et=Q,t.type!==qe)throw Error
454
487
  text-rendering: auto;
455
488
  -webkit-font-smoothing: antialiased;
456
489
  -moz-osx-font-smoothing: grayscale;
457
- vertical-align: ${Vr.verticalAlign};
490
+ vertical-align: ${Pc.verticalAlign};
458
491
  }
459
492
 
460
493
  i.ft-icon.ft-icon--fluid-topics {
461
- font-family: ${Vr.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
494
+ font-family: ${Pc.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
462
495
 
463
496
  /* Ugly fix because font is broken */
464
- font-size: calc(0.75 * ${Vr.size});
465
- line-height: ${Vr.size};
497
+ font-size: calc(0.75 * ${Pc.size});
498
+ line-height: ${Pc.size};
466
499
  position: relative;
467
500
  top: -4%;
468
501
  justify-content: center;
469
502
  }
470
503
 
471
504
  .ft-icon--file-format {
472
- font-family: ${Vr.fileFormatFontFamily}, ft-mime, sans-serif;
505
+ font-family: ${Pc.fileFormatFontFamily}, ft-mime, sans-serif;
473
506
  }
474
507
 
475
508
  .ft-icon--material {
476
- font-family: ${Vr.materialFontFamily}, "Material Icons", sans-serif;
509
+ font-family: ${Pc.materialFontFamily}, "Material Icons", sans-serif;
477
510
  }
478
- `;var qr;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(qr||(qr={}));var Xr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Qr extends Ze{constructor(){super(...arguments),this.resolvedIcon=eo}render(){const t=this.variant&&Object.values(qr).includes(this.variant)?this.variant:qr.fluid_topics,o=t!==qr.material||!!this.value;return to`
511
+ `;var Dc;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Dc||(Dc={}));var Zc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Hc extends Ei{constructor(){super(...arguments),this.resolvedIcon=te}render(){const t=this.variant&&Object.values(Dc).includes(this.variant)?this.variant:Dc.fluid_topics,e=t!==Dc.material||!!this.value;return Jt`
479
512
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
480
- ${_r(this.resolvedIcon)}
481
- <slot ?hidden=${o}></slot>
513
+ ${Ye(this.resolvedIcon)}
514
+ <slot ?hidden=${e}></slot>
482
515
  </i>
483
- `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case qr.file_format:this.resolvedIcon=null!==(t=Yr[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case qr.material:this.resolvedIcon=this.value||eo;break;default:this.resolvedIcon=null!==(o=Gr[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Qr.elementDefinitions={},Qr.styles=Jr,Xr([C()],Qr.prototype,"variant",void 0),Xr([C()],Qr.prototype,"value",void 0),Xr([E()],Qr.prototype,"resolvedIcon",void 0),Xr([$("slot")],Qr.prototype,"slottedContent",void 0),I("ft-icon")(Qr);const tn={textColor:Oo.extend("--ft-switch-text-color","",Co.colorOnSurfaceHigh),backgroundColor:Oo.extend("--ft-switch-background-color","",Co.colorSurface),selectedTextColor:Oo.extend("--ft-switch-selected-text-color","",Co.colorPrimary),selectedBackgroundColor:Oo.extend("--ft-switch-selected-background-color","",Co.colorPrimary),borderColor:Oo.extend("--ft-switch-border-color","",Co.colorOutline),borderRadius:Oo.extend("--ft-switch-border-radius","",Co.borderRadiusL),fontSize:Oo.extend("--ft-switch-font-size","",vr.fontSize),iconSize:Oo.create("--ft-switch-icon-size","","SIZE","24px"),iconColor:Oo.extend("--ft-switch-text-color","",Co.colorOnSurfaceMedium),rippleColor:Oo.extend("--ft-switch-ripple-color","",Co.colorPrimary),outlineColor:Oo.extend("--ft-switch-outline-color","",Co.colorPrimary)},on={borderRadiusLeft:Oo.extend("--ft-switch-option-border-radius-left","",Co.borderRadiusL),borderRadiusRight:Oo.extend("--ft-switch-option-border-radius-right","",Co.borderRadiusL),borderWidthLeft:Oo.create("--ft-switch-option-border-width-left","","SIZE","1px"),borderWidthRight:Oo.create("--ft-switch-option-border-width-right","","SIZE","1px"),borderWidthVertical:Oo.create("--ft-switch-option-border-width-vertical","","SIZE","1px")},en=mt`
516
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case Dc.file_format:this.resolvedIcon=null!==(t=zc[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Dc.material:this.resolvedIcon=this.value||te;break;default:this.resolvedIcon=null!==(e=jc[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Hc.elementDefinitions={},Hc.styles=Mc,Zc([we()],Hc.prototype,"variant",void 0),Zc([we()],Hc.prototype,"value",void 0),Zc([Se()],Hc.prototype,"resolvedIcon",void 0),Zc([Ee("slot")],Hc.prototype,"slottedContent",void 0),ho("ft-icon")(Hc);const Tc={textColor:mo.extend("--ft-switch-text-color","",cr.colorOnSurfaceHigh),backgroundColor:mo.extend("--ft-switch-background-color","",cr.colorSurface),selectedTextColor:mo.extend("--ft-switch-selected-text-color","",cr.colorPrimary),selectedBackgroundColor:mo.extend("--ft-switch-selected-background-color","",cr.colorPrimary),borderColor:mo.extend("--ft-switch-border-color","",cr.colorOutline),borderRadius:mo.extend("--ft-switch-border-radius","",cr.borderRadiusL),fontSize:mo.extend("--ft-switch-font-size","",yc.fontSize),iconSize:mo.create("--ft-switch-icon-size","","SIZE","24px"),iconColor:mo.extend("--ft-switch-text-color","",cr.colorOnSurfaceMedium),rippleColor:mo.extend("--ft-switch-ripple-color","",cr.colorPrimary),outlineColor:mo.extend("--ft-switch-outline-color","",cr.colorPrimary)},Gc={borderRadiusLeft:mo.extend("--ft-switch-option-border-radius-left","",cr.borderRadiusL),borderRadiusRight:mo.extend("--ft-switch-option-border-radius-right","",cr.borderRadiusL),borderWidthLeft:mo.create("--ft-switch-option-border-width-left","","SIZE","1px"),borderWidthRight:mo.create("--ft-switch-option-border-width-right","","SIZE","1px"),borderWidthVertical:mo.create("--ft-switch-option-border-width-vertical","","SIZE","1px")},Vc=ht`
484
517
  .ft-switch-option {
485
518
  position: relative;
486
519
  display: inline-block;
@@ -494,20 +527,20 @@ class Tr extends Qe{constructor(t){if(super(t),this.et=Q,t.type!==qe)throw Error
494
527
  }
495
528
 
496
529
  .ft-switch-option--content {
497
- --ft-switch-option-internal-line-height: calc(${tn.fontSize} + 2px);
498
- --ft-switch-option-internal-content-height: max(var(--ft-switch-option-internal-line-height), ${tn.iconSize});
530
+ --ft-switch-option-internal-line-height: calc(${Tc.fontSize} + 2px);
531
+ --ft-switch-option-internal-content-height: max(var(--ft-switch-option-internal-line-height), ${Tc.iconSize});
499
532
 
500
533
  border-style: solid;
501
- border-color: ${tn.borderColor};
502
- border-width: ${on.borderWidthVertical} ${on.borderWidthRight} ${on.borderWidthVertical} ${on.borderWidthLeft};
503
- border-radius: ${on.borderRadiusLeft} ${on.borderRadiusRight} ${on.borderRadiusRight} ${on.borderRadiusLeft};
534
+ border-color: ${Tc.borderColor};
535
+ border-width: ${Gc.borderWidthVertical} ${Gc.borderWidthRight} ${Gc.borderWidthVertical} ${Gc.borderWidthLeft};
536
+ border-radius: ${Gc.borderRadiusLeft} ${Gc.borderRadiusRight} ${Gc.borderRadiusRight} ${Gc.borderRadiusLeft};
504
537
  display: flex;
505
538
  align-items: center;
506
539
  justify-content: center;
507
540
  overflow: hidden;
508
- ${vo(Vr.size,tn.iconSize)};
541
+ ${vo(Pc.size,Tc.iconSize)};
509
542
  padding: var(--ft-switch-internal-vertical-padding, 6px) var(--ft-switch-internal-horizontal-padding, 8px);
510
- background-color: ${tn.backgroundColor};
543
+ background-color: ${Tc.backgroundColor};
511
544
  -webkit-mask-image: radial-gradient(white, black);
512
545
  }
513
546
 
@@ -516,28 +549,28 @@ class Tr extends Qe{constructor(t){if(super(t),this.et=Q,t.type!==qe)throw Error
516
549
  }
517
550
 
518
551
  .ft-switch-option--selected .ft-switch-option--content:before {
519
- background-color: ${tn.selectedBackgroundColor};
520
- border-radius: ${on.borderRadiusLeft} ${on.borderRadiusRight} ${on.borderRadiusRight} ${on.borderRadiusLeft};
552
+ background-color: ${Tc.selectedBackgroundColor};
553
+ border-radius: ${Gc.borderRadiusLeft} ${Gc.borderRadiusRight} ${Gc.borderRadiusRight} ${Gc.borderRadiusLeft};
521
554
  position: absolute;
522
555
  inset: 0;
523
556
  content: "";
524
557
  z-index: 1;
525
- opacity: ${Co.opacityPrimaryOnSurfaceSelected};
558
+ opacity: ${cr.opacityPrimaryOnSurfaceSelected};
526
559
  }
527
560
 
528
561
  .ft-switch-option--label {
529
- color: ${tn.textColor};
562
+ color: ${Tc.textColor};
530
563
  overflow: hidden;
531
564
  white-space: nowrap;
532
565
  text-overflow: ellipsis;
533
566
  display: block;
534
567
  margin: 0 8px;
535
- ${vo(vr.fontSize,tn.fontSize)};
536
- ${vo(vr.lineHeight,"var(--ft-switch-option-internal-content-height)")}
568
+ ${vo(yc.fontSize,Tc.fontSize)};
569
+ ${vo(yc.lineHeight,"var(--ft-switch-option-internal-content-height)")}
537
570
  }
538
571
 
539
572
  .ft-switch-option--selected .ft-switch-option--label {
540
- color: ${tn.selectedTextColor};
573
+ color: ${Tc.selectedTextColor};
541
574
  }
542
575
 
543
576
  .ft-switch-option--label[hidden] {
@@ -545,7 +578,7 @@ class Tr extends Qe{constructor(t){if(super(t),this.et=Q,t.type!==qe)throw Error
545
578
  }
546
579
 
547
580
  .ft-switch-option--ripple {
548
- ${vo(ei.color,tn.rippleColor)};
581
+ ${vo(Ya.color,Tc.rippleColor)};
549
582
  }
550
583
 
551
584
  ft-icon, ft-ripple, ft-typography {
@@ -558,20 +591,20 @@ class Tr extends Qe{constructor(t){if(super(t),this.et=Q,t.type!==qe)throw Error
558
591
 
559
592
  ft-icon {
560
593
  flex-shrink: 0;
561
- color: ${tn.iconColor};
594
+ color: ${Tc.iconColor};
562
595
  }
563
596
 
564
597
  .ft-switch-option--selected ft-icon {
565
- color: ${tn.selectedTextColor};
598
+ color: ${Tc.selectedTextColor};
566
599
  }
567
- `;var rn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class nn extends CustomEvent{constructor(t){super("option-change-by-user",{detail:t,bubbles:!0,composed:!0})}}class an extends CustomEvent{constructor(t){super("option-change",{detail:t,bubbles:!0,composed:!0})}}class sn extends Ze{constructor(){super(...arguments),this.value="",this.label="",this.tooltipPosition="bottom",this.selected=!1,this.trailingIcon=!1,this.unselectable=!1}focus(){this.input.focus()}update(t){super.update(t),t.has("selected")&&this.dispatchEvent(new an(this.selected))}render(){const t={"ft-switch-option":!0,"ft-switch-option--trailing-icon":this.trailingIcon,"ft-switch-option--selected":this.selected};return this.addTooltip(to`
568
- <label part="label" for="input" class=${ti(t)}
600
+ `;var qc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Yc extends CustomEvent{constructor(t){super("option-change-by-user",{detail:t,bubbles:!0,composed:!0})}}class Jc extends CustomEvent{constructor(t){super("option-change",{detail:t,bubbles:!0,composed:!0})}}class Xc extends Ei{constructor(){super(...arguments),this.value="",this.label="",this.tooltipPosition="bottom",this.selected=!1,this.trailingIcon=!1,this.unselectable=!1}focus(){this.input.focus()}update(t){super.update(t),t.has("selected")&&this.dispatchEvent(new Jc(this.selected))}render(){const t={"ft-switch-option":!0,"ft-switch-option--trailing-icon":this.trailingIcon,"ft-switch-option--selected":this.selected};return this.addTooltip(Jt`
601
+ <label part="label" for="input" class=${De(t)}
569
602
  @click=${this.onChange}>
570
603
  <div class="ft-switch-option--content">
571
604
  <ft-ripple part="ripple" class="ft-switch-option--ripple"></ft-ripple>
572
605
  <ft-typography part="text"
573
606
  variant="button"
574
- class="ft-switch-option--label ${Ve?"ft-safari-ellipsis-fix":""}"
607
+ class="ft-switch-option--label ${Ga?"ft-safari-ellipsis-fix":""}"
575
608
  ?hidden=${!this.hasTextContent()}>
576
609
  <slot @slotchange=${this.onSlotchange}></slot>
577
610
  </ft-typography>
@@ -580,29 +613,29 @@ class Tr extends Qe{constructor(t){if(super(t),this.et=Q,t.type!==qe)throw Error
580
613
  </label>
581
614
  <input id="input" type="radio" class="ft-switch-option--input"
582
615
  .checked=${this.selected}>
583
- `)}addTooltip(t){return this.hasTextContent()||0===this.getLabel().trim().length?t:to`
616
+ `)}addTooltip(t){return this.hasTextContent()||0===this.getLabel().trim().length?t:Jt`
584
617
  <ft-tooltip part="tooltip"
585
618
  text="${this.getLabel()}"
586
619
  position="${this.tooltipPosition}">
587
620
  ${t}
588
621
  </ft-tooltip>
589
- `}onChange(){this.selected=!this.unselectable||!this.selected,this.dispatchEvent(new nn(this.selected))}getLabel(){return this.label||this.textContent}resolveIcon(){return this.icon?to`
622
+ `}onChange(){this.selected=!this.unselectable||!this.selected,this.dispatchEvent(new Yc(this.selected))}getLabel(){return this.label||this.textContent}resolveIcon(){return this.icon?Jt`
590
623
  <ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
591
- `:eo}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}}sn.elementDefinitions={"ft-ripple":fi,"ft-typography":Zr,"ft-tooltip":jr,"ft-icon":Qr},sn.styles=[Fe,en],rn([C()],sn.prototype,"value",void 0),rn([C()],sn.prototype,"icon",void 0),rn([C()],sn.prototype,"iconVariant",void 0),rn([C()],sn.prototype,"label",void 0),rn([C()],sn.prototype,"tooltipPosition",void 0),rn([C({type:Boolean,reflect:!0})],sn.prototype,"selected",void 0),rn([C({type:Boolean})],sn.prototype,"trailingIcon",void 0),rn([C({type:Boolean})],sn.prototype,"unselectable",void 0),rn([$(".ft-switch-option--content slot")],sn.prototype,"slottedContent",void 0),rn([$(".ft-switch-option--input")],sn.prototype,"input",void 0);var ln=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class cn extends CustomEvent{constructor(t){super("change",{detail:t})}}class pn extends Ze{constructor(){super(...arguments),this.dense=!1,this.unselectable=!1,this.options=[]}get value(){var t;return null===(t=this.selectedOption)||void 0===t?void 0:t.value}update(t){super.update(t),t.has("selectedOption")&&this.updateOptions(),t.has("unselectable")&&this.options.forEach((t=>t.unselectable=this.unselectable))}render(){const t={"ft-switch":!0,"ft-switch--dense":this.dense};return to`
592
- <div @keydown=${this.onKeyDown} tabindex="0" class="${ti(t)}">
624
+ `:te}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}}Xc.elementDefinitions={"ft-ripple":ns,"ft-typography":Lc,"ft-tooltip":Bc,"ft-icon":Hc},Xc.styles=[ji,Vc],qc([we()],Xc.prototype,"value",void 0),qc([we()],Xc.prototype,"icon",void 0),qc([we()],Xc.prototype,"iconVariant",void 0),qc([we()],Xc.prototype,"label",void 0),qc([we()],Xc.prototype,"tooltipPosition",void 0),qc([we({type:Boolean,reflect:!0})],Xc.prototype,"selected",void 0),qc([we({type:Boolean})],Xc.prototype,"trailingIcon",void 0),qc([we({type:Boolean})],Xc.prototype,"unselectable",void 0),qc([Ee(".ft-switch-option--content slot")],Xc.prototype,"slottedContent",void 0),qc([Ee(".ft-switch-option--input")],Xc.prototype,"input",void 0);var Qc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class tl extends CustomEvent{constructor(t){super("change",{detail:t})}}class el extends Ei{constructor(){super(...arguments),this.dense=!1,this.unselectable=!1,this.options=[]}get value(){var t;return null===(t=this.selectedOption)||void 0===t?void 0:t.value}update(t){super.update(t),t.has("selectedOption")&&this.updateOptions(),t.has("unselectable")&&this.options.forEach((t=>t.unselectable=this.unselectable))}render(){const t={"ft-switch":!0,"ft-switch--dense":this.dense};return Jt`
625
+ <div @keydown=${this.onKeyDown} tabindex="0" class="${De(t)}">
593
626
  <slot @slotchange=${this.onSlotchange}
594
627
  @option-change=${this.onOptionChangeByScript}
595
628
  @option-change-by-user=${this.onOptionChangeByUser}
596
629
  ></slot>
597
630
  </div>
598
- `}onKeyDown(t){let o;"ArrowDown"!=t.key&&"ArrowRight"!=t.key||(o=this.selectedOption?this.options.indexOf(this.selectedOption)+1:0),"ArrowUp"!=t.key&&"ArrowLeft"!=t.key||(o=this.selectedOption?this.options.indexOf(this.selectedOption)-1:this.options.length-1),null!=o&&(t.preventDefault(),this.options[this.fixIndex(o)].selected=!0)}fixIndex(t){return t<0?this.options.length-1:t>this.options.length-1?0:t}onSlotchange(){var t;this.options=[],null===(t=this.slottedContent)||void 0===t||t.assignedElements().forEach((t=>{t instanceof sn&&this.registerOption(t)})),this.selectedOption=this.options.find((t=>t.selected))}registerOption(t){t.setAttribute("tabindex","-1"),t.unselectable=this.unselectable,this.options.push(t)}onOptionChangeByScript(t){t.stopPropagation();let o=t.target;this.onOptionChange(o)}onOptionChangeByUser(t){var o;t.stopPropagation(),this.onOptionChange(t.target),this.dispatchEvent(new cn(null===(o=this.selectedOption)||void 0===o?void 0:o.value))}onOptionChange(t){t.selected?this.selectedOption=t:this.selectedOption=this.options.find((t=>t.selected))}private(t){t.selected?this.selectedOption=t:this.selectedOption=this.options.find((t=>t.selected))}focus(){this.ftSwitchDiv.focus()}updateOptions(){this.options.forEach((t=>{t.selected=t===this.selectedOption}))}}pn.elementDefinitions={},pn.styles=mt`
631
+ `}onKeyDown(t){let e;"ArrowDown"!=t.key&&"ArrowRight"!=t.key||(e=this.selectedOption?this.options.indexOf(this.selectedOption)+1:0),"ArrowUp"!=t.key&&"ArrowLeft"!=t.key||(e=this.selectedOption?this.options.indexOf(this.selectedOption)-1:this.options.length-1),null!=e&&(t.preventDefault(),this.options[this.fixIndex(e)].selected=!0)}fixIndex(t){return t<0?this.options.length-1:t>this.options.length-1?0:t}onSlotchange(){var t;this.options=[],null===(t=this.slottedContent)||void 0===t||t.assignedElements().forEach((t=>{t instanceof Xc&&this.registerOption(t)})),this.selectedOption=this.options.find((t=>t.selected))}registerOption(t){t.setAttribute("tabindex","-1"),t.unselectable=this.unselectable,this.options.push(t)}onOptionChangeByScript(t){t.stopPropagation();let e=t.target;this.onOptionChange(e)}onOptionChangeByUser(t){var e;t.stopPropagation(),this.onOptionChange(t.target),this.dispatchEvent(new tl(null===(e=this.selectedOption)||void 0===e?void 0:e.value))}onOptionChange(t){t.selected?this.selectedOption=t:this.selectedOption=this.options.find((t=>t.selected))}private(t){t.selected?this.selectedOption=t:this.selectedOption=this.options.find((t=>t.selected))}focus(){this.ftSwitchDiv.focus()}updateOptions(){this.options.forEach((t=>{t.selected=t===this.selectedOption}))}}el.elementDefinitions={},el.styles=ht`
599
632
  :host {
600
633
  display: inline-block;
601
634
  }
602
635
 
603
636
  .ft-switch {
604
- border-radius: ${tn.borderRadius};
605
- outline-color: ${tn.outlineColor};
637
+ border-radius: ${Tc.borderRadius};
638
+ outline-color: ${Tc.outlineColor};
606
639
  }
607
640
 
608
641
  .ft-switch slot {
@@ -611,22 +644,22 @@ class Tr extends Qe{constructor(t){if(super(t),this.et=Q,t.type!==qe)throw Error
611
644
  }
612
645
 
613
646
  .ft-switch slot::slotted(ft-switch-option) {
614
- ${vo(on.borderRadiusLeft,"0")};
615
- ${vo(on.borderRadiusRight,"0")};
616
- ${vo(on.borderWidthLeft,"0")};
647
+ ${vo(Gc.borderRadiusLeft,"0")};
648
+ ${vo(Gc.borderRadiusRight,"0")};
649
+ ${vo(Gc.borderWidthLeft,"0")};
617
650
  }
618
651
 
619
652
  .ft-switch slot::slotted(ft-switch-option:first-child) {
620
- ${vo(on.borderRadiusLeft,tn.borderRadius)};
621
- ${vo(on.borderWidthLeft,"1px")};
653
+ ${vo(Gc.borderRadiusLeft,Tc.borderRadius)};
654
+ ${vo(Gc.borderWidthLeft,"1px")};
622
655
  }
623
656
 
624
657
  .ft-switch slot::slotted(ft-switch-option:last-child) {
625
- ${vo(on.borderRadiusRight,tn.borderRadius)};
658
+ ${vo(Gc.borderRadiusRight,Tc.borderRadius)};
626
659
  }
627
660
 
628
661
  .ft-switch--dense slot::slotted(ft-switch-option) {
629
662
  --ft-switch-internal-vertical-padding: 2px;
630
663
  --ft-switch-internal-horizontal-padding: 4px;
631
664
  }
632
- `,ln([C({type:Boolean})],pn.prototype,"dense",void 0),ln([C({type:Boolean})],pn.prototype,"unselectable",void 0),ln([$(".ft-switch slot")],pn.prototype,"slottedContent",void 0),ln([E()],pn.prototype,"selectedOption",void 0),ln([$(".ft-switch")],pn.prototype,"ftSwitchDiv",void 0),I("ft-switch")(pn),I("ft-switch-option")(sn),t.FtSwitch=pn,t.FtSwitchChange=cn,t.FtSwitchCssVariables=tn,t.FtSwitchOption=sn,t.FtSwitchOptionCssVariables=on,t.SwitchOptionChange=an,t.SwitchOptionChangeByUser=nn,t.optionStyles=en}({});
665
+ `,Qc([we({type:Boolean})],el.prototype,"dense",void 0),Qc([we({type:Boolean})],el.prototype,"unselectable",void 0),Qc([Ee(".ft-switch slot")],el.prototype,"slottedContent",void 0),Qc([Se()],el.prototype,"selectedOption",void 0),Qc([Ee(".ft-switch")],el.prototype,"ftSwitchDiv",void 0),ho("ft-switch")(el),ho("ft-switch-option")(Xc),t.FtSwitch=el,t.FtSwitchChange=tl,t.FtSwitchCssVariables=Tc,t.FtSwitchOption=Xc,t.FtSwitchOptionCssVariables=Gc,t.SwitchOptionChange=Jc,t.SwitchOptionChangeByUser=Yc,t.optionStyles=Vc}({});