@fluid-topics/ft-reader-toc 1.1.26 → 1.1.27

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,23 +12,23 @@
12
12
  * subject to an additional IP rights grant found at
13
13
  * http://polymer.github.io/PATENTS.txt
14
14
  */
15
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,r=window.customElements,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 p=o.call(r,t);p||(p=f(t),e.call(r,t,p)),this===window.customElements&&(a.set(i,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(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,p=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},f=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const r=p(o)||window.customElements,i=r._getDefinition(e);return i?u(o,i):n.set(o,r),o}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,e,o)=>{if(0===e.size||void 0===o)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);r.call(this,n,i),o.call(this,n,t,i)}else r.call(this,n,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);i.call(this,r),o.call(this,r,t,null)}else i.call(this,r)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const e=this.getAttribute(i);o.call(this,i,t,e)}else n.call(this,i,r)})},d=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):d(o)},u=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),i.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const r=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=r.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const r=e.call(this,...o);return t.set(r,this),r},o.forEach((e=>{const o=window.ElementInternals.prototype,r=o[e];o[e]=function(...e){const o=t.get(this);if(!0===i.get(o).formAssociated)return r?.call(this,...e);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const r=t.getAttribute("name"),i=e.get(r)||[];this[+o]=t,i.push(t),e.set(r,i)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=i.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(en){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)}}}class e{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}}
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(on){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}}
16
16
  /**
17
17
  * @license
18
18
  * Copyright 2019 Google LLC
19
19
  * SPDX-License-Identifier: BSD-3-Clause
20
- */const o=globalThis,r=o.ShadowRoot&&(void 0===o.ShadyCSS||o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,i=Symbol(),n=new WeakMap;const a=t=>new class{constructor(t,e,o){if(this._$cssResult$=!0,o!==i)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(r&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=n.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&n.set(e,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,i),s=r?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return a(e)})(t):t
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
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,e)=>t,x={toAttribute(t,e){switch(e){case Boolean:t=t?g: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)=>!l(t,e),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,e=O){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),r=this.getPropertyDescriptor(t,o,e);void 0!==r&&c(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:i}=p(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)??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,e=[...f(t),...h(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(s(t))}else void 0!==t&&e.push(s(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,e)=>{if(r)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const r of e){const e=document.createElement("style"),i=o.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=r.cssText,t.appendChild(e)}})(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:x).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:x;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){}};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: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");
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,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)};function C(t){return(e,o)=>"object"==typeof o?w(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)
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)
32
32
  /**
33
33
  * @license
34
34
  * Copyright 2017 Google LLC
@@ -38,60 +38,60 @@ const S={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v},w=(t=S,e,
38
38
  * @license
39
39
  * Copyright 2017 Google LLC
40
40
  * SPDX-License-Identifier: BSD-3-Clause
41
- */function R(t){return(e,o)=>{const r="function"==typeof e?e:e[o];Object.assign(r,t)}}
41
+ */function E(t){return(o,e)=>{const i="function"==typeof o?o:o[e];Object.assign(i,t)}}
42
42
  /**
43
43
  * @license
44
44
  * Copyright 2017 Google LLC
45
45
  * SPDX-License-Identifier: BSD-3-Clause
46
- */const E=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
46
+ */const R=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
47
47
  /**
48
48
  * @license
49
49
  * Copyright 2017 Google LLC
50
50
  * SPDX-License-Identifier: BSD-3-Clause
51
- */;function k(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 E(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 E(0,0,{get(){return n(this)}})}}
51
+ */;function I(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)}})}}
52
52
  /**
53
53
  * @license
54
54
  * Copyright 2017 Google LLC
55
55
  * SPDX-License-Identifier: BSD-3-Clause
56
- */function I(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(!I(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(!I(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(!I(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const U=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function L(t,e){const o=()=>JSON.parse(JSON.stringify(t));return C({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)=>!I(t,e),...null!=e?e:{}})}
56
+ */function U(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(!U(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(!U(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(!U(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)};function W(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)=>!U(t,o),...null!=o?o:{}})}
57
57
  /**
58
58
  * @license
59
59
  * Copyright 2017 Google LLC
60
60
  * SPDX-License-Identifier: BSD-3-Clause
61
- */const W=globalThis,z=W.trustedTypes,K=z?z.createPolicy("lit-html",{createHTML:t=>t}):void 0,F="$lit$",A=`lit$${(Math.random()+"").slice(9)}$`,Z="?"+A,B=`<${Z}>`,M=document,D=()=>M.createComment(""),P=t=>null===t||"object"!=typeof t&&"function"!=typeof t,H=Array.isArray,T=t=>H(t)||"function"==typeof t?.[Symbol.iterator],j="[ \t\n\f\r]",_=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,G=/-->/g,V=/>/g,Y=RegExp(`>|${j}(?:([^\\s"'>=/]+)(${j}*=${j}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),X=/'/g,J=/"/g,q=/^(?:script|style|textarea|title)$/i,Q=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),tt=Symbol.for("lit-noChange"),et=Symbol.for("lit-nothing"),ot=new WeakMap,rt=M.createTreeWalker(M,129);function it(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==K?K.createHTML(e):e}const nt=(t,e)=>{const o=t.length-1,r=[];let i,n=2===e?"<svg>":"",a=_;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,p=0;for(;p<o.length&&(a.lastIndex=p,l=a.exec(o),null!==l);)p=a.lastIndex,a===_?"!--"===l[1]?a=G:void 0!==l[1]?a=V:void 0!==l[2]?(q.test(l[2])&&(i=RegExp("</"+l[2],"g")),a=Y):void 0!==l[3]&&(a=Y):a===Y?">"===l[0]?(a=i??_,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?Y:'"'===l[3]?J:X):a===J||a===X?a=Y:a===G||a===V?a=_:(a=Y,i=void 0);const f=a===Y&&t[e+1].startsWith("/>")?" ":"";n+=a===_?o+B:c>=0?(r.push(s),o.slice(0,c)+F+o.slice(c)+A+f):o+A+(-2===c?e:f)}return[it(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),r]};let at=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,p]=nt(e,o);if(this.el=t.createElement(c,r),rt.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=rt.nextNode())&&l.length<s;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(F)){const e=p[a++],o=i.getAttribute(t).split(A),r=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:r[2],strings:o,ctor:"."===r[1]?ft:"?"===r[1]?ht:"@"===r[1]?dt:pt}),i.removeAttribute(t)}else t.startsWith(A)&&(l.push({type:6,index:n}),i.removeAttribute(t));if(q.test(i.tagName)){const t=i.textContent.split(A),e=t.length-1;if(e>0){i.textContent=z?z.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],D()),rt.nextNode(),l.push({type:2,index:++n});i.append(t[e],D())}}}else if(8===i.nodeType)if(i.data===Z)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(A,t+1));)l.push({type:7,index:n}),t+=A.length-1}n++}}static createElement(t,e){const o=M.createElement("template");return o.innerHTML=t,o}};function st(t,e,o=t,r){if(e===tt)return e;let i=void 0!==r?o._$Co?.[r]:o._$Cl;const n=P(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=st(t,i._$AS(t,e.values),i,r)),e}let lt=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??M).importNode(e,!0);rt.currentNode=r;let i=rt.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new ct(i,i.nextSibling,this,t):1===s.type?e=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(e=new ut(i,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(i=rt.nextNode(),n++)}return rt.currentNode=M,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++}},ct=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=et,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=st(this,t,e),P(t)?t===et||null==t||""===t?(this._$AH!==et&&this._$AR(),this._$AH=et):t!==this._$AH&&t!==tt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):T(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==et&&P(this._$AH)?this._$AA.nextSibling.data=t:this.$(M.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=at.createElement(it(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new lt(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=ot.get(t.strings);return void 0===e&&ot.set(t.strings,e=new at(t)),e}T(e){H(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(D()),this.k(D()),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))}},pt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=et,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=et}_$AI(t,e=this,o,r){const i=this.strings;let n=!1;if(void 0===i)t=st(this,t,e,0),n=!P(t)||t!==this._$AH&&t!==tt,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=st(this,r[o+a],e,a),s===tt&&(s=this._$AH[a]),n||=!P(s)||s!==this._$AH[a],s===et?t=et:t!==et&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===et?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ft=class extends pt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===et?void 0:t}},ht=class extends pt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==et)}},dt=class extends pt{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=st(this,t,e,0)??et)===tt)return;const o=this._$AH,r=t===et&&o!==et||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==et&&(o===et||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)}},ut=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){st(this,t)}};const yt={j:F,P:A,A:Z,C:1,M:nt,L:lt,R:T,V:st,D:ct,I:pt,H:ht,N:dt,U:ft,B:ut},gt=W.litHtmlPolyfillSupport;gt?.(at,ct),(W.litHtmlVersions??=[]).push("3.1.0");
61
+ */const L=globalThis,z=L.trustedTypes,K=z?z.createPolicy("lit-html",{createHTML:t=>t}):void 0,A="$lit$",F=`lit$${(Math.random()+"").slice(9)}$`,Z="?"+F,B=`<${Z}>`,D=document,M=()=>D.createComment(""),P=t=>null===t||"object"!=typeof t&&"function"!=typeof t,H=Array.isArray,T=t=>H(t)||"function"==typeof t?.[Symbol.iterator],j="[ \t\n\f\r]",_=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,G=/-->/g,V=/>/g,Y=RegExp(`>|${j}(?:([^\\s"'>=/]+)(${j}*=${j}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),X=/'/g,J=/"/g,q=/^(?:script|style|textarea|title)$/i,Q=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),tt=Symbol.for("lit-noChange"),ot=Symbol.for("lit-nothing"),et=new WeakMap,it=D.createTreeWalker(D,129);function rt(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==K?K.createHTML(o):o}const nt=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=_;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===_?"!--"===l[1]?a=G:void 0!==l[1]?a=V:void 0!==l[2]?(q.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=Y):void 0!==l[3]&&(a=Y):a===Y?">"===l[0]?(a=r??_,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?Y:'"'===l[3]?J:X):a===J||a===X?a=Y:a===G||a===V?a=_:(a=Y,r=void 0);const f=a===Y&&t[o+1].startsWith("/>")?" ":"";n+=a===_?e+B:c>=0?(i.push(s),e.slice(0,c)+A+e.slice(c)+F+f):e+F+(-2===c?o:f)}return[rt(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};let at=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]=nt(o,e);if(this.el=t.createElement(c,i),it.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=it.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(A)){const o=p[a++],e=r.getAttribute(t).split(F),i=/([.?@])?(.*)/.exec(o);l.push({type:1,index:n,name:i[2],strings:e,ctor:"."===i[1]?ft:"?"===i[1]?ht:"@"===i[1]?dt:pt}),r.removeAttribute(t)}else t.startsWith(F)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(q.test(r.tagName)){const t=r.textContent.split(F),o=t.length-1;if(o>0){r.textContent=z?z.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],M()),it.nextNode(),l.push({type:2,index:++n});r.append(t[o],M())}}}else if(8===r.nodeType)if(r.data===Z)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(F,t+1));)l.push({type:7,index:n}),t+=F.length-1}n++}}static createElement(t,o){const e=D.createElement("template");return e.innerHTML=t,e}};function st(t,o,e=t,i){if(o===tt)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=P(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=st(t,r._$AS(t,o.values),r,i)),o}let lt=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);it.currentNode=i;let r=it.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new ct(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new ut(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=it.nextNode(),n++)}return it.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++}},ct=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=ot,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=st(this,t,o),P(t)?t===ot||null==t||""===t?(this._$AH!==ot&&this._$AR(),this._$AH=ot):t!==this._$AH&&t!==tt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):T(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==ot&&P(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=at.createElement(rt(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new lt(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=et.get(t.strings);return void 0===o&&et.set(t.strings,o=new at(t)),o}T(o){H(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const n of o)r===e.length?e.push(i=new t(this.k(M()),this.k(M()),this,this.options)):i=e[r],i._$AI(n),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},pt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=ot,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=ot}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=st(this,t,o,0),n=!P(t)||t!==this._$AH&&t!==tt,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=st(this,i[e+a],o,a),s===tt&&(s=this._$AH[a]),n||=!P(s)||s!==this._$AH[a],s===ot?t=ot:t!==ot&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===ot?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ft=class extends pt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ot?void 0:t}},ht=class extends pt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ot)}},dt=class extends pt{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=st(this,t,o,0)??ot)===tt)return;const e=this._$AH,i=t===ot&&e!==ot||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==ot&&(e===ot||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)}},ut=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){st(this,t)}};const yt={j:A,P:F,A:Z,C:1,M:nt,L:lt,R:T,V:st,D:ct,I:pt,H:ht,N:dt,U:ft,B:ut},gt=L.litHtmlPolyfillSupport;gt?.(at,ct),(L.litHtmlVersions??=[]).push("3.1.0");
62
62
  /**
63
63
  * @license
64
64
  * Copyright 2019 Google LLC
65
65
  * SPDX-License-Identifier: BSD-3-Clause
66
66
  */
67
- const bt=globalThis,mt=bt.ShadowRoot&&(void 0===bt.ShadyCSS||bt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,xt=Symbol(),vt=new WeakMap;let Ot=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==xt)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(mt&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=vt.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&vt.set(e,t))}return t}toString(){return this.cssText}};const Nt=t=>new Ot("string"==typeof t?t:t+"",void 0,xt),St=(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 Ot(o,t,xt)},wt=mt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return Nt(e)})(t):t
67
+ const bt=globalThis,mt=bt.ShadowRoot&&(void 0===bt.ShadyCSS||bt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,xt=Symbol(),vt=new WeakMap;let Ot=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==xt)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(mt&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=vt.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&vt.set(o,t))}return t}toString(){return this.cssText}};const Nt=t=>new Ot("string"==typeof t?t:t+"",void 0,xt),St=(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 Ot(e,t,xt)},wt=mt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return Nt(o)})(t):t
68
68
  /**
69
69
  * @license
70
70
  * Copyright 2017 Google LLC
71
71
  * SPDX-License-Identifier: BSD-3-Clause
72
- */,{is:Ct,defineProperty:$t,getOwnPropertyDescriptor:Rt,getOwnPropertyNames:Et,getOwnPropertySymbols:kt,getPrototypeOf:It}=Object,Ut=globalThis,Lt=Ut.trustedTypes,Wt=Lt?Lt.emptyScript:"",zt=Ut.reactiveElementPolyfillSupport,Kt=(t,e)=>t,Ft={toAttribute(t,e){switch(e){case Boolean:t=t?Wt: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}},At=(t,e)=>!Ct(t,e),Zt={attribute:!0,type:String,converter:Ft,reflect:!1,hasChanged:At};Symbol.metadata??=Symbol("metadata"),Ut.litPropertyMetadata??=new WeakMap;class Bt 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=Zt){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&&$t(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:i}=Rt(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)??Zt}static _$Ei(){if(this.hasOwnProperty(Kt("elementProperties")))return;const t=It(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Kt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Kt("properties"))){const t=this.properties,e=[...Et(t),...kt(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(wt(t))}else void 0!==t&&e.push(wt(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,e)=>{if(mt)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),r=bt.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}})(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:Ft).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:Ft;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??At)(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){}}Bt.elementStyles=[],Bt.shadowRootOptions={mode:"open"},Bt[Kt("elementProperties")]=new Map,Bt[Kt("finalized")]=new Map,zt?.({ReactiveElement:Bt}),(Ut.reactiveElementVersions??=[]).push("2.0.2");
72
+ */,{is:Ct,defineProperty:$t,getOwnPropertyDescriptor:Et,getOwnPropertyNames:Rt,getOwnPropertySymbols:It,getPrototypeOf:Ut}=Object,kt=globalThis,Wt=kt.trustedTypes,Lt=Wt?Wt.emptyScript:"",zt=kt.reactiveElementPolyfillSupport,Kt=(t,o)=>t,At={toAttribute(t,o){switch(o){case Boolean:t=t?Lt: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}},Ft=(t,o)=>!Ct(t,o),Zt={attribute:!0,type:String,converter:At,reflect:!1,hasChanged:Ft};Symbol.metadata??=Symbol("metadata"),kt.litPropertyMetadata??=new WeakMap;class Bt 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=Zt){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&&$t(this.prototype,t,i)}}static getPropertyDescriptor(t,o,e){const{get:i,set:r}=Et(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)??Zt}static _$Ei(){if(this.hasOwnProperty(Kt("elementProperties")))return;const t=Ut(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Kt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Kt("properties"))){const t=this.properties,o=[...Rt(t),...It(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(wt(t))}else void 0!==t&&o.push(wt(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(mt)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),i=bt.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:At).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:At;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??Ft)(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){}}Bt.elementStyles=[],Bt.shadowRootOptions={mode:"open"},Bt[Kt("elementProperties")]=new Map,Bt[Kt("finalized")]=new Map,zt?.({ReactiveElement:Bt}),(kt.reactiveElementVersions??=[]).push("2.0.2");
73
73
  /**
74
74
  * @license
75
75
  * Copyright 2017 Google LLC
76
76
  * SPDX-License-Identifier: BSD-3-Clause
77
77
  */
78
- const Mt=globalThis,Dt=Mt.trustedTypes,Pt=Dt?Dt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Ht="$lit$",Tt=`lit$${(Math.random()+"").slice(9)}$`,jt="?"+Tt,_t=`<${jt}>`,Gt=document,Vt=()=>Gt.createComment(""),Yt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Xt=Array.isArray,Jt="[ \t\n\f\r]",qt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Qt=/-->/g,te=/>/g,ee=RegExp(`>|${Jt}(?:([^\\s"'>=/]+)(${Jt}*=${Jt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),oe=/'/g,re=/"/g,ie=/^(?:script|style|textarea|title)$/i,ne=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),ae=Symbol.for("lit-noChange"),se=Symbol.for("lit-nothing"),le=new WeakMap,ce=Gt.createTreeWalker(Gt,129);function pe(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Pt?Pt.createHTML(e):e}const fe=(t,e)=>{const o=t.length-1,r=[];let i,n=2===e?"<svg>":"",a=qt;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,p=0;for(;p<o.length&&(a.lastIndex=p,l=a.exec(o),null!==l);)p=a.lastIndex,a===qt?"!--"===l[1]?a=Qt:void 0!==l[1]?a=te:void 0!==l[2]?(ie.test(l[2])&&(i=RegExp("</"+l[2],"g")),a=ee):void 0!==l[3]&&(a=ee):a===ee?">"===l[0]?(a=i??qt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?ee:'"'===l[3]?re:oe):a===re||a===oe?a=ee:a===Qt||a===te?a=qt:(a=ee,i=void 0);const f=a===ee&&t[e+1].startsWith("/>")?" ":"";n+=a===qt?o+_t:c>=0?(r.push(s),o.slice(0,c)+Ht+o.slice(c)+Tt+f):o+Tt+(-2===c?e:f)}return[pe(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),r]};class he{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]=fe(t,e);if(this.el=he.createElement(l,o),ce.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ce.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Ht)){const e=c[n++],o=r.getAttribute(t).split(Tt),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:i,name:a[2],strings:o,ctor:"."===a[1]?ge:"?"===a[1]?be:"@"===a[1]?me:ye}),r.removeAttribute(t)}else t.startsWith(Tt)&&(s.push({type:6,index:i}),r.removeAttribute(t));if(ie.test(r.tagName)){const t=r.textContent.split(Tt),e=t.length-1;if(e>0){r.textContent=Dt?Dt.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],Vt()),ce.nextNode(),s.push({type:2,index:++i});r.append(t[e],Vt())}}}else if(8===r.nodeType)if(r.data===jt)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(Tt,t+1));)s.push({type:7,index:i}),t+=Tt.length-1}i++}}static createElement(t,e){const o=Gt.createElement("template");return o.innerHTML=t,o}}function de(t,e,o=t,r){if(e===ae)return e;let i=void 0!==r?o._$Co?.[r]:o._$Cl;const n=Yt(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=de(t,i._$AS(t,e.values),i,r)),e}class ue{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=se,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=de(this,t,e),Yt(t)?t===se||null==t||""===t?(this._$AH!==se&&this._$AR(),this._$AH=se):t!==this._$AH&&t!==ae&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Xt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==se&&Yt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Gt.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=he.createElement(pe(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new 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??Gt).importNode(e,!0);ce.currentNode=r;let i=ce.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new ue(i,i.nextSibling,this,t):1===s.type?e=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(e=new xe(i,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(i=ce.nextNode(),n++)}return ce.currentNode=Gt,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++}}(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=le.get(t.strings);return void 0===e&&le.set(t.strings,e=new he(t)),e}T(t){Xt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let o,r=0;for(const i of t)r===e.length?e.push(o=new ue(this.k(Vt()),this.k(Vt()),this,this.options)):o=e[r],o._$AI(i),r++;r<e.length&&(this._$AR(o&&o._$AB.nextSibling,r),e.length=r)}_$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))}}class ye{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=se,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=se}_$AI(t,e=this,o,r){const i=this.strings;let n=!1;if(void 0===i)t=de(this,t,e,0),n=!Yt(t)||t!==this._$AH&&t!==ae,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=de(this,r[o+a],e,a),s===ae&&(s=this._$AH[a]),n||=!Yt(s)||s!==this._$AH[a],s===se?t=se:t!==se&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===se?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class ge extends ye{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===se?void 0:t}}class be extends ye{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==se)}}class me extends ye{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=de(this,t,e,0)??se)===ae)return;const o=this._$AH,r=t===se&&o!==se||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==se&&(o===se||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)}}class xe{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){de(this,t)}}const ve=Mt.litHtmlPolyfillSupport;ve?.(he,ue),(Mt.litHtmlVersions??=[]).push("3.1.0");
78
+ const Dt=globalThis,Mt=Dt.trustedTypes,Pt=Mt?Mt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Ht="$lit$",Tt=`lit$${(Math.random()+"").slice(9)}$`,jt="?"+Tt,_t=`<${jt}>`,Gt=document,Vt=()=>Gt.createComment(""),Yt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Xt=Array.isArray,Jt="[ \t\n\f\r]",qt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Qt=/-->/g,to=/>/g,oo=RegExp(`>|${Jt}(?:([^\\s"'>=/]+)(${Jt}*=${Jt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),eo=/'/g,io=/"/g,ro=/^(?:script|style|textarea|title)$/i,no=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),ao=Symbol.for("lit-noChange"),so=Symbol.for("lit-nothing"),lo=new WeakMap,co=Gt.createTreeWalker(Gt,129);function po(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Pt?Pt.createHTML(o):o}const fo=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=qt;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===qt?"!--"===l[1]?a=Qt:void 0!==l[1]?a=to:void 0!==l[2]?(ro.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=oo):void 0!==l[3]&&(a=oo):a===oo?">"===l[0]?(a=r??qt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?oo:'"'===l[3]?io:eo):a===io||a===eo?a=oo:a===Qt||a===to?a=qt:(a=oo,r=void 0);const f=a===oo&&t[o+1].startsWith("/>")?" ":"";n+=a===qt?e+_t:c>=0?(i.push(s),e.slice(0,c)+Ht+e.slice(c)+Tt+f):e+Tt+(-2===c?o:f)}return[po(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class ho{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]=fo(t,o);if(this.el=ho.createElement(l,e),co.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=co.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Ht)){const o=c[n++],e=i.getAttribute(t).split(Tt),a=/([.?@])?(.*)/.exec(o);s.push({type:1,index:r,name:a[2],strings:e,ctor:"."===a[1]?bo:"?"===a[1]?mo:"@"===a[1]?xo:go}),i.removeAttribute(t)}else t.startsWith(Tt)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(ro.test(i.tagName)){const t=i.textContent.split(Tt),o=t.length-1;if(o>0){i.textContent=Mt?Mt.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],Vt()),co.nextNode(),s.push({type:2,index:++r});i.append(t[o],Vt())}}}else if(8===i.nodeType)if(i.data===jt)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Tt,t+1));)s.push({type:7,index:r}),t+=Tt.length-1}r++}}static createElement(t,o){const e=Gt.createElement("template");return e.innerHTML=t,e}}function uo(t,o,e=t,i){if(o===ao)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=Yt(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=uo(t,r._$AS(t,o.values),r,i)),o}class yo{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=so,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=uo(this,t,o),Yt(t)?t===so||null==t||""===t?(this._$AH!==so&&this._$AR(),this._$AH=so):t!==this._$AH&&t!==ao&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Xt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==so&&Yt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Gt.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=ho.createElement(po(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??Gt).importNode(o,!0);co.currentNode=i;let r=co.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new yo(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new vo(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=co.nextNode(),n++)}return co.currentNode=Gt,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=lo.get(t.strings);return void 0===o&&lo.set(t.strings,o=new ho(t)),o}T(t){Xt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,i=0;for(const r of t)i===o.length?o.push(e=new yo(this.k(Vt()),this.k(Vt()),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 go{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=so,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=so}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=uo(this,t,o,0),n=!Yt(t)||t!==this._$AH&&t!==ao,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=uo(this,i[e+a],o,a),s===ao&&(s=this._$AH[a]),n||=!Yt(s)||s!==this._$AH[a],s===so?t=so:t!==so&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===so?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class bo extends go{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===so?void 0:t}}class mo extends go{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==so)}}class xo extends go{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=uo(this,t,o,0)??so)===ao)return;const e=this._$AH,i=t===so&&e!==so||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==so&&(e===so||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 vo{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){uo(this,t)}}const Oo=Dt.litHtmlPolyfillSupport;Oo?.(ho,yo),(Dt.litHtmlVersions??=[]).push("3.1.0");
79
79
  /**
80
80
  * @license
81
81
  * Copyright 2017 Google LLC
82
82
  * SPDX-License-Identifier: BSD-3-Clause
83
83
  */
84
- let Oe=class extends Bt{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=((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 ue(e.insertBefore(Vt(),t),t,void 0,o??{})}return i._$AI(t),i})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ae}};Oe._$litElement$=!0,Oe.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Oe});const Ne=globalThis.litElementPolyfillSupport;Ne?.({LitElement:Oe}),(globalThis.litElementVersions??=[]).push("4.0.2");const Se=t=>"string"==typeof t?Nt(t):t;class we{static create(t,e,o,r){const i=t=>Se(null!=t?t:r),n=St`var(${Se(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>St`var(${Se(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=St`var(${Se(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=>St`var(${Se(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):Se(null!=e?e:t.lastResortDefaultValue()),r=St`var(${Se(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=>St`var(${Se(t.name)}, ${o(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function Ce(t,e){return Se(`${t.name}: ${e}`)}const $e={colorWhite:we.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:we.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:we.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:we.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:we.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:we.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:we.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:we.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:we.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:we.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:we.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:we.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:we.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:we.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:we.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:we.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:we.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:we.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:we.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:we.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:we.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:we.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:we.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:we.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:we.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:we.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:we.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:we.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:we.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:we.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:we.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:we.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:we.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:we.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:we.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:we.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:we.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:we.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:we.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:we.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:we.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:we.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:we.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:we.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:we.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:we.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:we.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:we.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:we.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:we.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:we.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:we.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:we.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:we.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:we.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:we.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:we.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:we.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:we.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:we.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:we.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:we.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:we.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:we.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:we.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:we.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:we.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:we.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:we.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:we.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:we.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:we.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:we.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:we.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:we.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:we.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:we.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:we.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:we.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:we.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:we.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:we.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:we.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:we.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:we.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:we.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:we.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:we.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:we.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:we.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:we.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:we.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:we.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:we.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:we.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:we.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:we.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:we.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:we.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:we.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:we.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:we.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:we.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:we.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:we.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:we.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:we.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:we.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:we.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:we.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:we.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:we.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:we.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:we.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:we.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:we.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:we.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:we.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:we.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:we.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:we.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:we.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:we.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:we.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:we.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:we.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:we.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:we.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:we.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:we.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:we.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:we.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:we.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:we.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:we.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:we.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:we.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:we.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:we.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:we.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:we.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:we.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:we.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:we.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:we.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:we.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:we.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:we.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:we.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:we.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:we.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:we.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:we.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:we.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:we.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:we.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:we.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:we.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:we.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:we.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:we.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:we.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:we.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:we.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:we.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:we.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:we.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:we.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:we.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:we.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:we.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:we.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:we.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:we.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:we.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:we.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:we.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:we.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:we.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:we.create("--ft-icon-size-6","","SIZE","48px"),opacity0:we.create("--ft-opacity-0","","NUMBER","0"),opacity8:we.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:we.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:we.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:we.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:we.create("--ft-opacity-80","","NUMBER","0.8")},Re={display:{fontFamily:we.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:we.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:we.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:we.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:we.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:we.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:we.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:we.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:we.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:we.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:we.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:we.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:we.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:we.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:we.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:we.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:we.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:we.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:we.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:we.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:we.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:we.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:we.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:we.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:we.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:we.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:we.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:we.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:we.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:we.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:we.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:we.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:we.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:we.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:we.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:we.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:we.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:we.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:we.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:we.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:we.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:we.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ee={backgroundActionPrimary:we.extend("--ft-background-action-primary","Used as backgorund of primary action components.",$e.colorBrand0),backgroundErrorPrimary:we.extend("--ft-background-error-primary","Used as background of error components.",$e.colorRed0),backgroundErrorSubtle:we.extend("--ft-background-error-subtle","Used as background of subtle error components.",$e.colorRed10),backgroundInfoPrimary:we.extend("--ft-background-info-primary","Used as background of information components.",$e.colorCyan200),backgroundInfoSubtle:we.extend("--ft-background-info-subtle","Used as background of subtle information components.",$e.colorCyan10),backgroundWarningPrimary:we.extend("--ft-background-warning-primary","Used as background of warning components.",$e.colorOrange300),backgroundWarningSubtle:we.extend("--ft-background-warning-subtle","Used as background of subtle information components.",$e.colorOrange10),backgroundSuccessPrimary:we.extend("--ft-background-success-primary","Used as background of success components.",$e.colorGreen200),backgroundSuccessSubtle:we.extend("--ft-background-success-subtle","Used as background of subtle success components.",$e.colorGreen10),backgroundGlobalSurface:we.extend("--ft-background-global-surface","Used as app background.",$e.colorWhite),backgroundGlobalOnSurface:we.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",$e.colorGray10),backgroundGlobalOnSurfaceDark:we.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",$e.colorGray30),contentActionPrimary:we.extend("--ft-content-action-primary","Used on label of primary action on light surface.",$e.colorBrand0),contentWarningPrimary:we.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",$e.colorOrange300),contentWarningIconOnly:we.extend("--ft-content-warning-icon-only","Used on warning status icons alone",$e.colorOrange0),contentErrorPrimary:we.extend("--ft-content-error-primary","Used on label of error messages on light surface.",$e.colorRed0),contentErrorIconOnly:we.extend("--ft-content-error-icon-only","Used on error status icons alone",$e.colorRed0),contentInfoPrimary:we.extend("--ft-content-info-primary","Used on label of information messages on light surface.",$e.colorCyan200),contentInfoIconOnly:we.extend("--ft-content-info-icon-only","Used on info status icons alone",$e.colorCyan0),contentSuccessIconOnly:we.extend("--ft-content-success-icon-only","Used on success status icons alone",$e.colorGreen0),contentSuccessPrimary:we.extend("--ft-content-success-primary","Used on label of success messages on light surface.",$e.colorGreen200),contentGlobalPrimary:we.extend("--ft-content-global-primary","Used for main content on the page.",$e.colorGray500),contentGlobalSecondary:we.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",$e.colorGray200),contentGlobalSubtle:we.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",$e.colorGray0),contentGlobalOnColor:we.extend("--ft-content-global-on-color","Used for content on a dominant color.",$e.colorWhite),borderActionPrimary:we.extend("--ft-border-action-primary","Used as border for primary action components.",$e.colorBrand0),borderActionFocusRing:we.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",$e.colorCyan0),borderWarningPrimary:we.extend("--ft-border-warning-primary","Used as border for warning components.",$e.colorOrange30),borderSuccessPrimary:we.extend("--ft-border-success-primary","Used as border for success components.",$e.colorGreen30),borderErrorPrimary:we.extend("--ft-border-error-primary","Used as border for error components.",$e.colorRed30),borderInfoPrimary:we.extend("--ft-border-info-primary","Used as border for information components.",$e.colorCyan30),borderGlobalSubtle:we.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",$e.colorGray30),borderGlobalPrimary:we.extend("--ft-border-global-primary","Used as border for element like input.",$e.colorGray50),borderInputPrimary:we.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",$e.colorGray80)},ke={largeHeight:we.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:we.extend("--ft-button-large-horizontal-padding","",$e.spacing4),largeGap:we.extend("--ft-button-large-gap","",$e.spacing2),largeBorderRadius:we.extend("--ft-button-large-border-radius","",$e.borderRadiusS),largeIconSize:we.extend("--ft-button-large-icon-size","",$e.iconSize3),largeBorderWidth:we.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:we.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:we.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:we.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:we.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:we.extend("--ft-button-small-horizontal-padding","",$e.spacing3),smallGap:we.extend("--ft-button-small-gap","",$e.spacing2),smallBorderRadius:we.extend("--ft-button-small-border-radius","",$e.borderRadiusS),smallIconSize:we.extend("--ft-button-small-icon-size","",$e.iconSize2),smallBorderWidth:we.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:we.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:we.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:we.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:we.extend("--ft-button-primary-background-color","",Ee.backgroundActionPrimary),primaryColor:we.extend("--ft-button-primary-color","",Ee.contentGlobalOnColor),primaryIconColor:we.extend("--ft-button-primary-icon-color","",Ee.contentGlobalOnColor),primaryStateLayerColor:we.extend("--ft-button-primary-state-layer-color","",Ee.contentGlobalOnColor),primaryStateLayerOpacityHover:we.extend("--ft-button-primary-state-layer-opacity-hover","",$e.opacity16),primaryStateLayerOpacityFocus:we.extend("--ft-button-primary-state-layer-opacity-focus","",$e.opacity16),primaryStateLayerOpacityActive:we.extend("--ft-button-primary-state-layer-opacity-active","",$e.opacity24),primaryComponentOpacityDisabled:we.extend("--ft-button-primary-component-opacity-disabled","",$e.opacity40),focusFocusRingColor:we.extend("--ft-button-focus-focus-ring-color","",Ee.borderActionFocusRing),tertiaryBackgroundColor:we.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:we.extend("--ft-button-tertiary-color","",Ee.contentActionPrimary),tertiaryIconColor:we.extend("--ft-button-tertiary-icon-color","",Ee.contentActionPrimary),tertiaryStateLayerColor:we.extend("--ft-button-tertiary-state-layer-color","",Ee.contentActionPrimary),tertiaryStateLayerOpacityHover:we.extend("--ft-button-tertiary-state-layer-opacity-hover","",$e.opacity8),tertiaryStateLayerOpacityFocus:we.extend("--ft-button-tertiary-state-layer-opacity-focus","",$e.opacity8),tertiaryStateLayerOpacityActive:we.extend("--ft-button-tertiary-state-layer-opacity-active","",$e.opacity16),tertiaryComponentOpacityDisabled:we.extend("--ft-button-tertiary-component-opacity-disabled","",$e.opacity40),secondaryBackgroundColor:we.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:we.extend("--ft-button-secondary-color","",Ee.contentActionPrimary),secondaryIconColor:we.extend("--ft-button-secondary-icon-color","",Ee.contentActionPrimary),secondaryStateLayerColor:we.extend("--ft-button-secondary-state-layer-color","",Ee.contentActionPrimary),secondaryStateLayerOpacityHover:we.extend("--ft-button-secondary-state-layer-opacity-hover","",$e.opacity8),secondaryStateLayerOpacityFocus:we.extend("--ft-button-secondary-state-layer-opacity-focus","",$e.opacity8),secondaryStateLayerOpacityActive:we.extend("--ft-button-secondary-state-layer-opacity-active","",$e.opacity16),secondaryComponentOpacityDisabled:we.extend("--ft-button-secondary-component-opacity-disabled","",$e.opacity40),secondaryBorderColor:we.extend("--ft-button-secondary-border-color","",Ee.borderActionPrimary),neutralBackgroundColor:we.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:we.extend("--ft-button-neutral-icon-color","",Ee.contentGlobalSecondary),neutralColor:we.extend("--ft-button-neutral-color","",Ee.contentGlobalSecondary),neutralStateLayerColor:we.extend("--ft-button-neutral-state-layer-color","",Ee.contentGlobalSecondary),neutralStateLayerOpacityHover:we.extend("--ft-button-neutral-state-layer-opacity-hover","",$e.opacity8),neutralStateLayerOpacityFocus:we.extend("--ft-button-neutral-state-layer-opacity-focus","",$e.opacity8),neutralStateLayerOpacityActive:we.extend("--ft-button-neutral-state-layer-opacity-active","",$e.opacity16),neutralComponentOpacityDisabled:we.extend("--ft-button-neutral-component-opacity-disabled","",$e.opacity40)};we.extend("--ft-tabs-top-left-border-radius","",$e.borderRadiusS),we.extend("--ft-tabs-top-right-border-radius","",$e.borderRadiusS),we.extend("--ft-tabs-label-horizontal-padding","",$e.spacing4),we.extend("--ft-tabs-label-vertical-padding","",$e.spacing3),we.extend("--ft-tabs-label-gap","",$e.spacing1),we.extend("--ft-switch-group-horizontal-padding","",$e.spacing1),we.extend("--ft-switch-group-vertical-padding","",$e.spacing1),we.extend("--ft-switch-group-gap","",$e.spacing1),we.extend("--ft-switch-group-background-color","",Ee.backgroundGlobalSurface),we.extend("--ft-switch-group-border-color","",Ee.borderGlobalSubtle),we.create("--ft-switch-group-border-radius","","SIZE","6px"),we.extend("--ft-switch-label-horizontal-padding","",$e.spacing2),we.extend("--ft-switch-label-vertical-padding","",$e.spacing1),we.extend("--ft-switch-icon-horizontal-padding","",$e.spacing1),we.extend("--ft-switch-icon-vertical-padding","",$e.spacing1),we.create("--ft-switch-focus-outline-width","","SIZE","2px"),we.extend("--ft-switch-focus-focus-ring-color","",Ee.borderActionFocusRing),we.extend("--ft-switch-option-border-radius","",$e.borderRadiusS),we.extend("--ft-switch-off-state-layer-opacity-hover","",$e.opacity8),we.extend("--ft-switch-off-state-layer-opacity-focus","",$e.opacity8),we.extend("--ft-switch-off-state-layer-opacity-active","",$e.opacity16),we.extend("--ft-switch-off-component-opacity-disabled","",$e.opacity40),we.extend("--ft-switch-off-color","",Ee.contentGlobalSubtle),we.extend("--ft-switch-off-state-layer-color","",Ee.contentGlobalSubtle),we.extend("--ft-chart-1-light","for area color charts",$e.colorBrand40),we.extend("--ft-chart-1-base","for line charts",$e.colorBrand0),we.extend("--ft-chart-2-light","for area color charts",$e.colorYellow60),we.extend("--ft-chart-2-base","for line charts",$e.colorYellow100),we.extend("--ft-chart-3-light","",$e.colorUltramarine40),we.extend("--ft-chart-3-base","",$e.colorUltramarine70),we.extend("--ft-chart-4-light","",$e.colorCyan50),we.extend("--ft-chart-4-base","",$e.colorCyan100),we.extend("--ft-chart-5-light","",$e.colorRed40),we.extend("--ft-chart-5-base","",$e.colorRed60),we.extend("--ft-chart-6-light","",$e.colorGreen40),we.extend("--ft-chart-6-base","",$e.colorGreen70),we.extend("--ft-chart-7-light","",$e.colorOrange70),we.extend("--ft-chart-7-base","",$e.colorOrange100),we.extend("--ft-chart-8-light","",$e.colorAvocado70),we.extend("--ft-chart-8-base","",$e.colorAvocado200),we.extend("--ft-chart-9-light","",$e.colorBrown50),we.extend("--ft-chart-9-base","",$e.colorBrown200),we.extend("--ft-chart-10-light","",$e.colorGray50),we.extend("--ft-chart-10-base","",$e.colorGray80),we.extend("--ft-chart-monochrome-10","",$e.colorBrand10),we.extend("--ft-chart-monochrome-20","",$e.colorBrand20),we.extend("--ft-chart-monochrome-30","",$e.colorBrand40),we.extend("--ft-chart-monochrome-40","",$e.colorBrand60),we.extend("--ft-chart-monochrome-50","",$e.colorBrand0),we.extend("--ft-chart-monochrome-60","",$e.colorBrand200),we.extend("--ft-chip-large-horizontal-padding","",$e.spacing4),we.extend("--ft-chip-large-vertical-padding","",$e.spacing2),we.extend("--ft-chip-large-gap","",$e.spacing1),we.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),we.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),we.extend("--ft-chip-large-border-radius","",$e.borderRadiusPill),we.create("--ft-chip-large-border-width","","SIZE","1px"),we.extend("--ft-chip-large-icon-size","",$e.iconSize3),we.extend("--ft-chip-medium-horizontal-padding","",$e.spacing3),we.extend("--ft-chip-medium-vertical-padding","",$e.spacing1),we.extend("--ft-chip-medium-gap","",$e.spacing1),we.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),we.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),we.extend("--ft-chip-medium-border-radius","",$e.borderRadiusPill),we.create("--ft-chip-medium-border-width","","SIZE","1px"),we.extend("--ft-chip-medium-icon-size","",$e.iconSize2),we.extend("--ft-chip-small-horizontal-padding","",$e.spacing2),we.extend("--ft-chip-small-vertical-padding","",$e.spacing05),we.extend("--ft-chip-small-gap","",$e.spacing1),we.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),we.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),we.extend("--ft-chip-small-border-radius","",$e.borderRadiusPill),we.create("--ft-chip-small-border-width","","SIZE","1px"),we.extend("--ft-chip-small-icon-size","",$e.iconSize1),we.extend("--ft-chip-neutral-background-color","",Ee.backgroundGlobalOnSurface),we.extend("--ft-chip-neutral-color","",Ee.contentGlobalPrimary),we.extend("--ft-chip-neutral-border-color","",Ee.borderGlobalSubtle),we.extend("--ft-chip-info-background-color","",Ee.backgroundInfoSubtle),we.extend("--ft-chip-info-color","",Ee.contentInfoPrimary),we.extend("--ft-chip-info-border-color","",Ee.borderInfoPrimary),we.extend("--ft-chip-success-background-color","",Ee.backgroundSuccessSubtle),we.extend("--ft-chip-success-color","",Ee.contentSuccessPrimary),we.extend("--ft-chip-success-border-color","",Ee.borderSuccessPrimary),we.extend("--ft-chip-warning-background-color","",Ee.backgroundWarningSubtle),we.extend("--ft-chip-warning-color","",Ee.contentWarningPrimary),we.extend("--ft-chip-warning-border-color","",Ee.borderWarningPrimary),we.extend("--ft-chip-error-background-color","",Ee.backgroundErrorSubtle),we.extend("--ft-chip-error-color","",Ee.contentErrorPrimary),we.extend("--ft-chip-error-border-color","",Ee.borderErrorPrimary),we.create("--ft-notice-border-width","","SIZE","1px"),we.extend("--ft-notice-horizontal-padding","",$e.spacing2),we.extend("--ft-notice-vertical-padding","",$e.spacing1),we.extend("--ft-notice-border-radius","",$e.borderRadiusS),we.extend("--ft-notice-gap","",$e.spacing2),we.extend("--ft-notice-icon-size","",$e.iconSize3),we.extend("--ft-notice-info-background-color","",Ee.backgroundInfoSubtle),we.extend("--ft-notice-info-border-color","",Ee.borderInfoPrimary),we.extend("--ft-notice-info-color","",Ee.contentInfoPrimary),we.extend("--ft-notice-warning-background-color","",Ee.backgroundWarningSubtle),we.extend("--ft-notice-warning-border-color","",Ee.borderWarningPrimary),we.extend("--ft-notice-warning-color","",Ee.contentWarningPrimary),we.extend("--ft-checkbox-label-color","",Ee.contentGlobalPrimary),we.extend("--ft-checkbox-checked-background-color","",Ee.contentActionPrimary),we.extend("--ft-checkbox-checked-state-layer-color","",Ee.contentActionPrimary),we.extend("--ft-checkbox-checked-color","",Ee.contentGlobalOnColor),we.extend("--ft-checkbox-checked-state-layer-opacity-hover","",$e.opacity16),we.extend("--ft-checkbox-checked-state-layer-opacity-focus","",$e.opacity16),we.extend("--ft-checkbox-checked-state-layer-opacity-active","",$e.opacity24),we.extend("--ft-checkbox-checked-component-opacity-disabled","",$e.opacity40),we.extend("--ft-checkbox-unchecked-border-color","",$e.colorGray80),we.extend("--ft-checkbox-unchecked-state-layer-color","",$e.colorGray80),we.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",$e.opacity16),we.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",$e.opacity16),we.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",$e.opacity24),we.extend("--ft-checkbox-unchecked-component-opacity-disabled","",$e.opacity40),we.extend("--ft-checkbox-focus-focus-ring-color","",Ee.borderActionFocusRing),we.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),we.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),we.extend("--ft-checkbox-gap","",$e.spacing3),we.extend("--ft-toggle-off-state-layer-opacity-hover","",$e.opacity16),we.extend("--ft-toggle-off-state-layer-opacity-focus","",$e.opacity16),we.extend("--ft-toggle-off-state-layer-opacity-active","",$e.opacity24),we.extend("--ft-toggle-off-component-opacity-disabled","",$e.opacity40),we.extend("--ft-toggle-off-background-color","",Ee.contentGlobalSubtle),we.extend("--ft-toggle-off-icon-color","",Ee.contentGlobalSubtle),we.extend("--ft-toggle-off-state-layer-color","",Ee.contentGlobalSubtle),we.extend("--ft-toggle-on-state-layer-opacity-hover","",$e.opacity16),we.extend("--ft-toggle-on-state-layer-opacity-focus","",$e.opacity16),we.extend("--ft-toggle-on-state-layer-opacity-active","",$e.opacity24),we.extend("--ft-toggle-on-component-opacity-disabled","",$e.opacity40),we.extend("--ft-toggle-on-background-color","",Ee.contentActionPrimary),we.extend("--ft-toggle-on-icon-color","",Ee.contentActionPrimary),we.extend("--ft-toggle-on-state-layer-color","",Ee.contentActionPrimary),we.extend("--ft-toggle-label-color","",Ee.contentGlobalPrimary),we.extend("--ft-toggle-focus-focus-ring-color","",Ee.borderActionFocusRing),we.extend("--ft-toggle-gap","",$e.spacing3),we.extend("--ft-radio-label-color","",Ee.contentGlobalPrimary),we.extend("--ft-radio-selected-color","",Ee.contentActionPrimary),we.extend("--ft-radio-selected-state-layer-color","",Ee.contentActionPrimary),we.extend("--ft-radio-selected-state-layer-opacity-hover","",$e.opacity16),we.extend("--ft-radio-selected-state-layer-opacity-focus","",$e.opacity16),we.extend("--ft-radio-selected-state-layer-opacity-active","",$e.opacity24),we.extend("--ft-radio-selected-component-opacity-disabled","",$e.opacity40),we.extend("--ft-radio-unselected-state-layer-color","",$e.colorGray80),we.extend("--ft-radio-unselected-state-layer-opacity-hover","",$e.opacity16),we.extend("--ft-radio-unselected-state-layer-opacity-focus","",$e.opacity16),we.extend("--ft-radio-unselected-state-layer-opacity-active","",$e.opacity24),we.extend("--ft-radio-unselected-component-opacity-disabled","",$e.opacity40),we.extend("--ft-radio-focus-focus-ring-color","",Ee.borderActionFocusRing),we.create("--ft-radio-focus-outline-offset","","SIZE","3px"),we.create("--ft-radio-focus-outline-width","","SIZE","2px"),we.extend("--ft-radio-gap","",$e.spacing3),we.extend("--ft-notification-icon-size","",$e.iconSize4),we.extend("--ft-notification-horizontal-padding","",$e.spacing4),we.extend("--ft-notification-vertical-padding","",$e.spacing4),we.extend("--ft-notification-info-background-color","",Ee.backgroundInfoSubtle),we.extend("--ft-notification-info-color","",Ee.contentInfoPrimary),we.extend("--ft-notification-info-border-color","",Ee.borderInfoPrimary),we.extend("--ft-notification-success-background-color","",Ee.backgroundSuccessSubtle),we.extend("--ft-notification-success-color","",Ee.contentSuccessPrimary),we.extend("--ft-notification-success-border-color","",Ee.borderSuccessPrimary),we.extend("--ft-notification-warning-background-color","",Ee.backgroundWarningSubtle),we.extend("--ft-notification-warning-color","",Ee.contentWarningPrimary),we.extend("--ft-notification-warning-border-color","",Ee.borderWarningPrimary),we.extend("--ft-notification-error-background-color","",Ee.backgroundErrorSubtle),we.extend("--ft-notification-error-color","",Ee.contentErrorPrimary),we.extend("--ft-notification-error-border-color","",Ee.borderErrorPrimary),we.extend("--ft-notification-border-radius","",$e.borderRadiusPill),we.create("--ft-notification-border-width","","SIZE","1px"),we.extend("--ft-notification-gap-leading","",$e.spacing2),we.extend("--ft-notification-gap-trailing","",$e.spacing8);const Ie={colorPrimary:we.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:we.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:we.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:we.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:we.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:we.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:we.create("--ft-color-error","","COLOR","#B00020"),colorOutline:we.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:we.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:we.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:we.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:we.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:we.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:we.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:we.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:we.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:we.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:we.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:we.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:we.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:we.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:we.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:we.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:we.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:we.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:we.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:we.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:we.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:we.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:we.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:we.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:we.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:we.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:we.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:we.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:we.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:we.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:we.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:we.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:we.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:we.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:we.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:we.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:we.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:we.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:we.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:we.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:we.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:we.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:we.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:we.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:we.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:we.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:we.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:we.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:we.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:we.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:we.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:we.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:we.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:we.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:we.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Ue=["start","end"],Le=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Ue[0],e+"-"+Ue[1])),[]),We=Math.min,ze=Math.max,Ke=Math.round,Fe=t=>({x:t,y:t}),Ae={left:"right",right:"left",bottom:"top",top:"bottom"},Ze={start:"end",end:"start"};function Be(t,e,o){return ze(t,We(e,o))}function Me(t,e){return"function"==typeof t?t(e):t}function De(t){return t.split("-")[0]}function Pe(t){return t.split("-")[1]}function He(t){return"x"===t?"y":"x"}function Te(t){return"y"===t?"height":"width"}function je(t){return["top","bottom"].includes(De(t))?"y":"x"}function _e(t){return He(je(t))}function Ge(t){return t.replace(/left|right|bottom|top/g,(t=>Ae[t]))}function Ve(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Ye(t,e,o){let{reference:r,floating:i}=t;const n=je(e),a=_e(e),s=Te(a),l=De(e),c="y"===n,p=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,h=r[s]/2-i[s]/2;let d;switch(l){case"top":d={x:p,y:r.y-i.height};break;case"bottom":d={x:p,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:f};break;case"left":d={x:r.x-i.width,y:f};break;default:d={x:r.x,y:r.y}}switch(Pe(e)){case"start":d[a]-=h*(o&&c?-1:1);break;case"end":d[a]+=h*(o&&c?-1:1)}return d}async function Xe(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:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=Me(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===f?"reference":"floating":f],g=Ve(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:p,strategy:l})),b="floating"===f?{...a.floating,x:r,y:i}: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=Ve(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 Je(t,e,o){return(t?[...o.filter((e=>Pe(e)===t)),...o.filter((e=>Pe(e)!==t))]:o.filter((t=>De(t)===t))).filter((o=>!t||(Pe(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Ze[t]))}(o)!==o)))}const qe=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:p=!1,alignment:f,allowedPlacements:h=Le,autoAlignment:d=!0,...u}=Me(t,e),y=void 0!==f||h===Le?Je(f||null,d,h):h,g=await Xe(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const r=Pe(t),i=_e(t),n=Te(i);let a="x"===i?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Ge(a)),[a,Ge(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[De(m)],g[x[0]],g[x[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.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 e=Pe(t.placement);return[t.placement,e&&p?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),w=S.filter((t=>t[2].slice(0,Pe(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=w[0])?void 0:i[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function Qe(t){return oo(t)?(t.nodeName||"").toLowerCase():"#document"}function to(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function eo(t){var e;return null==(e=(oo(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function oo(t){return t instanceof Node||t instanceof to(t).Node}function ro(t){return t instanceof Element||t instanceof to(t).Element}function io(t){return t instanceof HTMLElement||t instanceof to(t).HTMLElement}function no(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof to(t).ShadowRoot)}function ao(t){const{overflow:e,overflowX:o,overflowY:r,display:i}=fo(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(i)}function so(t){return["table","td","th"].includes(Qe(t))}function lo(t){const e=co(),o=fo(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 co(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function po(t){return["html","body","#document"].includes(Qe(t))}function fo(t){return to(t).getComputedStyle(t)}function ho(t){return ro(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function uo(t){if("html"===Qe(t))return t;const e=t.assignedSlot||t.parentNode||no(t)&&t.host||eo(t);return no(e)?e.host:e}function yo(t){const e=uo(t);return po(e)?t.ownerDocument?t.ownerDocument.body:t.body:io(e)&&ao(e)?e:yo(e)}function go(t,e,o){var r;void 0===e&&(e=[]),void 0===o&&(o=!0);const i=yo(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=to(i);return n?e.concat(a,a.visualViewport||[],ao(i)?i:[],a.frameElement&&o?go(a.frameElement):[]):e.concat(i,go(i,[],o))}function bo(t){const e=fo(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=io(t),n=i?t.offsetWidth:o,a=i?t.offsetHeight:r,s=Ke(o)!==n||Ke(r)!==a;return s&&(o=n,r=a),{width:o,height:r,$:s}}function mo(t){return ro(t)?t:t.contextElement}function xo(t){const e=mo(t);if(!io(e))return Fe(1);const o=e.getBoundingClientRect(),{width:r,height:i,$:n}=bo(e);let a=(n?Ke(o.width):o.width)/r,s=(n?Ke(o.height):o.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const vo=Fe(0);function Oo(t){const e=to(t);return co()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:vo}function No(t,e,o,r){void 0===e&&(e=!1),void 0===o&&(o=!1);const i=t.getBoundingClientRect(),n=mo(t);let a=Fe(1);e&&(r?ro(r)&&(a=xo(r)):a=xo(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==to(t))&&e}(n,o,r)?Oo(n):Fe(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,p=i.width/a.x,f=i.height/a.y;if(n){const t=to(n),e=r&&ro(r)?to(r):r;let o=t.frameElement;for(;o&&r&&e!==t;){const t=xo(o),e=o.getBoundingClientRect(),r=fo(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,p*=t.x,f*=t.y,l+=i,c+=n,o=to(o).frameElement}}return Ve({width:p,height:f,x:l,y:c})}function So(t){return No(eo(t)).left+ho(t).scrollLeft}function wo(t,e,o){let r;if("viewport"===e)r=function(t,e){const o=to(t),r=eo(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=co();(!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=eo(t),o=ho(t),r=t.ownerDocument.body,i=ze(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),n=ze(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-o.scrollLeft+So(t);const s=-o.scrollTop;return"rtl"===fo(r).direction&&(a+=ze(e.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(eo(t));else if(ro(e))r=function(t,e){const o=No(t,!0,"fixed"===e),r=o.top+t.clientTop,i=o.left+t.clientLeft,n=io(t)?xo(t):Fe(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=Oo(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return Ve(r)}function Co(t,e){const o=uo(t);return!(o===e||!ro(o)||po(o))&&("fixed"===fo(o).position||Co(o,e))}function $o(t,e,o){const r=io(e),i=eo(e),n="fixed"===o,a=No(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Fe(0);if(r||!r&&!n)if(("body"!==Qe(e)||ao(i))&&(s=ho(e)),r){const t=No(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else i&&(l.x=So(i));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Ro(t,e){return io(t)&&"fixed"!==fo(t).position?e?e(t):t.offsetParent:null}function Eo(t,e){const o=to(t);if(!io(t))return o;let r=Ro(t,e);for(;r&&so(r)&&"static"===fo(r).position;)r=Ro(r,e);return r&&("html"===Qe(r)||"body"===Qe(r)&&"static"===fo(r).position&&!lo(r))?o:r||function(t){let e=uo(t);for(;io(e)&&!po(e);){if(lo(e))return e;e=uo(e)}return null}(t)||o}const ko={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:r}=t;const i=io(o),n=eo(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Fe(1);const l=Fe(0);if((i||!i&&"fixed"!==r)&&(("body"!==Qe(o)||ao(n))&&(a=ho(o)),io(o))){const t=No(o);s=xo(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:eo,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=go(t,[],!1).filter((t=>ro(t)&&"body"!==Qe(t))),i=null;const n="fixed"===fo(t).position;let a=n?uo(t):t;for(;ro(a)&&!po(a);){const e=fo(a),o=lo(a);o||"fixed"!==e.position||(i=null),(n?!o&&!i:!o&&"static"===e.position&&i&&["absolute","fixed"].includes(i.position)||ao(a)&&!o&&Co(t,a))?r=r.filter((t=>t!==a)):i=e,a=uo(a)}return e.set(t,r),r}(e,this._c):[].concat(o),r],a=n[0],s=n.reduce(((t,o)=>{const r=wo(e,o,i);return t.top=ze(r.top,t.top),t.right=We(r.right,t.right),t.bottom=We(r.bottom,t.bottom),t.left=ze(r.left,t.left),t}),wo(e,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Eo,getElementRects:async function(t){let{reference:e,floating:o,strategy:r}=t;const i=this.getOffsetParent||Eo,n=this.getDimensions;return{reference:$o(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 bo(t)},getScale:xo,isElement:ro,isRTL:function(t){return"rtl"===fo(t).direction}},Io=(t,e,o)=>{const r=new Map,i={platform:ko,...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:p,y:f}=Ye(c,r,l),h=r,d={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:r,placement:h,strategy:i,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:e}});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:e,strategy:i}):x.rects),({x:p,y:f}=Ye(c,h,l))),o=-1)}return{x:p,y:f,placement:h,strategy:i,middlewareData:d}})(t,e,{...i,platform:n})};function Uo(t){return function(t){for(let e=t;e;e=Lo(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Lo(t);e;e=Lo(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 Lo(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}
84
+ let No=class extends Bt{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 yo(o.insertBefore(Vt(),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 ao}};No._$litElement$=!0,No.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:No});const So=globalThis.litElementPolyfillSupport;So?.({LitElement:No}),(globalThis.litElementVersions??=[]).push("4.0.2");const wo=t=>"string"==typeof t?Nt(t):t;class Co{static create(t,o,e,i){const r=t=>wo(null!=t?t:i),n=St`var(${wo(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>St`var(${wo(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=St`var(${wo(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=>St`var(${wo(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):wo(null!=o?o:t.lastResortDefaultValue()),i=St`var(${wo(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=>St`var(${wo(t.name)}, ${e(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function $o(t,o){return wo(`${t.name}: ${o}`)}const Eo={colorWhite:Co.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Co.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Co.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Co.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Co.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Co.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Co.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Co.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Co.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Co.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Co.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Co.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Co.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Co.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Co.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Co.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Co.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Co.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Co.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Co.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Co.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Co.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Co.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Co.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Co.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Co.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Co.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Co.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Co.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Co.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Co.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Co.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Co.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Co.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Co.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Co.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Co.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Co.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Co.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Co.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Co.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Co.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Co.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Co.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Co.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Co.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Co.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Co.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Co.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Co.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Co.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Co.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Co.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Co.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Co.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Co.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Co.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Co.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Co.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Co.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Co.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Co.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Co.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Co.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Co.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Co.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Co.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Co.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Co.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Co.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Co.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Co.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Co.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Co.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Co.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Co.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Co.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Co.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Co.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Co.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Co.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Co.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Co.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Co.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Co.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Co.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Co.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Co.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Co.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Co.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Co.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Co.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Co.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Co.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Co.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Co.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Co.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Co.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Co.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Co.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Co.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Co.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Co.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Co.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Co.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Co.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Co.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Co.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Co.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Co.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Co.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Co.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Co.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Co.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Co.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Co.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Co.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Co.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Co.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Co.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Co.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Co.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Co.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Co.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Co.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Co.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Co.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Co.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Co.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Co.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Co.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Co.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Co.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Co.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Co.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Co.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Co.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Co.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Co.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Co.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Co.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Co.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Co.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Co.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Co.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Co.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Co.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Co.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Co.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Co.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Co.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Co.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Co.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Co.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Co.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Co.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Co.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Co.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Co.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Co.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Co.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Co.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Co.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Co.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Co.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Co.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Co.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Co.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Co.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Co.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Co.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Co.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Co.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Co.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Co.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Co.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Co.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Co.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Co.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Co.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Co.create("--ft-opacity-0","","NUMBER","0"),opacity8:Co.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Co.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Co.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Co.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Co.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:Co.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:Co.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:Co.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:Co.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:Co.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:Co.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:Co.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:Co.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:Co.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)")},Ro={display:{fontFamily:Co.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Co.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Co.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Co.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Co.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Co.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:Co.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Co.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Co.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Co.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:Co.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Co.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Co.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Co.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:Co.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Co.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Co.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Co.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Co.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Co.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Co.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Co.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Co.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Co.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Co.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Co.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Co.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Co.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Co.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Co.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Co.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Co.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Co.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Co.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Co.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Co.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Co.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Co.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Co.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Co.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Co.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Co.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Co.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Co.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Co.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Co.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Co.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Co.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Co.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Co.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Co.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Co.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Co.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Co.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Co.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Co.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Co.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Co.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Co.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Co.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Co.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Co.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Co.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Co.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Co.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Co.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Co.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Co.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Co.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Co.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Co.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Co.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Co.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Co.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Co.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Co.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Co.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Co.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Co.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Co.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Co.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Co.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Co.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Co.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Co.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Co.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Co.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Co.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:Co.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:Co.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:Co.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:Co.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:Co.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:Co.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:Co.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},Io={backgroundActionPrimary:Co.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Eo.colorBrand0),backgroundErrorPrimary:Co.extend("--ft-background-error-primary","Used as background of error components.",Eo.colorRed0),backgroundErrorSubtle:Co.extend("--ft-background-error-subtle","Used as background of subtle error components.",Eo.colorRed10),backgroundInfoPrimary:Co.extend("--ft-background-info-primary","Used as background of information components.",Eo.colorCyan200),backgroundInfoSubtle:Co.extend("--ft-background-info-subtle","Used as background of subtle information components.",Eo.colorCyan10),backgroundWarningPrimary:Co.extend("--ft-background-warning-primary","Used as background of warning components.",Eo.colorOrange300),backgroundWarningSubtle:Co.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Eo.colorOrange10),backgroundSuccessPrimary:Co.extend("--ft-background-success-primary","Used as background of success components.",Eo.colorGreen200),backgroundSuccessSubtle:Co.extend("--ft-background-success-subtle","Used as background of subtle success components.",Eo.colorGreen10),backgroundGlobalSurface:Co.extend("--ft-background-global-surface","Used as app background.",Eo.colorWhite),backgroundGlobalOnSurface:Co.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Eo.colorGray10),backgroundGlobalOnSurfaceDark:Co.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Eo.colorGray30),contentActionPrimary:Co.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Eo.colorBrand0),contentWarningPrimary:Co.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Eo.colorOrange300),contentWarningIconOnly:Co.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Eo.colorOrange0),contentErrorPrimary:Co.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Eo.colorRed0),contentErrorIconOnly:Co.extend("--ft-content-error-icon-only","Used on error status icons alone",Eo.colorRed0),contentInfoPrimary:Co.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Eo.colorCyan200),contentInfoIconOnly:Co.extend("--ft-content-info-icon-only","Used on info status icons alone",Eo.colorCyan0),contentSuccessPrimary:Co.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Eo.colorGreen200),contentSuccessIconOnly:Co.extend("--ft-content-success-icon-only","Used on success status icons alone",Eo.colorGreen0),contentGlobalPrimary:Co.extend("--ft-content-global-primary","Used for main content on the page.",Eo.colorGray500),contentGlobalSecondary:Co.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Eo.colorGray200),contentGlobalSubtle:Co.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Eo.colorGray0),contentGlobalOnColor:Co.extend("--ft-content-global-on-color","Used for content on a dominant color.",Eo.colorWhite),borderActionPrimary:Co.extend("--ft-border-action-primary","Used as border for primary action components.",Eo.colorBrand0),borderActionFocusRing:Co.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Eo.colorCyan0),borderWarningPrimary:Co.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",Eo.colorOrange300),borderWarningSubtle:Co.extend("--ft-border-warning-subtle","Used as border for warning components.",Eo.colorOrange30),borderSuccessPrimary:Co.extend("--ft-border-success-primary","Used as border for success buttons.",Eo.colorGreen200),borderSuccessSubtle:Co.extend("--ft-border-success-subtle","Used as border for success components.",Eo.colorGreen30),borderErrorPrimary:Co.extend("--ft-border-error-primary","Used as border for text fields in error states.",Eo.colorRed0),borderErrorSubtle:Co.extend("--ft-border-error-subtle","Used as border for error components.",Eo.colorRed30),borderInfoPrimary:Co.extend("--ft-border-info-primary","Used as border for buttons in info color.",Eo.colorCyan200),borderInfoSubtle:Co.extend("--ft-border-info-subtle","Used as border for information components.",Eo.colorCyan30),borderGlobalPrimary:Co.extend("--ft-border-global-primary","Used as border for element like input.",Eo.colorGray50),borderGlobalSubtle:Co.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Eo.colorGray30),borderInputPrimary:Co.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Eo.colorGray80)},Uo={largeHeight:Co.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Co.extend("--ft-button-large-horizontal-padding","",Eo.spacing4),largeGap:Co.extend("--ft-button-large-gap","",Eo.spacing2),largeBorderRadius:Co.extend("--ft-button-large-border-radius","",Eo.borderRadiusS),largeIconSize:Co.extend("--ft-button-large-icon-size","",Eo.iconSize3),largeBorderWidth:Co.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Co.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Co.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Co.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Co.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Co.extend("--ft-button-small-horizontal-padding","",Eo.spacing3),smallGap:Co.extend("--ft-button-small-gap","",Eo.spacing2),smallBorderRadius:Co.extend("--ft-button-small-border-radius","",Eo.borderRadiusS),smallIconSize:Co.extend("--ft-button-small-icon-size","",Eo.iconSize2),smallBorderWidth:Co.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Co.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Co.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Co.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Co.extend("--ft-button-primary-background-color","",Io.backgroundActionPrimary),primaryColor:Co.extend("--ft-button-primary-color","",Io.contentGlobalOnColor),primaryIconColor:Co.extend("--ft-button-primary-icon-color","",Io.contentGlobalOnColor),primaryStateLayerColor:Co.extend("--ft-button-primary-state-layer-color","",Io.contentGlobalOnColor),primaryStateLayerOpacityHover:Co.extend("--ft-button-primary-state-layer-opacity-hover","",Eo.opacity16),primaryStateLayerOpacityFocus:Co.extend("--ft-button-primary-state-layer-opacity-focus","",Eo.opacity16),primaryStateLayerOpacityActive:Co.extend("--ft-button-primary-state-layer-opacity-active","",Eo.opacity24),primaryComponentOpacityDisabled:Co.extend("--ft-button-primary-component-opacity-disabled","",Eo.opacity40),focusFocusRingColor:Co.extend("--ft-button-focus-focus-ring-color","",Io.borderActionFocusRing),tertiaryBackgroundColor:Co.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Co.extend("--ft-button-tertiary-color","",Io.contentActionPrimary),tertiaryIconColor:Co.extend("--ft-button-tertiary-icon-color","",Io.contentActionPrimary),tertiaryStateLayerColor:Co.extend("--ft-button-tertiary-state-layer-color","",Io.contentActionPrimary),tertiaryStateLayerOpacityHover:Co.extend("--ft-button-tertiary-state-layer-opacity-hover","",Eo.opacity8),tertiaryStateLayerOpacityFocus:Co.extend("--ft-button-tertiary-state-layer-opacity-focus","",Eo.opacity8),tertiaryStateLayerOpacityActive:Co.extend("--ft-button-tertiary-state-layer-opacity-active","",Eo.opacity16),tertiaryComponentOpacityDisabled:Co.extend("--ft-button-tertiary-component-opacity-disabled","",Eo.opacity40),secondaryBackgroundColor:Co.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Co.extend("--ft-button-secondary-color","",Io.contentActionPrimary),secondaryIconColor:Co.extend("--ft-button-secondary-icon-color","",Io.contentActionPrimary),secondaryStateLayerColor:Co.extend("--ft-button-secondary-state-layer-color","",Io.contentActionPrimary),secondaryStateLayerOpacityHover:Co.extend("--ft-button-secondary-state-layer-opacity-hover","",Eo.opacity8),secondaryStateLayerOpacityFocus:Co.extend("--ft-button-secondary-state-layer-opacity-focus","",Eo.opacity8),secondaryStateLayerOpacityActive:Co.extend("--ft-button-secondary-state-layer-opacity-active","",Eo.opacity16),secondaryComponentOpacityDisabled:Co.extend("--ft-button-secondary-component-opacity-disabled","",Eo.opacity40),secondaryBorderColor:Co.extend("--ft-button-secondary-border-color","",Io.borderActionPrimary),neutralBackgroundColor:Co.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Co.extend("--ft-button-neutral-icon-color","",Io.contentGlobalSecondary),neutralColor:Co.extend("--ft-button-neutral-color","",Io.contentGlobalSecondary),neutralStateLayerColor:Co.extend("--ft-button-neutral-state-layer-color","",Io.contentGlobalSecondary),neutralStateLayerOpacityHover:Co.extend("--ft-button-neutral-state-layer-opacity-hover","",Eo.opacity8),neutralStateLayerOpacityFocus:Co.extend("--ft-button-neutral-state-layer-opacity-focus","",Eo.opacity8),neutralStateLayerOpacityActive:Co.extend("--ft-button-neutral-state-layer-opacity-active","",Eo.opacity16),neutralComponentOpacityDisabled:Co.extend("--ft-button-neutral-component-opacity-disabled","",Eo.opacity40)};Co.extend("--ft-floating-menu-horizontal-padding","",Eo.spacing4),Co.extend("--ft-floating-menu-vertical-padding","",Eo.spacing4),Co.extend("--ft-floating-menu-off-icon-color","",Io.contentGlobalPrimary),Co.extend("--ft-floating-menu-off-color","",Io.contentGlobalPrimary),Co.extend("--ft-floating-menu-on-color","",Io.contentActionPrimary),Co.extend("--ft-floating-menu-on-icon-color","",Io.contentActionPrimary),Co.extend("--ft-floating-menu-on-state-layer-color","",Io.contentActionPrimary),Co.extend("--ft-floating-menu-gap","",Eo.spacing3),Co.extend("--ft-floating-menu-focus-focus-ring-color","",Io.borderActionFocusRing),Co.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),Co.extend("--ft-floating-menu-state-layer-opacity-hover","",Eo.opacity8),Co.extend("--ft-floating-menu-state-layer-opacity-active","",Eo.opacity16),Co.extend("--ft-floating-menu-state-layer-opacity-focus","",Eo.opacity8),Co.extend("--ft-floating-menu-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-floating-menu-icon-size","",Eo.iconSize3),Co.extend("--ft-floating-menu-background-color","",Io.backgroundGlobalOnSurface),Co.extend("--ft-tabs-top-left-border-radius","",Eo.borderRadiusS),Co.extend("--ft-tabs-top-right-border-radius","",Eo.borderRadiusS),Co.extend("--ft-tabs-label-horizontal-padding","",Eo.spacing4),Co.extend("--ft-tabs-label-vertical-padding","",Eo.spacing3),Co.extend("--ft-tabs-label-gap","",Eo.spacing1),Co.extend("--ft-tabs-icon-horizontal-padding","",Eo.spacing1),Co.extend("--ft-tabs-icon-vertical-padding","",Eo.spacing4),Co.create("--ft-tabs-focus-outline-width","","SIZE","2px"),Co.extend("--ft-tabs-focus-focus-ring-color","",Io.borderActionFocusRing),Co.extend("--ft-tabs-off-state-layer-opacity-hover","",Eo.opacity8),Co.extend("--ft-tabs-off-state-layer-opacity-focus","",Eo.opacity8),Co.extend("--ft-tabs-off-state-layer-opacity-active","",Eo.opacity16),Co.extend("--ft-tabs-off-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-tabs-off-color","",Io.contentGlobalSubtle),Co.extend("--ft-tabs-off-state-layer-color","",Io.contentGlobalSubtle),Co.extend("--ft-tabs-on-state-layer-opacity-hover","",Eo.opacity8),Co.extend("--ft-tabs-on-state-layer-opacity-focus","",Eo.opacity8),Co.extend("--ft-tabs-on-state-layer-opacity-active","",Eo.opacity16),Co.extend("--ft-tabs-on-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-tabs-on-color","",Io.contentActionPrimary),Co.extend("--ft-tabs-on-state-layer-color","",Io.contentActionPrimary),Co.extend("--ft-collapsible-state-layer-opacity-hover","",Eo.opacity8),Co.extend("--ft-collapsible-state-layer-opacity-focus","",Eo.opacity8),Co.extend("--ft-collapsible-state-layer-opacity-active","",Eo.opacity16),Co.extend("--ft-collapsible-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-collapsible-horizontal-padding","",Eo.spacing4),Co.extend("--ft-collapsible-vertical-padding","",Eo.spacing3),Co.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),Co.extend("--ft-collapsible-focus-focus-ring-color","",Io.borderActionFocusRing),Co.extend("--ft-collapsible-color","",Io.contentGlobalPrimary),Co.extend("--ft-collapsible-state-layer-color","",Io.contentGlobalPrimary),Co.extend("--ft-collapsible-background-color","",Io.backgroundGlobalOnSurface),Co.extend("--ft-collapsible-border-color","",Io.borderGlobalSubtle),Co.extend("--ft-collapsible-icon-size","",Eo.iconSize3),Co.extend("--ft-switch-group-horizontal-padding","",Eo.spacing1),Co.extend("--ft-switch-group-vertical-padding","",Eo.spacing1),Co.extend("--ft-switch-group-gap","",Eo.spacing1),Co.extend("--ft-switch-group-background-color","",Io.backgroundGlobalSurface),Co.extend("--ft-switch-group-border-color","",Io.borderGlobalSubtle),Co.create("--ft-switch-group-border-radius","","SIZE","6px"),Co.extend("--ft-switch-label-horizontal-padding","",Eo.spacing2),Co.extend("--ft-switch-label-vertical-padding","",Eo.spacing1),Co.extend("--ft-switch-icon-horizontal-padding","",Eo.spacing1),Co.extend("--ft-switch-icon-vertical-padding","",Eo.spacing1),Co.create("--ft-switch-focus-outline-width","","SIZE","2px"),Co.extend("--ft-switch-focus-focus-ring-color","",Io.borderActionFocusRing),Co.extend("--ft-switch-option-border-radius","",Eo.borderRadiusS),Co.extend("--ft-switch-off-state-layer-opacity-hover","",Eo.opacity8),Co.extend("--ft-switch-off-state-layer-opacity-focus","",Eo.opacity8),Co.extend("--ft-switch-off-state-layer-opacity-active","",Eo.opacity16),Co.extend("--ft-switch-off-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-switch-off-color","",Io.contentGlobalSubtle),Co.extend("--ft-switch-off-state-layer-color","",Io.contentGlobalSubtle),Co.extend("--ft-switch-on-state-layer-opacity-hover","",Eo.opacity8),Co.extend("--ft-switch-on-state-layer-opacity-focus","",Eo.opacity8),Co.extend("--ft-switch-on-state-layer-opacity-active","",Eo.opacity16),Co.extend("--ft-switch-on-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-switch-on-color","",Io.contentActionPrimary),Co.extend("--ft-switch-on-state-layer-color","",Io.contentActionPrimary),Co.extend("--ft-chart-1-light","for area color charts",Eo.colorBrand40),Co.extend("--ft-chart-1-base","for line charts",Eo.colorBrand0),Co.extend("--ft-chart-2-light","for area color charts",Eo.colorYellow60),Co.extend("--ft-chart-2-base","for line charts",Eo.colorYellow100),Co.extend("--ft-chart-3-light","",Eo.colorUltramarine40),Co.extend("--ft-chart-3-base","",Eo.colorUltramarine70),Co.extend("--ft-chart-4-light","",Eo.colorCyan50),Co.extend("--ft-chart-4-base","",Eo.colorCyan100),Co.extend("--ft-chart-5-light","",Eo.colorRed40),Co.extend("--ft-chart-5-base","",Eo.colorRed60),Co.extend("--ft-chart-6-light","",Eo.colorGreen40),Co.extend("--ft-chart-6-base","",Eo.colorGreen70),Co.extend("--ft-chart-7-light","",Eo.colorOrange70),Co.extend("--ft-chart-7-base","",Eo.colorOrange100),Co.extend("--ft-chart-8-light","",Eo.colorAvocado70),Co.extend("--ft-chart-8-base","",Eo.colorAvocado200),Co.extend("--ft-chart-9-light","",Eo.colorBrown50),Co.extend("--ft-chart-9-base","",Eo.colorBrown200),Co.extend("--ft-chart-10-light","",Eo.colorGray50),Co.extend("--ft-chart-10-base","",Eo.colorGray80),Co.extend("--ft-chart-monochrome-10","",Eo.colorBrand10),Co.extend("--ft-chart-monochrome-20","",Eo.colorBrand20),Co.extend("--ft-chart-monochrome-30","",Eo.colorBrand40),Co.extend("--ft-chart-monochrome-40","",Eo.colorBrand60),Co.extend("--ft-chart-monochrome-50","",Eo.colorBrand0),Co.extend("--ft-chart-monochrome-60","",Eo.colorBrand200),Co.extend("--ft-chip-large-horizontal-padding","",Eo.spacing4),Co.extend("--ft-chip-large-vertical-padding","",Eo.spacing2),Co.extend("--ft-chip-large-gap","",Eo.spacing1),Co.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Co.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Co.extend("--ft-chip-large-border-radius","",Eo.borderRadiusPill),Co.create("--ft-chip-large-border-width","","SIZE","1px"),Co.extend("--ft-chip-large-icon-size","",Eo.iconSize3),Co.extend("--ft-chip-medium-horizontal-padding","",Eo.spacing3),Co.extend("--ft-chip-medium-vertical-padding","",Eo.spacing1),Co.extend("--ft-chip-medium-gap","",Eo.spacing1),Co.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Co.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Co.extend("--ft-chip-medium-border-radius","",Eo.borderRadiusPill),Co.create("--ft-chip-medium-border-width","","SIZE","1px"),Co.extend("--ft-chip-medium-icon-size","",Eo.iconSize2),Co.extend("--ft-chip-small-horizontal-padding","",Eo.spacing2),Co.extend("--ft-chip-small-vertical-padding","",Eo.spacing05),Co.extend("--ft-chip-small-gap","",Eo.spacing1),Co.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Co.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Co.extend("--ft-chip-small-border-radius","",Eo.borderRadiusPill),Co.create("--ft-chip-small-border-width","","SIZE","1px"),Co.extend("--ft-chip-small-icon-size","",Eo.iconSize1),Co.extend("--ft-chip-neutral-background-color","",Io.backgroundGlobalOnSurface),Co.extend("--ft-chip-neutral-color","",Io.contentGlobalPrimary),Co.extend("--ft-chip-neutral-border-color","",Io.borderGlobalSubtle),Co.extend("--ft-chip-info-background-color","",Io.backgroundInfoSubtle),Co.extend("--ft-chip-info-color","",Io.contentInfoPrimary),Co.extend("--ft-chip-info-border-color","",Io.borderInfoSubtle),Co.extend("--ft-chip-success-background-color","",Io.backgroundSuccessSubtle),Co.extend("--ft-chip-success-color","",Io.contentSuccessPrimary),Co.extend("--ft-chip-success-border-color","",Io.borderSuccessSubtle),Co.extend("--ft-chip-warning-background-color","",Io.backgroundWarningSubtle),Co.extend("--ft-chip-warning-color","",Io.contentWarningPrimary),Co.extend("--ft-chip-warning-border-color","",Io.borderWarningSubtle),Co.extend("--ft-chip-error-background-color","",Io.backgroundErrorSubtle),Co.extend("--ft-chip-error-color","",Io.contentErrorPrimary),Co.extend("--ft-chip-error-border-color","",Io.borderErrorSubtle),Co.create("--ft-notice-border-width","","SIZE","1px"),Co.extend("--ft-notice-horizontal-padding","",Eo.spacing2),Co.extend("--ft-notice-vertical-padding","",Eo.spacing1),Co.extend("--ft-notice-border-radius","",Eo.borderRadiusS),Co.extend("--ft-notice-gap","",Eo.spacing2),Co.extend("--ft-notice-icon-size","",Eo.iconSize3),Co.extend("--ft-notice-info-background-color","",Io.backgroundInfoSubtle),Co.extend("--ft-notice-info-border-color","",Io.borderInfoSubtle),Co.extend("--ft-notice-info-color","",Io.contentInfoPrimary),Co.extend("--ft-notice-warning-background-color","",Io.backgroundWarningSubtle),Co.extend("--ft-notice-warning-border-color","",Io.borderWarningSubtle),Co.extend("--ft-notice-warning-color","",Io.contentWarningPrimary),Co.extend("--ft-checkbox-label-color","",Io.contentGlobalPrimary),Co.extend("--ft-checkbox-checked-background-color","",Io.contentActionPrimary),Co.extend("--ft-checkbox-checked-state-layer-color","",Io.contentActionPrimary),Co.extend("--ft-checkbox-checked-color","",Io.contentGlobalOnColor),Co.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Eo.opacity16),Co.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Eo.opacity16),Co.extend("--ft-checkbox-checked-state-layer-opacity-active","",Eo.opacity24),Co.extend("--ft-checkbox-checked-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-checkbox-unchecked-border-color","",Eo.colorGray80),Co.extend("--ft-checkbox-unchecked-state-layer-color","",Eo.colorGray80),Co.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Eo.opacity16),Co.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Eo.opacity16),Co.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Eo.opacity24),Co.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-checkbox-focus-focus-ring-color","",Io.borderActionFocusRing),Co.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Co.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Co.extend("--ft-checkbox-gap","",Eo.spacing3),Co.extend("--ft-toggle-off-state-layer-opacity-hover","",Eo.opacity16),Co.extend("--ft-toggle-off-state-layer-opacity-focus","",Eo.opacity16),Co.extend("--ft-toggle-off-state-layer-opacity-active","",Eo.opacity24),Co.extend("--ft-toggle-off-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-toggle-off-background-color","",Io.contentGlobalSubtle),Co.extend("--ft-toggle-off-icon-color","",Io.contentGlobalSubtle),Co.extend("--ft-toggle-off-state-layer-color","",Io.contentGlobalSubtle),Co.extend("--ft-toggle-on-state-layer-opacity-hover","",Eo.opacity16),Co.extend("--ft-toggle-on-state-layer-opacity-focus","",Eo.opacity16),Co.extend("--ft-toggle-on-state-layer-opacity-active","",Eo.opacity24),Co.extend("--ft-toggle-on-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-toggle-on-background-color","",Io.contentActionPrimary),Co.extend("--ft-toggle-on-icon-color","",Io.contentActionPrimary),Co.extend("--ft-toggle-on-state-layer-color","",Io.contentActionPrimary),Co.extend("--ft-toggle-label-color","",Io.contentGlobalPrimary),Co.extend("--ft-toggle-focus-focus-ring-color","",Io.borderActionFocusRing),Co.extend("--ft-toggle-gap","",Eo.spacing3),Co.extend("--ft-radio-label-color","",Io.contentGlobalPrimary),Co.extend("--ft-radio-selected-color","",Io.contentActionPrimary),Co.extend("--ft-radio-selected-state-layer-color","",Io.contentActionPrimary),Co.extend("--ft-radio-selected-state-layer-opacity-hover","",Eo.opacity16),Co.extend("--ft-radio-selected-state-layer-opacity-focus","",Eo.opacity16),Co.extend("--ft-radio-selected-state-layer-opacity-active","",Eo.opacity24),Co.extend("--ft-radio-selected-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-radio-unselected-state-layer-color","",Eo.colorGray80),Co.extend("--ft-radio-unselected-state-layer-opacity-hover","",Eo.opacity16),Co.extend("--ft-radio-unselected-state-layer-opacity-focus","",Eo.opacity16),Co.extend("--ft-radio-unselected-state-layer-opacity-active","",Eo.opacity24),Co.extend("--ft-radio-unselected-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-radio-focus-focus-ring-color","",Io.borderActionFocusRing),Co.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Co.create("--ft-radio-focus-outline-width","","SIZE","2px"),Co.extend("--ft-radio-gap","",Eo.spacing3),Co.extend("--ft-notification-icon-size","",Eo.iconSize4),Co.extend("--ft-notification-horizontal-padding","",Eo.spacing4),Co.extend("--ft-notification-vertical-padding","",Eo.spacing4),Co.extend("--ft-notification-info-background-color","",Io.backgroundInfoSubtle),Co.extend("--ft-notification-info-color","",Io.contentInfoPrimary),Co.extend("--ft-notification-info-border-color","",Io.borderInfoSubtle),Co.extend("--ft-notification-success-background-color","",Io.backgroundSuccessSubtle),Co.extend("--ft-notification-success-color","",Io.contentSuccessPrimary),Co.extend("--ft-notification-success-border-color","",Io.borderSuccessSubtle),Co.extend("--ft-notification-warning-background-color","",Io.backgroundWarningSubtle),Co.extend("--ft-notification-warning-color","",Io.contentWarningPrimary),Co.extend("--ft-notification-warning-border-color","",Io.borderWarningSubtle),Co.extend("--ft-notification-error-background-color","",Io.backgroundErrorSubtle),Co.extend("--ft-notification-error-color","",Io.contentErrorPrimary),Co.extend("--ft-notification-error-border-color","",Io.borderErrorSubtle),Co.extend("--ft-notification-border-radius","",Eo.borderRadiusPill),Co.create("--ft-notification-border-width","","SIZE","1px"),Co.extend("--ft-notification-gap-leading","",Eo.spacing2),Co.extend("--ft-notification-gap-trailing","",Eo.spacing8),Co.extend("--ft-tooltip-horizontal-padding","",Eo.spacing2),Co.extend("--ft-tooltip-vertical-padding","",Eo.spacing2),Co.extend("--ft-tooltip-border-radius","",Eo.borderRadiusS),Co.extend("--ft-tooltip-label","",Io.contentGlobalOnColor),Co.extend("--ft-tooltip-background","",Io.contentGlobalPrimary),Co.extend("--ft-tooltip-background-opacity","",Eo.opacity80),Co.extend("--ft-tooltip-shadow","",Eo.shadowElevation03);const ko={colorPrimary:Co.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Co.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Co.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Co.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Co.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Co.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Co.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Co.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Co.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Co.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Co.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Co.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Co.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Co.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Co.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Co.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Co.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Co.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Co.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Co.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Co.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Co.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Co.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Co.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Co.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Co.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Co.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Co.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Co.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Co.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Co.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Co.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Co.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Co.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Co.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Co.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Co.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Co.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Co.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Co.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Co.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Co.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Co.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Co.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Co.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:Co.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:Co.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:Co.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:Co.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:Co.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:Co.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:Co.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:Co.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:Co.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:Co.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Co.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Co.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Co.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Co.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Co.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Co.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Co.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Wo=["start","end"],Lo=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Wo[0],o+"-"+Wo[1])),[]),zo=Math.min,Ko=Math.max,Ao=Math.round,Fo=t=>({x:t,y:t}),Zo={left:"right",right:"left",bottom:"top",top:"bottom"},Bo={start:"end",end:"start"};function Do(t,o,e){return Ko(t,zo(o,e))}function Mo(t,o){return"function"==typeof t?t(o):t}function Po(t){return t.split("-")[0]}function Ho(t){return t.split("-")[1]}function To(t){return"x"===t?"y":"x"}function jo(t){return"y"===t?"height":"width"}function _o(t){return["top","bottom"].includes(Po(t))?"y":"x"}function Go(t){return To(_o(t))}function Vo(t){return t.replace(/left|right|bottom|top/g,(t=>Zo[t]))}function Yo(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Xo(t,o,e){let{reference:i,floating:r}=t;const n=_o(o),a=Go(o),s=jo(a),l=Po(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(Ho(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function Jo(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}=Mo(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=Yo(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=Yo(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 qo(t,o,e){return(t?[...e.filter((o=>Ho(o)===t)),...e.filter((o=>Ho(o)!==t))]:e.filter((t=>Po(t)===t))).filter((e=>!t||(Ho(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Bo[t]))}(e)!==e)))}const Qo=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=Lo,autoAlignment:d=!0,...u}=Mo(t,o),y=void 0!==f||h===Lo?qo(f||null,d,h):h,g=await Jo(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=Ho(t),r=Go(t),n=jo(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Vo(a)),[a,Vo(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[Po(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=Ho(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,Ho(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 te(t){return ie(t)?(t.nodeName||"").toLowerCase():"#document"}function oe(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function ee(t){var o;return null==(o=(ie(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function ie(t){return t instanceof Node||t instanceof oe(t).Node}function re(t){return t instanceof Element||t instanceof oe(t).Element}function ne(t){return t instanceof HTMLElement||t instanceof oe(t).HTMLElement}function ae(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof oe(t).ShadowRoot)}function se(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=he(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function le(t){return["table","td","th"].includes(te(t))}function ce(t){const o=pe(),e=he(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 pe(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function fe(t){return["html","body","#document"].includes(te(t))}function he(t){return oe(t).getComputedStyle(t)}function de(t){return re(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ue(t){if("html"===te(t))return t;const o=t.assignedSlot||t.parentNode||ae(t)&&t.host||ee(t);return ae(o)?o.host:o}function ye(t){const o=ue(t);return fe(o)?t.ownerDocument?t.ownerDocument.body:t.body:ne(o)&&se(o)?o:ye(o)}function ge(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=ye(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=oe(r);return n?o.concat(a,a.visualViewport||[],se(r)?r:[],a.frameElement&&e?ge(a.frameElement):[]):o.concat(r,ge(r,[],e))}function be(t){const o=he(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=ne(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,s=Ao(e)!==n||Ao(i)!==a;return s&&(e=n,i=a),{width:e,height:i,$:s}}function me(t){return re(t)?t:t.contextElement}function xe(t){const o=me(t);if(!ne(o))return Fo(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=be(o);let a=(n?Ao(e.width):e.width)/i,s=(n?Ao(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const ve=Fo(0);function Oe(t){const o=oe(t);return pe()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ve}function Ne(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=me(t);let a=Fo(1);o&&(i?re(i)&&(a=xe(i)):a=xe(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==oe(t))&&o}(n,e,i)?Oe(n):Fo(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=oe(n),o=i&&re(i)?oe(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=xe(e),o=e.getBoundingClientRect(),i=he(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=oe(e).frameElement}}return Yo({width:p,height:f,x:l,y:c})}function Se(t){return Ne(ee(t)).left+de(t).scrollLeft}function we(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=oe(t),i=ee(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=pe();(!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=ee(t),e=de(t),i=t.ownerDocument.body,r=Ko(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=Ko(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+Se(t);const s=-e.scrollTop;return"rtl"===he(i).direction&&(a+=Ko(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(ee(t));else if(re(o))i=function(t,o){const e=Ne(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=ne(t)?xe(t):Fo(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=Oe(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return Yo(i)}function Ce(t,o){const e=ue(t);return!(e===o||!re(e)||fe(e))&&("fixed"===he(e).position||Ce(e,o))}function $e(t,o,e){const i=ne(o),r=ee(o),n="fixed"===e,a=Ne(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=Fo(0);if(i||!i&&!n)if(("body"!==te(o)||se(r))&&(s=de(o)),i){const t=Ne(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else r&&(l.x=Se(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Ee(t,o){return ne(t)&&"fixed"!==he(t).position?o?o(t):t.offsetParent:null}function Re(t,o){const e=oe(t);if(!ne(t))return e;let i=Ee(t,o);for(;i&&le(i)&&"static"===he(i).position;)i=Ee(i,o);return i&&("html"===te(i)||"body"===te(i)&&"static"===he(i).position&&!ce(i))?e:i||function(t){let o=ue(t);for(;ne(o)&&!fe(o);){if(ce(o))return o;o=ue(o)}return null}(t)||e}const Ie={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=ne(e),n=ee(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=Fo(1);const l=Fo(0);if((r||!r&&"fixed"!==i)&&(("body"!==te(e)||se(n))&&(a=de(e)),ne(e))){const t=Ne(e);s=xe(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:ee,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=ge(t,[],!1).filter((t=>re(t)&&"body"!==te(t))),r=null;const n="fixed"===he(t).position;let a=n?ue(t):t;for(;re(a)&&!fe(a);){const o=he(a),e=ce(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||se(a)&&!e&&Ce(t,a))?i=i.filter((t=>t!==a)):r=o,a=ue(a)}return o.set(t,i),i}(o,this._c):[].concat(e),i],a=n[0],s=n.reduce(((t,e)=>{const i=we(o,e,r);return t.top=Ko(i.top,t.top),t.right=zo(i.right,t.right),t.bottom=zo(i.bottom,t.bottom),t.left=Ko(i.left,t.left),t}),we(o,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Re,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||Re,n=this.getDimensions;return{reference:$e(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 be(t)},getScale:xe,isElement:re,isRTL:function(t){return"rtl"===he(t).direction}},Ue=(t,o,e)=>{const i=new Map,r={platform:Ie,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:p,y:f}=Xo(c,i,l),h=i,d={},u=0;for(let e=0;e<s.length;e++){const{name:n,fn:y}=s[e],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:r}):x.rects),({x:p,y:f}=Xo(c,h,l))),e=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,o,{...r,platform:n})};function ke(t){return function(t){for(let o=t;o;o=We(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=We(t);o;o=We(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 We(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}
85
85
  /**
86
86
  * @license
87
87
  * Copyright 2019 Google LLC
88
88
  * SPDX-License-Identifier: BSD-3-Clause
89
89
  */
90
- const Wo=window,zo=Wo.ShadowRoot&&(void 0===Wo.ShadyCSS||Wo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Ko extends Oe{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)=>{zo?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),r=Wo.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Fo,Ao=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 Zo=Symbol("constructorPrototype"),Bo=Symbol("constructorName"),Mo=Symbol("exportpartsDebouncer");class Do extends Ko{constructor(){super(),this[Fo]=new e(5),this[Bo]=this.constructor.name,this[Zo]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Bo]&&Object.setPrototypeOf(this,this[Zo])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.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(){this[Mo].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.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 p=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Fo=Mo,Ao([C()],Do.prototype,"exportpartsPrefix",void 0),Ao([L([])],Do.prototype,"exportpartsPrefixes",void 0),Ao([C()],Do.prototype,"customStylesheet",void 0);const Po=we.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");St`
90
+ const Le=window,ze=Le.ShadowRoot&&(void 0===Le.ShadyCSS||Le.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Ke extends No{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{ze?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),i=Le.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Ae,Fe=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 Ze=Symbol("constructorPrototype"),Be=Symbol("constructorName"),De=Symbol("exportpartsDebouncer");class Me extends Ke{constructor(){super(),this[Ae]=new o(5),this[Be]=this.constructor.name,this[Ze]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Be]&&Object.setPrototypeOf(this,this[Ze])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.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(){this[De].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.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(", "))}}Ae=De,Fe([C()],Me.prototype,"exportpartsPrefix",void 0),Fe([W([])],Me.prototype,"exportpartsPrefixes",void 0),Fe([C()],Me.prototype,"customStylesheet",void 0);const Pe=Co.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");St`
91
91
  .highlight-html-match {
92
- background: ${Po};
92
+ background: ${Pe};
93
93
  }
94
- `;const Ho=St`
94
+ `;const He=St`
95
95
  .ft-no-text-select {
96
96
  -webkit-touch-callout: none;
97
97
  -webkit-user-select: none;
@@ -112,7 +112,7 @@ const Wo=window,zo=Wo.ShadowRoot&&(void 0===Wo.ShadyCSS||Wo.ShadyCSS.nativeShado
112
112
  -webkit-hyphens: auto;
113
113
  hyphens: auto
114
114
  }
115
- `;const To=St`
115
+ `;const Te=St`
116
116
  .ft-safari-ellipsis-fix {
117
117
  margin-right: 0;
118
118
 
@@ -123,163 +123,163 @@ const Wo=window,zo=Wo.ShadowRoot&&(void 0===Wo.ShadyCSS||Wo.ShadyCSS.nativeShado
123
123
  display: inline-block;
124
124
  width: 0;
125
125
  }
126
- `;class jo{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()}}}const _o=t=>{const e=null!=t?t:{};return(t,o)=>{var r;const i={hasChanged:(t,e)=>!I(t,e),attribute:!1,...e};C(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})}};function Go(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Vo,Yo,Xo;const Jo=Symbol("internalReduxEventsUnsubscribers"),qo=Symbol("internalStoresUnsubscribers"),Qo=Symbol("internalStores");class tr extends Do{constructor(){super(...arguments),this[Vo]=new Map,this[Yo]=new Map,this[Xo]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[Qo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Qo].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Qo].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Go(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[Qo].delete(e)}setupStore(t,e){this[Qo].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Qo].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[qo].has(t.store):this[qo].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[qo].set(t,e.subscribe((()=>this.updateFromStores()))),Go(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[Jo].push((()=>e.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[qo].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Jo].forEach((t=>t())),this[Jo]=[]}unsubscribeFromStore(t){this[qo].has(t)&&this[qo].get(t)(),this[qo].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}Vo=qo,Yo=Qo,Xo=Jo,tr.reduxProperties=new Map,tr.reduxReactiveProperties=new Set,tr.reduxEventListeners=new Map,window.ftReduxStores||(window.ftReduxStores={});const er=Symbol("elementInternals");var or,rr,ir;const nr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(ir=null===(rr=null===(or=window.safari)||void 0===or?void 0:or.pushNotification)||void 0===rr?void 0:rr.toString())&&void 0!==ir?ir:""),ar=1,sr=2,lr=t=>(...e)=>({_$litDirective$:t,values:e});
126
+ `;class je{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,i;t=this.resolvePluralKey(t,o);let r=null!==(i=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==i?i:"";return o.forEach(((t,o)=>r=r.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),r}resolvePluralKey(t,o){for(let e of o)if("number"==typeof e){const o=`${String(t)}[\\=${e}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const e=e=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(e):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(e):t.toLocaleString(e);try{return e(document.documentElement.lang)}catch(t){return e()}}}const _e=t=>{const o=null!=t?t:{};return(t,e)=>{var i;const r={hasChanged:(t,o)=>!U(t,o),attribute:!1,...o};C(r)(t,e);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(e,{selector:null!==(i=o.selector)&&void 0!==i?i:t=>t[e],store:o.store})}};function Ge(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var Ve,Ye,Xe;const Je=Symbol("internalReduxEventsUnsubscribers"),qe=Symbol("internalStoresUnsubscribers"),Qe=Symbol("internalStores");class ti extends Me{constructor(){super(...arguments),this[Ve]=new Map,this[Ye]=new Map,this[Xe]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[Qe].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Qe].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Qe].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Ge(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[Qe].delete(o)}setupStore(t,o){this[Qe].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Qe].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[qe].has(t.store):this[qe].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[qe].set(t,o.subscribe((()=>this.updateFromStores()))),Ge(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const i=t=>this[e](t);o.eventBus.addEventListener(t.eventName,i),this[Je].push((()=>o.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[qe].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Je].forEach((t=>t())),this[Je]=[]}unsubscribeFromStore(t){this[qe].has(t)&&this[qe].get(t)(),this[qe].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}Ve=qe,Ye=Qe,Xe=Je,ti.reduxProperties=new Map,ti.reduxReactiveProperties=new Set,ti.reduxEventListeners=new Map,window.ftReduxStores||(window.ftReduxStores={});const oi=Symbol("elementInternals");var ei,ii,ri;const ni=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(ri=null===(ii=null===(ei=window.safari)||void 0===ei?void 0:ei.pushNotification)||void 0===ii?void 0:ii.toString())&&void 0!==ri?ri:""),ai=1,si=2,li=t=>(...o)=>({_$litDirective$:t,values:o});
127
127
  /**
128
128
  * @license
129
129
  * Copyright 2017 Google LLC
130
130
  * SPDX-License-Identifier: BSD-3-Clause
131
- */let cr=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)}};
131
+ */let ci=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};
132
132
  /**
133
133
  * @license
134
134
  * Copyright 2020 Google LLC
135
135
  * SPDX-License-Identifier: BSD-3-Clause
136
- */const{D:pr}=yt,fr=()=>document.createComment(""),hr=(t,e,o)=>{const r=t._$AA.parentNode,i=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=r.insertBefore(fr(),i),n=r.insertBefore(fr(),i);o=new pr(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},dr=(t,e,o=t)=>(t._$AI(e,o),t),ur={},yr=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}},gr=(t,e,o)=>{const r=new Map;for(let i=e;i<=o;i++)r.set(t[i],i);return r},br=lr(class extends cr{constructor(t){if(super(t),t.type!==sr)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,p,f=0,h=i.length-1,d=0,u=n.length-1;for(;f<=h&&d<=u;)if(null===i[f])f++;else if(null===i[h])h--;else if(s[f]===a[d])l[d]=dr(i[f],n[d]),f++,d++;else if(s[h]===a[u])l[u]=dr(i[h],n[u]),h--,u--;else if(s[f]===a[u])l[u]=dr(i[f],n[u]),hr(t,l[u+1],i[f]),f++,u--;else if(s[h]===a[d])l[d]=dr(i[h],n[d]),hr(t,i[f],i[h]),h--,d++;else if(void 0===c&&(c=gr(a,d,u),p=gr(s,f,h)),c.has(s[f]))if(c.has(s[h])){const e=p.get(a[d]),o=void 0!==e?i[e]:null;if(null===o){const e=hr(t,i[f]);dr(e,n[d]),l[d]=e}else l[d]=dr(o,n[d]),hr(t,i[f],o),i[e]=null;d++}else yr(i[h]),h--;else yr(i[f]),f++;for(;d<=u;){const e=hr(t,l[u+1]);dr(e,n[d]),l[d++]=e}for(;f<=h;){const t=i[f++];null!==t&&yr(t)}return this.dt=a,((t,e=ur)=>{t._$AH=e})(t,l),tt}}),mr=lr(class extends cr{constructor(t){if(super(t),t.type!==ar||"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 tt}}),xr="important",vr=" !"+xr,Or=lr(class extends cr{constructor(t){if(super(t),t.type!==ar||"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(vr);t.includes("-")||e?o.setProperty(t,e?r.slice(0,-11):r,e?xr:""):o[t]=r}}return tt}});
136
+ */const{D:pi}=yt,fi=()=>document.createComment(""),hi=(t,o,e)=>{const i=t._$AA.parentNode,r=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=i.insertBefore(fi(),r),n=i.insertBefore(fi(),r);e=new pi(o,n,t,t.options)}else{const o=e._$AB.nextSibling,n=e._$AM,a=n!==t;if(a){let o;e._$AQ?.(t),e._$AM=t,void 0!==e._$AP&&(o=t._$AU)!==n._$AU&&e._$AP(o)}if(o!==r||a){let t=e._$AA;for(;t!==o;){const o=t.nextSibling;i.insertBefore(t,r),t=o}}}return e},di=(t,o,e=t)=>(t._$AI(o,e),t),ui={},yi=t=>{t._$AP?.(!1,!0);let o=t._$AA;const e=t._$AB.nextSibling;for(;o!==e;){const t=o.nextSibling;o.remove(),o=t}},gi=(t,o,e)=>{const i=new Map;for(let r=o;r<=e;r++)i.set(t[r],r);return i},bi=li(class extends ci{constructor(t){if(super(t),t.type!==si)throw Error("repeat() can only be used in text expressions")}ht(t,o,e){let i;void 0===e?e=o:void 0!==o&&(i=o);const r=[],n=[];let a=0;for(const o of t)r[a]=i?i(o,a):a,n[a]=e(o,a),a++;return{values:n,keys:r}}render(t,o,e){return this.ht(t,o,e).values}update(t,[o,e,i]){const r=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(o,e,i);if(!Array.isArray(r))return this.dt=a,n;const s=this.dt??=[],l=[];let c,p,f=0,h=r.length-1,d=0,u=n.length-1;for(;f<=h&&d<=u;)if(null===r[f])f++;else if(null===r[h])h--;else if(s[f]===a[d])l[d]=di(r[f],n[d]),f++,d++;else if(s[h]===a[u])l[u]=di(r[h],n[u]),h--,u--;else if(s[f]===a[u])l[u]=di(r[f],n[u]),hi(t,l[u+1],r[f]),f++,u--;else if(s[h]===a[d])l[d]=di(r[h],n[d]),hi(t,r[f],r[h]),h--,d++;else if(void 0===c&&(c=gi(a,d,u),p=gi(s,f,h)),c.has(s[f]))if(c.has(s[h])){const o=p.get(a[d]),e=void 0!==o?r[o]:null;if(null===e){const o=hi(t,r[f]);di(o,n[d]),l[d]=o}else l[d]=di(e,n[d]),hi(t,r[f],e),r[o]=null;d++}else yi(r[h]),h--;else yi(r[f]),f++;for(;d<=u;){const o=hi(t,l[u+1]);di(o,n[d]),l[d++]=o}for(;f<=h;){const t=r[f++];null!==t&&yi(t)}return this.dt=a,((t,o=ui)=>{t._$AH=o})(t,l),tt}}),mi=li(class extends ci{constructor(t){if(super(t),t.type!==ai||"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 tt}}),xi="important",vi=" !"+xi,Oi=li(class extends ci{constructor(t){if(super(t),t.type!==ai||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((o,e)=>{const i=t[e];return null==i?o:o+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`}),"")}update(t,[o]){const{style:e}=t.element;if(void 0===this.ut)return this.ut=new Set(Object.keys(o)),this.render(o);for(const t of this.ut)null==o[t]&&(this.ut.delete(t),t.includes("-")?e.removeProperty(t):e[t]=null);for(const t in o){const i=o[t];if(null!=i){this.ut.add(t);const o="string"==typeof i&&i.endsWith(vi);t.includes("-")||o?e.setProperty(t,o?i.slice(0,-11):i,o?xi:""):e[t]=i}}return tt}});
137
137
  /**
138
138
  * @license
139
139
  * Copyright 2017 Google LLC
140
140
  * SPDX-License-Identifier: BSD-3-Clause
141
- */var Nr;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(Nr||(Nr={}));var Sr=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 wr extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const Cr=Symbol("registerInterval");class $r 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[Cr]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Cr]):this.dispatchEvent(new wr)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Cr,Sr([$()],o.prototype,"stateManager",void 0),o}(tr)){}
141
+ */var Ni;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(Ni||(Ni={}));var Si=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 wi extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const Ci=Symbol("registerInterval");class $i 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[Ci]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Ci]):this.dispatchEvent(new wi)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=Ci,Si([$()],e.prototype,"stateManager",void 0),e}(ti)){}
142
142
  /**
143
143
  * @license
144
144
  * Copyright 2020 Google LLC
145
145
  * SPDX-License-Identifier: BSD-3-Clause
146
- */const Rr=Symbol.for(""),Er=t=>{if(t?.r===Rr)return t?._$litStatic$},kr=t=>({_$litStatic$:t,r:Rr}),Ir=new Map,Ur=(t=>(e,...o)=>{const r=o.length;let i,n;const a=[],s=[];let l,c=0,p=!1;for(;c<r;){for(l=e[c];c<r&&void 0!==(n=o[c],i=Er(n));)l+=i+e[++c],p=!0;c!==r&&s.push(n),a.push(l),c++}if(c===r&&a.push(e[r]),p){const t=a.join("$$lit$$");void 0===(e=Ir.get(t))&&(a.raw=a,Ir.set(t,e=a)),o=s}return t(e,...o)})(Q);var Lr;!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"}(Lr||(Lr={}));const Wr=we.extend("--ft-typography-font-family","",Ie.titleFont),zr=we.extend("--ft-typography-font-family","",Ie.contentFont),Kr={fontFamily:zr,fontSize:we.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:we.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:we.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:we.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:we.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Fr=we.extend("--ft-typography-title-font-family","",Wr),Ar=we.extend("--ft-typography-title-font-size","",Kr.fontSize,"20px"),Zr=we.extend("--ft-typography-title-font-weight","",Kr.fontWeight,"normal"),Br=we.extend("--ft-typography-title-letter-spacing","",Kr.letterSpacing,"0.15px"),Mr=we.extend("--ft-typography-title-line-height","",Kr.lineHeight,"1.2"),Dr=we.extend("--ft-typography-title-text-transform","",Kr.textTransform,"inherit"),Pr=we.extend("--ft-typography-title-dense-font-family","",Wr),Hr=we.extend("--ft-typography-title-dense-font-size","",Kr.fontSize,"14px"),Tr=we.extend("--ft-typography-title-dense-font-weight","",Kr.fontWeight,"normal"),jr=we.extend("--ft-typography-title-dense-letter-spacing","",Kr.letterSpacing,"0.105px"),_r=we.extend("--ft-typography-title-dense-line-height","",Kr.lineHeight,"1.7"),Gr=we.extend("--ft-typography-title-dense-text-transform","",Kr.textTransform,"inherit"),Vr=we.extend("--ft-typography-subtitle1-font-family","",zr),Yr=we.extend("--ft-typography-subtitle1-font-size","",Kr.fontSize,"16px"),Xr=we.extend("--ft-typography-subtitle1-font-weight","",Kr.fontWeight,"600"),Jr=we.extend("--ft-typography-subtitle1-letter-spacing","",Kr.letterSpacing,"0.144px"),qr=we.extend("--ft-typography-subtitle1-line-height","",Kr.lineHeight,"1.5"),Qr=we.extend("--ft-typography-subtitle1-text-transform","",Kr.textTransform,"inherit"),ti=we.extend("--ft-typography-subtitle2-font-family","",zr),ei=we.extend("--ft-typography-subtitle2-font-size","",Kr.fontSize,"14px"),oi=we.extend("--ft-typography-subtitle2-font-weight","",Kr.fontWeight,"normal"),ri=we.extend("--ft-typography-subtitle2-letter-spacing","",Kr.letterSpacing,"0.098px"),ii=we.extend("--ft-typography-subtitle2-line-height","",Kr.lineHeight,"1.7"),ni=we.extend("--ft-typography-subtitle2-text-transform","",Kr.textTransform,"inherit"),ai=we.extend("--ft-typography-body1-font-family","",zr),si=we.extend("--ft-typography-body1-font-size","",Kr.fontSize,"16px"),li=we.extend("--ft-typography-body1-font-weight","",Kr.fontWeight,"normal"),ci=we.extend("--ft-typography-body1-letter-spacing","",Kr.letterSpacing,"0.496px"),pi=we.extend("--ft-typography-body1-line-height","",Kr.lineHeight,"1.5"),fi=we.extend("--ft-typography-body1-text-transform","",Kr.textTransform,"inherit"),hi=we.extend("--ft-typography-body2-font-family","",zr),di=we.extend("--ft-typography-body2-font-size","",Kr.fontSize,"14px"),ui=we.extend("--ft-typography-body2-font-weight","",Kr.fontWeight,"normal"),yi=we.extend("--ft-typography-body2-letter-spacing","",Kr.letterSpacing,"0.252px"),gi=we.extend("--ft-typography-body2-line-height","",Kr.lineHeight,"1.4"),bi=we.extend("--ft-typography-body2-text-transform","",Kr.textTransform,"inherit"),mi=we.extend("--ft-typography-caption-font-family","",zr),xi=we.extend("--ft-typography-caption-font-size","",Kr.fontSize,"12px"),vi=we.extend("--ft-typography-caption-font-weight","",Kr.fontWeight,"normal"),Oi=we.extend("--ft-typography-caption-letter-spacing","",Kr.letterSpacing,"0.396px"),Ni=we.extend("--ft-typography-caption-line-height","",Kr.lineHeight,"1.33"),Si=we.extend("--ft-typography-caption-text-transform","",Kr.textTransform,"inherit"),wi=we.extend("--ft-typography-breadcrumb-font-family","",zr),Ci=we.extend("--ft-typography-breadcrumb-font-size","",Kr.fontSize,"10px"),$i=we.extend("--ft-typography-breadcrumb-font-weight","",Kr.fontWeight,"normal"),Ri=we.extend("--ft-typography-breadcrumb-letter-spacing","",Kr.letterSpacing,"0.33px"),Ei=we.extend("--ft-typography-breadcrumb-line-height","",Kr.lineHeight,"1.6"),ki=we.extend("--ft-typography-breadcrumb-text-transform","",Kr.textTransform,"inherit"),Ii=we.extend("--ft-typography-overline-font-family","",zr),Ui=we.extend("--ft-typography-overline-font-size","",Kr.fontSize,"10px"),Li=we.extend("--ft-typography-overline-font-weight","",Kr.fontWeight,"normal"),Wi=we.extend("--ft-typography-overline-letter-spacing","",Kr.letterSpacing,"1.5px"),zi=we.extend("--ft-typography-overline-line-height","",Kr.lineHeight,"1.6"),Ki=we.extend("--ft-typography-overline-text-transform","",Kr.textTransform,"uppercase"),Fi={fontFamily:we.extend("--ft-typography-button-font-family","",zr),fontSize:we.extend("--ft-typography-button-font-size","",Kr.fontSize,"14px"),fontWeight:we.extend("--ft-typography-button-font-weight","",Kr.fontWeight,"600"),letterSpacing:we.extend("--ft-typography-button-letter-spacing","",Kr.letterSpacing,"1.246px"),lineHeight:we.extend("--ft-typography-button-line-height","",Kr.lineHeight,"1.15"),textTransform:we.extend("--ft-typography-button-text-transform","",Kr.textTransform,"uppercase")},Ai=St`
146
+ */const Ei=Symbol.for(""),Ri=t=>{if(t?.r===Ei)return t?._$litStatic$},Ii=t=>({_$litStatic$:t,r:Ei}),Ui=new Map,ki=(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=Ri(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=Ui.get(t))&&(a.raw=a,Ui.set(t,o=a)),e=s}return t(o,...e)})(Q);var Wi;!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"}(Wi||(Wi={}));const Li=Co.extend("--ft-typography-font-family","",ko.titleFont),zi=Co.extend("--ft-typography-font-family","",ko.contentFont),Ki={fontFamily:zi,fontSize:Co.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Co.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Co.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Co.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Co.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Ai=Co.extend("--ft-typography-title-font-family","",Li),Fi=Co.extend("--ft-typography-title-font-size","",Ki.fontSize,"20px"),Zi=Co.extend("--ft-typography-title-font-weight","",Ki.fontWeight,"normal"),Bi=Co.extend("--ft-typography-title-letter-spacing","",Ki.letterSpacing,"0.15px"),Di=Co.extend("--ft-typography-title-line-height","",Ki.lineHeight,"1.2"),Mi=Co.extend("--ft-typography-title-text-transform","",Ki.textTransform,"inherit"),Pi=Co.extend("--ft-typography-title-dense-font-family","",Li),Hi=Co.extend("--ft-typography-title-dense-font-size","",Ki.fontSize,"14px"),Ti=Co.extend("--ft-typography-title-dense-font-weight","",Ki.fontWeight,"normal"),ji=Co.extend("--ft-typography-title-dense-letter-spacing","",Ki.letterSpacing,"0.105px"),_i=Co.extend("--ft-typography-title-dense-line-height","",Ki.lineHeight,"1.7"),Gi=Co.extend("--ft-typography-title-dense-text-transform","",Ki.textTransform,"inherit"),Vi=Co.extend("--ft-typography-subtitle1-font-family","",zi),Yi=Co.extend("--ft-typography-subtitle1-font-size","",Ki.fontSize,"16px"),Xi=Co.extend("--ft-typography-subtitle1-font-weight","",Ki.fontWeight,"600"),Ji=Co.extend("--ft-typography-subtitle1-letter-spacing","",Ki.letterSpacing,"0.144px"),qi=Co.extend("--ft-typography-subtitle1-line-height","",Ki.lineHeight,"1.5"),Qi=Co.extend("--ft-typography-subtitle1-text-transform","",Ki.textTransform,"inherit"),tr=Co.extend("--ft-typography-subtitle2-font-family","",zi),or=Co.extend("--ft-typography-subtitle2-font-size","",Ki.fontSize,"14px"),er=Co.extend("--ft-typography-subtitle2-font-weight","",Ki.fontWeight,"normal"),ir=Co.extend("--ft-typography-subtitle2-letter-spacing","",Ki.letterSpacing,"0.098px"),rr=Co.extend("--ft-typography-subtitle2-line-height","",Ki.lineHeight,"1.7"),nr=Co.extend("--ft-typography-subtitle2-text-transform","",Ki.textTransform,"inherit"),ar=Co.extend("--ft-typography-body1-font-family","",zi),sr=Co.extend("--ft-typography-body1-font-size","",Ki.fontSize,"16px"),lr=Co.extend("--ft-typography-body1-font-weight","",Ki.fontWeight,"normal"),cr=Co.extend("--ft-typography-body1-letter-spacing","",Ki.letterSpacing,"0.496px"),pr=Co.extend("--ft-typography-body1-line-height","",Ki.lineHeight,"1.5"),fr=Co.extend("--ft-typography-body1-text-transform","",Ki.textTransform,"inherit"),hr=Co.extend("--ft-typography-body2-font-family","",zi),dr=Co.extend("--ft-typography-body2-font-size","",Ki.fontSize,"14px"),ur=Co.extend("--ft-typography-body2-font-weight","",Ki.fontWeight,"normal"),yr=Co.extend("--ft-typography-body2-letter-spacing","",Ki.letterSpacing,"0.252px"),gr=Co.extend("--ft-typography-body2-line-height","",Ki.lineHeight,"1.4"),br=Co.extend("--ft-typography-body2-text-transform","",Ki.textTransform,"inherit"),mr=Co.extend("--ft-typography-caption-font-family","",zi),xr=Co.extend("--ft-typography-caption-font-size","",Ki.fontSize,"12px"),vr=Co.extend("--ft-typography-caption-font-weight","",Ki.fontWeight,"normal"),Or=Co.extend("--ft-typography-caption-letter-spacing","",Ki.letterSpacing,"0.396px"),Nr=Co.extend("--ft-typography-caption-line-height","",Ki.lineHeight,"1.33"),Sr=Co.extend("--ft-typography-caption-text-transform","",Ki.textTransform,"inherit"),wr=Co.extend("--ft-typography-breadcrumb-font-family","",zi),Cr=Co.extend("--ft-typography-breadcrumb-font-size","",Ki.fontSize,"10px"),$r=Co.extend("--ft-typography-breadcrumb-font-weight","",Ki.fontWeight,"normal"),Er=Co.extend("--ft-typography-breadcrumb-letter-spacing","",Ki.letterSpacing,"0.33px"),Rr=Co.extend("--ft-typography-breadcrumb-line-height","",Ki.lineHeight,"1.6"),Ir=Co.extend("--ft-typography-breadcrumb-text-transform","",Ki.textTransform,"inherit"),Ur=Co.extend("--ft-typography-overline-font-family","",zi),kr=Co.extend("--ft-typography-overline-font-size","",Ki.fontSize,"10px"),Wr=Co.extend("--ft-typography-overline-font-weight","",Ki.fontWeight,"normal"),Lr=Co.extend("--ft-typography-overline-letter-spacing","",Ki.letterSpacing,"1.5px"),zr=Co.extend("--ft-typography-overline-line-height","",Ki.lineHeight,"1.6"),Kr=Co.extend("--ft-typography-overline-text-transform","",Ki.textTransform,"uppercase"),Ar={fontFamily:Co.extend("--ft-typography-button-font-family","",zi),fontSize:Co.extend("--ft-typography-button-font-size","",Ki.fontSize,"14px"),fontWeight:Co.extend("--ft-typography-button-font-weight","",Ki.fontWeight,"600"),letterSpacing:Co.extend("--ft-typography-button-letter-spacing","",Ki.letterSpacing,"1.246px"),lineHeight:Co.extend("--ft-typography-button-line-height","",Ki.lineHeight,"1.15"),textTransform:Co.extend("--ft-typography-button-text-transform","",Ki.textTransform,"uppercase")},Fr=St`
147
147
  .ft-typography--title {
148
- font-family: ${Fr};
149
- font-size: ${Ar};
150
- font-weight: ${Zr};
151
- letter-spacing: ${Br};
152
- line-height: ${Mr};
153
- text-transform: ${Dr};
154
- }
155
- `,Zi=St`
148
+ font-family: ${Ai};
149
+ font-size: ${Fi};
150
+ font-weight: ${Zi};
151
+ letter-spacing: ${Bi};
152
+ line-height: ${Di};
153
+ text-transform: ${Mi};
154
+ }
155
+ `,Zr=St`
156
156
  .ft-typography--title-dense {
157
- font-family: ${Pr};
158
- font-size: ${Hr};
159
- font-weight: ${Tr};
160
- letter-spacing: ${jr};
161
- line-height: ${_r};
162
- text-transform: ${Gr};
163
- }
164
- `,Bi=St`
157
+ font-family: ${Pi};
158
+ font-size: ${Hi};
159
+ font-weight: ${Ti};
160
+ letter-spacing: ${ji};
161
+ line-height: ${_i};
162
+ text-transform: ${Gi};
163
+ }
164
+ `,Br=St`
165
165
  .ft-typography--subtitle1 {
166
- font-family: ${Vr};
167
- font-size: ${Yr};
168
- font-weight: ${Xr};
169
- letter-spacing: ${Jr};
170
- line-height: ${qr};
171
- text-transform: ${Qr};
172
- }
173
- `,Mi=St`
166
+ font-family: ${Vi};
167
+ font-size: ${Yi};
168
+ font-weight: ${Xi};
169
+ letter-spacing: ${Ji};
170
+ line-height: ${qi};
171
+ text-transform: ${Qi};
172
+ }
173
+ `,Dr=St`
174
174
  .ft-typography--subtitle2 {
175
- font-family: ${ti};
176
- font-size: ${ei};
177
- font-weight: ${oi};
178
- letter-spacing: ${ri};
179
- line-height: ${ii};
180
- text-transform: ${ni};
175
+ font-family: ${tr};
176
+ font-size: ${or};
177
+ font-weight: ${er};
178
+ letter-spacing: ${ir};
179
+ line-height: ${rr};
180
+ text-transform: ${nr};
181
181
  }
182
182
 
183
- `,Di=St`
183
+ `,Mr=St`
184
184
  .ft-typography--body1 {
185
- font-family: ${ai};
186
- font-size: ${si};
187
- font-weight: ${li};
188
- letter-spacing: ${ci};
189
- line-height: ${pi};
190
- text-transform: ${fi};
191
- }
192
- `,Pi=St`
185
+ font-family: ${ar};
186
+ font-size: ${sr};
187
+ font-weight: ${lr};
188
+ letter-spacing: ${cr};
189
+ line-height: ${pr};
190
+ text-transform: ${fr};
191
+ }
192
+ `,Pr=St`
193
193
  .ft-typography--body2 {
194
- font-family: ${hi};
195
- font-size: ${di};
196
- font-weight: ${ui};
197
- letter-spacing: ${yi};
198
- line-height: ${gi};
199
- text-transform: ${bi};
200
- }
201
- `,Hi=St`
194
+ font-family: ${hr};
195
+ font-size: ${dr};
196
+ font-weight: ${ur};
197
+ letter-spacing: ${yr};
198
+ line-height: ${gr};
199
+ text-transform: ${br};
200
+ }
201
+ `,Hr=St`
202
202
  .ft-typography--caption {
203
- font-family: ${mi};
204
- font-size: ${xi};
205
- font-weight: ${vi};
206
- letter-spacing: ${Oi};
207
- line-height: ${Ni};
208
- text-transform: ${Si};
209
- }
210
- `,Ti=St`
203
+ font-family: ${mr};
204
+ font-size: ${xr};
205
+ font-weight: ${vr};
206
+ letter-spacing: ${Or};
207
+ line-height: ${Nr};
208
+ text-transform: ${Sr};
209
+ }
210
+ `,Tr=St`
211
211
  .ft-typography--breadcrumb {
212
- font-family: ${wi};
213
- font-size: ${Ci};
214
- font-weight: ${$i};
215
- letter-spacing: ${Ri};
216
- line-height: ${Ei};
217
- text-transform: ${ki};
218
- }
219
- `,ji=St`
212
+ font-family: ${wr};
213
+ font-size: ${Cr};
214
+ font-weight: ${$r};
215
+ letter-spacing: ${Er};
216
+ line-height: ${Rr};
217
+ text-transform: ${Ir};
218
+ }
219
+ `,jr=St`
220
220
  .ft-typography--overline {
221
- font-family: ${Ii};
222
- font-size: ${Ui};
223
- font-weight: ${Li};
224
- letter-spacing: ${Wi};
225
- line-height: ${zi};
226
- text-transform: ${Ki};
227
- }
228
- `,_i=St`
221
+ font-family: ${Ur};
222
+ font-size: ${kr};
223
+ font-weight: ${Wr};
224
+ letter-spacing: ${Lr};
225
+ line-height: ${zr};
226
+ text-transform: ${Kr};
227
+ }
228
+ `,_r=St`
229
229
  .ft-typography--button {
230
- font-family: ${Fi.fontFamily};
231
- font-size: ${Fi.fontSize};
232
- font-weight: ${Fi.fontWeight};
233
- letter-spacing: ${Fi.letterSpacing};
234
- line-height: ${Fi.lineHeight};
235
- text-transform: ${Fi.textTransform};
236
- }
237
- `,Gi=St`
230
+ font-family: ${Ar.fontFamily};
231
+ font-size: ${Ar.fontSize};
232
+ font-weight: ${Ar.fontWeight};
233
+ letter-spacing: ${Ar.letterSpacing};
234
+ line-height: ${Ar.lineHeight};
235
+ text-transform: ${Ar.textTransform};
236
+ }
237
+ `,Gr=St`
238
238
  .ft-typography {
239
239
  vertical-align: inherit;
240
240
  }
241
- `,Vi=[Object.keys(Re).map((t=>function(t){const e=Re[t];return St`
241
+ `,Vr=[Object.keys(Ro).map((t=>function(t){const o=Ro[t];return St`
242
242
  .ft-typography--${Nt(t)} {
243
- font-family: ${e.fontFamily};
244
- font-size: ${e.fontSize};
245
- font-weight: ${e.fontWeight};
246
- letter-spacing: ${e.letterSpacing};
247
- line-height: ${e.lineHeight};
248
- text-transform: ${e.textCase};
243
+ font-family: ${o.fontFamily};
244
+ font-size: ${o.fontSize};
245
+ font-weight: ${o.fontWeight};
246
+ letter-spacing: ${o.letterSpacing};
247
+ line-height: ${o.lineHeight};
248
+ text-transform: ${o.textCase};
249
249
  }
250
- `}(t)))];var Yi=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 Xi extends Do{constructor(){super(...arguments),this.variant=Lr.body1}render(){return this.element?Ur`
251
- <${kr(this.element)}
250
+ `}(t)))];var Yr=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 Me{constructor(){super(...arguments),this.variant=Wi.body1}render(){return this.element?ki`
251
+ <${Ii(this.element)}
252
252
  class="ft-typography ft-typography--${this.variant}">
253
253
  <slot></slot>
254
- </${kr(this.element)}>
255
- `:Ur`
254
+ </${Ii(this.element)}>
255
+ `:ki`
256
256
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
257
- `}}Xi.styles=[Ai,Zi,Bi,Mi,Di,Pi,Hi,Ti,ji,_i,Gi,...Vi],Yi([C()],Xi.prototype,"element",void 0),Yi([C()],Xi.prototype,"variant",void 0),U("ft-typography")(Xi);const Ji=we.extend("--ft-reader-internal-link-outline-color","",Ie.colorPrimary),qi=St`
257
+ `}}Xr.styles=[Fr,Zr,Br,Dr,Mr,Pr,Hr,Tr,jr,_r,Gr,...Vr],Yr([C()],Xr.prototype,"element",void 0),Yr([C()],Xr.prototype,"variant",void 0),k("ft-typography")(Xr);const Jr=Co.extend("--ft-reader-internal-link-outline-color","",ko.colorPrimary),qr=St`
258
258
  :host {
259
259
  display: contents;
260
260
  }
261
261
 
262
262
  a:focus {
263
- outline-color: ${Ji};
263
+ outline-color: ${Jr};
264
264
  }
265
265
 
266
266
  .ft-reader-link--remove-style {
267
267
  text-decoration: none;
268
268
  color: inherit;
269
269
  }
270
- `;var Qi=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 tn extends $r{constructor(){super(...arguments),this.removeStyle=!1}render(){var t;let e=mr({"ft-reader-link":!0,"ft-reader-link--remove-style":this.removeStyle});return ne`
271
- <a class=${e}
270
+ `;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 tn extends $i{constructor(){super(...arguments),this.removeStyle=!1}render(){var t;let o=mi({"ft-reader-link":!0,"ft-reader-link--remove-style":this.removeStyle});return no`
271
+ <a class=${o}
272
272
  href="${null===(t=this.service)||void 0===t?void 0:t.getLink(this.tocId,this.pageNumber,this.section)}"
273
273
  @click=${t=>this.onLinkClick(t)}>
274
274
  <slot></slot>
275
275
  </a>
276
- `}onLinkClick(t){var e;t.ctrlKey||t.metaKey||(t.stopPropagation(),t.preventDefault(),performance.mark(`fluid_topics__reader_link_click__${this.tocId}`),null===(e=this.stateManager)||void 0===e||e.navigateToTopic(this.tocId,this.section,this.pageNumber),this.click())}}tn.styles=qi,Qi([C()],tn.prototype,"tocId",void 0),Qi([C()],tn.prototype,"section",void 0),Qi([C({type:Number})],tn.prototype,"pageNumber",void 0),Qi([C({type:Boolean})],tn.prototype,"removeStyle",void 0),U("ft-reader-internal-link")(tn);
276
+ `}onLinkClick(t){var o;t.ctrlKey||t.metaKey||(t.stopPropagation(),t.preventDefault(),performance.mark(`fluid_topics__reader_link_click__${this.tocId}`),null===(o=this.stateManager)||void 0===o||o.navigateToTopic(this.tocId,this.section,this.pageNumber),this.click())}}tn.styles=qr,Qr([C()],tn.prototype,"tocId",void 0),Qr([C()],tn.prototype,"section",void 0),Qr([C({type:Number})],tn.prototype,"pageNumber",void 0),Qr([C({type:Boolean})],tn.prototype,"removeStyle",void 0),k("ft-reader-internal-link")(tn);
277
277
  /**
278
278
  * @license
279
279
  * Copyright 2017 Google LLC
280
280
  * SPDX-License-Identifier: BSD-3-Clause
281
281
  */
282
- class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===et||null==t)return this.vt=void 0,this.et=t;if(t===tt)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:[]}}}en.directiveName="unsafeHTML",en.resultType=1;const on=lr(en);var rn,nn;!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;"}(rn||(rn={})),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;"}(nn||(nn={})),new Map([...["abw"].map((t=>[t,nn.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,nn.AUDIO])),...["avi"].map((t=>[t,nn.AVI])),...["chm","xhs"].map((t=>[t,nn.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,nn.CODE])),...["csv"].map((t=>[t,nn.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,nn.DITA])),...["epub"].map((t=>[t,nn.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,nn.EXCEL])),...["flac"].map((t=>[t,nn.FLAC])),...["gif"].map((t=>[t,nn.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,nn.GZIP])),...["html","htm","xhtml"].map((t=>[t,nn.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,nn.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,nn.JPEG])),...["json"].map((t=>[t,nn.JSON])),...["m4a","m4p"].map((t=>[t,nn.M4A])),...["mov","qt"].map((t=>[t,nn.MOV])),...["mp3"].map((t=>[t,nn.MP3])),...["mp4","m4v"].map((t=>[t,nn.MP4])),...["ogg","oga"].map((t=>[t,nn.OGG])),...["pdf","ps"].map((t=>[t,nn.PDF])),...["png"].map((t=>[t,nn.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,nn.POWERPOINT])),...["rar"].map((t=>[t,nn.RAR])),...["stp"].map((t=>[t,nn.STP])),...["txt","rtf","md","mdown"].map((t=>[t,nn.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,nn.VIDEO])),...["wav"].map((t=>[t,nn.WAV])),...["wma"].map((t=>[t,nn.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,nn.WORD])),...["xml","xsl","rdf"].map((t=>[t,nn.XML])),...["yaml","yml","x-yaml"].map((t=>[t,nn.YAML])),...["zip"].map((t=>[t,nn.ZIP]))]),nn.ABW,nn.AUDIO,nn.AVI,nn.CHM,nn.CODE,nn.CSV,nn.DITA,nn.EPUB,nn.EXCEL,nn.FLAC,nn.GIF,nn.GZIP,nn.HTML,nn.IMAGE,nn.JPEG,nn.JSON,nn.M4A,nn.MOV,nn.MP3,nn.MP4,nn.OGG,nn.PDF,nn.PNG,nn.POWERPOINT,nn.RAR,nn.STP,nn.TEXT,nn.UNKNOWN,nn.VIDEO,nn.WAV,nn.WMA,nn.WORD,nn.XML,nn.YAML,nn.ZIP;const an={size:we.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:we.extend("--ft-icon-fluid-topics-font-family","",we.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:we.extend("--ft-icon-file-format-font-family","",we.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:we.extend("--ft-icon-material-font-family","",we.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:we.create("--ft-icon-vertical-align","","UNKNOWN","unset")},sn=St`
282
+ class on extends ci{constructor(t){if(super(t),this.et=ot,t.type!==si)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===ot||null==t)return this.vt=void 0,this.et=t;if(t===tt)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:[]}}}on.directiveName="unsafeHTML",on.resultType=1;const en=li(on);var rn,nn;!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;"}(rn||(rn={})),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;"}(nn||(nn={})),new Map([...["abw"].map((t=>[t,nn.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,nn.AUDIO])),...["avi"].map((t=>[t,nn.AVI])),...["chm","xhs"].map((t=>[t,nn.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,nn.CODE])),...["csv"].map((t=>[t,nn.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,nn.DITA])),...["epub"].map((t=>[t,nn.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,nn.EXCEL])),...["flac"].map((t=>[t,nn.FLAC])),...["gif"].map((t=>[t,nn.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,nn.GZIP])),...["html","htm","xhtml"].map((t=>[t,nn.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,nn.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,nn.JPEG])),...["json"].map((t=>[t,nn.JSON])),...["m4a","m4p"].map((t=>[t,nn.M4A])),...["mov","qt"].map((t=>[t,nn.MOV])),...["mp3"].map((t=>[t,nn.MP3])),...["mp4","m4v"].map((t=>[t,nn.MP4])),...["ogg","oga"].map((t=>[t,nn.OGG])),...["pdf","ps"].map((t=>[t,nn.PDF])),...["png"].map((t=>[t,nn.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,nn.POWERPOINT])),...["rar"].map((t=>[t,nn.RAR])),...["stp"].map((t=>[t,nn.STP])),...["txt","rtf","md","mdown"].map((t=>[t,nn.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,nn.VIDEO])),...["wav"].map((t=>[t,nn.WAV])),...["wma"].map((t=>[t,nn.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,nn.WORD])),...["xml","xsl","rdf"].map((t=>[t,nn.XML])),...["yaml","yml","x-yaml"].map((t=>[t,nn.YAML])),...["zip"].map((t=>[t,nn.ZIP]))]),nn.ABW,nn.AUDIO,nn.AVI,nn.CHM,nn.CODE,nn.CSV,nn.DITA,nn.EPUB,nn.EXCEL,nn.FLAC,nn.GIF,nn.GZIP,nn.HTML,nn.IMAGE,nn.JPEG,nn.JSON,nn.M4A,nn.MOV,nn.MP3,nn.MP4,nn.OGG,nn.PDF,nn.PNG,nn.POWERPOINT,nn.RAR,nn.STP,nn.TEXT,nn.UNKNOWN,nn.VIDEO,nn.WAV,nn.WMA,nn.WORD,nn.XML,nn.YAML,nn.ZIP;const an={size:Co.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Co.extend("--ft-icon-fluid-topics-font-family","",Co.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Co.extend("--ft-icon-file-format-font-family","",Co.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Co.extend("--ft-icon-material-font-family","",Co.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Co.create("--ft-icon-vertical-align","","UNKNOWN","unset")},sn=St`
283
283
  :host, i.ft-icon {
284
284
  display: inline-flex;
285
285
  align-items: center;
@@ -327,12 +327,12 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
327
327
  .ft-icon--material {
328
328
  font-family: ${an.materialFontFamily}, "Material Icons", sans-serif;
329
329
  }
330
- `;var ln;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ln||(ln={}));var cn=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 pn extends Do{constructor(){super(...arguments),this.resolvedIcon=se}render(){const t=this.variant&&Object.values(ln).includes(this.variant)?this.variant:ln.fluid_topics,e=t!==ln.material||!!this.value;return ne`
330
+ `;var ln;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ln||(ln={}));var cn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class pn extends Me{constructor(){super(...arguments),this.resolvedIcon=so}render(){const t=this.variant&&Object.values(ln).includes(this.variant)?this.variant:ln.fluid_topics,o=t!==ln.material||!!this.value;return no`
331
331
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
332
- ${on(this.resolvedIcon)}
333
- <slot ?hidden=${e}></slot>
332
+ ${en(this.resolvedIcon)}
333
+ <slot ?hidden=${o}></slot>
334
334
  </i>
335
- `}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 ln.file_format:this.resolvedIcon=null!==(t=nn[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case ln.material:this.resolvedIcon=this.value||se;break;default:this.resolvedIcon=null!==(e=rn[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}pn.elementDefinitions={},pn.styles=sn,cn([C()],pn.prototype,"variant",void 0),cn([C()],pn.prototype,"value",void 0),cn([$()],pn.prototype,"resolvedIcon",void 0),cn([k("slot")],pn.prototype,"slottedContent",void 0),U("ft-icon")(pn);const fn=we.extend("--ft-ripple-color","",Ie.colorContent),hn={color:fn,backgroundColor:we.extend("--ft-ripple-background-color","",fn),opacityContentOnSurfacePressed:we.external(Ie.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:we.external(Ie.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:we.external(Ie.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:we.external(Ie.opacityContentOnSurfaceSelected,"Design system"),borderRadius:we.create("--ft-ripple-border-radius","","SIZE","0px")},dn=we.extend("--ft-ripple-color","",Ie.colorPrimary),un=dn,yn=we.extend("--ft-ripple-background-color","",dn),gn=we.extend("--ft-ripple-color","",Ie.colorSecondary),bn=gn,mn=we.extend("--ft-ripple-background-color","",gn),xn=St`
335
+ `}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 ln.file_format:this.resolvedIcon=null!==(t=nn[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case ln.material:this.resolvedIcon=this.value||so;break;default:this.resolvedIcon=null!==(o=rn[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}pn.elementDefinitions={},pn.styles=sn,cn([C()],pn.prototype,"variant",void 0),cn([C()],pn.prototype,"value",void 0),cn([$()],pn.prototype,"resolvedIcon",void 0),cn([I("slot")],pn.prototype,"slottedContent",void 0),k("ft-icon")(pn);const fn=Co.extend("--ft-ripple-color","",ko.colorContent),hn={color:fn,backgroundColor:Co.extend("--ft-ripple-background-color","",fn),opacityContentOnSurfacePressed:Co.external(ko.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Co.external(ko.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Co.external(ko.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Co.external(ko.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Co.create("--ft-ripple-border-radius","","SIZE","0px")},dn=Co.extend("--ft-ripple-color","",ko.colorPrimary),un=dn,yn=Co.extend("--ft-ripple-background-color","",dn),gn=Co.extend("--ft-ripple-color","",ko.colorSecondary),bn=gn,mn=Co.extend("--ft-ripple-background-color","",gn),xn=St`
336
336
  :host {
337
337
  display: contents;
338
338
  }
@@ -444,7 +444,7 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
444
444
  opacity: ${hn.opacityContentOnSurfacePressed};
445
445
  transform: translate(-50%, -50%) scale(1);
446
446
  }
447
- `,vn={color:we.extend("--ft-loader-color","",Ie.colorPrimary),size:we.create("--ft-loader-size","","SIZE","80px")},On=St`
447
+ `,vn={color:Co.extend("--ft-loader-color","",ko.colorPrimary),size:Co.create("--ft-loader-size","","SIZE","80px")},On=St`
448
448
  :host {
449
449
  line-height: 0;
450
450
  }
@@ -513,7 +513,7 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
513
513
  transform: translate(calc(0.35 * ${vn.size}), 0);
514
514
  }
515
515
  }
516
- `,Nn=we.extend("--ft-button-color","",Ie.colorPrimary),Sn={backgroundColor:we.extend("--ft-button-background-color","",Ie.colorSurface),borderRadius:we.extend("--ft-button-border-radius","",Ie.borderRadiusL),color:Nn,fontSize:we.extend("--ft-button-font-size","",Fi.fontSize),iconSize:we.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:we.extend("--ft-button-ripple-color","",Nn),verticalPadding:we.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:we.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:we.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:we.external(Ie.colorOpacityDisabled,"Design system")},wn=we.extend("--ft-button-primary-color","",we.extend("--ft-button-color","",Ie.colorOnPrimary)),Cn={backgroundColor:we.extend("--ft-button-primary-background-color","",we.extend("--ft-button-background-color","",Ie.colorPrimary)),color:wn,rippleColor:we.extend("--ft-button-primary-ripple-color","",wn)},$n=we.extend("--ft-button-dense-border-radius","",we.extend("--ft-button-border-radius","",Ie.borderRadiusM)),Rn=we.create("--ft-button-dense-vertical-padding","","SIZE","2px"),En=we.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),kn=we.create("--ft-button-dense-icon-padding","","SIZE","4px"),In=[St`
516
+ `,Nn=Co.extend("--ft-button-color","",ko.colorPrimary),Sn={backgroundColor:Co.extend("--ft-button-background-color","",ko.colorSurface),borderRadius:Co.extend("--ft-button-border-radius","",ko.borderRadiusL),color:Nn,fontSize:Co.extend("--ft-button-font-size","",Ar.fontSize),iconSize:Co.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Co.extend("--ft-button-ripple-color","",Nn),verticalPadding:Co.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Co.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Co.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Co.external(ko.colorOpacityDisabled,"Design system")},wn=Co.extend("--ft-button-primary-color","",Co.extend("--ft-button-color","",ko.colorOnPrimary)),Cn={backgroundColor:Co.extend("--ft-button-primary-background-color","",Co.extend("--ft-button-background-color","",ko.colorPrimary)),color:wn,rippleColor:Co.extend("--ft-button-primary-ripple-color","",wn)},$n=Co.extend("--ft-button-dense-border-radius","",Co.extend("--ft-button-border-radius","",ko.borderRadiusM)),En=Co.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Rn=Co.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),In=Co.create("--ft-button-dense-icon-padding","","SIZE","4px"),Un=[St`
517
517
  :host {
518
518
  display: inline-block;
519
519
  max-width: 100%;
@@ -555,8 +555,8 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
555
555
 
556
556
  --ft-button-internal-line-height: max(calc(${Sn.fontSize} + 2px), ${Sn.iconSize});
557
557
  --ft-button-internal-color: ${Sn.color};
558
- ${Ce(an.size,Sn.iconSize)};
559
- ${Ce(hn.color,Sn.rippleColor)};
558
+ ${$o(an.size,Sn.iconSize)};
559
+ ${$o(hn.color,Sn.rippleColor)};
560
560
 
561
561
  border-radius: ${Sn.borderRadius};
562
562
  padding: ${Sn.verticalPadding} ${Sn.horizontalPadding};
@@ -571,13 +571,13 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
571
571
  }
572
572
 
573
573
  .ft-button.ft-button--dense {
574
- padding: ${Rn} ${En};
574
+ padding: ${En} ${Rn};
575
575
  border-radius: ${$n};
576
- gap: ${kn};
576
+ gap: ${In};
577
577
  }
578
578
 
579
579
  .ft-button.ft-button--dense.ft-button--outlined {
580
- padding: calc(${Rn} - 1px) calc(${En} - 1px);
580
+ padding: calc(${En} - 1px) calc(${Rn} - 1px);
581
581
  }
582
582
 
583
583
  .ft-button:not([disabled]):hover {
@@ -589,7 +589,7 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
589
589
  }
590
590
 
591
591
  .ft-button--round.ft-button--dense {
592
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Rn});
592
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${En});
593
593
  }
594
594
 
595
595
  .ft-button[disabled] {
@@ -600,7 +600,7 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
600
600
  .ft-button.ft-button--primary {
601
601
  background-color: ${Cn.backgroundColor};
602
602
  --ft-button-internal-color: ${Cn.color};
603
- ${Ce(hn.color,Cn.rippleColor)};
603
+ ${$o(hn.color,Cn.rippleColor)};
604
604
  }
605
605
 
606
606
  .ft-button:focus {
@@ -614,12 +614,12 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
614
614
  text-overflow: ellipsis;
615
615
  display: block;
616
616
  margin: 0 ${Sn.iconPadding};
617
- ${Ce(Fi.fontSize,"1em")};
618
- ${Ce(Fi.lineHeight,"var(--ft-button-internal-line-height)")};
617
+ ${$o(Ar.fontSize,"1em")};
618
+ ${$o(Ar.lineHeight,"var(--ft-button-internal-line-height)")};
619
619
  }
620
620
 
621
621
  .ft-button--dense .ft-button--label {
622
- margin: 0 ${kn};
622
+ margin: 0 ${In};
623
623
  }
624
624
 
625
625
  .ft-button--label[hidden] {
@@ -637,8 +637,8 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
637
637
  }
638
638
 
639
639
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
640
- margin: 0 calc(${En} * -1);
641
- padding: 0 ${Rn};
640
+ margin: 0 calc(${Rn} * -1);
641
+ padding: 0 ${En};
642
642
  }
643
643
 
644
644
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -647,21 +647,21 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
647
647
  }
648
648
 
649
649
  ft-loader {
650
- ${Ce(vn.size,Sn.iconSize)};
651
- ${Ce(vn.color,"var(--ft-button-internal-color)")};
650
+ ${$o(vn.size,Sn.iconSize)};
651
+ ${$o(vn.color,"var(--ft-button-internal-color)")};
652
652
  }
653
- `,Ho];var Un=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 Ln extends Do{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 e(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 e(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 ne`
653
+ `,He];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 Wn extends Me{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 no`
654
654
  <style>
655
655
  .ft-ripple .ft-ripple--effect {
656
656
  left: ${this.originX}px;
657
657
  top: ${this.originY}px;
658
658
  }
659
659
  </style>
660
- <div class="${mr(t)}">
660
+ <div class="${mi(t)}">
661
661
  <div class="ft-ripple--background"></div>
662
662
  <div class="ft-ripple--effect"></div>
663
663
  </div>
664
- `}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()}}Ln.elementDefinitions={},Ln.styles=xn,Un([C({type:Boolean})],Ln.prototype,"primary",void 0),Un([C({type:Boolean})],Ln.prototype,"secondary",void 0),Un([C({type:Boolean})],Ln.prototype,"unbounded",void 0),Un([C({type:Boolean})],Ln.prototype,"activated",void 0),Un([C({type:Boolean})],Ln.prototype,"selected",void 0),Un([C({type:Boolean})],Ln.prototype,"disabled",void 0),Un([$()],Ln.prototype,"hovered",void 0),Un([$()],Ln.prototype,"focused",void 0),Un([$()],Ln.prototype,"pressed",void 0),Un([$()],Ln.prototype,"rippling",void 0),Un([$()],Ln.prototype,"originX",void 0),Un([$()],Ln.prototype,"originY",void 0),Un([k(".ft-ripple")],Ln.prototype,"ripple",void 0),Un([k(".ft-ripple--effect")],Ln.prototype,"rippleEffect",void 0),U("ft-ripple")(Ln);const Wn=we.create("--ft-tooltip-distance","","SIZE","4px"),zn=we.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Kn=we.create("--ft-tooltip-background-color","","COLOR","#666666"),Fn=we.create("--ft-tooltip-z-index","","NUMBER","100"),An=we.external(Ie.borderRadiusS,"Design system"),Zn=we.create("--ft-tooltip-max-width","","SIZE","150px"),Bn=St`
664
+ `}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()}}Wn.elementDefinitions={},Wn.styles=xn,kn([C({type:Boolean})],Wn.prototype,"primary",void 0),kn([C({type:Boolean})],Wn.prototype,"secondary",void 0),kn([C({type:Boolean})],Wn.prototype,"unbounded",void 0),kn([C({type:Boolean})],Wn.prototype,"activated",void 0),kn([C({type:Boolean})],Wn.prototype,"selected",void 0),kn([C({type:Boolean})],Wn.prototype,"disabled",void 0),kn([$()],Wn.prototype,"hovered",void 0),kn([$()],Wn.prototype,"focused",void 0),kn([$()],Wn.prototype,"pressed",void 0),kn([$()],Wn.prototype,"rippling",void 0),kn([$()],Wn.prototype,"originX",void 0),kn([$()],Wn.prototype,"originY",void 0),kn([I(".ft-ripple")],Wn.prototype,"ripple",void 0),kn([I(".ft-ripple--effect")],Wn.prototype,"rippleEffect",void 0),k("ft-ripple")(Wn);const Ln=Co.create("--ft-tooltip-distance","","SIZE","4px"),zn=Co.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Kn=Co.create("--ft-tooltip-background-color","","COLOR","#666666"),An=Co.create("--ft-tooltip-z-index","","NUMBER","100"),Fn=Co.external(ko.borderRadiusS,"Design system"),Zn=Co.create("--ft-tooltip-max-width","","SIZE","150px"),Bn=St`
665
665
  .ft-tooltip--container {
666
666
  display: block;
667
667
  }
@@ -678,19 +678,19 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
678
678
  width: max-content;
679
679
  max-width: ${Zn};
680
680
  text-align: center;
681
- padding: ${Wn};
682
- z-index: ${Fn};
681
+ padding: ${Ln};
682
+ z-index: ${An};
683
683
  }
684
684
 
685
685
  .ft-tooltip--content {
686
686
  padding: 4px 8px;
687
- border-radius: ${An};
687
+ border-radius: ${Fn};
688
688
  background-color: ${Kn};
689
689
  color: ${zn};
690
690
  position: relative;
691
691
  word-break: break-word;
692
692
  }
693
- `;var Mn=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 Dn extends Do{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 e,this.revealDebouncer=new e}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ne`
693
+ `;var Dn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Mn extends Me{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 no`
694
694
  <div part="container"
695
695
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
696
696
  @mouseenter=${this.onHover}
@@ -708,37 +708,37 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
708
708
  </div>
709
709
  </div>
710
710
  </div>
711
- `}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="",async function(t,e,o){return Io(t,e,{platform:{...ko,getOffsetParent:t=>ko.getOffsetParent(t,Uo)},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}=Me(r,t),c={x:e,y:o},p=await Xe(t,l),f=je(De(i)),h=He(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=Be(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=Be(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-e,y:y.y-o}}}}),qe({allowedPlacements:[o]})]});var r}(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))}}Dn.elementDefinitions={"ft-typography":Xi},Dn.styles=Bn,Mn([C()],Dn.prototype,"text",void 0),Mn([C({type:Boolean})],Dn.prototype,"manual",void 0),Mn([C({type:Boolean})],Dn.prototype,"inline",void 0),Mn([C({type:Number})],Dn.prototype,"delay",void 0),Mn([C()],Dn.prototype,"position",void 0),Mn([function(t){return(e,o)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return E(0,0,{get(){const e=this.renderRoot?.querySelector(i);return e?.assignedNodes(t)??[]}})}}()],Dn.prototype,"slotNodes",void 0),Mn([k(".ft-tooltip--container")],Dn.prototype,"container",void 0),Mn([k(".ft-tooltip")],Dn.prototype,"tooltip",void 0),Mn([k(".ft-tooltip--content")],Dn.prototype,"tooltipContent",void 0),Mn([$()],Dn.prototype,"visible",void 0),Mn([R({passive:!0})],Dn.prototype,"onTouch",null),Mn([R({passive:!0})],Dn.prototype,"onHover",null),Mn([R({passive:!0})],Dn.prototype,"onOut",null),Mn([R({passive:!0})],Dn.prototype,"onClick",null),U("ft-tooltip")(Dn);class Pn extends Do{render(){return ne`
711
+ `}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 Ue(t,o,{platform:{...Ie,getOffsetParent:t=>Ie.getOffsetParent(t,ke)},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}=Mo(i,t),c={x:o,y:e},p=await Jo(t,l),f=_o(Po(r)),h=To(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=Do(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=Do(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}}}}),Qo({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))}}Mn.elementDefinitions={"ft-typography":Xr},Mn.styles=Bn,Dn([C()],Mn.prototype,"text",void 0),Dn([C({type:Boolean})],Mn.prototype,"manual",void 0),Dn([C({type:Boolean})],Mn.prototype,"inline",void 0),Dn([C({type:Number})],Mn.prototype,"delay",void 0),Dn([C()],Mn.prototype,"position",void 0),Dn([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)??[]}})}}()],Mn.prototype,"slotNodes",void 0),Dn([I(".ft-tooltip--container")],Mn.prototype,"container",void 0),Dn([I(".ft-tooltip")],Mn.prototype,"tooltip",void 0),Dn([I(".ft-tooltip--content")],Mn.prototype,"tooltipContent",void 0),Dn([$()],Mn.prototype,"visible",void 0),Dn([E({passive:!0})],Mn.prototype,"onTouch",null),Dn([E({passive:!0})],Mn.prototype,"onHover",null),Dn([E({passive:!0})],Mn.prototype,"onOut",null),Dn([E({passive:!0})],Mn.prototype,"onClick",null),k("ft-tooltip")(Mn);class Pn extends Me{render(){return no`
712
712
  <div class="ft-loader">
713
713
  <div></div>
714
714
  <div></div>
715
715
  <div></div>
716
716
  <div></div>
717
717
  </div>
718
- `}}Pn.styles=On,U("ft-loader")(Pn);var Hn=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 Tn extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[er].form}constructor(...t){super(t),this[er]=this.attachInternals(),this[er].role=e}setFormValue(t){this[er].setFormValue(t)}}}(Do,"button")){constructor(){super(...arguments),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.onclick=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(ne`
718
+ `}}Pn.styles=On,k("ft-loader")(Pn);var Hn=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 Tn extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[oi].form}constructor(...t){super(t),this[oi]=this.attachInternals(),this[oi].role=o}setFormValue(t){this[oi].setFormValue(t)}}}(Me,"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(no`
719
719
  <button part="button"
720
- class="${mr(this.buttonClasses)}"
720
+ class="${mi(this.buttonClasses)}"
721
721
  aria-label="${this.getLabel()}"
722
722
  ?disabled=${this.isDisabled()}>
723
723
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
724
724
  <ft-typography part="label"
725
725
  variant=${this.typographyVariant}
726
726
  element="span"
727
- class="ft-button--label ${nr?"ft-safari-ellipsis-fix":""}"
727
+ class="ft-button--label ${ni?"ft-safari-ellipsis-fix":""}"
728
728
  ?hidden=${!this.hasTextContent()}>
729
729
  <slot @slotchange=${this.onSlotchange}></slot>
730
730
  </ft-typography>
731
731
  ${this.resolveIcon()}
732
732
  </button>
733
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?ne`
733
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?no`
734
734
  <ft-tooltip part="tooltip"
735
735
  text="${this.getLabel()}"
736
736
  position="${this.tooltipPosition}">
737
737
  ${t}
738
738
  </ft-tooltip>
739
- `:t}resolveIcon(){return this.loading?ne`
740
- <ft-loader part="loader icon"></ft-loader> `:this.icon?ne`
741
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:se}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}}Tn.elementDefinitions={"ft-ripple":Ln,"ft-tooltip":Dn,"ft-typography":Xi,"ft-icon":pn,"ft-loader":Pn},Hn([C({type:String,reflect:!0})],Tn.prototype,"role",void 0),Hn([C()],Tn.prototype,"type",void 0),Hn([C({type:Boolean})],Tn.prototype,"disabled",void 0),Hn([C()],Tn.prototype,"label",void 0),Hn([C()],Tn.prototype,"icon",void 0),Hn([C()],Tn.prototype,"iconVariant",void 0),Hn([C({type:Boolean})],Tn.prototype,"trailingIcon",void 0),Hn([C({type:Boolean})],Tn.prototype,"loading",void 0),Hn([C()],Tn.prototype,"tooltipPosition",void 0),Hn([C({type:Boolean})],Tn.prototype,"hideTooltip",void 0),Hn([C({type:Boolean})],Tn.prototype,"forceTooltip",void 0),Hn([k(".ft-button")],Tn.prototype,"button",void 0),Hn([k(".ft-button--label slot")],Tn.prototype,"slottedContent",void 0);var jn=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 _n extends Tn{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"}}_n.styles=[To,In],jn([C({type:Boolean})],_n.prototype,"primary",void 0),jn([C({type:Boolean})],_n.prototype,"outlined",void 0),jn([C({type:Boolean})],_n.prototype,"dense",void 0),jn([C({type:Boolean})],_n.prototype,"round",void 0);const Gn=[St`
739
+ `:t}resolveIcon(){return this.loading?no`
740
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?no`
741
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:so}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}}Tn.elementDefinitions={"ft-ripple":Wn,"ft-tooltip":Mn,"ft-typography":Xr,"ft-icon":pn,"ft-loader":Pn},Hn([C({type:String,reflect:!0})],Tn.prototype,"role",void 0),Hn([C()],Tn.prototype,"type",void 0),Hn([C({type:Boolean})],Tn.prototype,"disabled",void 0),Hn([C()],Tn.prototype,"label",void 0),Hn([C()],Tn.prototype,"icon",void 0),Hn([C()],Tn.prototype,"iconVariant",void 0),Hn([C({type:Boolean})],Tn.prototype,"trailingIcon",void 0),Hn([C({type:Boolean})],Tn.prototype,"loading",void 0),Hn([C()],Tn.prototype,"tooltipPosition",void 0),Hn([C({type:Boolean})],Tn.prototype,"hideTooltip",void 0),Hn([C({type:Boolean})],Tn.prototype,"forceTooltip",void 0),Hn([I(".ft-button")],Tn.prototype,"button",void 0),Hn([I(".ft-button--label slot")],Tn.prototype,"slottedContent",void 0);var jn=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 _n extends Tn{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"}}_n.styles=[Te,Un],jn([C({type:Boolean})],_n.prototype,"primary",void 0),jn([C({type:Boolean})],_n.prototype,"outlined",void 0),jn([C({type:Boolean})],_n.prototype,"dense",void 0),jn([C({type:Boolean})],_n.prototype,"round",void 0);const Gn=[St`
742
742
  :host {
743
743
  display: inline-block;
744
744
  max-width: 100%;
@@ -788,7 +788,7 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
788
788
  }
789
789
 
790
790
  .ft-button:focus-visible {
791
- outline-color: ${ke.focusFocusRingColor};
791
+ outline-color: ${Uo.focusFocusRingColor};
792
792
  outline-style: solid;
793
793
  }
794
794
 
@@ -817,146 +817,146 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
817
817
  /** Primary styles **/
818
818
 
819
819
  .ft-button--primary {
820
- ${Ce(vn.color,ke.primaryIconColor)};
820
+ ${$o(vn.color,Uo.primaryIconColor)};
821
821
 
822
- ${Ce(hn.color,ke.primaryStateLayerColor)};
823
- ${Ce(hn.opacityContentOnSurfaceHover,ke.primaryStateLayerOpacityHover)};
824
- ${Ce(hn.opacityContentOnSurfaceFocused,ke.primaryStateLayerOpacityFocus)};
825
- ${Ce(hn.opacityContentOnSurfaceSelected,ke.primaryStateLayerOpacityActive)};
826
- ${Ce(hn.opacityContentOnSurfacePressed,ke.primaryStateLayerOpacityActive)};
822
+ ${$o(hn.color,Uo.primaryStateLayerColor)};
823
+ ${$o(hn.opacityContentOnSurfaceHover,Uo.primaryStateLayerOpacityHover)};
824
+ ${$o(hn.opacityContentOnSurfaceFocused,Uo.primaryStateLayerOpacityFocus)};
825
+ ${$o(hn.opacityContentOnSurfaceSelected,Uo.primaryStateLayerOpacityActive)};
826
+ ${$o(hn.opacityContentOnSurfacePressed,Uo.primaryStateLayerOpacityActive)};
827
827
 
828
- background-color: ${ke.primaryBackgroundColor};
829
- color: ${ke.primaryColor};
828
+ background-color: ${Uo.primaryBackgroundColor};
829
+ color: ${Uo.primaryColor};
830
830
  border-style: none;
831
831
  }
832
832
 
833
833
  .ft-button--primary[disabled] {
834
- opacity: ${ke.primaryComponentOpacityDisabled};
834
+ opacity: ${Uo.primaryComponentOpacityDisabled};
835
835
  }
836
836
 
837
837
  .ft-button--primary ft-icon {
838
- color: ${ke.primaryIconColor};
838
+ color: ${Uo.primaryIconColor};
839
839
  }
840
840
 
841
841
  /** Secondary styles **/
842
842
 
843
843
  .ft-button--secondary {
844
- ${Ce(vn.color,ke.secondaryIconColor)};
844
+ ${$o(vn.color,Uo.secondaryIconColor)};
845
845
 
846
- ${Ce(hn.color,ke.secondaryStateLayerColor)};
847
- ${Ce(hn.opacityContentOnSurfaceHover,ke.secondaryStateLayerOpacityHover)};
848
- ${Ce(hn.opacityContentOnSurfaceFocused,ke.secondaryStateLayerOpacityFocus)};
849
- ${Ce(hn.opacityContentOnSurfaceSelected,ke.secondaryStateLayerOpacityActive)};
850
- ${Ce(hn.opacityContentOnSurfacePressed,ke.secondaryStateLayerOpacityActive)};
846
+ ${$o(hn.color,Uo.secondaryStateLayerColor)};
847
+ ${$o(hn.opacityContentOnSurfaceHover,Uo.secondaryStateLayerOpacityHover)};
848
+ ${$o(hn.opacityContentOnSurfaceFocused,Uo.secondaryStateLayerOpacityFocus)};
849
+ ${$o(hn.opacityContentOnSurfaceSelected,Uo.secondaryStateLayerOpacityActive)};
850
+ ${$o(hn.opacityContentOnSurfacePressed,Uo.secondaryStateLayerOpacityActive)};
851
851
 
852
- background-color: ${ke.secondaryBackgroundColor};
853
- color: ${ke.secondaryColor};
854
- border-color: ${ke.secondaryBorderColor};
852
+ background-color: ${Uo.secondaryBackgroundColor};
853
+ color: ${Uo.secondaryColor};
854
+ border-color: ${Uo.secondaryBorderColor};
855
855
  border-style: solid;
856
856
  }
857
857
 
858
858
  .ft-button--secondary[disabled] {
859
- opacity: ${ke.secondaryComponentOpacityDisabled};
859
+ opacity: ${Uo.secondaryComponentOpacityDisabled};
860
860
  }
861
861
 
862
862
  .ft-button--secondary ft-icon {
863
- color: ${ke.secondaryIconColor};
863
+ color: ${Uo.secondaryIconColor};
864
864
  }
865
865
 
866
866
  /** Tertiary styles **/
867
867
 
868
868
  .ft-button--tertiary {
869
- ${Ce(vn.color,ke.tertiaryIconColor)};
869
+ ${$o(vn.color,Uo.tertiaryIconColor)};
870
870
 
871
- ${Ce(hn.color,ke.tertiaryStateLayerColor)};
872
- ${Ce(hn.opacityContentOnSurfaceHover,ke.tertiaryStateLayerOpacityHover)};
873
- ${Ce(hn.opacityContentOnSurfaceFocused,ke.tertiaryStateLayerOpacityFocus)};
874
- ${Ce(hn.opacityContentOnSurfaceSelected,ke.tertiaryStateLayerOpacityActive)};
875
- ${Ce(hn.opacityContentOnSurfacePressed,ke.tertiaryStateLayerOpacityActive)};
871
+ ${$o(hn.color,Uo.tertiaryStateLayerColor)};
872
+ ${$o(hn.opacityContentOnSurfaceHover,Uo.tertiaryStateLayerOpacityHover)};
873
+ ${$o(hn.opacityContentOnSurfaceFocused,Uo.tertiaryStateLayerOpacityFocus)};
874
+ ${$o(hn.opacityContentOnSurfaceSelected,Uo.tertiaryStateLayerOpacityActive)};
875
+ ${$o(hn.opacityContentOnSurfacePressed,Uo.tertiaryStateLayerOpacityActive)};
876
876
 
877
- background-color: ${ke.tertiaryBackgroundColor};
878
- color: ${ke.tertiaryColor};
877
+ background-color: ${Uo.tertiaryBackgroundColor};
878
+ color: ${Uo.tertiaryColor};
879
879
  border-style: none;
880
880
  }
881
881
 
882
882
  .ft-button--tertiary[disabled] {
883
- opacity: ${ke.tertiaryComponentOpacityDisabled};
883
+ opacity: ${Uo.tertiaryComponentOpacityDisabled};
884
884
  }
885
885
 
886
886
  .ft-button--tertiary ft-icon {
887
- color: ${ke.tertiaryIconColor};
887
+ color: ${Uo.tertiaryIconColor};
888
888
  }
889
889
 
890
890
  /** Neutral styles **/
891
891
 
892
892
  .ft-button--neutral {
893
- ${Ce(vn.color,ke.neutralIconColor)};
893
+ ${$o(vn.color,Uo.neutralIconColor)};
894
894
 
895
- ${Ce(hn.backgroundColor,ke.neutralStateLayerColor)};
896
- ${Ce(hn.opacityContentOnSurfaceHover,ke.neutralStateLayerOpacityHover)};
897
- ${Ce(hn.opacityContentOnSurfaceFocused,ke.neutralStateLayerOpacityFocus)};
898
- ${Ce(hn.opacityContentOnSurfaceSelected,ke.neutralStateLayerOpacityActive)};
899
- ${Ce(hn.opacityContentOnSurfacePressed,ke.neutralStateLayerOpacityActive)};
895
+ ${$o(hn.backgroundColor,Uo.neutralStateLayerColor)};
896
+ ${$o(hn.opacityContentOnSurfaceHover,Uo.neutralStateLayerOpacityHover)};
897
+ ${$o(hn.opacityContentOnSurfaceFocused,Uo.neutralStateLayerOpacityFocus)};
898
+ ${$o(hn.opacityContentOnSurfaceSelected,Uo.neutralStateLayerOpacityActive)};
899
+ ${$o(hn.opacityContentOnSurfacePressed,Uo.neutralStateLayerOpacityActive)};
900
900
 
901
- background-color: ${ke.neutralBackgroundColor};
902
- color: ${ke.neutralColor};
901
+ background-color: ${Uo.neutralBackgroundColor};
902
+ color: ${Uo.neutralColor};
903
903
  border-style: none;
904
904
  }
905
905
 
906
906
  .ft-button--neutral[disabled] {
907
- opacity: ${ke.neutralComponentOpacityDisabled};
907
+ opacity: ${Uo.neutralComponentOpacityDisabled};
908
908
  }
909
909
 
910
910
  .ft-button--neutral ft-icon {
911
- color: ${ke.neutralIconColor};
911
+ color: ${Uo.neutralIconColor};
912
912
  }
913
913
 
914
914
  /** Large styles **/
915
915
 
916
916
  .ft-button--large {
917
- ${Ce(an.size,ke.largeIconSize)};
918
- ${Ce(vn.size,ke.largeIconSize)};
919
-
920
- height: ${ke.largeHeight};
921
- padding: 0 ${ke.largeHorizontalPadding};
922
- gap: ${ke.largeGap};
923
- border-radius: ${ke.largeBorderRadius};
924
- border-width: ${ke.largeBorderWidth};
917
+ ${$o(an.size,Uo.largeIconSize)};
918
+ ${$o(vn.size,Uo.largeIconSize)};
919
+
920
+ height: ${Uo.largeHeight};
921
+ padding: 0 ${Uo.largeHorizontalPadding};
922
+ gap: ${Uo.largeGap};
923
+ border-radius: ${Uo.largeBorderRadius};
924
+ border-width: ${Uo.largeBorderWidth};
925
925
  }
926
926
 
927
927
  .ft-button--large:focus-visible {
928
- outline-width: ${ke.largeFocusOutlineWidth};
929
- outline-offset: ${ke.largeFocusOutlineOffset};
928
+ outline-width: ${Uo.largeFocusOutlineWidth};
929
+ outline-offset: ${Uo.largeFocusOutlineOffset};
930
930
  }
931
931
 
932
932
  .ft-button--large.ft-button--icon-only {
933
- width: ${ke.largeIconOnlyWidth};
933
+ width: ${Uo.largeIconOnlyWidth};
934
934
  padding: unset;
935
935
  }
936
936
 
937
937
  /** Small styles **/
938
938
 
939
939
  .ft-button--small {
940
- ${Ce(an.size,ke.smallIconSize)};
941
- ${Ce(vn.size,ke.smallIconSize)};
942
-
943
- height: ${ke.smallHeight};
944
- padding: 0 ${ke.smallHorizontalPadding};
945
- gap: ${ke.smallGap};
946
- border-radius: ${ke.smallBorderRadius};
947
- border-width: ${ke.smallBorderWidth};
940
+ ${$o(an.size,Uo.smallIconSize)};
941
+ ${$o(vn.size,Uo.smallIconSize)};
942
+
943
+ height: ${Uo.smallHeight};
944
+ padding: 0 ${Uo.smallHorizontalPadding};
945
+ gap: ${Uo.smallGap};
946
+ border-radius: ${Uo.smallBorderRadius};
947
+ border-width: ${Uo.smallBorderWidth};
948
948
  }
949
949
 
950
950
  .ft-button--small:focus-visible {
951
- outline-width: ${ke.smallFocusOutlineWidth};
952
- outline-offset: ${ke.smallFocusOutlineOffset};
951
+ outline-width: ${Uo.smallFocusOutlineWidth};
952
+ outline-offset: ${Uo.smallFocusOutlineOffset};
953
953
  }
954
954
 
955
955
  .ft-button--small.ft-button--icon-only {
956
- width: ${ke.smallIconOnlyWidth};
956
+ width: ${Uo.smallIconOnlyWidth};
957
957
  padding: unset;
958
958
  }
959
- `,Ho];var Vn,Yn=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 Xn extends Tn{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?Lr.caption1medium:Lr.body2medium}}Xn.styles=[To,Gn],Yn([C({type:Boolean})],Xn.prototype,"primary",void 0),Yn([C({type:Boolean})],Xn.prototype,"secondary",void 0),Yn([C({type:Boolean})],Xn.prototype,"tertiary",void 0),Yn([C({type:Boolean})],Xn.prototype,"neutral",void 0),Yn([C({type:Boolean})],Xn.prototype,"small",void 0),U("ft-button")(_n),U("ftds-button")(Xn),function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"}(Vn||(Vn={}));const Jn=St`
959
+ `,He];var Vn,Yn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Xn extends Tn{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?Wi.caption1medium:Wi.body2medium}}Xn.styles=[Te,Gn],Yn([C({type:Boolean})],Xn.prototype,"primary",void 0),Yn([C({type:Boolean})],Xn.prototype,"secondary",void 0),Yn([C({type:Boolean})],Xn.prototype,"tertiary",void 0),Yn([C({type:Boolean})],Xn.prototype,"neutral",void 0),Yn([C({type:Boolean})],Xn.prototype,"small",void 0),k("ft-button")(_n),k("ftds-button")(Xn),function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"}(Vn||(Vn={}));const Jn=St`
960
960
  .ft-size-watcher--pixel {
961
961
  width: 0;
962
962
  height: 0;
@@ -975,48 +975,48 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
975
975
  .ft-size-watcher--local .ft-size-watcher--watcher {
976
976
  width: 100%;
977
977
  }
978
- `;var qn=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 Qn extends CustomEvent{constructor(t,e){super("change",{detail:{size:t,category:e}})}}class ta extends Do{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=Vn.S,this.resizeObserver=new ResizeObserver((()=>this.updateSize())),this.debouncer=new e}render(){return ne`
978
+ `;var qn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Qn extends CustomEvent{constructor(t,o){super("change",{detail:{size:t,category:o}})}}class ta extends Me{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=Vn.S,this.resizeObserver=new ResizeObserver((()=>this.updateSize())),this.debouncer=new o}render(){return no`
979
979
  <div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
980
980
  <div class="ft-size-watcher--watcher"></div>
981
981
  </div>
982
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run((()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=Vn.S:this.size<976?this.category=Vn.M:this.size<1024?this.category=Vn.L:this.size<1440?this.category=Vn.XL:this.category=Vn.XXL,this.dispatchEvent(new Qn(this.size,this.category)))}),this.debounceTimeout)}}ta.elementDefinitions={},ta.styles=Jn,qn([C({type:Number})],ta.prototype,"debounceTimeout",void 0),qn([C({type:Boolean})],ta.prototype,"local",void 0),qn([C({type:Number,reflect:!0})],ta.prototype,"size",void 0),qn([C({type:String,reflect:!0})],ta.prototype,"category",void 0),qn([k(".ft-size-watcher--watcher")],ta.prototype,"watcher",void 0),U("ft-size-watcher")(ta);const ea={expand:"Expand {0}",collapse:"Collapse {0}",expandAll:"Expand all",expandAllLong:"Expand all table of contents",collapseAll:"Collapse all",collapseAllLong:"Collapse all table of contents"},oa={tabulationSize:we.create("--ft-reader-toc-tabulation-size","","SIZE","16px"),verticalSpacing:we.create("--ft-reader-toc-vertical-spacing","","SIZE","4px"),textColor:we.extend("--ft-reader-toc-text-color","",Ie.colorOnSurface),hoverColor:we.extend("--ft-reader-toc-hover-color","",Ie.colorPrimary),highlightedTextColor:we.extend("--ft-reader-toc-highlighted-text-color","",Ie.colorPrimary),highlightedFontWeight:we.create("--ft-reader-toc-highlighted-font-weight","","UNKNOWN","bold"),highlightedBackgroundColor:we.create("--ft-reader-toc-highlighted-background-color","","COLOR","transparent"),iconFontSize:we.create("--ft-reader-toc-icon-font-size","","SIZE","16px"),treeNodeIconColor:we.create("--ft-reader-toc-tree-node-icon-color","","COLOR",Ie.colorPrimary),leafNodeIconColor:we.create("--ft-reader-toc-leaf-node-icon-color","","COLOR",Ie.colorPrimary),nodeButtonBackgroundColor:we.create("--ft-reader-toc-node-button-background-color","","COLOR",Ie.colorSurface),expandCollapseAllButtonColor:we.create("--ft-reader-toc-expand-collapse-all-button-color","","COLOR",Ie.colorPrimary),expandCollapseAllButtonBackgroundColor:we.create("--ft-reader-toc-expand-collapse-all-button-background-color","","COLOR",Ie.colorSurface)},ra=St`
982
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run((()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=Vn.S:this.size<976?this.category=Vn.M:this.size<1024?this.category=Vn.L:this.size<1440?this.category=Vn.XL:this.category=Vn.XXL,this.dispatchEvent(new Qn(this.size,this.category)))}),this.debounceTimeout)}}ta.elementDefinitions={},ta.styles=Jn,qn([C({type:Number})],ta.prototype,"debounceTimeout",void 0),qn([C({type:Boolean})],ta.prototype,"local",void 0),qn([C({type:Number,reflect:!0})],ta.prototype,"size",void 0),qn([C({type:String,reflect:!0})],ta.prototype,"category",void 0),qn([I(".ft-size-watcher--watcher")],ta.prototype,"watcher",void 0),k("ft-size-watcher")(ta);const oa={expand:"Expand {0}",collapse:"Collapse {0}",expandAll:"Expand all",expandAllLong:"Expand all table of contents",collapseAll:"Collapse all",collapseAllLong:"Collapse all table of contents"},ea={tabulationSize:Co.create("--ft-reader-toc-tabulation-size","","SIZE","16px"),verticalSpacing:Co.create("--ft-reader-toc-vertical-spacing","","SIZE","4px"),textColor:Co.extend("--ft-reader-toc-text-color","",ko.colorOnSurface),hoverColor:Co.extend("--ft-reader-toc-hover-color","",ko.colorPrimary),highlightedTextColor:Co.extend("--ft-reader-toc-highlighted-text-color","",ko.colorPrimary),highlightedFontWeight:Co.create("--ft-reader-toc-highlighted-font-weight","","UNKNOWN","bold"),highlightedBackgroundColor:Co.create("--ft-reader-toc-highlighted-background-color","","COLOR","transparent"),iconFontSize:Co.create("--ft-reader-toc-icon-font-size","","SIZE","16px"),treeNodeIconColor:Co.create("--ft-reader-toc-tree-node-icon-color","","COLOR",ko.colorPrimary),leafNodeIconColor:Co.create("--ft-reader-toc-leaf-node-icon-color","","COLOR",ko.colorPrimary),nodeButtonBackgroundColor:Co.create("--ft-reader-toc-node-button-background-color","","COLOR",ko.colorSurface),expandCollapseAllButtonColor:Co.create("--ft-reader-toc-expand-collapse-all-button-color","","COLOR",ko.colorPrimary),expandCollapseAllButtonBackgroundColor:Co.create("--ft-reader-toc-expand-collapse-all-button-background-color","","COLOR",ko.colorSurface)},ia=St`
983
983
  .ft-reader-toc {
984
- color: ${oa.textColor};
984
+ color: ${ea.textColor};
985
985
  }
986
986
 
987
987
  .ft-reader-toc--node-highlighted > .ft-reader-toc--link-container {
988
- background-color: ${oa.highlightedBackgroundColor};
989
- color: ${oa.highlightedTextColor};
990
- ${Ce(Kr.fontWeight,oa.highlightedFontWeight)}
988
+ background-color: ${ea.highlightedBackgroundColor};
989
+ color: ${ea.highlightedTextColor};
990
+ ${$o(Ki.fontWeight,ea.highlightedFontWeight)}
991
991
  }
992
992
 
993
993
  .ft-reader-toc--link-container {
994
994
  display: flex;
995
995
  gap: 4px;
996
- padding: ${oa.verticalSpacing} 4px; /* left padding is override on inline style */
996
+ padding: ${ea.verticalSpacing} 4px; /* left padding is override on inline style */
997
997
  align-items: center;
998
998
  }
999
999
 
1000
1000
  .ft-reader-toc--link-container ft-reader-internal-link:hover {
1001
- color: ${oa.hoverColor};
1001
+ color: ${ea.hoverColor};
1002
1002
  }
1003
1003
 
1004
1004
  ft-button {
1005
- ${Ce(Sn.iconSize,oa.iconFontSize)};
1005
+ ${$o(Sn.iconSize,ea.iconFontSize)};
1006
1006
  }
1007
1007
 
1008
1008
  .ft-reader-toc--leaf-node-icon {
1009
- color: ${oa.leafNodeIconColor};
1009
+ color: ${ea.leafNodeIconColor};
1010
1010
  }
1011
1011
 
1012
1012
  .ft-reader-toc--tree-node-button {
1013
- ${Ce(Sn.color,oa.treeNodeIconColor)};
1014
- ${Ce(Sn.backgroundColor,oa.nodeButtonBackgroundColor)};
1013
+ ${$o(Sn.color,ea.treeNodeIconColor)};
1014
+ ${$o(Sn.backgroundColor,ea.nodeButtonBackgroundColor)};
1015
1015
  }
1016
1016
 
1017
1017
  .ft-reader-toc--expand-collapse-all-button {
1018
- ${Ce(Sn.color,oa.expandCollapseAllButtonColor)};
1019
- ${Ce(Sn.backgroundColor,oa.expandCollapseAllButtonBackgroundColor)};
1018
+ ${$o(Sn.color,ea.expandCollapseAllButtonColor)};
1019
+ ${$o(Sn.backgroundColor,ea.expandCollapseAllButtonBackgroundColor)};
1020
1020
  }
1021
1021
 
1022
1022
  .ft-reader-toc--toggle-container {
@@ -1024,11 +1024,11 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
1024
1024
  }
1025
1025
 
1026
1026
  .ft-reader-toc-mobile .ft-reader-toc--toggle-container {
1027
- width: calc(${oa.iconFontSize} + 12px); /*--ft-button-internal-horizontal-padding: 8px; in ft-button NOT dense*/
1027
+ width: calc(${ea.iconFontSize} + 12px); /*--ft-button-internal-horizontal-padding: 8px; in ft-button NOT dense*/
1028
1028
  }
1029
1029
 
1030
1030
  .ft-reader-toc-desktop .ft-reader-toc--toggle-container {
1031
- width: calc(${oa.iconFontSize} + 4px); /*--ft-button-internal-horizontal-padding: 4px; in ft-button dense*/
1031
+ width: calc(${ea.iconFontSize} + 4px); /*--ft-button-internal-horizontal-padding: 4px; in ft-button dense*/
1032
1032
  }
1033
1033
 
1034
1034
  .ft-reader-toc-expanded .ft-reader-toc--toggle-container {
@@ -1036,11 +1036,11 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
1036
1036
  }
1037
1037
 
1038
1038
  .ft-reader-toc-mobile .ft-reader-toc--leaf-node-icon {
1039
- width: calc(${oa.iconFontSize} + 12px);
1039
+ width: calc(${ea.iconFontSize} + 12px);
1040
1040
  }
1041
1041
 
1042
1042
  .ft-reader-toc-desktop .ft-reader-toc--leaf-node-icon {
1043
- width: calc(${oa.iconFontSize} + 4px);
1043
+ width: calc(${ea.iconFontSize} + 4px);
1044
1044
  }
1045
1045
 
1046
1046
  .ft-reader-toc-expand-collapse-all-container {
@@ -1059,13 +1059,13 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
1059
1059
  .ft-reader-toc-expand-collapse-all-justify ft-button {
1060
1060
  flex-grow: 1;
1061
1061
  }
1062
- `;var ia=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 na extends $r{constructor(){super(...arguments),this.expanded=!1,this.iconVariant=ln.fluid_topics,this.collapseIcon="MINUS",this.expandIcon="PLUS",this.leafNodeIconVariant=ln.fluid_topics,this.leafNodeIcon="DOT",this.expandCollapseAll=!1,this.expandCollapseAllHideLabel=!1,this.expandCollapseAllTrailingIcon=!1,this.expandCollapseAllAlignment="left",this.expandCollapseAllHideIcon=!1,this.collapseAllIcon="ICON_COLLAPSE",this.expandAllIcon="ICON_EXPAND",this.autoCollapse=!1,this.scope="pages",this.empty=!0,this.labels={},this.labelResolver=new jo(ea,{}),this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set,this.expandAll=!1,this.viewportSize=Vn.M,this.nodesToExpandExist=!1}get isCurrentPageToc(){return"current-page"===this.scope}update(t){var e,o,r;super.update(t),t.has("toc")&&(this.nodesToExpandExist=(null!==(e=this.toc)&&void 0!==e?e:[]).some((t=>t.children.length>0))),t.has("labels")&&(this.labelResolver=new jo(ea,this.labels)),t.has("highlightedTocIds")&&!this.expanded&&(this.automaticallyExpandedNodes=this.buildAutomaticallyExpandedNodes(null!==(o=this.highlightedTocIds)&&void 0!==o?o:[])),this.empty=0===(null!==(r=this.toc)&&void 0!==r?r:[]).length}render(){var t;const e={"ft-reader-toc":!0,"ft-reader-toc-mobile":this.viewportSize===Vn.S,"ft-reader-toc-desktop":this.viewportSize!==Vn.S,"ft-reader-toc-loaded":null!=this.currentPage,"ft-reader-toc-expanded":this.expanded};return ne`
1063
- <div class=${mr(e)}>
1062
+ `;var ra=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 na extends $i{constructor(){super(...arguments),this.expanded=!1,this.iconVariant=ln.fluid_topics,this.collapseIcon="MINUS",this.expandIcon="PLUS",this.leafNodeIconVariant=ln.fluid_topics,this.leafNodeIcon="DOT",this.expandCollapseAll=!1,this.expandCollapseAllHideLabel=!1,this.expandCollapseAllTrailingIcon=!1,this.expandCollapseAllAlignment="left",this.expandCollapseAllHideIcon=!1,this.collapseAllIcon="ICON_COLLAPSE",this.expandAllIcon="ICON_EXPAND",this.autoCollapse=!1,this.scope="pages",this.empty=!0,this.labels={},this.labelResolver=new je(oa,{}),this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set,this.expandAll=!1,this.viewportSize=Vn.M,this.nodesToExpandExist=!1}get isCurrentPageToc(){return"current-page"===this.scope}update(t){var o,e,i;super.update(t),t.has("toc")&&(this.nodesToExpandExist=(null!==(o=this.toc)&&void 0!==o?o:[]).some((t=>t.children.length>0))),t.has("labels")&&(this.labelResolver=new je(oa,this.labels)),t.has("highlightedTocIds")&&!this.expanded&&(this.automaticallyExpandedNodes=this.buildAutomaticallyExpandedNodes(null!==(e=this.highlightedTocIds)&&void 0!==e?e:[])),this.empty=0===(null!==(i=this.toc)&&void 0!==i?i:[]).length}render(){var t;const o={"ft-reader-toc":!0,"ft-reader-toc-mobile":this.viewportSize===Vn.S,"ft-reader-toc-desktop":this.viewportSize!==Vn.S,"ft-reader-toc-loaded":null!=this.currentPage,"ft-reader-toc-expanded":this.expanded};return no`
1063
+ <div class=${mi(o)}>
1064
1064
  <ft-size-watcher @change=${this.onViewportSizeChange}></ft-size-watcher>
1065
1065
  ${this.renderExpandCollapseAll()}
1066
- ${br(null!==(t=this.toc)&&void 0!==t?t:[],(t=>t.tocId),(t=>this.renderNode(t)))}
1066
+ ${bi(null!==(t=this.toc)&&void 0!==t?t:[],(t=>t.tocId),(t=>this.renderNode(t)))}
1067
1067
  </div>
1068
- `}renderExpandCollapseAll(){return this.expandCollapseAll&&!this.expanded&&this.nodesToExpandExist?ne`
1068
+ `}renderExpandCollapseAll(){return this.expandCollapseAll&&!this.expanded&&this.nodesToExpandExist?no`
1069
1069
  <div part="expand-collapse-all-container"
1070
1070
  class="ft-reader-toc-expand-collapse-all-container ft-reader-toc-expand-collapse-all-${this.expandCollapseAllAlignment}">
1071
1071
  <ft-button
@@ -1081,12 +1081,12 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
1081
1081
  ${this.expandCollapseAllHideLabel?"":this.labelResolver.resolve(this.expandAll?"collapseAll":"expandAll")}
1082
1082
  </ft-button>
1083
1083
  </div>
1084
- `:se}renderNode(t){var e,o,r;const i=null===(e=this.highlightedTocIds)||void 0===e?void 0:e.includes(t.tocId),n=this.expanded||this.manuallyExpandedNodes.has(t.tocId)||(this.expandAll||this.automaticallyExpandedNodes.has(t.tocId))&&!this.manuallyCollapsedNodes.has(t.tocId),a=t.children.length>0,s=this.isCurrentPageToc?(null!==(r=null===(o=this.currentPage)||void 0===o?void 0:o.breadcrumb.length)&&void 0!==r?r:0)+1:0,l=t.depth-1-s,c={"padding-left":`calc( ${oa.tabulationSize} * ${l} + 4px)`};return ne`
1085
- <div class="ft-reader-toc--node ${i?"ft-reader-toc--node-highlighted":""}">
1086
- <div class="ft-reader-toc--link-container" data-depth="${t.depth}" style=${Or(c)}>
1087
- ${this.nodesToExpandExist&&!this.expanded?ne`
1084
+ `:so}renderNode(t){var o,e,i;const r=null===(o=this.highlightedTocIds)||void 0===o?void 0:o.includes(t.tocId),n=this.expanded||this.manuallyExpandedNodes.has(t.tocId)||(this.expandAll||this.automaticallyExpandedNodes.has(t.tocId))&&!this.manuallyCollapsedNodes.has(t.tocId),a=t.children.length>0,s=this.isCurrentPageToc?(null!==(i=null===(e=this.currentPage)||void 0===e?void 0:e.breadcrumb.length)&&void 0!==i?i:0)+1:0,l=t.depth-1-s,c={"padding-left":`calc( ${ea.tabulationSize} * ${l} + 4px)`};return no`
1085
+ <div class="ft-reader-toc--node ${r?"ft-reader-toc--node-highlighted":""}">
1086
+ <div class="ft-reader-toc--link-container" data-depth="${t.depth}" style=${Oi(c)}>
1087
+ ${this.nodesToExpandExist&&!this.expanded?no`
1088
1088
  <div class="ft-reader-toc--toggle-container">
1089
- ${a?ne`
1089
+ ${a?no`
1090
1090
  <ft-button
1091
1091
  part="expand-collapse-node"
1092
1092
  class="ft-reader-toc--tree-node-button"
@@ -1103,7 +1103,7 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
1103
1103
  </ft-button>
1104
1104
  `:this.getLeafNodeIcon()}
1105
1105
  </div>
1106
- `:a?se:this.getLeafNodeIcon()}
1106
+ `:a?so:this.getLeafNodeIcon()}
1107
1107
  <ft-reader-internal-link
1108
1108
  part="node-link"
1109
1109
  tocId="${t.tocId}"
@@ -1111,12 +1111,12 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
1111
1111
  <ft-typography part="node-label" variant="body2">${t.title}</ft-typography>
1112
1112
  </ft-reader-internal-link>
1113
1113
  </div>
1114
- ${a?ne`
1114
+ ${a?no`
1115
1115
  <div class="ft-reader-toc--node-children" id="${t.tocId}-children"
1116
1116
  ?hidden=${!n}>
1117
- ${n?br(t.children,(t=>t.tocId),(t=>this.renderNode(t))):se}
1117
+ ${n?bi(t.children,(t=>t.tocId),(t=>this.renderNode(t))):so}
1118
1118
  </div>
1119
- `:se}
1119
+ `:so}
1120
1120
  </div>
1121
- `}buildAutomaticallyExpandedNodes(t){var e,o;let r=new Set(this.autoCollapse?[]:this.automaticallyExpandedNodes);for(let i of t){let t=i;for(;t&&!r.has(t);)r.add(t),this.manuallyCollapsedNodes.delete(t),t=null===(o=null===(e=this.service)||void 0===e?void 0:e.getTocNodeNow(t))||void 0===o?void 0:o.parentTocId}return r}manuallyToggle(t,e){e?(this.manuallyCollapsedNodes.add(t),this.manuallyExpandedNodes.delete(t)):(this.manuallyExpandedNodes.add(t),this.manuallyCollapsedNodes.delete(t)),this.requestUpdate()}onViewportSizeChange(t){this.viewportSize=t.detail.category}toggleExpandCollapseAll(){this.expandAll=!this.expandAll,this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set}getExpandCollapseAllTooltipPosition(){switch(this.expandCollapseAllAlignment){case"right":return"left";case"left":return"right";default:return"bottom"}}getLeafNodeIcon(){return ne`
1122
- <ft-icon class="ft-reader-toc--leaf-node-icon" .variant="${this.leafNodeIconVariant}" .value="${this.leafNodeIcon}"></ft-icon>`}}na.elementDefinitions={"ft-button":_n,"ft-icon":pn,"ft-reader-internal-link":tn,"ft-size-watcher":ta,"ft-typography":Xi},na.styles=ra,ia([C({type:Boolean})],na.prototype,"expanded",void 0),ia([C()],na.prototype,"iconVariant",void 0),ia([C()],na.prototype,"collapseIcon",void 0),ia([C()],na.prototype,"expandIcon",void 0),ia([C()],na.prototype,"leafNodeIconVariant",void 0),ia([C()],na.prototype,"leafNodeIcon",void 0),ia([C({type:Boolean})],na.prototype,"expandCollapseAll",void 0),ia([C({type:Boolean})],na.prototype,"expandCollapseAllHideLabel",void 0),ia([C({type:Boolean})],na.prototype,"expandCollapseAllTrailingIcon",void 0),ia([C()],na.prototype,"expandCollapseAllAlignment",void 0),ia([C({type:Boolean})],na.prototype,"expandCollapseAllHideIcon",void 0),ia([C()],na.prototype,"expandCollapseAllIconVariant",void 0),ia([C()],na.prototype,"collapseAllIcon",void 0),ia([C()],na.prototype,"expandAllIcon",void 0),ia([C({type:Boolean})],na.prototype,"autoCollapse",void 0),ia([C()],na.prototype,"scope",void 0),ia([C({type:Boolean,reflect:!0})],na.prototype,"empty",void 0),ia([L({})],na.prototype,"labels",void 0),ia([_o({selector:(t,e)=>{var o,r,i;return e.isCurrentPageToc?(null===(o=t.paginationConfiguration)||void 0===o?void 0:o.splitCurrentPageToc)?null===(r=t.currentPage)||void 0===r?void 0:r.toc:void 0:(null===(i=t.paginationConfiguration)||void 0===i?void 0:i.splitCurrentPageToc)?t.pagesToc:t.toc}})],na.prototype,"toc",void 0),ia([_o()],na.prototype,"currentPage",void 0),ia([_o({selector:(t,e)=>{var o,r;return(null===(o=t.paginationConfiguration)||void 0===o?void 0:o.splitCurrentPageToc)&&!e.isCurrentPageToc?[null===(r=t.currentPage)||void 0===r?void 0:r.rootTocId]:t.visibleTopics}})],na.prototype,"highlightedTocIds",void 0),ia([$({hasChanged:(t,e)=>!I(t,e)})],na.prototype,"automaticallyExpandedNodes",void 0),ia([$({hasChanged:(t,e)=>!I(t,e)})],na.prototype,"manuallyExpandedNodes",void 0),ia([$({hasChanged:(t,e)=>!I(t,e)})],na.prototype,"manuallyCollapsedNodes",void 0),ia([$()],na.prototype,"expandAll",void 0),ia([$()],na.prototype,"viewportSize",void 0),U("ft-reader-toc")(na),t.DEFAULT_LABELS=ea,t.FtReaderToc=na,t.FtReaderTocCssVariables=oa,t.styles=ra}({});
1121
+ `}buildAutomaticallyExpandedNodes(t){var o,e;let i=new Set(this.autoCollapse?[]:this.automaticallyExpandedNodes);for(let r of t){let t=r;for(;t&&!i.has(t);)i.add(t),this.manuallyCollapsedNodes.delete(t),t=null===(e=null===(o=this.service)||void 0===o?void 0:o.getTocNodeNow(t))||void 0===e?void 0:e.parentTocId}return i}manuallyToggle(t,o){o?(this.manuallyCollapsedNodes.add(t),this.manuallyExpandedNodes.delete(t)):(this.manuallyExpandedNodes.add(t),this.manuallyCollapsedNodes.delete(t)),this.requestUpdate()}onViewportSizeChange(t){this.viewportSize=t.detail.category}toggleExpandCollapseAll(){this.expandAll=!this.expandAll,this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set}getExpandCollapseAllTooltipPosition(){switch(this.expandCollapseAllAlignment){case"right":return"left";case"left":return"right";default:return"bottom"}}getLeafNodeIcon(){return no`
1122
+ <ft-icon class="ft-reader-toc--leaf-node-icon" .variant="${this.leafNodeIconVariant}" .value="${this.leafNodeIcon}"></ft-icon>`}}na.elementDefinitions={"ft-button":_n,"ft-icon":pn,"ft-reader-internal-link":tn,"ft-size-watcher":ta,"ft-typography":Xr},na.styles=ia,ra([C({type:Boolean})],na.prototype,"expanded",void 0),ra([C()],na.prototype,"iconVariant",void 0),ra([C()],na.prototype,"collapseIcon",void 0),ra([C()],na.prototype,"expandIcon",void 0),ra([C()],na.prototype,"leafNodeIconVariant",void 0),ra([C()],na.prototype,"leafNodeIcon",void 0),ra([C({type:Boolean})],na.prototype,"expandCollapseAll",void 0),ra([C({type:Boolean})],na.prototype,"expandCollapseAllHideLabel",void 0),ra([C({type:Boolean})],na.prototype,"expandCollapseAllTrailingIcon",void 0),ra([C()],na.prototype,"expandCollapseAllAlignment",void 0),ra([C({type:Boolean})],na.prototype,"expandCollapseAllHideIcon",void 0),ra([C()],na.prototype,"expandCollapseAllIconVariant",void 0),ra([C()],na.prototype,"collapseAllIcon",void 0),ra([C()],na.prototype,"expandAllIcon",void 0),ra([C({type:Boolean})],na.prototype,"autoCollapse",void 0),ra([C()],na.prototype,"scope",void 0),ra([C({type:Boolean,reflect:!0})],na.prototype,"empty",void 0),ra([W({})],na.prototype,"labels",void 0),ra([_e({selector:(t,o)=>{var e,i,r;return o.isCurrentPageToc?(null===(e=t.paginationConfiguration)||void 0===e?void 0:e.splitCurrentPageToc)?null===(i=t.currentPage)||void 0===i?void 0:i.toc:void 0:(null===(r=t.paginationConfiguration)||void 0===r?void 0:r.splitCurrentPageToc)?t.pagesToc:t.toc}})],na.prototype,"toc",void 0),ra([_e()],na.prototype,"currentPage",void 0),ra([_e({selector:(t,o)=>{var e,i;return(null===(e=t.paginationConfiguration)||void 0===e?void 0:e.splitCurrentPageToc)&&!o.isCurrentPageToc?[null===(i=t.currentPage)||void 0===i?void 0:i.rootTocId]:t.visibleTopics}})],na.prototype,"highlightedTocIds",void 0),ra([$({hasChanged:(t,o)=>!U(t,o)})],na.prototype,"automaticallyExpandedNodes",void 0),ra([$({hasChanged:(t,o)=>!U(t,o)})],na.prototype,"manuallyExpandedNodes",void 0),ra([$({hasChanged:(t,o)=>!U(t,o)})],na.prototype,"manuallyCollapsedNodes",void 0),ra([$()],na.prototype,"expandAll",void 0),ra([$()],na.prototype,"viewportSize",void 0),k("ft-reader-toc")(na),t.DEFAULT_LABELS=oa,t.FtReaderToc=na,t.FtReaderTocCssVariables=ea,t.styles=ia}({});