@fluid-topics/ft-reader-content 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,28 +12,28 @@
12
12
  * subject to an additional IP rights grant found at
13
13
  * http://polymer.github.io/PATENTS.txt
14
14
  */
15
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,i=new WeakMap,n=new WeakMap,s=new WeakMap,a=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=i.prototype.attributeChangedCallback,c=new Set(i.observedAttributes||[]);p(i,c,a);const l={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(i,l);let h=e.call(r,t);h||(h=f(t),o.call(r,t,h)),this===window.customElements&&(s.set(i,l),l.standInClass=h);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,l,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=c;if(o)return c=void 0,o;const e=s.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),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,h=t=>{let o=t.getRootNode();if(!l(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),l(o)||(o=a.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 r=h(e)||window.customElements,i=r._getDefinition(o);return i?u(e,i):n.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!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)}},p=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);r.call(this,n,i),e.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(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.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(o.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const o=this.getAttribute(i);e.call(this,i,t,o)}else n.call(this,i,r)})},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),i.set(t,o),c=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 r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&a.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0===i.get(e).formAssociated)return r?.call(this,...o);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const s=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=s.get.call(this,[]),o=[];for(const e of t){const t=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(fe){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}class o extends Error{constructor(t,o,e){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=e}}class e extends Promise{constructor(t){super(((e,r)=>t((t=>{this.isCanceled?r(new o("Promise has been canceled",t)):e(t)}),(t=>{this.isCanceled?r(new o("Promise has been canceled",void 0,t)):r(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}class r{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}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,r=window.customElements,i=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,c=new Set(i.observedAttributes||[]);f(i,c,s);const l={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(i,l);let h=e.call(r,t);h||(h=p(t),o.call(r,t,h)),this===window.customElements&&(a.set(i,l),l.standInClass=h);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,l,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=c;if(o)return c=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,h=t=>{let o=t.getRootNode();if(!l(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),l(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},p=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=h(e)||window.customElements,i=r._getDefinition(o);return i?u(e,i):n.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!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)}},f=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);r.call(this,n,i),e.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(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.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(o.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const o=this.getAttribute(i);e.call(this,i,t,o)}else n.call(this,i,r)})},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),i.set(t,o),c=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 r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&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 r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0===i.get(e).formAssociated)return r?.call(this,...o);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(pe){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}class o extends Error{constructor(t,o,e){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=e}}class e extends Promise{constructor(t){super(((e,r)=>t((t=>{this.isCanceled?r(new o("Promise has been canceled",t)):e(t)}),(t=>{this.isCanceled?r(new o("Promise has been canceled",void 0,t)):r(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}class r{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}i(!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 i=globalThis,n=i.ShadowRoot&&(void 0===i.ShadyCSS||i.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),a=new WeakMap;const c=t=>new class{constructor(t,o,e){if(this._$cssResult$=!0,e!==s)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(n&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=a.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&a.set(o,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,s),l=n?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return c(o)})(t):t
20
+ */const i=globalThis,n=i.ShadowRoot&&(void 0===i.ShadyCSS||i.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,a=Symbol(),s=new WeakMap;const c=t=>new class{constructor(t,o,e){if(this._$cssResult$=!0,e!==a)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(n&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=s.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&s.set(o,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,a),l=n?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return c(o)})(t):t
21
21
  /**
22
22
  * @license
23
23
  * Copyright 2017 Google LLC
24
24
  * SPDX-License-Identifier: BSD-3-Clause
25
- */,{is:h,defineProperty:f,getOwnPropertyDescriptor:p,getOwnPropertyNames:d,getOwnPropertySymbols:u,getPrototypeOf:y}=Object,g=globalThis,b=g.trustedTypes,m=b?b.emptyScript:"",O=g.reactiveElementPolyfillSupport,N=(t,o)=>t,v={toAttribute(t,o){switch(o){case Boolean:t=t?m: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}},S=(t,o)=>!h(t,o),w={attribute:!0,type:String,converter:v,reflect:!1,hasChanged:S};Symbol.metadata??=Symbol("metadata"),g.litPropertyMetadata??=new WeakMap;let C=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=w){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&f(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=p(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const n=r?.call(this);i.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??w}static _$Ei(){if(this.hasOwnProperty(N("elementProperties")))return;const t=y(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(N("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(N("properties"))){const t=this.properties,o=[...d(t),...u(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(l(t))}else void 0!==t&&o.push(l(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(n)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=i.litNonce;void 0!==r&&o.setAttribute("nonce",r),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),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:v).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:v;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??S)(r?i: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){}};C.elementStyles=[],C.shadowRootOptions={mode:"open"},C[N("elementProperties")]=new Map,C[N("finalized")]=new Map,O?.({ReactiveElement:C}),(g.reactiveElementVersions??=[]).push("2.0.2");
25
+ */,{is:h,defineProperty:p,getOwnPropertyDescriptor:f,getOwnPropertyNames:d,getOwnPropertySymbols:u,getPrototypeOf:y}=Object,g=globalThis,b=g.trustedTypes,m=b?b.emptyScript:"",O=g.reactiveElementPolyfillSupport,N=(t,o)=>t,v={toAttribute(t,o){switch(o){case Boolean:t=t?m: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}},x=(t,o)=>!h(t,o),S={attribute:!0,type:String,converter:v,reflect:!1,hasChanged:x};Symbol.metadata??=Symbol("metadata"),g.litPropertyMetadata??=new WeakMap;let w=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=S){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&p(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=f(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const n=r?.call(this);i.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??S}static _$Ei(){if(this.hasOwnProperty(N("elementProperties")))return;const t=y(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(N("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(N("properties"))){const t=this.properties,o=[...d(t),...u(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(l(t))}else void 0!==t&&o.push(l(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(n)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=i.litNonce;void 0!==r&&o.setAttribute("nonce",r),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),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:v).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:v;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??x)(r?i: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){}};w.elementStyles=[],w.shadowRootOptions={mode:"open"},w[N("elementProperties")]=new Map,w[N("finalized")]=new Map,O?.({ReactiveElement:w}),(g.reactiveElementVersions??=[]).push("2.0.2");
26
26
  /**
27
27
  * @license
28
28
  * Copyright 2017 Google LLC
29
29
  * SPDX-License-Identifier: BSD-3-Clause
30
30
  */
31
- const x={attribute:!0,type:String,converter:v,reflect:!1,hasChanged:S},R=(t=x,o,e)=>{const{kind:r,metadata:i}=e;let n=globalThis.litPropertyMetadata.get(i);if(void 0===n&&globalThis.litPropertyMetadata.set(i,n=new Map),n.set(e.name,t),"accessor"===r){const{name:r}=e;return{set(e){const i=o.get.call(this);o.set.call(this,e),this.requestUpdate(r,i,t)},init(o){return void 0!==o&&this.C(r,void 0,t),o}}}if("setter"===r){const{name:r}=e;return function(e){const i=this[r];o.call(this,e),this.requestUpdate(r,i,t)}}throw Error("Unsupported decorator location: "+r)};function E(t){return(o,e)=>"object"==typeof e?R(t,o,e):((t,o,e)=>{const r=o.hasOwnProperty(e);return o.constructor.createProperty(e,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(o,e):void 0})(t,o,e)
31
+ const C={attribute:!0,type:String,converter:v,reflect:!1,hasChanged:x},E=(t=C,o,e)=>{const{kind:r,metadata:i}=e;let n=globalThis.litPropertyMetadata.get(i);if(void 0===n&&globalThis.litPropertyMetadata.set(i,n=new Map),n.set(e.name,t),"accessor"===r){const{name:r}=e;return{set(e){const i=o.get.call(this);o.set.call(this,e),this.requestUpdate(r,i,t)},init(o){return void 0!==o&&this.C(r,void 0,t),o}}}if("setter"===r){const{name:r}=e;return function(e){const i=this[r];o.call(this,e),this.requestUpdate(r,i,t)}}throw Error("Unsupported decorator location: "+r)};function U(t){return(o,e)=>"object"==typeof e?E(t,o,e):((t,o,e)=>{const r=o.hasOwnProperty(e);return o.constructor.createProperty(e,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(o,e):void 0})(t,o,e)
32
32
  /**
33
33
  * @license
34
34
  * Copyright 2017 Google LLC
35
35
  * SPDX-License-Identifier: BSD-3-Clause
36
- */}function U(t){return E({...t,state:!0,attribute:!1})}
36
+ */}function R(t){return U({...t,state:!0,attribute:!1})}
37
37
  /**
38
38
  * @license
39
39
  * Copyright 2017 Google LLC
@@ -43,46 +43,46 @@ const x={attribute:!0,type:String,converter:v,reflect:!1,hasChanged:S},R=(t=x,o,
43
43
  * @license
44
44
  * Copyright 2017 Google LLC
45
45
  * SPDX-License-Identifier: BSD-3-Clause
46
- */;function L(t,o){return(e,r,i)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof r?e:i??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return I(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 I(0,0,{get(){return n(this)}})}}const W=t=>new Promise((o=>setTimeout(o,t)));function k(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,r,i;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!k(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!k(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(i=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,i[r]))return!1;for(r=e;0!=r--;){var n=i[r];if(!k(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)};
46
+ */;function W(t,o){return(e,r,i)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof r?e:i??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return I(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 I(0,0,{get(){return n(this)}})}}const L=t=>new Promise((o=>setTimeout(o,t)));function k(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,r,i;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!k(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!k(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(i=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,i[r]))return!1;for(r=e;0!=r--;){var n=i[r];if(!k(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)};
47
47
  /**
48
48
  * @license
49
49
  * Copyright 2017 Google LLC
50
50
  * SPDX-License-Identifier: BSD-3-Clause
51
51
  */
52
- const Z=globalThis,$=Z.trustedTypes,A=$?$.createPolicy("lit-html",{createHTML:t=>t}):void 0,M="$lit$",F=`lit$${(Math.random()+"").slice(9)}$`,B="?"+F,z=`<${B}>`,T=document,P=()=>T.createComment(""),D=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_=Array.isArray,j=t=>_(t)||"function"==typeof t?.[Symbol.iterator],G="[ \t\n\f\r]",H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Y=/-->/g,J=/>/g,V=RegExp(`>|${G}(?:([^\\s"'>=/]+)(${G}*=${G}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),q=/'/g,X=/"/g,Q=/^(?:script|style|textarea|title)$/i,tt=Symbol.for("lit-noChange"),ot=Symbol.for("lit-nothing"),et=new WeakMap,rt=T.createTreeWalker(T,129);function it(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==A?A.createHTML(o):o}const nt=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",s=H;for(let o=0;o<e;o++){const e=t[o];let a,c,l=-1,h=0;for(;h<e.length&&(s.lastIndex=h,c=s.exec(e),null!==c);)h=s.lastIndex,s===H?"!--"===c[1]?s=Y:void 0!==c[1]?s=J:void 0!==c[2]?(Q.test(c[2])&&(i=RegExp("</"+c[2],"g")),s=V):void 0!==c[3]&&(s=V):s===V?">"===c[0]?(s=i??H,l=-1):void 0===c[1]?l=-2:(l=s.lastIndex-c[2].length,a=c[1],s=void 0===c[3]?V:'"'===c[3]?X:q):s===X||s===q?s=V:s===Y||s===J?s=H:(s=V,i=void 0);const f=s===V&&t[o+1].startsWith("/>")?" ":"";n+=s===H?e+z:l>=0?(r.push(a),e.slice(0,l)+M+e.slice(l)+F+f):e+F+(-2===l?o:f)}return[it(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};let st=class t{constructor({strings:o,_$litType$:e},r){let i;this.parts=[];let n=0,s=0;const a=o.length-1,c=this.parts,[l,h]=nt(o,e);if(this.el=t.createElement(l,r),rt.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=rt.nextNode())&&c.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(M)){const o=h[s++],e=i.getAttribute(t).split(F),r=/([.?@])?(.*)/.exec(o);c.push({type:1,index:n,name:r[2],strings:e,ctor:"."===r[1]?ft:"?"===r[1]?pt:"@"===r[1]?dt:ht}),i.removeAttribute(t)}else t.startsWith(F)&&(c.push({type:6,index:n}),i.removeAttribute(t));if(Q.test(i.tagName)){const t=i.textContent.split(F),o=t.length-1;if(o>0){i.textContent=$?$.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],P()),rt.nextNode(),c.push({type:2,index:++n});i.append(t[o],P())}}}else if(8===i.nodeType)if(i.data===B)c.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(F,t+1));)c.push({type:7,index:n}),t+=F.length-1}n++}}static createElement(t,o){const e=T.createElement("template");return e.innerHTML=t,e}};function at(t,o,e=t,r){if(o===tt)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=D(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=at(t,i._$AS(t,o.values),i,r)),o}let ct=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??T).importNode(o,!0);rt.currentNode=r;let i=rt.nextNode(),n=0,s=0,a=e[0];for(;void 0!==a;){if(n===a.index){let o;2===a.type?o=new lt(i,i.nextSibling,this,t):1===a.type?o=new a.ctor(i,a.name,a.strings,this,t):6===a.type&&(o=new ut(i,this,t)),this._$AV.push(o),a=e[++s]}n!==a?.index&&(i=rt.nextNode(),n++)}return rt.currentNode=T,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}},lt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=ot,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=at(this,t,o),D(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):j(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&&D(this._$AH)?this._$AA.nextSibling.data=t:this.$(T.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=st.createElement(it(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new ct(r,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 st(t)),o}T(o){_(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const n of o)i===e.length?e.push(r=new t(this.k(P()),this.k(P()),this,this.options)):r=e[i],r._$AI(n),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.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))}},ht=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=ot,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,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,r){const i=this.strings;let n=!1;if(void 0===i)t=at(this,t,o,0),n=!D(t)||t!==this._$AH&&t!==tt,n&&(this._$AH=t);else{const r=t;let s,a;for(t=i[0],s=0;s<i.length-1;s++)a=at(this,r[e+s],o,s),a===tt&&(a=this._$AH[s]),n||=!D(a)||a!==this._$AH[s],a===ot?t=ot:t!==ot&&(t+=(a??"")+i[s+1]),this._$AH[s]=a}n&&!r&&this.O(t)}O(t){t===ot?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ft=class extends ht{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ot?void 0:t}},pt=class extends ht{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ot)}},dt=class extends ht{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=at(this,t,o,0)??ot)===tt)return;const e=this._$AH,r=t===ot&&e!==ot||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==ot&&(e===ot||r);r&&this.element.removeEventListener(this.name,this,e),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,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){at(this,t)}};const yt={j:M,P:F,A:B,C:1,M:nt,L:ct,R:j,V:at,D:lt,I:ht,H:pt,N:dt,U:ft,B:ut},gt=Z.litHtmlPolyfillSupport;gt?.(st,lt),(Z.litHtmlVersions??=[]).push("3.1.0");
52
+ const Z=globalThis,$=Z.trustedTypes,A=$?$.createPolicy("lit-html",{createHTML:t=>t}):void 0,M="$lit$",F=`lit$${(Math.random()+"").slice(9)}$`,B="?"+F,z=`<${B}>`,D=document,T=()=>D.createComment(""),P=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_=Array.isArray,H=t=>_(t)||"function"==typeof t?.[Symbol.iterator],j="[ \t\n\f\r]",G=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Y=/-->/g,J=/>/g,V=RegExp(`>|${j}(?:([^\\s"'>=/]+)(${j}*=${j}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),q=/'/g,X=/"/g,Q=/^(?:script|style|textarea|title)$/i,tt=Symbol.for("lit-noChange"),ot=Symbol.for("lit-nothing"),et=new WeakMap,rt=D.createTreeWalker(D,129);function it(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==A?A.createHTML(o):o}const nt=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=G;for(let o=0;o<e;o++){const e=t[o];let s,c,l=-1,h=0;for(;h<e.length&&(a.lastIndex=h,c=a.exec(e),null!==c);)h=a.lastIndex,a===G?"!--"===c[1]?a=Y:void 0!==c[1]?a=J:void 0!==c[2]?(Q.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=V):void 0!==c[3]&&(a=V):a===V?">"===c[0]?(a=i??G,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?V:'"'===c[3]?X:q):a===X||a===q?a=V:a===Y||a===J?a=G:(a=V,i=void 0);const p=a===V&&t[o+1].startsWith("/>")?" ":"";n+=a===G?e+z:l>=0?(r.push(s),e.slice(0,l)+M+e.slice(l)+F+p):e+F+(-2===l?o:p)}return[it(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};let at=class t{constructor({strings:o,_$litType$:e},r){let i;this.parts=[];let n=0,a=0;const s=o.length-1,c=this.parts,[l,h]=nt(o,e);if(this.el=t.createElement(l,r),rt.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=rt.nextNode())&&c.length<s;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(M)){const o=h[a++],e=i.getAttribute(t).split(F),r=/([.?@])?(.*)/.exec(o);c.push({type:1,index:n,name:r[2],strings:e,ctor:"."===r[1]?pt:"?"===r[1]?ft:"@"===r[1]?dt:ht}),i.removeAttribute(t)}else t.startsWith(F)&&(c.push({type:6,index:n}),i.removeAttribute(t));if(Q.test(i.tagName)){const t=i.textContent.split(F),o=t.length-1;if(o>0){i.textContent=$?$.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],T()),rt.nextNode(),c.push({type:2,index:++n});i.append(t[o],T())}}}else if(8===i.nodeType)if(i.data===B)c.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(F,t+1));)c.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,r){if(o===tt)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=P(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=st(t,i._$AS(t,o.values),i,r)),o}let ct=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??D).importNode(o,!0);rt.currentNode=r;let i=rt.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new lt(i,i.nextSibling,this,t):1===s.type?o=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(o=new ut(i,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(i=rt.nextNode(),n++)}return rt.currentNode=D,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}},lt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=ot,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=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):H(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,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=at.createElement(it(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new ct(r,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){_(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const n of o)i===e.length?e.push(r=new t(this.k(T()),this.k(T()),this,this.options)):r=e[i],r._$AI(n),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.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))}},ht=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=ot,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,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,r){const i=this.strings;let n=!1;if(void 0===i)t=st(this,t,o,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[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??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===ot?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},pt=class extends ht{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ot?void 0:t}},ft=class extends ht{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ot)}},dt=class extends ht{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=st(this,t,o,0)??ot)===tt)return;const e=this._$AH,r=t===ot&&e!==ot||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==ot&&(e===ot||r);r&&this.element.removeEventListener(this.name,this,e),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,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:M,P:F,A:B,C:1,M:nt,L:ct,R:H,V:st,D:lt,I:ht,H:ft,N:dt,U:pt,B:ut},gt=Z.litHtmlPolyfillSupport;gt?.(at,lt),(Z.litHtmlVersions??=[]).push("3.1.0");
53
53
  /**
54
54
  * @license
55
55
  * Copyright 2019 Google LLC
56
56
  * SPDX-License-Identifier: BSD-3-Clause
57
57
  */
58
- const bt=globalThis,mt=bt.ShadowRoot&&(void 0===bt.ShadyCSS||bt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ot=Symbol(),Nt=new WeakMap;let vt=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==Ot)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=Nt.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&Nt.set(o,t))}return t}toString(){return this.cssText}};const St=t=>new vt("string"==typeof t?t:t+"",void 0,Ot),wt=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,r)=>o+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[r+1]),t[0]);return new vt(e,t,Ot)},Ct=mt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return St(o)})(t):t
58
+ const bt=globalThis,mt=bt.ShadowRoot&&(void 0===bt.ShadyCSS||bt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ot=Symbol(),Nt=new WeakMap;let vt=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==Ot)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=Nt.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&Nt.set(o,t))}return t}toString(){return this.cssText}};const xt=t=>new vt("string"==typeof t?t:t+"",void 0,Ot),St=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,r)=>o+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[r+1]),t[0]);return new vt(e,t,Ot)},wt=mt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return xt(o)})(t):t
59
59
  /**
60
60
  * @license
61
61
  * Copyright 2017 Google LLC
62
62
  * SPDX-License-Identifier: BSD-3-Clause
63
- */,{is:xt,defineProperty:Rt,getOwnPropertyDescriptor:Et,getOwnPropertyNames:Ut,getOwnPropertySymbols:It,getPrototypeOf:Lt}=Object,Wt=globalThis,kt=Wt.trustedTypes,Kt=kt?kt.emptyScript:"",Zt=Wt.reactiveElementPolyfillSupport,$t=(t,o)=>t,At={toAttribute(t,o){switch(o){case Boolean:t=t?Kt: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}},Mt=(t,o)=>!xt(t,o),Ft={attribute:!0,type:String,converter:At,reflect:!1,hasChanged:Mt};Symbol.metadata??=Symbol("metadata"),Wt.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=Ft){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&Rt(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=Et(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const n=r?.call(this);i.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ft}static _$Ei(){if(this.hasOwnProperty($t("elementProperties")))return;const t=Lt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty($t("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty($t("properties"))){const t=this.properties,o=[...Ut(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(Ct(t))}else void 0!==t&&o.push(Ct(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"),r=bt.litNonce;void 0!==r&&o.setAttribute("nonce",r),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),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:At).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:At;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??Mt)(r?i: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[$t("elementProperties")]=new Map,Bt[$t("finalized")]=new Map,Zt?.({ReactiveElement:Bt}),(Wt.reactiveElementVersions??=[]).push("2.0.2");
63
+ */,{is:Ct,defineProperty:Et,getOwnPropertyDescriptor:Ut,getOwnPropertyNames:Rt,getOwnPropertySymbols:It,getPrototypeOf:Wt}=Object,Lt=globalThis,kt=Lt.trustedTypes,Kt=kt?kt.emptyScript:"",Zt=Lt.reactiveElementPolyfillSupport,$t=(t,o)=>t,At={toAttribute(t,o){switch(o){case Boolean:t=t?Kt: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}},Mt=(t,o)=>!Ct(t,o),Ft={attribute:!0,type:String,converter:At,reflect:!1,hasChanged:Mt};Symbol.metadata??=Symbol("metadata"),Lt.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=Ft){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&Et(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=Ut(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const n=r?.call(this);i.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ft}static _$Ei(){if(this.hasOwnProperty($t("elementProperties")))return;const t=Wt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty($t("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty($t("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"),r=bt.litNonce;void 0!==r&&o.setAttribute("nonce",r),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),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:At).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:At;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??Mt)(r?i: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[$t("elementProperties")]=new Map,Bt[$t("finalized")]=new Map,Zt?.({ReactiveElement:Bt}),(Lt.reactiveElementVersions??=[]).push("2.0.2");
64
64
  /**
65
65
  * @license
66
66
  * Copyright 2017 Google LLC
67
67
  * SPDX-License-Identifier: BSD-3-Clause
68
68
  */
69
- const zt=globalThis,Tt=zt.trustedTypes,Pt=Tt?Tt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Dt="$lit$",_t=`lit$${(Math.random()+"").slice(9)}$`,jt="?"+_t,Gt=`<${jt}>`,Ht=document,Yt=()=>Ht.createComment(""),Jt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Vt=Array.isArray,qt="[ \t\n\f\r]",Xt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Qt=/-->/g,to=/>/g,oo=RegExp(`>|${qt}(?:([^\\s"'>=/]+)(${qt}*=${qt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),eo=/'/g,ro=/"/g,io=/^(?:script|style|textarea|title)$/i,no=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),so=Symbol.for("lit-noChange"),ao=Symbol.for("lit-nothing"),co=new WeakMap,lo=Ht.createTreeWalker(Ht,129);function ho(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,r=[];let i,n=2===o?"<svg>":"",s=Xt;for(let o=0;o<e;o++){const e=t[o];let a,c,l=-1,h=0;for(;h<e.length&&(s.lastIndex=h,c=s.exec(e),null!==c);)h=s.lastIndex,s===Xt?"!--"===c[1]?s=Qt:void 0!==c[1]?s=to:void 0!==c[2]?(io.test(c[2])&&(i=RegExp("</"+c[2],"g")),s=oo):void 0!==c[3]&&(s=oo):s===oo?">"===c[0]?(s=i??Xt,l=-1):void 0===c[1]?l=-2:(l=s.lastIndex-c[2].length,a=c[1],s=void 0===c[3]?oo:'"'===c[3]?ro:eo):s===ro||s===eo?s=oo:s===Qt||s===to?s=Xt:(s=oo,i=void 0);const f=s===oo&&t[o+1].startsWith("/>")?" ":"";n+=s===Xt?e+Gt:l>=0?(r.push(a),e.slice(0,l)+Dt+e.slice(l)+_t+f):e+_t+(-2===l?o:f)}return[ho(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class po{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const s=t.length-1,a=this.parts,[c,l]=fo(t,o);if(this.el=po.createElement(c,e),lo.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=lo.nextNode())&&a.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Dt)){const o=l[n++],e=r.getAttribute(t).split(_t),s=/([.?@])?(.*)/.exec(o);a.push({type:1,index:i,name:s[2],strings:e,ctor:"."===s[1]?bo:"?"===s[1]?mo:"@"===s[1]?Oo:go}),r.removeAttribute(t)}else t.startsWith(_t)&&(a.push({type:6,index:i}),r.removeAttribute(t));if(io.test(r.tagName)){const t=r.textContent.split(_t),o=t.length-1;if(o>0){r.textContent=Tt?Tt.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],Yt()),lo.nextNode(),a.push({type:2,index:++i});r.append(t[o],Yt())}}}else if(8===r.nodeType)if(r.data===jt)a.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(_t,t+1));)a.push({type:7,index:i}),t+=_t.length-1}i++}}static createElement(t,o){const e=Ht.createElement("template");return e.innerHTML=t,e}}function uo(t,o,e=t,r){if(o===so)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=Jt(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=uo(t,i._$AS(t,o.values),i,r)),o}class yo{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=ao,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=uo(this,t,o),Jt(t)?t===ao||null==t||""===t?(this._$AH!==ao&&this._$AR(),this._$AH=ao):t!==this._$AH&&t!==so&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Vt(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!==ao&&Jt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Ht.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=po.createElement(ho(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)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,r=(t?.creationScope??Ht).importNode(o,!0);lo.currentNode=r;let i=lo.nextNode(),n=0,s=0,a=e[0];for(;void 0!==a;){if(n===a.index){let o;2===a.type?o=new yo(i,i.nextSibling,this,t):1===a.type?o=new a.ctor(i,a.name,a.strings,this,t):6===a.type&&(o=new No(i,this,t)),this._$AV.push(o),a=e[++s]}n!==a?.index&&(i=lo.nextNode(),n++)}return lo.currentNode=Ht,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=co.get(t.strings);return void 0===o&&co.set(t.strings,o=new po(t)),o}T(t){Vt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const i of t)r===o.length?o.push(e=new yo(this.k(Yt()),this.k(Yt()),this,this.options)):e=o[r],e._$AI(i),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.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))}}class go{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=ao,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=ao}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=uo(this,t,o,0),n=!Jt(t)||t!==this._$AH&&t!==so,n&&(this._$AH=t);else{const r=t;let s,a;for(t=i[0],s=0;s<i.length-1;s++)a=uo(this,r[e+s],o,s),a===so&&(a=this._$AH[s]),n||=!Jt(a)||a!==this._$AH[s],a===ao?t=ao:t!==ao&&(t+=(a??"")+i[s+1]),this._$AH[s]=a}n&&!r&&this.O(t)}O(t){t===ao?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===ao?void 0:t}}class mo extends go{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ao)}}class Oo extends go{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=uo(this,t,o,0)??ao)===so)return;const e=this._$AH,r=t===ao&&e!==ao||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==ao&&(e===ao||r);r&&this.element.removeEventListener(this.name,this,e),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 No{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 vo=zt.litHtmlPolyfillSupport;vo?.(po,yo),(zt.litHtmlVersions??=[]).push("3.1.0");
69
+ const zt=globalThis,Dt=zt.trustedTypes,Tt=Dt?Dt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Pt="$lit$",_t=`lit$${(Math.random()+"").slice(9)}$`,Ht="?"+_t,jt=`<${Ht}>`,Gt=document,Yt=()=>Gt.createComment(""),Jt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Vt=Array.isArray,qt="[ \t\n\f\r]",Xt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Qt=/-->/g,to=/>/g,oo=RegExp(`>|${qt}(?:([^\\s"'>=/]+)(${qt}*=${qt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),eo=/'/g,ro=/"/g,io=/^(?: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"),co=new WeakMap,lo=Gt.createTreeWalker(Gt,129);function ho(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Tt?Tt.createHTML(o):o}const po=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=Xt;for(let o=0;o<e;o++){const e=t[o];let s,c,l=-1,h=0;for(;h<e.length&&(a.lastIndex=h,c=a.exec(e),null!==c);)h=a.lastIndex,a===Xt?"!--"===c[1]?a=Qt:void 0!==c[1]?a=to:void 0!==c[2]?(io.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=oo):void 0!==c[3]&&(a=oo):a===oo?">"===c[0]?(a=i??Xt,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?oo:'"'===c[3]?ro:eo):a===ro||a===eo?a=oo:a===Qt||a===to?a=Xt:(a=oo,i=void 0);const p=a===oo&&t[o+1].startsWith("/>")?" ":"";n+=a===Xt?e+jt:l>=0?(r.push(s),e.slice(0,l)+Pt+e.slice(l)+_t+p):e+_t+(-2===l?o:p)}return[ho(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class fo{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const a=t.length-1,s=this.parts,[c,l]=po(t,o);if(this.el=fo.createElement(c,e),lo.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=lo.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Pt)){const o=l[n++],e=r.getAttribute(t).split(_t),a=/([.?@])?(.*)/.exec(o);s.push({type:1,index:i,name:a[2],strings:e,ctor:"."===a[1]?bo:"?"===a[1]?mo:"@"===a[1]?Oo:go}),r.removeAttribute(t)}else t.startsWith(_t)&&(s.push({type:6,index:i}),r.removeAttribute(t));if(io.test(r.tagName)){const t=r.textContent.split(_t),o=t.length-1;if(o>0){r.textContent=Dt?Dt.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],Yt()),lo.nextNode(),s.push({type:2,index:++i});r.append(t[o],Yt())}}}else if(8===r.nodeType)if(r.data===Ht)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(_t,t+1));)s.push({type:7,index:i}),t+=_t.length-1}i++}}static createElement(t,o){const e=Gt.createElement("template");return e.innerHTML=t,e}}function uo(t,o,e=t,r){if(o===ao)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=Jt(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=uo(t,i._$AS(t,o.values),i,r)),o}class yo{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=so,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=uo(this,t,o),Jt(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=>Vt(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&&Jt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Gt.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=fo.createElement(ho(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)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,r=(t?.creationScope??Gt).importNode(o,!0);lo.currentNode=r;let i=lo.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new yo(i,i.nextSibling,this,t):1===s.type?o=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(o=new No(i,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(i=lo.nextNode(),n++)}return lo.currentNode=Gt,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=co.get(t.strings);return void 0===o&&co.set(t.strings,o=new fo(t)),o}T(t){Vt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const i of t)r===o.length?o.push(e=new yo(this.k(Yt()),this.k(Yt()),this,this.options)):e=o[r],e._$AI(i),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.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))}}class go{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=so,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,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,r){const i=this.strings;let n=!1;if(void 0===i)t=uo(this,t,o,0),n=!Jt(t)||t!==this._$AH&&t!==ao,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=uo(this,r[e+a],o,a),s===ao&&(s=this._$AH[a]),n||=!Jt(s)||s!==this._$AH[a],s===so?t=so:t!==so&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&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 Oo extends go{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=uo(this,t,o,0)??so)===ao)return;const e=this._$AH,r=t===so&&e!==so||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==so&&(e===so||r);r&&this.element.removeEventListener(this.name,this,e),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 No{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 vo=zt.litHtmlPolyfillSupport;vo?.(fo,yo),(zt.litHtmlVersions??=[]).push("3.1.0");
70
70
  /**
71
71
  * @license
72
72
  * Copyright 2017 Google LLC
73
73
  * SPDX-License-Identifier: BSD-3-Clause
74
74
  */
75
- let So=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 r=e?.renderBefore??o;let i=r._$litPart$;if(void 0===i){const t=e?.renderBefore??null;r._$litPart$=i=new yo(o.insertBefore(Yt(),t),t,void 0,e??{})}return i._$AI(t),i})(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return so}};So._$litElement$=!0,So.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:So});const wo=globalThis.litElementPolyfillSupport;wo?.({LitElement:So}),(globalThis.litElementVersions??=[]).push("4.0.2");const Co=t=>"string"==typeof t?St(t):t;class xo{static create(t,o,e,r){const i=t=>Co(null!=t?t:r),n=wt`var(${Co(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>wt`var(${Co(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,o,e,r){const i=t=>e.get(null!=t?t:r),n=wt`var(${Co(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>wt`var(${Co(t)}, ${i(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):Co(null!=o?o:t.lastResortDefaultValue()),r=wt`var(${Co(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>wt`var(${Co(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const Ro={colorWhite:xo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:xo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:xo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:xo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:xo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:xo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:xo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:xo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:xo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:xo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:xo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:xo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:xo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:xo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:xo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:xo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:xo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:xo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:xo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:xo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:xo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:xo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:xo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:xo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:xo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:xo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:xo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:xo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:xo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:xo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:xo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:xo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:xo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:xo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:xo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:xo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:xo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:xo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:xo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:xo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:xo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:xo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:xo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:xo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:xo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:xo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:xo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:xo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:xo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:xo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:xo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:xo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:xo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:xo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:xo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:xo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:xo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:xo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:xo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:xo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:xo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:xo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:xo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:xo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:xo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:xo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:xo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:xo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:xo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:xo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:xo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:xo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:xo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:xo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:xo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:xo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:xo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:xo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:xo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:xo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:xo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:xo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:xo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:xo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:xo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:xo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:xo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:xo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:xo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:xo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:xo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:xo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:xo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:xo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:xo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:xo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:xo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:xo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:xo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:xo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:xo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:xo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:xo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:xo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:xo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:xo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:xo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:xo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:xo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:xo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:xo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:xo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:xo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:xo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:xo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:xo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:xo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:xo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:xo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:xo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:xo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:xo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:xo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:xo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:xo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:xo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:xo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:xo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:xo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:xo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:xo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:xo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:xo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:xo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:xo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:xo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:xo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:xo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:xo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:xo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:xo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:xo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:xo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:xo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:xo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:xo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:xo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:xo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:xo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:xo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:xo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:xo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:xo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:xo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:xo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:xo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:xo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:xo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:xo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:xo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:xo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:xo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:xo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:xo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:xo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:xo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:xo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:xo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:xo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:xo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:xo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:xo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:xo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:xo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:xo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:xo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:xo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:xo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:xo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:xo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:xo.create("--ft-opacity-0","","NUMBER","0"),opacity8:xo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:xo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:xo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:xo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:xo.create("--ft-opacity-80","","NUMBER","0.8")};xo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),xo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),xo.create("--ft-typography-display-lineHeight","","SIZE","120%"),xo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),xo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),xo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),xo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),xo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),xo.create("--ft-typography-display-textCase","","UNKNOWN","none"),xo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),xo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),xo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),xo.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),xo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),xo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),xo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),xo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),xo.create("--ft-typography-title-1-textCase","","UNKNOWN","none"),xo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),xo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),xo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),xo.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),xo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),xo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),xo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),xo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),xo.create("--ft-typography-title-2-textCase","","UNKNOWN","none"),xo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),xo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),xo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),xo.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),xo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),xo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),xo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),xo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),xo.create("--ft-typography-title-3-textCase","","UNKNOWN","none"),xo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),xo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),xo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),xo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),xo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),xo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),xo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),xo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),xo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none"),xo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),xo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),xo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),xo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),xo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),xo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),xo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),xo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),xo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none"),xo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),xo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),xo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),xo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),xo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),xo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),xo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),xo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),xo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none"),xo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),xo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),xo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),xo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),xo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),xo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),xo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),xo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),xo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none"),xo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),xo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),xo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),xo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),xo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),xo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),xo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),xo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),xo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none"),xo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),xo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),xo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),xo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),xo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),xo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),xo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),xo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),xo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none"),xo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),xo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),xo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),xo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),xo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),xo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),xo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),xo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),xo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none"),xo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),xo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),xo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),xo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),xo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),xo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),xo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),xo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),xo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none"),xo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),xo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),xo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),xo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),xo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),xo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),xo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),xo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),xo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none"),xo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),xo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),xo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),xo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),xo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),xo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),xo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),xo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),xo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none"),xo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),xo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),xo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),xo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),xo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),xo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),xo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),xo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),xo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none"),xo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),xo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),xo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),xo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),xo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),xo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),xo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),xo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),xo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none"),xo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),xo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),xo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),xo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),xo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),xo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),xo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),xo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),xo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none"),xo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),xo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),xo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),xo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),xo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),xo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),xo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),xo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),xo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none"),xo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),xo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),xo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),xo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),xo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),xo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),xo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),xo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),xo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none"),xo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),xo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),xo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),xo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),xo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),xo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),xo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),xo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),xo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none"),xo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),xo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),xo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),xo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),xo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),xo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),xo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),xo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),xo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none"),xo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),xo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),xo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),xo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),xo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),xo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),xo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),xo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),xo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none");const Eo={backgroundActionPrimary:xo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ro.colorBrand0),backgroundErrorPrimary:xo.extend("--ft-background-error-primary","Used as background of error components.",Ro.colorRed0),backgroundErrorSubtle:xo.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ro.colorRed10),backgroundInfoPrimary:xo.extend("--ft-background-info-primary","Used as background of information components.",Ro.colorCyan200),backgroundInfoSubtle:xo.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ro.colorCyan10),backgroundWarningPrimary:xo.extend("--ft-background-warning-primary","Used as background of warning components.",Ro.colorOrange300),backgroundWarningSubtle:xo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ro.colorOrange10),backgroundSuccessPrimary:xo.extend("--ft-background-success-primary","Used as background of success components.",Ro.colorGreen200),backgroundSuccessSubtle:xo.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ro.colorGreen10),backgroundGlobalSurface:xo.extend("--ft-background-global-surface","Used as app background.",Ro.colorWhite),backgroundGlobalOnSurface:xo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ro.colorGray10),backgroundGlobalOnSurfaceDark:xo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ro.colorGray30),contentActionPrimary:xo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ro.colorBrand0),contentWarningPrimary:xo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ro.colorOrange300),contentWarningIconOnly:xo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ro.colorOrange0),contentErrorPrimary:xo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ro.colorRed0),contentErrorIconOnly:xo.extend("--ft-content-error-icon-only","Used on error status icons alone",Ro.colorRed0),contentInfoPrimary:xo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ro.colorCyan200),contentInfoIconOnly:xo.extend("--ft-content-info-icon-only","Used on info status icons alone",Ro.colorCyan0),contentSuccessIconOnly:xo.extend("--ft-content-success-icon-only","Used on success status icons alone",Ro.colorGreen0),contentSuccessPrimary:xo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ro.colorGreen200),contentGlobalPrimary:xo.extend("--ft-content-global-primary","Used for main content on the page.",Ro.colorGray500),contentGlobalSecondary:xo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ro.colorGray200),contentGlobalSubtle:xo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ro.colorGray0),contentGlobalOnColor:xo.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ro.colorWhite),borderActionPrimary:xo.extend("--ft-border-action-primary","Used as border for primary action components.",Ro.colorBrand0),borderActionFocusRing:xo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ro.colorCyan0),borderWarningPrimary:xo.extend("--ft-border-warning-primary","Used as border for warning components.",Ro.colorOrange30),borderSuccessPrimary:xo.extend("--ft-border-success-primary","Used as border for success components.",Ro.colorGreen30),borderErrorPrimary:xo.extend("--ft-border-error-primary","Used as border for error components.",Ro.colorRed30),borderInfoPrimary:xo.extend("--ft-border-info-primary","Used as border for information components.",Ro.colorCyan30),borderGlobalSubtle:xo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ro.colorGray30),borderGlobalPrimary:xo.extend("--ft-border-global-primary","Used as border for element like input.",Ro.colorGray50),borderInputPrimary:xo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ro.colorGray80)};xo.create("--ft-button-large-height","","SIZE","40px"),xo.extend("--ft-button-large-horizontal-padding","",Ro.spacing4),xo.extend("--ft-button-large-gap","",Ro.spacing2),xo.extend("--ft-button-large-border-radius","",Ro.borderRadiusS),xo.extend("--ft-button-large-icon-size","",Ro.iconSize3),xo.create("--ft-button-large-border-width","","SIZE","1px"),xo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),xo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),xo.create("--ft-button-large-icon-only-width","","SIZE","40px"),xo.create("--ft-button-small-height","","SIZE","30px"),xo.extend("--ft-button-small-horizontal-padding","",Ro.spacing3),xo.extend("--ft-button-small-gap","",Ro.spacing2),xo.extend("--ft-button-small-border-radius","",Ro.borderRadiusS),xo.extend("--ft-button-small-icon-size","",Ro.iconSize2),xo.create("--ft-button-small-border-width","","SIZE","1px"),xo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),xo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),xo.create("--ft-button-small-icon-only-width","","SIZE","30px"),xo.extend("--ft-button-primary-background-color","",Eo.backgroundActionPrimary),xo.extend("--ft-button-primary-color","",Eo.contentGlobalOnColor),xo.extend("--ft-button-primary-icon-color","",Eo.contentGlobalOnColor),xo.extend("--ft-button-primary-state-layer-color","",Eo.contentGlobalOnColor),xo.extend("--ft-button-primary-state-layer-opacity-hover","",Ro.opacity16),xo.extend("--ft-button-primary-state-layer-opacity-focus","",Ro.opacity16),xo.extend("--ft-button-primary-state-layer-opacity-active","",Ro.opacity24),xo.extend("--ft-button-primary-component-opacity-disabled","",Ro.opacity40),xo.extend("--ft-button-focus-focus-ring-color","",Eo.borderActionFocusRing),xo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),xo.extend("--ft-button-tertiary-color","",Eo.contentActionPrimary),xo.extend("--ft-button-tertiary-icon-color","",Eo.contentActionPrimary),xo.extend("--ft-button-tertiary-state-layer-color","",Eo.contentActionPrimary),xo.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ro.opacity8),xo.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ro.opacity8),xo.extend("--ft-button-tertiary-state-layer-opacity-active","",Ro.opacity16),xo.extend("--ft-button-tertiary-component-opacity-disabled","",Ro.opacity40),xo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),xo.extend("--ft-button-secondary-color","",Eo.contentActionPrimary),xo.extend("--ft-button-secondary-icon-color","",Eo.contentActionPrimary),xo.extend("--ft-button-secondary-state-layer-color","",Eo.contentActionPrimary),xo.extend("--ft-button-secondary-state-layer-opacity-hover","",Ro.opacity8),xo.extend("--ft-button-secondary-state-layer-opacity-focus","",Ro.opacity8),xo.extend("--ft-button-secondary-state-layer-opacity-active","",Ro.opacity16),xo.extend("--ft-button-secondary-component-opacity-disabled","",Ro.opacity40),xo.extend("--ft-button-secondary-border-color","",Eo.borderActionPrimary),xo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),xo.extend("--ft-button-neutral-icon-color","",Eo.contentGlobalSecondary),xo.extend("--ft-button-neutral-color","",Eo.contentGlobalSecondary),xo.extend("--ft-button-neutral-state-layer-color","",Eo.contentGlobalSecondary),xo.extend("--ft-button-neutral-state-layer-opacity-hover","",Ro.opacity8),xo.extend("--ft-button-neutral-state-layer-opacity-focus","",Ro.opacity8),xo.extend("--ft-button-neutral-state-layer-opacity-active","",Ro.opacity16),xo.extend("--ft-button-neutral-component-opacity-disabled","",Ro.opacity40),xo.extend("--ft-tabs-top-left-border-radius","",Ro.borderRadiusS),xo.extend("--ft-tabs-top-right-border-radius","",Ro.borderRadiusS),xo.extend("--ft-tabs-label-horizontal-padding","",Ro.spacing4),xo.extend("--ft-tabs-label-vertical-padding","",Ro.spacing3),xo.extend("--ft-tabs-label-gap","",Ro.spacing1),xo.extend("--ft-switch-group-horizontal-padding","",Ro.spacing1),xo.extend("--ft-switch-group-vertical-padding","",Ro.spacing1),xo.extend("--ft-switch-group-gap","",Ro.spacing1),xo.extend("--ft-switch-group-background-color","",Eo.backgroundGlobalSurface),xo.extend("--ft-switch-group-border-color","",Eo.borderGlobalSubtle),xo.create("--ft-switch-group-border-radius","","SIZE","6px"),xo.extend("--ft-switch-label-horizontal-padding","",Ro.spacing2),xo.extend("--ft-switch-label-vertical-padding","",Ro.spacing1),xo.extend("--ft-switch-icon-horizontal-padding","",Ro.spacing1),xo.extend("--ft-switch-icon-vertical-padding","",Ro.spacing1),xo.create("--ft-switch-focus-outline-width","","SIZE","2px"),xo.extend("--ft-switch-focus-focus-ring-color","",Eo.borderActionFocusRing),xo.extend("--ft-switch-option-border-radius","",Ro.borderRadiusS),xo.extend("--ft-switch-off-state-layer-opacity-hover","",Ro.opacity8),xo.extend("--ft-switch-off-state-layer-opacity-focus","",Ro.opacity8),xo.extend("--ft-switch-off-state-layer-opacity-active","",Ro.opacity16),xo.extend("--ft-switch-off-component-opacity-disabled","",Ro.opacity40),xo.extend("--ft-switch-off-color","",Eo.contentGlobalSubtle),xo.extend("--ft-switch-off-state-layer-color","",Eo.contentGlobalSubtle),xo.extend("--ft-chart-1-light","for area color charts",Ro.colorBrand40),xo.extend("--ft-chart-1-base","for line charts",Ro.colorBrand0),xo.extend("--ft-chart-2-light","for area color charts",Ro.colorYellow60),xo.extend("--ft-chart-2-base","for line charts",Ro.colorYellow100),xo.extend("--ft-chart-3-light","",Ro.colorUltramarine40),xo.extend("--ft-chart-3-base","",Ro.colorUltramarine70),xo.extend("--ft-chart-4-light","",Ro.colorCyan50),xo.extend("--ft-chart-4-base","",Ro.colorCyan100),xo.extend("--ft-chart-5-light","",Ro.colorRed40),xo.extend("--ft-chart-5-base","",Ro.colorRed60),xo.extend("--ft-chart-6-light","",Ro.colorGreen40),xo.extend("--ft-chart-6-base","",Ro.colorGreen70),xo.extend("--ft-chart-7-light","",Ro.colorOrange70),xo.extend("--ft-chart-7-base","",Ro.colorOrange100),xo.extend("--ft-chart-8-light","",Ro.colorAvocado70),xo.extend("--ft-chart-8-base","",Ro.colorAvocado200),xo.extend("--ft-chart-9-light","",Ro.colorBrown50),xo.extend("--ft-chart-9-base","",Ro.colorBrown200),xo.extend("--ft-chart-10-light","",Ro.colorGray50),xo.extend("--ft-chart-10-base","",Ro.colorGray80),xo.extend("--ft-chart-monochrome-10","",Ro.colorBrand10),xo.extend("--ft-chart-monochrome-20","",Ro.colorBrand20),xo.extend("--ft-chart-monochrome-30","",Ro.colorBrand40),xo.extend("--ft-chart-monochrome-40","",Ro.colorBrand60),xo.extend("--ft-chart-monochrome-50","",Ro.colorBrand0),xo.extend("--ft-chart-monochrome-60","",Ro.colorBrand200),xo.extend("--ft-chip-large-horizontal-padding","",Ro.spacing4),xo.extend("--ft-chip-large-vertical-padding","",Ro.spacing2),xo.extend("--ft-chip-large-gap","",Ro.spacing1),xo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),xo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),xo.extend("--ft-chip-large-border-radius","",Ro.borderRadiusPill),xo.create("--ft-chip-large-border-width","","SIZE","1px"),xo.extend("--ft-chip-large-icon-size","",Ro.iconSize3),xo.extend("--ft-chip-medium-horizontal-padding","",Ro.spacing3),xo.extend("--ft-chip-medium-vertical-padding","",Ro.spacing1),xo.extend("--ft-chip-medium-gap","",Ro.spacing1),xo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),xo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),xo.extend("--ft-chip-medium-border-radius","",Ro.borderRadiusPill),xo.create("--ft-chip-medium-border-width","","SIZE","1px"),xo.extend("--ft-chip-medium-icon-size","",Ro.iconSize2),xo.extend("--ft-chip-small-horizontal-padding","",Ro.spacing2),xo.extend("--ft-chip-small-vertical-padding","",Ro.spacing05),xo.extend("--ft-chip-small-gap","",Ro.spacing1),xo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),xo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),xo.extend("--ft-chip-small-border-radius","",Ro.borderRadiusPill),xo.create("--ft-chip-small-border-width","","SIZE","1px"),xo.extend("--ft-chip-small-icon-size","",Ro.iconSize1),xo.extend("--ft-chip-neutral-background-color","",Eo.backgroundGlobalOnSurface),xo.extend("--ft-chip-neutral-color","",Eo.contentGlobalPrimary),xo.extend("--ft-chip-neutral-border-color","",Eo.borderGlobalSubtle),xo.extend("--ft-chip-info-background-color","",Eo.backgroundInfoSubtle),xo.extend("--ft-chip-info-color","",Eo.contentInfoPrimary),xo.extend("--ft-chip-info-border-color","",Eo.borderInfoPrimary),xo.extend("--ft-chip-success-background-color","",Eo.backgroundSuccessSubtle),xo.extend("--ft-chip-success-color","",Eo.contentSuccessPrimary),xo.extend("--ft-chip-success-border-color","",Eo.borderSuccessPrimary),xo.extend("--ft-chip-warning-background-color","",Eo.backgroundWarningSubtle),xo.extend("--ft-chip-warning-color","",Eo.contentWarningPrimary),xo.extend("--ft-chip-warning-border-color","",Eo.borderWarningPrimary),xo.extend("--ft-chip-error-background-color","",Eo.backgroundErrorSubtle),xo.extend("--ft-chip-error-color","",Eo.contentErrorPrimary),xo.extend("--ft-chip-error-border-color","",Eo.borderErrorPrimary),xo.create("--ft-notice-border-width","","SIZE","1px"),xo.extend("--ft-notice-horizontal-padding","",Ro.spacing2),xo.extend("--ft-notice-vertical-padding","",Ro.spacing1),xo.extend("--ft-notice-border-radius","",Ro.borderRadiusS),xo.extend("--ft-notice-gap","",Ro.spacing2),xo.extend("--ft-notice-icon-size","",Ro.iconSize3),xo.extend("--ft-notice-info-background-color","",Eo.backgroundInfoSubtle),xo.extend("--ft-notice-info-border-color","",Eo.borderInfoPrimary),xo.extend("--ft-notice-info-color","",Eo.contentInfoPrimary),xo.extend("--ft-notice-warning-background-color","",Eo.backgroundWarningSubtle),xo.extend("--ft-notice-warning-border-color","",Eo.borderWarningPrimary),xo.extend("--ft-notice-warning-color","",Eo.contentWarningPrimary),xo.extend("--ft-checkbox-label-color","",Eo.contentGlobalPrimary),xo.extend("--ft-checkbox-checked-background-color","",Eo.contentActionPrimary),xo.extend("--ft-checkbox-checked-state-layer-color","",Eo.contentActionPrimary),xo.extend("--ft-checkbox-checked-color","",Eo.contentGlobalOnColor),xo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ro.opacity16),xo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ro.opacity16),xo.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ro.opacity24),xo.extend("--ft-checkbox-checked-component-opacity-disabled","",Ro.opacity40),xo.extend("--ft-checkbox-unchecked-border-color","",Ro.colorGray80),xo.extend("--ft-checkbox-unchecked-state-layer-color","",Ro.colorGray80),xo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ro.opacity16),xo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ro.opacity16),xo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ro.opacity24),xo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ro.opacity40),xo.extend("--ft-checkbox-focus-focus-ring-color","",Eo.borderActionFocusRing),xo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),xo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),xo.extend("--ft-checkbox-gap","",Ro.spacing3),xo.extend("--ft-toggle-off-state-layer-opacity-hover","",Ro.opacity16),xo.extend("--ft-toggle-off-state-layer-opacity-focus","",Ro.opacity16),xo.extend("--ft-toggle-off-state-layer-opacity-active","",Ro.opacity24),xo.extend("--ft-toggle-off-component-opacity-disabled","",Ro.opacity40),xo.extend("--ft-toggle-off-background-color","",Eo.contentGlobalSubtle),xo.extend("--ft-toggle-off-icon-color","",Eo.contentGlobalSubtle),xo.extend("--ft-toggle-off-state-layer-color","",Eo.contentGlobalSubtle),xo.extend("--ft-toggle-on-state-layer-opacity-hover","",Ro.opacity16),xo.extend("--ft-toggle-on-state-layer-opacity-focus","",Ro.opacity16),xo.extend("--ft-toggle-on-state-layer-opacity-active","",Ro.opacity24),xo.extend("--ft-toggle-on-component-opacity-disabled","",Ro.opacity40),xo.extend("--ft-toggle-on-background-color","",Eo.contentActionPrimary),xo.extend("--ft-toggle-on-icon-color","",Eo.contentActionPrimary),xo.extend("--ft-toggle-on-state-layer-color","",Eo.contentActionPrimary),xo.extend("--ft-toggle-label-color","",Eo.contentGlobalPrimary),xo.extend("--ft-toggle-focus-focus-ring-color","",Eo.borderActionFocusRing),xo.extend("--ft-toggle-gap","",Ro.spacing3),xo.extend("--ft-radio-label-color","",Eo.contentGlobalPrimary),xo.extend("--ft-radio-selected-color","",Eo.contentActionPrimary),xo.extend("--ft-radio-selected-state-layer-color","",Eo.contentActionPrimary),xo.extend("--ft-radio-selected-state-layer-opacity-hover","",Ro.opacity16),xo.extend("--ft-radio-selected-state-layer-opacity-focus","",Ro.opacity16),xo.extend("--ft-radio-selected-state-layer-opacity-active","",Ro.opacity24),xo.extend("--ft-radio-selected-component-opacity-disabled","",Ro.opacity40),xo.extend("--ft-radio-unselected-state-layer-color","",Ro.colorGray80),xo.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ro.opacity16),xo.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ro.opacity16),xo.extend("--ft-radio-unselected-state-layer-opacity-active","",Ro.opacity24),xo.extend("--ft-radio-unselected-component-opacity-disabled","",Ro.opacity40),xo.extend("--ft-radio-focus-focus-ring-color","",Eo.borderActionFocusRing),xo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),xo.create("--ft-radio-focus-outline-width","","SIZE","2px"),xo.extend("--ft-radio-gap","",Ro.spacing3),xo.extend("--ft-notification-icon-size","",Ro.iconSize4),xo.extend("--ft-notification-horizontal-padding","",Ro.spacing4),xo.extend("--ft-notification-vertical-padding","",Ro.spacing4),xo.extend("--ft-notification-info-background-color","",Eo.backgroundInfoSubtle),xo.extend("--ft-notification-info-color","",Eo.contentInfoPrimary),xo.extend("--ft-notification-info-border-color","",Eo.borderInfoPrimary),xo.extend("--ft-notification-success-background-color","",Eo.backgroundSuccessSubtle),xo.extend("--ft-notification-success-color","",Eo.contentSuccessPrimary),xo.extend("--ft-notification-success-border-color","",Eo.borderSuccessPrimary),xo.extend("--ft-notification-warning-background-color","",Eo.backgroundWarningSubtle),xo.extend("--ft-notification-warning-color","",Eo.contentWarningPrimary),xo.extend("--ft-notification-warning-border-color","",Eo.borderWarningPrimary),xo.extend("--ft-notification-error-background-color","",Eo.backgroundErrorSubtle),xo.extend("--ft-notification-error-color","",Eo.contentErrorPrimary),xo.extend("--ft-notification-error-border-color","",Eo.borderErrorPrimary),xo.extend("--ft-notification-border-radius","",Ro.borderRadiusPill),xo.create("--ft-notification-border-width","","SIZE","1px"),xo.extend("--ft-notification-gap-leading","",Ro.spacing2),xo.extend("--ft-notification-gap-trailing","",Ro.spacing8),xo.create("--ft-color-primary","","COLOR","#2196F3"),xo.create("--ft-color-primary-variant","","COLOR","#1976D2"),xo.create("--ft-color-secondary","","COLOR","#FFCC80"),xo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),xo.create("--ft-color-surface","","COLOR","#FFFFFF"),xo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),xo.create("--ft-color-error","","COLOR","#B00020"),xo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),xo.create("--ft-color-opacity-high","","NUMBER","1"),xo.create("--ft-color-opacity-medium","","NUMBER","0.74"),xo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),xo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),xo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),xo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),xo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),xo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),xo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),xo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),xo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),xo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),xo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),xo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),xo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),xo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),xo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),xo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),xo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),xo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),xo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),xo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),xo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),xo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),xo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),xo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),xo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),xo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),xo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),xo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),xo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),xo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),xo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),xo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),xo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),xo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),xo.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)"),xo.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)"),xo.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)"),xo.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)"),xo.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)"),xo.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)"),xo.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)"),xo.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)"),xo.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)"),xo.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)"),xo.create("--ft-border-radius-S","","SIZE","4px"),xo.create("--ft-border-radius-M","","SIZE","8px"),xo.create("--ft-border-radius-L","","SIZE","12px"),xo.create("--ft-border-radius-XL","","SIZE","16px"),xo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),xo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),xo.create("--ft-transition-duration","","UNKNOWN","250ms"),xo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out");
75
+ let xo=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 r=e?.renderBefore??o;let i=r._$litPart$;if(void 0===i){const t=e?.renderBefore??null;r._$litPart$=i=new yo(o.insertBefore(Yt(),t),t,void 0,e??{})}return i._$AI(t),i})(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ao}};xo._$litElement$=!0,xo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:xo});const So=globalThis.litElementPolyfillSupport;So?.({LitElement:xo}),(globalThis.litElementVersions??=[]).push("4.0.2");const wo=t=>"string"==typeof t?xt(t):t;class Co{static create(t,o,e,r){const i=t=>wo(null!=t?t:r),n=St`var(${wo(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>St`var(${wo(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,o,e,r){const i=t=>e.get(null!=t?t:r),n=St`var(${wo(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>St`var(${wo(t)}, ${i(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r: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()),r=St`var(${wo(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>St`var(${wo(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}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)")};Co.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),Co.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),Co.create("--ft-typography-display-lineHeight","","SIZE","120%"),Co.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),Co.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),Co.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),Co.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),Co.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),Co.create("--ft-typography-display-textCase","","UNKNOWN","none"),Co.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),Co.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),Co.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),Co.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),Co.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),Co.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),Co.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),Co.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),Co.create("--ft-typography-title-1-textCase","","UNKNOWN","none"),Co.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),Co.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),Co.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),Co.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),Co.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),Co.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),Co.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),Co.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),Co.create("--ft-typography-title-2-textCase","","UNKNOWN","none"),Co.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),Co.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),Co.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),Co.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),Co.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),Co.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),Co.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),Co.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),Co.create("--ft-typography-title-3-textCase","","UNKNOWN","none"),Co.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),Co.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),Co.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),Co.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),Co.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),Co.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),Co.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),Co.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),Co.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none"),Co.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),Co.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),Co.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),Co.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),Co.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),Co.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),Co.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),Co.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),Co.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none"),Co.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),Co.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),Co.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),Co.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),Co.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),Co.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),Co.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),Co.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),Co.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none"),Co.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),Co.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),Co.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),Co.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),Co.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),Co.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),Co.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),Co.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),Co.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none"),Co.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),Co.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),Co.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),Co.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),Co.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),Co.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),Co.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),Co.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),Co.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none"),Co.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),Co.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),Co.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),Co.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),Co.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),Co.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),Co.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),Co.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),Co.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none"),Co.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),Co.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),Co.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),Co.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),Co.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),Co.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),Co.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),Co.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),Co.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none"),Co.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),Co.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),Co.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),Co.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),Co.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),Co.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),Co.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),Co.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),Co.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none"),Co.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),Co.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),Co.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),Co.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),Co.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),Co.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),Co.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),Co.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),Co.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none"),Co.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),Co.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),Co.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),Co.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),Co.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),Co.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),Co.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),Co.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),Co.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none"),Co.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),Co.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),Co.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),Co.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),Co.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),Co.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),Co.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),Co.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),Co.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none"),Co.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),Co.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),Co.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),Co.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),Co.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),Co.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),Co.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),Co.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),Co.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none"),Co.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),Co.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),Co.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),Co.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),Co.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),Co.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),Co.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),Co.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),Co.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none"),Co.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),Co.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),Co.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),Co.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),Co.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),Co.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),Co.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),Co.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),Co.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none"),Co.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),Co.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),Co.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),Co.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),Co.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),Co.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),Co.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),Co.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),Co.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none"),Co.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),Co.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),Co.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),Co.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),Co.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),Co.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),Co.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),Co.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),Co.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none"),Co.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),Co.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),Co.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),Co.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),Co.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),Co.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),Co.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),Co.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),Co.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none"),Co.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),Co.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),Co.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),Co.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),Co.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),Co.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),Co.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),Co.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),Co.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none"),Co.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),Co.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),Co.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),Co.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),Co.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),Co.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),Co.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),Co.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),Co.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none"),Co.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),Co.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),Co.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),Co.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),Co.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),Co.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),Co.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),Co.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),Co.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none"),Co.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),Co.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),Co.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),Co.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),Co.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),Co.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),Co.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),Co.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),Co.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none");const Uo={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)};Co.create("--ft-button-large-height","","SIZE","40px"),Co.extend("--ft-button-large-horizontal-padding","",Eo.spacing4),Co.extend("--ft-button-large-gap","",Eo.spacing2),Co.extend("--ft-button-large-border-radius","",Eo.borderRadiusS),Co.extend("--ft-button-large-icon-size","",Eo.iconSize3),Co.create("--ft-button-large-border-width","","SIZE","1px"),Co.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),Co.create("--ft-button-large-focus-outline-width","","SIZE","2px"),Co.create("--ft-button-large-icon-only-width","","SIZE","40px"),Co.create("--ft-button-small-height","","SIZE","30px"),Co.extend("--ft-button-small-horizontal-padding","",Eo.spacing3),Co.extend("--ft-button-small-gap","",Eo.spacing2),Co.extend("--ft-button-small-border-radius","",Eo.borderRadiusS),Co.extend("--ft-button-small-icon-size","",Eo.iconSize2),Co.create("--ft-button-small-border-width","","SIZE","1px"),Co.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),Co.create("--ft-button-small-focus-outline-width","","SIZE","2px"),Co.create("--ft-button-small-icon-only-width","","SIZE","30px"),Co.extend("--ft-button-primary-background-color","",Uo.backgroundActionPrimary),Co.extend("--ft-button-primary-color","",Uo.contentGlobalOnColor),Co.extend("--ft-button-primary-icon-color","",Uo.contentGlobalOnColor),Co.extend("--ft-button-primary-state-layer-color","",Uo.contentGlobalOnColor),Co.extend("--ft-button-primary-state-layer-opacity-hover","",Eo.opacity16),Co.extend("--ft-button-primary-state-layer-opacity-focus","",Eo.opacity16),Co.extend("--ft-button-primary-state-layer-opacity-active","",Eo.opacity24),Co.extend("--ft-button-primary-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-button-focus-focus-ring-color","",Uo.borderActionFocusRing),Co.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),Co.extend("--ft-button-tertiary-color","",Uo.contentActionPrimary),Co.extend("--ft-button-tertiary-icon-color","",Uo.contentActionPrimary),Co.extend("--ft-button-tertiary-state-layer-color","",Uo.contentActionPrimary),Co.extend("--ft-button-tertiary-state-layer-opacity-hover","",Eo.opacity8),Co.extend("--ft-button-tertiary-state-layer-opacity-focus","",Eo.opacity8),Co.extend("--ft-button-tertiary-state-layer-opacity-active","",Eo.opacity16),Co.extend("--ft-button-tertiary-component-opacity-disabled","",Eo.opacity40),Co.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),Co.extend("--ft-button-secondary-color","",Uo.contentActionPrimary),Co.extend("--ft-button-secondary-icon-color","",Uo.contentActionPrimary),Co.extend("--ft-button-secondary-state-layer-color","",Uo.contentActionPrimary),Co.extend("--ft-button-secondary-state-layer-opacity-hover","",Eo.opacity8),Co.extend("--ft-button-secondary-state-layer-opacity-focus","",Eo.opacity8),Co.extend("--ft-button-secondary-state-layer-opacity-active","",Eo.opacity16),Co.extend("--ft-button-secondary-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-button-secondary-border-color","",Uo.borderActionPrimary),Co.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),Co.extend("--ft-button-neutral-icon-color","",Uo.contentGlobalSecondary),Co.extend("--ft-button-neutral-color","",Uo.contentGlobalSecondary),Co.extend("--ft-button-neutral-state-layer-color","",Uo.contentGlobalSecondary),Co.extend("--ft-button-neutral-state-layer-opacity-hover","",Eo.opacity8),Co.extend("--ft-button-neutral-state-layer-opacity-focus","",Eo.opacity8),Co.extend("--ft-button-neutral-state-layer-opacity-active","",Eo.opacity16),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","",Uo.contentGlobalPrimary),Co.extend("--ft-floating-menu-off-color","",Uo.contentGlobalPrimary),Co.extend("--ft-floating-menu-on-color","",Uo.contentActionPrimary),Co.extend("--ft-floating-menu-on-icon-color","",Uo.contentActionPrimary),Co.extend("--ft-floating-menu-on-state-layer-color","",Uo.contentActionPrimary),Co.extend("--ft-floating-menu-gap","",Eo.spacing3),Co.extend("--ft-floating-menu-focus-focus-ring-color","",Uo.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","",Uo.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","",Uo.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","",Uo.contentGlobalSubtle),Co.extend("--ft-tabs-off-state-layer-color","",Uo.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","",Uo.contentActionPrimary),Co.extend("--ft-tabs-on-state-layer-color","",Uo.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","",Uo.borderActionFocusRing),Co.extend("--ft-collapsible-color","",Uo.contentGlobalPrimary),Co.extend("--ft-collapsible-state-layer-color","",Uo.contentGlobalPrimary),Co.extend("--ft-collapsible-background-color","",Uo.backgroundGlobalOnSurface),Co.extend("--ft-collapsible-border-color","",Uo.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","",Uo.backgroundGlobalSurface),Co.extend("--ft-switch-group-border-color","",Uo.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","",Uo.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","",Uo.contentGlobalSubtle),Co.extend("--ft-switch-off-state-layer-color","",Uo.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","",Uo.contentActionPrimary),Co.extend("--ft-switch-on-state-layer-color","",Uo.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","",Uo.backgroundGlobalOnSurface),Co.extend("--ft-chip-neutral-color","",Uo.contentGlobalPrimary),Co.extend("--ft-chip-neutral-border-color","",Uo.borderGlobalSubtle),Co.extend("--ft-chip-info-background-color","",Uo.backgroundInfoSubtle),Co.extend("--ft-chip-info-color","",Uo.contentInfoPrimary),Co.extend("--ft-chip-info-border-color","",Uo.borderInfoSubtle),Co.extend("--ft-chip-success-background-color","",Uo.backgroundSuccessSubtle),Co.extend("--ft-chip-success-color","",Uo.contentSuccessPrimary),Co.extend("--ft-chip-success-border-color","",Uo.borderSuccessSubtle),Co.extend("--ft-chip-warning-background-color","",Uo.backgroundWarningSubtle),Co.extend("--ft-chip-warning-color","",Uo.contentWarningPrimary),Co.extend("--ft-chip-warning-border-color","",Uo.borderWarningSubtle),Co.extend("--ft-chip-error-background-color","",Uo.backgroundErrorSubtle),Co.extend("--ft-chip-error-color","",Uo.contentErrorPrimary),Co.extend("--ft-chip-error-border-color","",Uo.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","",Uo.backgroundInfoSubtle),Co.extend("--ft-notice-info-border-color","",Uo.borderInfoSubtle),Co.extend("--ft-notice-info-color","",Uo.contentInfoPrimary),Co.extend("--ft-notice-warning-background-color","",Uo.backgroundWarningSubtle),Co.extend("--ft-notice-warning-border-color","",Uo.borderWarningSubtle),Co.extend("--ft-notice-warning-color","",Uo.contentWarningPrimary),Co.extend("--ft-checkbox-label-color","",Uo.contentGlobalPrimary),Co.extend("--ft-checkbox-checked-background-color","",Uo.contentActionPrimary),Co.extend("--ft-checkbox-checked-state-layer-color","",Uo.contentActionPrimary),Co.extend("--ft-checkbox-checked-color","",Uo.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","",Uo.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","",Uo.contentGlobalSubtle),Co.extend("--ft-toggle-off-icon-color","",Uo.contentGlobalSubtle),Co.extend("--ft-toggle-off-state-layer-color","",Uo.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","",Uo.contentActionPrimary),Co.extend("--ft-toggle-on-icon-color","",Uo.contentActionPrimary),Co.extend("--ft-toggle-on-state-layer-color","",Uo.contentActionPrimary),Co.extend("--ft-toggle-label-color","",Uo.contentGlobalPrimary),Co.extend("--ft-toggle-focus-focus-ring-color","",Uo.borderActionFocusRing),Co.extend("--ft-toggle-gap","",Eo.spacing3),Co.extend("--ft-radio-label-color","",Uo.contentGlobalPrimary),Co.extend("--ft-radio-selected-color","",Uo.contentActionPrimary),Co.extend("--ft-radio-selected-state-layer-color","",Uo.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","",Uo.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","",Uo.backgroundInfoSubtle),Co.extend("--ft-notification-info-color","",Uo.contentInfoPrimary),Co.extend("--ft-notification-info-border-color","",Uo.borderInfoSubtle),Co.extend("--ft-notification-success-background-color","",Uo.backgroundSuccessSubtle),Co.extend("--ft-notification-success-color","",Uo.contentSuccessPrimary),Co.extend("--ft-notification-success-border-color","",Uo.borderSuccessSubtle),Co.extend("--ft-notification-warning-background-color","",Uo.backgroundWarningSubtle),Co.extend("--ft-notification-warning-color","",Uo.contentWarningPrimary),Co.extend("--ft-notification-warning-border-color","",Uo.borderWarningSubtle),Co.extend("--ft-notification-error-background-color","",Uo.backgroundErrorSubtle),Co.extend("--ft-notification-error-color","",Uo.contentErrorPrimary),Co.extend("--ft-notification-error-border-color","",Uo.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","",Uo.contentGlobalOnColor),Co.extend("--ft-tooltip-background","",Uo.contentGlobalPrimary),Co.extend("--ft-tooltip-background-opacity","",Eo.opacity80),Co.extend("--ft-tooltip-shadow","",Eo.shadowElevation03),Co.create("--ft-color-primary","","COLOR","#2196F3"),Co.create("--ft-color-primary-variant","","COLOR","#1976D2"),Co.create("--ft-color-secondary","","COLOR","#FFCC80"),Co.create("--ft-color-secondary-variant","","COLOR","#F57C00"),Co.create("--ft-color-surface","","COLOR","#FFFFFF"),Co.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),Co.create("--ft-color-error","","COLOR","#B00020"),Co.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),Co.create("--ft-color-opacity-high","","NUMBER","1"),Co.create("--ft-color-opacity-medium","","NUMBER","0.74"),Co.create("--ft-color-opacity-disabled","","NUMBER","0.38"),Co.create("--ft-color-on-primary","","COLOR","#FFFFFF"),Co.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),Co.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),Co.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),Co.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),Co.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),Co.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),Co.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),Co.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),Co.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),Co.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),Co.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),Co.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),Co.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),Co.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),Co.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),Co.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),Co.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),Co.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),Co.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),Co.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),Co.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),Co.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),Co.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),Co.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),Co.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),Co.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),Co.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),Co.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),Co.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),Co.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),Co.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),Co.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),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)"),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)"),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)"),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)"),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)"),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)"),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)"),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)"),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)"),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)"),Co.create("--ft-border-radius-S","","SIZE","4px"),Co.create("--ft-border-radius-M","","SIZE","8px"),Co.create("--ft-border-radius-L","","SIZE","12px"),Co.create("--ft-border-radius-XL","","SIZE","16px"),Co.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),Co.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),Co.create("--ft-transition-duration","","UNKNOWN","250ms"),Co.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out");
76
76
  /**
77
77
  * @license
78
78
  * Copyright 2019 Google LLC
79
79
  * SPDX-License-Identifier: BSD-3-Clause
80
80
  */
81
- const Uo=window,Io=Uo.ShadowRoot&&(void 0===Uo.ShadyCSS||Uo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Lo extends So{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)=>{Io?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=Uo.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Wo,ko=function(t,o,e,r){for(var i,n=arguments.length,s=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(o,e,s):i(o,e))||s);return n>3&&s&&Object.defineProperty(o,e,s),s};const Ko=Symbol("constructorPrototype"),Zo=Symbol("constructorName"),$o=Symbol("exportpartsDebouncer");class Ao extends Lo{constructor(){super(),this[Wo]=new r(5),this[Zo]=this.constructor.name,this[Ko]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Zo]&&Object.setPrototypeOf(this,this[Ko])}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[$o].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,r,i,n,s;const a=t=>null!=t&&t.trim().length>0,c=t.filter(a).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=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!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=null!==(s=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];new Array(...o,...e).filter(a).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const h=[...l.values()].flatMap((t=>c.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}}Wo=$o,ko([E()],Ao.prototype,"exportpartsPrefix",void 0),ko([function(t,o){const e=()=>JSON.parse(JSON.stringify(t));return E({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)=>!k(t,o),...null!=o?o:{}})}([])],Ao.prototype,"exportpartsPrefixes",void 0),ko([E()],Ao.prototype,"customStylesheet",void 0);const Mo=xo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");wt`
81
+ const Ro=window,Io=Ro.ShadowRoot&&(void 0===Ro.ShadyCSS||Ro.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Wo extends xo{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)=>{Io?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=Ro.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Lo,ko=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Ko=Symbol("constructorPrototype"),Zo=Symbol("constructorName"),$o=Symbol("exportpartsDebouncer");class Ao extends Wo{constructor(){super(),this[Lo]=new r(5),this[Zo]=this.constructor.name,this[Ko]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Zo]&&Object.setPrototypeOf(this,this[Ko])}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[$o].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,r,i,n,a;const s=t=>null!=t&&t.trim().length>0,c=t.filter(s).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],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=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const h=[...l.values()].flatMap((t=>c.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}}Lo=$o,ko([U()],Ao.prototype,"exportpartsPrefix",void 0),ko([function(t,o){const e=()=>JSON.parse(JSON.stringify(t));return U({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)=>!k(t,o),...null!=o?o:{}})}([])],Ao.prototype,"exportpartsPrefixes",void 0),ko([U()],Ao.prototype,"customStylesheet",void 0);const Mo=Co.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");St`
82
82
  .highlight-html-match {
83
83
  background: ${Mo};
84
84
  }
85
- `,wt`
85
+ `,St`
86
86
  .ft-no-text-select {
87
87
  -webkit-touch-callout: none;
88
88
  -webkit-user-select: none;
@@ -91,7 +91,7 @@ const Uo=window,Io=Uo.ShadowRoot&&(void 0===Uo.ShadyCSS||Uo.ShadyCSS.nativeShado
91
91
  -ms-user-select: none;
92
92
  user-select: none;
93
93
  }
94
- `,wt`
94
+ `,St`
95
95
  .ft-word-wrap {
96
96
  white-space: normal;
97
97
  word-wrap: break-word;
@@ -103,7 +103,7 @@ const Uo=window,Io=Uo.ShadowRoot&&(void 0===Uo.ShadyCSS||Uo.ShadyCSS.nativeShado
103
103
  -webkit-hyphens: auto;
104
104
  hyphens: auto
105
105
  }
106
- `,wt`
106
+ `,St`
107
107
  .ft-safari-ellipsis-fix {
108
108
  margin-right: 0;
109
109
 
@@ -114,7 +114,7 @@ const Uo=window,Io=Uo.ShadowRoot&&(void 0===Uo.ShadyCSS||Uo.ShadyCSS.nativeShado
114
114
  display: inline-block;
115
115
  width: 0;
116
116
  }
117
- `;const Fo=t=>{const o=null!=t?t:{};return(t,e)=>{var r;const i={hasChanged:(t,o)=>!k(t,o),attribute:!1,...o};E(i)(t,e);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(e,{selector:null!==(r=o.selector)&&void 0!==r?r:t=>t[e],store:o.store})}};function Bo(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var zo,To,Po;const Do=Symbol("internalReduxEventsUnsubscribers"),_o=Symbol("internalStoresUnsubscribers"),jo=Symbol("internalStores");class Go extends Ao{constructor(){super(...arguments),this[zo]=new Map,this[To]=new Map,this[Po]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[jo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[jo].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[jo].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Bo(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[jo].delete(o)}setupStore(t,o){this[jo].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[jo].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[_o].has(t.store):this[_o].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[_o].set(t,o.subscribe((()=>this.updateFromStores()))),Bo(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[Do].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[_o].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Do].forEach((t=>t())),this[Do]=[]}unsubscribeFromStore(t){this[_o].has(t)&&this[_o].get(t)(),this[_o].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}var Ho,Yo,Jo;zo=_o,To=jo,Po=Do,Go.reduxProperties=new Map,Go.reduxReactiveProperties=new Set,Go.reduxEventListeners=new Map,window.ftReduxStores||(window.ftReduxStores={}),navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Yo=null===(Ho=window.safari)||void 0===Ho?void 0:Ho.pushNotification)||void 0===Yo||Yo.toString()),function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(Jo||(Jo={}));var Vo=function(t,o,e,r){for(var i,n=arguments.length,s=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(o,e,s):i(o,e))||s);return n>3&&s&&Object.defineProperty(o,e,s),s};class qo extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const Xo=Symbol("registerInterval");class Qo 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[Xo]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Xo]):this.dispatchEvent(new qo)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=Xo,Vo([U()],e.prototype,"stateManager",void 0),e}(Go)){}
117
+ `;const Fo=t=>{const o=null!=t?t:{};return(t,e)=>{var r;const i={hasChanged:(t,o)=>!k(t,o),attribute:!1,...o};U(i)(t,e);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(e,{selector:null!==(r=o.selector)&&void 0!==r?r:t=>t[e],store:o.store})}};function Bo(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var zo,Do,To;const Po=Symbol("internalReduxEventsUnsubscribers"),_o=Symbol("internalStoresUnsubscribers"),Ho=Symbol("internalStores");class jo extends Ao{constructor(){super(...arguments),this[zo]=new Map,this[Do]=new Map,this[To]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[Ho].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ho].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Ho].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Bo(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[Ho].delete(o)}setupStore(t,o){this[Ho].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ho].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[_o].has(t.store):this[_o].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[_o].set(t,o.subscribe((()=>this.updateFromStores()))),Bo(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[Po].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[_o].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Po].forEach((t=>t())),this[Po]=[]}unsubscribeFromStore(t){this[_o].has(t)&&this[_o].get(t)(),this[_o].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}var Go,Yo,Jo;zo=_o,Do=Ho,To=Po,jo.reduxProperties=new Map,jo.reduxReactiveProperties=new Set,jo.reduxEventListeners=new Map,window.ftReduxStores||(window.ftReduxStores={}),navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Yo=null===(Go=window.safari)||void 0===Go?void 0:Go.pushNotification)||void 0===Yo||Yo.toString()),function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(Jo||(Jo={}));var Vo=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class qo extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const Xo=Symbol("registerInterval");class Qo 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[Xo]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Xo]):this.dispatchEvent(new qo)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=Xo,Vo([R()],e.prototype,"stateManager",void 0),e}(jo)){}
118
118
  /**
119
119
  * @license
120
120
  * Copyright 2017 Google LLC
@@ -124,7 +124,7 @@ const Uo=window,Io=Uo.ShadowRoot&&(void 0===Uo.ShadyCSS||Uo.ShadyCSS.nativeShado
124
124
  * @license
125
125
  * Copyright 2020 Google LLC
126
126
  * SPDX-License-Identifier: BSD-3-Clause
127
- */const{D:re}=yt,ie=()=>document.createComment(""),ne=(t,o,e)=>{const r=t._$AA.parentNode,i=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=r.insertBefore(ie(),i),n=r.insertBefore(ie(),i);e=new re(o,n,t,t.options)}else{const o=e._$AB.nextSibling,n=e._$AM,s=n!==t;if(s){let o;e._$AQ?.(t),e._$AM=t,void 0!==e._$AP&&(o=t._$AU)!==n._$AU&&e._$AP(o)}if(o!==i||s){let t=e._$AA;for(;t!==o;){const o=t.nextSibling;r.insertBefore(t,i),t=o}}}return e},se=(t,o,e=t)=>(t._$AI(o,e),t),ae={},ce=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}},le=(t,o,e)=>{const r=new Map;for(let i=o;i<=e;i++)r.set(t[i],i);return r},he=oe(class extends ee{constructor(t){if(super(t),t.type!==te)throw Error("repeat() can only be used in text expressions")}ht(t,o,e){let r;void 0===e?e=o:void 0!==o&&(r=o);const i=[],n=[];let s=0;for(const o of t)i[s]=r?r(o,s):s,n[s]=e(o,s),s++;return{values:n,keys:i}}render(t,o,e){return this.ht(t,o,e).values}update(t,[o,e,r]){const i=(t=>t._$AH)(t),{values:n,keys:s}=this.ht(o,e,r);if(!Array.isArray(i))return this.dt=s,n;const a=this.dt??=[],c=[];let l,h,f=0,p=i.length-1,d=0,u=n.length-1;for(;f<=p&&d<=u;)if(null===i[f])f++;else if(null===i[p])p--;else if(a[f]===s[d])c[d]=se(i[f],n[d]),f++,d++;else if(a[p]===s[u])c[u]=se(i[p],n[u]),p--,u--;else if(a[f]===s[u])c[u]=se(i[f],n[u]),ne(t,c[u+1],i[f]),f++,u--;else if(a[p]===s[d])c[d]=se(i[p],n[d]),ne(t,i[f],i[p]),p--,d++;else if(void 0===l&&(l=le(s,d,u),h=le(a,f,p)),l.has(a[f]))if(l.has(a[p])){const o=h.get(s[d]),e=void 0!==o?i[o]:null;if(null===e){const o=ne(t,i[f]);se(o,n[d]),c[d]=o}else c[d]=se(e,n[d]),ne(t,i[f],e),i[o]=null;d++}else ce(i[p]),p--;else ce(i[f]),f++;for(;d<=u;){const o=ne(t,c[u+1]);se(o,n[d]),c[d++]=o}for(;f<=p;){const t=i[f++];null!==t&&ce(t)}return this.dt=s,((t,o=ae)=>{t._$AH=o})(t,c),tt}});
127
+ */const{D:re}=yt,ie=()=>document.createComment(""),ne=(t,o,e)=>{const r=t._$AA.parentNode,i=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=r.insertBefore(ie(),i),n=r.insertBefore(ie(),i);e=new re(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!==i||a){let t=e._$AA;for(;t!==o;){const o=t.nextSibling;r.insertBefore(t,i),t=o}}}return e},ae=(t,o,e=t)=>(t._$AI(o,e),t),se={},ce=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}},le=(t,o,e)=>{const r=new Map;for(let i=o;i<=e;i++)r.set(t[i],i);return r},he=oe(class extends ee{constructor(t){if(super(t),t.type!==te)throw Error("repeat() can only be used in text expressions")}ht(t,o,e){let r;void 0===e?e=o:void 0!==o&&(r=o);const i=[],n=[];let a=0;for(const o of t)i[a]=r?r(o,a):a,n[a]=e(o,a),a++;return{values:n,keys:i}}render(t,o,e){return this.ht(t,o,e).values}update(t,[o,e,r]){const i=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(o,e,r);if(!Array.isArray(i))return this.dt=a,n;const s=this.dt??=[],c=[];let l,h,p=0,f=i.length-1,d=0,u=n.length-1;for(;p<=f&&d<=u;)if(null===i[p])p++;else if(null===i[f])f--;else if(s[p]===a[d])c[d]=ae(i[p],n[d]),p++,d++;else if(s[f]===a[u])c[u]=ae(i[f],n[u]),f--,u--;else if(s[p]===a[u])c[u]=ae(i[p],n[u]),ne(t,c[u+1],i[p]),p++,u--;else if(s[f]===a[d])c[d]=ae(i[f],n[d]),ne(t,i[p],i[f]),f--,d++;else if(void 0===l&&(l=le(a,d,u),h=le(s,p,f)),l.has(s[p]))if(l.has(s[f])){const o=h.get(a[d]),e=void 0!==o?i[o]:null;if(null===e){const o=ne(t,i[p]);ae(o,n[d]),c[d]=o}else c[d]=ae(e,n[d]),ne(t,i[p],e),i[o]=null;d++}else ce(i[f]),f--;else ce(i[p]),p++;for(;d<=u;){const o=ne(t,c[u+1]);ae(o,n[d]),c[d++]=o}for(;p<=f;){const t=i[p++];null!==t&&ce(t)}return this.dt=a,((t,o=se)=>{t._$AH=o})(t,c),tt}});
128
128
  /**
129
129
  * @license
130
130
  * Copyright 2017 Google LLC
@@ -135,7 +135,7 @@ const Uo=window,Io=Uo.ShadowRoot&&(void 0===Uo.ShadyCSS||Uo.ShadyCSS.nativeShado
135
135
  * Copyright 2017 Google LLC
136
136
  * SPDX-License-Identifier: BSD-3-Clause
137
137
  */
138
- class fe extends ee{constructor(t){if(super(t),this.et=ot,t.type!==te)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:[]}}}fe.directiveName="unsafeHTML",fe.resultType=1;const pe=oe(fe),de=xo.create("--ft-infinite-scroll-padding","","SIZE","0"),ue=xo.create("--ft-infinite-scroll-items-gap","","SIZE","4px"),ye=xo.create("--ft-infinite-scroll-item-container-min-height","","SIZE",".1px"),ge=wt`
138
+ class pe extends ee{constructor(t){if(super(t),this.et=ot,t.type!==te)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:[]}}}pe.directiveName="unsafeHTML",pe.resultType=1;const fe=oe(pe),de=Co.create("--ft-infinite-scroll-padding","","SIZE","0"),ue=Co.create("--ft-infinite-scroll-items-gap","","SIZE","4px"),ye=Co.create("--ft-infinite-scroll-item-container-min-height","","SIZE",".1px"),ge=St`
139
139
  .items-container {
140
140
  padding: ${de};
141
141
  outline: none;
@@ -165,7 +165,7 @@ class fe extends ee{constructor(t){if(super(t),this.et=ot,t.type!==te)throw Erro
165
165
  display: flow-root;
166
166
  min-height: ${ye};
167
167
  }
168
- `;var be=function(t,o,e,r){for(var i,n=arguments.length,s=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(o,e,s):i(o,e))||s);return n>3&&s&&Object.defineProperty(o,e,s),s};class me extends CustomEvent{constructor(t,o){super("visible-items-change",{detail:{visibleIndexes:t,visibleItems:o}})}}class Oe extends Event{constructor(){super("scrolled-to-target")}}class Ne extends Ao{constructor(){super(...arguments),this.items=[],this.renderItem=()=>no``,this.getItemKey=(t,o)=>`${o} - ${JSON.stringify(t)}`,this.internalScroll=!1,this.renderBeforeFirst=1,this.renderAfterLast=1,this.visibleItems=[],this.scrolledToTarget=!1,this.scrolling=!1,this.renderApprovalTimeouts=[],this.renderedIndexes=new Set,this.scrollDebouncer=new r(5),this.scrollDoneDebouncer=new r(10),this.onVisibilityChange=t=>{let o=new Set(this.visibleItems),e=new Set;for(let r of t){let t=+r.target.attributes.getNamedItem("data-item-index").value;r.intersectionRect.height>0?(o.add(t),e.add(t)):e.has(t)||o.delete(t)}this.visibleItems=[...o].sort(((t,o)=>t-o))},this.intersectionObserver=new IntersectionObserver(this.onVisibilityChange),this.scrollingDebouncer=new r(50),this.ignoreNextScrollEvent=!1,this.scrollListener=()=>{this.ignoreNextScrollEvent||(this.scrolling=!0,this.scrollingDebouncer.run((()=>this.scrolling=!1))),this.ignoreNextScrollEvent=!1;const t=this.searchFirstVisibleItem(this.itemsContainer.children);this.scrollRestorationItem=t?+t.getAttribute("data-item-index"):void 0,this.scrollRestorationOffset=this.scrollable.scrollTop-this.getOffset(t)},this.onResize=t=>{for(const o of t)o.contentRect.height>0&&o.target.setAttribute("data-last-known-height",""+o.contentRect.height);if(null!=this.scrollRestorationItem&&null!=this.scrollRestorationOffset&&this.scrolledToTarget){this.ignoreNextScrollEvent=!0;const t=this.getItem(this.scrollRestorationItem),i=this.getOffset(t),n=(o=0===this.scrollRestorationItem?-i:0,e=this.scrollRestorationOffset,r=this.getLastKnownHeight(t)+1,Math.min(Math.max(o,e),r));this.scrollable.scrollTop=i+n}var o,e,r},this.resizeObserver=new ResizeObserver(this.onResize),this.onMutation=()=>{[...this.itemsContainer.children].forEach((t=>{this.intersectionObserver.observe(t),this.resizeObserver.observe(t)}))},this.mutationObserver=new MutationObserver(this.onMutation),this.resetVisibleItemsDebouncer=new r(10)}get scrollable(){var t;return null!==(t=this.internalScroll?this.internalScrollable:this.firstScrollableParent)&&void 0!==t?t:document.body}render(){return no`
168
+ `;var be=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class me extends CustomEvent{constructor(t,o){super("visible-items-change",{detail:{visibleIndexes:t,visibleItems:o}})}}class Oe extends Event{constructor(){super("scrolled-to-target")}}class Ne extends Ao{constructor(){super(...arguments),this.items=[],this.renderItem=()=>no``,this.getItemKey=(t,o)=>`${o} - ${JSON.stringify(t)}`,this.internalScroll=!1,this.renderBeforeFirst=1,this.renderAfterLast=1,this.visibleItems=[],this.scrolledToTarget=!1,this.scrolling=!1,this.renderApprovalTimeouts=[],this.renderedIndexes=new Set,this.scrollDebouncer=new r(5),this.scrollDoneDebouncer=new r(10),this.onVisibilityChange=t=>{let o=new Set(this.visibleItems),e=new Set;for(let r of t){let t=+r.target.attributes.getNamedItem("data-item-index").value;r.intersectionRect.height>0?(o.add(t),e.add(t)):e.has(t)||o.delete(t)}this.visibleItems=[...o].sort(((t,o)=>t-o))},this.intersectionObserver=new IntersectionObserver(this.onVisibilityChange),this.scrollingDebouncer=new r(50),this.ignoreNextScrollEvent=!1,this.scrollListener=()=>{this.ignoreNextScrollEvent||(this.scrolling=!0,this.scrollingDebouncer.run((()=>this.scrolling=!1))),this.ignoreNextScrollEvent=!1;const t=this.searchFirstVisibleItem(this.itemsContainer.children);this.scrollRestorationItem=t?+t.getAttribute("data-item-index"):void 0,this.scrollRestorationOffset=this.scrollable.scrollTop-this.getOffset(t)},this.onResize=t=>{for(const o of t)o.contentRect.height>0&&o.target.setAttribute("data-last-known-height",""+o.contentRect.height);if(null!=this.scrollRestorationItem&&null!=this.scrollRestorationOffset&&this.scrolledToTarget){this.ignoreNextScrollEvent=!0;const t=this.getItem(this.scrollRestorationItem),i=this.getOffset(t),n=(o=0===this.scrollRestorationItem?-i:0,e=this.scrollRestorationOffset,r=this.getLastKnownHeight(t)+1,Math.min(Math.max(o,e),r));this.scrollable.scrollTop=i+n}var o,e,r},this.resizeObserver=new ResizeObserver(this.onResize),this.onMutation=()=>{[...this.itemsContainer.children].forEach((t=>{this.intersectionObserver.observe(t),this.resizeObserver.observe(t)}))},this.mutationObserver=new MutationObserver(this.onMutation),this.resetVisibleItemsDebouncer=new r(10)}get scrollable(){var t;return null!==(t=this.internalScroll?this.internalScrollable:this.firstScrollableParent)&&void 0!==t?t:document.body}render(){return no`
169
169
  <div class="items-container ${this.internalScroll?"scrollable":""}"
170
170
  tabindex="-1"
171
171
  @find-scrollable-parent=${this.findScrollableParent}>
@@ -175,18 +175,18 @@ class fe extends ee{constructor(t){if(super(t),this.et=ot,t.type!==te)throw Erro
175
175
  <div id="item-${o}"
176
176
  class="item-container ${r?"rendered":""} ${e?"visible":""}"
177
177
  data-item-index="${o}">
178
- ${r?(()=>{const e=this.renderItem(t,o);return"string"==typeof e?pe(e):e})():ao}
178
+ ${r?(()=>{const e=this.renderItem(t,o);return"string"==typeof e?fe(e):e})():so}
179
179
  </div>
180
- `}prepareRenderIfNeeded(t){const o=null!=this.renderApprovalTimeouts[t];this.inRenderRange(t)&&!o&&(this.renderApprovalTimeouts[t]=setTimeout((()=>{this.inRenderRange(t)?this.renderedIndexes.add(t):this.renderApprovalTimeouts[t]=void 0,this.requestUpdate()}),300))}inRenderRange(t){return t>=this.visibleItems[0]-this.renderBeforeFirst&&t<=(null!=(o=this.visibleItems)?o:[])[(null!=o?o:[]).length-1]+this.renderAfterLast;var o}resetScroll(){this.triggerFindScrollableParent(),this.intersectionObserver.disconnect(),this.resizeObserver.disconnect(),this.visibleItems=[],this.scrolledToTarget=!1,this.scrollDebouncer.run((()=>{var t;let o=null!==(t=this.scrollToIndex)&&void 0!==t?t:this.scrollToItem?this.items.indexOf(this.scrollToItem):-1;o>=this.items.length&&(o=-1);const e=this.getItem(o);this.scrollToTarget(e),this.scrollDoneDebouncer.run((()=>{this.scrollRestorationItem=o>=0?o:void 0,this.scrollRestorationOffset=0===o?-this.getOffset(e):0,this.onMutation(),null!=e&&this.renderedIndexes.add(o),this.scrolledToTarget=!0}))}))}getItem(t){var o;return null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelector(`#item-${t}`)}scrollToTarget(t){var o;if(t){let e=+(null!==(o=t.getAttribute("data-item-index"))&&void 0!==o?o:"0");this.scrollable&&0===e?this.scrollable.scrollTop=0:this.scrollable.scrollTop=this.getOffset(t)}}getOffset(t){var o;let e=0,r=t;for(;r&&r.offsetParent!==this.scrollable.offsetParent;)e+=r.offsetTop,r=r.offsetParent;return e+(null!==(o=null==r?void 0:r.offsetTop)&&void 0!==o?o:0)-this.scrollable.offsetTop}getLastKnownHeight(t){var o;return+(null!==(o=null==t?void 0:t.getAttribute("data-last-known-height"))&&void 0!==o?o:1e3)}appendItems(...t){this.items=[...this.items,...t]}prependItems(...t){this.items=[...t,...this.items]}connectedCallback(){super.connectedCallback(),setTimeout((()=>{this.triggerFindScrollableParent(),this.initIntersectionObserver(),this.mutationObserver.disconnect(),this.mutationObserver.observe(this.itemsContainer,{childList:!0})}),0)}initIntersectionObserver(){this.intersectionObserver.disconnect(),this.intersectionObserver=new IntersectionObserver(this.onVisibilityChange,{root:this.scrollable,rootMargin:"-8px",threshold:[0,.01,.1,1]})}triggerFindScrollableParent(){var t;null===(t=this.itemsContainer)||void 0===t||t.dispatchEvent(new Event("find-scrollable-parent",{composed:!0}))}findScrollableParent(t){var o;let e,r;t.stopPropagation();for(let o of t.composedPath()){const t=o,i=this.elementCanScroll(t);if(t.clientHeight&&t.clientHeight<t.scrollHeight&&i){e=t;break}i&&(r=t)}let i=e||r;i!==this.firstScrollableParent&&(null===(o=this.firstScrollableParent)||void 0===o||o.removeEventListener("scroll",this.scrollListener),null==i||i.addEventListener("scroll",this.scrollListener),this.firstScrollableParent=i,this.initIntersectionObserver(),this.resetScroll())}elementCanScroll(t){try{return["auto","scroll"].includes(getComputedStyle(t).overflowY)}catch(t){return!1}}searchFirstVisibleItem(t,o,e){if(o=null!=o?o:0,(e=null!=e?e:t.length-1)<=o)return t[o];const r=Math.floor((e-o)/2)+o,i=t[r];return this.getOffset(i)>this.scrollable.scrollTop?this.searchFirstVisibleItem(t,o,r-1):this.getOffset(i)+this.getLastKnownHeight(i)<this.scrollable.scrollTop?this.searchFirstVisibleItem(t,r+1,e):i}disconnectedCallback(){super.disconnectedCallback(),this.intersectionObserver.disconnect(),this.resizeObserver.disconnect(),this.mutationObserver.disconnect()}firstUpdated(t){super.firstUpdated(t),this.resetScroll()}update(t){super.update(t),t.has("items")&&(this.renderedIndexes=new Set),!t.has("scrollToItem")&&!t.has("scrollToIndex")||null==this.scrollToItem&&null==this.scrollToIndex||this.resetScroll()}updated(t){super.updated(t),(t.has("visibleItems")||t.has("items"))&&this.onVisibleItemsChange(),t.has("scrolledToTarget")&&this.scrolledToTarget&&(null!=this.scrollToItem||null!=this.scrollToIndex)&&this.dispatchEvent(new Oe)}onVisibleItemsChange(){const t=this.visibleItems.every(((t,o)=>null==this.visibleItems[o+1]||t+1===this.visibleItems[o+1]));t||k(this.visibleItems,this.lastNotOkVisibleItems)?(this.resetVisibleItemsDebouncer.cancel(),this.dispatchVisibleItemsEvent()):this.resetVisibleItemsDebouncer.run((()=>{this.lastNotOkVisibleItems=[...this.visibleItems],this.visibleItems=[],this.initIntersectionObserver(),this.onMutation()}))}dispatchVisibleItemsEvent(){var t,o;null===(t=this.cancelableDispatchEvent)||void 0===t||t.cancel(),this.cancelableDispatchEvent=(o=async function(t,o=5,e){let r,i,n=await t();for(r=i=performance.now();!n&&(!e||i-r<e);)await W(o),n=await t(),i=performance.now();if(null==n)throw new Error("Timeout exceeded")}((()=>!this.scrolling)),new e(((t,e)=>o.then(t).catch(e)))),this.cancelableDispatchEvent.then((()=>this.dispatchEvent(new me(this.visibleItems,this.visibleItems.map((t=>this.items[t])))))).catch((()=>null))}}Ne.styles=ge,be([E({type:Array})],Ne.prototype,"items",void 0),be([E({attribute:!1})],Ne.prototype,"renderItem",void 0),be([E({attribute:!1})],Ne.prototype,"getItemKey",void 0),be([E({type:Object})],Ne.prototype,"scrollToItem",void 0),be([E({type:Number})],Ne.prototype,"scrollToIndex",void 0),be([E({type:Boolean})],Ne.prototype,"internalScroll",void 0),be([E({type:Number})],Ne.prototype,"renderBeforeFirst",void 0),be([E({type:Number})],Ne.prototype,"renderAfterLast",void 0),be([U({hasChanged:(t,o)=>null!=t&&null==o||t.length!==o.length||t[0]!==o[0]})],Ne.prototype,"visibleItems",void 0),be([L(".scrollable")],Ne.prototype,"internalScrollable",void 0),be([L(".items-container")],Ne.prototype,"itemsContainer",void 0),be([U()],Ne.prototype,"scrolledToTarget",void 0),be([U()],Ne.prototype,"scrolling",void 0),be([U({hasChanged:(t,o)=>!k(t,o)})],Ne.prototype,"renderedIndexes",void 0),K("ft-infinite-scroll")(Ne);const ve=wt`
181
- `,Se=wt`
182
- `;var we=function(t,o,e,r){for(var i,n=arguments.length,s=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(o,e,s):i(o,e))||s);return n>3&&s&&Object.defineProperty(o,e,s),s};class Ce extends Qo{constructor(){super(...arguments),this.disableContextInteractions=!1,this.registeredComponents=[]}render(){return no`
180
+ `}prepareRenderIfNeeded(t){const o=null!=this.renderApprovalTimeouts[t];this.inRenderRange(t)&&!o&&(this.renderApprovalTimeouts[t]=setTimeout((()=>{this.inRenderRange(t)?this.renderedIndexes.add(t):this.renderApprovalTimeouts[t]=void 0,this.requestUpdate()}),300))}inRenderRange(t){return t>=this.visibleItems[0]-this.renderBeforeFirst&&t<=(null!=(o=this.visibleItems)?o:[])[(null!=o?o:[]).length-1]+this.renderAfterLast;var o}resetScroll(){this.triggerFindScrollableParent(),this.intersectionObserver.disconnect(),this.resizeObserver.disconnect(),this.visibleItems=[],this.scrolledToTarget=!1,this.scrollDebouncer.run((()=>{var t;let o=null!==(t=this.scrollToIndex)&&void 0!==t?t:this.scrollToItem?this.items.indexOf(this.scrollToItem):-1;o>=this.items.length&&(o=-1);const e=this.getItem(o);this.scrollToTarget(e),this.scrollDoneDebouncer.run((()=>{this.scrollRestorationItem=o>=0?o:void 0,this.scrollRestorationOffset=0===o?-this.getOffset(e):0,this.onMutation(),null!=e&&this.renderedIndexes.add(o),this.scrolledToTarget=!0}))}))}getItem(t){var o;return null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelector(`#item-${t}`)}scrollToTarget(t){var o;if(t){let e=+(null!==(o=t.getAttribute("data-item-index"))&&void 0!==o?o:"0");this.scrollable&&0===e?this.scrollable.scrollTop=0:this.scrollable.scrollTop=this.getOffset(t)}}getOffset(t){var o;let e=0,r=t;for(;r&&r.offsetParent!==this.scrollable.offsetParent;)e+=r.offsetTop,r=r.offsetParent;return e+(null!==(o=null==r?void 0:r.offsetTop)&&void 0!==o?o:0)-this.scrollable.offsetTop}getLastKnownHeight(t){var o;return+(null!==(o=null==t?void 0:t.getAttribute("data-last-known-height"))&&void 0!==o?o:1e3)}appendItems(...t){this.items=[...this.items,...t]}prependItems(...t){this.items=[...t,...this.items]}connectedCallback(){super.connectedCallback(),setTimeout((()=>{this.triggerFindScrollableParent(),this.initIntersectionObserver(),this.mutationObserver.disconnect(),this.mutationObserver.observe(this.itemsContainer,{childList:!0})}),0)}initIntersectionObserver(){this.intersectionObserver.disconnect(),this.intersectionObserver=new IntersectionObserver(this.onVisibilityChange,{root:this.scrollable,rootMargin:"-8px",threshold:[0,.01,.1,1]})}triggerFindScrollableParent(){var t;null===(t=this.itemsContainer)||void 0===t||t.dispatchEvent(new Event("find-scrollable-parent",{composed:!0}))}findScrollableParent(t){var o;let e,r;t.stopPropagation();for(let o of t.composedPath()){const t=o,i=this.elementCanScroll(t);if(t.clientHeight&&t.clientHeight<t.scrollHeight&&i){e=t;break}i&&(r=t)}let i=e||r;i!==this.firstScrollableParent&&(null===(o=this.firstScrollableParent)||void 0===o||o.removeEventListener("scroll",this.scrollListener),null==i||i.addEventListener("scroll",this.scrollListener),this.firstScrollableParent=i,this.initIntersectionObserver(),this.resetScroll())}elementCanScroll(t){try{return["auto","scroll"].includes(getComputedStyle(t).overflowY)}catch(t){return!1}}searchFirstVisibleItem(t,o,e){if(o=null!=o?o:0,(e=null!=e?e:t.length-1)<=o)return t[o];const r=Math.floor((e-o)/2)+o,i=t[r];return this.getOffset(i)>this.scrollable.scrollTop?this.searchFirstVisibleItem(t,o,r-1):this.getOffset(i)+this.getLastKnownHeight(i)<this.scrollable.scrollTop?this.searchFirstVisibleItem(t,r+1,e):i}disconnectedCallback(){super.disconnectedCallback(),this.intersectionObserver.disconnect(),this.resizeObserver.disconnect(),this.mutationObserver.disconnect()}firstUpdated(t){super.firstUpdated(t),this.resetScroll()}update(t){super.update(t),t.has("items")&&(this.renderedIndexes=new Set),!t.has("scrollToItem")&&!t.has("scrollToIndex")||null==this.scrollToItem&&null==this.scrollToIndex||this.resetScroll()}updated(t){super.updated(t),(t.has("visibleItems")||t.has("items"))&&this.onVisibleItemsChange(),t.has("scrolledToTarget")&&this.scrolledToTarget&&(null!=this.scrollToItem||null!=this.scrollToIndex)&&this.dispatchEvent(new Oe)}onVisibleItemsChange(){const t=this.visibleItems.every(((t,o)=>null==this.visibleItems[o+1]||t+1===this.visibleItems[o+1]));t||k(this.visibleItems,this.lastNotOkVisibleItems)?(this.resetVisibleItemsDebouncer.cancel(),this.dispatchVisibleItemsEvent()):this.resetVisibleItemsDebouncer.run((()=>{this.lastNotOkVisibleItems=[...this.visibleItems],this.visibleItems=[],this.initIntersectionObserver(),this.onMutation()}))}dispatchVisibleItemsEvent(){var t,o;null===(t=this.cancelableDispatchEvent)||void 0===t||t.cancel(),this.cancelableDispatchEvent=(o=async function(t,o=5,e){let r,i,n=await t();for(r=i=performance.now();!n&&(!e||i-r<e);)await L(o),n=await t(),i=performance.now();if(null==n)throw new Error("Timeout exceeded")}((()=>!this.scrolling)),new e(((t,e)=>o.then(t).catch(e)))),this.cancelableDispatchEvent.then((()=>this.dispatchEvent(new me(this.visibleItems,this.visibleItems.map((t=>this.items[t])))))).catch((()=>null))}}Ne.styles=ge,be([U({type:Array})],Ne.prototype,"items",void 0),be([U({attribute:!1})],Ne.prototype,"renderItem",void 0),be([U({attribute:!1})],Ne.prototype,"getItemKey",void 0),be([U({type:Object})],Ne.prototype,"scrollToItem",void 0),be([U({type:Number})],Ne.prototype,"scrollToIndex",void 0),be([U({type:Boolean})],Ne.prototype,"internalScroll",void 0),be([U({type:Number})],Ne.prototype,"renderBeforeFirst",void 0),be([U({type:Number})],Ne.prototype,"renderAfterLast",void 0),be([R({hasChanged:(t,o)=>null!=t&&null==o||t.length!==o.length||t[0]!==o[0]})],Ne.prototype,"visibleItems",void 0),be([W(".scrollable")],Ne.prototype,"internalScrollable",void 0),be([W(".items-container")],Ne.prototype,"itemsContainer",void 0),be([R()],Ne.prototype,"scrolledToTarget",void 0),be([R()],Ne.prototype,"scrolling",void 0),be([R({hasChanged:(t,o)=>!k(t,o)})],Ne.prototype,"renderedIndexes",void 0),K("ft-infinite-scroll")(Ne);const ve=St`
181
+ `,xe=St`
182
+ `;var Se=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class we extends Qo{constructor(){super(...arguments),this.disableContextInteractions=!1,this.registeredComponents=[]}render(){return no`
183
183
  <article id=${this.tocId}>
184
184
  <slot @register-ft-reader-topic-component=${this.registerComponent}></slot>
185
185
  </article>
186
- `}registerComponent(t){t.stopPropagation();const o=t.composedPath()[0];this.register(o)}register(t){this.registeredComponents.push(t),t.tocNode=this.tocNode,t.disableContextInteractions=this.disableContextInteractions}update(t){super.update(t),["mapId","tocId","stateManager"].some((o=>t.has(o)))&&this.setTocNode(),t.has("tocNode")&&this.registeredComponents.forEach((t=>t.tocNode=this.tocNode))}async setTocNode(){var t;this.tocNode=void 0,this.tocNode=this.mapId&&this.tocId?await(null===(t=this.service)||void 0===t?void 0:t.getTocNode(this.tocId)):void 0}disconnectedCallback(){super.disconnectedCallback(),this.registeredComponents=[]}}Ce.styles=Se,we([Fo({selector:t=>{var o;return null===(o=t.map)||void 0===o?void 0:o.id}})],Ce.prototype,"mapId",void 0),we([E()],Ce.prototype,"tocId",void 0),we([E({type:Boolean})],Ce.prototype,"disableContextInteractions",void 0),we([U()],Ce.prototype,"tocNode",void 0),K("ft-reader-topic-context")(Ce);var xe=function(t,o,e,r){for(var i,n=arguments.length,s=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(o,e,s):i(o,e))||s);return n>3&&s&&Object.defineProperty(o,e,s),s};class Re extends Qo{constructor(){super(...arguments),this.renderTopic=()=>no`
186
+ `}registerComponent(t){t.stopPropagation();const o=t.composedPath()[0];this.register(o)}register(t){this.registeredComponents.push(t),t.tocNode=this.tocNode,t.disableContextInteractions=this.disableContextInteractions}update(t){super.update(t),["mapId","tocId","stateManager"].some((o=>t.has(o)))&&this.setTocNode(),t.has("tocNode")&&this.registeredComponents.forEach((t=>t.tocNode=this.tocNode))}async setTocNode(){var t;this.tocNode=void 0,this.tocNode=this.mapId&&this.tocId?await(null===(t=this.service)||void 0===t?void 0:t.getTocNode(this.tocId)):void 0}disconnectedCallback(){super.disconnectedCallback(),this.registeredComponents=[]}}we.styles=xe,Se([Fo({selector:t=>{var o;return null===(o=t.map)||void 0===o?void 0:o.id}})],we.prototype,"mapId",void 0),Se([U()],we.prototype,"tocId",void 0),Se([U({type:Boolean})],we.prototype,"disableContextInteractions",void 0),Se([R()],we.prototype,"tocNode",void 0),K("ft-reader-topic-context")(we);var Ce=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ee extends Qo{constructor(){super(...arguments),this.renderTopic=()=>no`
187
187
  <ft-reader-topic-title></ft-reader-topic-title>
188
188
  <ft-reader-topic-content></ft-reader-topic-content>
189
- `,this.disableContextInteractions=!1,this.renderBeforeFirst=5,this.renderAfterLast=10,this.visibleTopicsDebouncer=new r(50)}render(){var t;const o=(null===(t=this.currentPage)||void 0===t?void 0:t.topics)||[];return 0===o.length?ao:no`
189
+ `,this.disableContextInteractions=!1,this.renderBeforeFirst=5,this.renderAfterLast=10,this.visibleTopicsDebouncer=new r(50)}render(){var t;const o=(null===(t=this.currentPage)||void 0===t?void 0:t.topics)||[];return 0===o.length?so:no`
190
190
  <ft-infinite-scroll class="ft-reader-content"
191
191
  .items=${o}
192
192
  .renderItem=${(t,o)=>this.renderTopicInContext(t,o)}
@@ -203,4 +203,4 @@ class fe extends ee{constructor(t){if(super(t),this.et=ot,t.type!==te)throw Erro
203
203
  <ft-reader-topic-context tocId="${t}" ?disableContextInteractions=${this.disableContextInteractions}>
204
204
  ${this.renderTopic(t,o)}
205
205
  </ft-reader-topic-context>
206
- `}getScrollTarget(){var t,o,e,r,i;if(this.disableContextInteractions)return null;const n=null!==(r=null===(t=this.visibleTopics)||void 0===t?void 0:t.includes(null!==(e=null===(o=this.scrollTarget)||void 0===o?void 0:o.tocId)&&void 0!==e?e:""))&&void 0!==r&&r;return!(null===(i=this.scrollTarget)||void 0===i?void 0:i.tocId)||n&&null!=this.scrollTarget.section?null:this.scrollTarget.tocId}visibleTopicChange(t){this.disableContextInteractions||this.visibleTopicsDebouncer.run((()=>{var o;return null===(o=this.stateManager)||void 0===o?void 0:o.setVisibleTopics(t.detail.visibleItems)}))}onScrollDone(){var t,o;this.disableContextInteractions||(null===(t=this.scrollTarget)||void 0===t?void 0:t.section)||null===(o=this.stateManager)||void 0===o||o.scrollDone()}}Re.elementDefinitions={"ft-infinite-scroll":Ne},Re.styles=ve,xe([E()],Re.prototype,"renderTopic",void 0),xe([E({type:Boolean})],Re.prototype,"disableContextInteractions",void 0),xe([Fo()],Re.prototype,"currentPage",void 0),xe([Fo()],Re.prototype,"scrollTarget",void 0),xe([Fo()],Re.prototype,"visibleTopics",void 0),xe([Fo({selector:t=>{var o,e;return null!==(e=null===(o=t.configuration)||void 0===o?void 0:o.loadBeforeFirstVisibleTopic)&&void 0!==e?e:5}})],Re.prototype,"renderBeforeFirst",void 0),xe([Fo({selector:t=>{var o,e;return null!==(e=null===(o=t.configuration)||void 0===o?void 0:o.loadAfterLastVisibleTopic)&&void 0!==e?e:5}})],Re.prototype,"renderAfterLast",void 0),xe([L(".ft-reader-content")],Re.prototype,"container",void 0),K("ft-reader-content")(Re),t.FtReaderContent=Re,t.FtReaderContentCssVariables={},t.styles=ve}({});
206
+ `}getScrollTarget(){var t,o,e,r,i;if(this.disableContextInteractions)return null;const n=null!==(r=null===(t=this.visibleTopics)||void 0===t?void 0:t.includes(null!==(e=null===(o=this.scrollTarget)||void 0===o?void 0:o.tocId)&&void 0!==e?e:""))&&void 0!==r&&r;return!(null===(i=this.scrollTarget)||void 0===i?void 0:i.tocId)||n&&null!=this.scrollTarget.section?null:this.scrollTarget.tocId}visibleTopicChange(t){this.disableContextInteractions||this.visibleTopicsDebouncer.run((()=>{var o;return null===(o=this.stateManager)||void 0===o?void 0:o.setVisibleTopics(t.detail.visibleItems)}))}onScrollDone(){var t,o;this.disableContextInteractions||(null===(t=this.scrollTarget)||void 0===t?void 0:t.section)||null===(o=this.stateManager)||void 0===o||o.scrollDone()}}Ee.elementDefinitions={"ft-infinite-scroll":Ne},Ee.styles=ve,Ce([U()],Ee.prototype,"renderTopic",void 0),Ce([U({type:Boolean})],Ee.prototype,"disableContextInteractions",void 0),Ce([Fo()],Ee.prototype,"currentPage",void 0),Ce([Fo()],Ee.prototype,"scrollTarget",void 0),Ce([Fo()],Ee.prototype,"visibleTopics",void 0),Ce([Fo({selector:t=>{var o,e;return null!==(e=null===(o=t.configuration)||void 0===o?void 0:o.loadBeforeFirstVisibleTopic)&&void 0!==e?e:5}})],Ee.prototype,"renderBeforeFirst",void 0),Ce([Fo({selector:t=>{var o,e;return null!==(e=null===(o=t.configuration)||void 0===o?void 0:o.loadAfterLastVisibleTopic)&&void 0!==e?e:5}})],Ee.prototype,"renderAfterLast",void 0),Ce([W(".ft-reader-content")],Ee.prototype,"container",void 0),K("ft-reader-content")(Ee),t.FtReaderContent=Ee,t.FtReaderContentCssVariables={},t.styles=ve}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-reader-content",
3
- "version": "1.1.26",
3
+ "version": "1.1.27",
4
4
  "description": "Main content for integrated reader",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,12 +19,12 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-infinite-scroll": "1.1.26",
23
- "@fluid-topics/ft-reader-topic-content": "1.1.26",
24
- "@fluid-topics/ft-reader-topic-context": "1.1.26",
25
- "@fluid-topics/ft-reader-topic-title": "1.1.26",
26
- "@fluid-topics/ft-wc-utils": "1.1.26",
22
+ "@fluid-topics/ft-infinite-scroll": "1.1.27",
23
+ "@fluid-topics/ft-reader-topic-content": "1.1.27",
24
+ "@fluid-topics/ft-reader-topic-context": "1.1.27",
25
+ "@fluid-topics/ft-reader-topic-title": "1.1.27",
26
+ "@fluid-topics/ft-wc-utils": "1.1.27",
27
27
  "lit": "3.1.0"
28
28
  },
29
- "gitHead": "6734976f5a7f6b986917a085be0c38ca3ae562a0"
29
+ "gitHead": "1eac81014b6ebbec9693fa4dded300ed209695c0"
30
30
  }