@fluid-topics/ft-reader-topic-metadata 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(Qr){const t=window.customElements.define;window.customElements.define=(o,e,i)=>{if(null!==e)try{t.bind(window.customElements)(o,e,i)}catch(t){console.info(o,e,i,t)}}}class o{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
15
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,r=window.customElements,i=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,l=new Set(i.observedAttributes||[]);h(i,l,s);const c={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(i,c);let f=o.call(r,t);f||(f=p(t),e.call(r,t,f)),this===window.customElements&&(a.set(i,c),c.standInClass=f);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)n.delete(t),d(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let r=this._awaitingUpgrade.get(e);r||this._awaitingUpgrade.set(e,r=new Set),o?r.add(t):r.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),i.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,f=t=>{let e=t.getRootNode();if(!c(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const r=f(o)||window.customElements,i=r._getDefinition(e);return i?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),l=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}},v=(t,o)=>!l(t,o),O={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;let 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=O){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),i=this.getPropertyDescriptor(t,e,o);void 0!==i&&c(this.prototype,t,i)}}static getPropertyDescriptor(t,o,e){const{get:i,set:r}=p(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return i?.call(this)},set(o){const n=i?.call(this);r.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??O}static _$Ei(){if(this.hasOwnProperty(m("elementProperties")))return;const t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(m("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(m("properties"))){const t=this.properties,o=[...f(t),...h(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(s(t))}else void 0!==t&&o.push(s(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(i)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of o){const o=document.createElement("style"),r=e.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=i.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,e);if(void 0!==i&&!0===e.reflect){const r=(void 0!==e.converter?.toAttribute?e.converter:x).toAttribute(o,e.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,o){const e=this.constructor,i=e._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=e.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:x;this._$Em=i,this[i]=r.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,i=!1,r){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??v)(i?r:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};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:l,getOwnPropertyDescriptor:c,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&&l(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:i}=c(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return r?.call(this)},set(e){const n=r?.call(this);i.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??x}static _$Ei(){if(this.hasOwnProperty(b("elementProperties")))return;const t=h(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(b("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(b("properties"))){const t=this.properties,e=[...f(t),...p(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(a(t))}else void 0!==t&&e.push(a(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,r)=>{if(o)t.adoptedStyleSheets=r.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of r){const r=document.createElement("style"),i=e.litNonce;void 0!==i&&r.setAttribute("nonce",i),r.textContent=o.cssText,t.appendChild(r)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,o);if(void 0!==r&&!0===o.reflect){const i=(void 0!==o.converter?.toAttribute?o.converter:m).toAttribute(e,o.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){const o=this.constructor,r=o._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=o.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:m;this._$Em=r,this[r]=i.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,r=!1,i){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??v)(r?i:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};O.elementStyles=[],O.shadowRootOptions={mode:"open"},O[b("elementProperties")]=new Map,O[b("finalized")]=new Map,g?.({ReactiveElement:O}),(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 S={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v},w=(t=S,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?w(t,o,e):((t,o,e)=>{const i=o.hasOwnProperty(e);return o.constructor.createProperty(e,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(o,e):void 0})(t,o,e)
31
+ const w=globalThis,S=w.trustedTypes,N=S?S.createPolicy("lit-html",{createHTML:t=>t}):void 0,C="$lit$",E=`lit$${(Math.random()+"").slice(9)}$`,$="?"+E,R=`<${$}>`,k=document,I=()=>k.createComment(""),L=t=>null===t||"object"!=typeof t&&"function"!=typeof t,U=Array.isArray,W=t=>U(t)||"function"==typeof t?.[Symbol.iterator],F="[ \t\n\f\r]",A=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,j=/-->/g,z=/>/g,_=RegExp(`>|${F}(?:([^\\s"'>=/]+)(${F}*=${F}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),B=/'/g,K=/"/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=k.createTreeWalker(k,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,l,c=-1,f=0;for(;f<o.length&&(a.lastIndex=f,l=a.exec(o),null!==l);)f=a.lastIndex,a===A?"!--"===l[1]?a=j:void 0!==l[1]?a=z:void 0!==l[2]?(P.test(l[2])&&(i=RegExp("</"+l[2],"g")),a=_):void 0!==l[3]&&(a=_):a===_?">"===l[0]?(a=i??A,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?_:'"'===l[3]?K:B):a===K||a===B?a=_:a===j||a===z?a=A:(a=_,i=void 0);const p=a===_&&t[e+1].startsWith("/>")?" ":"";n+=a===A?o+R:c>=0?(r.push(s),o.slice(0,c)+C+o.slice(c)+E+p):o+E+(-2===c?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,l=this.parts,[c,f]=V(e,o);if(this.el=t.createElement(c,r),T.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=T.nextNode())&&l.length<s;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(C)){const e=f[a++],o=i.getAttribute(t).split(E),r=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:r[2],strings:o,ctor:"."===r[1]?tt:"?"===r[1]?et:"@"===r[1]?ot:Q}),i.removeAttribute(t)}else t.startsWith(E)&&(l.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(),l.push({type:2,index:++n});i.append(t[e],I())}}}else if(8===i.nodeType)if(i.data===$)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(E,t+1));)l.push({type:7,index:n}),t+=E.length-1}n++}}static createElement(t,e){const o=k.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=L(e)?void 0:e._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,o,r)),void 0!==r?(o._$Co??=[])[r]=i:o._$Cl=i),void 0!==i&&(e=Y(t,i._$AS(t,e.values),i,r)),e}let J=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,r=(t?.creationScope??k).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=k,r}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},X=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=Z,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=Y(this,t,e),L(t)?t===Z||null==t||""===t?(this._$AH!==Z&&this._$AR(),this._$AH=Z):t!==this._$AH&&t!==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&&L(this._$AH)?this._$AA.nextSibling.data=t:this.$(k.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=!L(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||=!L(s)||s!==this._$AH[a],s===Z?t=Z:t!==Z&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===Z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},tt=class extends Q{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Z?void 0:t}},et=class extends Q{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Z)}},ot=class extends Q{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=Y(this,t,e,0)??Z)===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:$,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,lt=Symbol(),ct=new WeakMap;let ft=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==lt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(st&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=ct.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&ct.set(e,t))}return t}toString(){return this.cssText}};const pt=t=>new ft("string"==typeof t?t:t+"",void 0,lt),ht=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,r)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[r+1]),t[0]);return new ft(o,t,lt)},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 $(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}},$t=(t,e)=>!yt(t,e),Rt={attribute:!0,type:String,converter:Et,reflect:!1,hasChanged:$t};Symbol.metadata??=Symbol("metadata"),Ot.litPropertyMetadata??=new WeakMap;let kt=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=Rt){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)??Rt}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??$t)(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){}};kt.elementStyles=[],kt.shadowRootOptions={mode:"open"},kt[Ct("elementProperties")]=new Map,kt[Ct("finalized")]=new Map,Nt?.({ReactiveElement:kt}),(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 E(t){return(o,e)=>{const i="function"==typeof o?o:o[e];Object.assign(i,t)}}
47
+ */
48
+ const It=globalThis,Lt=It.trustedTypes,Ut=Lt?Lt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Wt="$lit$",Ft=`lit$${(Math.random()+"").slice(9)}$`,At="?"+Ft,jt=`<${At}>`,zt=document,_t=()=>zt.createComment(""),Bt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Kt=Array.isArray,Pt=t=>Kt(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=zt.createTreeWalker(zt,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,l,c=-1,f=0;for(;f<o.length&&(a.lastIndex=f,l=a.exec(o),null!==l);)f=a.lastIndex,a===Dt?"!--"===l[1]?a=Zt:void 0!==l[1]?a=Ht:void 0!==l[2]?(qt.test(l[2])&&(i=RegExp("</"+l[2],"g")),a=Tt):void 0!==l[3]&&(a=Tt):a===Tt?">"===l[0]?(a=i??Dt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?Tt:'"'===l[3]?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+jt:c>=0?(r.push(s),o.slice(0,c)+Wt+o.slice(c)+Ft+p):o+Ft+(-2===c?e:p)}return[re(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),r]};class ne{constructor({strings:t,_$litType$:e},o){let r;this.parts=[];let i=0,n=0;const a=t.length-1,s=this.parts,[l,c]=ie(t,e);if(this.el=ne.createElement(l,o),oe.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=oe.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Wt)){const e=c[n++],o=r.getAttribute(t).split(Ft),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:i,name:a[2],strings:o,ctor:"."===a[1]?fe:"?"===a[1]?pe:"@"===a[1]?he:ce}),r.removeAttribute(t)}else t.startsWith(Ft)&&(s.push({type:6,index:i}),r.removeAttribute(t));if(qt.test(r.tagName)){const t=r.textContent.split(Ft),e=t.length-1;if(e>0){r.textContent=Lt?Lt.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],_t()),oe.nextNode(),s.push({type:2,index:++i});r.append(t[e],_t())}}}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=zt.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=Bt(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??zt).importNode(e,!0);oe.currentNode=r;let i=oe.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new le(i,i.nextSibling,this,t):1===s.type?e=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(e=new ue(i,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(i=oe.nextNode(),n++)}return oe.currentNode=zt,r}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},le=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=te,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=ae(this,t,e),Bt(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&&Bt(this._$AH)?this._$AA.nextSibling.data=t:this.$(zt.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){Kt(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(_t()),this.k(_t()),this,this.options)):r=o[i],r._$AI(n),i++;i<o.length&&(this._$AR(r&&r._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},ce=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=te,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=te}_$AI(t,e=this,o,r){const i=this.strings;let n=!1;if(void 0===i)t=ae(this,t,e,0),n=!Bt(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||=!Bt(s)||s!==this._$AH[a],s===te?t=te:t!==te&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===te?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},fe=class extends ce{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===te?void 0:t}},pe=class extends ce{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==te)}},he=class extends ce{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=ae(this,t,e,0)??te)===Qt)return;const o=this._$AH,r=t===te&&o!==te||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==te&&(o===te||r);r&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},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:le,I:ce,H:pe,N:he,U:fe,B:ue},ye=It.litHtmlPolyfillSupport;ye?.(ne,le),(It.litHtmlVersions??=[]).push("3.1.0");const ge=(t,e,o)=>{const r=o?.renderBefore??e;let i=r._$litPart$;if(void 0===i){const t=o?.renderBefore??null;r._$litPart$=i=new le(e.insertBefore(_t(),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 R=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
53
+ */};let be=class 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 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:kt,_$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:$t,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 U(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 R(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 R(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 I(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,i,r;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(i=e;0!=i--;)if(!I(t[i],o[i]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(i of t.entries())if(!o.has(i[0]))return!1;for(i of t.entries())if(!I(i[1],o.get(i[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(i of t.entries())if(!o.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(r=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(i=e;0!=i--;)if(!Object.prototype.hasOwnProperty.call(o,r[i]))return!1;for(i=e;0!=i--;){var n=r[i];if(!I(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const k=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 W=globalThis,L=W.trustedTypes,z=L?L.createPolicy("lit-html",{createHTML:t=>t}):void 0,K="$lit$",Z=`lit$${(Math.random()+"").slice(9)}$`,F="?"+Z,B=`<${F}>`,D=document,A=()=>D.createComment(""),M=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!==z?z.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+B:c>=0?(i.push(s),e.slice(0,c)+K+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(K)){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],A()),ot.nextNode(),l.push({type:2,index:++n});r.append(t[o],A())}}}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=M(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),M(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&&M(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(A()),this.k(A()),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=!M(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||=!M(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=W.litHtmlPolyfillSupport;ft?.(it,nt),(W.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:vt,defineProperty:Ot,getOwnPropertyDescriptor:Nt,getOwnPropertyNames:St,getOwnPropertySymbols:wt,getPrototypeOf:Ct}=Object,$t=globalThis,Et=$t.trustedTypes,Rt=Et?Et.emptyScript:"",Ut=$t.reactiveElementPolyfillSupport,It=(t,o)=>t,kt={toAttribute(t,o){switch(o){case Boolean:t=t?Rt: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}},Wt=(t,o)=>!vt(t,o),Lt={attribute:!0,type:String,converter:kt,reflect:!1,hasChanged:Wt};Symbol.metadata??=Symbol("metadata"),$t.litPropertyMetadata??=new WeakMap;class zt 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&&Ot(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(It("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(It("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(It("properties"))){const t=this.properties,o=[...St(t),...wt(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:kt).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:kt;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??Wt)(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){}}zt.elementStyles=[],zt.shadowRootOptions={mode:"open"},zt[It("elementProperties")]=new Map,zt[It("finalized")]=new Map,Ut?.({ReactiveElement:zt}),($t.reactiveElementVersions??=[]).push("2.0.2");
88
+ */let $e;
74
89
  /**
75
90
  * @license
76
91
  * Copyright 2017 Google LLC
77
92
  * SPDX-License-Identifier: BSD-3-Clause
78
93
  */
79
- const Kt=globalThis,Zt=Kt.trustedTypes,Ft=Zt?Zt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Bt="$lit$",Dt=`lit$${(Math.random()+"").slice(9)}$`,At="?"+Dt,Mt=`<${At}>`,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+Mt:c>=0?(i.push(s),e.slice(0,c)+Bt+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(Bt)){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===At)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=Kt.litHtmlPolyfillSupport;go?.(so,co),(Kt.litHtmlVersions??=[]).push("3.1.0");
94
+ function Re(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 ke=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??($e??=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 zt{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 vo{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 Oo(t,o){return xo(`${t.name}: ${o}`)}const No={colorWhite:vo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:vo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:vo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:vo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:vo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:vo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:vo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:vo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:vo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:vo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:vo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:vo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:vo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:vo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:vo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:vo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:vo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:vo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:vo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:vo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:vo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:vo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:vo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:vo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:vo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:vo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:vo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:vo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:vo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:vo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:vo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:vo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:vo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:vo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:vo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:vo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:vo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:vo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:vo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:vo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:vo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:vo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:vo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:vo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:vo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:vo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:vo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:vo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:vo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:vo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:vo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:vo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:vo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:vo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:vo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:vo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:vo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:vo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:vo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:vo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:vo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:vo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:vo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:vo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:vo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:vo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:vo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:vo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:vo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:vo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:vo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:vo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:vo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:vo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:vo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:vo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:vo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:vo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:vo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:vo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:vo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:vo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:vo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:vo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:vo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:vo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:vo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:vo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:vo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:vo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:vo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:vo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:vo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:vo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:vo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:vo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:vo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:vo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:vo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:vo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:vo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:vo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:vo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:vo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:vo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:vo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:vo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:vo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:vo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:vo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:vo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:vo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:vo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:vo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:vo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:vo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:vo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:vo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:vo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:vo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:vo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:vo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:vo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:vo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:vo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:vo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:vo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:vo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:vo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:vo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:vo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:vo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:vo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:vo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:vo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:vo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:vo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:vo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:vo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:vo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:vo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:vo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:vo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:vo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:vo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:vo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:vo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:vo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:vo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:vo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:vo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:vo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:vo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:vo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:vo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:vo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:vo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:vo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:vo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:vo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:vo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:vo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:vo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:vo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:vo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:vo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:vo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:vo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:vo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:vo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:vo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:vo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:vo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:vo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:vo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:vo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:vo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:vo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:vo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:vo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:vo.create("--ft-opacity-0","","NUMBER","0"),opacity8:vo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:vo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:vo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:vo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:vo.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:vo.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:vo.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:vo.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:vo.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:vo.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:vo.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:vo.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:vo.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:vo.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)")},So={display:{fontFamily:vo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:vo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:vo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:vo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:vo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:vo.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:vo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:vo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:vo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:vo.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:vo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:vo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:vo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:vo.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:vo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:vo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:vo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:vo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:vo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:vo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:vo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:vo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:vo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:vo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:vo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:vo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:vo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:vo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:vo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:vo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:vo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:vo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:vo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:vo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:vo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:vo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:vo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:vo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:vo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:vo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:vo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:vo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:vo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:vo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:vo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:vo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:vo.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:vo.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:vo.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:vo.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:vo.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:vo.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:vo.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},wo={backgroundActionPrimary:vo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",No.colorBrand0),backgroundErrorPrimary:vo.extend("--ft-background-error-primary","Used as background of error components.",No.colorRed0),backgroundErrorSubtle:vo.extend("--ft-background-error-subtle","Used as background of subtle error components.",No.colorRed10),backgroundInfoPrimary:vo.extend("--ft-background-info-primary","Used as background of information components.",No.colorCyan200),backgroundInfoSubtle:vo.extend("--ft-background-info-subtle","Used as background of subtle information components.",No.colorCyan10),backgroundWarningPrimary:vo.extend("--ft-background-warning-primary","Used as background of warning components.",No.colorOrange300),backgroundWarningSubtle:vo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",No.colorOrange10),backgroundSuccessPrimary:vo.extend("--ft-background-success-primary","Used as background of success components.",No.colorGreen200),backgroundSuccessSubtle:vo.extend("--ft-background-success-subtle","Used as background of subtle success components.",No.colorGreen10),backgroundGlobalSurface:vo.extend("--ft-background-global-surface","Used as app background.",No.colorWhite),backgroundGlobalOnSurface:vo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",No.colorGray10),backgroundGlobalOnSurfaceDark:vo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",No.colorGray30),contentActionPrimary:vo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",No.colorBrand0),contentWarningPrimary:vo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",No.colorOrange300),contentWarningIconOnly:vo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",No.colorOrange0),contentErrorPrimary:vo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",No.colorRed0),contentErrorIconOnly:vo.extend("--ft-content-error-icon-only","Used on error status icons alone",No.colorRed0),contentInfoPrimary:vo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",No.colorCyan200),contentInfoIconOnly:vo.extend("--ft-content-info-icon-only","Used on info status icons alone",No.colorCyan0),contentSuccessPrimary:vo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",No.colorGreen200),contentSuccessIconOnly:vo.extend("--ft-content-success-icon-only","Used on success status icons alone",No.colorGreen0),contentGlobalPrimary:vo.extend("--ft-content-global-primary","Used for main content on the page.",No.colorGray500),contentGlobalSecondary:vo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",No.colorGray200),contentGlobalSubtle:vo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",No.colorGray0),contentGlobalOnColor:vo.extend("--ft-content-global-on-color","Used for content on a dominant color.",No.colorWhite),borderActionPrimary:vo.extend("--ft-border-action-primary","Used as border for primary action components.",No.colorBrand0),borderActionFocusRing:vo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",No.colorCyan0),borderWarningPrimary:vo.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",No.colorOrange300),borderWarningSubtle:vo.extend("--ft-border-warning-subtle","Used as border for warning components.",No.colorOrange30),borderSuccessPrimary:vo.extend("--ft-border-success-primary","Used as border for success buttons.",No.colorGreen200),borderSuccessSubtle:vo.extend("--ft-border-success-subtle","Used as border for success components.",No.colorGreen30),borderErrorPrimary:vo.extend("--ft-border-error-primary","Used as border for text fields in error states.",No.colorRed0),borderErrorSubtle:vo.extend("--ft-border-error-subtle","Used as border for error components.",No.colorRed30),borderInfoPrimary:vo.extend("--ft-border-info-primary","Used as border for buttons in info color.",No.colorCyan200),borderInfoSubtle:vo.extend("--ft-border-info-subtle","Used as border for information components.",No.colorCyan30),borderGlobalPrimary:vo.extend("--ft-border-global-primary","Used as border for element like input.",No.colorGray50),borderGlobalSubtle:vo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",No.colorGray30),borderInputPrimary:vo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",No.colorGray80)},Co={largeHeight:vo.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:vo.extend("--ft-button-large-horizontal-padding","",No.spacing4),largeGap:vo.extend("--ft-button-large-gap","",No.spacing2),largeBorderRadius:vo.extend("--ft-button-large-border-radius","",No.borderRadiusS),largeIconSize:vo.extend("--ft-button-large-icon-size","",No.iconSize3),largeBorderWidth:vo.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:vo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:vo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:vo.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:vo.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:vo.extend("--ft-button-small-horizontal-padding","",No.spacing3),smallGap:vo.extend("--ft-button-small-gap","",No.spacing2),smallBorderRadius:vo.extend("--ft-button-small-border-radius","",No.borderRadiusS),smallIconSize:vo.extend("--ft-button-small-icon-size","",No.iconSize2),smallBorderWidth:vo.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:vo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:vo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:vo.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:vo.extend("--ft-button-primary-background-color","",wo.backgroundActionPrimary),primaryColor:vo.extend("--ft-button-primary-color","",wo.contentGlobalOnColor),primaryIconColor:vo.extend("--ft-button-primary-icon-color","",wo.contentGlobalOnColor),primaryStateLayerColor:vo.extend("--ft-button-primary-state-layer-color","",wo.contentGlobalOnColor),primaryStateLayerOpacityHover:vo.extend("--ft-button-primary-state-layer-opacity-hover","",No.opacity16),primaryStateLayerOpacityFocus:vo.extend("--ft-button-primary-state-layer-opacity-focus","",No.opacity16),primaryStateLayerOpacityActive:vo.extend("--ft-button-primary-state-layer-opacity-active","",No.opacity24),primaryComponentOpacityDisabled:vo.extend("--ft-button-primary-component-opacity-disabled","",No.opacity40),focusFocusRingColor:vo.extend("--ft-button-focus-focus-ring-color","",wo.borderActionFocusRing),tertiaryBackgroundColor:vo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:vo.extend("--ft-button-tertiary-color","",wo.contentActionPrimary),tertiaryIconColor:vo.extend("--ft-button-tertiary-icon-color","",wo.contentActionPrimary),tertiaryStateLayerColor:vo.extend("--ft-button-tertiary-state-layer-color","",wo.contentActionPrimary),tertiaryStateLayerOpacityHover:vo.extend("--ft-button-tertiary-state-layer-opacity-hover","",No.opacity8),tertiaryStateLayerOpacityFocus:vo.extend("--ft-button-tertiary-state-layer-opacity-focus","",No.opacity8),tertiaryStateLayerOpacityActive:vo.extend("--ft-button-tertiary-state-layer-opacity-active","",No.opacity16),tertiaryComponentOpacityDisabled:vo.extend("--ft-button-tertiary-component-opacity-disabled","",No.opacity40),secondaryBackgroundColor:vo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:vo.extend("--ft-button-secondary-color","",wo.contentActionPrimary),secondaryIconColor:vo.extend("--ft-button-secondary-icon-color","",wo.contentActionPrimary),secondaryStateLayerColor:vo.extend("--ft-button-secondary-state-layer-color","",wo.contentActionPrimary),secondaryStateLayerOpacityHover:vo.extend("--ft-button-secondary-state-layer-opacity-hover","",No.opacity8),secondaryStateLayerOpacityFocus:vo.extend("--ft-button-secondary-state-layer-opacity-focus","",No.opacity8),secondaryStateLayerOpacityActive:vo.extend("--ft-button-secondary-state-layer-opacity-active","",No.opacity16),secondaryComponentOpacityDisabled:vo.extend("--ft-button-secondary-component-opacity-disabled","",No.opacity40),secondaryBorderColor:vo.extend("--ft-button-secondary-border-color","",wo.borderActionPrimary),neutralBackgroundColor:vo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:vo.extend("--ft-button-neutral-icon-color","",wo.contentGlobalSecondary),neutralColor:vo.extend("--ft-button-neutral-color","",wo.contentGlobalSecondary),neutralStateLayerColor:vo.extend("--ft-button-neutral-state-layer-color","",wo.contentGlobalSecondary),neutralStateLayerOpacityHover:vo.extend("--ft-button-neutral-state-layer-opacity-hover","",No.opacity8),neutralStateLayerOpacityFocus:vo.extend("--ft-button-neutral-state-layer-opacity-focus","",No.opacity8),neutralStateLayerOpacityActive:vo.extend("--ft-button-neutral-state-layer-opacity-active","",No.opacity16),neutralComponentOpacityDisabled:vo.extend("--ft-button-neutral-component-opacity-disabled","",No.opacity40)};vo.extend("--ft-floating-menu-horizontal-padding","",No.spacing4),vo.extend("--ft-floating-menu-vertical-padding","",No.spacing4),vo.extend("--ft-floating-menu-off-icon-color","",wo.contentGlobalPrimary),vo.extend("--ft-floating-menu-off-color","",wo.contentGlobalPrimary),vo.extend("--ft-floating-menu-on-color","",wo.contentActionPrimary),vo.extend("--ft-floating-menu-on-icon-color","",wo.contentActionPrimary),vo.extend("--ft-floating-menu-on-state-layer-color","",wo.contentActionPrimary),vo.extend("--ft-floating-menu-gap","",No.spacing3),vo.extend("--ft-floating-menu-focus-focus-ring-color","",wo.borderActionFocusRing),vo.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),vo.extend("--ft-floating-menu-state-layer-opacity-hover","",No.opacity8),vo.extend("--ft-floating-menu-state-layer-opacity-active","",No.opacity16),vo.extend("--ft-floating-menu-state-layer-opacity-focus","",No.opacity8),vo.extend("--ft-floating-menu-component-opacity-disabled","",No.opacity40),vo.extend("--ft-floating-menu-icon-size","",No.iconSize3),vo.extend("--ft-floating-menu-background-color","",wo.backgroundGlobalOnSurface),vo.extend("--ft-tabs-top-left-border-radius","",No.borderRadiusS),vo.extend("--ft-tabs-top-right-border-radius","",No.borderRadiusS),vo.extend("--ft-tabs-label-horizontal-padding","",No.spacing4),vo.extend("--ft-tabs-label-vertical-padding","",No.spacing3),vo.extend("--ft-tabs-label-gap","",No.spacing1),vo.extend("--ft-tabs-icon-horizontal-padding","",No.spacing1),vo.extend("--ft-tabs-icon-vertical-padding","",No.spacing4),vo.create("--ft-tabs-focus-outline-width","","SIZE","2px"),vo.extend("--ft-tabs-focus-focus-ring-color","",wo.borderActionFocusRing),vo.extend("--ft-tabs-off-state-layer-opacity-hover","",No.opacity8),vo.extend("--ft-tabs-off-state-layer-opacity-focus","",No.opacity8),vo.extend("--ft-tabs-off-state-layer-opacity-active","",No.opacity16),vo.extend("--ft-tabs-off-component-opacity-disabled","",No.opacity40),vo.extend("--ft-tabs-off-color","",wo.contentGlobalSubtle),vo.extend("--ft-tabs-off-state-layer-color","",wo.contentGlobalSubtle),vo.extend("--ft-tabs-on-state-layer-opacity-hover","",No.opacity8),vo.extend("--ft-tabs-on-state-layer-opacity-focus","",No.opacity8),vo.extend("--ft-tabs-on-state-layer-opacity-active","",No.opacity16),vo.extend("--ft-tabs-on-component-opacity-disabled","",No.opacity40),vo.extend("--ft-tabs-on-color","",wo.contentActionPrimary),vo.extend("--ft-tabs-on-state-layer-color","",wo.contentActionPrimary),vo.extend("--ft-collapsible-state-layer-opacity-hover","",No.opacity8),vo.extend("--ft-collapsible-state-layer-opacity-focus","",No.opacity8),vo.extend("--ft-collapsible-state-layer-opacity-active","",No.opacity16),vo.extend("--ft-collapsible-component-opacity-disabled","",No.opacity40),vo.extend("--ft-collapsible-horizontal-padding","",No.spacing4),vo.extend("--ft-collapsible-vertical-padding","",No.spacing3),vo.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),vo.extend("--ft-collapsible-focus-focus-ring-color","",wo.borderActionFocusRing),vo.extend("--ft-collapsible-color","",wo.contentGlobalPrimary),vo.extend("--ft-collapsible-state-layer-color","",wo.contentGlobalPrimary),vo.extend("--ft-collapsible-background-color","",wo.backgroundGlobalOnSurface),vo.extend("--ft-collapsible-border-color","",wo.borderGlobalSubtle),vo.extend("--ft-collapsible-icon-size","",No.iconSize3),vo.extend("--ft-switch-group-horizontal-padding","",No.spacing1),vo.extend("--ft-switch-group-vertical-padding","",No.spacing1),vo.extend("--ft-switch-group-gap","",No.spacing1),vo.extend("--ft-switch-group-background-color","",wo.backgroundGlobalSurface),vo.extend("--ft-switch-group-border-color","",wo.borderGlobalSubtle),vo.create("--ft-switch-group-border-radius","","SIZE","6px"),vo.extend("--ft-switch-label-horizontal-padding","",No.spacing2),vo.extend("--ft-switch-label-vertical-padding","",No.spacing1),vo.extend("--ft-switch-icon-horizontal-padding","",No.spacing1),vo.extend("--ft-switch-icon-vertical-padding","",No.spacing1),vo.create("--ft-switch-focus-outline-width","","SIZE","2px"),vo.extend("--ft-switch-focus-focus-ring-color","",wo.borderActionFocusRing),vo.extend("--ft-switch-option-border-radius","",No.borderRadiusS),vo.extend("--ft-switch-off-state-layer-opacity-hover","",No.opacity8),vo.extend("--ft-switch-off-state-layer-opacity-focus","",No.opacity8),vo.extend("--ft-switch-off-state-layer-opacity-active","",No.opacity16),vo.extend("--ft-switch-off-component-opacity-disabled","",No.opacity40),vo.extend("--ft-switch-off-color","",wo.contentGlobalSubtle),vo.extend("--ft-switch-off-state-layer-color","",wo.contentGlobalSubtle),vo.extend("--ft-switch-on-state-layer-opacity-hover","",No.opacity8),vo.extend("--ft-switch-on-state-layer-opacity-focus","",No.opacity8),vo.extend("--ft-switch-on-state-layer-opacity-active","",No.opacity16),vo.extend("--ft-switch-on-component-opacity-disabled","",No.opacity40),vo.extend("--ft-switch-on-color","",wo.contentActionPrimary),vo.extend("--ft-switch-on-state-layer-color","",wo.contentActionPrimary),vo.extend("--ft-chart-1-light","for area color charts",No.colorBrand40),vo.extend("--ft-chart-1-base","for line charts",No.colorBrand0),vo.extend("--ft-chart-2-light","for area color charts",No.colorYellow60),vo.extend("--ft-chart-2-base","for line charts",No.colorYellow100),vo.extend("--ft-chart-3-light","",No.colorUltramarine40),vo.extend("--ft-chart-3-base","",No.colorUltramarine70),vo.extend("--ft-chart-4-light","",No.colorCyan50),vo.extend("--ft-chart-4-base","",No.colorCyan100),vo.extend("--ft-chart-5-light","",No.colorRed40),vo.extend("--ft-chart-5-base","",No.colorRed60),vo.extend("--ft-chart-6-light","",No.colorGreen40),vo.extend("--ft-chart-6-base","",No.colorGreen70),vo.extend("--ft-chart-7-light","",No.colorOrange70),vo.extend("--ft-chart-7-base","",No.colorOrange100),vo.extend("--ft-chart-8-light","",No.colorAvocado70),vo.extend("--ft-chart-8-base","",No.colorAvocado200),vo.extend("--ft-chart-9-light","",No.colorBrown50),vo.extend("--ft-chart-9-base","",No.colorBrown200),vo.extend("--ft-chart-10-light","",No.colorGray50),vo.extend("--ft-chart-10-base","",No.colorGray80),vo.extend("--ft-chart-monochrome-10","",No.colorBrand10),vo.extend("--ft-chart-monochrome-20","",No.colorBrand20),vo.extend("--ft-chart-monochrome-30","",No.colorBrand40),vo.extend("--ft-chart-monochrome-40","",No.colorBrand60),vo.extend("--ft-chart-monochrome-50","",No.colorBrand0),vo.extend("--ft-chart-monochrome-60","",No.colorBrand200),vo.extend("--ft-chip-large-horizontal-padding","",No.spacing4),vo.extend("--ft-chip-large-vertical-padding","",No.spacing2),vo.extend("--ft-chip-large-gap","",No.spacing1),vo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),vo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),vo.extend("--ft-chip-large-border-radius","",No.borderRadiusPill),vo.create("--ft-chip-large-border-width","","SIZE","1px"),vo.extend("--ft-chip-large-icon-size","",No.iconSize3),vo.extend("--ft-chip-medium-horizontal-padding","",No.spacing3),vo.extend("--ft-chip-medium-vertical-padding","",No.spacing1),vo.extend("--ft-chip-medium-gap","",No.spacing1),vo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),vo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),vo.extend("--ft-chip-medium-border-radius","",No.borderRadiusPill),vo.create("--ft-chip-medium-border-width","","SIZE","1px"),vo.extend("--ft-chip-medium-icon-size","",No.iconSize2),vo.extend("--ft-chip-small-horizontal-padding","",No.spacing2),vo.extend("--ft-chip-small-vertical-padding","",No.spacing05),vo.extend("--ft-chip-small-gap","",No.spacing1),vo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),vo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),vo.extend("--ft-chip-small-border-radius","",No.borderRadiusPill),vo.create("--ft-chip-small-border-width","","SIZE","1px"),vo.extend("--ft-chip-small-icon-size","",No.iconSize1),vo.extend("--ft-chip-neutral-background-color","",wo.backgroundGlobalOnSurface),vo.extend("--ft-chip-neutral-color","",wo.contentGlobalPrimary),vo.extend("--ft-chip-neutral-border-color","",wo.borderGlobalSubtle),vo.extend("--ft-chip-info-background-color","",wo.backgroundInfoSubtle),vo.extend("--ft-chip-info-color","",wo.contentInfoPrimary),vo.extend("--ft-chip-info-border-color","",wo.borderInfoSubtle),vo.extend("--ft-chip-success-background-color","",wo.backgroundSuccessSubtle),vo.extend("--ft-chip-success-color","",wo.contentSuccessPrimary),vo.extend("--ft-chip-success-border-color","",wo.borderSuccessSubtle),vo.extend("--ft-chip-warning-background-color","",wo.backgroundWarningSubtle),vo.extend("--ft-chip-warning-color","",wo.contentWarningPrimary),vo.extend("--ft-chip-warning-border-color","",wo.borderWarningSubtle),vo.extend("--ft-chip-error-background-color","",wo.backgroundErrorSubtle),vo.extend("--ft-chip-error-color","",wo.contentErrorPrimary),vo.extend("--ft-chip-error-border-color","",wo.borderErrorSubtle),vo.create("--ft-notice-border-width","","SIZE","1px"),vo.extend("--ft-notice-horizontal-padding","",No.spacing2),vo.extend("--ft-notice-vertical-padding","",No.spacing1),vo.extend("--ft-notice-border-radius","",No.borderRadiusS),vo.extend("--ft-notice-gap","",No.spacing2),vo.extend("--ft-notice-icon-size","",No.iconSize3),vo.extend("--ft-notice-info-background-color","",wo.backgroundInfoSubtle),vo.extend("--ft-notice-info-border-color","",wo.borderInfoSubtle),vo.extend("--ft-notice-info-color","",wo.contentInfoPrimary),vo.extend("--ft-notice-warning-background-color","",wo.backgroundWarningSubtle),vo.extend("--ft-notice-warning-border-color","",wo.borderWarningSubtle),vo.extend("--ft-notice-warning-color","",wo.contentWarningPrimary),vo.extend("--ft-checkbox-label-color","",wo.contentGlobalPrimary),vo.extend("--ft-checkbox-checked-background-color","",wo.contentActionPrimary),vo.extend("--ft-checkbox-checked-state-layer-color","",wo.contentActionPrimary),vo.extend("--ft-checkbox-checked-color","",wo.contentGlobalOnColor),vo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",No.opacity16),vo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",No.opacity16),vo.extend("--ft-checkbox-checked-state-layer-opacity-active","",No.opacity24),vo.extend("--ft-checkbox-checked-component-opacity-disabled","",No.opacity40),vo.extend("--ft-checkbox-unchecked-border-color","",No.colorGray80),vo.extend("--ft-checkbox-unchecked-state-layer-color","",No.colorGray80),vo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",No.opacity16),vo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",No.opacity16),vo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",No.opacity24),vo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",No.opacity40),vo.extend("--ft-checkbox-focus-focus-ring-color","",wo.borderActionFocusRing),vo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),vo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),vo.extend("--ft-checkbox-gap","",No.spacing3),vo.extend("--ft-toggle-off-state-layer-opacity-hover","",No.opacity16),vo.extend("--ft-toggle-off-state-layer-opacity-focus","",No.opacity16),vo.extend("--ft-toggle-off-state-layer-opacity-active","",No.opacity24),vo.extend("--ft-toggle-off-component-opacity-disabled","",No.opacity40),vo.extend("--ft-toggle-off-background-color","",wo.contentGlobalSubtle),vo.extend("--ft-toggle-off-icon-color","",wo.contentGlobalSubtle),vo.extend("--ft-toggle-off-state-layer-color","",wo.contentGlobalSubtle),vo.extend("--ft-toggle-on-state-layer-opacity-hover","",No.opacity16),vo.extend("--ft-toggle-on-state-layer-opacity-focus","",No.opacity16),vo.extend("--ft-toggle-on-state-layer-opacity-active","",No.opacity24),vo.extend("--ft-toggle-on-component-opacity-disabled","",No.opacity40),vo.extend("--ft-toggle-on-background-color","",wo.contentActionPrimary),vo.extend("--ft-toggle-on-icon-color","",wo.contentActionPrimary),vo.extend("--ft-toggle-on-state-layer-color","",wo.contentActionPrimary),vo.extend("--ft-toggle-label-color","",wo.contentGlobalPrimary),vo.extend("--ft-toggle-focus-focus-ring-color","",wo.borderActionFocusRing),vo.extend("--ft-toggle-gap","",No.spacing3),vo.extend("--ft-radio-label-color","",wo.contentGlobalPrimary),vo.extend("--ft-radio-selected-color","",wo.contentActionPrimary),vo.extend("--ft-radio-selected-state-layer-color","",wo.contentActionPrimary),vo.extend("--ft-radio-selected-state-layer-opacity-hover","",No.opacity16),vo.extend("--ft-radio-selected-state-layer-opacity-focus","",No.opacity16),vo.extend("--ft-radio-selected-state-layer-opacity-active","",No.opacity24),vo.extend("--ft-radio-selected-component-opacity-disabled","",No.opacity40),vo.extend("--ft-radio-unselected-state-layer-color","",No.colorGray80),vo.extend("--ft-radio-unselected-state-layer-opacity-hover","",No.opacity16),vo.extend("--ft-radio-unselected-state-layer-opacity-focus","",No.opacity16),vo.extend("--ft-radio-unselected-state-layer-opacity-active","",No.opacity24),vo.extend("--ft-radio-unselected-component-opacity-disabled","",No.opacity40),vo.extend("--ft-radio-focus-focus-ring-color","",wo.borderActionFocusRing),vo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),vo.create("--ft-radio-focus-outline-width","","SIZE","2px"),vo.extend("--ft-radio-gap","",No.spacing3),vo.extend("--ft-notification-icon-size","",No.iconSize4),vo.extend("--ft-notification-horizontal-padding","",No.spacing4),vo.extend("--ft-notification-vertical-padding","",No.spacing4),vo.extend("--ft-notification-info-background-color","",wo.backgroundInfoSubtle),vo.extend("--ft-notification-info-color","",wo.contentInfoPrimary),vo.extend("--ft-notification-info-border-color","",wo.borderInfoSubtle),vo.extend("--ft-notification-success-background-color","",wo.backgroundSuccessSubtle),vo.extend("--ft-notification-success-color","",wo.contentSuccessPrimary),vo.extend("--ft-notification-success-border-color","",wo.borderSuccessSubtle),vo.extend("--ft-notification-warning-background-color","",wo.backgroundWarningSubtle),vo.extend("--ft-notification-warning-color","",wo.contentWarningPrimary),vo.extend("--ft-notification-warning-border-color","",wo.borderWarningSubtle),vo.extend("--ft-notification-error-background-color","",wo.backgroundErrorSubtle),vo.extend("--ft-notification-error-color","",wo.contentErrorPrimary),vo.extend("--ft-notification-error-border-color","",wo.borderErrorSubtle),vo.extend("--ft-notification-border-radius","",No.borderRadiusPill),vo.create("--ft-notification-border-width","","SIZE","1px"),vo.extend("--ft-notification-gap-leading","",No.spacing2),vo.extend("--ft-notification-gap-trailing","",No.spacing8),vo.extend("--ft-tooltip-horizontal-padding","",No.spacing2),vo.extend("--ft-tooltip-vertical-padding","",No.spacing2),vo.extend("--ft-tooltip-border-radius","",No.borderRadiusS),vo.extend("--ft-tooltip-label","",wo.contentGlobalOnColor),vo.extend("--ft-tooltip-background","",wo.contentGlobalPrimary),vo.extend("--ft-tooltip-background-opacity","",No.opacity80),vo.extend("--ft-tooltip-shadow","",No.shadowElevation03);const $o={colorPrimary:vo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:vo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:vo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:vo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:vo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:vo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:vo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:vo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:vo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:vo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:vo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:vo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:vo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:vo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:vo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:vo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:vo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:vo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:vo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:vo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:vo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:vo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:vo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:vo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:vo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:vo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:vo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:vo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:vo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:vo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:vo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:vo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:vo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:vo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:vo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:vo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:vo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:vo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:vo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:vo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:vo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:vo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:vo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:vo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:vo.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:vo.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:vo.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:vo.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:vo.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:vo.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:vo.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:vo.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:vo.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:vo.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:vo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:vo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:vo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:vo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:vo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:vo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:vo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:vo.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,Io=Math.max,ko=Math.round,Wo=t=>({x:t,y:t}),Lo={left:"right",right:"left",bottom:"top",top:"bottom"},zo={start:"end",end:"start"};function Ko(t,o,e){return Io(t,Uo(o,e))}function Zo(t,o){return"function"==typeof t?t(o):t}function Fo(t){return t.split("-")[0]}function Bo(t){return t.split("-")[1]}function Do(t){return"x"===t?"y":"x"}function Ao(t){return"y"===t?"height":"width"}function Mo(t){return["top","bottom"].includes(Fo(t))?"y":"x"}function Po(t){return Do(Mo(t))}function Ho(t){return t.replace(/left|right|bottom|top/g,(t=>Lo[t]))}function jo(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function To(t,o,e){let{reference:i,floating:r}=t;const n=Mo(o),a=Po(o),s=Ao(a),l=Fo(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(Bo(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function _o(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=jo(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=jo(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-v.top+u.top)/x.y,bottom:(v.bottom-g.bottom+u.bottom)/x.y,left:(g.left-v.left+u.left)/x.x,right:(v.right-g.right+u.right)/x.x}}function Go(t,o,e){return(t?[...e.filter((o=>Bo(o)===t)),...e.filter((o=>Bo(o)!==t))]:e.filter((t=>Fo(t)===t))).filter((e=>!t||(Bo(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>zo[t]))}(e)!==e)))}const Yo=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?Go(f||null,d,h):h,g=await _o(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=Bo(t),r=Po(t),n=Ao(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Ho(a)),[a,Ho(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[Fo(m)],g[x[0]],g[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],N=y[b+1];if(N)return{data:{index:b+1,overflows:O},reset:{placement:N}};const S=O.map((t=>{const o=Bo(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])),w=S.filter((t=>t[2].slice(0,Bo(t[0])?2:3).every((t=>t<=0)))),C=(null==(r=w[0])?void 0:r[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function Vo(t){return Xo(t)?(t.nodeName||"").toLowerCase():"#document"}function Jo(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function qo(t){var o;return null==(o=(Xo(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Xo(t){return t instanceof Node||t instanceof Jo(t).Node}function Qo(t){return t instanceof Element||t instanceof Jo(t).Element}function te(t){return t instanceof HTMLElement||t instanceof Jo(t).HTMLElement}function oe(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Jo(t).ShadowRoot)}function ee(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=se(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function ie(t){return["table","td","th"].includes(Vo(t))}function re(t){const o=ne(),e=se(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 ne(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ae(t){return["html","body","#document"].includes(Vo(t))}function se(t){return Jo(t).getComputedStyle(t)}function le(t){return Qo(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ce(t){if("html"===Vo(t))return t;const o=t.assignedSlot||t.parentNode||oe(t)&&t.host||qo(t);return oe(o)?o.host:o}function pe(t){const o=ce(t);return ae(o)?t.ownerDocument?t.ownerDocument.body:t.body:te(o)&&ee(o)?o:pe(o)}function fe(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=pe(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=Jo(r);return n?o.concat(a,a.visualViewport||[],ee(r)?r:[],a.frameElement&&e?fe(a.frameElement):[]):o.concat(r,fe(r,[],e))}function he(t){const o=se(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=te(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,s=ko(e)!==n||ko(i)!==a;return s&&(e=n,i=a),{width:e,height:i,$:s}}function de(t){return Qo(t)?t:t.contextElement}function ue(t){const o=de(t);if(!te(o))return Wo(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=he(o);let a=(n?ko(e.width):e.width)/i,s=(n?ko(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const ye=Wo(0);function ge(t){const o=Jo(t);return ne()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ye}function be(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=de(t);let a=Wo(1);o&&(i?Qo(i)&&(a=ue(i)):a=ue(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Jo(t))&&o}(n,e,i)?ge(n):Wo(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=Jo(n),o=i&&Qo(i)?Jo(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=ue(e),o=e.getBoundingClientRect(),i=se(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=Jo(e).frameElement}}return jo({width:p,height:f,x:l,y:c})}function me(t){return be(qo(t)).left+le(t).scrollLeft}function xe(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=Jo(t),i=qo(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=ne();(!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=qo(t),e=le(t),i=t.ownerDocument.body,r=Io(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=Io(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+me(t);const s=-e.scrollTop;return"rtl"===se(i).direction&&(a+=Io(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(qo(t));else if(Qo(o))i=function(t,o){const e=be(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=te(t)?ue(t):Wo(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=ge(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return jo(i)}function ve(t,o){const e=ce(t);return!(e===o||!Qo(e)||ae(e))&&("fixed"===se(e).position||ve(e,o))}function Oe(t,o,e){const i=te(o),r=qo(o),n="fixed"===e,a=be(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=Wo(0);if(i||!i&&!n)if(("body"!==Vo(o)||ee(r))&&(s=le(o)),i){const t=be(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else r&&(l.x=me(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Ne(t,o){return te(t)&&"fixed"!==se(t).position?o?o(t):t.offsetParent:null}function Se(t,o){const e=Jo(t);if(!te(t))return e;let i=Ne(t,o);for(;i&&ie(i)&&"static"===se(i).position;)i=Ne(i,o);return i&&("html"===Vo(i)||"body"===Vo(i)&&"static"===se(i).position&&!re(i))?e:i||function(t){let o=ce(t);for(;te(o)&&!ae(o);){if(re(o))return o;o=ce(o)}return null}(t)||e}const we={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=te(e),n=qo(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=Wo(1);const l=Wo(0);if((r||!r&&"fixed"!==i)&&(("body"!==Vo(e)||ee(n))&&(a=le(e)),te(e))){const t=be(e);s=ue(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:qo,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=fe(t,[],!1).filter((t=>Qo(t)&&"body"!==Vo(t))),r=null;const n="fixed"===se(t).position;let a=n?ce(t):t;for(;Qo(a)&&!ae(a);){const o=se(a),e=re(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||ee(a)&&!e&&ve(t,a))?i=i.filter((t=>t!==a)):r=o,a=ce(a)}return o.set(t,i),i}(o,this._c):[].concat(e),i],a=n[0],s=n.reduce(((t,e)=>{const i=xe(o,e,r);return t.top=Io(i.top,t.top),t.right=Uo(i.right,t.right),t.bottom=Uo(i.bottom,t.bottom),t.left=Io(i.left,t.left),t}),xe(o,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Se,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||Se,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 he(t)},getScale:ue,isElement:Qo,isRTL:function(t){return"rtl"===se(t).direction}},Ce=(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}=To(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}=To(c,h,l))),e=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,o,{...r,platform:n})};function $e(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:Re,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,Le=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(""),je=(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},ze=(t,e,o=t)=>(t._$AI(e,o),t),_e={},Be=t=>{t._$AP?.(!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const t=e.nextSibling;e.remove(),e=t}},Ke=(t,e,o)=>{const r=new Map;for(let i=e;i<=o;i++)r.set(t[i],i);return r},Pe=Ue(class extends We{constructor(t){if(super(t),t.type!==Le)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let r;void 0===o?o=e:void 0!==e&&(r=e);const i=[],n=[];let a=0;for(const e of t)i[a]=r?r(e,a):a,n[a]=o(e,a),a++;return{values:n,keys:i}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,r]){const i=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(e,o,r);if(!Array.isArray(i))return this.dt=a,n;const s=this.dt??=[],l=[];let c,f,p=0,h=i.length-1,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])l[u]=ze(i[p],n[u]),p++,u++;else if(s[h]===a[d])l[d]=ze(i[h],n[d]),h--,d--;else if(s[p]===a[d])l[d]=ze(i[p],n[d]),je(t,l[d+1],i[p]),p++,d--;else if(s[h]===a[u])l[u]=ze(i[h],n[u]),je(t,i[p],i[h]),h--,u++;else if(void 0===c&&(c=Ke(a,u,d),f=Ke(s,p,h)),c.has(s[p]))if(c.has(s[h])){const e=f.get(a[u]),o=void 0!==e?i[e]:null;if(null===o){const e=je(t,i[p]);ze(e,n[u]),l[u]=e}else l[u]=ze(o,n[u]),je(t,i[p],o),i[e]=null;u++}else Be(i[h]),h--;else Be(i[p]),p++;for(;u<=d;){const e=je(t,l[d+1]);ze(e,n[u]),l[u++]=e}for(;p<=h;){const t=i[p++];null!==t&&Be(t)}return this.dt=a,((t,e=_e)=>{t._$AH=e})(t,l),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!==Le)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 lo(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 co(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)?co(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:co,waitFor:lo,waitUntil:async function(t,e=10,o=2e4){await lo((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")},$o={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")},Ro={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")},ko={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")},Lo={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")},jo={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")},zo={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")},_o={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")},Bo={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")},Ko={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":$o,"body-2-regular":Ro,"body-2-medium":ko,"body-2-semibold":Io,"label-1-medium":Lo,"label-1-semibold":Uo,"label-1-bold":Wo,"label-2-medium":Fo,"label-2-semibold":Ao,"label-2-bold":jo,"caption-1-medium":zo,"caption-1-semibold":_o,"caption-1-bold":Bo,"caption-2-medium":Ko,"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:$o,typographyBody2Medium:ko,typographyBody2Regular:Ro,typographyBody2Semibold:Io,typographyCaption1Bold:Bo,typographyCaption1Medium:zo,typographyCaption1Semibold:_o,typographyCaption2Bold:Mo,typographyCaption2Medium:Ko,typographyCaption2Semibold:Po,typographyCaption3Bold:Ho,typographyCaption3Medium:Do,typographyCaption3Semibold:Zo,typographyDisplay:Oo,typographyLabel1Bold:Wo,typographyLabel1Medium:Lo,typographyLabel1Semibold:Uo,typographyLabel2Bold:jo,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 lr={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 cr=Object.freeze({__proto__:null,designSystemVariables:lr});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 $r(t){return"y"===t?"height":"width"}function Rr(t){return["top","bottom"].includes(Nr(t))?"y":"x"}function kr(t){return Er(Rr(t))}function Ir(t){return t.replace(/left|right|bottom|top/g,(t=>xr[t]))}function Lr(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=Rr(e),a=kr(e),s=$r(a),l=Nr(e),c="y"===n,f=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,h=r[s]/2-i[s]/2;let u;switch(l){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&&c?-1:1);break;case"end":u[a]+=h*(o&&c?-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:l}=t,{boundary:c="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=Lr(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:l})),b="floating"===p?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=Lr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):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:l,elements:c}=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=kr(t),n=$r(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==l.isRTL?void 0:l.isRTL(c.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 jr(t){return Br(t)?(t.nodeName||"").toLowerCase():"#document"}function zr(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function _r(t){var e;return null==(e=(Br(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Br(t){return t instanceof Node||t instanceof zr(t).Node}function Kr(t){return t instanceof Element||t instanceof zr(t).Element}function Pr(t){return t instanceof HTMLElement||t instanceof zr(t).HTMLElement}function Mr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof zr(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(jr(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(jr(t))}function Vr(t){return zr(t).getComputedStyle(t)}function qr(t){return Kr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Yr(t){if("html"===jr(t))return t;const e=t.assignedSlot||t.parentNode||Mr(t)&&t.host||_r(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=zr(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 Kr(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=zr(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?Kr(r)&&(a=ei(r)):a=ei(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==zr(t))&&e}(n,o,r)?ri(n):vr(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,f=i.width/a.x,p=i.height/a.y;if(n){const t=zr(n),e=r&&Kr(r)?zr(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;l*=t.x,c*=t.y,f*=t.x,p*=t.y,l+=i,c+=n,o=zr(o).frameElement}}return Lr({width:f,height:p,x:l,y:c})}function ni(t){return ii(_r(t)).left+qr(t).scrollLeft}function ai(t,e,o){let r;if("viewport"===e)r=function(t,e){const o=zr(t),r=_r(t),i=o.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){n=i.width,a=i.height;const t=Tr();(!t||t&&"fixed"===e)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)r=function(t){const e=_r(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}}(_r(t));else if(Kr(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 Lr(r)}function si(t,e){const o=Yr(t);return!(o===e||!Kr(o)||Gr(o))&&("fixed"===Vr(o).position||si(o,e))}function li(t,e,o){const r=Pr(e),i=_r(e),n="fixed"===o,a=ii(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=vr(0);if(r||!r&&!n)if(("body"!==jr(e)||Dr(i))&&(s=qr(e)),r){const t=ii(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else i&&(l.x=ni(i));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function ci(t,e){return Pr(t)&&"fixed"!==Vr(t).position?e?e(t):t.offsetParent:null}function fi(t,e){const o=zr(t);if(!Pr(t))return o;let r=ci(t,e);for(;r&&Zr(r)&&"static"===Vr(r).position;)r=ci(r,e);return r&&("html"===jr(r)||"body"===jr(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=_r(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=vr(1);const l=vr(0);if((i||!i&&"fixed"!==r)&&(("body"!==jr(o)||Dr(n))&&(a=qr(o)),Pr(o))){const t=ii(o);s=ei(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:_r,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=>Kr(t)&&"body"!==jr(t))),i=null;const n="fixed"===Vr(t).position;let a=n?Yr(t):t;for(;Kr(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:li(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:Kr,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),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:p}=Ur(c,r,l),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:c,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&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:i}):v.rects),({x:f,y:p}=Ur(c,h,l))),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}}},...l}=Sr(r,t),c={x:e,y:o},f=await Wr(t,l),p=Rr(Nr(i)),h=Er(p);let u=c[h],d=c[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 Ie 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 ke,We=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 Le=Symbol("constructorPrototype"),ze=Symbol("constructorName"),Ke=Symbol("exportpartsDebouncer");class Ze extends Ie{constructor(){super(),this[ke]=new o(5),this[ze]=this.constructor.name,this[Le]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ze]&&Object.setPrototypeOf(this,this[Le])}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(", "))}}ke=Ke,We([C()],Ze.prototype,"exportpartsPrefix",void 0),We([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)=>!I(t,o),...null!=o?o:{}})}([])],Ze.prototype,"exportpartsPrefixes",void 0),We([C()],Ze.prototype,"customStylesheet",void 0);const Fe=vo.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,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}xi=Ci,wi([we()],Ei.prototype,"exportpartsPrefix",void 0),wi([uo([])],Ei.prototype,"exportpartsPrefixes",void 0),wi([we()],Ei.prototype,"customStylesheet",void 0);var $i=Object.freeze({__proto__:null,FtLitElement:Ei}),Ri=Object.freeze({__proto__:null});class ki{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=>{ki.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 ki(t.querySelector("html"),this.iframes)}compareNodeIframe(t,e,o){if(t.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_PRECEDING){if(null===e)return!0;if(e.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}getIteratorNode(t){const e=t.previousNode();let o;return o=(null===e||t.nextNode())&&t.nextNode(),{prevNode:e,node:o}}checkIframeFilter(t,e,o,r){let i=!1,n=!1;return r.forEach(((t,e)=>{t.val===o&&(i=e,n=t.handled)})),this.compareNodeIframe(t,e,o)?(!1!==i||n?!1===i||n||(r[i].handled=!0):r.push({val:o,handled:!0}),!0):(!1===i&&r.push({val:o,handled:!1}),!1)}handleOpenIframes(t,e,o,r){t.forEach((t=>{t.handled||this.getIframeContents(t.val,(t=>{this.createInstanceOnIframe(t).forEachNode(e,o,r)}))}))}iterateThroughNodes(t,e,o,r,i){const n=this.createIterator(e,t,r);let a,s,l=[],c=[],f=()=>(({prevNode:s,node:a}=this.getIteratorNode(n)),a);for(;f();)this.iframes&&this.forEachIframe(e,(t=>this.checkIframeFilter(a,s,t,l)),(e=>{this.createInstanceOnIframe(e).forEachNode(t,(t=>c.push(t)),r)})),c.push(a);c.forEach((t=>{o(t)})),this.iframes&&this.handleOpenIframes(l,t,o,r),i()}forEachNode(t,e,o,r=(()=>{})){const i=this.getContexts();let n=i.length;n||r(),i.forEach((i=>{const a=()=>{this.iterateThroughNodes(t,i,e,o,(()=>{--n<=0&&r()}))};this.iframes?this.waitForIframes(i,a):a()}))}}const 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 ki(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 ki.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,e,o){const r=this.opt.element?this.opt.element:"mark",i=t.splitText(e),n=i.splitText(o-e);let a=document.createElement(r);return a.setAttribute("data-markjs","true"),this.opt.className&&a.setAttribute("class",this.opt.className),a.textContent=i.textContent,i.parentNode.replaceChild(a,i),n}wrapRangeInMappedTextNode(t,e,o,r,i){t.nodes.every(((n,a)=>{const s=t.nodes[a+1];if(void 0===s||s.start>e){if(!r(n.node))return!1;const s=e-n.start,l=(o>n.end?n.end:o)-n.start,c=t.value.substr(0,n.start),f=t.value.substr(l+n.start);if(n.node=this.wrapRangeInTextNode(n.node,s,l),t.value=c+f,t.nodes.forEach(((e,o)=>{o>=a&&(t.nodes[o].start>0&&o!==a&&(t.nodes[o].start-=l),t.nodes[o].end-=l)})),o-=l,i(n.node.previousSibling,n.start),!(o>n.end))return!1;e=n.end}return!0}))}wrapMatches(t,e,o,r,i){const n=0===e?0:e+1;this.getTextNodes((e=>{e.nodes.forEach((e=>{let i;for(e=e.node;null!==(i=t.exec(e.textContent))&&""!==i[n];){if(!o(i[n],e))continue;let a=i.index;if(0!==n)for(let t=1;t<n;t++)a+=i[t].length;e=this.wrapRangeInTextNode(e,a,a+i[n].length),r(e.previousSibling),t.lastIndex=0}})),i()}))}wrapMatchesAcrossElements(t,e,o,r,i){const n=0===e?0:e+1;this.getTextNodes((e=>{let a;for(;null!==(a=t.exec(e.value))&&""!==a[n];){let i=a.index;if(0!==n)for(let t=1;t<n;t++)i+=a[t].length;const s=i+a[n].length;this.wrapRangeInMappedTextNode(e,i,s,(t=>o(a[n],t)),((e,o)=>{t.lastIndex=o,r(e)}))}i()}))}wrapRangeFromIndex(t,e,o,r){this.getTextNodes((i=>{const n=i.value.length;t.forEach(((t,r)=>{let{start:a,end:s,valid:l}=this.checkWhitespaceRanges(t,n,i.value);l&&this.wrapRangeInMappedTextNode(i,a,s,(o=>e(o,t,i.value.substring(a,s),r)),(e=>{o(e,t)}))})),r()}))}unwrapMatches(t){const e=t.parentNode;let o=document.createDocumentFragment();for(;t.firstChild;)o.appendChild(t.removeChild(t.firstChild));e.replaceChild(o,t),this.ie?this.normalizeTextNode(e):e.normalize()}normalizeTextNode(t){if(t){if(3===t.nodeType)for(;t.nextSibling&&3===t.nextSibling.nodeType;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,e){this.opt=e,this.log(`Searching with expression "${t}"`);let o=0,r="wrapMatches";this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),this[r](t,this.opt.ignoreGroups,((t,e)=>this.opt.filter(e,t,o)),(t=>{o++,this.opt.each(t)}),(()=>{0===o&&this.opt.noMatch(t),this.opt.done(o)}))}mark(t,e){this.opt=e;let o=0,r="wrapMatches";const{keywords:i,length:n}=this.getSeparatedKeywords("string"==typeof t?[t]:t),a=this.opt.caseSensitive?"":"i",s=t=>{let e=new RegExp(this.createRegExp(t),`gm${a}`),l=0;this.log(`Searching with expression "${e}"`),this[r](e,1,((e,r)=>this.opt.filter(r,t,o,l)),(t=>{l++,o++,this.opt.each(t)}),(()=>{0===l&&this.opt.noMatch(t),i[n-1]===t?this.opt.done(o):s(i[i.indexOf(t)+1])}))};this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),0===n?this.opt.done(o):s(i[0])}markRanges(t,e){this.opt=e;let o=0,r=this.checkRanges(t);r&&r.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(r)),this.wrapRangeFromIndex(r,((t,e,o,r)=>this.opt.filter(t,e,o,r)),((t,e)=>{o++,this.opt.each(t,e)}),(()=>{this.opt.done(o)}))):this.opt.done(o)}unmark(t){this.opt=t;let e=this.opt.element?this.opt.element:"*";e+="[data-markjs]",this.opt.className&&(e+=`.${this.opt.className}`),this.log(`Removal selector "${e}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,(t=>{this.unwrapMatches(t)}),(t=>{const o=ki.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},Li=mo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Ui=ht`
92
141
  .highlight-html-match {
93
- background: ${Fe};
142
+ background: ${Li};
94
143
  }
95
- `;const Be=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:Li,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
+ `,ji=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 De=mt`
165
+ `,zi=ht`
117
166
  .ft-safari-ellipsis-fix {
118
167
  margin-right: 0;
119
168
 
@@ -124,127 +173,127 @@ 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 Me,Pe,He;const je=Symbol("internalReduxEventsUnsubscribers"),Te=Symbol("internalStoresUnsubscribers"),_e=Symbol("internalStores");class Ge extends Ze{constructor(){super(...arguments),this[Me]=new Map,this[Pe]=new Map,this[He]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[_e].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[_e].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[_e].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[_e].delete(o)}setupStore(t,o){this[_e].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[_e].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[Te].has(t.store):this[Te].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Te].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[je].push((()=>o.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Te].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[je].forEach((t=>t())),this[je]=[]}unsubscribeFromStore(t){this[Te].has(t)&&this[Te].get(t)(),this[Te].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}Me=Te,Pe=_e,He=je,Ge.reduxProperties=new Map,Ge.reduxReactiveProperties=new Set,Ge.reduxEventListeners=new Map,window.ftReduxStores||(window.ftReduxStores={});const Ye=Symbol("elementInternals");var Ve,Je,qe;const Xe=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(qe=null===(Je=null===(Ve=window.safari)||void 0===Ve?void 0:Ve.pushNotification)||void 0===Je?void 0:Je.toString())&&void 0!==qe?qe:""),Qe=mt`
176
+ `;var _i=Object.freeze({__proto__:null,noTextSelect:Ai,safariEllipsisFix:zi,wordWrap:ji}),Bi=Object.freeze({__proto__:null});var Ki=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[_n]}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)===Bn}(t)||Array.isArray(t)||!!t[zn]||!!(null===(e=t.constructor)||void 0===e?void 0:e[zn])||nn(t)||an(t))}function Qi(t,e,o){void 0===o&&(o=!1),0===tn(t)?(o?Object.keys:Kn)(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[_n];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 ln(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Pn(t);delete e[_n];for(var o=Kn(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 cn(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 cn(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 Ln}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===Ln&&(Ln=t.l)}function bn(t){return Ln={p:[],l:Ln,h:t,m:!0,_:0}}function mn(t){var e=t[_n];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[_n].P&&(yn(e),Yi(4)),Xi(t)&&(t=xn(e,t),e.l||wn(e,t)),e.u&&hn("Patches").M(o[_n].t,t,e.u,e.s)):t=xn(e,o,[]),yn(e),e.u&&e.v(e.u,e.s),t!==jn?t:void 0}function xn(t,e,o){if(pn(e))return e;var r=e[_n];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=ln(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&&cn(e,o)}function Sn(t,e){var o=t[_n];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=ln(t.t))}function $n(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,l=a.proxy;return r.k=l,r.j=s,l}(e,o):hn("ES5").J(e,o);return(o?o.A:un()).p.push(r),r}function Rn(t){return Ji(t)||Yi(22,t),function t(e){if(!Xi(e))return e;var o,r=e[_n],i=tn(e);if(r){if(!r.P&&(r.i<4||!hn("ES5").K(r)))return r.t;r.I=!0,o=kn(e,i),r.I=!1}else o=kn(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 kn(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ln(t)}Di=Gi,Zi=Vi,Hi=Ti,qi.reduxProperties=new Map,qi.reduxReactiveProperties=new Set,qi.reduxEventListeners=new Map;var In,Ln,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,jn=Un?Symbol.for("immer-nothing"):((In={})["immer-nothing"]=!0,In),zn=Un?Symbol.for("immer-draftable"):"__$immer_draftable",_n=Un?Symbol.for("immer-state"):"__$immer_state",Bn=""+Object.prototype.constructor,Kn="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 Kn(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Mn={},Dn={get:function(t,e){if(e===_n)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]=$n(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[_n];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),l=$n(e,t,void 0),c=!0;try{a=o(l),c=!1}finally{c?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===jn&&(a=void 0),e.D&&cn(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=Rn(t));var e=bn(this),o=$n(this,t,void 0);return o[_n].C=!0,gn(e),o},e.finishDraft=function(t,e){var o=(t&&t[_n]).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,l=!1;function c(){s===a&&(s=a.slice())}function f(){if(l)throw new Error(Qn(3));return n}function p(t){if("function"!=typeof t)throw new Error(Qn(4));if(l)throw new Error(Qn(5));var e=!0;return c(),s.push(t),function(){if(e){if(l)throw new Error(Qn(6));e=!1,c();var o=s.indexOf(t);s.splice(o,1),a=null}}}function h(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(Qn(7));if(void 0===t.type)throw new Error(Qn(8));if(l)throw new Error(Qn(9));try{l=!0,n=i(n,t)}finally{l=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return h({type: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 l=a[s],c=o[l],f=t[l],p=c(f,e);if(void 0===p)throw e&&e.type,new Error(Qn(14));i[l]=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 la=sa();la.withExtraArgument=sa;var ca,fa=la,pa=(ca=function(t,e){return ca=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])},ca(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}ca(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 $a(){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 Ra(t){var e,o=$a(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?o():a,l=r.devTools,c=void 0===l||l,f=r.preloadedState,p=void 0===f?void 0:f,h=r.enhancers,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;c&&(g=Sa(Oa({trace:!1},"object"==typeof c&&c)));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 ka(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 La(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={},l={};function c(){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,l=e[2],c=void 0===l?void 0:l,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],l=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Ea(t())};else{var c=Ea(t);i=function(){return c}}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=[l]),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)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var o,r,n=i[t],c=e+"/"+t;"reducer"in n?(o=n.reducer,r=n.prepare):o=n,a[t]=o,s[c]=o,l[t]=r?ka(c,r):ka(c)})),{name:e,reducer:function(t,e){return o||(o=c()),o(t,e)},actions:l,caseReducers:a,getInitialState:function(){return o||(o=c()),o.getInitialState()}}}var 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 ja(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=ka(t+"/fulfilled",(function(t,e,o,r){return{payload:t,meta:wa(Oa({},r||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),i=ka(t+"/pending",(function(t,e,o){return{payload:void 0,meta:wa(Oa({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=ka(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,l,c){var f,p=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),h=new a;function 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:l,extra:c}),null===(x=g)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||h.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return h.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(i(p,t,null==(d=null==o?void 0:o.getPendingMeta)?void 0:d.call(o,{requestId:p,arg:t},{getState:l,extra:c}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:s,getState:l,extra:c,requestId:p,signal:h.signal,abort: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(ja)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var za="listenerMiddleware";ka(za+"/add"),ka(za+"/removeAll"),ka(za+"/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[_n];return Dn.get(e,t)},set:function(e){var o=this[_n];Dn.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var i=t[e][_n];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=Kn(o),i=r.length-1;i>=0;i--){var n=r[i];if(n!==_n){var a=e[n];if(void 0===a&&!en(e,n))return!0;var s=o[n],l=s&&s[_n];if(l?l.t!==a:!rn(s,a))return!0}}var c=!!e[_n];return r.length!==Kn(e).length+(c?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var r=0;r<e.length;r++)if(!e.hasOwnProperty(r))return!0;return!1}var i={};!function(t,e){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[_n];for(var a=Kn(n),s=0;s<a.length;s++){var l=a[s];n[l]=t(l,e||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(r,e),n={i:r?5:4,A:o?o.A:un(),P:!1,I:!1,R:{},l:o,t:e,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,_n,{value:n,writable:!0}),i},S:function(t,o,i){i?Ji(o)&&o[_n].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[_n];if(o){var i=o.t,n=o.k,a=o.R,s=o.i;if(4===s)Qi(n,(function(e){e!==_n&&(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 l=n.length;l<i.length;l++)a[l]=!1;else for(var c=i.length;c<n.length;c++)a[c]=!0;for(var f=Math.min(n.length,i.length),p=0;p<f;p++)n.hasOwnProperty(p)||(a[p]=!0),void 0===a[p]&&t(n[p])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class _a{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=La({...r,reducers:null!==(e=r.reducers)&&void 0!==e?e:{}}),a=Ra({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 _a(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 Ba=Object.freeze({__proto__:null,FtCommandQueue:Pi,FtLitElementRedux:qi,FtReduxStore:_a,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 Ka=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");function Ma(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)}}}var Da,Za,Ha,Ta,Ga=Object.freeze({__proto__:null,toFtFormComponent:Ma});const Va=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ha=null===(Za=null===(Da=window.safari)||void 0===Da?void 0:Da.pushNotification)||void 0===Za?void 0:Za.toString())&&void 0!==Ha?Ha:""),qa="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(Ta=window.ftGlobals)&&void 0!==Ta?Ta:{lit:ve,litDecorators:ke,litRepeat:Me,litClassMap:Ze,litStyleMap:Ve,litUnsafeHTML:Je,wcUtils:{...oo,...eo,...io,...ao,...go,...cr,...ur,...gi,...sr,...$i,...Ri,...po,...Fi,..._i,...Bi,...Ki,...Ba,...Oi,...Ka,...Ga,isSafari:Va,isTouchScreen:qa}};const Ya=ht`
128
177
  :host {
129
178
  display: inline-block;
130
179
  }
131
- `;var ti;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(ti||(ti={}));var oi=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 ei extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const ii=Symbol("registerInterval");class ri extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[ii]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[ii]):this.dispatchEvent(new ei)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=ii,oi([$()],e.prototype,"stateManager",void 0),e}(Ge)){}var ni=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 ai extends Event{constructor(){super("register-ft-reader-topic-component",{bubbles:!0,composed:!0})}}const si=Symbol("registerInterval");class li extends(function(t){var o;class e extends t{constructor(){super(...arguments),this.disableContextInteractions=!1,this[o]=0}connectedCallback(){super.connectedCallback(),this[si]=window.setInterval((()=>this.tryToRegisterToTopicContext()),50)}tryToRegisterToTopicContext(){null!=this.tocNode?window.clearInterval(this[si]):this.dispatchEvent(new ai)}disconnectedCallback(){super.disconnectedCallback(),this.tocNode=void 0}}return o=si,ni([$()],e.prototype,"tocNode",void 0),ni([$()],e.prototype,"disableContextInteractions",void 0),e}(ri)){}
180
+ `;var Ja;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(Ja||(Ja={}));var Xa=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 Qa extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const ts=Symbol("registerInterval");class es extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[ts]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[ts]):this.dispatchEvent(new Qa)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=ts,Xa([Se()],o.prototype,"stateManager",void 0),o}(qi)){}var os=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 rs extends Event{constructor(){super("register-ft-reader-topic-component",{bubbles:!0,composed:!0})}}const is=Symbol("registerInterval");class ns extends(function(t){var e;class o extends t{constructor(){super(...arguments),this.disableContextInteractions=!1,this[e]=0}connectedCallback(){super.connectedCallback(),this[is]=window.setInterval((()=>this.tryToRegisterToTopicContext()),50)}tryToRegisterToTopicContext(){null!=this.tocNode?window.clearInterval(this[is]):this.dispatchEvent(new rs)}disconnectedCallback(){super.disconnectedCallback(),this.tocNode=void 0}}return e=is,os([Se()],o.prototype,"tocNode",void 0),os([Se()],o.prototype,"disableContextInteractions",void 0),o}(es)){}
132
181
  /**
133
182
  * @license
134
183
  * Copyright 2020 Google LLC
135
184
  * SPDX-License-Identifier: BSD-3-Clause
136
- */const ci=Symbol.for(""),pi=t=>{if(t?.r===ci)return t?._$litStatic$},fi=t=>({_$litStatic$:t,r:ci}),hi=new Map,di=(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=pi(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=hi.get(t))&&(a.raw=a,hi.set(t,o=a)),e=s}return t(o,...e)})(q);var ui;!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"}(ui||(ui={}));const yi=vo.extend("--ft-typography-font-family","",$o.titleFont),gi=vo.extend("--ft-typography-font-family","",$o.contentFont),bi={fontFamily:gi,fontSize:vo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:vo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:vo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:vo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:vo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},mi=vo.extend("--ft-typography-title-font-family","",yi),xi=vo.extend("--ft-typography-title-font-size","",bi.fontSize,"20px"),vi=vo.extend("--ft-typography-title-font-weight","",bi.fontWeight,"normal"),Oi=vo.extend("--ft-typography-title-letter-spacing","",bi.letterSpacing,"0.15px"),Ni=vo.extend("--ft-typography-title-line-height","",bi.lineHeight,"1.2"),Si=vo.extend("--ft-typography-title-text-transform","",bi.textTransform,"inherit"),wi=vo.extend("--ft-typography-title-dense-font-family","",yi),Ci=vo.extend("--ft-typography-title-dense-font-size","",bi.fontSize,"14px"),$i=vo.extend("--ft-typography-title-dense-font-weight","",bi.fontWeight,"normal"),Ei=vo.extend("--ft-typography-title-dense-letter-spacing","",bi.letterSpacing,"0.105px"),Ri=vo.extend("--ft-typography-title-dense-line-height","",bi.lineHeight,"1.7"),Ui=vo.extend("--ft-typography-title-dense-text-transform","",bi.textTransform,"inherit"),Ii=vo.extend("--ft-typography-subtitle1-font-family","",gi),ki=vo.extend("--ft-typography-subtitle1-font-size","",bi.fontSize,"16px"),Wi=vo.extend("--ft-typography-subtitle1-font-weight","",bi.fontWeight,"600"),Li=vo.extend("--ft-typography-subtitle1-letter-spacing","",bi.letterSpacing,"0.144px"),zi=vo.extend("--ft-typography-subtitle1-line-height","",bi.lineHeight,"1.5"),Ki=vo.extend("--ft-typography-subtitle1-text-transform","",bi.textTransform,"inherit"),Zi=vo.extend("--ft-typography-subtitle2-font-family","",gi),Fi=vo.extend("--ft-typography-subtitle2-font-size","",bi.fontSize,"14px"),Bi=vo.extend("--ft-typography-subtitle2-font-weight","",bi.fontWeight,"normal"),Di=vo.extend("--ft-typography-subtitle2-letter-spacing","",bi.letterSpacing,"0.098px"),Ai=vo.extend("--ft-typography-subtitle2-line-height","",bi.lineHeight,"1.7"),Mi=vo.extend("--ft-typography-subtitle2-text-transform","",bi.textTransform,"inherit"),Pi=vo.extend("--ft-typography-body1-font-family","",gi),Hi=vo.extend("--ft-typography-body1-font-size","",bi.fontSize,"16px"),ji=vo.extend("--ft-typography-body1-font-weight","",bi.fontWeight,"normal"),Ti=vo.extend("--ft-typography-body1-letter-spacing","",bi.letterSpacing,"0.496px"),_i=vo.extend("--ft-typography-body1-line-height","",bi.lineHeight,"1.5"),Gi=vo.extend("--ft-typography-body1-text-transform","",bi.textTransform,"inherit"),Yi={fontFamily:vo.extend("--ft-typography-body2-font-family","",gi),fontSize:vo.extend("--ft-typography-body2-font-size","",bi.fontSize,"14px"),fontWeight:vo.extend("--ft-typography-body2-font-weight","",bi.fontWeight,"normal"),letterSpacing:vo.extend("--ft-typography-body2-letter-spacing","",bi.letterSpacing,"0.252px"),lineHeight:vo.extend("--ft-typography-body2-line-height","",bi.lineHeight,"1.4"),textTransform:vo.extend("--ft-typography-body2-text-transform","",bi.textTransform,"inherit")},Vi=vo.extend("--ft-typography-caption-font-family","",gi),Ji=vo.extend("--ft-typography-caption-font-size","",bi.fontSize,"12px"),qi=vo.extend("--ft-typography-caption-font-weight","",bi.fontWeight,"normal"),Xi=vo.extend("--ft-typography-caption-letter-spacing","",bi.letterSpacing,"0.396px"),Qi=vo.extend("--ft-typography-caption-line-height","",bi.lineHeight,"1.33"),tr=vo.extend("--ft-typography-caption-text-transform","",bi.textTransform,"inherit"),or=vo.extend("--ft-typography-breadcrumb-font-family","",gi),er=vo.extend("--ft-typography-breadcrumb-font-size","",bi.fontSize,"10px"),ir=vo.extend("--ft-typography-breadcrumb-font-weight","",bi.fontWeight,"normal"),rr=vo.extend("--ft-typography-breadcrumb-letter-spacing","",bi.letterSpacing,"0.33px"),nr=vo.extend("--ft-typography-breadcrumb-line-height","",bi.lineHeight,"1.6"),ar=vo.extend("--ft-typography-breadcrumb-text-transform","",bi.textTransform,"inherit"),sr=vo.extend("--ft-typography-overline-font-family","",gi),lr=vo.extend("--ft-typography-overline-font-size","",bi.fontSize,"10px"),cr=vo.extend("--ft-typography-overline-font-weight","",bi.fontWeight,"normal"),pr=vo.extend("--ft-typography-overline-letter-spacing","",bi.letterSpacing,"1.5px"),fr=vo.extend("--ft-typography-overline-line-height","",bi.lineHeight,"1.6"),hr=vo.extend("--ft-typography-overline-text-transform","",bi.textTransform,"uppercase"),dr={fontFamily:vo.extend("--ft-typography-button-font-family","",gi),fontSize:vo.extend("--ft-typography-button-font-size","",bi.fontSize,"14px"),fontWeight:vo.extend("--ft-typography-button-font-weight","",bi.fontWeight,"600"),letterSpacing:vo.extend("--ft-typography-button-letter-spacing","",bi.letterSpacing,"1.246px"),lineHeight:vo.extend("--ft-typography-button-line-height","",bi.lineHeight,"1.15"),textTransform:vo.extend("--ft-typography-button-text-transform","",bi.textTransform,"uppercase")},ur=mt`
185
+ */const as=Symbol.for(""),ss=t=>{if(t?.r===as)return t?._$litStatic$},ls=t=>({_$litStatic$:t,r:as}),cs=new Map,fs=(t=>(e,...o)=>{const r=o.length;let i,n;const a=[],s=[];let l,c=0,f=!1;for(;c<r;){for(l=e[c];c<r&&void 0!==(n=o[c],i=ss(n));)l+=i+e[++c],f=!0;c!==r&&s.push(n),a.push(l),c++}if(c===r&&a.push(e[r]),f){const t=a.join("$$lit$$");void 0===(e=cs.get(t))&&(a.raw=a,cs.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","",lr.titleFont),us=mo.extend("--ft-typography-font-family","",lr.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"),$s=mo.extend("--ft-typography-subtitle1-font-family","",us),Rs=mo.extend("--ft-typography-subtitle1-font-size","",ds.fontSize,"16px"),ks=mo.extend("--ft-typography-subtitle1-font-weight","",ds.fontWeight,"600"),Is=mo.extend("--ft-typography-subtitle1-letter-spacing","",ds.letterSpacing,"0.144px"),Ls=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"),js=mo.extend("--ft-typography-subtitle2-letter-spacing","",ds.letterSpacing,"0.098px"),zs=mo.extend("--ft-typography-subtitle2-line-height","",ds.lineHeight,"1.7"),_s=mo.extend("--ft-typography-subtitle2-text-transform","",ds.textTransform,"inherit"),Bs=mo.extend("--ft-typography-body1-font-family","",us),Ks=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={fontFamily:mo.extend("--ft-typography-body2-font-family","",us),fontSize:mo.extend("--ft-typography-body2-font-size","",ds.fontSize,"14px"),fontWeight:mo.extend("--ft-typography-body2-font-weight","",ds.fontWeight,"normal"),letterSpacing:mo.extend("--ft-typography-body2-letter-spacing","",ds.letterSpacing,"0.252px"),lineHeight:mo.extend("--ft-typography-body2-line-height","",ds.lineHeight,"1.4"),textTransform:mo.extend("--ft-typography-body2-text-transform","",ds.textTransform,"inherit")},Ts=mo.extend("--ft-typography-caption-font-family","",us),Gs=mo.extend("--ft-typography-caption-font-size","",ds.fontSize,"12px"),Vs=mo.extend("--ft-typography-caption-font-weight","",ds.fontWeight,"normal"),qs=mo.extend("--ft-typography-caption-letter-spacing","",ds.letterSpacing,"0.396px"),Ys=mo.extend("--ft-typography-caption-line-height","",ds.lineHeight,"1.33"),Js=mo.extend("--ft-typography-caption-text-transform","",ds.textTransform,"inherit"),Xs=mo.extend("--ft-typography-breadcrumb-font-family","",us),Qs=mo.extend("--ft-typography-breadcrumb-font-size","",ds.fontSize,"10px"),tl=mo.extend("--ft-typography-breadcrumb-font-weight","",ds.fontWeight,"normal"),el=mo.extend("--ft-typography-breadcrumb-letter-spacing","",ds.letterSpacing,"0.33px"),ol=mo.extend("--ft-typography-breadcrumb-line-height","",ds.lineHeight,"1.6"),rl=mo.extend("--ft-typography-breadcrumb-text-transform","",ds.textTransform,"inherit"),il=mo.extend("--ft-typography-overline-font-family","",us),nl=mo.extend("--ft-typography-overline-font-size","",ds.fontSize,"10px"),al=mo.extend("--ft-typography-overline-font-weight","",ds.fontWeight,"normal"),sl=mo.extend("--ft-typography-overline-letter-spacing","",ds.letterSpacing,"1.5px"),ll=mo.extend("--ft-typography-overline-line-height","",ds.lineHeight,"1.6"),cl=mo.extend("--ft-typography-overline-text-transform","",ds.textTransform,"uppercase"),fl={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")},pl=ht`
137
186
  .ft-typography--title {
138
- font-family: ${mi};
139
- font-size: ${xi};
140
- font-weight: ${vi};
141
- letter-spacing: ${Oi};
142
- line-height: ${Ni};
143
- text-transform: ${Si};
187
+ font-family: ${ys};
188
+ font-size: ${gs};
189
+ font-weight: ${bs};
190
+ letter-spacing: ${ms};
191
+ line-height: ${vs};
192
+ text-transform: ${xs};
144
193
  }
145
- `,yr=mt`
194
+ `,hl=ht`
146
195
  .ft-typography--title-dense {
147
- font-family: ${wi};
148
- font-size: ${Ci};
149
- font-weight: ${$i};
150
- letter-spacing: ${Ei};
151
- line-height: ${Ri};
152
- text-transform: ${Ui};
196
+ font-family: ${Os};
197
+ font-size: ${ws};
198
+ font-weight: ${Ss};
199
+ letter-spacing: ${Ns};
200
+ line-height: ${Cs};
201
+ text-transform: ${Es};
153
202
  }
154
- `,gr=mt`
203
+ `,ul=ht`
155
204
  .ft-typography--subtitle1 {
156
- font-family: ${Ii};
157
- font-size: ${ki};
158
- font-weight: ${Wi};
159
- letter-spacing: ${Li};
160
- line-height: ${zi};
161
- text-transform: ${Ki};
205
+ font-family: ${$s};
206
+ font-size: ${Rs};
207
+ font-weight: ${ks};
208
+ letter-spacing: ${Is};
209
+ line-height: ${Ls};
210
+ text-transform: ${Us};
162
211
  }
163
- `,br=mt`
212
+ `,dl=ht`
164
213
  .ft-typography--subtitle2 {
165
- font-family: ${Zi};
166
- font-size: ${Fi};
167
- font-weight: ${Bi};
168
- letter-spacing: ${Di};
169
- line-height: ${Ai};
170
- text-transform: ${Mi};
214
+ font-family: ${Ws};
215
+ font-size: ${Fs};
216
+ font-weight: ${As};
217
+ letter-spacing: ${js};
218
+ line-height: ${zs};
219
+ text-transform: ${_s};
171
220
  }
172
221
 
173
- `,mr=mt`
222
+ `,yl=ht`
174
223
  .ft-typography--body1 {
175
- font-family: ${Pi};
176
- font-size: ${Hi};
177
- font-weight: ${ji};
178
- letter-spacing: ${Ti};
179
- line-height: ${_i};
180
- text-transform: ${Gi};
224
+ font-family: ${Bs};
225
+ font-size: ${Ks};
226
+ font-weight: ${Ps};
227
+ letter-spacing: ${Ms};
228
+ line-height: ${Ds};
229
+ text-transform: ${Zs};
181
230
  }
182
- `,xr=mt`
231
+ `,gl=ht`
183
232
  .ft-typography--body2 {
184
- font-family: ${Yi.fontFamily};
185
- font-size: ${Yi.fontSize};
186
- font-weight: ${Yi.fontWeight};
187
- letter-spacing: ${Yi.letterSpacing};
188
- line-height: ${Yi.lineHeight};
189
- text-transform: ${Yi.textTransform};
233
+ font-family: ${Hs.fontFamily};
234
+ font-size: ${Hs.fontSize};
235
+ font-weight: ${Hs.fontWeight};
236
+ letter-spacing: ${Hs.letterSpacing};
237
+ line-height: ${Hs.lineHeight};
238
+ text-transform: ${Hs.textTransform};
190
239
  }
191
- `,vr=mt`
240
+ `,bl=ht`
192
241
  .ft-typography--caption {
193
- font-family: ${Vi};
194
- font-size: ${Ji};
195
- font-weight: ${qi};
196
- letter-spacing: ${Xi};
197
- line-height: ${Qi};
198
- text-transform: ${tr};
242
+ font-family: ${Ts};
243
+ font-size: ${Gs};
244
+ font-weight: ${Vs};
245
+ letter-spacing: ${qs};
246
+ line-height: ${Ys};
247
+ text-transform: ${Js};
199
248
  }
200
- `,Or=mt`
249
+ `,ml=ht`
201
250
  .ft-typography--breadcrumb {
202
- font-family: ${or};
203
- font-size: ${er};
204
- font-weight: ${ir};
205
- letter-spacing: ${rr};
206
- line-height: ${nr};
207
- text-transform: ${ar};
251
+ font-family: ${Xs};
252
+ font-size: ${Qs};
253
+ font-weight: ${tl};
254
+ letter-spacing: ${el};
255
+ line-height: ${ol};
256
+ text-transform: ${rl};
208
257
  }
209
- `,Nr=mt`
258
+ `,vl=ht`
210
259
  .ft-typography--overline {
211
- font-family: ${sr};
212
- font-size: ${lr};
213
- font-weight: ${cr};
214
- letter-spacing: ${pr};
215
- line-height: ${fr};
216
- text-transform: ${hr};
260
+ font-family: ${il};
261
+ font-size: ${nl};
262
+ font-weight: ${al};
263
+ letter-spacing: ${sl};
264
+ line-height: ${ll};
265
+ text-transform: ${cl};
217
266
  }
218
- `,Sr=mt`
267
+ `,xl=ht`
219
268
  .ft-typography--button {
220
- font-family: ${dr.fontFamily};
221
- font-size: ${dr.fontSize};
222
- font-weight: ${dr.fontWeight};
223
- letter-spacing: ${dr.letterSpacing};
224
- line-height: ${dr.lineHeight};
225
- text-transform: ${dr.textTransform};
269
+ font-family: ${fl.fontFamily};
270
+ font-size: ${fl.fontSize};
271
+ font-weight: ${fl.fontWeight};
272
+ letter-spacing: ${fl.letterSpacing};
273
+ line-height: ${fl.lineHeight};
274
+ text-transform: ${fl.textTransform};
226
275
  }
227
- `,wr=mt`
276
+ `,Ol=ht`
228
277
  .ft-typography {
229
278
  vertical-align: inherit;
230
279
  }
231
- `,Cr=[Object.keys(So).map((t=>function(t){const o=So[t];return mt`
232
- .ft-typography--${bt(t)} {
233
- font-family: ${o.fontFamily};
234
- font-size: ${o.fontSize};
235
- font-weight: ${o.fontWeight};
236
- letter-spacing: ${o.letterSpacing};
237
- line-height: ${o.lineHeight};
238
- text-transform: ${o.textCase};
239
- }
240
- `}(t)))];var $r=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Er extends Ze{constructor(){super(...arguments),this.variant=ui.body1}render(){return this.element?di`
241
- <${fi(this.element)}
280
+ `,wl=[Object.keys(To).map((t=>function(t){const e=To[t];return ht`
281
+ .ft-typography--${pt(t)} {
282
+ font-family: ${e.fontFamily};
283
+ font-size: ${e.fontSize};
284
+ font-weight: ${e.fontWeight};
285
+ letter-spacing: ${e.letterSpacing};
286
+ line-height: ${e.lineHeight};
287
+ text-transform: ${e.textCase};
288
+ }
289
+ `}(t)))];var Sl=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 Nl extends Ei{constructor(){super(...arguments),this.variant=ps.body1}render(){return this.element?fs`
290
+ <${ls(this.element)}
242
291
  class="ft-typography ft-typography--${this.variant}">
243
292
  <slot></slot>
244
- </${fi(this.element)}>
245
- `:di`
293
+ </${ls(this.element)}>
294
+ `:fs`
246
295
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
247
- `}}Er.styles=[ur,yr,gr,br,mr,xr,vr,Or,Nr,Sr,wr,...Cr],$r([C()],Er.prototype,"element",void 0),$r([C()],Er.prototype,"variant",void 0),k("ft-typography")(Er);const Rr=vo.create("--ft-tooltip-distance","","SIZE","4px"),Ur=vo.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Ir=vo.create("--ft-tooltip-background-color","","COLOR","#666666"),kr=vo.create("--ft-tooltip-z-index","","NUMBER","100"),Wr=vo.external($o.borderRadiusS,"Design system"),Lr=vo.create("--ft-tooltip-max-width","","SIZE","150px"),zr=mt`
296
+ `}}Nl.styles=[pl,hl,ul,dl,yl,gl,bl,ml,vl,xl,Ol,...wl],Sl([we()],Nl.prototype,"element",void 0),Sl([we()],Nl.prototype,"variant",void 0),ho("ft-typography")(Nl);const Cl=mo.create("--ft-tooltip-distance","","SIZE","4px"),El=mo.create("--ft-tooltip-color","","COLOR","#FFFFFF"),$l=mo.create("--ft-tooltip-background-color","","COLOR","#666666"),Rl=mo.create("--ft-tooltip-z-index","","NUMBER","100"),kl=mo.external(lr.borderRadiusS,"Design system"),Il=mo.create("--ft-tooltip-max-width","","SIZE","150px"),Ll=ht`
248
297
  .ft-tooltip--container {
249
298
  display: block;
250
299
  }
@@ -259,21 +308,21 @@ const Re=window,Ue=Re.ShadowRoot&&(void 0===Re.ShadyCSS||Re.ShadyCSS.nativeShado
259
308
  box-sizing: border-box;
260
309
  overflow: hidden;
261
310
  width: max-content;
262
- max-width: ${Lr};
311
+ max-width: ${Il};
263
312
  text-align: center;
264
- padding: ${Rr};
265
- z-index: ${kr};
313
+ padding: ${Cl};
314
+ z-index: ${Rl};
266
315
  }
267
316
 
268
317
  .ft-tooltip--content {
269
318
  padding: 4px 8px;
270
- border-radius: ${Wr};
271
- background-color: ${Ir};
272
- color: ${Ur};
319
+ border-radius: ${kl};
320
+ background-color: ${$l};
321
+ color: ${El};
273
322
  position: relative;
274
323
  word-break: break-word;
275
324
  }
276
- `;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.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`
325
+ `;var Ul=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 Wl 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`
277
326
  <div part="container"
278
327
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
279
328
  @mouseenter=${this.onHover}
@@ -291,18 +340,7 @@ const Re=window,Ue=Re.ShadowRoot&&(void 0===Re.ShadyCSS||Re.ShadyCSS.nativeShado
291
340
  </div>
292
341
  </div>
293
342
  </div>
294
- `}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 Ce(t,o,{platform:{...we,getOffsetParent:t=>we.getOffsetParent(t,$e)},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 _o(t,l),f=Mo(Fo(r)),h=Do(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}}}}),Yo({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))}}Zr.elementDefinitions={"ft-typography":Er},Zr.styles=zr,Kr([C()],Zr.prototype,"text",void 0),Kr([C({type:Boolean})],Zr.prototype,"manual",void 0),Kr([C({type:Boolean})],Zr.prototype,"inline",void 0),Kr([C({type:Number})],Zr.prototype,"delay",void 0),Kr([C()],Zr.prototype,"position",void 0),Kr([function(t){return(o,e)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return R(0,0,{get(){const o=this.renderRoot?.querySelector(r);return o?.assignedNodes(t)??[]}})}}()],Zr.prototype,"slotNodes",void 0),Kr([U(".ft-tooltip--container")],Zr.prototype,"container",void 0),Kr([U(".ft-tooltip")],Zr.prototype,"tooltip",void 0),Kr([U(".ft-tooltip--content")],Zr.prototype,"tooltipContent",void 0),Kr([$()],Zr.prototype,"visible",void 0),Kr([E({passive:!0})],Zr.prototype,"onTouch",null),Kr([E({passive:!0})],Zr.prototype,"onHover",null),Kr([E({passive:!0})],Zr.prototype,"onOut",null),Kr([E({passive:!0})],Zr.prototype,"onClick",null),k("ft-tooltip")(Zr);
295
- /**
296
- * @license
297
- * Copyright 2017 Google LLC
298
- * SPDX-License-Identifier: BSD-3-Clause
299
- */
300
- const Fr=1,Br=2,Dr=t=>(...o)=>({_$litDirective$:t,values:o});class Ar{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)}}
301
- /**
302
- * @license
303
- * Copyright 2018 Google LLC
304
- * SPDX-License-Identifier: BSD-3-Clause
305
- */const Mr=Dr(class extends Ar{constructor(t){if(super(t),t.type!==Fr||"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}}),Pr=vo.extend("--ft-ripple-color","",$o.colorContent),Hr={color:Pr,backgroundColor:vo.extend("--ft-ripple-background-color","",Pr),opacityContentOnSurfacePressed:vo.external($o.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:vo.external($o.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:vo.external($o.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:vo.external($o.opacityContentOnSurfaceSelected,"Design system"),borderRadius:vo.create("--ft-ripple-border-radius","","SIZE","0px")},jr=vo.extend("--ft-ripple-color","",$o.colorPrimary),Tr=jr,_r=vo.extend("--ft-ripple-background-color","",jr),Gr=vo.extend("--ft-ripple-color","",$o.colorSecondary),Yr=Gr,Vr=vo.extend("--ft-ripple-background-color","",Gr),Jr=mt`
343
+ `}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))}}Wl.elementDefinitions={"ft-typography":Nl},Wl.styles=Ll,Ul([we()],Wl.prototype,"text",void 0),Ul([we({type:Boolean})],Wl.prototype,"manual",void 0),Ul([we({type:Boolean})],Wl.prototype,"inline",void 0),Ul([we({type:Number})],Wl.prototype,"delay",void 0),Ul([we()],Wl.prototype,"position",void 0),Ul([Re()],Wl.prototype,"slotNodes",void 0),Ul([Ee(".ft-tooltip--container")],Wl.prototype,"container",void 0),Ul([Ee(".ft-tooltip")],Wl.prototype,"tooltip",void 0),Ul([Ee(".ft-tooltip--content")],Wl.prototype,"tooltipContent",void 0),Ul([Se()],Wl.prototype,"visible",void 0),Ul([Ne({passive:!0})],Wl.prototype,"onTouch",null),Ul([Ne({passive:!0})],Wl.prototype,"onHover",null),Ul([Ne({passive:!0})],Wl.prototype,"onOut",null),Ul([Ne({passive:!0})],Wl.prototype,"onClick",null),ho("ft-tooltip")(Wl);const Fl=mo.extend("--ft-ripple-color","",lr.colorContent),Al={color:Fl,backgroundColor:mo.extend("--ft-ripple-background-color","",Fl),opacityContentOnSurfacePressed:mo.external(lr.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:mo.external(lr.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:mo.external(lr.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:mo.external(lr.opacityContentOnSurfaceSelected,"Design system"),borderRadius:mo.create("--ft-ripple-border-radius","","SIZE","0px")},jl=mo.extend("--ft-ripple-color","",lr.colorPrimary),zl=jl,_l=mo.extend("--ft-ripple-background-color","",jl),Bl=mo.extend("--ft-ripple-color","",lr.colorSecondary),Kl=Bl,Pl=mo.extend("--ft-ripple-background-color","",Bl),Ml=ht`
306
344
  :host {
307
345
  display: contents;
308
346
  }
@@ -315,7 +353,7 @@ const Fr=1,Br=2,Dr=t=>(...o)=>({_$litDirective$:t,values:o});class Ar{constructo
315
353
 
316
354
  .ft-ripple:not(.ft-ripple--unbounded) {
317
355
  overflow: hidden;
318
- border-radius: ${Hr.borderRadius};
356
+ border-radius: ${Al.borderRadius};
319
357
  }
320
358
 
321
359
  .ft-ripple .ft-ripple--background,
@@ -349,27 +387,27 @@ const Fr=1,Br=2,Dr=t=>(...o)=>({_$litDirective$:t,values:o});class Ar{constructo
349
387
  }
350
388
 
351
389
  .ft-ripple .ft-ripple--background {
352
- background-color: ${Hr.backgroundColor};
390
+ background-color: ${Al.backgroundColor};
353
391
  }
354
392
 
355
393
  .ft-ripple .ft-ripple--effect {
356
- background-color: ${Hr.color};
394
+ background-color: ${Al.color};
357
395
  }
358
396
 
359
397
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
360
- background-color: ${Vr};
398
+ background-color: ${Pl};
361
399
  }
362
400
 
363
401
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
364
- background-color: ${Yr};
402
+ background-color: ${Kl};
365
403
  }
366
404
 
367
405
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
368
- background-color: ${_r};
406
+ background-color: ${_l};
369
407
  }
370
408
 
371
409
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
372
- background-color: ${Tr};
410
+ background-color: ${zl};
373
411
  }
374
412
 
375
413
  .ft-ripple .ft-ripple--background {
@@ -399,39 +437,33 @@ const Fr=1,Br=2,Dr=t=>(...o)=>({_$litDirective$:t,values:o});class Ar{constructo
399
437
  }
400
438
 
401
439
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
402
- opacity: ${Hr.opacityContentOnSurfaceHover};
440
+ opacity: ${Al.opacityContentOnSurfaceHover};
403
441
  }
404
442
 
405
443
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
406
- opacity: ${Hr.opacityContentOnSurfaceSelected};
444
+ opacity: ${Al.opacityContentOnSurfaceSelected};
407
445
  }
408
446
 
409
447
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
410
- opacity: ${Hr.opacityContentOnSurfaceFocused};
448
+ opacity: ${Al.opacityContentOnSurfaceFocused};
411
449
  }
412
450
 
413
451
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
414
- opacity: ${Hr.opacityContentOnSurfacePressed};
452
+ opacity: ${Al.opacityContentOnSurfacePressed};
415
453
  transform: translate(-50%, -50%) scale(1);
416
454
  }
417
- `;var qr=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 Xr 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`
455
+ `;var Dl,Zl,Hl=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 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`
418
456
  <style>
419
457
  .ft-ripple .ft-ripple--effect {
420
458
  left: ${this.originX}px;
421
459
  top: ${this.originY}px;
422
460
  }
423
461
  </style>
424
- <div class="${Mr(t)}">
462
+ <div class="${De(t)}">
425
463
  <div class="ft-ripple--background"></div>
426
464
  <div class="ft-ripple--effect"></div>
427
465
  </div>
428
- `}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()}}Xr.elementDefinitions={},Xr.styles=Jr,qr([C({type:Boolean})],Xr.prototype,"primary",void 0),qr([C({type:Boolean})],Xr.prototype,"secondary",void 0),qr([C({type:Boolean})],Xr.prototype,"unbounded",void 0),qr([C({type:Boolean})],Xr.prototype,"activated",void 0),qr([C({type:Boolean})],Xr.prototype,"selected",void 0),qr([C({type:Boolean})],Xr.prototype,"disabled",void 0),qr([$()],Xr.prototype,"hovered",void 0),qr([$()],Xr.prototype,"focused",void 0),qr([$()],Xr.prototype,"pressed",void 0),qr([$()],Xr.prototype,"rippling",void 0),qr([$()],Xr.prototype,"originX",void 0),qr([$()],Xr.prototype,"originY",void 0),qr([U(".ft-ripple")],Xr.prototype,"ripple",void 0),qr([U(".ft-ripple--effect")],Xr.prototype,"rippleEffect",void 0),k("ft-ripple")(Xr);
429
- /**
430
- * @license
431
- * Copyright 2017 Google LLC
432
- * SPDX-License-Identifier: BSD-3-Clause
433
- */
434
- class Qr extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Br)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:[]}}}Qr.directiveName="unsafeHTML",Qr.resultType=1;const tn=Dr(Qr);var on,en;!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;"}(on||(on={})),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;"}(en||(en={})),new Map([...["abw"].map((t=>[t,en.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,en.AUDIO])),...["avi"].map((t=>[t,en.AVI])),...["chm","xhs"].map((t=>[t,en.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,en.CODE])),...["csv"].map((t=>[t,en.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,en.DITA])),...["epub"].map((t=>[t,en.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,en.EXCEL])),...["flac"].map((t=>[t,en.FLAC])),...["gif"].map((t=>[t,en.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,en.GZIP])),...["html","htm","xhtml"].map((t=>[t,en.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,en.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,en.JPEG])),...["json"].map((t=>[t,en.JSON])),...["m4a","m4p"].map((t=>[t,en.M4A])),...["mov","qt"].map((t=>[t,en.MOV])),...["mp3"].map((t=>[t,en.MP3])),...["mp4","m4v"].map((t=>[t,en.MP4])),...["ogg","oga"].map((t=>[t,en.OGG])),...["pdf","ps"].map((t=>[t,en.PDF])),...["png"].map((t=>[t,en.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,en.POWERPOINT])),...["rar"].map((t=>[t,en.RAR])),...["stp"].map((t=>[t,en.STP])),...["txt","rtf","md","mdown"].map((t=>[t,en.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,en.VIDEO])),...["wav"].map((t=>[t,en.WAV])),...["wma"].map((t=>[t,en.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,en.WORD])),...["xml","xsl","rdf"].map((t=>[t,en.XML])),...["yaml","yml","x-yaml"].map((t=>[t,en.YAML])),...["zip"].map((t=>[t,en.ZIP]))]),en.ABW,en.AUDIO,en.AVI,en.CHM,en.CODE,en.CSV,en.DITA,en.EPUB,en.EXCEL,en.FLAC,en.GIF,en.GZIP,en.HTML,en.IMAGE,en.JPEG,en.JSON,en.M4A,en.MOV,en.MP3,en.MP4,en.OGG,en.PDF,en.PNG,en.POWERPOINT,en.RAR,en.STP,en.TEXT,en.UNKNOWN,en.VIDEO,en.WAV,en.WMA,en.WORD,en.XML,en.YAML,en.ZIP;const rn={size:vo.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:vo.extend("--ft-icon-fluid-topics-font-family","",vo.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:vo.extend("--ft-icon-file-format-font-family","",vo.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:vo.extend("--ft-icon-material-font-family","",vo.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:vo.create("--ft-icon-vertical-align","","UNKNOWN","unset")},nn=mt`
466
+ `}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()}}Tl.elementDefinitions={},Tl.styles=Ml,Hl([we({type:Boolean})],Tl.prototype,"primary",void 0),Hl([we({type:Boolean})],Tl.prototype,"secondary",void 0),Hl([we({type:Boolean})],Tl.prototype,"unbounded",void 0),Hl([we({type:Boolean})],Tl.prototype,"activated",void 0),Hl([we({type:Boolean})],Tl.prototype,"selected",void 0),Hl([we({type:Boolean})],Tl.prototype,"disabled",void 0),Hl([Se()],Tl.prototype,"hovered",void 0),Hl([Se()],Tl.prototype,"focused",void 0),Hl([Se()],Tl.prototype,"pressed",void 0),Hl([Se()],Tl.prototype,"rippling",void 0),Hl([Se()],Tl.prototype,"originX",void 0),Hl([Se()],Tl.prototype,"originY",void 0),Hl([Ee(".ft-ripple")],Tl.prototype,"ripple",void 0),Hl([Ee(".ft-ripple--effect")],Tl.prototype,"rippleEffect",void 0),ho("ft-ripple")(Tl),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;"}(Dl||(Dl={})),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;"}(Zl||(Zl={})),new Map([...["abw"].map((t=>[t,Zl.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,Zl.AUDIO])),...["avi"].map((t=>[t,Zl.AVI])),...["chm","xhs"].map((t=>[t,Zl.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,Zl.CODE])),...["csv"].map((t=>[t,Zl.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Zl.DITA])),...["epub"].map((t=>[t,Zl.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Zl.EXCEL])),...["flac"].map((t=>[t,Zl.FLAC])),...["gif"].map((t=>[t,Zl.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Zl.GZIP])),...["html","htm","xhtml"].map((t=>[t,Zl.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,Zl.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Zl.JPEG])),...["json"].map((t=>[t,Zl.JSON])),...["m4a","m4p"].map((t=>[t,Zl.M4A])),...["mov","qt"].map((t=>[t,Zl.MOV])),...["mp3"].map((t=>[t,Zl.MP3])),...["mp4","m4v"].map((t=>[t,Zl.MP4])),...["ogg","oga"].map((t=>[t,Zl.OGG])),...["pdf","ps"].map((t=>[t,Zl.PDF])),...["png"].map((t=>[t,Zl.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Zl.POWERPOINT])),...["rar"].map((t=>[t,Zl.RAR])),...["stp"].map((t=>[t,Zl.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Zl.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,Zl.VIDEO])),...["wav"].map((t=>[t,Zl.WAV])),...["wma"].map((t=>[t,Zl.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Zl.WORD])),...["xml","xsl","rdf"].map((t=>[t,Zl.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Zl.YAML])),...["zip"].map((t=>[t,Zl.ZIP]))]),Zl.ABW,Zl.AUDIO,Zl.AVI,Zl.CHM,Zl.CODE,Zl.CSV,Zl.DITA,Zl.EPUB,Zl.EXCEL,Zl.FLAC,Zl.GIF,Zl.GZIP,Zl.HTML,Zl.IMAGE,Zl.JPEG,Zl.JSON,Zl.M4A,Zl.MOV,Zl.MP3,Zl.MP4,Zl.OGG,Zl.PDF,Zl.PNG,Zl.POWERPOINT,Zl.RAR,Zl.STP,Zl.TEXT,Zl.UNKNOWN,Zl.VIDEO,Zl.WAV,Zl.WMA,Zl.WORD,Zl.XML,Zl.YAML,Zl.ZIP;const Gl={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")},Vl=ht`
435
467
  :host, i.ft-icon {
436
468
  display: inline-flex;
437
469
  align-items: center;
@@ -440,14 +472,14 @@ class Qr extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Br)throw Error
440
472
  }
441
473
 
442
474
  :host {
443
- width: ${rn.size};
444
- height: ${rn.size};
475
+ width: ${Gl.size};
476
+ height: ${Gl.size};
445
477
  }
446
478
 
447
479
  i.ft-icon {
448
480
  width: 100%;
449
481
  height: 100%;
450
- font-size: ${rn.size};
482
+ font-size: ${Gl.size};
451
483
  line-height: 1;
452
484
  font-weight: normal;
453
485
  text-transform: none;
@@ -458,33 +490,33 @@ class Qr extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Br)throw Error
458
490
  text-rendering: auto;
459
491
  -webkit-font-smoothing: antialiased;
460
492
  -moz-osx-font-smoothing: grayscale;
461
- vertical-align: ${rn.verticalAlign};
493
+ vertical-align: ${Gl.verticalAlign};
462
494
  }
463
495
 
464
496
  i.ft-icon.ft-icon--fluid-topics {
465
- font-family: ${rn.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
497
+ font-family: ${Gl.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
466
498
 
467
499
  /* Ugly fix because font is broken */
468
- font-size: calc(0.75 * ${rn.size});
469
- line-height: ${rn.size};
500
+ font-size: calc(0.75 * ${Gl.size});
501
+ line-height: ${Gl.size};
470
502
  position: relative;
471
503
  top: -4%;
472
504
  justify-content: center;
473
505
  }
474
506
 
475
507
  .ft-icon--file-format {
476
- font-family: ${rn.fileFormatFontFamily}, ft-mime, sans-serif;
508
+ font-family: ${Gl.fileFormatFontFamily}, ft-mime, sans-serif;
477
509
  }
478
510
 
479
511
  .ft-icon--material {
480
- font-family: ${rn.materialFontFamily}, "Material Icons", sans-serif;
512
+ font-family: ${Gl.materialFontFamily}, "Material Icons", sans-serif;
481
513
  }
482
- `;var an;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(an||(an={}));var sn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ln extends Ze{constructor(){super(...arguments),this.resolvedIcon=eo}render(){const t=this.variant&&Object.values(an).includes(this.variant)?this.variant:an.fluid_topics,o=t!==an.material||!!this.value;return to`
514
+ `;var ql;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ql||(ql={}));var Yl=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 Jl extends Ei{constructor(){super(...arguments),this.resolvedIcon=te}render(){const t=this.variant&&Object.values(ql).includes(this.variant)?this.variant:ql.fluid_topics,e=t!==ql.material||!!this.value;return Jt`
483
515
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
484
- ${tn(this.resolvedIcon)}
485
- <slot ?hidden=${o}></slot>
516
+ ${Ye(this.resolvedIcon)}
517
+ <slot ?hidden=${e}></slot>
486
518
  </i>
487
- `}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 an.file_format:this.resolvedIcon=null!==(t=en[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case an.material:this.resolvedIcon=this.value||eo;break;default:this.resolvedIcon=null!==(o=on[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}ln.elementDefinitions={},ln.styles=nn,sn([C()],ln.prototype,"variant",void 0),sn([C()],ln.prototype,"value",void 0),sn([$()],ln.prototype,"resolvedIcon",void 0),sn([U("slot")],ln.prototype,"slottedContent",void 0),k("ft-icon")(ln);const cn={color:vo.extend("--ft-loader-color","",$o.colorPrimary),size:vo.create("--ft-loader-size","","SIZE","80px")},pn=mt`
519
+ `}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 ql.file_format:this.resolvedIcon=null!==(t=Zl[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case ql.material:this.resolvedIcon=this.value||te;break;default:this.resolvedIcon=null!==(e=Dl[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Jl.elementDefinitions={},Jl.styles=Vl,Yl([we()],Jl.prototype,"variant",void 0),Yl([we()],Jl.prototype,"value",void 0),Yl([Se()],Jl.prototype,"resolvedIcon",void 0),Yl([Ee("slot")],Jl.prototype,"slottedContent",void 0),ho("ft-icon")(Jl);const Xl={color:mo.extend("--ft-loader-color","",lr.colorPrimary),size:mo.create("--ft-loader-size","","SIZE","80px")},Ql=ht`
488
520
  :host {
489
521
  line-height: 0;
490
522
  }
@@ -493,8 +525,8 @@ class Qr extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Br)throw Error
493
525
  display: inline-block;
494
526
  position: relative;
495
527
 
496
- width: ${cn.size};
497
- height: ${cn.size};
528
+ width: ${Xl.size};
529
+ height: ${Xl.size};
498
530
  }
499
531
 
500
532
  .ft-loader div {
@@ -503,7 +535,7 @@ class Qr extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Br)throw Error
503
535
  width: 25%;
504
536
  height: 25%;
505
537
  border-radius: 50%;
506
- background: ${cn.color};
538
+ background: ${Xl.color};
507
539
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
508
540
  }
509
541
 
@@ -550,10 +582,10 @@ class Qr extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Br)throw Error
550
582
  transform: translate(0, 0);
551
583
  }
552
584
  100% {
553
- transform: translate(calc(0.35 * ${cn.size}), 0);
585
+ transform: translate(calc(0.35 * ${Xl.size}), 0);
554
586
  }
555
587
  }
556
- `,fn=vo.extend("--ft-button-color","",$o.colorPrimary),hn={backgroundColor:vo.extend("--ft-button-background-color","",$o.colorSurface),borderRadius:vo.extend("--ft-button-border-radius","",$o.borderRadiusL),color:fn,fontSize:vo.extend("--ft-button-font-size","",dr.fontSize),iconSize:vo.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:vo.extend("--ft-button-ripple-color","",fn),verticalPadding:vo.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:vo.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:vo.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:vo.external($o.colorOpacityDisabled,"Design system")},dn=vo.extend("--ft-button-primary-color","",vo.extend("--ft-button-color","",$o.colorOnPrimary)),un={backgroundColor:vo.extend("--ft-button-primary-background-color","",vo.extend("--ft-button-background-color","",$o.colorPrimary)),color:dn,rippleColor:vo.extend("--ft-button-primary-ripple-color","",dn)},yn=vo.extend("--ft-button-dense-border-radius","",vo.extend("--ft-button-border-radius","",$o.borderRadiusM)),gn=vo.create("--ft-button-dense-vertical-padding","","SIZE","2px"),bn=vo.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),mn=vo.create("--ft-button-dense-icon-padding","","SIZE","4px"),xn=[mt`
588
+ `,tc=mo.extend("--ft-button-color","",lr.colorPrimary),ec={backgroundColor:mo.extend("--ft-button-background-color","",lr.colorSurface),borderRadius:mo.extend("--ft-button-border-radius","",lr.borderRadiusL),color:tc,fontSize:mo.extend("--ft-button-font-size","",fl.fontSize),iconSize:mo.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:mo.extend("--ft-button-ripple-color","",tc),verticalPadding:mo.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:mo.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:mo.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:mo.external(lr.colorOpacityDisabled,"Design system")},oc=mo.extend("--ft-button-primary-color","",mo.extend("--ft-button-color","",lr.colorOnPrimary)),rc={backgroundColor:mo.extend("--ft-button-primary-background-color","",mo.extend("--ft-button-background-color","",lr.colorPrimary)),color:oc,rippleColor:mo.extend("--ft-button-primary-ripple-color","",oc)},ic=mo.extend("--ft-button-dense-border-radius","",mo.extend("--ft-button-border-radius","",lr.borderRadiusM)),nc=mo.create("--ft-button-dense-vertical-padding","","SIZE","2px"),ac=mo.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),sc=mo.create("--ft-button-dense-icon-padding","","SIZE","4px"),lc=[ht`
557
589
  :host {
558
590
  display: inline-block;
559
591
  max-width: 100%;
@@ -564,7 +596,7 @@ class Qr extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Br)throw Error
564
596
  box-shadow: 0px 0px 0px transparent;
565
597
  border: 0px solid transparent;
566
598
  text-shadow: 0px 0px 0px transparent;
567
- font-size: ${hn.fontSize};
599
+ font-size: ${ec.fontSize};
568
600
  }
569
601
 
570
602
  button:hover {
@@ -593,31 +625,31 @@ class Qr extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Br)throw Error
593
625
  border: none;
594
626
  pointer-events: auto;
595
627
 
596
- --ft-button-internal-line-height: max(calc(${hn.fontSize} + 2px), ${hn.iconSize});
597
- --ft-button-internal-color: ${hn.color};
598
- ${Oo(rn.size,hn.iconSize)};
599
- ${Oo(Hr.color,hn.rippleColor)};
628
+ --ft-button-internal-line-height: max(calc(${ec.fontSize} + 2px), ${ec.iconSize});
629
+ --ft-button-internal-color: ${ec.color};
630
+ ${vo(Gl.size,ec.iconSize)};
631
+ ${vo(Al.color,ec.rippleColor)};
600
632
 
601
- border-radius: ${hn.borderRadius};
602
- padding: ${hn.verticalPadding} ${hn.horizontalPadding};
603
- background-color: ${hn.backgroundColor};
633
+ border-radius: ${ec.borderRadius};
634
+ padding: ${ec.verticalPadding} ${ec.horizontalPadding};
635
+ background-color: ${ec.backgroundColor};
604
636
  color: var(--ft-button-internal-color);
605
637
  -webkit-mask-image: radial-gradient(white, black);
606
638
  }
607
639
 
608
640
  .ft-button.ft-button--outlined {
609
641
  border: 1px solid var(--ft-button-internal-color);
610
- padding: calc(${hn.verticalPadding} - 1px) calc(${hn.horizontalPadding} - 1px);
642
+ padding: calc(${ec.verticalPadding} - 1px) calc(${ec.horizontalPadding} - 1px);
611
643
  }
612
644
 
613
645
  .ft-button.ft-button--dense {
614
- padding: ${gn} ${bn};
615
- border-radius: ${yn};
616
- gap: ${mn};
646
+ padding: ${nc} ${ac};
647
+ border-radius: ${ic};
648
+ gap: ${sc};
617
649
  }
618
650
 
619
651
  .ft-button.ft-button--dense.ft-button--outlined {
620
- padding: calc(${gn} - 1px) calc(${bn} - 1px);
652
+ padding: calc(${nc} - 1px) calc(${ac} - 1px);
621
653
  }
622
654
 
623
655
  .ft-button:not([disabled]):hover {
@@ -625,22 +657,22 @@ class Qr extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Br)throw Error
625
657
  }
626
658
 
627
659
  .ft-button--round {
628
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${hn.verticalPadding});
660
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ec.verticalPadding});
629
661
  }
630
662
 
631
663
  .ft-button--round.ft-button--dense {
632
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${gn});
664
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${nc});
633
665
  }
634
666
 
635
667
  .ft-button[disabled] {
636
668
  filter: grayscale(1);
637
- opacity: ${hn.opacityDisabled};
669
+ opacity: ${ec.opacityDisabled};
638
670
  }
639
671
 
640
672
  .ft-button.ft-button--primary {
641
- background-color: ${un.backgroundColor};
642
- --ft-button-internal-color: ${un.color};
643
- ${Oo(Hr.color,un.rippleColor)};
673
+ background-color: ${rc.backgroundColor};
674
+ --ft-button-internal-color: ${rc.color};
675
+ ${vo(Al.color,rc.rippleColor)};
644
676
  }
645
677
 
646
678
  .ft-button:focus {
@@ -653,13 +685,13 @@ class Qr extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Br)throw Error
653
685
  white-space: nowrap;
654
686
  text-overflow: ellipsis;
655
687
  display: block;
656
- margin: 0 ${hn.iconPadding};
657
- ${Oo(dr.fontSize,"1em")};
658
- ${Oo(dr.lineHeight,"var(--ft-button-internal-line-height)")};
688
+ margin: 0 ${ec.iconPadding};
689
+ ${vo(fl.fontSize,"1em")};
690
+ ${vo(fl.lineHeight,"var(--ft-button-internal-line-height)")};
659
691
  }
660
692
 
661
693
  .ft-button--dense .ft-button--label {
662
- margin: 0 ${mn};
694
+ margin: 0 ${sc};
663
695
  }
664
696
 
665
697
  .ft-button--label[hidden] {
@@ -672,13 +704,13 @@ class Qr extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Br)throw Error
672
704
  }
673
705
 
674
706
  .ft-button--label[hidden] + ft-icon {
675
- margin: 0 calc(${hn.horizontalPadding} * -1);
676
- padding: 0 ${hn.verticalPadding};
707
+ margin: 0 calc(${ec.horizontalPadding} * -1);
708
+ padding: 0 ${ec.verticalPadding};
677
709
  }
678
710
 
679
711
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
680
- margin: 0 calc(${bn} * -1);
681
- padding: 0 ${gn};
712
+ margin: 0 calc(${ac} * -1);
713
+ padding: 0 ${nc};
682
714
  }
683
715
 
684
716
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -687,40 +719,40 @@ class Qr extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Br)throw Error
687
719
  }
688
720
 
689
721
  ft-loader {
690
- ${Oo(cn.size,hn.iconSize)};
691
- ${Oo(cn.color,"var(--ft-button-internal-color)")};
722
+ ${vo(Xl.size,ec.iconSize)};
723
+ ${vo(Xl.color,"var(--ft-button-internal-color)")};
692
724
  }
693
- `,Be];class vn extends Ze{render(){return to`
725
+ `,Ai];class cc extends Ei{render(){return Jt`
694
726
  <div class="ft-loader">
695
727
  <div></div>
696
728
  <div></div>
697
729
  <div></div>
698
730
  <div></div>
699
731
  </div>
700
- `}}vn.styles=pn,k("ft-loader")(vn);var On=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Nn extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Ye].form}constructor(...t){super(t),this[Ye]=this.attachInternals(),this[Ye].role=o}setFormValue(t){this[Ye].setFormValue(t)}}}(Ze,"button")){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",(t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}))}render(){return this.addTooltipIfNeeded(to`
732
+ `}}cc.styles=Ql,ho("ft-loader")(cc);var fc=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 pc extends(Ma(Ei,"button")){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",(t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}))}render(){return this.addTooltipIfNeeded(Jt`
701
733
  <button part="button"
702
- class="${Mr(this.buttonClasses)}"
734
+ class="${De(this.buttonClasses)}"
703
735
  aria-label="${this.getLabel()}"
704
736
  ?disabled=${this.isDisabled()}>
705
737
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
706
738
  <ft-typography part="label"
707
739
  variant=${this.typographyVariant}
708
740
  element="span"
709
- class="ft-button--label ${Xe?"ft-safari-ellipsis-fix":""}"
741
+ class="ft-button--label ${Va?"ft-safari-ellipsis-fix":""}"
710
742
  ?hidden=${!this.hasTextContent()}>
711
743
  <slot @slotchange=${this.onSlotchange}></slot>
712
744
  </ft-typography>
713
745
  ${this.resolveIcon()}
714
746
  </button>
715
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?to`
747
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Jt`
716
748
  <ft-tooltip part="tooltip"
717
749
  text="${this.getLabel()}"
718
750
  position="${this.tooltipPosition}">
719
751
  ${t}
720
752
  </ft-tooltip>
721
- `:t}resolveIcon(){return this.loading?to`
722
- <ft-loader part="loader icon"></ft-loader> `:this.icon?to`
723
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:eo}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Nn.elementDefinitions={"ft-ripple":Xr,"ft-tooltip":Zr,"ft-typography":Er,"ft-icon":ln,"ft-loader":vn},On([C({type:String,reflect:!0})],Nn.prototype,"role",void 0),On([C()],Nn.prototype,"type",void 0),On([C({type:Boolean})],Nn.prototype,"disabled",void 0),On([C()],Nn.prototype,"label",void 0),On([C()],Nn.prototype,"icon",void 0),On([C()],Nn.prototype,"iconVariant",void 0),On([C({type:Boolean})],Nn.prototype,"trailingIcon",void 0),On([C({type:Boolean})],Nn.prototype,"loading",void 0),On([C()],Nn.prototype,"tooltipPosition",void 0),On([C({type:Boolean})],Nn.prototype,"hideTooltip",void 0),On([C({type:Boolean})],Nn.prototype,"forceTooltip",void 0),On([U(".ft-button")],Nn.prototype,"button",void 0),On([U(".ft-button--label slot")],Nn.prototype,"slottedContent",void 0);var Sn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class wn extends Nn{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}wn.styles=[De,xn],Sn([C({type:Boolean})],wn.prototype,"primary",void 0),Sn([C({type:Boolean})],wn.prototype,"outlined",void 0),Sn([C({type:Boolean})],wn.prototype,"dense",void 0),Sn([C({type:Boolean})],wn.prototype,"round",void 0);const Cn=[mt`
753
+ `:t}resolveIcon(){return this.loading?Jt`
754
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?Jt`
755
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:te}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}pc.elementDefinitions={"ft-ripple":Tl,"ft-tooltip":Wl,"ft-typography":Nl,"ft-icon":Jl,"ft-loader":cc},fc([we({type:String,reflect:!0})],pc.prototype,"role",void 0),fc([we()],pc.prototype,"type",void 0),fc([we({type:Boolean})],pc.prototype,"disabled",void 0),fc([we()],pc.prototype,"label",void 0),fc([we()],pc.prototype,"icon",void 0),fc([we()],pc.prototype,"iconVariant",void 0),fc([we({type:Boolean})],pc.prototype,"trailingIcon",void 0),fc([we({type:Boolean})],pc.prototype,"loading",void 0),fc([we()],pc.prototype,"tooltipPosition",void 0),fc([we({type:Boolean})],pc.prototype,"hideTooltip",void 0),fc([we({type:Boolean})],pc.prototype,"forceTooltip",void 0),fc([Ee(".ft-button")],pc.prototype,"button",void 0),fc([Ee(".ft-button--label slot")],pc.prototype,"slottedContent",void 0);var hc=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 uc extends pc{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}uc.styles=[zi,lc],hc([we({type:Boolean})],uc.prototype,"primary",void 0),hc([we({type:Boolean})],uc.prototype,"outlined",void 0),hc([we({type:Boolean})],uc.prototype,"dense",void 0),hc([we({type:Boolean})],uc.prototype,"round",void 0);const dc=[ht`
724
756
  :host {
725
757
  display: inline-block;
726
758
  max-width: 100%;
@@ -770,7 +802,7 @@ class Qr extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Br)throw Error
770
802
  }
771
803
 
772
804
  .ft-button:focus-visible {
773
- outline-color: ${Co.focusFocusRingColor};
805
+ outline-color: ${Vo.focusFocusRingColor};
774
806
  outline-style: solid;
775
807
  }
776
808
 
@@ -799,146 +831,146 @@ class Qr extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Br)throw Error
799
831
  /** Primary styles **/
800
832
 
801
833
  .ft-button--primary {
802
- ${Oo(cn.color,Co.primaryIconColor)};
834
+ ${vo(Xl.color,Vo.primaryIconColor)};
803
835
 
804
- ${Oo(Hr.color,Co.primaryStateLayerColor)};
805
- ${Oo(Hr.opacityContentOnSurfaceHover,Co.primaryStateLayerOpacityHover)};
806
- ${Oo(Hr.opacityContentOnSurfaceFocused,Co.primaryStateLayerOpacityFocus)};
807
- ${Oo(Hr.opacityContentOnSurfaceSelected,Co.primaryStateLayerOpacityActive)};
808
- ${Oo(Hr.opacityContentOnSurfacePressed,Co.primaryStateLayerOpacityActive)};
836
+ ${vo(Al.color,Vo.primaryStateLayerColor)};
837
+ ${vo(Al.opacityContentOnSurfaceHover,Vo.primaryStateLayerOpacityHover)};
838
+ ${vo(Al.opacityContentOnSurfaceFocused,Vo.primaryStateLayerOpacityFocus)};
839
+ ${vo(Al.opacityContentOnSurfaceSelected,Vo.primaryStateLayerOpacityActive)};
840
+ ${vo(Al.opacityContentOnSurfacePressed,Vo.primaryStateLayerOpacityActive)};
809
841
 
810
- background-color: ${Co.primaryBackgroundColor};
811
- color: ${Co.primaryColor};
842
+ background-color: ${Vo.primaryBackgroundColor};
843
+ color: ${Vo.primaryColor};
812
844
  border-style: none;
813
845
  }
814
846
 
815
847
  .ft-button--primary[disabled] {
816
- opacity: ${Co.primaryComponentOpacityDisabled};
848
+ opacity: ${Vo.primaryComponentOpacityDisabled};
817
849
  }
818
850
 
819
851
  .ft-button--primary ft-icon {
820
- color: ${Co.primaryIconColor};
852
+ color: ${Vo.primaryIconColor};
821
853
  }
822
854
 
823
855
  /** Secondary styles **/
824
856
 
825
857
  .ft-button--secondary {
826
- ${Oo(cn.color,Co.secondaryIconColor)};
858
+ ${vo(Xl.color,Vo.secondaryIconColor)};
827
859
 
828
- ${Oo(Hr.color,Co.secondaryStateLayerColor)};
829
- ${Oo(Hr.opacityContentOnSurfaceHover,Co.secondaryStateLayerOpacityHover)};
830
- ${Oo(Hr.opacityContentOnSurfaceFocused,Co.secondaryStateLayerOpacityFocus)};
831
- ${Oo(Hr.opacityContentOnSurfaceSelected,Co.secondaryStateLayerOpacityActive)};
832
- ${Oo(Hr.opacityContentOnSurfacePressed,Co.secondaryStateLayerOpacityActive)};
860
+ ${vo(Al.color,Vo.secondaryStateLayerColor)};
861
+ ${vo(Al.opacityContentOnSurfaceHover,Vo.secondaryStateLayerOpacityHover)};
862
+ ${vo(Al.opacityContentOnSurfaceFocused,Vo.secondaryStateLayerOpacityFocus)};
863
+ ${vo(Al.opacityContentOnSurfaceSelected,Vo.secondaryStateLayerOpacityActive)};
864
+ ${vo(Al.opacityContentOnSurfacePressed,Vo.secondaryStateLayerOpacityActive)};
833
865
 
834
- background-color: ${Co.secondaryBackgroundColor};
835
- color: ${Co.secondaryColor};
836
- border-color: ${Co.secondaryBorderColor};
866
+ background-color: ${Vo.secondaryBackgroundColor};
867
+ color: ${Vo.secondaryColor};
868
+ border-color: ${Vo.secondaryBorderColor};
837
869
  border-style: solid;
838
870
  }
839
871
 
840
872
  .ft-button--secondary[disabled] {
841
- opacity: ${Co.secondaryComponentOpacityDisabled};
873
+ opacity: ${Vo.secondaryComponentOpacityDisabled};
842
874
  }
843
875
 
844
876
  .ft-button--secondary ft-icon {
845
- color: ${Co.secondaryIconColor};
877
+ color: ${Vo.secondaryIconColor};
846
878
  }
847
879
 
848
880
  /** Tertiary styles **/
849
881
 
850
882
  .ft-button--tertiary {
851
- ${Oo(cn.color,Co.tertiaryIconColor)};
883
+ ${vo(Xl.color,Vo.tertiaryIconColor)};
852
884
 
853
- ${Oo(Hr.color,Co.tertiaryStateLayerColor)};
854
- ${Oo(Hr.opacityContentOnSurfaceHover,Co.tertiaryStateLayerOpacityHover)};
855
- ${Oo(Hr.opacityContentOnSurfaceFocused,Co.tertiaryStateLayerOpacityFocus)};
856
- ${Oo(Hr.opacityContentOnSurfaceSelected,Co.tertiaryStateLayerOpacityActive)};
857
- ${Oo(Hr.opacityContentOnSurfacePressed,Co.tertiaryStateLayerOpacityActive)};
885
+ ${vo(Al.color,Vo.tertiaryStateLayerColor)};
886
+ ${vo(Al.opacityContentOnSurfaceHover,Vo.tertiaryStateLayerOpacityHover)};
887
+ ${vo(Al.opacityContentOnSurfaceFocused,Vo.tertiaryStateLayerOpacityFocus)};
888
+ ${vo(Al.opacityContentOnSurfaceSelected,Vo.tertiaryStateLayerOpacityActive)};
889
+ ${vo(Al.opacityContentOnSurfacePressed,Vo.tertiaryStateLayerOpacityActive)};
858
890
 
859
- background-color: ${Co.tertiaryBackgroundColor};
860
- color: ${Co.tertiaryColor};
891
+ background-color: ${Vo.tertiaryBackgroundColor};
892
+ color: ${Vo.tertiaryColor};
861
893
  border-style: none;
862
894
  }
863
895
 
864
896
  .ft-button--tertiary[disabled] {
865
- opacity: ${Co.tertiaryComponentOpacityDisabled};
897
+ opacity: ${Vo.tertiaryComponentOpacityDisabled};
866
898
  }
867
899
 
868
900
  .ft-button--tertiary ft-icon {
869
- color: ${Co.tertiaryIconColor};
901
+ color: ${Vo.tertiaryIconColor};
870
902
  }
871
903
 
872
904
  /** Neutral styles **/
873
905
 
874
906
  .ft-button--neutral {
875
- ${Oo(cn.color,Co.neutralIconColor)};
907
+ ${vo(Xl.color,Vo.neutralIconColor)};
876
908
 
877
- ${Oo(Hr.backgroundColor,Co.neutralStateLayerColor)};
878
- ${Oo(Hr.opacityContentOnSurfaceHover,Co.neutralStateLayerOpacityHover)};
879
- ${Oo(Hr.opacityContentOnSurfaceFocused,Co.neutralStateLayerOpacityFocus)};
880
- ${Oo(Hr.opacityContentOnSurfaceSelected,Co.neutralStateLayerOpacityActive)};
881
- ${Oo(Hr.opacityContentOnSurfacePressed,Co.neutralStateLayerOpacityActive)};
909
+ ${vo(Al.backgroundColor,Vo.neutralStateLayerColor)};
910
+ ${vo(Al.opacityContentOnSurfaceHover,Vo.neutralStateLayerOpacityHover)};
911
+ ${vo(Al.opacityContentOnSurfaceFocused,Vo.neutralStateLayerOpacityFocus)};
912
+ ${vo(Al.opacityContentOnSurfaceSelected,Vo.neutralStateLayerOpacityActive)};
913
+ ${vo(Al.opacityContentOnSurfacePressed,Vo.neutralStateLayerOpacityActive)};
882
914
 
883
- background-color: ${Co.neutralBackgroundColor};
884
- color: ${Co.neutralColor};
915
+ background-color: ${Vo.neutralBackgroundColor};
916
+ color: ${Vo.neutralColor};
885
917
  border-style: none;
886
918
  }
887
919
 
888
920
  .ft-button--neutral[disabled] {
889
- opacity: ${Co.neutralComponentOpacityDisabled};
921
+ opacity: ${Vo.neutralComponentOpacityDisabled};
890
922
  }
891
923
 
892
924
  .ft-button--neutral ft-icon {
893
- color: ${Co.neutralIconColor};
925
+ color: ${Vo.neutralIconColor};
894
926
  }
895
927
 
896
928
  /** Large styles **/
897
929
 
898
930
  .ft-button--large {
899
- ${Oo(rn.size,Co.largeIconSize)};
900
- ${Oo(cn.size,Co.largeIconSize)};
931
+ ${vo(Gl.size,Vo.largeIconSize)};
932
+ ${vo(Xl.size,Vo.largeIconSize)};
901
933
 
902
- height: ${Co.largeHeight};
903
- padding: 0 ${Co.largeHorizontalPadding};
904
- gap: ${Co.largeGap};
905
- border-radius: ${Co.largeBorderRadius};
906
- border-width: ${Co.largeBorderWidth};
934
+ height: ${Vo.largeHeight};
935
+ padding: 0 ${Vo.largeHorizontalPadding};
936
+ gap: ${Vo.largeGap};
937
+ border-radius: ${Vo.largeBorderRadius};
938
+ border-width: ${Vo.largeBorderWidth};
907
939
  }
908
940
 
909
941
  .ft-button--large:focus-visible {
910
- outline-width: ${Co.largeFocusOutlineWidth};
911
- outline-offset: ${Co.largeFocusOutlineOffset};
942
+ outline-width: ${Vo.largeFocusOutlineWidth};
943
+ outline-offset: ${Vo.largeFocusOutlineOffset};
912
944
  }
913
945
 
914
946
  .ft-button--large.ft-button--icon-only {
915
- width: ${Co.largeIconOnlyWidth};
947
+ width: ${Vo.largeIconOnlyWidth};
916
948
  padding: unset;
917
949
  }
918
950
 
919
951
  /** Small styles **/
920
952
 
921
953
  .ft-button--small {
922
- ${Oo(rn.size,Co.smallIconSize)};
923
- ${Oo(cn.size,Co.smallIconSize)};
954
+ ${vo(Gl.size,Vo.smallIconSize)};
955
+ ${vo(Xl.size,Vo.smallIconSize)};
924
956
 
925
- height: ${Co.smallHeight};
926
- padding: 0 ${Co.smallHorizontalPadding};
927
- gap: ${Co.smallGap};
928
- border-radius: ${Co.smallBorderRadius};
929
- border-width: ${Co.smallBorderWidth};
957
+ height: ${Vo.smallHeight};
958
+ padding: 0 ${Vo.smallHorizontalPadding};
959
+ gap: ${Vo.smallGap};
960
+ border-radius: ${Vo.smallBorderRadius};
961
+ border-width: ${Vo.smallBorderWidth};
930
962
  }
931
963
 
932
964
  .ft-button--small:focus-visible {
933
- outline-width: ${Co.smallFocusOutlineWidth};
934
- outline-offset: ${Co.smallFocusOutlineOffset};
965
+ outline-width: ${Vo.smallFocusOutlineWidth};
966
+ outline-offset: ${Vo.smallFocusOutlineOffset};
935
967
  }
936
968
 
937
969
  .ft-button--small.ft-button--icon-only {
938
- width: ${Co.smallIconOnlyWidth};
970
+ width: ${Vo.smallIconOnlyWidth};
939
971
  padding: unset;
940
972
  }
941
- `,Be];var $n=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class En extends Nn{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?ui.caption1medium:ui.body2medium}}En.styles=[De,Cn],$n([C({type:Boolean})],En.prototype,"primary",void 0),$n([C({type:Boolean})],En.prototype,"secondary",void 0),$n([C({type:Boolean})],En.prototype,"tertiary",void 0),$n([C({type:Boolean})],En.prototype,"neutral",void 0),$n([C({type:Boolean})],En.prototype,"small",void 0),k("ft-button")(wn),k("ftds-button")(En);const Rn=vo.extend("--ft-chip-color","",$o.colorOnSurface),Un={backgroundColor:vo.extend("--ft-chip-background-color","",$o.colorSurface),color:Rn,fontSize:vo.extend("--ft-chip-font-size","",Yi.fontSize),iconSize:vo.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:vo.extend("--ft-chip-ripple-color","",Rn),horizontalPadding:vo.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:vo.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:vo.external($o.colorOutline,"Design system"),opacityDisabled:vo.external($o.colorOpacityDisabled,"Design system")},In=vo.extend("--ft-chip-highlighted-color","",vo.extend("--ft-chip-color","",$o.colorOnPrimary)),kn={backgroundColor:vo.extend("--ft-chip-highlighted-background-color","",vo.extend("--ft-chip-background-color","",$o.colorPrimary)),color:In,rippleColor:vo.extend("--ft-chip-highlighted-ripple-color","",In)},Wn=vo.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),Ln=vo.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),zn=[Be,mt`
973
+ `,Ai];var yc=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 gc extends pc{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?ps.caption1medium:ps.body2medium}}gc.styles=[zi,dc],yc([we({type:Boolean})],gc.prototype,"primary",void 0),yc([we({type:Boolean})],gc.prototype,"secondary",void 0),yc([we({type:Boolean})],gc.prototype,"tertiary",void 0),yc([we({type:Boolean})],gc.prototype,"neutral",void 0),yc([we({type:Boolean})],gc.prototype,"small",void 0),ho("ft-button")(uc),ho("ftds-button")(gc);const bc=mo.extend("--ft-chip-color","",lr.colorOnSurface),mc={backgroundColor:mo.extend("--ft-chip-background-color","",lr.colorSurface),color:bc,fontSize:mo.extend("--ft-chip-font-size","",Hs.fontSize),iconSize:mo.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:mo.extend("--ft-chip-ripple-color","",bc),horizontalPadding:mo.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:mo.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:mo.external(lr.colorOutline,"Design system"),opacityDisabled:mo.external(lr.colorOpacityDisabled,"Design system")},vc=mo.extend("--ft-chip-highlighted-color","",mo.extend("--ft-chip-color","",lr.colorOnPrimary)),xc={backgroundColor:mo.extend("--ft-chip-highlighted-background-color","",mo.extend("--ft-chip-background-color","",lr.colorPrimary)),color:vc,rippleColor:mo.extend("--ft-chip-highlighted-ripple-color","",vc)},Oc=mo.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),wc=mo.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),Sc=[Ai,ht`
942
974
  :host {
943
975
  display: inline-block;
944
976
  max-width: 100%;
@@ -954,20 +986,20 @@ class Qr extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Br)throw Error
954
986
  box-sizing: border-box;
955
987
  pointer-events: auto;
956
988
 
957
- --ft-chip-internal-font-size: ${Un.fontSize};
989
+ --ft-chip-internal-font-size: ${mc.fontSize};
958
990
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
959
- ${Oo(rn.size,Un.iconSize)};
960
- --ft-chip-internal-vertical-padding: ${Un.verticalPadding};
961
- --ft-chip-internal-horizontal-padding: ${Un.horizontalPadding};
991
+ ${vo(Gl.size,mc.iconSize)};
992
+ --ft-chip-internal-vertical-padding: ${mc.verticalPadding};
993
+ --ft-chip-internal-horizontal-padding: ${mc.horizontalPadding};
962
994
  --ft-chip-internal-icon-padding: 3px;
963
- --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Un.iconSize});
995
+ --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${mc.iconSize});
964
996
 
965
- border: 1px solid ${Un.colorOutline};
966
- color: ${Un.color};
967
- ${Oo(Hr.color,Un.rippleColor)};
997
+ border: 1px solid ${mc.colorOutline};
998
+ color: ${mc.color};
999
+ ${vo(Al.color,mc.rippleColor)};
968
1000
  border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
969
1001
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
970
- background-color: ${Un.backgroundColor};
1002
+ background-color: ${mc.backgroundColor};
971
1003
  line-height: var(--ft-chip-internal-content-height);
972
1004
  }
973
1005
 
@@ -977,8 +1009,8 @@ class Qr extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Br)throw Error
977
1009
 
978
1010
  .ft-chip--dense {
979
1011
  --ft-chip-internal-icon-padding: 3px;
980
- --ft-chip-internal-vertical-padding: ${Ln};
981
- --ft-chip-internal-horizontal-padding: ${Wn};
1012
+ --ft-chip-internal-vertical-padding: ${wc};
1013
+ --ft-chip-internal-horizontal-padding: ${Oc};
982
1014
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
983
1015
  }
984
1016
 
@@ -990,15 +1022,15 @@ class Qr extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Br)throw Error
990
1022
  cursor: default;
991
1023
  pointer-events: none;
992
1024
  filter: grayscale(1);
993
- opacity: ${Un.opacityDisabled};
1025
+ opacity: ${mc.opacityDisabled};
994
1026
  }
995
1027
 
996
1028
  .ft-chip--highlighted {
997
1029
  border: none;
998
1030
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
999
- background-color: ${kn.backgroundColor};
1000
- ${Oo(Hr.color,kn.rippleColor)};
1001
- color: ${kn.color};
1031
+ background-color: ${xc.backgroundColor};
1032
+ ${vo(Al.color,xc.rippleColor)};
1033
+ color: ${xc.color};
1002
1034
  }
1003
1035
 
1004
1036
  .ft-chip--clickable {
@@ -1028,9 +1060,9 @@ class Qr extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Br)throw Error
1028
1060
  }
1029
1061
 
1030
1062
  .ft-chip--icon-button {
1031
- ${Oo(hn.iconSize,Un.iconSize)};
1032
- ${Oo(hn.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
1033
- ${Oo(hn.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
1063
+ ${vo(ec.iconSize,mc.iconSize)};
1064
+ ${vo(ec.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
1065
+ ${vo(ec.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
1034
1066
  margin: calc((-1) * var(--ft-chip-internal-icon-padding));
1035
1067
  }
1036
1068
 
@@ -1038,8 +1070,8 @@ class Qr extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Br)throw Error
1038
1070
  vertical-align: bottom;
1039
1071
  display: block;
1040
1072
  margin: 0 var(--ft-chip-internal-horizontal-padding);
1041
- ${Oo(Yi.fontSize,"var(--ft-chip-internal-font-size)")};
1042
- ${Oo(Yi.lineHeight,"var(--ft-chip-internal-content-height)")};
1073
+ ${vo(Hs.fontSize,"var(--ft-chip-internal-font-size)")};
1074
+ ${vo(Hs.lineHeight,"var(--ft-chip-internal-content-height)")};
1043
1075
  }
1044
1076
 
1045
1077
  .ft-chip--safari-fix .ft-chip--label {
@@ -1075,8 +1107,8 @@ class Qr extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Br)throw Error
1075
1107
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
1076
1108
  order: -1;
1077
1109
  }
1078
- `];var Kn=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 Zn extends CustomEvent{constructor(){super("icon-click")}}class Fn extends Ze{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":Xe};return to`
1079
- <div class="${Mr(t)}"
1110
+ `];var Nc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Cc extends CustomEvent{constructor(){super("icon-click")}}class Ec extends Ei{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":Va};return Jt`
1111
+ <div class="${De(t)}"
1080
1112
  aria-label="${this.getLabel()}"
1081
1113
  tabindex="${this.interactionsOnChip?0:-1}"
1082
1114
  @keyup=${this.onKeyUp}>
@@ -1086,7 +1118,7 @@ class Qr extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Br)throw Error
1086
1118
  </ft-typography>
1087
1119
  ${this.internalIcon?this.renderIcon():null}
1088
1120
  </div>
1089
- `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?to`
1121
+ `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?Jt`
1090
1122
  <ft-button round
1091
1123
  class="ft-chip--icon-button"
1092
1124
  @click=${this.onIconClick}
@@ -1094,21 +1126,21 @@ class Qr extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Br)throw Error
1094
1126
  icon="${this.internalIcon}"
1095
1127
  label="${this.iconLabel}"
1096
1128
  ></ft-button>
1097
- `:to`
1129
+ `:Jt`
1098
1130
  <div class="ft-chip--icon-container ft-no-text-select">
1099
1131
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
1100
1132
  </div>
1101
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Zn))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Zn))}getLabel(){return this.label||this.textContent}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()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}Fn.elementDefinitions={"ft-ripple":Xr,"ft-typography":Er,"ft-icon":ln,"ft-button":wn},Fn.styles=zn,Kn([C({type:Boolean})],Fn.prototype,"highlighted",void 0),Kn([C({type:Boolean})],Fn.prototype,"removable",void 0),Kn([C({type:Boolean})],Fn.prototype,"disabled",void 0),Kn([C({type:Boolean})],Fn.prototype,"clickable",void 0),Kn([C({type:Boolean})],Fn.prototype,"iconClickable",void 0),Kn([C({type:Boolean})],Fn.prototype,"dense",void 0),Kn([C({type:Boolean})],Fn.prototype,"multiLine",void 0),Kn([C()],Fn.prototype,"label",void 0),Kn([C()],Fn.prototype,"iconLabel",void 0),Kn([C()],Fn.prototype,"icon",void 0),Kn([C()],Fn.prototype,"iconVariant",void 0),Kn([C({type:Boolean})],Fn.prototype,"trailingIcon",void 0),Kn([U("ft-typography slot")],Fn.prototype,"slottedContent",void 0),k("ft-chip")(Fn);var Bn=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 Dn extends li{constructor(){super(...arguments),this.multiLine=!1,this.editorMode=!1}render(){return to`
1133
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Cc))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Cc))}getLabel(){return this.label||this.textContent}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()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}Ec.elementDefinitions={"ft-ripple":Tl,"ft-typography":Nl,"ft-icon":Jl,"ft-button":uc},Ec.styles=Sc,Nc([we({type:Boolean})],Ec.prototype,"highlighted",void 0),Nc([we({type:Boolean})],Ec.prototype,"removable",void 0),Nc([we({type:Boolean})],Ec.prototype,"disabled",void 0),Nc([we({type:Boolean})],Ec.prototype,"clickable",void 0),Nc([we({type:Boolean})],Ec.prototype,"iconClickable",void 0),Nc([we({type:Boolean})],Ec.prototype,"dense",void 0),Nc([we({type:Boolean})],Ec.prototype,"multiLine",void 0),Nc([we()],Ec.prototype,"label",void 0),Nc([we()],Ec.prototype,"iconLabel",void 0),Nc([we()],Ec.prototype,"icon",void 0),Nc([we()],Ec.prototype,"iconVariant",void 0),Nc([we({type:Boolean})],Ec.prototype,"trailingIcon",void 0),Nc([Ee("ft-typography slot")],Ec.prototype,"slottedContent",void 0),ho("ft-chip")(Ec);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 Rc extends ns{constructor(){super(...arguments),this.multiLine=!1,this.editorMode=!1}render(){return Jt`
1102
1134
  <ft-tooltip text="${this.tooltipText}">
1103
1135
  <ft-chip ?multiLine=${this.multiLine}>
1104
1136
  ${this.renderContent()}
1105
1137
  </ft-chip>
1106
1138
  </ft-tooltip>
1107
1139
  ${this.hideIfEmpty()}
1108
- `}renderContent(){return this.metadata?to`${this.valueText}`:this.key?to`no value for ${this.key}`:to`no metadata selected`}hideIfEmpty(){return this.editorMode||this.metadata?eo:to`
1140
+ `}renderContent(){return this.metadata?Jt`${this.valueText}`:this.key?Jt`no value for ${this.key}`:Jt`no metadata selected`}hideIfEmpty(){return this.editorMode||this.metadata?te:Jt`
1109
1141
  <style>
1110
1142
  :host {
1111
1143
  display: none !important;
1112
1144
  }
1113
1145
  </style>
1114
- `}get valueText(){var t,o;return null!==(o=null===(t=this.metadata)||void 0===t?void 0:t.values.join(", "))&&void 0!==o?o:""}get tooltipText(){var t,o;return this.metadata?`${null!==(o=null===(t=this.metadata)||void 0===t?void 0:t.label)&&void 0!==o?o:this.metadata.key}: ${this.valueText}`:""}update(t){super.update(t),["key","tocNode"].some((o=>t.has(o)))&&this.updateContent()}onStoreAvailable(){super.onStoreAvailable(),this.updateContent()}updateContent(){var t;this.metadata=void 0,this.tocNode&&this.key&&(null===(t=this.service)||void 0===t||t.getTopicInfo(this.tocNode).then((t=>this.metadata=t.metadata.find((t=>t.key===this.key)))).catch((()=>null)))}}Dn.elementDefinitions={"ft-tooltip":Zr,"ft-chip":Fn},Dn.styles=Qe,Bn([C()],Dn.prototype,"key",void 0),Bn([C({type:Boolean})],Dn.prototype,"multiLine",void 0),Bn([$()],Dn.prototype,"editorMode",void 0),Bn([$()],Dn.prototype,"metadata",void 0),k("ft-reader-topic-metadata")(Dn),t.FtReaderTopicMetadata=Dn,t.FtReaderTopicMetadataCssVariables={},t.styles=Qe}({});
1146
+ `}get valueText(){var t,e;return null!==(e=null===(t=this.metadata)||void 0===t?void 0:t.values.join(", "))&&void 0!==e?e:""}get tooltipText(){var t,e;return this.metadata?`${null!==(e=null===(t=this.metadata)||void 0===t?void 0:t.label)&&void 0!==e?e:this.metadata.key}: ${this.valueText}`:""}update(t){super.update(t),["key","tocNode"].some((e=>t.has(e)))&&this.updateContent()}onStoreAvailable(){super.onStoreAvailable(),this.updateContent()}updateContent(){var t;this.metadata=void 0,this.tocNode&&this.key&&(null===(t=this.service)||void 0===t||t.getTopicInfo(this.tocNode).then((t=>this.metadata=t.metadata.find((t=>t.key===this.key)))).catch((()=>null)))}}Rc.elementDefinitions={"ft-tooltip":Wl,"ft-chip":Ec},Rc.styles=Ya,$c([we()],Rc.prototype,"key",void 0),$c([we({type:Boolean})],Rc.prototype,"multiLine",void 0),$c([Se()],Rc.prototype,"editorMode",void 0),$c([Se()],Rc.prototype,"metadata",void 0),ho("ft-reader-topic-metadata")(Rc),t.FtReaderTopicMetadata=Rc,t.FtReaderTopicMetadataCssVariables={},t.styles=Ya}({});