@fluid-topics/ft-tooltip 1.1.50 → 1.1.52

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,45 +12,46 @@
12
12
  * subject to an additional IP rights grant found at
13
13
  * http://polymer.github.io/PATENTS.txt
14
14
  */
15
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,n=new WeakMap,i=new WeakMap,a=new WeakMap,l=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,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=n.prototype.attributeChangedCallback,c=new Set(n.observedAttributes||[]);d(n,c,l);const s={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,s),this._definitionsByClass.set(n,s);let f=e.call(r,t);f||(f=p(t),o.call(r,t,f)),this===window.customElements&&(a.set(n,s),s.standInClass=f);const h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)i.delete(t),u(t,s,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=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),n.set(o,e),o},window.HTMLElement.prototype=t.prototype;const s=t=>t===document||t instanceof ShadowRoot,f=t=>{let o=t.getRootNode();if(!s(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),s(o)||(o=l.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=f(e)||window.customElements,n=r._getDefinition(o);return n?u(e,n):i.set(e,r),e}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=n.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,n){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);r.call(this,i,n),e.call(this,i,t,n)}else r.call(this,i,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);n.call(this,r),e.call(this,r,t,null)}else n.call(this,r)});const i=t.prototype.toggleAttribute;i&&(t.prototype.toggleAttribute=function(t,r){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);i.call(this,n,r);const o=this.getAttribute(n);e.call(this,n,t,o)}else i.call(this,n,r)})},h=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):h(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),n.set(t,o),c=t;try{new o.elementClass}catch(t){h(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&&l.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0===n.get(e).formAssociated)return r?.call(this,...o);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class i{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),n=o.get(r)||[];this[+e]=t,n.push(t),o.set(r,n)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=n.get(e);t&&!0!==t.formAssociated||o.push(e)}return new i(o)}})}}try{window.customElements.define("custom-element",null)}catch(al){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}
15
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,n=new WeakMap,i=new WeakMap,a=new WeakMap,l=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,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=n.prototype.attributeChangedCallback,c=new Set(n.observedAttributes||[]);d(n,c,l);const s={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,s),this._definitionsByClass.set(n,s);let f=e.call(r,t);f||(f=p(t),o.call(r,t,f)),this===window.customElements&&(a.set(n,s),s.standInClass=f);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)i.delete(t),h(t,s,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=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),n.set(o,e),o},window.HTMLElement.prototype=t.prototype;const s=t=>t===document||t instanceof ShadowRoot,f=t=>{let o=t.getRootNode();if(!s(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),s(o)||(o=l.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=f(e)||window.customElements,n=r._getDefinition(o);return n?h(e,n):i.set(e,r),e}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=n.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,n){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);r.call(this,i,n),e.call(this,i,t,n)}else r.call(this,i,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);n.call(this,r),e.call(this,r,t,null)}else n.call(this,r)});const i=t.prototype.toggleAttribute;i&&(t.prototype.toggleAttribute=function(t,r){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);i.call(this,n,r);const o=this.getAttribute(n);e.call(this,n,t,o)}else i.call(this,n,r)})},u=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):u(e)},h=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),n.set(t,o),c=t;try{new o.elementClass}catch(t){u(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&&l.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0===n.get(e).formAssociated)return r?.call(this,...o);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class i{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),n=o.get(r)||[];this[+e]=t,n.push(t),o.set(r,n)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=n.get(e);t&&!0!==t.formAssociated||o.push(e)}return new i(o)}})}}try{window.customElements.define("custom-element",null)}catch(al){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)}}}!function(){if("undefined"!=typeof document&&!("adoptedStyleSheets"in document)){var t="ShadyCSS"in window&&!ShadyCSS.nativeShadow,o=document.implementation.createHTMLDocument(""),e=new WeakMap,r="object"==typeof DOMException?Error:DOMException,n=Object.defineProperty,i=Array.prototype.forEach,a=/@import.+?;?$/gm,l=CSSStyleSheet.prototype;l.replace=function(){return Promise.reject(new r("Can't call replace on non-constructed CSSStyleSheets."))},l.replaceSync=function(){throw new r("Failed to execute 'replaceSync' on 'CSSStyleSheet': Can't call replaceSync on non-constructed CSSStyleSheets.")};var c=new WeakMap,s=new WeakMap,f=new WeakMap,p=new WeakMap,d=R.prototype;d.replace=function(t){try{return this.replaceSync(t),Promise.resolve(this)}catch(t){return Promise.reject(t)}},d.replaceSync=function(t){if(E(this),"string"==typeof t){var o=this;c.get(o).textContent=function(t){var o=t.replace(a,"");return o!==t&&console.warn("@import rules are not allowed here. See https://github.com/WICG/construct-stylesheets/issues/119#issuecomment-588352418"),o.trim()}(t),p.set(o,[]),s.get(o).forEach((function(t){t.isConnected()&&N(o,C(o,t))}))}},n(d,"cssRules",{configurable:!0,enumerable:!0,get:function(){return E(this),c.get(this).sheet.cssRules}}),n(d,"media",{configurable:!0,enumerable:!0,get:function(){return E(this),c.get(this).sheet.media}}),["addRule","deleteRule","insertRule","removeRule"].forEach((function(t){d[t]=function(){var o=this;E(o);var e=arguments;p.get(o).push({method:t,args:e}),s.get(o).forEach((function(r){if(r.isConnected()){var n=C(o,r).sheet;n[t].apply(n,e)}}));var r=c.get(o).sheet;return r[t].apply(r,e)}})),n(R,Symbol.hasInstance,{configurable:!0,value:S});var u={childList:!0,subtree:!0},h=new WeakMap,y=new WeakMap,g=new WeakMap,b=new WeakMap;if($.prototype={isConnected:function(){var t=y.get(this);return t instanceof Document?"loading"!==t.readyState:function(t){return"isConnected"in t?t.isConnected:document.contains(t)}(t.host)},connect:function(){var t=U(this);b.get(this).observe(t,u),g.get(this).length>0&&k(this),W(t,(function(t){I(t).connect()}))},disconnect:function(){b.get(this).disconnect()},update:function(t){var o=this,e=y.get(o)===document?"Document":"ShadowRoot";if(!Array.isArray(t))throw new TypeError("Failed to set the 'adoptedStyleSheets' property on "+e+": Iterator getter is not callable.");if(!t.every(S))throw new TypeError("Failed to set the 'adoptedStyleSheets' property on "+e+": Failed to convert value to 'CSSStyleSheet'");if(t.some(w))throw new TypeError("Failed to set the 'adoptedStyleSheets' property on "+e+": Can't adopt non-constructed stylesheets");o.sheets=t;var r,n,i=g.get(o),a=(r=t).filter((function(t,o){return r.indexOf(t)===o}));(n=a,i.filter((function(t){return-1===n.indexOf(t)}))).forEach((function(t){var e;(e=C(t,o)).parentNode.removeChild(e),function(t,o){f.get(t).delete(o),s.set(t,s.get(t).filter((function(t){return t!==o})))}(t,o)})),g.set(o,a),o.isConnected()&&a.length>0&&k(o)}},window.CSSStyleSheet=R,L(Document),"ShadowRoot"in window){L(ShadowRoot);var m=Element.prototype,v=m.attachShadow;m.attachShadow=function(t){var o=v.call(this,t);return"closed"===t.mode&&e.set(this,o),o}}var O=I(document);O.isConnected()?O.connect():document.addEventListener("DOMContentLoaded",O.connect.bind(O))}function x(t){return t.shadowRoot||e.get(t)}function S(t){return"object"==typeof t&&(d.isPrototypeOf(t)||l.isPrototypeOf(t))}function w(t){return"object"==typeof t&&l.isPrototypeOf(t)}function C(t,o){return f.get(t).get(o)}function N(t,o){requestAnimationFrame((function(){o.textContent=c.get(t).textContent,p.get(t).forEach((function(t){return o.sheet[t.method].apply(o.sheet,t.args)}))}))}function E(t){if(!c.has(t))throw new TypeError("Illegal invocation")}function R(){var t=this,e=document.createElement("style");o.body.appendChild(e),c.set(t,e),s.set(t,[]),f.set(t,new WeakMap),p.set(t,[])}function I(t){var o=h.get(t);return o||(o=new $(t),h.set(t,o)),o}function L(t){n(t.prototype,"adoptedStyleSheets",{configurable:!0,enumerable:!0,get:function(){return I(this).sheets},set:function(t){I(this).update(t)}})}function W(t,o){for(var e=document.createNodeIterator(t,NodeFilter.SHOW_ELEMENT,(function(t){return x(t)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}),null,!1),r=void 0;r=e.nextNode();)o(x(r))}function U(t){var o=y.get(t);return o instanceof Document?o.body:o}function k(t){var o=document.createDocumentFragment(),e=g.get(t),r=b.get(t),n=U(t);r.disconnect(),e.forEach((function(e){o.appendChild(C(e,t)||function(t,o){var e=document.createElement("style");return f.get(t).set(o,e),s.get(t).push(o),e}(e,t))})),n.insertBefore(o,null),r.observe(n,u),e.forEach((function(o){N(o,C(o,t))}))}function $(o){var e=this;e.sheets=[],y.set(e,o),g.set(e,[]),b.set(e,new MutationObserver((function(o,r){document?o.forEach((function(o){t||i.call(o.addedNodes,(function(t){t instanceof Element&&W(t,(function(t){I(t).connect()}))})),i.call(o.removedNodes,(function(o){o instanceof Element&&(function(t,o){return o instanceof HTMLStyleElement&&g.get(t).some((function(o){return C(o,t)}))}(e,o)&&k(e),t||W(o,(function(t){I(t).disconnect()})))}))})):r.disconnect()})))}}();
16
16
  /**
17
17
  * @license
18
18
  * Copyright 2019 Google LLC
19
19
  * SPDX-License-Identifier: BSD-3-Clause
20
- */const o=globalThis,e=o.ShadowRoot&&(void 0===o.ShadyCSS||o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),n=new WeakMap;const i=t=>new class{constructor(t,o,e){if(this._$cssResult$=!0,e!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(e&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=n.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&n.set(o,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,r),a=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return i(o)})(t):t
20
+ */
21
+ const o=globalThis,e=o.ShadowRoot&&(void 0===o.ShadyCSS||o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),n=new WeakMap;const i=t=>new class{constructor(t,o,e){if(this._$cssResult$=!0,e!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(e&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=n.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&n.set(o,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,r),a=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return i(o)})(t):t
21
22
  /**
22
23
  * @license
23
24
  * Copyright 2017 Google LLC
24
25
  * SPDX-License-Identifier: BSD-3-Clause
25
- */,{is:l,defineProperty:c,getOwnPropertyDescriptor:s,getOwnPropertyNames:f,getOwnPropertySymbols:p,getPrototypeOf:d}=Object,h=globalThis,u=h.trustedTypes,y=u?u.emptyScript:"",g=h.reactiveElementPolyfillSupport,b=(t,o)=>t,m={toAttribute(t,o){switch(o){case Boolean:t=t?y:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},v=(t,o)=>!l(t,o),O={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),h.litPropertyMetadata??=new WeakMap;let x=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=O){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&c(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:n}=s(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const i=r?.call(this);n.call(this,o),this.requestUpdate(t,i,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??O}static _$Ei(){if(this.hasOwnProperty(b("elementProperties")))return;const t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(b("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(b("properties"))){const t=this.properties,o=[...f(t),...p(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(a(t))}else void 0!==t&&o.push(a(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,r)=>{if(e)t.adoptedStyleSheets=r.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of r){const r=document.createElement("style"),n=o.litNonce;void 0!==n&&r.setAttribute("nonce",n),r.textContent=e.cssText,t.appendChild(r)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const n=(void 0!==e.converter?.toAttribute?e.converter:m).toAttribute(o,e.type);this._$Em=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:m;this._$Em=r,this[r]=n.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,n){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??v)(r?n:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};x.elementStyles=[],x.shadowRootOptions={mode:"open"},x[b("elementProperties")]=new Map,x[b("finalized")]=new Map,g?.({ReactiveElement:x}),(h.reactiveElementVersions??=[]).push("2.0.2");
26
+ */,{is:l,defineProperty:c,getOwnPropertyDescriptor:s,getOwnPropertyNames:f,getOwnPropertySymbols:p,getPrototypeOf:d}=Object,u=globalThis,h=u.trustedTypes,y=h?h.emptyScript:"",g=u.reactiveElementPolyfillSupport,b=(t,o)=>t,m={toAttribute(t,o){switch(o){case Boolean:t=t?y:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},v=(t,o)=>!l(t,o),O={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;let x=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=O){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&c(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:n}=s(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const i=r?.call(this);n.call(this,o),this.requestUpdate(t,i,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??O}static _$Ei(){if(this.hasOwnProperty(b("elementProperties")))return;const t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(b("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(b("properties"))){const t=this.properties,o=[...f(t),...p(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(a(t))}else void 0!==t&&o.push(a(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,r)=>{if(e)t.adoptedStyleSheets=r.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of r){const r=document.createElement("style"),n=o.litNonce;void 0!==n&&r.setAttribute("nonce",n),r.textContent=e.cssText,t.appendChild(r)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const n=(void 0!==e.converter?.toAttribute?e.converter:m).toAttribute(o,e.type);this._$Em=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:m;this._$Em=r,this[r]=n.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,n){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??v)(r?n:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};x.elementStyles=[],x.shadowRootOptions={mode:"open"},x[b("elementProperties")]=new Map,x[b("finalized")]=new Map,g?.({ReactiveElement:x}),(u.reactiveElementVersions??=[]).push("2.0.2");
26
27
  /**
27
28
  * @license
28
29
  * Copyright 2017 Google LLC
29
30
  * SPDX-License-Identifier: BSD-3-Clause
30
31
  */
31
- const S=globalThis,w=S.trustedTypes,N=w?w.createPolicy("lit-html",{createHTML:t=>t}):void 0,C="$lit$",E=`lit$${(Math.random()+"").slice(9)}$`,R="?"+E,I=`<${R}>`,L=document,W=()=>L.createComment(""),U=t=>null===t||"object"!=typeof t&&"function"!=typeof t,k=Array.isArray,$=t=>k(t)||"function"==typeof t?.[Symbol.iterator],z="[ \t\n\f\r]",B=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,F=/-->/g,A=/>/g,_=RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),P=/'/g,Z=/"/g,K=/^(?:script|style|textarea|title)$/i,j=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),M=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),D=new WeakMap,T=L.createTreeWalker(L,129);function G(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==N?N.createHTML(o):o}const V=(t,o)=>{const e=t.length-1,r=[];let n,i=2===o?"<svg>":"",a=B;for(let o=0;o<e;o++){const e=t[o];let l,c,s=-1,f=0;for(;f<e.length&&(a.lastIndex=f,c=a.exec(e),null!==c);)f=a.lastIndex,a===B?"!--"===c[1]?a=F:void 0!==c[1]?a=A:void 0!==c[2]?(K.test(c[2])&&(n=RegExp("</"+c[2],"g")),a=_):void 0!==c[3]&&(a=_):a===_?">"===c[0]?(a=n??B,s=-1):void 0===c[1]?s=-2:(s=a.lastIndex-c[2].length,l=c[1],a=void 0===c[3]?_:'"'===c[3]?Z:P):a===Z||a===P?a=_:a===F||a===A?a=B:(a=_,n=void 0);const p=a===_&&t[o+1].startsWith("/>")?" ":"";i+=a===B?e+I:s>=0?(r.push(l),e.slice(0,s)+C+e.slice(s)+E+p):e+E+(-2===s?o:p)}return[G(t,i+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};let q=class t{constructor({strings:o,_$litType$:e},r){let n;this.parts=[];let i=0,a=0;const l=o.length-1,c=this.parts,[s,f]=V(o,e);if(this.el=t.createElement(s,r),T.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(n=T.nextNode())&&c.length<l;){if(1===n.nodeType){if(n.hasAttributes())for(const t of n.getAttributeNames())if(t.endsWith(C)){const o=f[a++],e=n.getAttribute(t).split(E),r=/([.?@])?(.*)/.exec(o);c.push({type:1,index:i,name:r[2],strings:e,ctor:"."===r[1]?tt:"?"===r[1]?ot:"@"===r[1]?et:Q}),n.removeAttribute(t)}else t.startsWith(E)&&(c.push({type:6,index:i}),n.removeAttribute(t));if(K.test(n.tagName)){const t=n.textContent.split(E),o=t.length-1;if(o>0){n.textContent=w?w.emptyScript:"";for(let e=0;e<o;e++)n.append(t[e],W()),T.nextNode(),c.push({type:2,index:++i});n.append(t[o],W())}}}else if(8===n.nodeType)if(n.data===R)c.push({type:2,index:i});else{let t=-1;for(;-1!==(t=n.data.indexOf(E,t+1));)c.push({type:7,index:i}),t+=E.length-1}i++}}static createElement(t,o){const e=L.createElement("template");return e.innerHTML=t,e}};function Y(t,o,e=t,r){if(o===M)return o;let n=void 0!==r?e._$Co?.[r]:e._$Cl;const i=U(o)?void 0:o._$litDirective$;return n?.constructor!==i&&(n?._$AO?.(!1),void 0===i?n=void 0:(n=new i(t),n._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=n:e._$Cl=n),void 0!==n&&(o=Y(t,n._$AS(t,o.values),n,r)),o}let J=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??L).importNode(o,!0);T.currentNode=r;let n=T.nextNode(),i=0,a=0,l=e[0];for(;void 0!==l;){if(i===l.index){let o;2===l.type?o=new X(n,n.nextSibling,this,t):1===l.type?o=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(o=new rt(n,this,t)),this._$AV.push(o),l=e[++a]}i!==l?.index&&(n=T.nextNode(),i++)}return T.currentNode=L,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}},X=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=H,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Y(this,t,o),U(t)?t===H||null==t||""===t?(this._$AH!==H&&this._$AR(),this._$AH=H):t!==this._$AH&&t!==M&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):$(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==H&&U(this._$AH)?this._$AA.nextSibling.data=t:this.$(L.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=q.createElement(G(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new J(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=D.get(t.strings);return void 0===o&&D.set(t.strings,o=new q(t)),o}T(o){k(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,n=0;for(const i of o)n===e.length?e.push(r=new t(this.k(W()),this.k(W()),this,this.options)):r=e[n],r._$AI(i),n++;n<e.length&&(this._$AR(r&&r._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},Q=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,n){this.type=1,this._$AH=H,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=H}_$AI(t,o=this,e,r){const n=this.strings;let i=!1;if(void 0===n)t=Y(this,t,o,0),i=!U(t)||t!==this._$AH&&t!==M,i&&(this._$AH=t);else{const r=t;let a,l;for(t=n[0],a=0;a<n.length-1;a++)l=Y(this,r[e+a],o,a),l===M&&(l=this._$AH[a]),i||=!U(l)||l!==this._$AH[a],l===H?t=H:t!==H&&(t+=(l??"")+n[a+1]),this._$AH[a]=l}i&&!r&&this.O(t)}O(t){t===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},tt=class extends Q{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===H?void 0:t}},ot=class extends Q{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==H)}},et=class extends Q{constructor(t,o,e,r,n){super(t,o,e,r,n),this.type=5}_$AI(t,o=this){if((t=Y(this,t,o,0)??H)===M)return;const e=this._$AH,r=t===H&&e!==H||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==H&&(e===H||r);r&&this.element.removeEventListener(this.name,this,e),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},rt=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){Y(this,t)}};const nt={j:C,P:E,A:R,C:1,M:V,L:J,R:$,V:Y,D:X,I:Q,H:ot,N:et,U:tt,B:rt},it=S.litHtmlPolyfillSupport;it?.(q,X),(S.litHtmlVersions??=[]).push("3.1.0");
32
+ const S=globalThis,w=S.trustedTypes,C=w?w.createPolicy("lit-html",{createHTML:t=>t}):void 0,N="$lit$",E=`lit$${(Math.random()+"").slice(9)}$`,R="?"+E,I=`<${R}>`,L=document,W=()=>L.createComment(""),U=t=>null===t||"object"!=typeof t&&"function"!=typeof t,k=Array.isArray,$=t=>k(t)||"function"==typeof t?.[Symbol.iterator],z="[ \t\n\f\r]",F=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,B=/-->/g,A=/>/g,_=RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),P=/'/g,M=/"/g,Z=/^(?:script|style|textarea|title)$/i,K=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),j=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),H=new WeakMap,T=L.createTreeWalker(L,129);function G(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==C?C.createHTML(o):o}const V=(t,o)=>{const e=t.length-1,r=[];let n,i=2===o?"<svg>":"",a=F;for(let o=0;o<e;o++){const e=t[o];let l,c,s=-1,f=0;for(;f<e.length&&(a.lastIndex=f,c=a.exec(e),null!==c);)f=a.lastIndex,a===F?"!--"===c[1]?a=B:void 0!==c[1]?a=A:void 0!==c[2]?(Z.test(c[2])&&(n=RegExp("</"+c[2],"g")),a=_):void 0!==c[3]&&(a=_):a===_?">"===c[0]?(a=n??F,s=-1):void 0===c[1]?s=-2:(s=a.lastIndex-c[2].length,l=c[1],a=void 0===c[3]?_:'"'===c[3]?M:P):a===M||a===P?a=_:a===B||a===A?a=F:(a=_,n=void 0);const p=a===_&&t[o+1].startsWith("/>")?" ":"";i+=a===F?e+I:s>=0?(r.push(l),e.slice(0,s)+N+e.slice(s)+E+p):e+E+(-2===s?o:p)}return[G(t,i+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};let q=class t{constructor({strings:o,_$litType$:e},r){let n;this.parts=[];let i=0,a=0;const l=o.length-1,c=this.parts,[s,f]=V(o,e);if(this.el=t.createElement(s,r),T.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(n=T.nextNode())&&c.length<l;){if(1===n.nodeType){if(n.hasAttributes())for(const t of n.getAttributeNames())if(t.endsWith(N)){const o=f[a++],e=n.getAttribute(t).split(E),r=/([.?@])?(.*)/.exec(o);c.push({type:1,index:i,name:r[2],strings:e,ctor:"."===r[1]?tt:"?"===r[1]?ot:"@"===r[1]?et:Q}),n.removeAttribute(t)}else t.startsWith(E)&&(c.push({type:6,index:i}),n.removeAttribute(t));if(Z.test(n.tagName)){const t=n.textContent.split(E),o=t.length-1;if(o>0){n.textContent=w?w.emptyScript:"";for(let e=0;e<o;e++)n.append(t[e],W()),T.nextNode(),c.push({type:2,index:++i});n.append(t[o],W())}}}else if(8===n.nodeType)if(n.data===R)c.push({type:2,index:i});else{let t=-1;for(;-1!==(t=n.data.indexOf(E,t+1));)c.push({type:7,index:i}),t+=E.length-1}i++}}static createElement(t,o){const e=L.createElement("template");return e.innerHTML=t,e}};function Y(t,o,e=t,r){if(o===j)return o;let n=void 0!==r?e._$Co?.[r]:e._$Cl;const i=U(o)?void 0:o._$litDirective$;return n?.constructor!==i&&(n?._$AO?.(!1),void 0===i?n=void 0:(n=new i(t),n._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=n:e._$Cl=n),void 0!==n&&(o=Y(t,n._$AS(t,o.values),n,r)),o}let J=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??L).importNode(o,!0);T.currentNode=r;let n=T.nextNode(),i=0,a=0,l=e[0];for(;void 0!==l;){if(i===l.index){let o;2===l.type?o=new X(n,n.nextSibling,this,t):1===l.type?o=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(o=new rt(n,this,t)),this._$AV.push(o),l=e[++a]}i!==l?.index&&(n=T.nextNode(),i++)}return T.currentNode=L,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}},X=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=D,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Y(this,t,o),U(t)?t===D||null==t||""===t?(this._$AH!==D&&this._$AR(),this._$AH=D):t!==this._$AH&&t!==j&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):$(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==D&&U(this._$AH)?this._$AA.nextSibling.data=t:this.$(L.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=q.createElement(G(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new J(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=H.get(t.strings);return void 0===o&&H.set(t.strings,o=new q(t)),o}T(o){k(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,n=0;for(const i of o)n===e.length?e.push(r=new t(this.k(W()),this.k(W()),this,this.options)):r=e[n],r._$AI(i),n++;n<e.length&&(this._$AR(r&&r._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},Q=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,n){this.type=1,this._$AH=D,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=D}_$AI(t,o=this,e,r){const n=this.strings;let i=!1;if(void 0===n)t=Y(this,t,o,0),i=!U(t)||t!==this._$AH&&t!==j,i&&(this._$AH=t);else{const r=t;let a,l;for(t=n[0],a=0;a<n.length-1;a++)l=Y(this,r[e+a],o,a),l===j&&(l=this._$AH[a]),i||=!U(l)||l!==this._$AH[a],l===D?t=D:t!==D&&(t+=(l??"")+n[a+1]),this._$AH[a]=l}i&&!r&&this.O(t)}O(t){t===D?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},tt=class extends Q{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===D?void 0:t}},ot=class extends Q{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==D)}},et=class extends Q{constructor(t,o,e,r,n){super(t,o,e,r,n),this.type=5}_$AI(t,o=this){if((t=Y(this,t,o,0)??D)===j)return;const e=this._$AH,r=t===D&&e!==D||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==D&&(e===D||r);r&&this.element.removeEventListener(this.name,this,e),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},rt=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){Y(this,t)}};const nt={j:N,P:E,A:R,C:1,M:V,L:J,R:$,V:Y,D:X,I:Q,H:ot,N:et,U:tt,B:rt},it=S.litHtmlPolyfillSupport;it?.(q,X),(S.litHtmlVersions??=[]).push("3.1.0");
32
33
  /**
33
34
  * @license
34
35
  * Copyright 2019 Google LLC
35
36
  * SPDX-License-Identifier: BSD-3-Clause
36
37
  */
37
- const at=globalThis,lt=at.ShadowRoot&&(void 0===at.ShadyCSS||at.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ct=Symbol(),st=new WeakMap;let ft=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==ct)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(lt&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=st.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&st.set(o,t))}return t}toString(){return this.cssText}};const pt=t=>new ft("string"==typeof t?t:t+"",void 0,ct),dt=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,r)=>o+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[r+1]),t[0]);return new ft(e,t,ct)},ht=(t,o)=>{if(lt)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=at.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}},ut=lt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return pt(o)})(t):t
38
+ const at=globalThis,lt=at.ShadowRoot&&(void 0===at.ShadyCSS||at.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ct=Symbol(),st=new WeakMap;let ft=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==ct)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(lt&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=st.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&st.set(o,t))}return t}toString(){return this.cssText}};const pt=t=>new ft("string"==typeof t?t:t+"",void 0,ct),dt=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,r)=>o+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[r+1]),t[0]);return new ft(e,t,ct)},ut=(t,o)=>{if(lt)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=at.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}},ht=lt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return pt(o)})(t):t
38
39
  /**
39
40
  * @license
40
41
  * Copyright 2017 Google LLC
41
42
  * SPDX-License-Identifier: BSD-3-Clause
42
- */,{is:yt,defineProperty:gt,getOwnPropertyDescriptor:bt,getOwnPropertyNames:mt,getOwnPropertySymbols:vt,getPrototypeOf:Ot}=Object,xt=globalThis,St=xt.trustedTypes,wt=St?St.emptyScript:"",Nt=xt.reactiveElementPolyfillSupport,Ct=(t,o)=>t,Et={toAttribute(t,o){switch(o){case Boolean:t=t?wt: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}},Rt=(t,o)=>!yt(t,o),It={attribute:!0,type:String,converter:Et,reflect:!1,hasChanged:Rt};Symbol.metadata??=Symbol("metadata"),xt.litPropertyMetadata??=new WeakMap;let Lt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=It){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&gt(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:n}=bt(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const i=r?.call(this);n.call(this,o),this.requestUpdate(t,i,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??It}static _$Ei(){if(this.hasOwnProperty(Ct("elementProperties")))return;const t=Ot(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ct("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ct("properties"))){const t=this.properties,o=[...mt(t),...vt(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(ut(t))}else void 0!==t&&o.push(ut(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 ht(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const n=(void 0!==e.converter?.toAttribute?e.converter:Et).toAttribute(o,e.type);this._$Em=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Et;this._$Em=r,this[r]=n.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,n){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??Rt)(r?n:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};Lt.elementStyles=[],Lt.shadowRootOptions={mode:"open"},Lt[Ct("elementProperties")]=new Map,Lt[Ct("finalized")]=new Map,Nt?.({ReactiveElement:Lt}),(xt.reactiveElementVersions??=[]).push("2.0.2");
43
+ */,{is:yt,defineProperty:gt,getOwnPropertyDescriptor:bt,getOwnPropertyNames:mt,getOwnPropertySymbols:vt,getPrototypeOf:Ot}=Object,xt=globalThis,St=xt.trustedTypes,wt=St?St.emptyScript:"",Ct=xt.reactiveElementPolyfillSupport,Nt=(t,o)=>t,Et={toAttribute(t,o){switch(o){case Boolean:t=t?wt: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}},Rt=(t,o)=>!yt(t,o),It={attribute:!0,type:String,converter:Et,reflect:!1,hasChanged:Rt};Symbol.metadata??=Symbol("metadata"),xt.litPropertyMetadata??=new WeakMap;let Lt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=It){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&gt(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:n}=bt(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const i=r?.call(this);n.call(this,o),this.requestUpdate(t,i,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??It}static _$Ei(){if(this.hasOwnProperty(Nt("elementProperties")))return;const t=Ot(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Nt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Nt("properties"))){const t=this.properties,o=[...mt(t),...vt(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(ht(t))}else void 0!==t&&o.push(ht(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ut(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const n=(void 0!==e.converter?.toAttribute?e.converter:Et).toAttribute(o,e.type);this._$Em=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Et;this._$Em=r,this[r]=n.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,n){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??Rt)(r?n:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};Lt.elementStyles=[],Lt.shadowRootOptions={mode:"open"},Lt[Nt("elementProperties")]=new Map,Lt[Nt("finalized")]=new Map,Ct?.({ReactiveElement:Lt}),(xt.reactiveElementVersions??=[]).push("2.0.2");
43
44
  /**
44
45
  * @license
45
46
  * Copyright 2017 Google LLC
46
47
  * SPDX-License-Identifier: BSD-3-Clause
47
48
  */
48
- const Wt=globalThis,Ut=Wt.trustedTypes,kt=Ut?Ut.createPolicy("lit-html",{createHTML:t=>t}):void 0,$t="$lit$",zt=`lit$${(Math.random()+"").slice(9)}$`,Bt="?"+zt,Ft=`<${Bt}>`,At=document,_t=()=>At.createComment(""),Pt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Zt=Array.isArray,Kt=t=>Zt(t)||"function"==typeof t?.[Symbol.iterator],jt="[ \t\n\f\r]",Mt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ht=/-->/g,Dt=/>/g,Tt=RegExp(`>|${jt}(?:([^\\s"'>=/]+)(${jt}*=${jt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Gt=/'/g,Vt=/"/g,qt=/^(?:script|style|textarea|title)$/i,Yt=t=>(o,...e)=>({_$litType$:t,strings:o,values:e}),Jt=Yt(1),Xt=Yt(2),Qt=Symbol.for("lit-noChange"),to=Symbol.for("lit-nothing"),oo=new WeakMap,eo=At.createTreeWalker(At,129);function ro(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==kt?kt.createHTML(o):o}const no=(t,o)=>{const e=t.length-1,r=[];let n,i=2===o?"<svg>":"",a=Mt;for(let o=0;o<e;o++){const e=t[o];let l,c,s=-1,f=0;for(;f<e.length&&(a.lastIndex=f,c=a.exec(e),null!==c);)f=a.lastIndex,a===Mt?"!--"===c[1]?a=Ht:void 0!==c[1]?a=Dt:void 0!==c[2]?(qt.test(c[2])&&(n=RegExp("</"+c[2],"g")),a=Tt):void 0!==c[3]&&(a=Tt):a===Tt?">"===c[0]?(a=n??Mt,s=-1):void 0===c[1]?s=-2:(s=a.lastIndex-c[2].length,l=c[1],a=void 0===c[3]?Tt:'"'===c[3]?Vt:Gt):a===Vt||a===Gt?a=Tt:a===Ht||a===Dt?a=Mt:(a=Tt,n=void 0);const p=a===Tt&&t[o+1].startsWith("/>")?" ":"";i+=a===Mt?e+Ft:s>=0?(r.push(l),e.slice(0,s)+$t+e.slice(s)+zt+p):e+zt+(-2===s?o:p)}return[ro(t,i+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class io{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let n=0,i=0;const a=t.length-1,l=this.parts,[c,s]=no(t,o);if(this.el=io.createElement(c,e),eo.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=eo.nextNode())&&l.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith($t)){const o=s[i++],e=r.getAttribute(t).split(zt),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:n,name:a[2],strings:e,ctor:"."===a[1]?fo:"?"===a[1]?po:"@"===a[1]?ho:so}),r.removeAttribute(t)}else t.startsWith(zt)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(qt.test(r.tagName)){const t=r.textContent.split(zt),o=t.length-1;if(o>0){r.textContent=Ut?Ut.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],_t()),eo.nextNode(),l.push({type:2,index:++n});r.append(t[o],_t())}}}else if(8===r.nodeType)if(r.data===Bt)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(zt,t+1));)l.push({type:7,index:n}),t+=zt.length-1}n++}}static createElement(t,o){const e=At.createElement("template");return e.innerHTML=t,e}}function ao(t,o,e=t,r){if(o===Qt)return o;let n=void 0!==r?e._$Co?.[r]:e._$Cl;const i=Pt(o)?void 0:o._$litDirective$;return n?.constructor!==i&&(n?._$AO?.(!1),void 0===i?n=void 0:(n=new i(t),n._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=n:e._$Cl=n),void 0!==n&&(o=ao(t,n._$AS(t,o.values),n,r)),o}let lo=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??At).importNode(o,!0);eo.currentNode=r;let n=eo.nextNode(),i=0,a=0,l=e[0];for(;void 0!==l;){if(i===l.index){let o;2===l.type?o=new co(n,n.nextSibling,this,t):1===l.type?o=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(o=new uo(n,this,t)),this._$AV.push(o),l=e[++a]}i!==l?.index&&(n=eo.nextNode(),i++)}return eo.currentNode=At,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}},co=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=to,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=ao(this,t,o),Pt(t)?t===to||null==t||""===t?(this._$AH!==to&&this._$AR(),this._$AH=to):t!==this._$AH&&t!==Qt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):Kt(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==to&&Pt(this._$AH)?this._$AA.nextSibling.data=t:this.$(At.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=io.createElement(ro(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new lo(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=oo.get(t.strings);return void 0===o&&oo.set(t.strings,o=new io(t)),o}T(o){Zt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,n=0;for(const i of o)n===e.length?e.push(r=new t(this.k(_t()),this.k(_t()),this,this.options)):r=e[n],r._$AI(i),n++;n<e.length&&(this._$AR(r&&r._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},so=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,n){this.type=1,this._$AH=to,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=to}_$AI(t,o=this,e,r){const n=this.strings;let i=!1;if(void 0===n)t=ao(this,t,o,0),i=!Pt(t)||t!==this._$AH&&t!==Qt,i&&(this._$AH=t);else{const r=t;let a,l;for(t=n[0],a=0;a<n.length-1;a++)l=ao(this,r[e+a],o,a),l===Qt&&(l=this._$AH[a]),i||=!Pt(l)||l!==this._$AH[a],l===to?t=to:t!==to&&(t+=(l??"")+n[a+1]),this._$AH[a]=l}i&&!r&&this.O(t)}O(t){t===to?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},fo=class extends so{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===to?void 0:t}},po=class extends so{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==to)}},ho=class extends so{constructor(t,o,e,r,n){super(t,o,e,r,n),this.type=5}_$AI(t,o=this){if((t=ao(this,t,o,0)??to)===Qt)return;const e=this._$AH,r=t===to&&e!==to||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==to&&(e===to||r);r&&this.element.removeEventListener(this.name,this,e),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},uo=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){ao(this,t)}};const yo={j:$t,P:zt,A:Bt,C:1,M:no,L:lo,R:Kt,V:ao,D:co,I:so,H:po,N:ho,U:fo,B:uo},go=Wt.litHtmlPolyfillSupport;go?.(io,co),(Wt.litHtmlVersions??=[]).push("3.1.0");const bo=(t,o,e)=>{const r=e?.renderBefore??o;let n=r._$litPart$;if(void 0===n){const t=e?.renderBefore??null;r._$litPart$=n=new co(o.insertBefore(_t(),t),t,void 0,e??{})}return n._$AI(t),n
49
+ const Wt=globalThis,Ut=Wt.trustedTypes,kt=Ut?Ut.createPolicy("lit-html",{createHTML:t=>t}):void 0,$t="$lit$",zt=`lit$${(Math.random()+"").slice(9)}$`,Ft="?"+zt,Bt=`<${Ft}>`,At=document,_t=()=>At.createComment(""),Pt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Mt=Array.isArray,Zt=t=>Mt(t)||"function"==typeof t?.[Symbol.iterator],Kt="[ \t\n\f\r]",jt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Dt=/-->/g,Ht=/>/g,Tt=RegExp(`>|${Kt}(?:([^\\s"'>=/]+)(${Kt}*=${Kt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Gt=/'/g,Vt=/"/g,qt=/^(?:script|style|textarea|title)$/i,Yt=t=>(o,...e)=>({_$litType$:t,strings:o,values:e}),Jt=Yt(1),Xt=Yt(2),Qt=Symbol.for("lit-noChange"),to=Symbol.for("lit-nothing"),oo=new WeakMap,eo=At.createTreeWalker(At,129);function ro(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==kt?kt.createHTML(o):o}const no=(t,o)=>{const e=t.length-1,r=[];let n,i=2===o?"<svg>":"",a=jt;for(let o=0;o<e;o++){const e=t[o];let l,c,s=-1,f=0;for(;f<e.length&&(a.lastIndex=f,c=a.exec(e),null!==c);)f=a.lastIndex,a===jt?"!--"===c[1]?a=Dt:void 0!==c[1]?a=Ht:void 0!==c[2]?(qt.test(c[2])&&(n=RegExp("</"+c[2],"g")),a=Tt):void 0!==c[3]&&(a=Tt):a===Tt?">"===c[0]?(a=n??jt,s=-1):void 0===c[1]?s=-2:(s=a.lastIndex-c[2].length,l=c[1],a=void 0===c[3]?Tt:'"'===c[3]?Vt:Gt):a===Vt||a===Gt?a=Tt:a===Dt||a===Ht?a=jt:(a=Tt,n=void 0);const p=a===Tt&&t[o+1].startsWith("/>")?" ":"";i+=a===jt?e+Bt:s>=0?(r.push(l),e.slice(0,s)+$t+e.slice(s)+zt+p):e+zt+(-2===s?o:p)}return[ro(t,i+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class io{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let n=0,i=0;const a=t.length-1,l=this.parts,[c,s]=no(t,o);if(this.el=io.createElement(c,e),eo.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=eo.nextNode())&&l.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith($t)){const o=s[i++],e=r.getAttribute(t).split(zt),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:n,name:a[2],strings:e,ctor:"."===a[1]?fo:"?"===a[1]?po:"@"===a[1]?uo:so}),r.removeAttribute(t)}else t.startsWith(zt)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(qt.test(r.tagName)){const t=r.textContent.split(zt),o=t.length-1;if(o>0){r.textContent=Ut?Ut.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],_t()),eo.nextNode(),l.push({type:2,index:++n});r.append(t[o],_t())}}}else if(8===r.nodeType)if(r.data===Ft)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(zt,t+1));)l.push({type:7,index:n}),t+=zt.length-1}n++}}static createElement(t,o){const e=At.createElement("template");return e.innerHTML=t,e}}function ao(t,o,e=t,r){if(o===Qt)return o;let n=void 0!==r?e._$Co?.[r]:e._$Cl;const i=Pt(o)?void 0:o._$litDirective$;return n?.constructor!==i&&(n?._$AO?.(!1),void 0===i?n=void 0:(n=new i(t),n._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=n:e._$Cl=n),void 0!==n&&(o=ao(t,n._$AS(t,o.values),n,r)),o}let lo=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??At).importNode(o,!0);eo.currentNode=r;let n=eo.nextNode(),i=0,a=0,l=e[0];for(;void 0!==l;){if(i===l.index){let o;2===l.type?o=new co(n,n.nextSibling,this,t):1===l.type?o=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(o=new ho(n,this,t)),this._$AV.push(o),l=e[++a]}i!==l?.index&&(n=eo.nextNode(),i++)}return eo.currentNode=At,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}},co=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=to,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=ao(this,t,o),Pt(t)?t===to||null==t||""===t?(this._$AH!==to&&this._$AR(),this._$AH=to):t!==this._$AH&&t!==Qt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):Zt(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==to&&Pt(this._$AH)?this._$AA.nextSibling.data=t:this.$(At.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=io.createElement(ro(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new lo(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=oo.get(t.strings);return void 0===o&&oo.set(t.strings,o=new io(t)),o}T(o){Mt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,n=0;for(const i of o)n===e.length?e.push(r=new t(this.k(_t()),this.k(_t()),this,this.options)):r=e[n],r._$AI(i),n++;n<e.length&&(this._$AR(r&&r._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},so=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,n){this.type=1,this._$AH=to,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=to}_$AI(t,o=this,e,r){const n=this.strings;let i=!1;if(void 0===n)t=ao(this,t,o,0),i=!Pt(t)||t!==this._$AH&&t!==Qt,i&&(this._$AH=t);else{const r=t;let a,l;for(t=n[0],a=0;a<n.length-1;a++)l=ao(this,r[e+a],o,a),l===Qt&&(l=this._$AH[a]),i||=!Pt(l)||l!==this._$AH[a],l===to?t=to:t!==to&&(t+=(l??"")+n[a+1]),this._$AH[a]=l}i&&!r&&this.O(t)}O(t){t===to?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},fo=class extends so{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===to?void 0:t}},po=class extends so{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==to)}},uo=class extends so{constructor(t,o,e,r,n){super(t,o,e,r,n),this.type=5}_$AI(t,o=this){if((t=ao(this,t,o,0)??to)===Qt)return;const e=this._$AH,r=t===to&&e!==to||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==to&&(e===to||r);r&&this.element.removeEventListener(this.name,this,e),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},ho=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){ao(this,t)}};const yo={j:$t,P:zt,A:Ft,C:1,M:no,L:lo,R:Zt,V:ao,D:co,I:so,H:po,N:uo,U:fo,B:ho},go=Wt.litHtmlPolyfillSupport;go?.(io,co),(Wt.litHtmlVersions??=[]).push("3.1.0");const bo=(t,o,e)=>{const r=e?.renderBefore??o;let n=r._$litPart$;if(void 0===n){const t=e?.renderBefore??null;r._$litPart$=n=new co(o.insertBefore(_t(),t),t,void 0,e??{})}return n._$AI(t),n
49
50
  /**
50
51
  * @license
51
52
  * Copyright 2017 Google LLC
52
53
  * SPDX-License-Identifier: BSD-3-Clause
53
- */};let mo=class extends Lt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=bo(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Qt}};mo._$litElement$=!0,mo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:mo});const vo=globalThis.litElementPolyfillSupport;vo?.({LitElement:mo});(globalThis.litElementVersions??=[]).push("4.0.2");var Oo=Object.freeze({__proto__:null,CSSResult:ft,LitElement:mo,ReactiveElement:Lt,_$LE:{_$AK:(t,o,e)=>{t._$AK(o,e)},_$AL:t=>t._$AL},_$LH:yo,adoptStyles:ht,css:dt,defaultConverter:Et,getCompatibleStyle:ut,html:Jt,isServer:!1,noChange:Qt,notEqual:Rt,nothing:to,render:bo,supportsAdoptingStyleSheets:lt,svg:Xt,unsafeCSS:pt});
54
+ */};let mo=class extends Lt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=bo(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Qt}};mo._$litElement$=!0,mo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:mo});const vo=globalThis.litElementPolyfillSupport;vo?.({LitElement:mo});(globalThis.litElementVersions??=[]).push("4.0.2");var Oo=Object.freeze({__proto__:null,CSSResult:ft,LitElement:mo,ReactiveElement:Lt,_$LE:{_$AK:(t,o,e)=>{t._$AK(o,e)},_$AL:t=>t._$AL},_$LH:yo,adoptStyles:ut,css:dt,defaultConverter:Et,getCompatibleStyle:ht,html:Jt,isServer:!1,noChange:Qt,notEqual:Rt,nothing:to,render:bo,supportsAdoptingStyleSheets:lt,svg:Xt,unsafeCSS:pt});
54
55
  /**
55
56
  * @license
56
57
  * Copyright 2017 Google LLC
@@ -65,12 +66,12 @@ const Wt=globalThis,Ut=Wt.trustedTypes,kt=Ut?Ut.createPolicy("lit-html",{createH
65
66
  * @license
66
67
  * Copyright 2017 Google LLC
67
68
  * SPDX-License-Identifier: BSD-3-Clause
68
- */}function No(t){return wo({...t,state:!0,attribute:!1})}
69
+ */}function Co(t){return wo({...t,state:!0,attribute:!1})}
69
70
  /**
70
71
  * @license
71
72
  * Copyright 2017 Google LLC
72
73
  * SPDX-License-Identifier: BSD-3-Clause
73
- */function Co(t){return(o,e)=>{const r="function"==typeof o?o:o[e];Object.assign(r,t)}}
74
+ */function No(t){return(o,e)=>{const r="function"==typeof o?o:o[e];Object.assign(r,t)}}
74
75
  /**
75
76
  * @license
76
77
  * Copyright 2017 Google LLC
@@ -91,7 +92,7 @@ const Wt=globalThis,Ut=Wt.trustedTypes,kt=Ut?Ut.createPolicy("lit-html",{createH
91
92
  * Copyright 2017 Google LLC
92
93
  * SPDX-License-Identifier: BSD-3-Clause
93
94
  */
94
- function Lo(t){return(o,e)=>{const{slot:r}=t??{},n="slot"+(r?`[name=${r}]`:":not([name])");return Eo(0,0,{get(){const o=this.renderRoot?.querySelector(n);return o?.assignedNodes(t)??[]}})}}var Wo=Object.freeze({__proto__:null,customElement:t=>(o,e)=>{void 0!==e?e.addInitializer((()=>{customElements.define(t,o)})):customElements.define(t,o)},eventOptions:Co,property:wo,query:Ro,queryAll:function(t){return(o,e)=>Eo(0,0,{get(){return(this.renderRoot??(Io??=document.createDocumentFragment())).querySelectorAll(t)}})
95
+ function Lo(t){return(o,e)=>{const{slot:r}=t??{},n="slot"+(r?`[name=${r}]`:":not([name])");return Eo(0,0,{get(){const o=this.renderRoot?.querySelector(n);return o?.assignedNodes(t)??[]}})}}var Wo=Object.freeze({__proto__:null,customElement:t=>(o,e)=>{void 0!==e?e.addInitializer((()=>{customElements.define(t,o)})):customElements.define(t,o)},eventOptions:No,property:wo,query:Ro,queryAll:function(t){return(o,e)=>Eo(0,0,{get(){return(this.renderRoot??(Io??=document.createDocumentFragment())).querySelectorAll(t)}})
95
96
  /**
96
97
  * @license
97
98
  * Copyright 2017 Google LLC
@@ -102,7 +103,7 @@ function Lo(t){return(o,e)=>{const{slot:r}=t??{},n="slot"+(r?`[name=${r}]`:":not
102
103
  * Copyright 2021 Google LLC
103
104
  * SPDX-License-Identifier: BSD-3-Clause
104
105
  */
105
- function(t){return(o,e)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return Eo(0,0,{get(){const o=this.renderRoot?.querySelector(i),e=o?.assignedElements(t)??[];return void 0===n?e:e.filter((t=>t.matches(n)))}})}},queryAssignedNodes:Lo,queryAsync:function(t){return(o,e)=>Eo(0,0,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})},standardProperty:So,state:No});
106
+ function(t){return(o,e)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return Eo(0,0,{get(){const o=this.renderRoot?.querySelector(i),e=o?.assignedElements(t)??[];return void 0===n?e:e.filter((t=>t.matches(n)))}})}},queryAssignedNodes:Lo,queryAsync:function(t){return(o,e)=>Eo(0,0,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})},standardProperty:So,state:Co});
106
107
  /**
107
108
  * @license
108
109
  * Copyright 2017 Google LLC
@@ -112,36 +113,36 @@ function(t){return(o,e)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}
112
113
  * @license
113
114
  * Copyright 2020 Google LLC
114
115
  * SPDX-License-Identifier: BSD-3-Clause
115
- */const{D:Bo}=nt,Fo=()=>document.createComment(""),Ao=(t,o,e)=>{const r=t._$AA.parentNode,n=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=r.insertBefore(Fo(),n),i=r.insertBefore(Fo(),n);e=new Bo(o,i,t,t.options)}else{const o=e._$AB.nextSibling,i=e._$AM,a=i!==t;if(a){let o;e._$AQ?.(t),e._$AM=t,void 0!==e._$AP&&(o=t._$AU)!==i._$AU&&e._$AP(o)}if(o!==n||a){let t=e._$AA;for(;t!==o;){const o=t.nextSibling;r.insertBefore(t,n),t=o}}}return e},_o=(t,o,e=t)=>(t._$AI(o,e),t),Po={},Zo=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}},Ko=(t,o,e)=>{const r=new Map;for(let n=o;n<=e;n++)r.set(t[n],n);return r},jo=$o(class extends zo{constructor(t){if(super(t),t.type!==ko)throw Error("repeat() can only be used in text expressions")}ht(t,o,e){let r;void 0===e?e=o:void 0!==o&&(r=o);const n=[],i=[];let a=0;for(const o of t)n[a]=r?r(o,a):a,i[a]=e(o,a),a++;return{values:i,keys:n}}render(t,o,e){return this.ht(t,o,e).values}update(t,[o,e,r]){const n=(t=>t._$AH)(t),{values:i,keys:a}=this.ht(o,e,r);if(!Array.isArray(n))return this.dt=a,i;const l=this.dt??=[],c=[];let s,f,p=0,d=n.length-1,h=0,u=i.length-1;for(;p<=d&&h<=u;)if(null===n[p])p++;else if(null===n[d])d--;else if(l[p]===a[h])c[h]=_o(n[p],i[h]),p++,h++;else if(l[d]===a[u])c[u]=_o(n[d],i[u]),d--,u--;else if(l[p]===a[u])c[u]=_o(n[p],i[u]),Ao(t,c[u+1],n[p]),p++,u--;else if(l[d]===a[h])c[h]=_o(n[d],i[h]),Ao(t,n[p],n[d]),d--,h++;else if(void 0===s&&(s=Ko(a,h,u),f=Ko(l,p,d)),s.has(l[p]))if(s.has(l[d])){const o=f.get(a[h]),e=void 0!==o?n[o]:null;if(null===e){const o=Ao(t,n[p]);_o(o,i[h]),c[h]=o}else c[h]=_o(e,i[h]),Ao(t,n[p],e),n[o]=null;h++}else Zo(n[d]),d--;else Zo(n[p]),p++;for(;h<=u;){const o=Ao(t,c[u+1]);_o(o,i[h]),c[h++]=o}for(;p<=d;){const t=n[p++];null!==t&&Zo(t)}return this.dt=a,((t,o=Po)=>{t._$AH=o})(t,c),M}});
116
+ */const{D:Fo}=nt,Bo=()=>document.createComment(""),Ao=(t,o,e)=>{const r=t._$AA.parentNode,n=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=r.insertBefore(Bo(),n),i=r.insertBefore(Bo(),n);e=new Fo(o,i,t,t.options)}else{const o=e._$AB.nextSibling,i=e._$AM,a=i!==t;if(a){let o;e._$AQ?.(t),e._$AM=t,void 0!==e._$AP&&(o=t._$AU)!==i._$AU&&e._$AP(o)}if(o!==n||a){let t=e._$AA;for(;t!==o;){const o=t.nextSibling;r.insertBefore(t,n),t=o}}}return e},_o=(t,o,e=t)=>(t._$AI(o,e),t),Po={},Mo=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}},Zo=(t,o,e)=>{const r=new Map;for(let n=o;n<=e;n++)r.set(t[n],n);return r},Ko=$o(class extends zo{constructor(t){if(super(t),t.type!==ko)throw Error("repeat() can only be used in text expressions")}ht(t,o,e){let r;void 0===e?e=o:void 0!==o&&(r=o);const n=[],i=[];let a=0;for(const o of t)n[a]=r?r(o,a):a,i[a]=e(o,a),a++;return{values:i,keys:n}}render(t,o,e){return this.ht(t,o,e).values}update(t,[o,e,r]){const n=(t=>t._$AH)(t),{values:i,keys:a}=this.ht(o,e,r);if(!Array.isArray(n))return this.dt=a,i;const l=this.dt??=[],c=[];let s,f,p=0,d=n.length-1,u=0,h=i.length-1;for(;p<=d&&u<=h;)if(null===n[p])p++;else if(null===n[d])d--;else if(l[p]===a[u])c[u]=_o(n[p],i[u]),p++,u++;else if(l[d]===a[h])c[h]=_o(n[d],i[h]),d--,h--;else if(l[p]===a[h])c[h]=_o(n[p],i[h]),Ao(t,c[h+1],n[p]),p++,h--;else if(l[d]===a[u])c[u]=_o(n[d],i[u]),Ao(t,n[p],n[d]),d--,u++;else if(void 0===s&&(s=Zo(a,u,h),f=Zo(l,p,d)),s.has(l[p]))if(s.has(l[d])){const o=f.get(a[u]),e=void 0!==o?n[o]:null;if(null===e){const o=Ao(t,n[p]);_o(o,i[u]),c[u]=o}else c[u]=_o(e,i[u]),Ao(t,n[p],e),n[o]=null;u++}else Mo(n[d]),d--;else Mo(n[p]),p++;for(;u<=h;){const o=Ao(t,c[h+1]);_o(o,i[u]),c[u++]=o}for(;p<=d;){const t=n[p++];null!==t&&Mo(t)}return this.dt=a,((t,o=Po)=>{t._$AH=o})(t,c),j}});
116
117
  /**
117
118
  * @license
118
119
  * Copyright 2017 Google LLC
119
120
  * SPDX-License-Identifier: BSD-3-Clause
120
- */var Mo=Object.freeze({__proto__:null,repeat:jo});
121
+ */var jo=Object.freeze({__proto__:null,repeat:Ko});
121
122
  /**
122
123
  * @license
123
124
  * Copyright 2018 Google LLC
124
125
  * SPDX-License-Identifier: BSD-3-Clause
125
- */const Ho=$o(class extends zo{constructor(t){if(super(t),t.type!==Uo||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const r=!!o[t];r===this.it.has(t)||this.st?.has(t)||(r?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return M}});var Do=Object.freeze({__proto__:null,classMap:Ho});
126
+ */const Do=$o(class extends zo{constructor(t){if(super(t),t.type!==Uo||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const r=!!o[t];r===this.it.has(t)||this.st?.has(t)||(r?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return j}});var Ho=Object.freeze({__proto__:null,classMap:Do});
126
127
  /**
127
128
  * @license
128
129
  * Copyright 2018 Google LLC
129
130
  * SPDX-License-Identifier: BSD-3-Clause
130
- */const To="important",Go=" !"+To,Vo=$o(class extends zo{constructor(t){if(super(t),t.type!==Uo||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((o,e)=>{const r=t[e];return null==r?o:o+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`}),"")}update(t,[o]){const{style:e}=t.element;if(void 0===this.ut)return this.ut=new Set(Object.keys(o)),this.render(o);for(const t of this.ut)null==o[t]&&(this.ut.delete(t),t.includes("-")?e.removeProperty(t):e[t]=null);for(const t in o){const r=o[t];if(null!=r){this.ut.add(t);const o="string"==typeof r&&r.endsWith(Go);t.includes("-")||o?e.setProperty(t,o?r.slice(0,-11):r,o?To:""):e[t]=r}}return M}});var qo=Object.freeze({__proto__:null,styleMap:Vo});
131
+ */const To="important",Go=" !"+To,Vo=$o(class extends zo{constructor(t){if(super(t),t.type!==Uo||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((o,e)=>{const r=t[e];return null==r?o:o+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`}),"")}update(t,[o]){const{style:e}=t.element;if(void 0===this.ut)return this.ut=new Set(Object.keys(o)),this.render(o);for(const t of this.ut)null==o[t]&&(this.ut.delete(t),t.includes("-")?e.removeProperty(t):e[t]=null);for(const t in o){const r=o[t];if(null!=r){this.ut.add(t);const o="string"==typeof r&&r.endsWith(Go);t.includes("-")||o?e.setProperty(t,o?r.slice(0,-11):r,o?To:""):e[t]=r}}return j}});var qo=Object.freeze({__proto__:null,styleMap:Vo});
131
132
  /**
132
133
  * @license
133
134
  * Copyright 2017 Google LLC
134
135
  * SPDX-License-Identifier: BSD-3-Clause
135
- */let Yo=class extends zo{constructor(t){if(super(t),this.et=H,t.type!==ko)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===H||null==t)return this.vt=void 0,this.et=t;if(t===M)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};Yo.directiveName="unsafeHTML",Yo.resultType=1;const Jo=$o(Yo);var Xo=Object.freeze({__proto__:null,UnsafeHTMLDirective:Yo,unsafeHTML:Jo});class Qo extends Error{constructor(t,o,e){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=e}}class te extends Promise{constructor(t){super(((o,e)=>t((t=>{this.isCanceled?e(new Qo("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?e(new Qo("Promise has been canceled",void 0,t)):e(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const oe=t=>new te(((o,e)=>t.then(o).catch(e)));var ee=Object.freeze({__proto__:null,CancelablePromise:te,CanceledPromiseError:Qo,cancelable:oe});var re=Object.freeze({__proto__:null,CacheRegistry:class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,o){this.loaders[t]=o,this.finalContent.delete(t)}registerFinal(t,o){this.loaders[t]=o,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof te&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,o){this.forceClear(t),this.register(t,(async()=>o)),this.content[t]=o}setFinal(t,o){this.forceClear(t),this.registerFinal(t,(async()=>o)),this.content[t]=o}async get(t,o,e){if(void 0===this.content[t]){if(null==(o=null!=o?o:this.loaders[t]))throw new Error("Unknown cache key "+t);const r=oe(o());return this.content[t]=r,r.then((o=>(this.content[t]=o,null!=e&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),e)),o)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}});class ne{constructor(t,o,e,r){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=e,this.metadataDescriptors=r}static extractResultMetadata(t){var o,e;return(null!==(e=null!==(o=null==t?void 0:t.map)&&void 0!==o?o:null==t?void 0:t.document)&&void 0!==e?e:null==t?void 0:t.topic).metadata.map((t=>ne.flattenMetadata(t)))}static flattenMetadata(t){if(t.hierarchicalValues){const o=[],e=[];return t.hierarchicalValues.forEach((t=>{o.push(t.join(" > ")),t.length>2?e.push(`... > ${t[t.length-1]}`):e.push(t.join(" > "))})),{key:t.key,value:o.join(", "),displayValue:e.join(", ")}}{const o=t.values.join(", ");return{key:t.key,value:o,displayValue:o}}}computeClustersItemsForMetadata(t,o){let e=ne.extractResultMetadata(this.selectedResult).find((o=>o.key===t));const r=this.allResults.flatMap((o=>ne.extractResultMetadata(o).filter((o=>o.key===t)))).filter((t=>!(t.key===(null==e?void 0:e.key)&&t.value===(null==e?void 0:e.value)))).filter(((t,o,e)=>e.findIndex((o=>o.value===t.value))===o));return r.map((o=>({result:this.findBestResultForMetadataValue(t,o.value),metadata:o}))).sort(((e,r)=>this.compareMetadata(e.metadata.value,r.metadata.value,t,o)))}compareMetadata(t,o,e,r){let n=this.metadataDescriptors.find((t=>e==t.key)),i=(null==n?void 0:n.sortRule)||"NONE",a=(null==n?void 0:n.reverseSort)||!1;if("ALPHABET"==i||"VERSION"==i){let e=t.localeCompare(o,r,{numeric:!0});return a?-1*e:e}return 0}findBestResultForMetadataValue(t,o){const e=this.allResults.filter((e=>ne.extractResultMetadata(e).find((e=>e.key===t&&e.value===o))));let r,n=ne.extractResultMetadata(this.selectedResult).filter((t=>this.clusteringMetadata.has(t.key))),i=[...n.filter((o=>o.key!==t))],a=-1;for(let t of e){let o=this.countMatchingMetadata(t,i);if(o>a&&(a=o,r=t,o===i.length))break}return r}countMatchingMetadata(t,o){return ne.extractResultMetadata(t).filter((t=>o.some((o=>o.key===t.key&&o.value===t.value)))).length}}var ie=Object.freeze({__proto__:null,ClusteringHelper:ne});class ae{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,n=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}var le=Object.freeze({__proto__:null,Debouncer:ae});const ce=t=>new Promise((o=>setTimeout(o,t)));async function se(t,o=10,e=2e4){let r,n,i=await t();for(r=n=performance.now();null==i&&(!e||n-r<e);)await ce(o),i=await t(),n=performance.now();if(null==i)throw new Error("Timeout exceeded");return i}function fe(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,((t,o,e,r)=>o+e+":"+r)),new Date(t)}function pe(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,r,n;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!pe(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(!pe(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(n=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,n[r]))return!1;for(r=e;0!=r--;){var i=n[r];if(!pe(t[i],o[i]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}var de=Object.freeze({__proto__:null,dateReviver:function(...t){return function(o,e){return t.includes(o)?fe(e):e}},deepEqual:pe,delay:ce,eventPathContainsMatchingElement:function(t,o,e=window.document.body){if(o.length>0){const r=t.composedPath();for(let t of r){if(t===e)return!1;if(t.matches&&o.some((o=>t.matches(o))))return!0}}return!1},flatDeep:function t(o,e){return o.flatMap((o=>[o,...t(e(o),e)]))},last:function(t){return t[t.length-1]},minmax:function(t,o,e){return Math.min(Math.max(t,o),e)},parseDate:fe,waitFor:se,waitUntil:async function(t,o=10,e=2e4){await se((async()=>await t()||void 0),o,e)}});const he=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function ue(t,o){const e=()=>JSON.parse(JSON.stringify(t));return wo({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)=>!pe(t,o),...null!=o?o:{}})}function ye(t){return!isNaN(parseFloat(t))}var ge=Object.freeze({__proto__:null,customElement:he,isNumber:ye,jsonProperty:ue,optionalNumberProperty:function(t){return wo({type:Object,converter:{fromAttribute:t=>{if(null!=t)return ye(t)?+t:void 0},toAttribute:t=>null==t?void 0:""+t},...null!=t?t:{}})}});const be=t=>"string"==typeof t?pt(t):t;class me{static create(t,o,e,r){const n=t=>be(null!=t?t:r),i=dt`var(${be(t)}, ${n(r)})`;return i.name=t,i.description=o,i.category=e,i.defaultValue=r,i.defaultCssValue=n,i.get=o=>dt`var(${be(t)}, ${n(o)})`,i.breadcrumb=()=>[],i.lastResortDefaultValue=()=>r,i}static extend(t,o,e,r){const n=t=>e.get(null!=t?t:r),i=dt`var(${be(t)}, ${n(r)})`;return i.name=t,i.description=o,i.category=e.category,i.fallbackVariable=e,i.defaultValue=r,i.defaultCssValue=n,i.get=o=>dt`var(${be(t)}, ${n(o)})`,i.breadcrumb=()=>[e.name,...e.breadcrumb()],i.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),i}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):be(null!=o?o:t.lastResortDefaultValue()),r=dt`var(${be(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>dt`var(${be(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const ve={colorWhite:me.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:me.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:me.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:me.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:me.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:me.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:me.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:me.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:me.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:me.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:me.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:me.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:me.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:me.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:me.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:me.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:me.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:me.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:me.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:me.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:me.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:me.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:me.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:me.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:me.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:me.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:me.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:me.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:me.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:me.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:me.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:me.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:me.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:me.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:me.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:me.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:me.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:me.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:me.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:me.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:me.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:me.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:me.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:me.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:me.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:me.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:me.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:me.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:me.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:me.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:me.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:me.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:me.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:me.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:me.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:me.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:me.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:me.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:me.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:me.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:me.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:me.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:me.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:me.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:me.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:me.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:me.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:me.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:me.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:me.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:me.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:me.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:me.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:me.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:me.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:me.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:me.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:me.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:me.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:me.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:me.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:me.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:me.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:me.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:me.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:me.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:me.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:me.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:me.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:me.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:me.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:me.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:me.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:me.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:me.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:me.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:me.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:me.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:me.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:me.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:me.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:me.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:me.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:me.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:me.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:me.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:me.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:me.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:me.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:me.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:me.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:me.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:me.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:me.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:me.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:me.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:me.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:me.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:me.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:me.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:me.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:me.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:me.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:me.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:me.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:me.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:me.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:me.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:me.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:me.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:me.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:me.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:me.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:me.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:me.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:me.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:me.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:me.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:me.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:me.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:me.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:me.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:me.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:me.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:me.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:me.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:me.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:me.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:me.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:me.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:me.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:me.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:me.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:me.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:me.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:me.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:me.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:me.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:me.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:me.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:me.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:me.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:me.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:me.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:me.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:me.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:me.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:me.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:me.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:me.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:me.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:me.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:me.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:me.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:me.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:me.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:me.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:me.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:me.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:me.create("--ft-icon-size-6","","SIZE","48px"),opacity0:me.create("--ft-opacity-0","","NUMBER","0"),opacity8:me.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:me.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:me.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:me.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:me.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:me.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:me.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:me.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:me.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:me.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:me.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:me.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:me.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:me.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)")},Oe={fontFamily:me.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:me.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:me.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:me.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-display-textCase","","UNKNOWN","none")},xe={fontFamily:me.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:me.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:me.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:me.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Se={fontFamily:me.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:me.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:me.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:me.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},we={fontFamily:me.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:me.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:me.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:me.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ne={fontFamily:me.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:me.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:me.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Ce={fontFamily:me.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:me.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Ee={fontFamily:me.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:me.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Re={fontFamily:me.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:me.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Ie={fontFamily:me.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Le={fontFamily:me.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:me.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:me.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},We={fontFamily:me.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Ue={fontFamily:me.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},ke={fontFamily:me.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},$e={fontFamily:me.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:me.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},ze={fontFamily:me.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Be={fontFamily:me.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Fe={fontFamily:me.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:me.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Ae={fontFamily:me.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},_e={fontFamily:me.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Pe={fontFamily:me.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:me.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Ze={fontFamily:me.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:me.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Ke={fontFamily:me.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:me.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},je={fontFamily:me.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:me.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:me.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Me={fontFamily:me.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:me.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},He={fontFamily:me.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:me.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},De={fontFamily:me.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:me.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:me.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Te={display:Oe,"title-1":xe,"title-2":Se,"title-3":we,"body-1-regular":Ne,"body-1-medium":Ce,"body-1-semibold":Ee,"body-2-regular":Re,"body-2-medium":Ie,"body-2-medium-underline":Le,"body-2-semibold":We,"label-1-medium":Ue,"label-1-semibold":ke,"label-1-bold":$e,"label-2-medium":ze,"label-2-semibold":Be,"label-2-bold":Fe,"caption-1-medium":Ae,"caption-1-semibold":_e,"caption-1-bold":Pe,"caption-2-medium":Ze,"caption-2-semibold":Ke,"caption-2-bold":je,"caption-3-medium":Me,"caption-3-semibold":He,"caption-3-bold":De},Ge={backgroundActionPrimary:me.extend("--ft-background-action-primary","Used as backgorund of primary action components.",ve.colorBrand0),backgroundErrorSubtle:me.extend("--ft-background-error-subtle","Used as background of subtle error components.",ve.colorRed10),backgroundInfoSubtle:me.extend("--ft-background-info-subtle","Used as background of subtle information components.",ve.colorCyan10),backgroundWarningSubtle:me.extend("--ft-background-warning-subtle","Used as background of subtle information components.",ve.colorOrange10),backgroundSuccessSubtle:me.extend("--ft-background-success-subtle","Used as background of subtle success components.",ve.colorGreen10),backgroundGlobalSurface:me.extend("--ft-background-global-surface","Used as app background.",ve.colorWhite),backgroundGlobalOnSurface:me.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",ve.colorGray10),backgroundGlobalOnSurfaceDark:me.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",ve.colorGray30),contentActionPrimary:me.extend("--ft-content-action-primary","Used on label of primary action on light surface.",ve.colorBrand0),contentWarningPrimary:me.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",ve.colorOrange200),contentWarningIconOnly:me.extend("--ft-content-warning-icon-only","Used on warning status icons alone",ve.colorOrange0),contentErrorPrimary:me.extend("--ft-content-error-primary","Used on label of error messages on light surface.",ve.colorRed0),contentErrorIconOnly:me.extend("--ft-content-error-icon-only","Used on error status icons alone",ve.colorRed70),contentInfoPrimary:me.extend("--ft-content-info-primary","Used on label of information messages on light surface.",ve.colorCyan200),contentInfoIconOnly:me.extend("--ft-content-info-icon-only","Used on info status icons alone",ve.colorCyan0),contentSuccessPrimary:me.extend("--ft-content-success-primary","Used on label of success messages on light surface.",ve.colorGreen200),contentSuccessIconOnly:me.extend("--ft-content-success-icon-only","Used on success status icons alone",ve.colorGreen0),contentGlobalPrimary:me.extend("--ft-content-global-primary","Used for main content on the page.",ve.colorGray500),contentGlobalSecondary:me.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",ve.colorGray200),contentGlobalSubtle:me.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",ve.colorGray0),contentGlobalOnColor:me.extend("--ft-content-global-on-color","Used for content on a dominant color.",ve.colorWhite),borderActionPrimary:me.extend("--ft-border-action-primary","Used as border for primary action components.",ve.colorBrand0),borderActionFocusRing:me.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",ve.colorCyan0),borderWarningPrimary:me.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",ve.colorOrange200),borderWarningSubtle:me.extend("--ft-border-warning-subtle","Used as border for warning components.",ve.colorOrange30),borderSuccessPrimary:me.extend("--ft-border-success-primary","Used as border for success buttons.",ve.colorGreen200),borderSuccessSubtle:me.extend("--ft-border-success-subtle","Used as border for success components.",ve.colorGreen30),borderErrorPrimary:me.extend("--ft-border-error-primary","Used as border for text fields in error states.",ve.colorRed0),borderErrorSubtle:me.extend("--ft-border-error-subtle","Used as border for error components.",ve.colorRed30),borderInfoPrimary:me.extend("--ft-border-info-primary","Used as border for buttons in info color.",ve.colorCyan200),borderInfoSubtle:me.extend("--ft-border-info-subtle","Used as border for information components.",ve.colorCyan30),borderGlobalPrimary:me.extend("--ft-border-global-primary","Used as border for element like input.",ve.colorGray50),borderGlobalSubtle:me.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",ve.colorGray30),borderInputPrimary:me.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",ve.colorGray80)},Ve={largeHeight:me.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:me.extend("--ft-button-large-horizontal-padding","",ve.spacing4),largeGap:me.extend("--ft-button-large-gap","",ve.spacing2),largeBorderRadius:me.extend("--ft-button-large-border-radius","",ve.borderRadiusS),largeIconSize:me.extend("--ft-button-large-icon-size","",ve.iconSize3),largeBorderWidth:me.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:me.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:me.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:me.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:me.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:me.extend("--ft-button-small-horizontal-padding","",ve.spacing3),smallGap:me.extend("--ft-button-small-gap","",ve.spacing2),smallBorderRadius:me.extend("--ft-button-small-border-radius","",ve.borderRadiusS),smallIconSize:me.extend("--ft-button-small-icon-size","",ve.iconSize2),smallBorderWidth:me.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:me.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:me.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:me.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:me.extend("--ft-button-primary-background-color","",Ge.backgroundActionPrimary),primaryColor:me.extend("--ft-button-primary-color","",Ge.contentGlobalOnColor),primaryIconColor:me.extend("--ft-button-primary-icon-color","",Ge.contentGlobalOnColor),primaryStateLayerColor:me.extend("--ft-button-primary-state-layer-color","",Ge.contentGlobalOnColor),primaryHoverStateLayerOpacity:me.extend("--ft-button-primary-hover-state-layer-opacity","",ve.opacity16),primaryFocusStateLayerOpacity:me.extend("--ft-button-primary-focus-state-layer-opacity","",ve.opacity16),primaryActiveStateLayerOpacity:me.extend("--ft-button-primary-active-state-layer-opacity","",ve.opacity24),primaryDisabledComponentOpacity:me.extend("--ft-button-primary-disabled-component-opacity","",ve.opacity40),focusFocusRingColor:me.extend("--ft-button-focus-focus-ring-color","",Ge.borderActionFocusRing),tertiaryBackgroundColor:me.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:me.extend("--ft-button-tertiary-color","",Ge.contentActionPrimary),tertiaryIconColor:me.extend("--ft-button-tertiary-icon-color","",Ge.contentActionPrimary),tertiaryStateLayerColor:me.extend("--ft-button-tertiary-state-layer-color","",Ge.contentActionPrimary),tertiaryHoverStateLayerOpacity:me.extend("--ft-button-tertiary-hover-state-layer-opacity","",ve.opacity8),tertiaryFocusStateLayerOpacity:me.extend("--ft-button-tertiary-focus-state-layer-opacity","",ve.opacity8),tertiaryActiveStateLayerOpacity:me.extend("--ft-button-tertiary-active-state-layer-opacity","",ve.opacity16),tertiaryDisabledComponentOpacity:me.extend("--ft-button-tertiary-disabled-component-opacity","",ve.opacity40),secondaryBackgroundColor:me.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:me.extend("--ft-button-secondary-color","",Ge.contentActionPrimary),secondaryIconColor:me.extend("--ft-button-secondary-icon-color","",Ge.contentActionPrimary),secondaryStateLayerColor:me.extend("--ft-button-secondary-state-layer-color","",Ge.contentActionPrimary),secondaryHoverStateLayerOpacity:me.extend("--ft-button-secondary-hover-state-layer-opacity","",ve.opacity8),secondaryFocusStateLayerOpacity:me.extend("--ft-button-secondary-focus-state-layer-opacity","",ve.opacity8),secondaryActiveStateLayerOpacity:me.extend("--ft-button-secondary-active-state-layer-opacity","",ve.opacity16),secondaryDisabledComponentOpacity:me.extend("--ft-button-secondary-disabled-component-opacity","",ve.opacity40),secondaryBorderColor:me.extend("--ft-button-secondary-border-color","",Ge.borderActionPrimary),neutralBackgroundColor:me.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:me.extend("--ft-button-neutral-icon-color","",Ge.contentGlobalSecondary),neutralColor:me.extend("--ft-button-neutral-color","",Ge.contentGlobalSecondary),neutralStateLayerColor:me.extend("--ft-button-neutral-state-layer-color","",Ge.contentGlobalSecondary),neutralHoverStateLayerOpacity:me.extend("--ft-button-neutral-hover-state-layer-opacity","",ve.opacity8),neutralFocusStateLayerOpacity:me.extend("--ft-button-neutral-focus-state-layer-opacity","",ve.opacity8),neutralActiveStateLayerOpacity:me.extend("--ft-button-neutral-active-state-layer-opacity","",ve.opacity16),neutralDisabledComponentOpacity:me.extend("--ft-button-neutral-disabled-component-opacity","",ve.opacity40)},qe={iconSize:me.extend("--ft-banner-icon-size","",ve.iconSize5),borderWidth:me.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:me.extend("--ft-banner-horizontal-padding","",ve.spacing6),verticalPadding:me.extend("--ft-banner-vertical-padding","",ve.spacing6),horizontalSideGap:me.extend("--ft-banner-horizontal-side-gap","",ve.spacing6),horizontalMobileGap:me.extend("--ft-banner-horizontal-mobile-gap","",ve.spacing4),verticalMobileGap:me.extend("--ft-banner-vertical-mobile-gap","",ve.spacing6),horizontalMiddleGap:me.extend("--ft-banner-horizontal-middle-gap","",ve.spacing20),infoBackgroundColor:me.extend("--ft-banner-info-background-color","",Ge.backgroundInfoSubtle),infoColor:me.extend("--ft-banner-info-color","",Ge.contentInfoPrimary),infoIconColor:me.extend("--ft-banner-info-icon-color","",Ge.contentInfoIconOnly)},Ye={horizontalGap:me.extend("--ft-breadcrumb-horizontal-gap","",ve.spacing1),verticalGap:me.extend("--ft-breadcrumb-vertical-gap","",ve.spacing2),currentElementColor:me.extend("--ft-breadcrumb-current-element-color","",Ge.contentGlobalPrimary),iconColor:me.extend("--ft-breadcrumb-icon-color","",Ge.contentGlobalSubtle)},Je={horizontalPadding:me.extend("--ft-page-header-horizontal-padding","",ve.spacing12),horizontalGap:me.extend("--ft-page-header-horizontal-gap","",ve.spacing4),verticalGap:me.extend("--ft-page-header-vertical-gap","",ve.spacing2),classicVerticalPadding:me.extend("--ft-page-header-classic-vertical-padding","",ve.spacing6),multilineVerticalPadding:me.extend("--ft-page-header-multiline-vertical-padding","",ve.spacing4),inlineVerticalPadding:me.extend("--ft-page-header-inline-vertical-padding","",ve.spacing2),backgroundColor:me.extend("--ft-page-header-background-color","",ve.colorWhite),bottomBorderColor:me.extend("--ft-page-header-bottom-border-color","",Ge.borderGlobalSubtle),titleColor:me.extend("--ft-page-header-title-color","",Ge.contentGlobalPrimary),subtitleColor:me.extend("--ft-page-header-subtitle-color","",Ge.contentGlobalSecondary)},Xe={smallContainerWidth:me.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:me.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:me.extend("--ft-modal-overlay-background-color","",ve.colorGray700),overlayOpacity:me.extend("--ft-modal-overlay-opacity","",ve.opacity40),shadow:me.extend("--ft-modal-shadow","",ve.shadowElevation03),bodyBackgroundColor:me.extend("--ft-modal-body-background-color","",ve.colorWhite),bodyColor:me.extend("--ft-modal-body-color","",Ge.contentGlobalPrimary),bodyHorizontalPadding:me.extend("--ft-modal-body-horizontal-padding","",ve.spacing6),bodyVerticalPadding:me.extend("--ft-modal-body-vertical-padding","",ve.spacing6),bodyVerticalGap:me.extend("--ft-modal-body-vertical-gap","",ve.spacing6),containerMargin:me.extend("--ft-modal-container-margin","",ve.spacing3),headerBackgroundColor:me.extend("--ft-modal-header-background-color","",Ge.backgroundGlobalOnSurface),headerBorderColor:me.extend("--ft-modal-header-border-color","",Ge.borderGlobalSubtle),headerColor:me.extend("--ft-modal-header-color","",Ge.contentGlobalPrimary),headerTrailingIconColor:me.extend("--ft-modal-header-trailing-icon-color","",Ge.contentGlobalSecondary),headerVerticalPadding:me.extend("--ft-modal-header-vertical-padding","",ve.spacing1),headerRightPadding:me.extend("--ft-modal-header-right-padding","",ve.spacing1),headerLeftPadding:me.extend("--ft-modal-header-left-padding","",ve.spacing6),headerGap:me.extend("--ft-modal-header-gap","",ve.spacing2),headerBorderBottom:me.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:me.extend("--ft-modal-border-radius","",ve.borderRadiusM)},Qe={overlayOpacity:me.extend("--ft-drawer-overlay-opacity","",ve.opacity40),shadow:me.extend("--ft-drawer-shadow","",ve.shadowElevation03),bodyColor:me.extend("--ft-drawer-body-color","",Ge.contentGlobalPrimary),bodyHorizontalPadding:me.extend("--ft-drawer-body-horizontal-padding","",ve.spacing6),bodyVerticalPadding:me.extend("--ft-drawer-body-vertical-padding","",ve.spacing6),bodyGap:me.extend("--ft-drawer-body-gap","",ve.spacing6),bodyBackgroundColor:me.extend("--ft-drawer-body-background-color","",ve.colorWhite),headerBackgroundColor:me.extend("--ft-drawer-header-background-color","",Ge.backgroundGlobalOnSurface),headerBorderColor:me.extend("--ft-drawer-header-border-color","",Ge.borderGlobalSubtle),headerColor:me.extend("--ft-drawer-header-color","",Ge.contentGlobalPrimary),headerTrailingIconColor:me.extend("--ft-drawer-header-trailing-icon-color","",Ge.contentGlobalSecondary),headerHeight:me.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:me.extend("--ft-drawer-header-horizontal-padding","",ve.spacing2),headerBorderWidth:me.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:me.extend("--ft-drawer-header-gap","",ve.spacing3),buttonsBarBackgroundColor:me.extend("--ft-drawer-buttons-bar-background-color","",Ge.backgroundGlobalOnSurface),buttonsBarBorderColor:me.extend("--ft-drawer-buttons-bar-border-color","",Ge.borderGlobalSubtle),buttonsBarColor:me.extend("--ft-drawer-buttons-bar-color","",Ge.contentGlobalPrimary),buttonsBarHorizontalPadding:me.extend("--ft-drawer-buttons-bar-horizontal-padding","",ve.spacing4),buttonsBarVerticalPadding:me.extend("--ft-drawer-buttons-bar-vertical-padding","",ve.spacing4),buttonsBarGap:me.extend("--ft-drawer-buttons-bar-gap","",ve.spacing3),buttonsBarBorderWidth:me.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:me.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:me.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:me.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:me.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:me.extend("--ft-drawer-overlay-background-color","",ve.colorGray700)},tr={fieldHorizontalPadding:me.extend("--ft-text-input-field-horizontal-padding","",ve.spacing4),fieldHorizontalGap:me.extend("--ft-text-input-field-horizontal-gap","",ve.spacing3),fieldVerticalGap:me.extend("--ft-text-input-field-vertical-gap","",ve.spacing05),fieldIconSize:me.extend("--ft-text-input-field-icon-size","",ve.iconSize3),fieldHeight:me.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:me.extend("--ft-text-input-helper-horizontal-padding","",ve.spacing4),helperHorizontalGap:me.extend("--ft-text-input-helper-horizontal-gap","",ve.spacing1),helperIconSize:me.extend("--ft-text-input-helper-icon-size","",ve.iconSize2),borderRadius:me.extend("--ft-text-input-border-radius","",ve.borderRadiusM),backgroundColor:me.extend("--ft-text-input-background-color","",ve.colorWhite),contentValueColor:me.extend("--ft-text-input-content-value-color","",Ge.contentGlobalPrimary),trailingIconColor:me.extend("--ft-text-input-trailing-icon-color","",Ge.contentGlobalSubtle),labelColor:me.extend("--ft-text-input-label-color","",Ge.contentGlobalSubtle),defaultBorderColor:me.extend("--ft-text-input-default-border-color","",Ge.borderInputPrimary),defaultHelperTextColor:me.extend("--ft-text-input-default-helper-text-color","",Ge.contentGlobalSubtle),defaultBorderWidth:me.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:me.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:me.extend("--ft-text-input-error-border-color","",Ge.borderErrorPrimary),errorHelperTextColor:me.extend("--ft-text-input-error-helper-text-color","",Ge.contentErrorPrimary),errorHelperIconColor:me.extend("--ft-text-input-error-helper-icon-color","",Ge.contentErrorIconOnly),warningBorderWidth:me.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:me.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:me.extend("--ft-text-input-focus-focus-ring-color","",Ge.borderActionFocusRing),focusOutlineOffset:me.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:me.extend("--ft-text-input-disabled-component-opacity","",ve.opacity40)},or={backgroundColor:me.extend("--ft-text-area-background-color","",ve.colorWhite),contentValueColor:me.extend("--ft-text-area-content-value-color","",Ge.contentGlobalPrimary),labelColor:me.extend("--ft-text-area-label-color","",Ge.contentGlobalSubtle),defaultBorderColor:me.extend("--ft-text-area-default-border-color","",Ge.borderInputPrimary),defaultHelperTextColor:me.extend("--ft-text-area-default-helper-text-color","",Ge.contentGlobalSubtle),defaultBorderWidth:me.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:me.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:me.extend("--ft-text-area-error-border-color","",Ge.borderErrorPrimary),errorHelperTextColor:me.extend("--ft-text-area-error-helper-text-color","",Ge.contentErrorPrimary),errorHelperIconColor:me.extend("--ft-text-area-error-helper-icon-color","",Ge.contentErrorIconOnly),focusFocusRingColor:me.extend("--ft-text-area-focus-focus-ring-color","",Ge.borderActionFocusRing),focusOutlineWidth:me.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:me.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:me.extend("--ft-text-area-disabled-component-opacity","",ve.opacity40),fieldHorizontalLeftPadding:me.extend("--ft-text-area-field-horizontal-left-padding","",ve.spacing4),fieldHorizontalGap:me.extend("--ft-text-area-field-horizontal-gap","",ve.spacing3),fieldVerticalGap:me.extend("--ft-text-area-field-vertical-gap","",ve.spacing05),fieldMinHeight:me.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:me.extend("--ft-text-area-helper-horizontal-padding","",ve.spacing4),helperHorizontalGap:me.extend("--ft-text-area-helper-horizontal-gap","",ve.spacing1),helperIconSize:me.extend("--ft-text-area-helper-icon-size","",ve.iconSize2),borderRadius:me.extend("--ft-text-area-border-radius","",ve.borderRadiusM)},er={height:me.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:me.extend("--ft-floating-menu-horizontal-padding","",ve.spacing4),offIconColor:me.extend("--ft-floating-menu-off-icon-color","",Ge.contentGlobalPrimary),offColor:me.extend("--ft-floating-menu-off-color","",Ge.contentGlobalPrimary),onColor:me.extend("--ft-floating-menu-on-color","",Ge.contentActionPrimary),onStateLayerColor:me.extend("--ft-floating-menu-on-state-layer-color","",Ge.contentActionPrimary),gap:me.extend("--ft-floating-menu-gap","",ve.spacing3),focusFocusRingColor:me.extend("--ft-floating-menu-focus-focus-ring-color","",Ge.borderActionFocusRing),focusOutlineWidth:me.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:me.extend("--ft-floating-menu-focus-state-layer-opacity","",ve.opacity8),hoverStateLayerOpacity:me.extend("--ft-floating-menu-hover-state-layer-opacity","",ve.opacity8),activeStateLayerOpacity:me.extend("--ft-floating-menu-active-state-layer-opacity","",ve.opacity16),disabledComponentOpacity:me.extend("--ft-floating-menu-disabled-component-opacity","",ve.opacity40),iconSize:me.extend("--ft-floating-menu-icon-size","",ve.iconSize3),backgroundColor:me.extend("--ft-floating-menu-background-color","",Ge.backgroundGlobalOnSurface)},rr={fieldHorizontalPadding:me.extend("--ft-combobox-single-select-field-horizontal-padding","",ve.spacing4),fieldHorizontalGap:me.extend("--ft-combobox-single-select-field-horizontal-gap","",ve.spacing3),fieldVerticalGap:me.extend("--ft-combobox-single-select-field-vertical-gap","",ve.spacing05),fieldIconSize:me.extend("--ft-combobox-single-select-field-icon-size","",ve.iconSize3),fieldHeight:me.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:me.extend("--ft-combobox-single-select-helper-horizontal-padding","",ve.spacing4),helperHorizontalGap:me.extend("--ft-combobox-single-select-helper-horizontal-gap","",ve.spacing1),helperVerticalGap:me.extend("--ft-combobox-single-select-helper-vertical-gap","",ve.spacing1),helperIconSize:me.extend("--ft-combobox-single-select-helper-icon-size","",ve.iconSize2),menuVerticalGap:me.extend("--ft-combobox-single-select-menu-vertical-gap","",ve.spacing2),borderRadius:me.extend("--ft-combobox-single-select-border-radius","",ve.borderRadiusM),backgroundColor:me.extend("--ft-combobox-single-select-background-color","",ve.colorWhite),labelColor:me.extend("--ft-combobox-single-select-label-color","",Ge.contentGlobalSubtle),contentValueColor:me.extend("--ft-combobox-single-select-content-value-color","",Ge.contentGlobalPrimary),trailingIconColor:me.extend("--ft-combobox-single-select-trailing-icon-color","",Ge.contentGlobalSubtle),defaultBorderColor:me.extend("--ft-combobox-single-select-default-border-color","",Ge.borderInputPrimary),defaultHelperTextColor:me.extend("--ft-combobox-single-select-default-helper-text-color","",Ge.contentGlobalSubtle),defaultBorderWidth:me.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:me.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:me.extend("--ft-combobox-single-select-error-border-color","",Ge.borderErrorPrimary),errorHelperTextColor:me.extend("--ft-combobox-single-select-error-helper-text-color","",Ge.contentErrorPrimary),warningBorderWidth:me.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:me.extend("--ft-combobox-single-select-warning-border-color","",Ge.borderWarningPrimary),warningHelperTextColor:me.extend("--ft-combobox-single-select-warning-helper-text-color","",Ge.contentWarningPrimary),warningHelperIconColor:me.extend("--ft-combobox-single-select-warning-helper-icon-color","",Ge.contentWarningIconOnly),focusOutlineWidth:me.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:me.extend("--ft-combobox-single-select-focus-focus-ring-color","",Ge.borderActionFocusRing),focusOutlineOffset:me.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:me.extend("--ft-combobox-single-select-disabled-component-opacity","",ve.opacity40)},nr={backgroundColor:me.extend("--ft-combobox-multi-select-background-color","",ve.colorWhite),labelColor:me.extend("--ft-combobox-multi-select-label-color","",Ge.contentGlobalSubtle),trailingIconColor:me.extend("--ft-combobox-multi-select-trailing-icon-color","",Ge.contentGlobalSubtle),defaultBorderColor:me.extend("--ft-combobox-multi-select-default-border-color","",Ge.borderInputPrimary),defaultHelperTextColor:me.extend("--ft-combobox-multi-select-default-helper-text-color","",Ge.contentGlobalSubtle),defaultBorderWidth:me.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:me.extend("--ft-combobox-multi-select-error-border-color","",Ge.borderErrorPrimary),errorHelperTextColor:me.extend("--ft-combobox-multi-select-error-helper-text-color","",Ge.contentErrorPrimary),errorHelperIcon:me.extend("--ft-combobox-multi-select-error-helper-icon","",Ge.contentErrorIconOnly),errorBorderWidth:me.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:me.extend("--ft-combobox-multi-select-warning-border-color","",Ge.borderWarningPrimary),warningHelperTextColor:me.extend("--ft-combobox-multi-select-warning-helper-text-color","",Ge.contentWarningPrimary),warningHelperIconColor:me.extend("--ft-combobox-multi-select-warning-helper-icon-color","",Ge.contentWarningIconOnly),warningBorderWidth:me.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:me.extend("--ft-combobox-multi-select-focus-focus-ring-color","",Ge.borderActionFocusRing),focusOutlineWidth:me.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:me.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:me.extend("--ft-combobox-multi-select-disabled-component-opacity","",ve.opacity40),helperHorizontalPadding:me.extend("--ft-combobox-multi-select-helper-horizontal-padding","",ve.spacing4),helperHorizontalGap:me.extend("--ft-combobox-multi-select-helper-horizontal-gap","",ve.spacing1),helperVerticalGap:me.extend("--ft-combobox-multi-select-helper-vertical-gap","",ve.spacing1),helperIconSize:me.extend("--ft-combobox-multi-select-helper-icon-size","",ve.iconSize2),fieldHorizontalPadding:me.extend("--ft-combobox-multi-select-field-horizontal-padding","",ve.spacing4),fieldHorizontalGap:me.extend("--ft-combobox-multi-select-field-horizontal-gap","",ve.spacing3),fieldVerticalGap:me.extend("--ft-combobox-multi-select-field-vertical-gap","",ve.spacing05),fieldIconSize:me.extend("--ft-combobox-multi-select-field-icon-size","",ve.iconSize3),fieldMaxHeight:me.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:me.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",ve.spacing1),contentValuesVerticalGap:me.extend("--ft-combobox-multi-select-content-values-vertical-gap","",ve.spacing1),borderRadius:me.extend("--ft-combobox-multi-select-border-radius","",ve.borderRadiusM)},ir={backgroundColor:me.extend("--ft-popover-background-color","",Ge.backgroundGlobalOnSurface),horizontalPadding:me.extend("--ft-popover-horizontal-padding","",ve.spacing6),verticalPadding:me.extend("--ft-popover-vertical-padding","",ve.spacing6),iconColor:me.extend("--ft-popover-icon-color","",Ge.contentGlobalSecondary),iconSize:me.extend("--ft-popover-icon-size","",ve.iconSize2),titleColor:me.extend("--ft-popover-title-color","",Ge.contentGlobalPrimary),bodyColor:me.extend("--ft-popover-body-color","",Ge.contentGlobalSecondary),linkColor:me.extend("--ft-popover-link-color","",Ge.contentActionPrimary),gap:me.extend("--ft-popover-gap","",ve.spacing3),borderRadius:me.extend("--ft-popover-border-radius","",ve.borderRadiusM),shadow:me.extend("--ft-popover-shadow","",ve.shadowElevation02)},ar={topLeftBorderRadius:me.extend("--ft-tabs-top-left-border-radius","",ve.borderRadiusS),topRightBorderRadius:me.extend("--ft-tabs-top-right-border-radius","",ve.borderRadiusS),labelHorizontalPadding:me.extend("--ft-tabs-label-horizontal-padding","",ve.spacing4),labelVerticalPadding:me.extend("--ft-tabs-label-vertical-padding","",ve.spacing3),labelGap:me.extend("--ft-tabs-label-gap","",ve.spacing1),offHoverStateLayerOpacity:me.extend("--ft-tabs-off-hover-state-layer-opacity","",ve.opacity8),offFocusStateLayerOpacity:me.extend("--ft-tabs-off-focus-state-layer-opacity","",ve.opacity8),offActiveStateLayerOpacity:me.extend("--ft-tabs-off-active-state-layer-opacity","",ve.opacity16),offDisabledComponentOpacity:me.extend("--ft-tabs-off-disabled-component-opacity","",ve.opacity40),offColor:me.extend("--ft-tabs-off-color","",Ge.contentGlobalSubtle),offStateLayerColor:me.extend("--ft-tabs-off-state-layer-color","",Ge.contentGlobalSubtle),onHoverStateLayerOpacity:me.extend("--ft-tabs-on-hover-state-layer-opacity","",ve.opacity8),onFocusStateLayerOpacity:me.extend("--ft-tabs-on-focus-state-layer-opacity","",ve.opacity8),onActiveStateLayerOpacity:me.extend("--ft-tabs-on-active-state-layer-opacity","",ve.opacity16),onDisabledComponentOpacity:me.extend("--ft-tabs-on-disabled-component-opacity","",ve.opacity40),onColor:me.extend("--ft-tabs-on-color","",Ge.contentActionPrimary),onStateLayerColor:me.extend("--ft-tabs-on-state-layer-color","",Ge.contentActionPrimary),iconHorizontalPadding:me.extend("--ft-tabs-icon-horizontal-padding","",ve.spacing1),iconVerticalPadding:me.extend("--ft-tabs-icon-vertical-padding","",ve.spacing4),focusOutlineWidth:me.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:me.extend("--ft-tabs-focus-focus-ring-color","",Ge.borderActionFocusRing)},lr={hoverStateLayerOpacity:me.extend("--ft-collapsible-hover-state-layer-opacity","",ve.opacity8),focusStateLayerOpacity:me.extend("--ft-collapsible-focus-state-layer-opacity","",ve.opacity8),focusOutlineWidth:me.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:me.extend("--ft-collapsible-focus-focus-ring-color","",Ge.borderActionFocusRing),activeStateLayerOpacity:me.extend("--ft-collapsible-active-state-layer-opacity","",ve.opacity16),disabledComponentOpacity:me.extend("--ft-collapsible-disabled-component-opacity","",ve.opacity40),horizontalPadding:me.extend("--ft-collapsible-horizontal-padding","",ve.spacing4),verticalPadding:me.extend("--ft-collapsible-vertical-padding","",ve.spacing3),color:me.extend("--ft-collapsible-color","",Ge.contentGlobalPrimary),stateLayerColor:me.extend("--ft-collapsible-state-layer-color","",Ge.contentGlobalPrimary),backgroundColor:me.extend("--ft-collapsible-background-color","",Ge.backgroundGlobalOnSurface),borderColor:me.extend("--ft-collapsible-border-color","",Ge.borderGlobalSubtle),iconSize:me.extend("--ft-collapsible-icon-size","",ve.iconSize3)},cr={groupHorizontalPadding:me.extend("--ft-switch-group-horizontal-padding","",ve.spacing1),groupVerticalPadding:me.extend("--ft-switch-group-vertical-padding","",ve.spacing1),groupGap:me.extend("--ft-switch-group-gap","",ve.spacing1),groupBackgroundColor:me.extend("--ft-switch-group-background-color","",Ge.backgroundGlobalSurface),groupBorderColor:me.extend("--ft-switch-group-border-color","",Ge.borderGlobalSubtle),groupBorderRadius:me.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:me.extend("--ft-switch-label-horizontal-padding","",ve.spacing2),labelVerticalPadding:me.extend("--ft-switch-label-vertical-padding","",ve.spacing1),offHoverStateLayerOpacity:me.extend("--ft-switch-off-hover-state-layer-opacity","",ve.opacity8),offFocusStateLayerOpacity:me.extend("--ft-switch-off-focus-state-layer-opacity","",ve.opacity8),offActiveStateLayerOpacity:me.extend("--ft-switch-off-active-state-layer-opacity","",ve.opacity16),offDisabledComponentOpacity:me.extend("--ft-switch-off-disabled-component-opacity","",ve.opacity40),offColor:me.extend("--ft-switch-off-color","",Ge.contentGlobalSubtle),offStateLayerColor:me.extend("--ft-switch-off-state-layer-color","",Ge.contentGlobalSubtle),onHoverStateLayerOpacity:me.extend("--ft-switch-on-hover-state-layer-opacity","",ve.opacity8),onFocusStateLayerOpacity:me.extend("--ft-switch-on-focus-state-layer-opacity","",ve.opacity8),onActiveStateLayerOpacity:me.extend("--ft-switch-on-active-state-layer-opacity","",ve.opacity16),onDisabledComponentOpacity:me.extend("--ft-switch-on-disabled-component-opacity","",ve.opacity40),onColor:me.extend("--ft-switch-on-color","",Ge.contentActionPrimary),onStateLayerColor:me.extend("--ft-switch-on-state-layer-color","",Ge.contentActionPrimary),iconHorizontalPadding:me.extend("--ft-switch-icon-horizontal-padding","",ve.spacing1),iconVerticalPadding:me.extend("--ft-switch-icon-vertical-padding","",ve.spacing1),focusOutlineWidth:me.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:me.extend("--ft-switch-focus-focus-ring-color","",Ge.borderActionFocusRing),optionBorderRadius:me.extend("--ft-switch-option-border-radius","",ve.borderRadiusS)},sr={color1Light:me.extend("--ft-chart-1-light","for area color charts",ve.colorBrand40),color1Base:me.extend("--ft-chart-1-base","for line charts",ve.colorBrand0),color2Light:me.extend("--ft-chart-2-light","for area color charts",ve.colorYellow60),color2Base:me.extend("--ft-chart-2-base","for line charts",ve.colorYellow100),color3Light:me.extend("--ft-chart-3-light","",ve.colorUltramarine40),color3Base:me.extend("--ft-chart-3-base","",ve.colorUltramarine70),color4Light:me.extend("--ft-chart-4-light","",ve.colorCyan50),color4Base:me.extend("--ft-chart-4-base","",ve.colorCyan100),color5Light:me.extend("--ft-chart-5-light","",ve.colorRed40),color5Base:me.extend("--ft-chart-5-base","",ve.colorRed60),color6Light:me.extend("--ft-chart-6-light","",ve.colorGreen40),color6Base:me.extend("--ft-chart-6-base","",ve.colorGreen70),color7Light:me.extend("--ft-chart-7-light","",ve.colorOrange70),color7Base:me.extend("--ft-chart-7-base","",ve.colorOrange100),color8Light:me.extend("--ft-chart-8-light","",ve.colorAvocado70),color8Base:me.extend("--ft-chart-8-base","",ve.colorAvocado200),color9Light:me.extend("--ft-chart-9-light","",ve.colorBrown50),color9Base:me.extend("--ft-chart-9-base","",ve.colorBrown200),color10Light:me.extend("--ft-chart-10-light","",ve.colorGray50),color10Base:me.extend("--ft-chart-10-base","",ve.colorGray80),monochrome10:me.extend("--ft-chart-monochrome-10","",ve.colorBrand10),monochrome20:me.extend("--ft-chart-monochrome-20","",ve.colorBrand20),monochrome30:me.extend("--ft-chart-monochrome-30","",ve.colorBrand40),monochrome40:me.extend("--ft-chart-monochrome-40","",ve.colorBrand60),monochrome50:me.extend("--ft-chart-monochrome-50","",ve.colorBrand0),monochrome60:me.extend("--ft-chart-monochrome-60","",ve.colorBrand200)},fr={largeHorizontalPadding:me.extend("--ft-chip-large-horizontal-padding","",ve.spacing4),largeVerticalPadding:me.extend("--ft-chip-large-vertical-padding","",ve.spacing2),largeGap:me.extend("--ft-chip-large-gap","",ve.spacing1),largeFocusOutlineOffset:me.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:me.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:me.extend("--ft-chip-large-border-radius","",ve.borderRadiusPill),largeBorderWidth:me.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:me.extend("--ft-chip-large-icon-size","",ve.iconSize3),mediumHorizontalPadding:me.extend("--ft-chip-medium-horizontal-padding","",ve.spacing3),mediumVerticalPadding:me.extend("--ft-chip-medium-vertical-padding","",ve.spacing1),mediumGap:me.extend("--ft-chip-medium-gap","",ve.spacing1),mediumFocusOutlineOffset:me.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:me.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:me.extend("--ft-chip-medium-border-radius","",ve.borderRadiusPill),mediumBorderWidth:me.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:me.extend("--ft-chip-medium-icon-size","",ve.iconSize2),smallHorizontalPadding:me.extend("--ft-chip-small-horizontal-padding","",ve.spacing2),smallVerticalPadding:me.extend("--ft-chip-small-vertical-padding","",ve.spacing05),smallGap:me.extend("--ft-chip-small-gap","",ve.spacing1),smallFocusOutlineOffset:me.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:me.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:me.extend("--ft-chip-small-border-radius","",ve.borderRadiusPill),smallBorderWidth:me.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:me.extend("--ft-chip-small-icon-size","",ve.iconSize1),neutralBackgroundColor:me.extend("--ft-chip-neutral-background-color","",Ge.backgroundGlobalOnSurface),neutralColor:me.extend("--ft-chip-neutral-color","",Ge.contentGlobalPrimary),neutralIconColor:me.extend("--ft-chip-neutral-icon-color","",Ge.contentGlobalPrimary),neutralBorderColor:me.extend("--ft-chip-neutral-border-color","",Ge.borderGlobalSubtle),infoBackgroundColor:me.extend("--ft-chip-info-background-color","",Ge.backgroundInfoSubtle),infoColor:me.extend("--ft-chip-info-color","",Ge.contentInfoPrimary),infoIconColor:me.extend("--ft-chip-info-icon-color","",Ge.contentInfoIconOnly),infoBorderColor:me.extend("--ft-chip-info-border-color","",Ge.borderInfoSubtle),successBackgroundColor:me.extend("--ft-chip-success-background-color","",Ge.backgroundSuccessSubtle),successColor:me.extend("--ft-chip-success-color","",Ge.contentSuccessPrimary),successIconColor:me.extend("--ft-chip-success-icon-color","",Ge.contentSuccessIconOnly),successBorderColor:me.extend("--ft-chip-success-border-color","",Ge.borderSuccessSubtle),warningBackgroundColor:me.extend("--ft-chip-warning-background-color","",Ge.backgroundWarningSubtle),warningColor:me.extend("--ft-chip-warning-color","",Ge.contentWarningPrimary),warningIconColor:me.extend("--ft-chip-warning-icon-color","",Ge.contentWarningIconOnly),warningBorderColor:me.extend("--ft-chip-warning-border-color","",Ge.borderWarningSubtle),errorBackgroundColor:me.extend("--ft-chip-error-background-color","",Ge.backgroundErrorSubtle),errorColor:me.extend("--ft-chip-error-color","",Ge.contentErrorPrimary),errorIconColor:me.extend("--ft-chip-error-icon-color","",Ge.contentErrorIconOnly),errorBorderColor:me.extend("--ft-chip-error-border-color","",Ge.borderErrorSubtle)},pr={infoBorderColor:me.extend("--ft-border-info-border-color","",Ge.borderInfoSubtle)},dr={borderWidth:me.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:me.extend("--ft-notice-horizontal-padding","",ve.spacing2),verticalPadding:me.extend("--ft-notice-vertical-padding","",ve.spacing1),borderRadius:me.extend("--ft-notice-border-radius","",ve.borderRadiusS),gap:me.extend("--ft-notice-gap","",ve.spacing2),iconSize:me.extend("--ft-notice-icon-size","",ve.iconSize3),infoBackgroundColor:me.extend("--ft-notice-info-background-color","",Ge.backgroundInfoSubtle),infoBorderColor:me.extend("--ft-notice-info-border-color","",Ge.borderInfoSubtle),infoColor:me.extend("--ft-notice-info-color","",Ge.contentInfoPrimary),infoIconColor:me.extend("--ft-notice-info-icon-color","",Ge.contentInfoIconOnly),warningBackgroundColor:me.extend("--ft-notice-warning-background-color","",Ge.backgroundWarningSubtle),warningBorderColor:me.extend("--ft-notice-warning-border-color","",Ge.borderWarningSubtle),warningColor:me.extend("--ft-notice-warning-color","",Ge.contentWarningPrimary),warningIconColor:me.extend("--ft-notice-warning-icon-color","",Ge.contentWarningIconOnly),errorBackgroundColor:me.extend("--ft-notice-error-background-color","",Ge.backgroundErrorSubtle),errorBorderColor:me.extend("--ft-notice-error-border-color","",Ge.borderErrorSubtle),errorColor:me.extend("--ft-notice-error-color","",Ge.contentErrorPrimary),errorIconColor:me.extend("--ft-notice-error-icon-color","",Ge.contentErrorIconOnly),successBackgroundColor:me.extend("--ft-notice-success-background-color","",Ge.backgroundSuccessSubtle),successBorderColor:me.extend("--ft-notice-success-border-color","",Ge.borderSuccessSubtle),successColor:me.extend("--ft-notice-success-color","",Ge.contentSuccessPrimary),successIconColor:me.extend("--ft-notice-success-icon-color","",Ge.contentSuccessIconOnly)},hr={color:me.extend("--ft-checkbox-color","",Ge.contentGlobalPrimary),checkedBackgroundColor:me.extend("--ft-checkbox-checked-background-color","",Ge.contentActionPrimary),checkedStateLayerColor:me.extend("--ft-checkbox-checked-state-layer-color","",Ge.contentActionPrimary),checkedIconColor:me.extend("--ft-checkbox-checked-icon-color","",Ge.contentGlobalOnColor),checkedHoverStateLayerOpacity:me.extend("--ft-checkbox-checked-hover-state-layer-opacity","",ve.opacity16),checkedFocusStateLayerOpacity:me.extend("--ft-checkbox-checked-focus-state-layer-opacity","",ve.opacity16),checkedActiveStateLayerOpacity:me.extend("--ft-checkbox-checked-active-state-layer-opacity","",ve.opacity24),checkedDisabledComponentOpacity:me.extend("--ft-checkbox-checked-disabled-component-opacity","",ve.opacity40),uncheckedBorderColor:me.extend("--ft-checkbox-unchecked-border-color","",ve.colorGray80),uncheckedStateLayerColor:me.extend("--ft-checkbox-unchecked-state-layer-color","",ve.colorGray80),uncheckedHoverStateLayerOpacity:me.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",ve.opacity16),uncheckedFocusStateLayerOpacity:me.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",ve.opacity16),uncheckedActiveStateLayerOpacity:me.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",ve.opacity24),uncheckedDisabledComponentOpacity:me.extend("--ft-checkbox-unchecked-disabled-component-opacity","",ve.opacity40),focusFocusRingColor:me.extend("--ft-checkbox-focus-focus-ring-color","",Ge.borderActionFocusRing),focusOutlineOffset:me.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:me.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:me.extend("--ft-checkbox-gap","",ve.spacing3)},ur={offHoverStateLayerOpacity:me.extend("--ft-toggle-off-hover-state-layer-opacity","",ve.opacity16),offFocusStateLayerOpacity:me.extend("--ft-toggle-off-focus-state-layer-opacity","",ve.opacity16),offActiveStateLayerOpacity:me.extend("--ft-toggle-off-active-state-layer-opacity","",ve.opacity24),offDisabledComponentOpacity:me.extend("--ft-toggle-off-disabled-component-opacity","",ve.opacity40),offBackgroundColor:me.extend("--ft-toggle-off-background-color","",Ge.contentGlobalSubtle),offIconColor:me.extend("--ft-toggle-off-icon-color","",Ge.contentGlobalSubtle),offStateLayerColor:me.extend("--ft-toggle-off-state-layer-color","",Ge.contentGlobalSubtle),onHoverStateLayerOpacity:me.extend("--ft-toggle-on-hover-state-layer-opacity","",ve.opacity16),onFocusStateLayerOpacity:me.extend("--ft-toggle-on-focus-state-layer-opacity","",ve.opacity16),onActiveStateLayerOpacity:me.extend("--ft-toggle-on-active-state-layer-opacity","",ve.opacity24),onDisabledComponentOpacity:me.extend("--ft-toggle-on-disabled-component-opacity","",ve.opacity40),onBackgroundColor:me.extend("--ft-toggle-on-background-color","",Ge.contentActionPrimary),onStateLayerColor:me.extend("--ft-toggle-on-state-layer-color","",Ge.contentActionPrimary),onIconColor:me.extend("--ft-toggle-on-icon-color","",Ge.contentActionPrimary),color:me.extend("--ft-toggle-color","",Ge.contentGlobalPrimary),focusFocusRingColor:me.extend("--ft-toggle-focus-focus-ring-color","",Ge.borderActionFocusRing),gap:me.extend("--ft-toggle-gap","",ve.spacing3)},yr={color:me.extend("--ft-radio-color","",Ge.contentGlobalPrimary),selectedRadioColor:me.extend("--ft-radio-selected-radio-color","",Ge.contentActionPrimary),selectedStateLayerColor:me.extend("--ft-radio-selected-state-layer-color","",Ge.contentActionPrimary),selectedHoverStateLayerOpacity:me.extend("--ft-radio-selected-hover-state-layer-opacity","",ve.opacity16),selectedFocusStateLayerOpacity:me.extend("--ft-radio-selected-focus-state-layer-opacity","",ve.opacity16),selectedActiveStateLayerOpacity:me.extend("--ft-radio-selected-active-state-layer-opacity","",ve.opacity24),selectedDisabledComponentOpacity:me.extend("--ft-radio-selected-disabled-component-opacity","",ve.opacity40),unselectedStateLayerColor:me.extend("--ft-radio-unselected-state-layer-color","",Ge.borderInputPrimary),unselectedBorderColor:me.extend("--ft-radio-unselected-border-color","",Ge.borderInputPrimary),unselectedHoverStateLayerOpacity:me.extend("--ft-radio-unselected-hover-state-layer-opacity","",ve.opacity16),unselectedFocusStateLayerOpacity:me.extend("--ft-radio-unselected-focus-state-layer-opacity","",ve.opacity16),unselectedActiveStateLayerOpacity:me.extend("--ft-radio-unselected-active-state-layer-opacity","",ve.opacity24),unselectedDisabledComponentOpacity:me.extend("--ft-radio-unselected-disabled-component-opacity","",ve.opacity40),focusFocusRingColor:me.extend("--ft-radio-focus-focus-ring-color","",Ge.borderActionFocusRing),focusOutlineOffset:me.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:me.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:me.extend("--ft-radio-gap","",ve.spacing3)},gr={iconSize:me.extend("--ft-notification-icon-size","",ve.iconSize4),horizontalPadding:me.extend("--ft-notification-horizontal-padding","",ve.spacing4),verticalPadding:me.extend("--ft-notification-vertical-padding","",ve.spacing4),infoBackgroundColor:me.extend("--ft-notification-info-background-color","",Ge.backgroundInfoSubtle),infoColor:me.extend("--ft-notification-info-color","",Ge.contentInfoPrimary),infoIconColor:me.extend("--ft-notification-info-icon-color","",Ge.contentInfoIconOnly),infoBorderColor:me.extend("--ft-notification-info-border-color","",Ge.borderInfoSubtle),successBackgroundColor:me.extend("--ft-notification-success-background-color","",Ge.backgroundSuccessSubtle),successColor:me.extend("--ft-notification-success-color","",Ge.contentSuccessPrimary),successIconColor:me.extend("--ft-notification-success-icon-color","",Ge.contentSuccessIconOnly),successBorderColor:me.extend("--ft-notification-success-border-color","",Ge.borderSuccessSubtle),warningBackgroundColor:me.extend("--ft-notification-warning-background-color","",Ge.backgroundWarningSubtle),warningColor:me.extend("--ft-notification-warning-color","",Ge.contentWarningPrimary),warningIconColor:me.extend("--ft-notification-warning-icon-color","",Ge.contentWarningIconOnly),warningBorderColor:me.extend("--ft-notification-warning-border-color","",Ge.borderWarningSubtle),errorBackgroundColor:me.extend("--ft-notification-error-background-color","",Ge.backgroundErrorSubtle),errorColor:me.extend("--ft-notification-error-color","",Ge.contentErrorPrimary),errorIconColor:me.extend("--ft-notification-error-icon-color","",Ge.contentErrorIconOnly),errorBorderColor:me.extend("--ft-notification-error-border-color","",Ge.borderErrorSubtle),borderRadius:me.extend("--ft-notification-border-radius","",ve.borderRadiusPill),borderWidth:me.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:me.extend("--ft-notification-leading-gap","",ve.spacing2),trailingGap:me.extend("--ft-notification-trailing-gap","",ve.spacing8)},br={horizontalPadding:me.extend("--ft-tooltip-horizontal-padding","",ve.spacing2),verticalPadding:me.extend("--ft-tooltip-vertical-padding","",ve.spacing2),borderRadius:me.extend("--ft-tooltip-border-radius","",ve.borderRadiusS),color:me.extend("--ft-tooltip-color","",Ge.contentGlobalOnColor),backgroundColor:me.extend("--ft-tooltip-background-color","",Ge.contentGlobalPrimary),backgroundOpacity:me.extend("--ft-tooltip-background-opacity","",ve.opacity80),shadow:me.extend("--ft-tooltip-shadow","",ve.shadowElevation03),maxWidth:me.create("--ft-tooltip-max-width","","SIZE","256px"),gap:me.extend("--ft-tooltip-gap","",ve.spacing05)};var mr=Object.freeze({__proto__:null,FtCssVariableFactory:me,banner:qe,border:pr,breadcrumb:Ye,button:Ve,chart:sr,checkbox:hr,chip:fr,collapsible:lr,comboboxMultiSelect:nr,comboboxSingleSelect:rr,drawer:Qe,floatingMenu:er,foundation:ve,modal:Xe,notice:dr,notification:gr,pageHeader:Je,popover:ir,radio:yr,semantic:Ge,setVariable:function(t,o){return be(`${t.name}: ${o}`)},switch_:cr,tabs:ar,textArea:or,textInput:tr,toggle:ur,tooltip:br,typographies:Te,typographyBody1Medium:Ce,typographyBody1Regular:Ne,typographyBody1Semibold:Ee,typographyBody2Medium:Ie,typographyBody2MediumUnderline:Le,typographyBody2Regular:Re,typographyBody2Semibold:We,typographyCaption1Bold:Pe,typographyCaption1Medium:Ae,typographyCaption1Semibold:_e,typographyCaption2Bold:je,typographyCaption2Medium:Ze,typographyCaption2Semibold:Ke,typographyCaption3Bold:De,typographyCaption3Medium:Me,typographyCaption3Semibold:He,typographyDisplay:Oe,typographyLabel1Bold:$e,typographyLabel1Medium:Ue,typographyLabel1Semibold:ke,typographyLabel2Bold:Fe,typographyLabel2Medium:ze,typographyLabel2Semibold:Be,typographyTitle1:xe,typographyTitle2:Se,typographyTitle3:we,typographyVariants:["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"]});const vr={colorPrimary:me.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:me.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:me.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:me.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:me.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:me.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:me.create("--ft-color-error","","COLOR","#B00020"),colorOutline:me.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:me.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:me.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:me.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:me.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:me.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:me.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:me.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:me.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:me.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:me.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:me.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:me.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:me.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:me.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:me.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:me.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:me.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:me.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:me.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:me.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:me.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:me.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:me.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:me.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:me.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:me.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:me.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:me.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:me.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:me.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:me.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:me.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:me.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:me.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:me.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:me.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:me.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:me.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:me.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:me.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:me.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:me.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:me.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:me.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:me.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:me.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:me.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:me.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:me.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:me.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:me.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:me.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:me.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:me.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Or=Object.freeze({__proto__:null,designSystemVariables:vr});class xr extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class Sr extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class wr extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var Nr=Object.freeze({__proto__:null,FtNotificationEvent:xr,PostResizeEvent:wr,PreResizeEvent:Sr});const Cr=["start","end"],Er=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Cr[0],o+"-"+Cr[1])),[]),Rr=Math.min,Ir=Math.max,Lr=Math.round,Wr=t=>({x:t,y:t}),Ur={left:"right",right:"left",bottom:"top",top:"bottom"},kr={start:"end",end:"start"};function $r(t,o,e){return Ir(t,Rr(o,e))}function zr(t,o){return"function"==typeof t?t(o):t}function Br(t){return t.split("-")[0]}function Fr(t){return t.split("-")[1]}function Ar(t){return"x"===t?"y":"x"}function _r(t){return"y"===t?"height":"width"}function Pr(t){return["top","bottom"].includes(Br(t))?"y":"x"}function Zr(t){return Ar(Pr(t))}function Kr(t){return t.replace(/left|right|bottom|top/g,(t=>Ur[t]))}function jr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Mr(t,o,e){let{reference:r,floating:n}=t;const i=Pr(o),a=Zr(o),l=_r(a),c=Br(o),s="y"===i,f=r.x+r.width/2-n.width/2,p=r.y+r.height/2-n.height/2,d=r[l]/2-n[l]/2;let h;switch(c){case"top":h={x:f,y:r.y-n.height};break;case"bottom":h={x:f,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:p};break;case"left":h={x:r.x-n.width,y:p};break;default:h={x:r.x,y:r.y}}switch(Fr(o)){case"start":h[a]-=d*(e&&s?-1:1);break;case"end":h[a]+=d*(e&&s?-1:1)}return h}async function Hr(t,o){var e;void 0===o&&(o={});const{x:r,y:n,platform:i,rects:a,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:d=!1,padding:h=0}=zr(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),y=l[d?"floating"===p?"reference":"floating":p],g=jr(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(y)))||e?y:y.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:s,rootBoundary:f,strategy:c})),b="floating"===p?{...a.floating,x:r,y:n}:a.reference,m=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),v=await(null==i.isElement?void 0:i.isElement(m))&&await(null==i.getScale?void 0:i.getScale(m))||{x:1,y:1},O=jr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(g.top-O.top+u.top)/v.y,bottom:(O.bottom-g.bottom+u.bottom)/v.y,left:(g.left-O.left+u.left)/v.x,right:(O.right-g.right+u.right)/v.x}}function Dr(t,o,e){return(t?[...e.filter((o=>Fr(o)===t)),...e.filter((o=>Fr(o)!==t))]:e.filter((t=>Br(t)===t))).filter((e=>!t||(Fr(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>kr[t]))}(e)!==e)))}const Tr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,n;const{rects:i,middlewareData:a,placement:l,platform:c,elements:s}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:d=Er,autoAlignment:h=!0,...u}=zr(t,o),y=void 0!==p||d===Er?Dr(p||null,h,d):d,g=await Hr(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const v=function(t,o,e){void 0===e&&(e=!1);const r=Fr(t),n=Zr(t),i=_r(n);let a="x"===n?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[i]>o.floating[i]&&(a=Kr(a)),[a,Kr(a)]}(m,i,await(null==c.isRTL?void 0:c.isRTL(s.floating)));if(l!==m)return{reset:{placement:y[0]}};const O=[g[Br(m)],g[v[0]],g[v[1]]],x=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],S=y[b+1];if(S)return{data:{index:b+1,overflows:x},reset:{placement:S}};const w=x.map((t=>{const o=Fr(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),N=w.filter((t=>t[2].slice(0,Fr(t[0])?2:3).every((t=>t<=0)))),C=(null==(n=N[0])?void 0:n[0])||w[0][0];return C!==l?{data:{index:b+1,overflows:x},reset:{placement:C}}:{}}}};function Gr(t){return Yr(t)?(t.nodeName||"").toLowerCase():"#document"}function Vr(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function qr(t){var o;return null==(o=(Yr(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Yr(t){return t instanceof Node||t instanceof Vr(t).Node}function Jr(t){return t instanceof Element||t instanceof Vr(t).Element}function Xr(t){return t instanceof HTMLElement||t instanceof Vr(t).HTMLElement}function Qr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Vr(t).ShadowRoot)}function tn(t){const{overflow:o,overflowX:e,overflowY:r,display:n}=an(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(n)}function on(t){return["table","td","th"].includes(Gr(t))}function en(t){const o=rn(),e=an(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function rn(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function nn(t){return["html","body","#document"].includes(Gr(t))}function an(t){return Vr(t).getComputedStyle(t)}function ln(t){return Jr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function cn(t){if("html"===Gr(t))return t;const o=t.assignedSlot||t.parentNode||Qr(t)&&t.host||qr(t);return Qr(o)?o.host:o}function sn(t){const o=cn(t);return nn(o)?t.ownerDocument?t.ownerDocument.body:t.body:Xr(o)&&tn(o)?o:sn(o)}function fn(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const n=sn(t),i=n===(null==(r=t.ownerDocument)?void 0:r.body),a=Vr(n);return i?o.concat(a,a.visualViewport||[],tn(n)?n:[],a.frameElement&&e?fn(a.frameElement):[]):o.concat(n,fn(n,[],e))}function pn(t){const o=an(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const n=Xr(t),i=n?t.offsetWidth:e,a=n?t.offsetHeight:r,l=Lr(e)!==i||Lr(r)!==a;return l&&(e=i,r=a),{width:e,height:r,$:l}}function dn(t){return Jr(t)?t:t.contextElement}function hn(t){const o=dn(t);if(!Xr(o))return Wr(1);const e=o.getBoundingClientRect(),{width:r,height:n,$:i}=pn(o);let a=(i?Lr(e.width):e.width)/r,l=(i?Lr(e.height):e.height)/n;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const un=Wr(0);function yn(t){const o=Vr(t);return rn()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:un}function gn(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const n=t.getBoundingClientRect(),i=dn(t);let a=Wr(1);o&&(r?Jr(r)&&(a=hn(r)):a=hn(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Vr(t))&&o}(i,e,r)?yn(i):Wr(0);let c=(n.left+l.x)/a.x,s=(n.top+l.y)/a.y,f=n.width/a.x,p=n.height/a.y;if(i){const t=Vr(i),o=r&&Jr(r)?Vr(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=hn(e),o=e.getBoundingClientRect(),r=an(e),n=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,i=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,s*=t.y,f*=t.x,p*=t.y,c+=n,s+=i,e=Vr(e).frameElement}}return jr({width:f,height:p,x:c,y:s})}function bn(t){return gn(qr(t)).left+ln(t).scrollLeft}function mn(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Vr(t),r=qr(t),n=e.visualViewport;let i=r.clientWidth,a=r.clientHeight,l=0,c=0;if(n){i=n.width,a=n.height;const t=rn();(!t||t&&"fixed"===o)&&(l=n.offsetLeft,c=n.offsetTop)}return{width:i,height:a,x:l,y:c}}(t,e);else if("document"===o)r=function(t){const o=qr(t),e=ln(t),r=t.ownerDocument.body,n=Ir(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),i=Ir(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+bn(t);const l=-e.scrollTop;return"rtl"===an(r).direction&&(a+=Ir(o.clientWidth,r.clientWidth)-n),{width:n,height:i,x:a,y:l}}(qr(t));else if(Jr(o))r=function(t,o){const e=gn(t,!0,"fixed"===o),r=e.top+t.clientTop,n=e.left+t.clientLeft,i=Xr(t)?hn(t):Wr(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:n*i.x,y:r*i.y}}(o,e);else{const e=yn(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return jr(r)}function vn(t,o){const e=cn(t);return!(e===o||!Jr(e)||nn(e))&&("fixed"===an(e).position||vn(e,o))}function On(t,o,e){const r=Xr(o),n=qr(o),i="fixed"===e,a=gn(t,!0,i,o);let l={scrollLeft:0,scrollTop:0};const c=Wr(0);if(r||!r&&!i)if(("body"!==Gr(o)||tn(n))&&(l=ln(o)),r){const t=gn(o,!0,i,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else n&&(c.x=bn(n));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function xn(t,o){return Xr(t)&&"fixed"!==an(t).position?o?o(t):t.offsetParent:null}function Sn(t,o){const e=Vr(t);if(!Xr(t))return e;let r=xn(t,o);for(;r&&on(r)&&"static"===an(r).position;)r=xn(r,o);return r&&("html"===Gr(r)||"body"===Gr(r)&&"static"===an(r).position&&!en(r))?e:r||function(t){let o=cn(t);for(;Xr(o)&&!nn(o);){if(en(o))return o;o=cn(o)}return null}(t)||e}const wn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const n=Xr(e),i=qr(e);if(e===i)return o;let a={scrollLeft:0,scrollTop:0},l=Wr(1);const c=Wr(0);if((n||!n&&"fixed"!==r)&&(("body"!==Gr(e)||tn(i))&&(a=ln(e)),Xr(e))){const t=gn(e);l=hn(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+c.x,y:o.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:qr,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:n}=t;const i=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=fn(t,[],!1).filter((t=>Jr(t)&&"body"!==Gr(t))),n=null;const i="fixed"===an(t).position;let a=i?cn(t):t;for(;Jr(a)&&!nn(a);){const o=an(a),e=en(a);e||"fixed"!==o.position||(n=null),(i?!e&&!n:!e&&"static"===o.position&&n&&["absolute","fixed"].includes(n.position)||tn(a)&&!e&&vn(t,a))?r=r.filter((t=>t!==a)):n=o,a=cn(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=i[0],l=i.reduce(((t,e)=>{const r=mn(o,e,n);return t.top=Ir(r.top,t.top),t.right=Rr(r.right,t.right),t.bottom=Rr(r.bottom,t.bottom),t.left=Ir(r.left,t.left),t}),mn(o,a,n));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Sn,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const n=this.getOffsetParent||Sn,i=this.getDimensions;return{reference:On(o,await n(e),r),floating:{x:0,y:0,...await i(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return pn(t)},getScale:hn,isElement:Jr,isRTL:function(t){return"rtl"===an(t).direction}},Nn=(t,o,e)=>{const r=new Map,n={platform:wn,...e},i={...n.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:n="absolute",middleware:i=[],platform:a}=e,l=i.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(o));let s=await a.getElementRects({reference:t,floating:o,strategy:n}),{x:f,y:p}=Mr(s,r,c),d=r,h={},u=0;for(let e=0;e<l.length;e++){const{name:i,fn:y}=l[e],{x:g,y:b,data:m,reset:v}=await y({x:f,y:p,initialPlacement:r,placement:d,strategy:n,middlewareData:h,rects:s,platform:a,elements:{reference:t,floating:o}});f=null!=g?g:f,p=null!=b?b:p,h={...h,[i]:{...h[i],...m}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(s=!0===v.rects?await a.getElementRects({reference:t,floating:o,strategy:n}):v.rects),({x:f,y:p}=Mr(s,d,c))),e=-1)}return{x:f,y:p,placement:d,strategy:n,middlewareData:h}})(t,o,{...n,platform:i})};function Cn(t){return function(t){for(let o=t;o;o=En(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=En(t);o;o=En(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function En(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}async function Rn(t,o,e){return Nn(t,o,{platform:{...wn,getOffsetParent:t=>wn.getOffsetParent(t,Cn)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:o,y:e,placement:n}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=zr(r,t),s={x:o,y:e},f=await Hr(t,c),p=Pr(Br(n)),d=Ar(p);let h=s[d],u=s[p];if(i){const t="y"===d?"bottom":"right";h=$r(h+f["y"===d?"top":"left"],h,h-f[t])}if(a){const t="y"===p?"bottom":"right";u=$r(u+f["y"===p?"top":"left"],u,u-f[t])}const y=l.fn({...t,[d]:h,[p]:u});return{...y,data:{x:y.x-o,y:y.y-e}}}}),Tr({allowedPlacements:[e]})]});var r}var In=Object.freeze({__proto__:null,computeOffsetPosition:Rn});
136
+ */let Yo=class extends zo{constructor(t){if(super(t),this.et=D,t.type!==ko)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===D||null==t)return this.vt=void 0,this.et=t;if(t===j)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:[]}}};Yo.directiveName="unsafeHTML",Yo.resultType=1;const Jo=$o(Yo);var Xo=Object.freeze({__proto__:null,UnsafeHTMLDirective:Yo,unsafeHTML:Jo});class Qo extends Error{constructor(t,o,e){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=e}}class te extends Promise{constructor(t){super(((o,e)=>t((t=>{this.isCanceled?e(new Qo("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?e(new Qo("Promise has been canceled",void 0,t)):e(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const oe=t=>new te(((o,e)=>t.then(o).catch(e)));var ee=Object.freeze({__proto__:null,CancelablePromise:te,CanceledPromiseError:Qo,cancelable:oe});var re=Object.freeze({__proto__:null,CacheRegistry:class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,o){this.loaders[t]=o,this.finalContent.delete(t)}registerFinal(t,o){this.loaders[t]=o,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof te&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,o){this.forceClear(t),this.register(t,(async()=>o)),this.content[t]=o}setFinal(t,o){this.forceClear(t),this.registerFinal(t,(async()=>o)),this.content[t]=o}async get(t,o,e){if(void 0===this.content[t]){if(null==(o=null!=o?o:this.loaders[t]))throw new Error("Unknown cache key "+t);const r=oe(o());return this.content[t]=r,r.then((o=>(this.content[t]=o,null!=e&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),e)),o)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}});class ne{constructor(t,o,e,r){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=e,this.metadataDescriptors=r}static extractResultMetadata(t){var o,e;return(null!==(e=null!==(o=null==t?void 0:t.map)&&void 0!==o?o:null==t?void 0:t.document)&&void 0!==e?e:null==t?void 0:t.topic).metadata.map((t=>ne.flattenMetadata(t)))}static flattenMetadata(t){if(t.hierarchicalValues){const o=[],e=[];return t.hierarchicalValues.forEach((t=>{o.push(t.join(" > ")),t.length>2?e.push(`... > ${t[t.length-1]}`):e.push(t.join(" > "))})),{key:t.key,value:o.join(", "),displayValue:e.join(", ")}}{const o=t.values.join(", ");return{key:t.key,value:o,displayValue:o}}}computeClustersItemsForMetadata(t,o){let e=ne.extractResultMetadata(this.selectedResult).find((o=>o.key===t));const r=this.allResults.flatMap((o=>ne.extractResultMetadata(o).filter((o=>o.key===t)))).filter((t=>!(t.key===(null==e?void 0:e.key)&&t.value===(null==e?void 0:e.value)))).filter(((t,o,e)=>e.findIndex((o=>o.value===t.value))===o));return r.map((o=>({result:this.findBestResultForMetadataValue(t,o.value),metadata:o}))).sort(((e,r)=>this.compareMetadata(e.metadata.value,r.metadata.value,t,o)))}compareMetadata(t,o,e,r){let n=this.metadataDescriptors.find((t=>e==t.key)),i=(null==n?void 0:n.sortRule)||"NONE",a=(null==n?void 0:n.reverseSort)||!1;if("ALPHABET"==i||"VERSION"==i){let e=t.localeCompare(o,r,{numeric:!0});return a?-1*e:e}return 0}findBestResultForMetadataValue(t,o){const e=this.allResults.filter((e=>ne.extractResultMetadata(e).find((e=>e.key===t&&e.value===o))));let r,n=ne.extractResultMetadata(this.selectedResult).filter((t=>this.clusteringMetadata.has(t.key))),i=[...n.filter((o=>o.key!==t))],a=-1;for(let t of e){let o=this.countMatchingMetadata(t,i);if(o>a&&(a=o,r=t,o===i.length))break}return r}countMatchingMetadata(t,o){return ne.extractResultMetadata(t).filter((t=>o.some((o=>o.key===t.key&&o.value===t.value)))).length}}var ie=Object.freeze({__proto__:null,ClusteringHelper:ne});class ae{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,n=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}var le=Object.freeze({__proto__:null,Debouncer:ae});const ce=t=>new Promise((o=>setTimeout(o,t)));async function se(t,o=10,e=2e4){let r,n,i=await t();for(r=n=performance.now();null==i&&(!e||n-r<e);)await ce(o),i=await t(),n=performance.now();if(null==i)throw new Error("Timeout exceeded");return i}function fe(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,((t,o,e,r)=>o+e+":"+r)),new Date(t)}function pe(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,r,n;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!pe(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(!pe(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(n=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,n[r]))return!1;for(r=e;0!=r--;){var i=n[r];if(!pe(t[i],o[i]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}var de=Object.freeze({__proto__:null,dateReviver:function(...t){return function(o,e){return t.includes(o)?fe(e):e}},deepEqual:pe,delay:ce,eventPathContainsMatchingElement:function(t,o,e=window.document.body){if(o.length>0){const r=t.composedPath();for(let t of r){if(t===e)return!1;if(t.matches&&o.some((o=>t.matches(o))))return!0}}return!1},flatDeep:function t(o,e){return o.flatMap((o=>[o,...t(e(o),e)]))},last:function(t){return t[t.length-1]},minmax:function(t,o,e){return Math.min(Math.max(t,o),e)},parseDate:fe,waitFor:se,waitUntil:async function(t,o=10,e=2e4){await se((async()=>await t()||void 0),o,e)}});const ue=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function he(t,o){const e=()=>JSON.parse(JSON.stringify(t));return wo({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)=>!pe(t,o),...null!=o?o:{}})}function ye(t){return!isNaN(parseFloat(t))}var ge=Object.freeze({__proto__:null,customElement:ue,isNumber:ye,jsonProperty:he,optionalNumberProperty:function(t){return wo({type:Object,converter:{fromAttribute:t=>{if(null!=t)return ye(t)?+t:void 0},toAttribute:t=>null==t?void 0:""+t},...null!=t?t:{}})}});const be=t=>"string"==typeof t?pt(t):t;class me{static create(t,o,e,r){const n=t=>be(null!=t?t:r),i=dt`var(${be(t)}, ${n(r)})`;return i.name=t,i.description=o,i.category=e,i.defaultValue=r,i.defaultCssValue=n,i.get=o=>dt`var(${be(t)}, ${n(o)})`,i.breadcrumb=()=>[],i.lastResortDefaultValue=()=>r,i}static extend(t,o,e,r){const n=t=>e.get(null!=t?t:r),i=dt`var(${be(t)}, ${n(r)})`;return i.name=t,i.description=o,i.category=e.category,i.fallbackVariable=e,i.defaultValue=r,i.defaultCssValue=n,i.get=o=>dt`var(${be(t)}, ${n(o)})`,i.breadcrumb=()=>[e.name,...e.breadcrumb()],i.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),i}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):be(null!=o?o:t.lastResortDefaultValue()),r=dt`var(${be(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>dt`var(${be(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const ve={colorWhite:me.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:me.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:me.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:me.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:me.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:me.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:me.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:me.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:me.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:me.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:me.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:me.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:me.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:me.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:me.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:me.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:me.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:me.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:me.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:me.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:me.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:me.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:me.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:me.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:me.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:me.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:me.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:me.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:me.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:me.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:me.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:me.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:me.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:me.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:me.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:me.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:me.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:me.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:me.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:me.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:me.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:me.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:me.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:me.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:me.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:me.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:me.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:me.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:me.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:me.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:me.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:me.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:me.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:me.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:me.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:me.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:me.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:me.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:me.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:me.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:me.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:me.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:me.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:me.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:me.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:me.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:me.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:me.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:me.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:me.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:me.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:me.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:me.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:me.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:me.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:me.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:me.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:me.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:me.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:me.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:me.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:me.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:me.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:me.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:me.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:me.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:me.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:me.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:me.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:me.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:me.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:me.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:me.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:me.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:me.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:me.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:me.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:me.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:me.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:me.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:me.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:me.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:me.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:me.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:me.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:me.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:me.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:me.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:me.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:me.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:me.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:me.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:me.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:me.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:me.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:me.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:me.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:me.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:me.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:me.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:me.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:me.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:me.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:me.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:me.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:me.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:me.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:me.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:me.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:me.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:me.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:me.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:me.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:me.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:me.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:me.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:me.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:me.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:me.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:me.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:me.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:me.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:me.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:me.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:me.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:me.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:me.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:me.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:me.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:me.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:me.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:me.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:me.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:me.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:me.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:me.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:me.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:me.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:me.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:me.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:me.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:me.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:me.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:me.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:me.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:me.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:me.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:me.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:me.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:me.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:me.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:me.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:me.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:me.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:me.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:me.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:me.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:me.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:me.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:me.create("--ft-icon-size-6","","SIZE","48px"),opacity0:me.create("--ft-opacity-0","","NUMBER","0"),opacity8:me.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:me.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:me.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:me.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:me.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:me.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:me.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:me.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:me.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:me.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:me.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:me.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:me.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:me.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)")},Oe={fontFamily:me.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:me.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:me.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:me.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-display-textCase","","UNKNOWN","none")},xe={fontFamily:me.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:me.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:me.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:me.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Se={fontFamily:me.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:me.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:me.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:me.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},we={fontFamily:me.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:me.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:me.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:me.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ce={fontFamily:me.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:me.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:me.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Ne={fontFamily:me.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:me.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Ee={fontFamily:me.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:me.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Re={fontFamily:me.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:me.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Ie={fontFamily:me.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Le={fontFamily:me.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:me.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:me.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},We={fontFamily:me.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Ue={fontFamily:me.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},ke={fontFamily:me.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},$e={fontFamily:me.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:me.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},ze={fontFamily:me.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Fe={fontFamily:me.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Be={fontFamily:me.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:me.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Ae={fontFamily:me.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},_e={fontFamily:me.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Pe={fontFamily:me.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:me.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Me={fontFamily:me.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:me.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Ze={fontFamily:me.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:me.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ke={fontFamily:me.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:me.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:me.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},je={fontFamily:me.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:me.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},De={fontFamily:me.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:me.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},He={fontFamily:me.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:me.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:me.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Te={display:Oe,"title-1":xe,"title-2":Se,"title-3":we,"body-1-regular":Ce,"body-1-medium":Ne,"body-1-semibold":Ee,"body-2-regular":Re,"body-2-medium":Ie,"body-2-medium-underline":Le,"body-2-semibold":We,"label-1-medium":Ue,"label-1-semibold":ke,"label-1-bold":$e,"label-2-medium":ze,"label-2-semibold":Fe,"label-2-bold":Be,"caption-1-medium":Ae,"caption-1-semibold":_e,"caption-1-bold":Pe,"caption-2-medium":Me,"caption-2-semibold":Ze,"caption-2-bold":Ke,"caption-3-medium":je,"caption-3-semibold":De,"caption-3-bold":He},Ge={backgroundActionPrimary:me.extend("--ft-background-action-primary","Used as backgorund of primary action components.",ve.colorBrand0),backgroundErrorSubtle:me.extend("--ft-background-error-subtle","Used as background of subtle error components.",ve.colorRed10),backgroundInfoSubtle:me.extend("--ft-background-info-subtle","Used as background of subtle information components.",ve.colorCyan10),backgroundWarningSubtle:me.extend("--ft-background-warning-subtle","Used as background of subtle information components.",ve.colorOrange10),backgroundSuccessSubtle:me.extend("--ft-background-success-subtle","Used as background of subtle success components.",ve.colorGreen10),backgroundGlobalSurface:me.extend("--ft-background-global-surface","Used as app background.",ve.colorWhite),backgroundGlobalOnSurface:me.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",ve.colorGray10),backgroundGlobalOnSurfaceDark:me.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",ve.colorGray30),contentActionPrimary:me.extend("--ft-content-action-primary","Used on label of primary action on light surface.",ve.colorBrand0),contentWarningPrimary:me.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",ve.colorOrange200),contentWarningIconOnly:me.extend("--ft-content-warning-icon-only","Used on warning status icons alone",ve.colorOrange0),contentErrorPrimary:me.extend("--ft-content-error-primary","Used on label of error messages on light surface.",ve.colorRed0),contentErrorIconOnly:me.extend("--ft-content-error-icon-only","Used on error status icons alone",ve.colorRed70),contentInfoPrimary:me.extend("--ft-content-info-primary","Used on label of information messages on light surface.",ve.colorCyan200),contentInfoIconOnly:me.extend("--ft-content-info-icon-only","Used on info status icons alone",ve.colorCyan0),contentSuccessPrimary:me.extend("--ft-content-success-primary","Used on label of success messages on light surface.",ve.colorGreen200),contentSuccessIconOnly:me.extend("--ft-content-success-icon-only","Used on success status icons alone",ve.colorGreen0),contentGlobalPrimary:me.extend("--ft-content-global-primary","Used for main content on the page.",ve.colorGray500),contentGlobalSecondary:me.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",ve.colorGray200),contentGlobalSubtle:me.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",ve.colorGray0),contentGlobalOnColor:me.extend("--ft-content-global-on-color","Used for content on a dominant color.",ve.colorWhite),borderActionPrimary:me.extend("--ft-border-action-primary","Used as border for primary action components.",ve.colorBrand0),borderActionFocusRing:me.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",ve.colorCyan0),borderWarningPrimary:me.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",ve.colorOrange200),borderWarningSubtle:me.extend("--ft-border-warning-subtle","Used as border for warning components.",ve.colorOrange30),borderSuccessPrimary:me.extend("--ft-border-success-primary","Used as border for success buttons.",ve.colorGreen200),borderSuccessSubtle:me.extend("--ft-border-success-subtle","Used as border for success components.",ve.colorGreen30),borderErrorPrimary:me.extend("--ft-border-error-primary","Used as border for text fields in error states.",ve.colorRed0),borderErrorSubtle:me.extend("--ft-border-error-subtle","Used as border for error components.",ve.colorRed30),borderInfoPrimary:me.extend("--ft-border-info-primary","Used as border for buttons in info color.",ve.colorCyan200),borderInfoSubtle:me.extend("--ft-border-info-subtle","Used as border for information components.",ve.colorCyan30),borderGlobalPrimary:me.extend("--ft-border-global-primary","Used as border for element like input.",ve.colorGray50),borderGlobalSubtle:me.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",ve.colorGray30),borderInputPrimary:me.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",ve.colorGray80)},Ve={largeHeight:me.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:me.extend("--ft-button-large-horizontal-padding","",ve.spacing4),largeGap:me.extend("--ft-button-large-gap","",ve.spacing2),largeBorderRadius:me.extend("--ft-button-large-border-radius","",ve.borderRadiusS),largeIconSize:me.extend("--ft-button-large-icon-size","",ve.iconSize3),largeBorderWidth:me.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:me.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:me.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:me.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:me.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:me.extend("--ft-button-small-horizontal-padding","",ve.spacing3),smallGap:me.extend("--ft-button-small-gap","",ve.spacing2),smallBorderRadius:me.extend("--ft-button-small-border-radius","",ve.borderRadiusS),smallIconSize:me.extend("--ft-button-small-icon-size","",ve.iconSize2),smallBorderWidth:me.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:me.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:me.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:me.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:me.extend("--ft-button-primary-background-color","",Ge.backgroundActionPrimary),primaryColor:me.extend("--ft-button-primary-color","",Ge.contentGlobalOnColor),primaryIconColor:me.extend("--ft-button-primary-icon-color","",Ge.contentGlobalOnColor),primaryStateLayerColor:me.extend("--ft-button-primary-state-layer-color","",Ge.contentGlobalOnColor),primaryHoverStateLayerOpacity:me.extend("--ft-button-primary-hover-state-layer-opacity","",ve.opacity16),primaryFocusStateLayerOpacity:me.extend("--ft-button-primary-focus-state-layer-opacity","",ve.opacity16),primaryActiveStateLayerOpacity:me.extend("--ft-button-primary-active-state-layer-opacity","",ve.opacity24),primaryDisabledComponentOpacity:me.extend("--ft-button-primary-disabled-component-opacity","",ve.opacity40),focusFocusRingColor:me.extend("--ft-button-focus-focus-ring-color","",Ge.borderActionFocusRing),tertiaryBackgroundColor:me.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:me.extend("--ft-button-tertiary-color","",Ge.contentActionPrimary),tertiaryIconColor:me.extend("--ft-button-tertiary-icon-color","",Ge.contentActionPrimary),tertiaryStateLayerColor:me.extend("--ft-button-tertiary-state-layer-color","",Ge.contentActionPrimary),tertiaryHoverStateLayerOpacity:me.extend("--ft-button-tertiary-hover-state-layer-opacity","",ve.opacity8),tertiaryFocusStateLayerOpacity:me.extend("--ft-button-tertiary-focus-state-layer-opacity","",ve.opacity8),tertiaryActiveStateLayerOpacity:me.extend("--ft-button-tertiary-active-state-layer-opacity","",ve.opacity16),tertiaryDisabledComponentOpacity:me.extend("--ft-button-tertiary-disabled-component-opacity","",ve.opacity40),secondaryBackgroundColor:me.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:me.extend("--ft-button-secondary-color","",Ge.contentActionPrimary),secondaryIconColor:me.extend("--ft-button-secondary-icon-color","",Ge.contentActionPrimary),secondaryStateLayerColor:me.extend("--ft-button-secondary-state-layer-color","",Ge.contentActionPrimary),secondaryHoverStateLayerOpacity:me.extend("--ft-button-secondary-hover-state-layer-opacity","",ve.opacity8),secondaryFocusStateLayerOpacity:me.extend("--ft-button-secondary-focus-state-layer-opacity","",ve.opacity8),secondaryActiveStateLayerOpacity:me.extend("--ft-button-secondary-active-state-layer-opacity","",ve.opacity16),secondaryDisabledComponentOpacity:me.extend("--ft-button-secondary-disabled-component-opacity","",ve.opacity40),secondaryBorderColor:me.extend("--ft-button-secondary-border-color","",Ge.borderActionPrimary),neutralBackgroundColor:me.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:me.extend("--ft-button-neutral-icon-color","",Ge.contentGlobalSecondary),neutralColor:me.extend("--ft-button-neutral-color","",Ge.contentGlobalSecondary),neutralStateLayerColor:me.extend("--ft-button-neutral-state-layer-color","",Ge.contentGlobalSecondary),neutralHoverStateLayerOpacity:me.extend("--ft-button-neutral-hover-state-layer-opacity","",ve.opacity8),neutralFocusStateLayerOpacity:me.extend("--ft-button-neutral-focus-state-layer-opacity","",ve.opacity8),neutralActiveStateLayerOpacity:me.extend("--ft-button-neutral-active-state-layer-opacity","",ve.opacity16),neutralDisabledComponentOpacity:me.extend("--ft-button-neutral-disabled-component-opacity","",ve.opacity40)},qe={iconSize:me.extend("--ft-banner-icon-size","",ve.iconSize5),borderWidth:me.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:me.extend("--ft-banner-horizontal-padding","",ve.spacing6),verticalPadding:me.extend("--ft-banner-vertical-padding","",ve.spacing6),horizontalSideGap:me.extend("--ft-banner-horizontal-side-gap","",ve.spacing6),horizontalMobileGap:me.extend("--ft-banner-horizontal-mobile-gap","",ve.spacing4),verticalMobileGap:me.extend("--ft-banner-vertical-mobile-gap","",ve.spacing6),horizontalMiddleGap:me.extend("--ft-banner-horizontal-middle-gap","",ve.spacing20),infoBackgroundColor:me.extend("--ft-banner-info-background-color","",Ge.backgroundInfoSubtle),infoColor:me.extend("--ft-banner-info-color","",Ge.contentInfoPrimary),infoIconColor:me.extend("--ft-banner-info-icon-color","",Ge.contentInfoIconOnly)},Ye={horizontalGap:me.extend("--ft-breadcrumb-horizontal-gap","",ve.spacing1),verticalGap:me.extend("--ft-breadcrumb-vertical-gap","",ve.spacing2),currentElementColor:me.extend("--ft-breadcrumb-current-element-color","",Ge.contentGlobalPrimary),iconColor:me.extend("--ft-breadcrumb-icon-color","",Ge.contentGlobalSubtle)},Je={horizontalPadding:me.extend("--ft-page-header-horizontal-padding","",ve.spacing12),horizontalGap:me.extend("--ft-page-header-horizontal-gap","",ve.spacing4),verticalGap:me.extend("--ft-page-header-vertical-gap","",ve.spacing2),classicVerticalPadding:me.extend("--ft-page-header-classic-vertical-padding","",ve.spacing6),multilineVerticalPadding:me.extend("--ft-page-header-multiline-vertical-padding","",ve.spacing4),inlineVerticalPadding:me.extend("--ft-page-header-inline-vertical-padding","",ve.spacing2),backgroundColor:me.extend("--ft-page-header-background-color","",ve.colorWhite),bottomBorderColor:me.extend("--ft-page-header-bottom-border-color","",Ge.borderGlobalSubtle),titleColor:me.extend("--ft-page-header-title-color","",Ge.contentGlobalPrimary),subtitleColor:me.extend("--ft-page-header-subtitle-color","",Ge.contentGlobalSecondary)},Xe={smallContainerWidth:me.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:me.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:me.extend("--ft-modal-overlay-background-color","",ve.colorGray700),overlayOpacity:me.extend("--ft-modal-overlay-opacity","",ve.opacity40),shadow:me.extend("--ft-modal-shadow","",ve.shadowElevation03),bodyBackgroundColor:me.extend("--ft-modal-body-background-color","",ve.colorWhite),bodyColor:me.extend("--ft-modal-body-color","",Ge.contentGlobalPrimary),bodyHorizontalPadding:me.extend("--ft-modal-body-horizontal-padding","",ve.spacing6),bodyVerticalPadding:me.extend("--ft-modal-body-vertical-padding","",ve.spacing6),bodyVerticalGap:me.extend("--ft-modal-body-vertical-gap","",ve.spacing6),containerMargin:me.extend("--ft-modal-container-margin","",ve.spacing3),headerBackgroundColor:me.extend("--ft-modal-header-background-color","",Ge.backgroundGlobalOnSurface),headerBorderColor:me.extend("--ft-modal-header-border-color","",Ge.borderGlobalSubtle),headerColor:me.extend("--ft-modal-header-color","",Ge.contentGlobalPrimary),headerTrailingIconColor:me.extend("--ft-modal-header-trailing-icon-color","",Ge.contentGlobalSecondary),headerVerticalPadding:me.extend("--ft-modal-header-vertical-padding","",ve.spacing1),headerRightPadding:me.extend("--ft-modal-header-right-padding","",ve.spacing1),headerLeftPadding:me.extend("--ft-modal-header-left-padding","",ve.spacing6),headerGap:me.extend("--ft-modal-header-gap","",ve.spacing2),headerBorderBottom:me.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:me.extend("--ft-modal-border-radius","",ve.borderRadiusM)},Qe={overlayOpacity:me.extend("--ft-drawer-overlay-opacity","",ve.opacity40),shadow:me.extend("--ft-drawer-shadow","",ve.shadowElevation03),bodyColor:me.extend("--ft-drawer-body-color","",Ge.contentGlobalPrimary),bodyHorizontalPadding:me.extend("--ft-drawer-body-horizontal-padding","",ve.spacing6),bodyVerticalPadding:me.extend("--ft-drawer-body-vertical-padding","",ve.spacing6),bodyGap:me.extend("--ft-drawer-body-gap","",ve.spacing6),bodyBackgroundColor:me.extend("--ft-drawer-body-background-color","",ve.colorWhite),headerBackgroundColor:me.extend("--ft-drawer-header-background-color","",Ge.backgroundGlobalOnSurface),headerBorderColor:me.extend("--ft-drawer-header-border-color","",Ge.borderGlobalSubtle),headerColor:me.extend("--ft-drawer-header-color","",Ge.contentGlobalPrimary),headerTrailingIconColor:me.extend("--ft-drawer-header-trailing-icon-color","",Ge.contentGlobalSecondary),headerHeight:me.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:me.extend("--ft-drawer-header-horizontal-padding","",ve.spacing2),headerBorderWidth:me.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:me.extend("--ft-drawer-header-gap","",ve.spacing3),buttonsBarBackgroundColor:me.extend("--ft-drawer-buttons-bar-background-color","",Ge.backgroundGlobalOnSurface),buttonsBarBorderColor:me.extend("--ft-drawer-buttons-bar-border-color","",Ge.borderGlobalSubtle),buttonsBarColor:me.extend("--ft-drawer-buttons-bar-color","",Ge.contentGlobalPrimary),buttonsBarHorizontalPadding:me.extend("--ft-drawer-buttons-bar-horizontal-padding","",ve.spacing4),buttonsBarVerticalPadding:me.extend("--ft-drawer-buttons-bar-vertical-padding","",ve.spacing4),buttonsBarGap:me.extend("--ft-drawer-buttons-bar-gap","",ve.spacing3),buttonsBarBorderWidth:me.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:me.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:me.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:me.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:me.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:me.extend("--ft-drawer-overlay-background-color","",ve.colorGray700)},tr={fieldHorizontalPadding:me.extend("--ft-text-input-field-horizontal-padding","",ve.spacing4),fieldHorizontalGap:me.extend("--ft-text-input-field-horizontal-gap","",ve.spacing3),fieldVerticalGap:me.extend("--ft-text-input-field-vertical-gap","",ve.spacing05),fieldIconSize:me.extend("--ft-text-input-field-icon-size","",ve.iconSize3),fieldHeight:me.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:me.extend("--ft-text-input-helper-horizontal-padding","",ve.spacing4),helperHorizontalGap:me.extend("--ft-text-input-helper-horizontal-gap","",ve.spacing1),helperIconSize:me.extend("--ft-text-input-helper-icon-size","",ve.iconSize2),borderRadius:me.extend("--ft-text-input-border-radius","",ve.borderRadiusM),backgroundColor:me.extend("--ft-text-input-background-color","",ve.colorWhite),contentValueColor:me.extend("--ft-text-input-content-value-color","",Ge.contentGlobalPrimary),trailingIconColor:me.extend("--ft-text-input-trailing-icon-color","",Ge.contentGlobalSubtle),labelColor:me.extend("--ft-text-input-label-color","",Ge.contentGlobalSubtle),defaultBorderColor:me.extend("--ft-text-input-default-border-color","",Ge.borderInputPrimary),defaultHelperTextColor:me.extend("--ft-text-input-default-helper-text-color","",Ge.contentGlobalSubtle),defaultBorderWidth:me.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:me.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:me.extend("--ft-text-input-error-border-color","",Ge.borderErrorPrimary),errorHelperTextColor:me.extend("--ft-text-input-error-helper-text-color","",Ge.contentErrorPrimary),errorHelperIconColor:me.extend("--ft-text-input-error-helper-icon-color","",Ge.contentErrorIconOnly),warningBorderWidth:me.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:me.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:me.extend("--ft-text-input-focus-focus-ring-color","",Ge.borderActionFocusRing),focusOutlineOffset:me.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:me.extend("--ft-text-input-disabled-component-opacity","",ve.opacity40)},or={backgroundColor:me.extend("--ft-text-area-background-color","",ve.colorWhite),contentValueColor:me.extend("--ft-text-area-content-value-color","",Ge.contentGlobalPrimary),labelColor:me.extend("--ft-text-area-label-color","",Ge.contentGlobalSubtle),defaultBorderColor:me.extend("--ft-text-area-default-border-color","",Ge.borderInputPrimary),defaultHelperTextColor:me.extend("--ft-text-area-default-helper-text-color","",Ge.contentGlobalSubtle),defaultBorderWidth:me.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:me.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:me.extend("--ft-text-area-error-border-color","",Ge.borderErrorPrimary),errorHelperTextColor:me.extend("--ft-text-area-error-helper-text-color","",Ge.contentErrorPrimary),errorHelperIconColor:me.extend("--ft-text-area-error-helper-icon-color","",Ge.contentErrorIconOnly),focusFocusRingColor:me.extend("--ft-text-area-focus-focus-ring-color","",Ge.borderActionFocusRing),focusOutlineWidth:me.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:me.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:me.extend("--ft-text-area-disabled-component-opacity","",ve.opacity40),fieldHorizontalLeftPadding:me.extend("--ft-text-area-field-horizontal-left-padding","",ve.spacing4),fieldHorizontalGap:me.extend("--ft-text-area-field-horizontal-gap","",ve.spacing3),fieldVerticalGap:me.extend("--ft-text-area-field-vertical-gap","",ve.spacing05),fieldMinHeight:me.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:me.extend("--ft-text-area-helper-horizontal-padding","",ve.spacing4),helperHorizontalGap:me.extend("--ft-text-area-helper-horizontal-gap","",ve.spacing1),helperIconSize:me.extend("--ft-text-area-helper-icon-size","",ve.iconSize2),borderRadius:me.extend("--ft-text-area-border-radius","",ve.borderRadiusM)},er={height:me.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:me.extend("--ft-floating-menu-horizontal-padding","",ve.spacing4),offIconColor:me.extend("--ft-floating-menu-off-icon-color","",Ge.contentGlobalPrimary),offColor:me.extend("--ft-floating-menu-off-color","",Ge.contentGlobalPrimary),onColor:me.extend("--ft-floating-menu-on-color","",Ge.contentActionPrimary),onStateLayerColor:me.extend("--ft-floating-menu-on-state-layer-color","",Ge.contentActionPrimary),gap:me.extend("--ft-floating-menu-gap","",ve.spacing3),focusFocusRingColor:me.extend("--ft-floating-menu-focus-focus-ring-color","",Ge.borderActionFocusRing),focusOutlineWidth:me.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:me.extend("--ft-floating-menu-focus-state-layer-opacity","",ve.opacity8),hoverStateLayerOpacity:me.extend("--ft-floating-menu-hover-state-layer-opacity","",ve.opacity8),activeStateLayerOpacity:me.extend("--ft-floating-menu-active-state-layer-opacity","",ve.opacity16),disabledComponentOpacity:me.extend("--ft-floating-menu-disabled-component-opacity","",ve.opacity40),iconSize:me.extend("--ft-floating-menu-icon-size","",ve.iconSize3),backgroundColor:me.extend("--ft-floating-menu-background-color","",Ge.backgroundGlobalOnSurface)},rr={fieldHorizontalPadding:me.extend("--ft-combobox-single-select-field-horizontal-padding","",ve.spacing4),fieldHorizontalGap:me.extend("--ft-combobox-single-select-field-horizontal-gap","",ve.spacing3),fieldVerticalGap:me.extend("--ft-combobox-single-select-field-vertical-gap","",ve.spacing05),fieldIconSize:me.extend("--ft-combobox-single-select-field-icon-size","",ve.iconSize3),fieldHeight:me.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:me.extend("--ft-combobox-single-select-helper-horizontal-padding","",ve.spacing4),helperHorizontalGap:me.extend("--ft-combobox-single-select-helper-horizontal-gap","",ve.spacing1),helperVerticalGap:me.extend("--ft-combobox-single-select-helper-vertical-gap","",ve.spacing1),helperIconSize:me.extend("--ft-combobox-single-select-helper-icon-size","",ve.iconSize2),menuVerticalGap:me.extend("--ft-combobox-single-select-menu-vertical-gap","",ve.spacing2),borderRadius:me.extend("--ft-combobox-single-select-border-radius","",ve.borderRadiusM),backgroundColor:me.extend("--ft-combobox-single-select-background-color","",ve.colorWhite),labelColor:me.extend("--ft-combobox-single-select-label-color","",Ge.contentGlobalSubtle),contentValueColor:me.extend("--ft-combobox-single-select-content-value-color","",Ge.contentGlobalPrimary),trailingIconColor:me.extend("--ft-combobox-single-select-trailing-icon-color","",Ge.contentGlobalSubtle),defaultBorderColor:me.extend("--ft-combobox-single-select-default-border-color","",Ge.borderInputPrimary),defaultHelperTextColor:me.extend("--ft-combobox-single-select-default-helper-text-color","",Ge.contentGlobalSubtle),defaultBorderWidth:me.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:me.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:me.extend("--ft-combobox-single-select-error-border-color","",Ge.borderErrorPrimary),errorHelperTextColor:me.extend("--ft-combobox-single-select-error-helper-text-color","",Ge.contentErrorPrimary),warningBorderWidth:me.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:me.extend("--ft-combobox-single-select-warning-border-color","",Ge.borderWarningPrimary),warningHelperTextColor:me.extend("--ft-combobox-single-select-warning-helper-text-color","",Ge.contentWarningPrimary),warningHelperIconColor:me.extend("--ft-combobox-single-select-warning-helper-icon-color","",Ge.contentWarningIconOnly),focusOutlineWidth:me.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:me.extend("--ft-combobox-single-select-focus-focus-ring-color","",Ge.borderActionFocusRing),focusOutlineOffset:me.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:me.extend("--ft-combobox-single-select-disabled-component-opacity","",ve.opacity40)},nr={backgroundColor:me.extend("--ft-combobox-multi-select-background-color","",ve.colorWhite),labelColor:me.extend("--ft-combobox-multi-select-label-color","",Ge.contentGlobalSubtle),trailingIconColor:me.extend("--ft-combobox-multi-select-trailing-icon-color","",Ge.contentGlobalSubtle),defaultBorderColor:me.extend("--ft-combobox-multi-select-default-border-color","",Ge.borderInputPrimary),defaultHelperTextColor:me.extend("--ft-combobox-multi-select-default-helper-text-color","",Ge.contentGlobalSubtle),defaultBorderWidth:me.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:me.extend("--ft-combobox-multi-select-error-border-color","",Ge.borderErrorPrimary),errorHelperTextColor:me.extend("--ft-combobox-multi-select-error-helper-text-color","",Ge.contentErrorPrimary),errorHelperIcon:me.extend("--ft-combobox-multi-select-error-helper-icon","",Ge.contentErrorIconOnly),errorBorderWidth:me.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:me.extend("--ft-combobox-multi-select-warning-border-color","",Ge.borderWarningPrimary),warningHelperTextColor:me.extend("--ft-combobox-multi-select-warning-helper-text-color","",Ge.contentWarningPrimary),warningHelperIconColor:me.extend("--ft-combobox-multi-select-warning-helper-icon-color","",Ge.contentWarningIconOnly),warningBorderWidth:me.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:me.extend("--ft-combobox-multi-select-focus-focus-ring-color","",Ge.borderActionFocusRing),focusOutlineWidth:me.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:me.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:me.extend("--ft-combobox-multi-select-disabled-component-opacity","",ve.opacity40),helperHorizontalPadding:me.extend("--ft-combobox-multi-select-helper-horizontal-padding","",ve.spacing4),helperHorizontalGap:me.extend("--ft-combobox-multi-select-helper-horizontal-gap","",ve.spacing1),helperVerticalGap:me.extend("--ft-combobox-multi-select-helper-vertical-gap","",ve.spacing1),helperIconSize:me.extend("--ft-combobox-multi-select-helper-icon-size","",ve.iconSize2),fieldHorizontalPadding:me.extend("--ft-combobox-multi-select-field-horizontal-padding","",ve.spacing4),fieldHorizontalGap:me.extend("--ft-combobox-multi-select-field-horizontal-gap","",ve.spacing3),fieldVerticalGap:me.extend("--ft-combobox-multi-select-field-vertical-gap","",ve.spacing05),fieldIconSize:me.extend("--ft-combobox-multi-select-field-icon-size","",ve.iconSize3),fieldMaxHeight:me.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:me.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",ve.spacing1),contentValuesVerticalGap:me.extend("--ft-combobox-multi-select-content-values-vertical-gap","",ve.spacing1),borderRadius:me.extend("--ft-combobox-multi-select-border-radius","",ve.borderRadiusM)},ir={backgroundColor:me.extend("--ft-popover-background-color","",Ge.backgroundGlobalOnSurface),horizontalPadding:me.extend("--ft-popover-horizontal-padding","",ve.spacing6),verticalPadding:me.extend("--ft-popover-vertical-padding","",ve.spacing6),iconColor:me.extend("--ft-popover-icon-color","",Ge.contentGlobalSecondary),iconSize:me.extend("--ft-popover-icon-size","",ve.iconSize2),titleColor:me.extend("--ft-popover-title-color","",Ge.contentGlobalPrimary),bodyColor:me.extend("--ft-popover-body-color","",Ge.contentGlobalSecondary),linkColor:me.extend("--ft-popover-link-color","",Ge.contentActionPrimary),gap:me.extend("--ft-popover-gap","",ve.spacing3),borderRadius:me.extend("--ft-popover-border-radius","",ve.borderRadiusM),shadow:me.extend("--ft-popover-shadow","",ve.shadowElevation02)},ar={topLeftBorderRadius:me.extend("--ft-tabs-top-left-border-radius","",ve.borderRadiusS),topRightBorderRadius:me.extend("--ft-tabs-top-right-border-radius","",ve.borderRadiusS),labelHorizontalPadding:me.extend("--ft-tabs-label-horizontal-padding","",ve.spacing4),labelVerticalPadding:me.extend("--ft-tabs-label-vertical-padding","",ve.spacing3),labelGap:me.extend("--ft-tabs-label-gap","",ve.spacing1),offHoverStateLayerOpacity:me.extend("--ft-tabs-off-hover-state-layer-opacity","",ve.opacity8),offFocusStateLayerOpacity:me.extend("--ft-tabs-off-focus-state-layer-opacity","",ve.opacity8),offActiveStateLayerOpacity:me.extend("--ft-tabs-off-active-state-layer-opacity","",ve.opacity16),offDisabledComponentOpacity:me.extend("--ft-tabs-off-disabled-component-opacity","",ve.opacity40),offColor:me.extend("--ft-tabs-off-color","",Ge.contentGlobalSubtle),offStateLayerColor:me.extend("--ft-tabs-off-state-layer-color","",Ge.contentGlobalSubtle),onHoverStateLayerOpacity:me.extend("--ft-tabs-on-hover-state-layer-opacity","",ve.opacity8),onFocusStateLayerOpacity:me.extend("--ft-tabs-on-focus-state-layer-opacity","",ve.opacity8),onActiveStateLayerOpacity:me.extend("--ft-tabs-on-active-state-layer-opacity","",ve.opacity16),onDisabledComponentOpacity:me.extend("--ft-tabs-on-disabled-component-opacity","",ve.opacity40),onColor:me.extend("--ft-tabs-on-color","",Ge.contentActionPrimary),onStateLayerColor:me.extend("--ft-tabs-on-state-layer-color","",Ge.contentActionPrimary),iconHorizontalPadding:me.extend("--ft-tabs-icon-horizontal-padding","",ve.spacing1),iconVerticalPadding:me.extend("--ft-tabs-icon-vertical-padding","",ve.spacing4),focusOutlineWidth:me.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:me.extend("--ft-tabs-focus-focus-ring-color","",Ge.borderActionFocusRing)},lr={hoverStateLayerOpacity:me.extend("--ft-collapsible-hover-state-layer-opacity","",ve.opacity8),focusStateLayerOpacity:me.extend("--ft-collapsible-focus-state-layer-opacity","",ve.opacity8),focusOutlineWidth:me.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:me.extend("--ft-collapsible-focus-focus-ring-color","",Ge.borderActionFocusRing),activeStateLayerOpacity:me.extend("--ft-collapsible-active-state-layer-opacity","",ve.opacity16),disabledComponentOpacity:me.extend("--ft-collapsible-disabled-component-opacity","",ve.opacity40),horizontalPadding:me.extend("--ft-collapsible-horizontal-padding","",ve.spacing4),verticalPadding:me.extend("--ft-collapsible-vertical-padding","",ve.spacing3),color:me.extend("--ft-collapsible-color","",Ge.contentGlobalPrimary),stateLayerColor:me.extend("--ft-collapsible-state-layer-color","",Ge.contentGlobalPrimary),backgroundColor:me.extend("--ft-collapsible-background-color","",Ge.backgroundGlobalOnSurface),borderColor:me.extend("--ft-collapsible-border-color","",Ge.borderGlobalSubtle),iconSize:me.extend("--ft-collapsible-icon-size","",ve.iconSize3)},cr={groupHorizontalPadding:me.extend("--ft-switch-group-horizontal-padding","",ve.spacing1),groupVerticalPadding:me.extend("--ft-switch-group-vertical-padding","",ve.spacing1),groupGap:me.extend("--ft-switch-group-gap","",ve.spacing1),groupBackgroundColor:me.extend("--ft-switch-group-background-color","",Ge.backgroundGlobalSurface),groupBorderColor:me.extend("--ft-switch-group-border-color","",Ge.borderGlobalSubtle),groupBorderRadius:me.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:me.extend("--ft-switch-label-horizontal-padding","",ve.spacing2),labelVerticalPadding:me.extend("--ft-switch-label-vertical-padding","",ve.spacing1),offHoverStateLayerOpacity:me.extend("--ft-switch-off-hover-state-layer-opacity","",ve.opacity8),offFocusStateLayerOpacity:me.extend("--ft-switch-off-focus-state-layer-opacity","",ve.opacity8),offActiveStateLayerOpacity:me.extend("--ft-switch-off-active-state-layer-opacity","",ve.opacity16),offDisabledComponentOpacity:me.extend("--ft-switch-off-disabled-component-opacity","",ve.opacity40),offColor:me.extend("--ft-switch-off-color","",Ge.contentGlobalSubtle),offStateLayerColor:me.extend("--ft-switch-off-state-layer-color","",Ge.contentGlobalSubtle),onHoverStateLayerOpacity:me.extend("--ft-switch-on-hover-state-layer-opacity","",ve.opacity8),onFocusStateLayerOpacity:me.extend("--ft-switch-on-focus-state-layer-opacity","",ve.opacity8),onActiveStateLayerOpacity:me.extend("--ft-switch-on-active-state-layer-opacity","",ve.opacity16),onDisabledComponentOpacity:me.extend("--ft-switch-on-disabled-component-opacity","",ve.opacity40),onColor:me.extend("--ft-switch-on-color","",Ge.contentActionPrimary),onStateLayerColor:me.extend("--ft-switch-on-state-layer-color","",Ge.contentActionPrimary),iconHorizontalPadding:me.extend("--ft-switch-icon-horizontal-padding","",ve.spacing1),iconVerticalPadding:me.extend("--ft-switch-icon-vertical-padding","",ve.spacing1),focusOutlineWidth:me.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:me.extend("--ft-switch-focus-focus-ring-color","",Ge.borderActionFocusRing),optionBorderRadius:me.extend("--ft-switch-option-border-radius","",ve.borderRadiusS)},sr={color1Light:me.extend("--ft-chart-1-light","for area color charts",ve.colorBrand40),color1Base:me.extend("--ft-chart-1-base","for line charts",ve.colorBrand0),color2Light:me.extend("--ft-chart-2-light","for area color charts",ve.colorYellow60),color2Base:me.extend("--ft-chart-2-base","for line charts",ve.colorYellow100),color3Light:me.extend("--ft-chart-3-light","",ve.colorUltramarine40),color3Base:me.extend("--ft-chart-3-base","",ve.colorUltramarine70),color4Light:me.extend("--ft-chart-4-light","",ve.colorCyan50),color4Base:me.extend("--ft-chart-4-base","",ve.colorCyan100),color5Light:me.extend("--ft-chart-5-light","",ve.colorRed40),color5Base:me.extend("--ft-chart-5-base","",ve.colorRed60),color6Light:me.extend("--ft-chart-6-light","",ve.colorGreen40),color6Base:me.extend("--ft-chart-6-base","",ve.colorGreen70),color7Light:me.extend("--ft-chart-7-light","",ve.colorOrange70),color7Base:me.extend("--ft-chart-7-base","",ve.colorOrange100),color8Light:me.extend("--ft-chart-8-light","",ve.colorAvocado70),color8Base:me.extend("--ft-chart-8-base","",ve.colorAvocado200),color9Light:me.extend("--ft-chart-9-light","",ve.colorBrown50),color9Base:me.extend("--ft-chart-9-base","",ve.colorBrown200),color10Light:me.extend("--ft-chart-10-light","",ve.colorGray50),color10Base:me.extend("--ft-chart-10-base","",ve.colorGray80),monochrome10:me.extend("--ft-chart-monochrome-10","",ve.colorBrand10),monochrome20:me.extend("--ft-chart-monochrome-20","",ve.colorBrand20),monochrome30:me.extend("--ft-chart-monochrome-30","",ve.colorBrand40),monochrome40:me.extend("--ft-chart-monochrome-40","",ve.colorBrand60),monochrome50:me.extend("--ft-chart-monochrome-50","",ve.colorBrand0),monochrome60:me.extend("--ft-chart-monochrome-60","",ve.colorBrand200)},fr={largeHorizontalPadding:me.extend("--ft-chip-large-horizontal-padding","",ve.spacing4),largeVerticalPadding:me.extend("--ft-chip-large-vertical-padding","",ve.spacing2),largeGap:me.extend("--ft-chip-large-gap","",ve.spacing1),largeFocusOutlineOffset:me.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:me.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:me.extend("--ft-chip-large-border-radius","",ve.borderRadiusPill),largeBorderWidth:me.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:me.extend("--ft-chip-large-icon-size","",ve.iconSize3),mediumHorizontalPadding:me.extend("--ft-chip-medium-horizontal-padding","",ve.spacing3),mediumVerticalPadding:me.extend("--ft-chip-medium-vertical-padding","",ve.spacing1),mediumGap:me.extend("--ft-chip-medium-gap","",ve.spacing1),mediumFocusOutlineOffset:me.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:me.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:me.extend("--ft-chip-medium-border-radius","",ve.borderRadiusPill),mediumBorderWidth:me.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:me.extend("--ft-chip-medium-icon-size","",ve.iconSize2),smallHorizontalPadding:me.extend("--ft-chip-small-horizontal-padding","",ve.spacing2),smallVerticalPadding:me.extend("--ft-chip-small-vertical-padding","",ve.spacing05),smallGap:me.extend("--ft-chip-small-gap","",ve.spacing1),smallFocusOutlineOffset:me.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:me.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:me.extend("--ft-chip-small-border-radius","",ve.borderRadiusPill),smallBorderWidth:me.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:me.extend("--ft-chip-small-icon-size","",ve.iconSize1),neutralBackgroundColor:me.extend("--ft-chip-neutral-background-color","",Ge.backgroundGlobalOnSurface),neutralColor:me.extend("--ft-chip-neutral-color","",Ge.contentGlobalPrimary),neutralIconColor:me.extend("--ft-chip-neutral-icon-color","",Ge.contentGlobalPrimary),neutralBorderColor:me.extend("--ft-chip-neutral-border-color","",Ge.borderGlobalSubtle),infoBackgroundColor:me.extend("--ft-chip-info-background-color","",Ge.backgroundInfoSubtle),infoColor:me.extend("--ft-chip-info-color","",Ge.contentInfoPrimary),infoIconColor:me.extend("--ft-chip-info-icon-color","",Ge.contentInfoIconOnly),infoBorderColor:me.extend("--ft-chip-info-border-color","",Ge.borderInfoSubtle),successBackgroundColor:me.extend("--ft-chip-success-background-color","",Ge.backgroundSuccessSubtle),successColor:me.extend("--ft-chip-success-color","",Ge.contentSuccessPrimary),successIconColor:me.extend("--ft-chip-success-icon-color","",Ge.contentSuccessIconOnly),successBorderColor:me.extend("--ft-chip-success-border-color","",Ge.borderSuccessSubtle),warningBackgroundColor:me.extend("--ft-chip-warning-background-color","",Ge.backgroundWarningSubtle),warningColor:me.extend("--ft-chip-warning-color","",Ge.contentWarningPrimary),warningIconColor:me.extend("--ft-chip-warning-icon-color","",Ge.contentWarningIconOnly),warningBorderColor:me.extend("--ft-chip-warning-border-color","",Ge.borderWarningSubtle),errorBackgroundColor:me.extend("--ft-chip-error-background-color","",Ge.backgroundErrorSubtle),errorColor:me.extend("--ft-chip-error-color","",Ge.contentErrorPrimary),errorIconColor:me.extend("--ft-chip-error-icon-color","",Ge.contentErrorIconOnly),errorBorderColor:me.extend("--ft-chip-error-border-color","",Ge.borderErrorSubtle)},pr={infoBorderColor:me.extend("--ft-border-info-border-color","",Ge.borderInfoSubtle)},dr={borderWidth:me.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:me.extend("--ft-notice-horizontal-padding","",ve.spacing2),verticalPadding:me.extend("--ft-notice-vertical-padding","",ve.spacing1),borderRadius:me.extend("--ft-notice-border-radius","",ve.borderRadiusS),gap:me.extend("--ft-notice-gap","",ve.spacing2),iconSize:me.extend("--ft-notice-icon-size","",ve.iconSize3),infoBackgroundColor:me.extend("--ft-notice-info-background-color","",Ge.backgroundInfoSubtle),infoBorderColor:me.extend("--ft-notice-info-border-color","",Ge.borderInfoSubtle),infoColor:me.extend("--ft-notice-info-color","",Ge.contentInfoPrimary),infoIconColor:me.extend("--ft-notice-info-icon-color","",Ge.contentInfoIconOnly),warningBackgroundColor:me.extend("--ft-notice-warning-background-color","",Ge.backgroundWarningSubtle),warningBorderColor:me.extend("--ft-notice-warning-border-color","",Ge.borderWarningSubtle),warningColor:me.extend("--ft-notice-warning-color","",Ge.contentWarningPrimary),warningIconColor:me.extend("--ft-notice-warning-icon-color","",Ge.contentWarningIconOnly),errorBackgroundColor:me.extend("--ft-notice-error-background-color","",Ge.backgroundErrorSubtle),errorBorderColor:me.extend("--ft-notice-error-border-color","",Ge.borderErrorSubtle),errorColor:me.extend("--ft-notice-error-color","",Ge.contentErrorPrimary),errorIconColor:me.extend("--ft-notice-error-icon-color","",Ge.contentErrorIconOnly),successBackgroundColor:me.extend("--ft-notice-success-background-color","",Ge.backgroundSuccessSubtle),successBorderColor:me.extend("--ft-notice-success-border-color","",Ge.borderSuccessSubtle),successColor:me.extend("--ft-notice-success-color","",Ge.contentSuccessPrimary),successIconColor:me.extend("--ft-notice-success-icon-color","",Ge.contentSuccessIconOnly)},ur={color:me.extend("--ft-checkbox-color","",Ge.contentGlobalPrimary),checkedBackgroundColor:me.extend("--ft-checkbox-checked-background-color","",Ge.contentActionPrimary),checkedStateLayerColor:me.extend("--ft-checkbox-checked-state-layer-color","",Ge.contentActionPrimary),checkedIconColor:me.extend("--ft-checkbox-checked-icon-color","",Ge.contentGlobalOnColor),checkedHoverStateLayerOpacity:me.extend("--ft-checkbox-checked-hover-state-layer-opacity","",ve.opacity16),checkedFocusStateLayerOpacity:me.extend("--ft-checkbox-checked-focus-state-layer-opacity","",ve.opacity16),checkedActiveStateLayerOpacity:me.extend("--ft-checkbox-checked-active-state-layer-opacity","",ve.opacity24),checkedDisabledComponentOpacity:me.extend("--ft-checkbox-checked-disabled-component-opacity","",ve.opacity40),uncheckedBorderColor:me.extend("--ft-checkbox-unchecked-border-color","",ve.colorGray80),uncheckedStateLayerColor:me.extend("--ft-checkbox-unchecked-state-layer-color","",ve.colorGray80),uncheckedHoverStateLayerOpacity:me.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",ve.opacity16),uncheckedFocusStateLayerOpacity:me.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",ve.opacity16),uncheckedActiveStateLayerOpacity:me.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",ve.opacity24),uncheckedDisabledComponentOpacity:me.extend("--ft-checkbox-unchecked-disabled-component-opacity","",ve.opacity40),focusFocusRingColor:me.extend("--ft-checkbox-focus-focus-ring-color","",Ge.borderActionFocusRing),focusOutlineOffset:me.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:me.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:me.extend("--ft-checkbox-gap","",ve.spacing3)},hr={offHoverStateLayerOpacity:me.extend("--ft-toggle-off-hover-state-layer-opacity","",ve.opacity16),offFocusStateLayerOpacity:me.extend("--ft-toggle-off-focus-state-layer-opacity","",ve.opacity16),offActiveStateLayerOpacity:me.extend("--ft-toggle-off-active-state-layer-opacity","",ve.opacity24),offDisabledComponentOpacity:me.extend("--ft-toggle-off-disabled-component-opacity","",ve.opacity40),offBackgroundColor:me.extend("--ft-toggle-off-background-color","",Ge.contentGlobalSubtle),offIconColor:me.extend("--ft-toggle-off-icon-color","",Ge.contentGlobalSubtle),offStateLayerColor:me.extend("--ft-toggle-off-state-layer-color","",Ge.contentGlobalSubtle),onHoverStateLayerOpacity:me.extend("--ft-toggle-on-hover-state-layer-opacity","",ve.opacity16),onFocusStateLayerOpacity:me.extend("--ft-toggle-on-focus-state-layer-opacity","",ve.opacity16),onActiveStateLayerOpacity:me.extend("--ft-toggle-on-active-state-layer-opacity","",ve.opacity24),onDisabledComponentOpacity:me.extend("--ft-toggle-on-disabled-component-opacity","",ve.opacity40),onBackgroundColor:me.extend("--ft-toggle-on-background-color","",Ge.contentActionPrimary),onStateLayerColor:me.extend("--ft-toggle-on-state-layer-color","",Ge.contentActionPrimary),onIconColor:me.extend("--ft-toggle-on-icon-color","",Ge.contentActionPrimary),color:me.extend("--ft-toggle-color","",Ge.contentGlobalPrimary),focusFocusRingColor:me.extend("--ft-toggle-focus-focus-ring-color","",Ge.borderActionFocusRing),gap:me.extend("--ft-toggle-gap","",ve.spacing3)},yr={color:me.extend("--ft-radio-color","",Ge.contentGlobalPrimary),selectedRadioColor:me.extend("--ft-radio-selected-radio-color","",Ge.contentActionPrimary),selectedStateLayerColor:me.extend("--ft-radio-selected-state-layer-color","",Ge.contentActionPrimary),selectedHoverStateLayerOpacity:me.extend("--ft-radio-selected-hover-state-layer-opacity","",ve.opacity16),selectedFocusStateLayerOpacity:me.extend("--ft-radio-selected-focus-state-layer-opacity","",ve.opacity16),selectedActiveStateLayerOpacity:me.extend("--ft-radio-selected-active-state-layer-opacity","",ve.opacity24),selectedDisabledComponentOpacity:me.extend("--ft-radio-selected-disabled-component-opacity","",ve.opacity40),unselectedStateLayerColor:me.extend("--ft-radio-unselected-state-layer-color","",Ge.borderInputPrimary),unselectedBorderColor:me.extend("--ft-radio-unselected-border-color","",Ge.borderInputPrimary),unselectedHoverStateLayerOpacity:me.extend("--ft-radio-unselected-hover-state-layer-opacity","",ve.opacity16),unselectedFocusStateLayerOpacity:me.extend("--ft-radio-unselected-focus-state-layer-opacity","",ve.opacity16),unselectedActiveStateLayerOpacity:me.extend("--ft-radio-unselected-active-state-layer-opacity","",ve.opacity24),unselectedDisabledComponentOpacity:me.extend("--ft-radio-unselected-disabled-component-opacity","",ve.opacity40),focusFocusRingColor:me.extend("--ft-radio-focus-focus-ring-color","",Ge.borderActionFocusRing),focusOutlineOffset:me.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:me.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:me.extend("--ft-radio-gap","",ve.spacing3)},gr={iconSize:me.extend("--ft-notification-icon-size","",ve.iconSize4),horizontalPadding:me.extend("--ft-notification-horizontal-padding","",ve.spacing4),verticalPadding:me.extend("--ft-notification-vertical-padding","",ve.spacing4),infoBackgroundColor:me.extend("--ft-notification-info-background-color","",Ge.backgroundInfoSubtle),infoColor:me.extend("--ft-notification-info-color","",Ge.contentInfoPrimary),infoIconColor:me.extend("--ft-notification-info-icon-color","",Ge.contentInfoIconOnly),infoBorderColor:me.extend("--ft-notification-info-border-color","",Ge.borderInfoSubtle),successBackgroundColor:me.extend("--ft-notification-success-background-color","",Ge.backgroundSuccessSubtle),successColor:me.extend("--ft-notification-success-color","",Ge.contentSuccessPrimary),successIconColor:me.extend("--ft-notification-success-icon-color","",Ge.contentSuccessIconOnly),successBorderColor:me.extend("--ft-notification-success-border-color","",Ge.borderSuccessSubtle),warningBackgroundColor:me.extend("--ft-notification-warning-background-color","",Ge.backgroundWarningSubtle),warningColor:me.extend("--ft-notification-warning-color","",Ge.contentWarningPrimary),warningIconColor:me.extend("--ft-notification-warning-icon-color","",Ge.contentWarningIconOnly),warningBorderColor:me.extend("--ft-notification-warning-border-color","",Ge.borderWarningSubtle),errorBackgroundColor:me.extend("--ft-notification-error-background-color","",Ge.backgroundErrorSubtle),errorColor:me.extend("--ft-notification-error-color","",Ge.contentErrorPrimary),errorIconColor:me.extend("--ft-notification-error-icon-color","",Ge.contentErrorIconOnly),errorBorderColor:me.extend("--ft-notification-error-border-color","",Ge.borderErrorSubtle),borderRadius:me.extend("--ft-notification-border-radius","",ve.borderRadiusPill),borderWidth:me.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:me.extend("--ft-notification-leading-gap","",ve.spacing2),trailingGap:me.extend("--ft-notification-trailing-gap","",ve.spacing8)},br={horizontalPadding:me.extend("--ft-tooltip-horizontal-padding","",ve.spacing2),verticalPadding:me.extend("--ft-tooltip-vertical-padding","",ve.spacing2),borderRadius:me.extend("--ft-tooltip-border-radius","",ve.borderRadiusS),color:me.extend("--ft-tooltip-color","",Ge.contentGlobalOnColor),backgroundColor:me.extend("--ft-tooltip-background-color","",Ge.contentGlobalPrimary),backgroundOpacity:me.extend("--ft-tooltip-background-opacity","",ve.opacity80),shadow:me.extend("--ft-tooltip-shadow","",ve.shadowElevation03),maxWidth:me.create("--ft-tooltip-max-width","","SIZE","256px"),gap:me.extend("--ft-tooltip-gap","",ve.spacing05)};var mr=Object.freeze({__proto__:null,FtCssVariableFactory:me,banner:qe,border:pr,breadcrumb:Ye,button:Ve,chart:sr,checkbox:ur,chip:fr,collapsible:lr,comboboxMultiSelect:nr,comboboxSingleSelect:rr,drawer:Qe,floatingMenu:er,foundation:ve,modal:Xe,notice:dr,notification:gr,pageHeader:Je,popover:ir,radio:yr,semantic:Ge,setVariable:function(t,o){return be(`${t.name}: ${o}`)},switch_:cr,tabs:ar,textArea:or,textInput:tr,toggle:hr,tooltip:br,typographies:Te,typographyBody1Medium:Ne,typographyBody1Regular:Ce,typographyBody1Semibold:Ee,typographyBody2Medium:Ie,typographyBody2MediumUnderline:Le,typographyBody2Regular:Re,typographyBody2Semibold:We,typographyCaption1Bold:Pe,typographyCaption1Medium:Ae,typographyCaption1Semibold:_e,typographyCaption2Bold:Ke,typographyCaption2Medium:Me,typographyCaption2Semibold:Ze,typographyCaption3Bold:He,typographyCaption3Medium:je,typographyCaption3Semibold:De,typographyDisplay:Oe,typographyLabel1Bold:$e,typographyLabel1Medium:Ue,typographyLabel1Semibold:ke,typographyLabel2Bold:Be,typographyLabel2Medium:ze,typographyLabel2Semibold:Fe,typographyTitle1:xe,typographyTitle2:Se,typographyTitle3:we,typographyVariants:["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"]});const vr={colorPrimary:me.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:me.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:me.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:me.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:me.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:me.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:me.create("--ft-color-error","","COLOR","#B00020"),colorOutline:me.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:me.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:me.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:me.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:me.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:me.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:me.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:me.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:me.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:me.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:me.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:me.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:me.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:me.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:me.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:me.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:me.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:me.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:me.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:me.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:me.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:me.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:me.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:me.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:me.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:me.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:me.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:me.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:me.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:me.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:me.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:me.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:me.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:me.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:me.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:me.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:me.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:me.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:me.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:me.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:me.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:me.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:me.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:me.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:me.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:me.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:me.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:me.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:me.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:me.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:me.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:me.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:me.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:me.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:me.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Or=Object.freeze({__proto__:null,designSystemVariables:vr});class xr extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class Sr extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class wr extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var Cr=Object.freeze({__proto__:null,FtNotificationEvent:xr,PostResizeEvent:wr,PreResizeEvent:Sr});const Nr=["start","end"],Er=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Nr[0],o+"-"+Nr[1])),[]),Rr=Math.min,Ir=Math.max,Lr=Math.round,Wr=t=>({x:t,y:t}),Ur={left:"right",right:"left",bottom:"top",top:"bottom"},kr={start:"end",end:"start"};function $r(t,o,e){return Ir(t,Rr(o,e))}function zr(t,o){return"function"==typeof t?t(o):t}function Fr(t){return t.split("-")[0]}function Br(t){return t.split("-")[1]}function Ar(t){return"x"===t?"y":"x"}function _r(t){return"y"===t?"height":"width"}function Pr(t){return["top","bottom"].includes(Fr(t))?"y":"x"}function Mr(t){return Ar(Pr(t))}function Zr(t){return t.replace(/left|right|bottom|top/g,(t=>Ur[t]))}function Kr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function jr(t,o,e){let{reference:r,floating:n}=t;const i=Pr(o),a=Mr(o),l=_r(a),c=Fr(o),s="y"===i,f=r.x+r.width/2-n.width/2,p=r.y+r.height/2-n.height/2,d=r[l]/2-n[l]/2;let u;switch(c){case"top":u={x:f,y:r.y-n.height};break;case"bottom":u={x:f,y:r.y+r.height};break;case"right":u={x:r.x+r.width,y:p};break;case"left":u={x:r.x-n.width,y:p};break;default:u={x:r.x,y:r.y}}switch(Br(o)){case"start":u[a]-=d*(e&&s?-1:1);break;case"end":u[a]+=d*(e&&s?-1:1)}return u}async function Dr(t,o){var e;void 0===o&&(o={});const{x:r,y:n,platform:i,rects:a,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:d=!1,padding:u=0}=zr(o,t),h=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(u),y=l[d?"floating"===p?"reference":"floating":p],g=Kr(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(y)))||e?y:y.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:s,rootBoundary:f,strategy:c})),b="floating"===p?{...a.floating,x:r,y:n}:a.reference,m=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),v=await(null==i.isElement?void 0:i.isElement(m))&&await(null==i.getScale?void 0:i.getScale(m))||{x:1,y:1},O=Kr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(g.top-O.top+h.top)/v.y,bottom:(O.bottom-g.bottom+h.bottom)/v.y,left:(g.left-O.left+h.left)/v.x,right:(O.right-g.right+h.right)/v.x}}function Hr(t,o,e){return(t?[...e.filter((o=>Br(o)===t)),...e.filter((o=>Br(o)!==t))]:e.filter((t=>Fr(t)===t))).filter((e=>!t||(Br(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>kr[t]))}(e)!==e)))}const Tr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,n;const{rects:i,middlewareData:a,placement:l,platform:c,elements:s}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:d=Er,autoAlignment:u=!0,...h}=zr(t,o),y=void 0!==p||d===Er?Hr(p||null,u,d):d,g=await Dr(o,h),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const v=function(t,o,e){void 0===e&&(e=!1);const r=Br(t),n=Mr(t),i=_r(n);let a="x"===n?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[i]>o.floating[i]&&(a=Zr(a)),[a,Zr(a)]}(m,i,await(null==c.isRTL?void 0:c.isRTL(s.floating)));if(l!==m)return{reset:{placement:y[0]}};const O=[g[Fr(m)],g[v[0]],g[v[1]]],x=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],S=y[b+1];if(S)return{data:{index:b+1,overflows:x},reset:{placement:S}};const w=x.map((t=>{const o=Br(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),C=w.filter((t=>t[2].slice(0,Br(t[0])?2:3).every((t=>t<=0)))),N=(null==(n=C[0])?void 0:n[0])||w[0][0];return N!==l?{data:{index:b+1,overflows:x},reset:{placement:N}}:{}}}};function Gr(t){return Yr(t)?(t.nodeName||"").toLowerCase():"#document"}function Vr(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function qr(t){var o;return null==(o=(Yr(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Yr(t){return t instanceof Node||t instanceof Vr(t).Node}function Jr(t){return t instanceof Element||t instanceof Vr(t).Element}function Xr(t){return t instanceof HTMLElement||t instanceof Vr(t).HTMLElement}function Qr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Vr(t).ShadowRoot)}function tn(t){const{overflow:o,overflowX:e,overflowY:r,display:n}=an(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(n)}function on(t){return["table","td","th"].includes(Gr(t))}function en(t){const o=rn(),e=an(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function rn(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function nn(t){return["html","body","#document"].includes(Gr(t))}function an(t){return Vr(t).getComputedStyle(t)}function ln(t){return Jr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function cn(t){if("html"===Gr(t))return t;const o=t.assignedSlot||t.parentNode||Qr(t)&&t.host||qr(t);return Qr(o)?o.host:o}function sn(t){const o=cn(t);return nn(o)?t.ownerDocument?t.ownerDocument.body:t.body:Xr(o)&&tn(o)?o:sn(o)}function fn(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const n=sn(t),i=n===(null==(r=t.ownerDocument)?void 0:r.body),a=Vr(n);return i?o.concat(a,a.visualViewport||[],tn(n)?n:[],a.frameElement&&e?fn(a.frameElement):[]):o.concat(n,fn(n,[],e))}function pn(t){const o=an(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const n=Xr(t),i=n?t.offsetWidth:e,a=n?t.offsetHeight:r,l=Lr(e)!==i||Lr(r)!==a;return l&&(e=i,r=a),{width:e,height:r,$:l}}function dn(t){return Jr(t)?t:t.contextElement}function un(t){const o=dn(t);if(!Xr(o))return Wr(1);const e=o.getBoundingClientRect(),{width:r,height:n,$:i}=pn(o);let a=(i?Lr(e.width):e.width)/r,l=(i?Lr(e.height):e.height)/n;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const hn=Wr(0);function yn(t){const o=Vr(t);return rn()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:hn}function gn(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const n=t.getBoundingClientRect(),i=dn(t);let a=Wr(1);o&&(r?Jr(r)&&(a=un(r)):a=un(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Vr(t))&&o}(i,e,r)?yn(i):Wr(0);let c=(n.left+l.x)/a.x,s=(n.top+l.y)/a.y,f=n.width/a.x,p=n.height/a.y;if(i){const t=Vr(i),o=r&&Jr(r)?Vr(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=un(e),o=e.getBoundingClientRect(),r=an(e),n=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,i=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,s*=t.y,f*=t.x,p*=t.y,c+=n,s+=i,e=Vr(e).frameElement}}return Kr({width:f,height:p,x:c,y:s})}function bn(t){return gn(qr(t)).left+ln(t).scrollLeft}function mn(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Vr(t),r=qr(t),n=e.visualViewport;let i=r.clientWidth,a=r.clientHeight,l=0,c=0;if(n){i=n.width,a=n.height;const t=rn();(!t||t&&"fixed"===o)&&(l=n.offsetLeft,c=n.offsetTop)}return{width:i,height:a,x:l,y:c}}(t,e);else if("document"===o)r=function(t){const o=qr(t),e=ln(t),r=t.ownerDocument.body,n=Ir(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),i=Ir(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+bn(t);const l=-e.scrollTop;return"rtl"===an(r).direction&&(a+=Ir(o.clientWidth,r.clientWidth)-n),{width:n,height:i,x:a,y:l}}(qr(t));else if(Jr(o))r=function(t,o){const e=gn(t,!0,"fixed"===o),r=e.top+t.clientTop,n=e.left+t.clientLeft,i=Xr(t)?un(t):Wr(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:n*i.x,y:r*i.y}}(o,e);else{const e=yn(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return Kr(r)}function vn(t,o){const e=cn(t);return!(e===o||!Jr(e)||nn(e))&&("fixed"===an(e).position||vn(e,o))}function On(t,o,e){const r=Xr(o),n=qr(o),i="fixed"===e,a=gn(t,!0,i,o);let l={scrollLeft:0,scrollTop:0};const c=Wr(0);if(r||!r&&!i)if(("body"!==Gr(o)||tn(n))&&(l=ln(o)),r){const t=gn(o,!0,i,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else n&&(c.x=bn(n));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function xn(t,o){return Xr(t)&&"fixed"!==an(t).position?o?o(t):t.offsetParent:null}function Sn(t,o){const e=Vr(t);if(!Xr(t))return e;let r=xn(t,o);for(;r&&on(r)&&"static"===an(r).position;)r=xn(r,o);return r&&("html"===Gr(r)||"body"===Gr(r)&&"static"===an(r).position&&!en(r))?e:r||function(t){let o=cn(t);for(;Xr(o)&&!nn(o);){if(en(o))return o;o=cn(o)}return null}(t)||e}const wn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const n=Xr(e),i=qr(e);if(e===i)return o;let a={scrollLeft:0,scrollTop:0},l=Wr(1);const c=Wr(0);if((n||!n&&"fixed"!==r)&&(("body"!==Gr(e)||tn(i))&&(a=ln(e)),Xr(e))){const t=gn(e);l=un(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+c.x,y:o.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:qr,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:n}=t;const i=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=fn(t,[],!1).filter((t=>Jr(t)&&"body"!==Gr(t))),n=null;const i="fixed"===an(t).position;let a=i?cn(t):t;for(;Jr(a)&&!nn(a);){const o=an(a),e=en(a);e||"fixed"!==o.position||(n=null),(i?!e&&!n:!e&&"static"===o.position&&n&&["absolute","fixed"].includes(n.position)||tn(a)&&!e&&vn(t,a))?r=r.filter((t=>t!==a)):n=o,a=cn(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=i[0],l=i.reduce(((t,e)=>{const r=mn(o,e,n);return t.top=Ir(r.top,t.top),t.right=Rr(r.right,t.right),t.bottom=Rr(r.bottom,t.bottom),t.left=Ir(r.left,t.left),t}),mn(o,a,n));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Sn,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const n=this.getOffsetParent||Sn,i=this.getDimensions;return{reference:On(o,await n(e),r),floating:{x:0,y:0,...await i(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return pn(t)},getScale:un,isElement:Jr,isRTL:function(t){return"rtl"===an(t).direction}},Cn=(t,o,e)=>{const r=new Map,n={platform:wn,...e},i={...n.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:n="absolute",middleware:i=[],platform:a}=e,l=i.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(o));let s=await a.getElementRects({reference:t,floating:o,strategy:n}),{x:f,y:p}=jr(s,r,c),d=r,u={},h=0;for(let e=0;e<l.length;e++){const{name:i,fn:y}=l[e],{x:g,y:b,data:m,reset:v}=await y({x:f,y:p,initialPlacement:r,placement:d,strategy:n,middlewareData:u,rects:s,platform:a,elements:{reference:t,floating:o}});f=null!=g?g:f,p=null!=b?b:p,u={...u,[i]:{...u[i],...m}},v&&h<=50&&(h++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(s=!0===v.rects?await a.getElementRects({reference:t,floating:o,strategy:n}):v.rects),({x:f,y:p}=jr(s,d,c))),e=-1)}return{x:f,y:p,placement:d,strategy:n,middlewareData:u}})(t,o,{...n,platform:i})};function Nn(t){return function(t){for(let o=t;o;o=En(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=En(t);o;o=En(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function En(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}async function Rn(t,o,e){return Cn(t,o,{platform:{...wn,getOffsetParent:t=>wn.getOffsetParent(t,Nn)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:o,y:e,placement:n}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=zr(r,t),s={x:o,y:e},f=await Dr(t,c),p=Pr(Fr(n)),d=Ar(p);let u=s[d],h=s[p];if(i){const t="y"===d?"bottom":"right";u=$r(u+f["y"===d?"top":"left"],u,u-f[t])}if(a){const t="y"===p?"bottom":"right";h=$r(h+f["y"===p?"top":"left"],h,h-f[t])}const y=l.fn({...t,[d]:u,[p]:h});return{...y,data:{x:y.x-o,y:y.y-e}}}}),Tr({allowedPlacements:[e]})]});var r}var In=Object.freeze({__proto__:null,computeOffsetPosition:Rn});
136
137
  /**
137
138
  * @license
138
139
  * Copyright 2019 Google LLC
139
140
  * SPDX-License-Identifier: BSD-3-Clause
140
- */const Ln=window,Wn=Ln.ShadowRoot&&(void 0===Ln.ShadyCSS||Ln.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Un extends mo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Wn?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=Ln.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var kn,$n=Object.freeze({__proto__:null,ScopedRegistryLitElement:Un}),zn=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};const Bn=Symbol("constructorPrototype"),Fn=Symbol("constructorName"),An=Symbol("exportpartsDebouncer");class _n extends Un{constructor(){super(),this[kn]=new ae(5),this[Fn]=this.constructor.name,this[Bn]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Fn]&&Object.setPrototypeOf(this,this[Bn])}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.insertCustomStylesheet(),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}insertCustomStylesheet(){var t,o;if((null!==(o=null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){var t,o,e;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(e=null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)&&void 0!==e&&e)&&this[An].run((()=>{var t,o;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,n,i,a;const l=t=>null!=t&&t.trim().length>0,c=t.filter(l).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const s=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(n=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==n?n:[],e=null!==(a=null===(i=t.getAttribute("exportparts"))||void 0===i?void 0:i.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(l).map((t=>t.trim())).forEach((t=>s.add(t)))}if(0===s.size)return void this.removeAttribute("exportparts");const f=[...s.values()].flatMap((t=>c.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}kn=An,zn([wo()],_n.prototype,"exportpartsPrefix",void 0),zn([ue([])],_n.prototype,"exportpartsPrefixes",void 0),zn([wo()],_n.prototype,"customStylesheet",void 0);var Pn=Object.freeze({__proto__:null,FtLitElement:_n}),Zn=Object.freeze({__proto__:null});class Kn{constructor(t,o=!0,e=[],r=5e3){this.ctx=t,this.iframes=o,this.exclude=e,this.iframesTimeout=r}static matches(t,o){const e="string"==typeof o?[o]:o,r=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(r){let o=!1;return e.every((e=>!r.call(t,e)||(o=!0,!1))),o}return!1}getContexts(){let t,o=[];return t=void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[],t.forEach((t=>{const e=o.filter((o=>o.contains(t))).length>0;-1!==o.indexOf(t)||e||o.push(t)})),o}getIframeContents(t,o,e=(()=>{})){let r;try{const o=t.contentWindow;if(r=o.document,!o||!r)throw new Error("iframe inaccessible")}catch(t){e()}r&&o(r)}isIframeBlank(t){const o="about:blank",e=t.getAttribute("src").trim();return t.contentWindow.location.href===o&&e!==o&&e}observeIframeLoad(t,o,e){let r=!1,n=null;const i=()=>{if(!r){r=!0,clearTimeout(n);try{this.isIframeBlank(t)||(t.removeEventListener("load",i),this.getIframeContents(t,o,e))}catch(t){e()}}};t.addEventListener("load",i),n=setTimeout(i,this.iframesTimeout)}onIframeReady(t,o,e){try{"complete"===t.contentWindow.document.readyState?this.isIframeBlank(t)?this.observeIframeLoad(t,o,e):this.getIframeContents(t,o,e):this.observeIframeLoad(t,o,e)}catch(t){e()}}waitForIframes(t,o){let e=0;this.forEachIframe(t,(()=>!0),(t=>{e++,this.waitForIframes(t.querySelector("html"),(()=>{--e||o()}))}),(t=>{t||o()}))}forEachIframe(t,o,e,r=(()=>{})){let n=t.querySelectorAll("iframe"),i=n.length,a=0;n=Array.prototype.slice.call(n);const l=()=>{--i<=0&&r(a)};i||l(),n.forEach((t=>{Kn.matches(t,this.exclude)?l():this.onIframeReady(t,(r=>{o(t)&&(a++,e(r)),l()}),l)}))}createIterator(t,o,e){return document.createNodeIterator(t,o,e,!1)}createInstanceOnIframe(t){return new Kn(t.querySelector("html"),this.iframes)}compareNodeIframe(t,o,e){if(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING){if(null===o)return!0;if(o.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}getIteratorNode(t){const o=t.previousNode();let e;return e=(null===o||t.nextNode())&&t.nextNode(),{prevNode:o,node:e}}checkIframeFilter(t,o,e,r){let n=!1,i=!1;return r.forEach(((t,o)=>{t.val===e&&(n=o,i=t.handled)})),this.compareNodeIframe(t,o,e)?(!1!==n||i?!1===n||i||(r[n].handled=!0):r.push({val:e,handled:!0}),!0):(!1===n&&r.push({val:e,handled:!1}),!1)}handleOpenIframes(t,o,e,r){t.forEach((t=>{t.handled||this.getIframeContents(t.val,(t=>{this.createInstanceOnIframe(t).forEachNode(o,e,r)}))}))}iterateThroughNodes(t,o,e,r,n){const i=this.createIterator(o,t,r);let a,l,c=[],s=[],f=()=>(({prevNode:l,node:a}=this.getIteratorNode(i)),a);for(;f();)this.iframes&&this.forEachIframe(o,(t=>this.checkIframeFilter(a,l,t,c)),(o=>{this.createInstanceOnIframe(o).forEachNode(t,(t=>s.push(t)),r)})),s.push(a);s.forEach((t=>{e(t)})),this.iframes&&this.handleOpenIframes(c,t,e,r),n()}forEachNode(t,o,e,r=(()=>{})){const n=this.getContexts();let i=n.length;i||r(),n.forEach((n=>{const a=()=>{this.iterateThroughNodes(t,n,o,e,(()=>{--i<=0&&r()}))};this.iframes?this.waitForIframes(n,a):a()}))}}const jn=function(t){const o=new class{constructor(t){this.ctx=t,this.ie=!1;const o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new Kn(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,o="debug"){const e=this.opt.log;this.opt.debug&&"object"==typeof e&&"function"==typeof e[o]&&e[o](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return"disabled"!==this.opt.wildcards&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),"disabled"!==this.opt.wildcards&&(t=this.createWildcardsRegExp(t)),this.createAccuracyRegExp(t)}createSynonymsRegExp(t){const o=this.opt.synonyms,e=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let n in o)if(o.hasOwnProperty(n)){const i=o[n],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(n):this.escapeStr(n),l="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i);""!==a&&""!==l&&(t=t.replace(new RegExp(`(${this.escapeStr(a)}|${this.escapeStr(l)})`,`gm${e}`),r+`(${this.processSynomyms(a)}|`+`${this.processSynomyms(l)})`+r))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return(t=t.replace(/(?:\\)*\?/g,(t=>"\\"===t.charAt(0)?"?":""))).replace(/(?:\\)*\*/g,(t=>"\\"===t.charAt(0)?"*":""))}createWildcardsRegExp(t){let o="withSpaces"===this.opt.wildcards;return t.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,((t,o,e)=>{let r=e.charAt(o+1);return/[(|)\\]/.test(r)||""===r?t:t+"\0"}))}createJoinersRegExp(t){let o=[];const e=this.opt.ignorePunctuation;return Array.isArray(e)&&e.length&&o.push(this.escapeStr(e.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?t.split(/\u0000+/).join(`[${o.join("")}]*`):t}createDiacriticsRegExp(t){const o=this.opt.caseSensitive?"":"i",e=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let r=[];return t.split("").forEach((n=>{e.every((e=>{if(-1!==e.indexOf(n)){if(r.indexOf(e)>-1)return!1;t=t.replace(new RegExp(`[${e}]`,`gm${o}`),`[${e}]`),r.push(e)}return!0}))})),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gim,"[\\s]+")}createAccuracyRegExp(t){let o=this.opt.accuracy,e="string"==typeof o?o:o.value,r="string"==typeof o?[]:o.limiters,n="";switch(r.forEach((t=>{n+=`|${this.escapeStr(t)}`})),e){case"partially":default:return`()(${t})`;case"complementary":return n="\\s"+(n||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿")),`()([^${n}]*${t}[^${n}]*)`;case"exactly":return`(^|\\s${n})(${t})(?=$|\\s${n})`}}getSeparatedKeywords(t){let o=[];return t.forEach((t=>{this.opt.separateWordSearch?t.split(" ").forEach((t=>{t.trim()&&-1===o.indexOf(t)&&o.push(t)})):t.trim()&&-1===o.indexOf(t)&&o.push(t)})),{keywords:o.sort(((t,o)=>o.length-t.length)),length:o.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||"[object Object]"!==Object.prototype.toString.call(t[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];const o=[];let e=0;return t.sort(((t,o)=>t.start-o.start)).forEach((t=>{let{start:r,end:n,valid:i}=this.callNoMatchOnInvalidRanges(t,e);i&&(t.start=r,t.length=n-r,o.push(t),e=n)})),o}callNoMatchOnInvalidRanges(t,o){let e,r,n=!1;return t&&void 0!==t.start?(e=parseInt(t.start,10),r=e+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&r-o>0&&r-e>0?n=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:e,end:r,valid:n}}checkWhitespaceRanges(t,o,e){let r,n=!0,i=e.length,a=o-i,l=parseInt(t.start,10)-a;return l=l>i?i:l,r=l+parseInt(t.length,10),r>i&&(r=i,this.log(`End range automatically set to the max value of ${i}`)),l<0||r-l<0||l>i||r>i?(n=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===e.substring(l,r).replace(/\s+/g,"")&&(n=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:l,end:r,valid:n}}getTextNodes(t){let o="",e=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(t=>{e.push({start:o.length,end:(o+=t.textContent).length,node:t})}),(t=>this.matchesExclude(t.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT),(()=>{t({value:o,nodes:e})}))}matchesExclude(t){return Kn.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,e){const r=this.opt.element?this.opt.element:"mark",n=t.splitText(o),i=n.splitText(e-o);let a=document.createElement(r);return a.setAttribute("data-markjs","true"),this.opt.className&&a.setAttribute("class",this.opt.className),a.textContent=n.textContent,n.parentNode.replaceChild(a,n),i}wrapRangeInMappedTextNode(t,o,e,r,n){t.nodes.every(((i,a)=>{const l=t.nodes[a+1];if(void 0===l||l.start>o){if(!r(i.node))return!1;const l=o-i.start,c=(e>i.end?i.end:e)-i.start,s=t.value.substr(0,i.start),f=t.value.substr(c+i.start);if(i.node=this.wrapRangeInTextNode(i.node,l,c),t.value=s+f,t.nodes.forEach(((o,e)=>{e>=a&&(t.nodes[e].start>0&&e!==a&&(t.nodes[e].start-=c),t.nodes[e].end-=c)})),e-=c,n(i.node.previousSibling,i.start),!(e>i.end))return!1;o=i.end}return!0}))}wrapMatches(t,o,e,r,n){const i=0===o?0:o+1;this.getTextNodes((o=>{o.nodes.forEach((o=>{let n;for(o=o.node;null!==(n=t.exec(o.textContent))&&""!==n[i];){if(!e(n[i],o))continue;let a=n.index;if(0!==i)for(let t=1;t<i;t++)a+=n[t].length;o=this.wrapRangeInTextNode(o,a,a+n[i].length),r(o.previousSibling),t.lastIndex=0}})),n()}))}wrapMatchesAcrossElements(t,o,e,r,n){const i=0===o?0:o+1;this.getTextNodes((o=>{let a;for(;null!==(a=t.exec(o.value))&&""!==a[i];){let n=a.index;if(0!==i)for(let t=1;t<i;t++)n+=a[t].length;const l=n+a[i].length;this.wrapRangeInMappedTextNode(o,n,l,(t=>e(a[i],t)),((o,e)=>{t.lastIndex=e,r(o)}))}n()}))}wrapRangeFromIndex(t,o,e,r){this.getTextNodes((n=>{const i=n.value.length;t.forEach(((t,r)=>{let{start:a,end:l,valid:c}=this.checkWhitespaceRanges(t,i,n.value);c&&this.wrapRangeInMappedTextNode(n,a,l,(e=>o(e,t,n.value.substring(a,l),r)),(o=>{e(o,t)}))})),r()}))}unwrapMatches(t){const o=t.parentNode;let e=document.createDocumentFragment();for(;t.firstChild;)e.appendChild(t.removeChild(t.firstChild));o.replaceChild(e,t),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(t){if(t){if(3===t.nodeType)for(;t.nextSibling&&3===t.nextSibling.nodeType;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,o){this.opt=o,this.log(`Searching with expression "${t}"`);let e=0,r="wrapMatches";this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),this[r](t,this.opt.ignoreGroups,((t,o)=>this.opt.filter(o,t,e)),(t=>{e++,this.opt.each(t)}),(()=>{0===e&&this.opt.noMatch(t),this.opt.done(e)}))}mark(t,o){this.opt=o;let e=0,r="wrapMatches";const{keywords:n,length:i}=this.getSeparatedKeywords("string"==typeof t?[t]:t),a=this.opt.caseSensitive?"":"i",l=t=>{let o=new RegExp(this.createRegExp(t),`gm${a}`),c=0;this.log(`Searching with expression "${o}"`),this[r](o,1,((o,r)=>this.opt.filter(r,t,e,c)),(t=>{c++,e++,this.opt.each(t)}),(()=>{0===c&&this.opt.noMatch(t),n[i-1]===t?this.opt.done(e):l(n[n.indexOf(t)+1])}))};this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),0===i?this.opt.done(e):l(n[0])}markRanges(t,o){this.opt=o;let e=0,r=this.checkRanges(t);r&&r.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(r)),this.wrapRangeFromIndex(r,((t,o,e,r)=>this.opt.filter(t,o,e,r)),((t,o)=>{e++,this.opt.each(t,o)}),(()=>{this.opt.done(e)}))):this.opt.done(e)}unmark(t){this.opt=t;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,(t=>{this.unwrapMatches(t)}),(t=>{const e=Kn.matches(t,o),r=this.matchesExclude(t);return!e||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}}(t);return this.mark=(t,e)=>(o.mark(t,e),this),this.markRegExp=(t,e)=>(o.markRegExp(t,e),this),this.markRanges=(t,e)=>(o.markRanges(t,e),this),this.unmark=t=>(o.unmark(t),this),this},Mn=me.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Hn=dt`
141
+ */const Ln=window,Wn=Ln.ShadowRoot&&(void 0===Ln.ShadyCSS||Ln.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Un extends mo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Wn?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=Ln.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var kn,$n=Object.freeze({__proto__:null,ScopedRegistryLitElement:Un}),zn=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};const Fn=Symbol("constructorPrototype"),Bn=Symbol("constructorName"),An=Symbol("exportpartsDebouncer");class _n extends Un{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this[kn]=new ae(5),this[Bn]=this.constructor.name,this[Fn]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Bn]&&Object.setPrototypeOf(this,this[Fn])}connectedCallback(){super.connectedCallback(),this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet])}updated(t){var o;super.updated(t),t.has("customStylesheet")&&this.adoptedCustomStyleSheet.replace(null!==(o=this.customStylesheet)&&void 0!==o?o:""),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}scheduleExportpartsUpdate(){var t,o,e;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(e=null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)&&void 0!==e&&e)&&this[An].run((()=>{var t,o;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,n,i,a;const l=t=>null!=t&&t.trim().length>0,c=t.filter(l).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const s=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(n=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==n?n:[],e=null!==(a=null===(i=t.getAttribute("exportparts"))||void 0===i?void 0:i.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(l).map((t=>t.trim())).forEach((t=>s.add(t)))}if(0===s.size)return void this.removeAttribute("exportparts");const f=[...s.values()].flatMap((t=>c.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}kn=An,zn([wo()],_n.prototype,"exportpartsPrefix",void 0),zn([he([])],_n.prototype,"exportpartsPrefixes",void 0),zn([wo()],_n.prototype,"customStylesheet",void 0);var Pn=Object.freeze({__proto__:null,FtLitElement:_n}),Mn=Object.freeze({__proto__:null});class Zn{constructor(t,o=!0,e=[],r=5e3){this.ctx=t,this.iframes=o,this.exclude=e,this.iframesTimeout=r}static matches(t,o){const e="string"==typeof o?[o]:o,r=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(r){let o=!1;return e.every((e=>!r.call(t,e)||(o=!0,!1))),o}return!1}getContexts(){let t,o=[];return t=void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[],t.forEach((t=>{const e=o.filter((o=>o.contains(t))).length>0;-1!==o.indexOf(t)||e||o.push(t)})),o}getIframeContents(t,o,e=(()=>{})){let r;try{const o=t.contentWindow;if(r=o.document,!o||!r)throw new Error("iframe inaccessible")}catch(t){e()}r&&o(r)}isIframeBlank(t){const o="about:blank",e=t.getAttribute("src").trim();return t.contentWindow.location.href===o&&e!==o&&e}observeIframeLoad(t,o,e){let r=!1,n=null;const i=()=>{if(!r){r=!0,clearTimeout(n);try{this.isIframeBlank(t)||(t.removeEventListener("load",i),this.getIframeContents(t,o,e))}catch(t){e()}}};t.addEventListener("load",i),n=setTimeout(i,this.iframesTimeout)}onIframeReady(t,o,e){try{"complete"===t.contentWindow.document.readyState?this.isIframeBlank(t)?this.observeIframeLoad(t,o,e):this.getIframeContents(t,o,e):this.observeIframeLoad(t,o,e)}catch(t){e()}}waitForIframes(t,o){let e=0;this.forEachIframe(t,(()=>!0),(t=>{e++,this.waitForIframes(t.querySelector("html"),(()=>{--e||o()}))}),(t=>{t||o()}))}forEachIframe(t,o,e,r=(()=>{})){let n=t.querySelectorAll("iframe"),i=n.length,a=0;n=Array.prototype.slice.call(n);const l=()=>{--i<=0&&r(a)};i||l(),n.forEach((t=>{Zn.matches(t,this.exclude)?l():this.onIframeReady(t,(r=>{o(t)&&(a++,e(r)),l()}),l)}))}createIterator(t,o,e){return document.createNodeIterator(t,o,e,!1)}createInstanceOnIframe(t){return new Zn(t.querySelector("html"),this.iframes)}compareNodeIframe(t,o,e){if(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING){if(null===o)return!0;if(o.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}getIteratorNode(t){const o=t.previousNode();let e;return e=(null===o||t.nextNode())&&t.nextNode(),{prevNode:o,node:e}}checkIframeFilter(t,o,e,r){let n=!1,i=!1;return r.forEach(((t,o)=>{t.val===e&&(n=o,i=t.handled)})),this.compareNodeIframe(t,o,e)?(!1!==n||i?!1===n||i||(r[n].handled=!0):r.push({val:e,handled:!0}),!0):(!1===n&&r.push({val:e,handled:!1}),!1)}handleOpenIframes(t,o,e,r){t.forEach((t=>{t.handled||this.getIframeContents(t.val,(t=>{this.createInstanceOnIframe(t).forEachNode(o,e,r)}))}))}iterateThroughNodes(t,o,e,r,n){const i=this.createIterator(o,t,r);let a,l,c=[],s=[],f=()=>(({prevNode:l,node:a}=this.getIteratorNode(i)),a);for(;f();)this.iframes&&this.forEachIframe(o,(t=>this.checkIframeFilter(a,l,t,c)),(o=>{this.createInstanceOnIframe(o).forEachNode(t,(t=>s.push(t)),r)})),s.push(a);s.forEach((t=>{e(t)})),this.iframes&&this.handleOpenIframes(c,t,e,r),n()}forEachNode(t,o,e,r=(()=>{})){const n=this.getContexts();let i=n.length;i||r(),n.forEach((n=>{const a=()=>{this.iterateThroughNodes(t,n,o,e,(()=>{--i<=0&&r()}))};this.iframes?this.waitForIframes(n,a):a()}))}}const Kn=function(t){const o=new class{constructor(t){this.ctx=t,this.ie=!1;const o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new Zn(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,o="debug"){const e=this.opt.log;this.opt.debug&&"object"==typeof e&&"function"==typeof e[o]&&e[o](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return"disabled"!==this.opt.wildcards&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),"disabled"!==this.opt.wildcards&&(t=this.createWildcardsRegExp(t)),this.createAccuracyRegExp(t)}createSynonymsRegExp(t){const o=this.opt.synonyms,e=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let n in o)if(o.hasOwnProperty(n)){const i=o[n],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(n):this.escapeStr(n),l="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i);""!==a&&""!==l&&(t=t.replace(new RegExp(`(${this.escapeStr(a)}|${this.escapeStr(l)})`,`gm${e}`),r+`(${this.processSynomyms(a)}|`+`${this.processSynomyms(l)})`+r))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return(t=t.replace(/(?:\\)*\?/g,(t=>"\\"===t.charAt(0)?"?":""))).replace(/(?:\\)*\*/g,(t=>"\\"===t.charAt(0)?"*":""))}createWildcardsRegExp(t){let o="withSpaces"===this.opt.wildcards;return t.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,((t,o,e)=>{let r=e.charAt(o+1);return/[(|)\\]/.test(r)||""===r?t:t+"\0"}))}createJoinersRegExp(t){let o=[];const e=this.opt.ignorePunctuation;return Array.isArray(e)&&e.length&&o.push(this.escapeStr(e.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?t.split(/\u0000+/).join(`[${o.join("")}]*`):t}createDiacriticsRegExp(t){const o=this.opt.caseSensitive?"":"i",e=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let r=[];return t.split("").forEach((n=>{e.every((e=>{if(-1!==e.indexOf(n)){if(r.indexOf(e)>-1)return!1;t=t.replace(new RegExp(`[${e}]`,`gm${o}`),`[${e}]`),r.push(e)}return!0}))})),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gim,"[\\s]+")}createAccuracyRegExp(t){let o=this.opt.accuracy,e="string"==typeof o?o:o.value,r="string"==typeof o?[]:o.limiters,n="";switch(r.forEach((t=>{n+=`|${this.escapeStr(t)}`})),e){case"partially":default:return`()(${t})`;case"complementary":return n="\\s"+(n||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿")),`()([^${n}]*${t}[^${n}]*)`;case"exactly":return`(^|\\s${n})(${t})(?=$|\\s${n})`}}getSeparatedKeywords(t){let o=[];return t.forEach((t=>{this.opt.separateWordSearch?t.split(" ").forEach((t=>{t.trim()&&-1===o.indexOf(t)&&o.push(t)})):t.trim()&&-1===o.indexOf(t)&&o.push(t)})),{keywords:o.sort(((t,o)=>o.length-t.length)),length:o.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||"[object Object]"!==Object.prototype.toString.call(t[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];const o=[];let e=0;return t.sort(((t,o)=>t.start-o.start)).forEach((t=>{let{start:r,end:n,valid:i}=this.callNoMatchOnInvalidRanges(t,e);i&&(t.start=r,t.length=n-r,o.push(t),e=n)})),o}callNoMatchOnInvalidRanges(t,o){let e,r,n=!1;return t&&void 0!==t.start?(e=parseInt(t.start,10),r=e+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&r-o>0&&r-e>0?n=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:e,end:r,valid:n}}checkWhitespaceRanges(t,o,e){let r,n=!0,i=e.length,a=o-i,l=parseInt(t.start,10)-a;return l=l>i?i:l,r=l+parseInt(t.length,10),r>i&&(r=i,this.log(`End range automatically set to the max value of ${i}`)),l<0||r-l<0||l>i||r>i?(n=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===e.substring(l,r).replace(/\s+/g,"")&&(n=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:l,end:r,valid:n}}getTextNodes(t){let o="",e=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(t=>{e.push({start:o.length,end:(o+=t.textContent).length,node:t})}),(t=>this.matchesExclude(t.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT),(()=>{t({value:o,nodes:e})}))}matchesExclude(t){return Zn.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,e){const r=this.opt.element?this.opt.element:"mark",n=t.splitText(o),i=n.splitText(e-o);let a=document.createElement(r);return a.setAttribute("data-markjs","true"),this.opt.className&&a.setAttribute("class",this.opt.className),a.textContent=n.textContent,n.parentNode.replaceChild(a,n),i}wrapRangeInMappedTextNode(t,o,e,r,n){t.nodes.every(((i,a)=>{const l=t.nodes[a+1];if(void 0===l||l.start>o){if(!r(i.node))return!1;const l=o-i.start,c=(e>i.end?i.end:e)-i.start,s=t.value.substr(0,i.start),f=t.value.substr(c+i.start);if(i.node=this.wrapRangeInTextNode(i.node,l,c),t.value=s+f,t.nodes.forEach(((o,e)=>{e>=a&&(t.nodes[e].start>0&&e!==a&&(t.nodes[e].start-=c),t.nodes[e].end-=c)})),e-=c,n(i.node.previousSibling,i.start),!(e>i.end))return!1;o=i.end}return!0}))}wrapMatches(t,o,e,r,n){const i=0===o?0:o+1;this.getTextNodes((o=>{o.nodes.forEach((o=>{let n;for(o=o.node;null!==(n=t.exec(o.textContent))&&""!==n[i];){if(!e(n[i],o))continue;let a=n.index;if(0!==i)for(let t=1;t<i;t++)a+=n[t].length;o=this.wrapRangeInTextNode(o,a,a+n[i].length),r(o.previousSibling),t.lastIndex=0}})),n()}))}wrapMatchesAcrossElements(t,o,e,r,n){const i=0===o?0:o+1;this.getTextNodes((o=>{let a;for(;null!==(a=t.exec(o.value))&&""!==a[i];){let n=a.index;if(0!==i)for(let t=1;t<i;t++)n+=a[t].length;const l=n+a[i].length;this.wrapRangeInMappedTextNode(o,n,l,(t=>e(a[i],t)),((o,e)=>{t.lastIndex=e,r(o)}))}n()}))}wrapRangeFromIndex(t,o,e,r){this.getTextNodes((n=>{const i=n.value.length;t.forEach(((t,r)=>{let{start:a,end:l,valid:c}=this.checkWhitespaceRanges(t,i,n.value);c&&this.wrapRangeInMappedTextNode(n,a,l,(e=>o(e,t,n.value.substring(a,l),r)),(o=>{e(o,t)}))})),r()}))}unwrapMatches(t){const o=t.parentNode;let e=document.createDocumentFragment();for(;t.firstChild;)e.appendChild(t.removeChild(t.firstChild));o.replaceChild(e,t),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(t){if(t){if(3===t.nodeType)for(;t.nextSibling&&3===t.nextSibling.nodeType;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,o){this.opt=o,this.log(`Searching with expression "${t}"`);let e=0,r="wrapMatches";this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),this[r](t,this.opt.ignoreGroups,((t,o)=>this.opt.filter(o,t,e)),(t=>{e++,this.opt.each(t)}),(()=>{0===e&&this.opt.noMatch(t),this.opt.done(e)}))}mark(t,o){this.opt=o;let e=0,r="wrapMatches";const{keywords:n,length:i}=this.getSeparatedKeywords("string"==typeof t?[t]:t),a=this.opt.caseSensitive?"":"i",l=t=>{let o=new RegExp(this.createRegExp(t),`gm${a}`),c=0;this.log(`Searching with expression "${o}"`),this[r](o,1,((o,r)=>this.opt.filter(r,t,e,c)),(t=>{c++,e++,this.opt.each(t)}),(()=>{0===c&&this.opt.noMatch(t),n[i-1]===t?this.opt.done(e):l(n[n.indexOf(t)+1])}))};this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),0===i?this.opt.done(e):l(n[0])}markRanges(t,o){this.opt=o;let e=0,r=this.checkRanges(t);r&&r.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(r)),this.wrapRangeFromIndex(r,((t,o,e,r)=>this.opt.filter(t,o,e,r)),((t,o)=>{e++,this.opt.each(t,o)}),(()=>{this.opt.done(e)}))):this.opt.done(e)}unmark(t){this.opt=t;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,(t=>{this.unwrapMatches(t)}),(t=>{const e=Zn.matches(t,o),r=this.matchesExclude(t);return!e||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}}(t);return this.mark=(t,e)=>(o.mark(t,e),this),this.markRegExp=(t,e)=>(o.markRegExp(t,e),this),this.markRanges=(t,e)=>(o.markRanges(t,e),this),this.unmark=t=>(o.unmark(t),this),this},jn=me.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Dn=dt`
141
142
  .highlight-html-match {
142
- background: ${Mn};
143
+ background: ${jn};
143
144
  }
144
- `,Dn={className:"highlight-html-match"};var Tn=Object.freeze({__proto__:null,highlightHtml:function(t,o){var e;let r=t.getAttribute("data-highlight-html-query");if((null!=r?r:"")!==(null!=o?o:"")){const r=new jn(t);if(r.unmark(Dn),o&&o.trim()){r.mark(o.replace(/"[^"]+"/g,""),{...Dn,separateWordSearch:!0});(null!==(e=o.match(/"[^"]+"/g))&&void 0!==e?e:[]).forEach((t=>r.mark(t.replace(/"/g,""),{...Dn,separateWordSearch:!1})))}}t.setAttribute("data-highlight-html-query",null!=o?o:"")},highlightHtmlColorCssVariable:Mn,highlightHtmlStyles:Hn});const Gn=dt`
145
+ `,Hn={className:"highlight-html-match"};var Tn=Object.freeze({__proto__:null,highlightHtml:function(t,o){var e;let r=t.getAttribute("data-highlight-html-query");if((null!=r?r:"")!==(null!=o?o:"")){const r=new Kn(t);if(r.unmark(Hn),o&&o.trim()){r.mark(o.replace(/"[^"]+"/g,""),{...Hn,separateWordSearch:!0});(null!==(e=o.match(/"[^"]+"/g))&&void 0!==e?e:[]).forEach((t=>r.mark(t.replace(/"/g,""),{...Hn,separateWordSearch:!1})))}}t.setAttribute("data-highlight-html-query",null!=o?o:"")},highlightHtmlColorCssVariable:jn,highlightHtmlStyles:Dn});const Gn=dt`
145
146
  .ft-no-text-select {
146
147
  -webkit-touch-callout: none;
147
148
  -webkit-user-select: none;
@@ -173,13 +174,13 @@ function(t){return(o,e)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}
173
174
  display: inline-block;
174
175
  width: 0;
175
176
  }
176
- `;var Yn=Object.freeze({__proto__:null,noTextSelect:Gn,safariEllipsisFix:qn,wordWrap:Vn}),Jn=Object.freeze({__proto__:null});var Xn=Object.freeze({__proto__:null,ParametrizedLabelResolver:class{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,r;t=this.resolvePluralKey(t,o);let n=null!==(r=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==r?r:"";return o.forEach(((t,o)=>n=n.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),n}resolvePluralKey(t,o){for(let e of o)if("number"==typeof e){const o=`${String(t)}[\\=${e}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const e=e=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(e):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(e):t.toLocaleString(e);try{return e(document.documentElement.lang)}catch(t){return e()}}}});class Qn{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter((o=>o.type!==t.type))),this.queue.push(t)}consume(t){const o=this.queue.find((o=>o.type===t));return o&&(this.queue=this.queue.filter((t=>t!==o))),o}}function ti(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var oi,ei,ri;const ni=Symbol("internalReduxEventsUnsubscribers"),ii=Symbol("internalStoresUnsubscribers"),ai=Symbol("internalStores");class li extends _n{constructor(){super(...arguments),this[oi]=new Map,this[ei]=new Map,this[ri]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[ai].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ai].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[ai].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:ti(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[ai].delete(o)}setupStore(t,o){this[ai].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[ai].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[ii].has(t.store):this[ii].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[ii].set(t,o.subscribe((()=>this.updateFromStores()))),ti(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[ni].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[ii].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[ni].forEach((t=>t())),this[ni]=[]}unsubscribeFromStore(t){this[ii].has(t)&&this[ii].get(t)(),this[ii].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function ci(t){for(var o=arguments.length,e=Array(o>1?o-1:0),r=1;r<o;r++)e[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(e.length?" "+e.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function si(t){return!!t&&!!t[qi]}function fi(t){var o;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;var e=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return e===Object||"function"==typeof e&&Function.toString.call(e)===Yi}(t)||Array.isArray(t)||!!t[Vi]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Vi])||gi(t)||bi(t))}function pi(t,o,e){void 0===e&&(e=!1),0===di(t)?(e?Object.keys:Ji)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function di(t){var o=t[qi];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:gi(t)?2:bi(t)?3:0}function hi(t,o){return 2===di(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function ui(t,o,e){var r=di(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function yi(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function gi(t){return Hi&&t instanceof Map}function bi(t){return Di&&t instanceof Set}function mi(t){return t.o||t.t}function vi(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Xi(t);delete o[qi];for(var e=Ji(o),r=0;r<e.length;r++){var n=e[r],i=o[n];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(o[n]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),o)}function Oi(t,o){return void 0===o&&(o=!1),Si(t)||si(t)||!fi(t)||(di(t)>1&&(t.set=t.add=t.clear=t.delete=xi),Object.freeze(t),o&&pi(t,(function(t,o){return Oi(o,!0)}),!0)),t}function xi(){ci(2)}function Si(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function wi(t){var o=Qi[t];return o||ci(18,t),o}function Ni(){return ji}function Ci(t,o){o&&(wi("Patches"),t.u=[],t.s=[],t.v=o)}function Ei(t){Ri(t),t.p.forEach(Li),t.p=null}function Ri(t){t===ji&&(ji=t.l)}function Ii(t){return ji={p:[],l:ji,h:t,m:!0,_:0}}function Li(t){var o=t[qi];0===o.i||1===o.i?o.j():o.g=!0}function Wi(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||wi("ES5").S(o,t,r),r?(e[qi].P&&(Ei(o),ci(4)),fi(t)&&(t=Ui(o,t),o.l||$i(o,t)),o.u&&wi("Patches").M(e[qi].t,t,o.u,o.s)):t=Ui(o,e,[]),Ei(o),o.u&&o.v(o.u,o.s),t!==Gi?t:void 0}function Ui(t,o,e){if(Si(o))return o;var r=o[qi];if(!r)return pi(o,(function(n,i){return ki(t,r,o,n,i,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return $i(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var n=4===r.i||5===r.i?r.o=vi(r.k):r.o,i=n,a=!1;3===r.i&&(i=new Set(n),n.clear(),a=!0),pi(i,(function(o,i){return ki(t,r,n,o,i,e,a)})),$i(t,n,!1),e&&t.u&&wi("Patches").N(r,e,t.u,t.s)}return r.o}function ki(t,o,e,r,n,i,a){if(si(n)){var l=Ui(t,n,i&&o&&3!==o.i&&!hi(o.R,r)?i.concat(r):void 0);if(ui(e,r,l),!si(l))return;t.m=!1}else a&&e.add(n);if(fi(n)&&!Si(n)){if(!t.h.D&&t._<1)return;Ui(t,n),o&&o.A.l||$i(t,n)}}function $i(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&Oi(o,e)}function zi(t,o){var e=t[qi];return(e?mi(e):t)[o]}function Bi(t,o){if(o in t)for(var e=Object.getPrototypeOf(t);e;){var r=Object.getOwnPropertyDescriptor(e,o);if(r)return r;e=Object.getPrototypeOf(e)}}function Fi(t){t.P||(t.P=!0,t.l&&Fi(t.l))}function Ai(t){t.o||(t.o=vi(t.t))}function _i(t,o,e){var r=gi(o)?wi("MapSet").F(o,e):bi(o)?wi("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:Ni(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},n=r,i=ta;e&&(n=[r],i=oa);var a=Proxy.revocable(n,i),l=a.revoke,c=a.proxy;return r.k=c,r.j=l,c}(o,e):wi("ES5").J(o,e);return(e?e.A:Ni()).p.push(r),r}function Pi(t){return si(t)||ci(22,t),function t(o){if(!fi(o))return o;var e,r=o[qi],n=di(o);if(r){if(!r.P&&(r.i<4||!wi("ES5").K(r)))return r.t;r.I=!0,e=Zi(o,n),r.I=!1}else e=Zi(o,n);return pi(e,(function(o,n){r&&function(t,o){return 2===di(t)?t.get(o):t[o]}(r.t,o)===n||ui(e,o,t(n))})),3===n?new Set(e):e}(t)}function Zi(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return vi(t)}oi=ii,ei=ai,ri=ni,li.reduxProperties=new Map,li.reduxReactiveProperties=new Set,li.reduxEventListeners=new Map;var Ki,ji,Mi="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Hi="undefined"!=typeof Map,Di="undefined"!=typeof Set,Ti="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Gi=Mi?Symbol.for("immer-nothing"):((Ki={})["immer-nothing"]=!0,Ki),Vi=Mi?Symbol.for("immer-draftable"):"__$immer_draftable",qi=Mi?Symbol.for("immer-state"):"__$immer_state",Yi=""+Object.prototype.constructor,Ji="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Xi=Object.getOwnPropertyDescriptors||function(t){var o={};return Ji(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},Qi={},ta={get:function(t,o){if(o===qi)return t;var e=mi(t);if(!hi(e,o))return function(t,o,e){var r,n=Bi(o,e);return n?"value"in n?n.value:null===(r=n.get)||void 0===r?void 0:r.call(t.k):void 0}(t,e,o);var r=e[o];return t.I||!fi(r)?r:r===zi(t.t,o)?(Ai(t),t.o[o]=_i(t.A.h,r,t)):r},has:function(t,o){return o in mi(t)},ownKeys:function(t){return Reflect.ownKeys(mi(t))},set:function(t,o,e){var r=Bi(mi(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var n=zi(mi(t),o),i=null==n?void 0:n[qi];if(i&&i.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(yi(e,n)&&(void 0!==e||hi(t.t,o)))return!0;Ai(t),Fi(t)}return t.o[o]===e&&(void 0!==e||o in t.o)||Number.isNaN(e)&&Number.isNaN(t.o[o])||(t.o[o]=e,t.R[o]=!0),!0},deleteProperty:function(t,o){return void 0!==zi(t.t,o)||o in t.t?(t.R[o]=!1,Ai(t),Fi(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=mi(t),r=Reflect.getOwnPropertyDescriptor(e,o);return r?{writable:!0,configurable:1!==t.i||"length"!==o,enumerable:r.enumerable,value:e[o]}:r},defineProperty:function(){ci(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){ci(12)}},oa={};pi(ta,(function(t,o){oa[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),oa.deleteProperty=function(t,o){return oa.set.call(this,t,o,void 0)},oa.set=function(t,o,e){return ta.set.call(this,t[0],o,e,t[0])};var ea=function(){function t(t){var o=this;this.O=Ti,this.D=!0,this.produce=function(t,e,r){if("function"==typeof t&&"function"!=typeof e){var n=e;e=t;var i=o;return function(t){var o=this;void 0===t&&(t=n);for(var r=arguments.length,a=Array(r>1?r-1:0),l=1;l<r;l++)a[l-1]=arguments[l];return i.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&ci(6),void 0!==r&&"function"!=typeof r&&ci(7),fi(t)){var l=Ii(o),c=_i(o,t,void 0),s=!0;try{a=e(c),s=!1}finally{s?Ei(l):Ri(l)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return Ci(l,r),Wi(t,l)}),(function(t){throw Ei(l),t})):(Ci(l,r),Wi(a,l))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===Gi&&(a=void 0),o.D&&Oi(a,!0),r){var f=[],p=[];wi("Patches").M(t,a,f,p),r(f,p)}return a}ci(21,t)},this.produceWithPatches=function(t,e){if("function"==typeof t)return function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return o.produceWithPatches(e,(function(o){return t.apply(void 0,[o].concat(n))}))};var r,n,i=o.produce(t,e,(function(t,o){r=t,n=o}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(t){return[t,r,n]})):[i,r,n]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var o=t.prototype;return o.createDraft=function(t){fi(t)||ci(8),si(t)&&(t=Pi(t));var o=Ii(this),e=_i(this,t,void 0);return e[qi].C=!0,Ri(o),e},o.finishDraft=function(t,o){var e=(t&&t[qi]).A;return Ci(e,o),Wi(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Ti&&ci(20),this.O=t},o.applyPatches=function(t,o){var e;for(e=o.length-1;e>=0;e--){var r=o[e];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}e>-1&&(o=o.slice(e+1));var n=wi("Patches").$;return si(t)?n(t,o):this.produce(t,(function(t){return n(t,o)}))},t}(),ra=new ea,na=ra.produce;function ia(t){return ia="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ia(t)}function aa(t){var o=function(t,o){if("object"!==ia(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==ia(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===ia(o)?o:String(o)}function la(t,o,e){return(o=aa(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function ca(t,o){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),e.push.apply(e,r)}return e}function sa(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?ca(Object(e),!0).forEach((function(o){la(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):ca(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function fa(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}ra.produceWithPatches.bind(ra),ra.setAutoFreeze.bind(ra),ra.setUseProxies.bind(ra),ra.applyPatches.bind(ra),ra.createDraft.bind(ra),ra.finishDraft.bind(ra);var pa="function"==typeof Symbol&&Symbol.observable||"@@observable",da=function(){return Math.random().toString(36).substring(7).split("").join(".")},ha={INIT:"@@redux/INIT"+da(),REPLACE:"@@redux/REPLACE"+da(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+da()}};function ua(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(fa(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(fa(1));return e(ua)(t,o)}if("function"!=typeof t)throw new Error(fa(2));var n=t,i=o,a=[],l=a,c=!1;function s(){l===a&&(l=a.slice())}function f(){if(c)throw new Error(fa(3));return i}function p(t){if("function"!=typeof t)throw new Error(fa(4));if(c)throw new Error(fa(5));var o=!0;return s(),l.push(t),function(){if(o){if(c)throw new Error(fa(6));o=!1,s();var e=l.indexOf(t);l.splice(e,1),a=null}}}function d(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(fa(7));if(void 0===t.type)throw new Error(fa(8));if(c)throw new Error(fa(9));try{c=!0,i=n(i,t)}finally{c=!1}for(var o=a=l,e=0;e<o.length;e++){(0,o[e])()}return t}return d({type:ha.INIT}),(r={dispatch:d,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(fa(10));n=t,d({type:ha.REPLACE})}})[pa]=function(){var t,o=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(fa(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[pa]=function(){return this},t},r}function ya(t){for(var o=Object.keys(t),e={},r=0;r<o.length;r++){var n=o[r];"function"==typeof t[n]&&(e[n]=t[n])}var i,a=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(o){var e=t[o];if(void 0===e(void 0,{type:ha.INIT}))throw new Error(fa(12));if(void 0===e(void 0,{type:ha.PROBE_UNKNOWN_ACTION()}))throw new Error(fa(13))}))}(e)}catch(t){i=t}return function(t,o){if(void 0===t&&(t={}),i)throw i;for(var r=!1,n={},l=0;l<a.length;l++){var c=a[l],s=e[c],f=t[c],p=s(f,o);if(void 0===p)throw o&&o.type,new Error(fa(14));n[c]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?n:t}}function ga(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return 0===o.length?function(t){return t}:1===o.length?o[0]:o.reduce((function(t,o){return function(){return t(o.apply(void 0,arguments))}}))}function ba(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return function(t){return function(){var e=t.apply(void 0,arguments),r=function(){throw new Error(fa(15))},n={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=o.map((function(t){return t(n)}));return r=ga.apply(void 0,i)(e.dispatch),sa(sa({},e),{},{dispatch:r})}}}function ma(t){return function(o){var e=o.dispatch,r=o.getState;return function(o){return function(n){return"function"==typeof n?n(e,r,t):o(n)}}}}var va=ma();va.withExtraArgument=ma;var Oa,xa=va,Sa=(Oa=function(t,o){return Oa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])},Oa(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function e(){this.constructor=t}Oa(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),wa=function(t,o){var e,r,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=1,r&&(n=2&i[0]?r.return:i[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,i[1])).done)return n;switch(r=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=o.call(t,a)}catch(t){i=[6,t],r=0}finally{e=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}},Na=function(t,o){for(var e=0,r=o.length,n=t.length;e<r;e++,n++)t[n]=o[e];return t},Ca=Object.defineProperty,Ea=Object.defineProperties,Ra=Object.getOwnPropertyDescriptors,Ia=Object.getOwnPropertySymbols,La=Object.prototype.hasOwnProperty,Wa=Object.prototype.propertyIsEnumerable,Ua=function(t,o,e){return o in t?Ca(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},ka=function(t,o){for(var e in o||(o={}))La.call(o,e)&&Ua(t,e,o[e]);if(Ia)for(var r=0,n=Ia(o);r<n.length;r++){e=n[r];Wa.call(o,e)&&Ua(t,e,o[e])}return t},$a=function(t,o){return Ea(t,Ra(o))},za="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?ga:ga.apply(null,arguments)};var Ba=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=t.apply(this,e)||this;return Object.setPrototypeOf(n,o.prototype),n}return Sa(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,Na([void 0],t[0].concat(this)))):new(o.bind.apply(o,Na([void 0],t.concat(this))))},o}(Array),Fa=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=t.apply(this,e)||this;return Object.setPrototypeOf(n,o.prototype),n}return Sa(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,Na([void 0],t[0].concat(this)))):new(o.bind.apply(o,Na([void 0],t.concat(this))))},o}(Array);function Aa(t){return fi(t)?na(t,(function(){})):t}function _a(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,e=void 0===o||o;t.immutableCheck,t.serializableCheck;var r=new Ba;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(xa.withExtraArgument(e.extraArgument)):r.push(xa));return r}(t)}}function Pa(t){var o,e=_a(),r=t||{},n=r.reducer,i=void 0===n?void 0:n,a=r.middleware,l=void 0===a?e():a,c=r.devTools,s=void 0===c||c,f=r.preloadedState,p=void 0===f?void 0:f,d=r.enhancers,h=void 0===d?void 0:d;if("function"==typeof i)o=i;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;for(var e=o;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return o===e}(i))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');o=ya(i)}var u=l;"function"==typeof u&&(u=u(e));var y=ba.apply(void 0,u),g=ga;s&&(g=za(ka({trace:!1},"object"==typeof s&&s)));var b=new Fa(y),m=b;return Array.isArray(h)?m=Na([y],h):"function"==typeof h&&(m=h(b)),ua(o,p,g.apply(void 0,m))}function Za(t,o){function e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(o){var n=o.apply(void 0,e);if(!n)throw new Error("prepareAction did not return an object");return ka(ka({type:t,payload:n.payload},"meta"in n&&{meta:n.meta}),"error"in n&&{error:n.error})}return{type:t,payload:e[0]}}return e.toString=function(){return""+t},e.type=t,e.match=function(o){return o.type===t},e}function Ka(t){var o,e={},r=[],n={addCase:function(t,o){var r="string"==typeof t?t:t.type;if(r in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[r]=o,n},addMatcher:function(t,o){return r.push({matcher:t,reducer:o}),n},addDefaultCase:function(t){return o=t,n}};return t(n),[e,r,o]}function ja(t){var o=t.name;if(!o)throw new Error("`name` is a required option for createSlice");var e,r="function"==typeof t.initialState?t.initialState:Aa(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},l={},c={};function s(){var o="function"==typeof t.extraReducers?Ka(t.extraReducers):[t.extraReducers],e=o[0],n=void 0===e?{}:e,i=o[1],a=void 0===i?[]:i,c=o[2],s=void 0===c?void 0:c,f=ka(ka({},n),l);return function(t,o,e,r){void 0===e&&(e=[]);var n,i="function"==typeof o?Ka(o):[o,e,r],a=i[0],l=i[1],c=i[2];if(function(t){return"function"==typeof t}(t))n=function(){return Aa(t())};else{var s=Aa(t);n=function(){return s}}function f(t,o){void 0===t&&(t=n());var e=Na([a[o.type]],l.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[c]),e.reduce((function(t,e){if(e){var r;if(si(t))return void 0===(r=e(t,o))?t:r;if(fi(t))return na(t,(function(t){return e(t,o)}));if(void 0===(r=e(t,o))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=n,f}(r,(function(t){for(var o in f)t.addCase(o,f[o]);for(var e=0,r=a;e<r.length;e++){var n=r[e];t.addMatcher(n.matcher,n.reducer)}s&&t.addDefaultCase(s)}))}return i.forEach((function(t){var e,r,i=n[t],s=o+"/"+t;"reducer"in i?(e=i.reducer,r=i.prepare):e=i,a[t]=e,l[s]=e,c[t]=r?Za(s,r):Za(s)})),{name:o,reducer:function(t,o){return e||(e=s()),e(t,o)},actions:c,caseReducers:a,getInitialState:function(){return e||(e=s()),e.getInitialState()}}}var Ma=["name","message","stack","code"],Ha=function(t,o){this.payload=t,this.meta=o},Da=function(t,o){this.payload=t,this.meta=o},Ta=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=Ma;e<r.length;e++){var n=r[e];"string"==typeof t[n]&&(o[n]=t[n])}return o}return{message:String(t)}};function Ga(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,e){var r=Za(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:$a(ka({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),n=Za(t+"/pending",(function(t,o,e){return{payload:void 0,meta:$a(ka({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),i=Za(t+"/rejected",(function(t,o,r,n,i){return{payload:n,error:(e&&e.serializeError||Ta)(t||"Rejected"),meta:$a(ka({},i||{}),{arg:r,requestId:o,rejectedWithValue:!!n,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(l,c,s){var f,p=(null==e?void 0:e.idGenerator)?e.idGenerator(t):function(t){void 0===t&&(t=21);for(var o="",e=t;e--;)o+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return o}(),d=new a;function h(t){f=t,d.abort()}var u=function(){return a=this,u=null,y=function(){var a,u,y,g,b,m;return wa(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:c,extra:s}),null===(O=g)||"object"!=typeof O||"function"!=typeof O.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||d.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,o){return d.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),l(n(p,t,null==(u=null==e?void 0:e.getPendingMeta)?void 0:u.call(e,{requestId:p,arg:t},{getState:c,extra:s}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:l,getState:c,extra:s,requestId:p,signal:d.signal,abort:h,rejectWithValue:function(t,o){return new Ha(t,o)},fulfillWithValue:function(t,o){return new Da(t,o)}})).then((function(o){if(o instanceof Ha)throw o;return o instanceof Da?r(o.payload,p,t,o.meta):r(o,p,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Ha?i(null,p,t,m.payload,m.meta):i(m,p,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&i.match(y)&&y.meta.condition||l(y),[2,y]}var O}))},new Promise((function(t,o){var e=function(t){try{n(y.next(t))}catch(t){o(t)}},r=function(t){try{n(y.throw(t))}catch(t){o(t)}},n=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};n((y=y.apply(a,u)).next())}));var a,u,y}();return Object.assign(u,{abort:h,requestId:p,arg:t,unwrap:function(){return u.then(Ga)}})}}),{pending:n,rejected:i,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Va="listenerMiddleware";Za(Va+"/add"),Za(Va+"/removeAll"),Za(Va+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var e=n[t];return e?e.enumerable=o:n[t]=e={configurable:!0,enumerable:o,get:function(){var o=this[qi];return ta.get(o,t)},set:function(o){var e=this[qi];ta.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var n=t[o][qi];if(!n.P)switch(n.i){case 5:r(n)&&Fi(n);break;case 4:e(n)&&Fi(n)}}}function e(t){for(var o=t.t,e=t.k,r=Ji(e),n=r.length-1;n>=0;n--){var i=r[n];if(i!==qi){var a=o[i];if(void 0===a&&!hi(o,i))return!0;var l=e[i],c=l&&l[qi];if(c?c.t!==a:!yi(l,a))return!0}}var s=!!o[qi];return r.length!==Ji(o).length+(s?0:1)}function r(t){var o=t.k;if(o.length!==t.t.length)return!0;var e=Object.getOwnPropertyDescriptor(o,o.length-1);if(e&&!e.get)return!0;for(var r=0;r<o.length;r++)if(!o.hasOwnProperty(r))return!0;return!1}var n={};!function(t,o){Qi[t]||(Qi[t]=o)}("ES5",{J:function(o,e){var r=Array.isArray(o),n=function(o,e){if(o){for(var r=Array(e.length),n=0;n<e.length;n++)Object.defineProperty(r,""+n,t(n,!0));return r}var i=Xi(e);delete i[qi];for(var a=Ji(i),l=0;l<a.length;l++){var c=a[l];i[c]=t(c,o||!!i[c].enumerable)}return Object.create(Object.getPrototypeOf(e),i)}(r,o),i={i:r?5:4,A:e?e.A:Ni(),P:!1,I:!1,R:{},l:e,t:o,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,qi,{value:i,writable:!0}),n},S:function(t,e,n){n?si(e)&&e[qi].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[qi];if(e){var n=e.t,i=e.k,a=e.R,l=e.i;if(4===l)pi(i,(function(o){o!==qi&&(void 0!==n[o]||hi(n,o)?a[o]||t(i[o]):(a[o]=!0,Fi(e)))})),pi(n,(function(t){void 0!==i[t]||hi(i,t)||(a[t]=!1,Fi(e))}));else if(5===l){if(r(e)&&(Fi(e),a.length=!0),i.length<n.length)for(var c=i.length;c<n.length;c++)a[c]=!1;else for(var s=n.length;s<i.length;s++)a[s]=!0;for(var f=Math.min(i.length,n.length),p=0;p<f;p++)i.hasOwnProperty(p)||(a[p]=!0),void 0===a[p]&&t(i[p])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class qa{static get(t){var o;const e="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,n=window.ftReduxStores[e];if(ti(n))return n;if(null==r)return;const i=ja({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=Pa({reducer:(t,o)=>"CLEAR_FT_REDUX_STORE"===o.type?i.getInitialState():"string"==typeof o.type&&o.type.startsWith("DEFAULT_VALUE_SETTER__")?{...t,...o.overwrites}:i.reducer(t,o)});return window.ftReduxStores[r.name]=new qa(i,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Qn,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,e)=>{const r=o,n=t[r];return n?(...t)=>{const o=n(...t);return this.reduxStore.dispatch(o),o}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var Ya=Object.freeze({__proto__:null,FtCommandQueue:Qn,FtLitElementRedux:li,FtReduxStore:qa,clearAllStores:function(){var t;for(let o of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))ti(o)&&o.clear()},isFtReduxStore:ti,redux:t=>{const o=null!=t?t:{};return(t,e)=>{var r;const n={hasChanged:(t,o)=>!pe(t,o),attribute:!1,...o};wo(n)(t,e);const i=t.constructor;i.reduxProperties=new Map(i.reduxProperties),i.reduxProperties.set(e,{selector:null!==(r=o.selector)&&void 0!==r?r:t=>t[e],store:o.store})}},reduxEventListener:t=>(o,e)=>{const r=o.constructor;r.reduxEventListeners=new Map(r.reduxEventListeners),r.reduxEventListeners.set(e,t)},reduxReactive:()=>(t,o)=>{var e;const r=t.constructor;r.reduxReactiveProperties=new Set(r.reduxReactiveProperties),null===(e=r.reduxReactiveProperties)||void 0===e||e.add(o)}});var Ja=Object.freeze({__proto__:null,serializeRequest:function(t,o){var e;const r=new URLSearchParams({"content-lang":null!==(e=o.contentLocale)&&void 0!==e?e:"all",query:o.query});if(o.filters.length>0){const t=o.filters.map((t=>{const o=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${o}`})).join("*");r.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${r.toString()}`).href}});const Xa=Symbol("elementInternals");var Qa,tl,ol,el,rl=Object.freeze({__proto__:null,toFtFormComponent:function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Xa].form}constructor(...t){super(t),this[Xa]=this.attachInternals(),this[Xa].role=o}setFormValue(t){this[Xa].setFormValue(t)}}}});const nl=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(ol=null===(tl=null===(Qa=window.safari)||void 0===Qa?void 0:Qa.pushNotification)||void 0===tl?void 0:tl.toString())&&void 0!==ol?ol:""),il="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(el=window.ftGlobals)&&void 0!==el?el:{lit:Oo,litDecorators:Wo,litRepeat:Mo,litClassMap:Do,litStyleMap:qo,litUnsafeHTML:Xo,wcUtils:{...re,...ee,...ie,...le,...ge,...Or,...Nr,...In,...mr,...Pn,...Zn,...de,...Tn,...Yn,...Jn,...Xn,...Ya,...$n,...Ja,...rl,isSafari:nl,isTouchScreen:il}};
177
+ `;var Yn=Object.freeze({__proto__:null,noTextSelect:Gn,safariEllipsisFix:qn,wordWrap:Vn}),Jn=Object.freeze({__proto__:null});var Xn=Object.freeze({__proto__:null,ParametrizedLabelResolver:class{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,r;t=this.resolvePluralKey(t,o);let n=null!==(r=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==r?r:"";return o.forEach(((t,o)=>n=n.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),n}resolvePluralKey(t,o){for(let e of o)if("number"==typeof e){const o=`${String(t)}[\\=${e}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const e=e=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(e):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(e):t.toLocaleString(e);try{return e(document.documentElement.lang)}catch(t){return e()}}}});class Qn{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter((o=>o.type!==t.type))),this.queue.push(t)}consume(t){const o=this.queue.find((o=>o.type===t));return o&&(this.queue=this.queue.filter((t=>t!==o))),o}}function ti(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var oi,ei,ri;const ni=Symbol("internalReduxEventsUnsubscribers"),ii=Symbol("internalStoresUnsubscribers"),ai=Symbol("internalStores");class li extends _n{constructor(){super(...arguments),this[oi]=new Map,this[ei]=new Map,this[ri]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[ai].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ai].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[ai].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:ti(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[ai].delete(o)}setupStore(t,o){this[ai].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[ai].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[ii].has(t.store):this[ii].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[ii].set(t,o.subscribe((()=>this.updateFromStores()))),ti(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[ni].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[ii].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[ni].forEach((t=>t())),this[ni]=[]}unsubscribeFromStore(t){this[ii].has(t)&&this[ii].get(t)(),this[ii].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function ci(t){for(var o=arguments.length,e=Array(o>1?o-1:0),r=1;r<o;r++)e[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(e.length?" "+e.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function si(t){return!!t&&!!t[qi]}function fi(t){var o;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;var e=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return e===Object||"function"==typeof e&&Function.toString.call(e)===Yi}(t)||Array.isArray(t)||!!t[Vi]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Vi])||gi(t)||bi(t))}function pi(t,o,e){void 0===e&&(e=!1),0===di(t)?(e?Object.keys:Ji)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function di(t){var o=t[qi];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:gi(t)?2:bi(t)?3:0}function ui(t,o){return 2===di(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function hi(t,o,e){var r=di(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function yi(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function gi(t){return Di&&t instanceof Map}function bi(t){return Hi&&t instanceof Set}function mi(t){return t.o||t.t}function vi(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Xi(t);delete o[qi];for(var e=Ji(o),r=0;r<e.length;r++){var n=e[r],i=o[n];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(o[n]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),o)}function Oi(t,o){return void 0===o&&(o=!1),Si(t)||si(t)||!fi(t)||(di(t)>1&&(t.set=t.add=t.clear=t.delete=xi),Object.freeze(t),o&&pi(t,(function(t,o){return Oi(o,!0)}),!0)),t}function xi(){ci(2)}function Si(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function wi(t){var o=Qi[t];return o||ci(18,t),o}function Ci(){return Ki}function Ni(t,o){o&&(wi("Patches"),t.u=[],t.s=[],t.v=o)}function Ei(t){Ri(t),t.p.forEach(Li),t.p=null}function Ri(t){t===Ki&&(Ki=t.l)}function Ii(t){return Ki={p:[],l:Ki,h:t,m:!0,_:0}}function Li(t){var o=t[qi];0===o.i||1===o.i?o.j():o.g=!0}function Wi(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||wi("ES5").S(o,t,r),r?(e[qi].P&&(Ei(o),ci(4)),fi(t)&&(t=Ui(o,t),o.l||$i(o,t)),o.u&&wi("Patches").M(e[qi].t,t,o.u,o.s)):t=Ui(o,e,[]),Ei(o),o.u&&o.v(o.u,o.s),t!==Gi?t:void 0}function Ui(t,o,e){if(Si(o))return o;var r=o[qi];if(!r)return pi(o,(function(n,i){return ki(t,r,o,n,i,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return $i(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var n=4===r.i||5===r.i?r.o=vi(r.k):r.o,i=n,a=!1;3===r.i&&(i=new Set(n),n.clear(),a=!0),pi(i,(function(o,i){return ki(t,r,n,o,i,e,a)})),$i(t,n,!1),e&&t.u&&wi("Patches").N(r,e,t.u,t.s)}return r.o}function ki(t,o,e,r,n,i,a){if(si(n)){var l=Ui(t,n,i&&o&&3!==o.i&&!ui(o.R,r)?i.concat(r):void 0);if(hi(e,r,l),!si(l))return;t.m=!1}else a&&e.add(n);if(fi(n)&&!Si(n)){if(!t.h.D&&t._<1)return;Ui(t,n),o&&o.A.l||$i(t,n)}}function $i(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&Oi(o,e)}function zi(t,o){var e=t[qi];return(e?mi(e):t)[o]}function Fi(t,o){if(o in t)for(var e=Object.getPrototypeOf(t);e;){var r=Object.getOwnPropertyDescriptor(e,o);if(r)return r;e=Object.getPrototypeOf(e)}}function Bi(t){t.P||(t.P=!0,t.l&&Bi(t.l))}function Ai(t){t.o||(t.o=vi(t.t))}function _i(t,o,e){var r=gi(o)?wi("MapSet").F(o,e):bi(o)?wi("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:Ci(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},n=r,i=ta;e&&(n=[r],i=oa);var a=Proxy.revocable(n,i),l=a.revoke,c=a.proxy;return r.k=c,r.j=l,c}(o,e):wi("ES5").J(o,e);return(e?e.A:Ci()).p.push(r),r}function Pi(t){return si(t)||ci(22,t),function t(o){if(!fi(o))return o;var e,r=o[qi],n=di(o);if(r){if(!r.P&&(r.i<4||!wi("ES5").K(r)))return r.t;r.I=!0,e=Mi(o,n),r.I=!1}else e=Mi(o,n);return pi(e,(function(o,n){r&&function(t,o){return 2===di(t)?t.get(o):t[o]}(r.t,o)===n||hi(e,o,t(n))})),3===n?new Set(e):e}(t)}function Mi(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return vi(t)}oi=ii,ei=ai,ri=ni,li.reduxProperties=new Map,li.reduxReactiveProperties=new Set,li.reduxEventListeners=new Map;var Zi,Ki,ji="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Di="undefined"!=typeof Map,Hi="undefined"!=typeof Set,Ti="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Gi=ji?Symbol.for("immer-nothing"):((Zi={})["immer-nothing"]=!0,Zi),Vi=ji?Symbol.for("immer-draftable"):"__$immer_draftable",qi=ji?Symbol.for("immer-state"):"__$immer_state",Yi=""+Object.prototype.constructor,Ji="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Xi=Object.getOwnPropertyDescriptors||function(t){var o={};return Ji(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},Qi={},ta={get:function(t,o){if(o===qi)return t;var e=mi(t);if(!ui(e,o))return function(t,o,e){var r,n=Fi(o,e);return n?"value"in n?n.value:null===(r=n.get)||void 0===r?void 0:r.call(t.k):void 0}(t,e,o);var r=e[o];return t.I||!fi(r)?r:r===zi(t.t,o)?(Ai(t),t.o[o]=_i(t.A.h,r,t)):r},has:function(t,o){return o in mi(t)},ownKeys:function(t){return Reflect.ownKeys(mi(t))},set:function(t,o,e){var r=Fi(mi(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var n=zi(mi(t),o),i=null==n?void 0:n[qi];if(i&&i.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(yi(e,n)&&(void 0!==e||ui(t.t,o)))return!0;Ai(t),Bi(t)}return t.o[o]===e&&(void 0!==e||o in t.o)||Number.isNaN(e)&&Number.isNaN(t.o[o])||(t.o[o]=e,t.R[o]=!0),!0},deleteProperty:function(t,o){return void 0!==zi(t.t,o)||o in t.t?(t.R[o]=!1,Ai(t),Bi(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=mi(t),r=Reflect.getOwnPropertyDescriptor(e,o);return r?{writable:!0,configurable:1!==t.i||"length"!==o,enumerable:r.enumerable,value:e[o]}:r},defineProperty:function(){ci(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){ci(12)}},oa={};pi(ta,(function(t,o){oa[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),oa.deleteProperty=function(t,o){return oa.set.call(this,t,o,void 0)},oa.set=function(t,o,e){return ta.set.call(this,t[0],o,e,t[0])};var ea=function(){function t(t){var o=this;this.O=Ti,this.D=!0,this.produce=function(t,e,r){if("function"==typeof t&&"function"!=typeof e){var n=e;e=t;var i=o;return function(t){var o=this;void 0===t&&(t=n);for(var r=arguments.length,a=Array(r>1?r-1:0),l=1;l<r;l++)a[l-1]=arguments[l];return i.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&ci(6),void 0!==r&&"function"!=typeof r&&ci(7),fi(t)){var l=Ii(o),c=_i(o,t,void 0),s=!0;try{a=e(c),s=!1}finally{s?Ei(l):Ri(l)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return Ni(l,r),Wi(t,l)}),(function(t){throw Ei(l),t})):(Ni(l,r),Wi(a,l))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===Gi&&(a=void 0),o.D&&Oi(a,!0),r){var f=[],p=[];wi("Patches").M(t,a,f,p),r(f,p)}return a}ci(21,t)},this.produceWithPatches=function(t,e){if("function"==typeof t)return function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return o.produceWithPatches(e,(function(o){return t.apply(void 0,[o].concat(n))}))};var r,n,i=o.produce(t,e,(function(t,o){r=t,n=o}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(t){return[t,r,n]})):[i,r,n]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var o=t.prototype;return o.createDraft=function(t){fi(t)||ci(8),si(t)&&(t=Pi(t));var o=Ii(this),e=_i(this,t,void 0);return e[qi].C=!0,Ri(o),e},o.finishDraft=function(t,o){var e=(t&&t[qi]).A;return Ni(e,o),Wi(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Ti&&ci(20),this.O=t},o.applyPatches=function(t,o){var e;for(e=o.length-1;e>=0;e--){var r=o[e];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}e>-1&&(o=o.slice(e+1));var n=wi("Patches").$;return si(t)?n(t,o):this.produce(t,(function(t){return n(t,o)}))},t}(),ra=new ea,na=ra.produce;function ia(t){return ia="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ia(t)}function aa(t){var o=function(t,o){if("object"!==ia(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==ia(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===ia(o)?o:String(o)}function la(t,o,e){return(o=aa(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function ca(t,o){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),e.push.apply(e,r)}return e}function sa(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?ca(Object(e),!0).forEach((function(o){la(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):ca(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function fa(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}ra.produceWithPatches.bind(ra),ra.setAutoFreeze.bind(ra),ra.setUseProxies.bind(ra),ra.applyPatches.bind(ra),ra.createDraft.bind(ra),ra.finishDraft.bind(ra);var pa="function"==typeof Symbol&&Symbol.observable||"@@observable",da=function(){return Math.random().toString(36).substring(7).split("").join(".")},ua={INIT:"@@redux/INIT"+da(),REPLACE:"@@redux/REPLACE"+da(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+da()}};function ha(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(fa(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(fa(1));return e(ha)(t,o)}if("function"!=typeof t)throw new Error(fa(2));var n=t,i=o,a=[],l=a,c=!1;function s(){l===a&&(l=a.slice())}function f(){if(c)throw new Error(fa(3));return i}function p(t){if("function"!=typeof t)throw new Error(fa(4));if(c)throw new Error(fa(5));var o=!0;return s(),l.push(t),function(){if(o){if(c)throw new Error(fa(6));o=!1,s();var e=l.indexOf(t);l.splice(e,1),a=null}}}function d(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(fa(7));if(void 0===t.type)throw new Error(fa(8));if(c)throw new Error(fa(9));try{c=!0,i=n(i,t)}finally{c=!1}for(var o=a=l,e=0;e<o.length;e++){(0,o[e])()}return t}return d({type:ua.INIT}),(r={dispatch:d,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(fa(10));n=t,d({type:ua.REPLACE})}})[pa]=function(){var t,o=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(fa(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[pa]=function(){return this},t},r}function ya(t){for(var o=Object.keys(t),e={},r=0;r<o.length;r++){var n=o[r];"function"==typeof t[n]&&(e[n]=t[n])}var i,a=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(o){var e=t[o];if(void 0===e(void 0,{type:ua.INIT}))throw new Error(fa(12));if(void 0===e(void 0,{type:ua.PROBE_UNKNOWN_ACTION()}))throw new Error(fa(13))}))}(e)}catch(t){i=t}return function(t,o){if(void 0===t&&(t={}),i)throw i;for(var r=!1,n={},l=0;l<a.length;l++){var c=a[l],s=e[c],f=t[c],p=s(f,o);if(void 0===p)throw o&&o.type,new Error(fa(14));n[c]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?n:t}}function ga(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return 0===o.length?function(t){return t}:1===o.length?o[0]:o.reduce((function(t,o){return function(){return t(o.apply(void 0,arguments))}}))}function ba(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return function(t){return function(){var e=t.apply(void 0,arguments),r=function(){throw new Error(fa(15))},n={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=o.map((function(t){return t(n)}));return r=ga.apply(void 0,i)(e.dispatch),sa(sa({},e),{},{dispatch:r})}}}function ma(t){return function(o){var e=o.dispatch,r=o.getState;return function(o){return function(n){return"function"==typeof n?n(e,r,t):o(n)}}}}var va=ma();va.withExtraArgument=ma;var Oa,xa=va,Sa=(Oa=function(t,o){return Oa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])},Oa(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function e(){this.constructor=t}Oa(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),wa=function(t,o){var e,r,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=1,r&&(n=2&i[0]?r.return:i[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,i[1])).done)return n;switch(r=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=o.call(t,a)}catch(t){i=[6,t],r=0}finally{e=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}},Ca=function(t,o){for(var e=0,r=o.length,n=t.length;e<r;e++,n++)t[n]=o[e];return t},Na=Object.defineProperty,Ea=Object.defineProperties,Ra=Object.getOwnPropertyDescriptors,Ia=Object.getOwnPropertySymbols,La=Object.prototype.hasOwnProperty,Wa=Object.prototype.propertyIsEnumerable,Ua=function(t,o,e){return o in t?Na(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},ka=function(t,o){for(var e in o||(o={}))La.call(o,e)&&Ua(t,e,o[e]);if(Ia)for(var r=0,n=Ia(o);r<n.length;r++){e=n[r];Wa.call(o,e)&&Ua(t,e,o[e])}return t},$a=function(t,o){return Ea(t,Ra(o))},za="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?ga:ga.apply(null,arguments)};var Fa=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=t.apply(this,e)||this;return Object.setPrototypeOf(n,o.prototype),n}return Sa(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,Ca([void 0],t[0].concat(this)))):new(o.bind.apply(o,Ca([void 0],t.concat(this))))},o}(Array),Ba=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=t.apply(this,e)||this;return Object.setPrototypeOf(n,o.prototype),n}return Sa(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,Ca([void 0],t[0].concat(this)))):new(o.bind.apply(o,Ca([void 0],t.concat(this))))},o}(Array);function Aa(t){return fi(t)?na(t,(function(){})):t}function _a(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,e=void 0===o||o;t.immutableCheck,t.serializableCheck;var r=new Fa;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(xa.withExtraArgument(e.extraArgument)):r.push(xa));return r}(t)}}function Pa(t){var o,e=_a(),r=t||{},n=r.reducer,i=void 0===n?void 0:n,a=r.middleware,l=void 0===a?e():a,c=r.devTools,s=void 0===c||c,f=r.preloadedState,p=void 0===f?void 0:f,d=r.enhancers,u=void 0===d?void 0:d;if("function"==typeof i)o=i;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;for(var e=o;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return o===e}(i))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');o=ya(i)}var h=l;"function"==typeof h&&(h=h(e));var y=ba.apply(void 0,h),g=ga;s&&(g=za(ka({trace:!1},"object"==typeof s&&s)));var b=new Ba(y),m=b;return Array.isArray(u)?m=Ca([y],u):"function"==typeof u&&(m=u(b)),ha(o,p,g.apply(void 0,m))}function Ma(t,o){function e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(o){var n=o.apply(void 0,e);if(!n)throw new Error("prepareAction did not return an object");return ka(ka({type:t,payload:n.payload},"meta"in n&&{meta:n.meta}),"error"in n&&{error:n.error})}return{type:t,payload:e[0]}}return e.toString=function(){return""+t},e.type=t,e.match=function(o){return o.type===t},e}function Za(t){var o,e={},r=[],n={addCase:function(t,o){var r="string"==typeof t?t:t.type;if(r in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[r]=o,n},addMatcher:function(t,o){return r.push({matcher:t,reducer:o}),n},addDefaultCase:function(t){return o=t,n}};return t(n),[e,r,o]}function Ka(t){var o=t.name;if(!o)throw new Error("`name` is a required option for createSlice");var e,r="function"==typeof t.initialState?t.initialState:Aa(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},l={},c={};function s(){var o="function"==typeof t.extraReducers?Za(t.extraReducers):[t.extraReducers],e=o[0],n=void 0===e?{}:e,i=o[1],a=void 0===i?[]:i,c=o[2],s=void 0===c?void 0:c,f=ka(ka({},n),l);return function(t,o,e,r){void 0===e&&(e=[]);var n,i="function"==typeof o?Za(o):[o,e,r],a=i[0],l=i[1],c=i[2];if(function(t){return"function"==typeof t}(t))n=function(){return Aa(t())};else{var s=Aa(t);n=function(){return s}}function f(t,o){void 0===t&&(t=n());var e=Ca([a[o.type]],l.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[c]),e.reduce((function(t,e){if(e){var r;if(si(t))return void 0===(r=e(t,o))?t:r;if(fi(t))return na(t,(function(t){return e(t,o)}));if(void 0===(r=e(t,o))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=n,f}(r,(function(t){for(var o in f)t.addCase(o,f[o]);for(var e=0,r=a;e<r.length;e++){var n=r[e];t.addMatcher(n.matcher,n.reducer)}s&&t.addDefaultCase(s)}))}return i.forEach((function(t){var e,r,i=n[t],s=o+"/"+t;"reducer"in i?(e=i.reducer,r=i.prepare):e=i,a[t]=e,l[s]=e,c[t]=r?Ma(s,r):Ma(s)})),{name:o,reducer:function(t,o){return e||(e=s()),e(t,o)},actions:c,caseReducers:a,getInitialState:function(){return e||(e=s()),e.getInitialState()}}}var ja=["name","message","stack","code"],Da=function(t,o){this.payload=t,this.meta=o},Ha=function(t,o){this.payload=t,this.meta=o},Ta=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=ja;e<r.length;e++){var n=r[e];"string"==typeof t[n]&&(o[n]=t[n])}return o}return{message:String(t)}};function Ga(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,e){var r=Ma(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:$a(ka({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),n=Ma(t+"/pending",(function(t,o,e){return{payload:void 0,meta:$a(ka({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),i=Ma(t+"/rejected",(function(t,o,r,n,i){return{payload:n,error:(e&&e.serializeError||Ta)(t||"Rejected"),meta:$a(ka({},i||{}),{arg:r,requestId:o,rejectedWithValue:!!n,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(l,c,s){var f,p=(null==e?void 0:e.idGenerator)?e.idGenerator(t):function(t){void 0===t&&(t=21);for(var o="",e=t;e--;)o+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return o}(),d=new a;function u(t){f=t,d.abort()}var h=function(){return a=this,h=null,y=function(){var a,h,y,g,b,m;return wa(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:c,extra:s}),null===(O=g)||"object"!=typeof O||"function"!=typeof O.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||d.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,o){return d.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),l(n(p,t,null==(h=null==e?void 0:e.getPendingMeta)?void 0:h.call(e,{requestId:p,arg:t},{getState:c,extra:s}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:l,getState:c,extra:s,requestId:p,signal:d.signal,abort:u,rejectWithValue:function(t,o){return new Da(t,o)},fulfillWithValue:function(t,o){return new Ha(t,o)}})).then((function(o){if(o instanceof Da)throw o;return o instanceof Ha?r(o.payload,p,t,o.meta):r(o,p,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Da?i(null,p,t,m.payload,m.meta):i(m,p,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&i.match(y)&&y.meta.condition||l(y),[2,y]}var O}))},new Promise((function(t,o){var e=function(t){try{n(y.next(t))}catch(t){o(t)}},r=function(t){try{n(y.throw(t))}catch(t){o(t)}},n=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};n((y=y.apply(a,h)).next())}));var a,h,y}();return Object.assign(h,{abort:u,requestId:p,arg:t,unwrap:function(){return h.then(Ga)}})}}),{pending:n,rejected:i,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Va="listenerMiddleware";Ma(Va+"/add"),Ma(Va+"/removeAll"),Ma(Va+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var e=n[t];return e?e.enumerable=o:n[t]=e={configurable:!0,enumerable:o,get:function(){var o=this[qi];return ta.get(o,t)},set:function(o){var e=this[qi];ta.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var n=t[o][qi];if(!n.P)switch(n.i){case 5:r(n)&&Bi(n);break;case 4:e(n)&&Bi(n)}}}function e(t){for(var o=t.t,e=t.k,r=Ji(e),n=r.length-1;n>=0;n--){var i=r[n];if(i!==qi){var a=o[i];if(void 0===a&&!ui(o,i))return!0;var l=e[i],c=l&&l[qi];if(c?c.t!==a:!yi(l,a))return!0}}var s=!!o[qi];return r.length!==Ji(o).length+(s?0:1)}function r(t){var o=t.k;if(o.length!==t.t.length)return!0;var e=Object.getOwnPropertyDescriptor(o,o.length-1);if(e&&!e.get)return!0;for(var r=0;r<o.length;r++)if(!o.hasOwnProperty(r))return!0;return!1}var n={};!function(t,o){Qi[t]||(Qi[t]=o)}("ES5",{J:function(o,e){var r=Array.isArray(o),n=function(o,e){if(o){for(var r=Array(e.length),n=0;n<e.length;n++)Object.defineProperty(r,""+n,t(n,!0));return r}var i=Xi(e);delete i[qi];for(var a=Ji(i),l=0;l<a.length;l++){var c=a[l];i[c]=t(c,o||!!i[c].enumerable)}return Object.create(Object.getPrototypeOf(e),i)}(r,o),i={i:r?5:4,A:e?e.A:Ci(),P:!1,I:!1,R:{},l:e,t:o,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,qi,{value:i,writable:!0}),n},S:function(t,e,n){n?si(e)&&e[qi].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[qi];if(e){var n=e.t,i=e.k,a=e.R,l=e.i;if(4===l)pi(i,(function(o){o!==qi&&(void 0!==n[o]||ui(n,o)?a[o]||t(i[o]):(a[o]=!0,Bi(e)))})),pi(n,(function(t){void 0!==i[t]||ui(i,t)||(a[t]=!1,Bi(e))}));else if(5===l){if(r(e)&&(Bi(e),a.length=!0),i.length<n.length)for(var c=i.length;c<n.length;c++)a[c]=!1;else for(var s=n.length;s<i.length;s++)a[s]=!0;for(var f=Math.min(i.length,n.length),p=0;p<f;p++)i.hasOwnProperty(p)||(a[p]=!0),void 0===a[p]&&t(i[p])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class qa{static get(t){var o;const e="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,n=window.ftReduxStores[e];if(ti(n))return n;if(null==r)return;const i=Ka({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=Pa({reducer:(t,o)=>"CLEAR_FT_REDUX_STORE"===o.type?i.getInitialState():"string"==typeof o.type&&o.type.startsWith("DEFAULT_VALUE_SETTER__")?{...t,...o.overwrites}:i.reducer(t,o)});return window.ftReduxStores[r.name]=new qa(i,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Qn,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,e)=>{const r=o,n=t[r];return n?(...t)=>{const o=n(...t);return this.reduxStore.dispatch(o),o}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var Ya=Object.freeze({__proto__:null,FtCommandQueue:Qn,FtLitElementRedux:li,FtReduxStore:qa,clearAllStores:function(){var t;for(let o of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))ti(o)&&o.clear()},isFtReduxStore:ti,redux:t=>{const o=null!=t?t:{};return(t,e)=>{var r;const n={hasChanged:(t,o)=>!pe(t,o),attribute:!1,...o};wo(n)(t,e);const i=t.constructor;i.reduxProperties=new Map(i.reduxProperties),i.reduxProperties.set(e,{selector:null!==(r=o.selector)&&void 0!==r?r:t=>t[e],store:o.store})}},reduxEventListener:t=>(o,e)=>{const r=o.constructor;r.reduxEventListeners=new Map(r.reduxEventListeners),r.reduxEventListeners.set(e,t)},reduxReactive:()=>(t,o)=>{var e;const r=t.constructor;r.reduxReactiveProperties=new Set(r.reduxReactiveProperties),null===(e=r.reduxReactiveProperties)||void 0===e||e.add(o)}});var Ja=Object.freeze({__proto__:null,serializeRequest:function(t,o){var e,r,n,i;const a=new URLSearchParams({"content-lang":null!==(e=o.contentLocale)&&void 0!==e?e:"all"});if((null===(r=o.query)||void 0===r?void 0:r.length)>0&&a.append("query",o.query),o.scope&&"DEFAULT"!==o.scope&&a.append("scope",o.scope.toLowerCase()),o.virtualField&&a.append("virtual-field",o.virtualField.toLowerCase()),o.periodFilter){let t=o.periodFilter.period;const e=t?`_${t.from}_${t.to}`:"";a.append("period",o.periodFilter.periodType.toLowerCase()+e)}if((null===(n=o.sort)||void 0===n?void 0:n.length)>0&&"ft:lastEdition"===o.sort[0].key&&a.append("sort","last_update"),(null===(i=o.filters)||void 0===i?void 0:i.length)>0){const t=o.filters.map((t=>{const o=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${o}`})).join("*");a.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${a.toString()}`).href}});const Xa=Symbol("elementInternals");var Qa,tl,ol,el,rl=Object.freeze({__proto__:null,toFtFormComponent:function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Xa].form}constructor(...t){super(t),this[Xa]=this.attachInternals(),this[Xa].role=o}setFormValue(t){this[Xa].setFormValue(t)}}}});const nl=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(ol=null===(tl=null===(Qa=window.safari)||void 0===Qa?void 0:Qa.pushNotification)||void 0===tl?void 0:tl.toString())&&void 0!==ol?ol:""),il="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(el=window.ftGlobals)&&void 0!==el?el:{lit:Oo,litDecorators:Wo,litRepeat:jo,litClassMap:Ho,litStyleMap:qo,litUnsafeHTML:Xo,wcUtils:{...re,...ee,...ie,...le,...ge,...Or,...Cr,...In,...mr,...Pn,...Mn,...de,...Tn,...Yn,...Jn,...Xn,...Ya,...$n,...Ja,...rl,isSafari:nl,isTouchScreen:il}};
177
178
  /**
178
179
  * @license
179
180
  * Copyright 2020 Google LLC
180
181
  * SPDX-License-Identifier: BSD-3-Clause
181
182
  */
182
- const al=Symbol.for(""),ll=t=>{if(t?.r===al)return t?._$litStatic$},cl=t=>({_$litStatic$:t,r:al}),sl=new Map,fl=(t=>(o,...e)=>{const r=e.length;let n,i;const a=[],l=[];let c,s=0,f=!1;for(;s<r;){for(c=o[s];s<r&&void 0!==(i=e[s],n=ll(i));)c+=n+o[++s],f=!0;s!==r&&l.push(i),a.push(c),s++}if(s===r&&a.push(o[r]),f){const t=a.join("$$lit$$");void 0===(o=sl.get(t))&&(a.raw=a,sl.set(t,o=a)),e=l}return t(o,...e)})(j);var pl;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(pl||(pl={}));const dl=me.extend("--ft-typography-font-family","",vr.titleFont),hl=me.extend("--ft-typography-font-family","",vr.contentFont),ul={fontFamily:hl,fontSize:me.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:me.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:me.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:me.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:me.create("--ft-typography-text-transform","","UNKNOWN","inherit")},yl=me.extend("--ft-typography-title-font-family","",dl),gl=me.extend("--ft-typography-title-font-size","",ul.fontSize,"20px"),bl=me.extend("--ft-typography-title-font-weight","",ul.fontWeight,"normal"),ml=me.extend("--ft-typography-title-letter-spacing","",ul.letterSpacing,"0.15px"),vl=me.extend("--ft-typography-title-line-height","",ul.lineHeight,"1.2"),Ol=me.extend("--ft-typography-title-text-transform","",ul.textTransform,"inherit"),xl=me.extend("--ft-typography-title-dense-font-family","",dl),Sl=me.extend("--ft-typography-title-dense-font-size","",ul.fontSize,"14px"),wl=me.extend("--ft-typography-title-dense-font-weight","",ul.fontWeight,"normal"),Nl=me.extend("--ft-typography-title-dense-letter-spacing","",ul.letterSpacing,"0.105px"),Cl=me.extend("--ft-typography-title-dense-line-height","",ul.lineHeight,"1.7"),El=me.extend("--ft-typography-title-dense-text-transform","",ul.textTransform,"inherit"),Rl=me.extend("--ft-typography-subtitle1-font-family","",hl),Il=me.extend("--ft-typography-subtitle1-font-size","",ul.fontSize,"16px"),Ll=me.extend("--ft-typography-subtitle1-font-weight","",ul.fontWeight,"600"),Wl=me.extend("--ft-typography-subtitle1-letter-spacing","",ul.letterSpacing,"0.144px"),Ul=me.extend("--ft-typography-subtitle1-line-height","",ul.lineHeight,"1.5"),kl=me.extend("--ft-typography-subtitle1-text-transform","",ul.textTransform,"inherit"),$l=me.extend("--ft-typography-subtitle2-font-family","",hl),zl=me.extend("--ft-typography-subtitle2-font-size","",ul.fontSize,"14px"),Bl=me.extend("--ft-typography-subtitle2-font-weight","",ul.fontWeight,"normal"),Fl=me.extend("--ft-typography-subtitle2-letter-spacing","",ul.letterSpacing,"0.098px"),Al=me.extend("--ft-typography-subtitle2-line-height","",ul.lineHeight,"1.7"),_l=me.extend("--ft-typography-subtitle2-text-transform","",ul.textTransform,"inherit"),Pl=me.extend("--ft-typography-body1-font-family","",hl),Zl=me.extend("--ft-typography-body1-font-size","",ul.fontSize,"16px"),Kl=me.extend("--ft-typography-body1-font-weight","",ul.fontWeight,"normal"),jl=me.extend("--ft-typography-body1-letter-spacing","",ul.letterSpacing,"0.496px"),Ml=me.extend("--ft-typography-body1-line-height","",ul.lineHeight,"1.5"),Hl=me.extend("--ft-typography-body1-text-transform","",ul.textTransform,"inherit"),Dl=me.extend("--ft-typography-body2-font-family","",hl),Tl=me.extend("--ft-typography-body2-font-size","",ul.fontSize,"14px"),Gl=me.extend("--ft-typography-body2-font-weight","",ul.fontWeight,"normal"),Vl=me.extend("--ft-typography-body2-letter-spacing","",ul.letterSpacing,"0.252px"),ql=me.extend("--ft-typography-body2-line-height","",ul.lineHeight,"1.4"),Yl=me.extend("--ft-typography-body2-text-transform","",ul.textTransform,"inherit"),Jl=me.extend("--ft-typography-caption-font-family","",hl),Xl=me.extend("--ft-typography-caption-font-size","",ul.fontSize,"12px"),Ql=me.extend("--ft-typography-caption-font-weight","",ul.fontWeight,"normal"),tc=me.extend("--ft-typography-caption-letter-spacing","",ul.letterSpacing,"0.396px"),oc=me.extend("--ft-typography-caption-line-height","",ul.lineHeight,"1.33"),ec=me.extend("--ft-typography-caption-text-transform","",ul.textTransform,"inherit"),rc=me.extend("--ft-typography-breadcrumb-font-family","",hl),nc=me.extend("--ft-typography-breadcrumb-font-size","",ul.fontSize,"10px"),ic=me.extend("--ft-typography-breadcrumb-font-weight","",ul.fontWeight,"normal"),ac=me.extend("--ft-typography-breadcrumb-letter-spacing","",ul.letterSpacing,"0.33px"),lc=me.extend("--ft-typography-breadcrumb-line-height","",ul.lineHeight,"1.6"),cc=me.extend("--ft-typography-breadcrumb-text-transform","",ul.textTransform,"inherit"),sc=me.extend("--ft-typography-overline-font-family","",hl),fc=me.extend("--ft-typography-overline-font-size","",ul.fontSize,"10px"),pc=me.extend("--ft-typography-overline-font-weight","",ul.fontWeight,"normal"),dc=me.extend("--ft-typography-overline-letter-spacing","",ul.letterSpacing,"1.5px"),hc=me.extend("--ft-typography-overline-line-height","",ul.lineHeight,"1.6"),uc=me.extend("--ft-typography-overline-text-transform","",ul.textTransform,"uppercase"),yc=me.extend("--ft-typography-button-font-family","",hl),gc=me.extend("--ft-typography-button-font-size","",ul.fontSize,"14px"),bc=me.extend("--ft-typography-button-font-weight","",ul.fontWeight,"600"),mc=me.extend("--ft-typography-button-letter-spacing","",ul.letterSpacing,"1.246px"),vc=me.extend("--ft-typography-button-line-height","",ul.lineHeight,"1.15"),Oc=me.extend("--ft-typography-button-text-transform","",ul.textTransform,"uppercase"),xc=dt`
183
+ const al=Symbol.for(""),ll=t=>{if(t?.r===al)return t?._$litStatic$},cl=t=>({_$litStatic$:t,r:al}),sl=new Map,fl=(t=>(o,...e)=>{const r=e.length;let n,i;const a=[],l=[];let c,s=0,f=!1;for(;s<r;){for(c=o[s];s<r&&void 0!==(i=e[s],n=ll(i));)c+=n+o[++s],f=!0;s!==r&&l.push(i),a.push(c),s++}if(s===r&&a.push(o[r]),f){const t=a.join("$$lit$$");void 0===(o=sl.get(t))&&(a.raw=a,sl.set(t,o=a)),e=l}return t(o,...e)})(K);var pl;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(pl||(pl={}));const dl=me.extend("--ft-typography-font-family","",vr.titleFont),ul=me.extend("--ft-typography-font-family","",vr.contentFont),hl={fontFamily:ul,fontSize:me.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:me.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:me.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:me.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:me.create("--ft-typography-text-transform","","UNKNOWN","inherit")},yl=me.extend("--ft-typography-title-font-family","",dl),gl=me.extend("--ft-typography-title-font-size","",hl.fontSize,"20px"),bl=me.extend("--ft-typography-title-font-weight","",hl.fontWeight,"normal"),ml=me.extend("--ft-typography-title-letter-spacing","",hl.letterSpacing,"0.15px"),vl=me.extend("--ft-typography-title-line-height","",hl.lineHeight,"1.2"),Ol=me.extend("--ft-typography-title-text-transform","",hl.textTransform,"inherit"),xl=me.extend("--ft-typography-title-dense-font-family","",dl),Sl=me.extend("--ft-typography-title-dense-font-size","",hl.fontSize,"14px"),wl=me.extend("--ft-typography-title-dense-font-weight","",hl.fontWeight,"normal"),Cl=me.extend("--ft-typography-title-dense-letter-spacing","",hl.letterSpacing,"0.105px"),Nl=me.extend("--ft-typography-title-dense-line-height","",hl.lineHeight,"1.7"),El=me.extend("--ft-typography-title-dense-text-transform","",hl.textTransform,"inherit"),Rl=me.extend("--ft-typography-subtitle1-font-family","",ul),Il=me.extend("--ft-typography-subtitle1-font-size","",hl.fontSize,"16px"),Ll=me.extend("--ft-typography-subtitle1-font-weight","",hl.fontWeight,"600"),Wl=me.extend("--ft-typography-subtitle1-letter-spacing","",hl.letterSpacing,"0.144px"),Ul=me.extend("--ft-typography-subtitle1-line-height","",hl.lineHeight,"1.5"),kl=me.extend("--ft-typography-subtitle1-text-transform","",hl.textTransform,"inherit"),$l=me.extend("--ft-typography-subtitle2-font-family","",ul),zl=me.extend("--ft-typography-subtitle2-font-size","",hl.fontSize,"14px"),Fl=me.extend("--ft-typography-subtitle2-font-weight","",hl.fontWeight,"normal"),Bl=me.extend("--ft-typography-subtitle2-letter-spacing","",hl.letterSpacing,"0.098px"),Al=me.extend("--ft-typography-subtitle2-line-height","",hl.lineHeight,"1.7"),_l=me.extend("--ft-typography-subtitle2-text-transform","",hl.textTransform,"inherit"),Pl=me.extend("--ft-typography-body1-font-family","",ul),Ml=me.extend("--ft-typography-body1-font-size","",hl.fontSize,"16px"),Zl=me.extend("--ft-typography-body1-font-weight","",hl.fontWeight,"normal"),Kl=me.extend("--ft-typography-body1-letter-spacing","",hl.letterSpacing,"0.496px"),jl=me.extend("--ft-typography-body1-line-height","",hl.lineHeight,"1.5"),Dl=me.extend("--ft-typography-body1-text-transform","",hl.textTransform,"inherit"),Hl=me.extend("--ft-typography-body2-font-family","",ul),Tl=me.extend("--ft-typography-body2-font-size","",hl.fontSize,"14px"),Gl=me.extend("--ft-typography-body2-font-weight","",hl.fontWeight,"normal"),Vl=me.extend("--ft-typography-body2-letter-spacing","",hl.letterSpacing,"0.252px"),ql=me.extend("--ft-typography-body2-line-height","",hl.lineHeight,"1.4"),Yl=me.extend("--ft-typography-body2-text-transform","",hl.textTransform,"inherit"),Jl=me.extend("--ft-typography-caption-font-family","",ul),Xl=me.extend("--ft-typography-caption-font-size","",hl.fontSize,"12px"),Ql=me.extend("--ft-typography-caption-font-weight","",hl.fontWeight,"normal"),tc=me.extend("--ft-typography-caption-letter-spacing","",hl.letterSpacing,"0.396px"),oc=me.extend("--ft-typography-caption-line-height","",hl.lineHeight,"1.33"),ec=me.extend("--ft-typography-caption-text-transform","",hl.textTransform,"inherit"),rc=me.extend("--ft-typography-breadcrumb-font-family","",ul),nc=me.extend("--ft-typography-breadcrumb-font-size","",hl.fontSize,"10px"),ic=me.extend("--ft-typography-breadcrumb-font-weight","",hl.fontWeight,"normal"),ac=me.extend("--ft-typography-breadcrumb-letter-spacing","",hl.letterSpacing,"0.33px"),lc=me.extend("--ft-typography-breadcrumb-line-height","",hl.lineHeight,"1.6"),cc=me.extend("--ft-typography-breadcrumb-text-transform","",hl.textTransform,"inherit"),sc=me.extend("--ft-typography-overline-font-family","",ul),fc=me.extend("--ft-typography-overline-font-size","",hl.fontSize,"10px"),pc=me.extend("--ft-typography-overline-font-weight","",hl.fontWeight,"normal"),dc=me.extend("--ft-typography-overline-letter-spacing","",hl.letterSpacing,"1.5px"),uc=me.extend("--ft-typography-overline-line-height","",hl.lineHeight,"1.6"),hc=me.extend("--ft-typography-overline-text-transform","",hl.textTransform,"uppercase"),yc=me.extend("--ft-typography-button-font-family","",ul),gc=me.extend("--ft-typography-button-font-size","",hl.fontSize,"14px"),bc=me.extend("--ft-typography-button-font-weight","",hl.fontWeight,"600"),mc=me.extend("--ft-typography-button-letter-spacing","",hl.letterSpacing,"1.246px"),vc=me.extend("--ft-typography-button-line-height","",hl.lineHeight,"1.15"),Oc=me.extend("--ft-typography-button-text-transform","",hl.textTransform,"uppercase"),xc=dt`
183
184
  .ft-typography--title {
184
185
  font-family: ${yl};
185
186
  font-size: ${gl};
@@ -193,8 +194,8 @@ const al=Symbol.for(""),ll=t=>{if(t?.r===al)return t?._$litStatic$},cl=t=>({_$li
193
194
  font-family: ${xl};
194
195
  font-size: ${Sl};
195
196
  font-weight: ${wl};
196
- letter-spacing: ${Nl};
197
- line-height: ${Cl};
197
+ letter-spacing: ${Cl};
198
+ line-height: ${Nl};
198
199
  text-transform: ${El};
199
200
  }
200
201
  `,wc=dt`
@@ -206,28 +207,28 @@ const al=Symbol.for(""),ll=t=>{if(t?.r===al)return t?._$litStatic$},cl=t=>({_$li
206
207
  line-height: ${Ul};
207
208
  text-transform: ${kl};
208
209
  }
209
- `,Nc=dt`
210
+ `,Cc=dt`
210
211
  .ft-typography--subtitle2 {
211
212
  font-family: ${$l};
212
213
  font-size: ${zl};
213
- font-weight: ${Bl};
214
- letter-spacing: ${Fl};
214
+ font-weight: ${Fl};
215
+ letter-spacing: ${Bl};
215
216
  line-height: ${Al};
216
217
  text-transform: ${_l};
217
218
  }
218
219
 
219
- `,Cc=dt`
220
+ `,Nc=dt`
220
221
  .ft-typography--body1 {
221
222
  font-family: ${Pl};
222
- font-size: ${Zl};
223
- font-weight: ${Kl};
224
- letter-spacing: ${jl};
225
- line-height: ${Ml};
226
- text-transform: ${Hl};
223
+ font-size: ${Ml};
224
+ font-weight: ${Zl};
225
+ letter-spacing: ${Kl};
226
+ line-height: ${jl};
227
+ text-transform: ${Dl};
227
228
  }
228
229
  `,Ec=dt`
229
230
  .ft-typography--body2 {
230
- font-family: ${Dl};
231
+ font-family: ${Hl};
231
232
  font-size: ${Tl};
232
233
  font-weight: ${Gl};
233
234
  letter-spacing: ${Vl};
@@ -258,8 +259,8 @@ const al=Symbol.for(""),ll=t=>{if(t?.r===al)return t?._$litStatic$},cl=t=>({_$li
258
259
  font-size: ${fc};
259
260
  font-weight: ${pc};
260
261
  letter-spacing: ${dc};
261
- line-height: ${hc};
262
- text-transform: ${uc};
262
+ line-height: ${uc};
263
+ text-transform: ${hc};
263
264
  }
264
265
  `,Wc=dt`
265
266
  .ft-typography--button {
@@ -290,7 +291,7 @@ const al=Symbol.for(""),ll=t=>{if(t?.r===al)return t?._$litStatic$},cl=t=>({_$li
290
291
  </${cl(this.element)}>
291
292
  `:fl`
292
293
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
293
- `}}zc.styles=[xc,Sc,wc,Nc,Cc,Ec,Rc,Ic,Lc,Wc,Uc,...kc],$c([wo()],zc.prototype,"element",void 0),$c([wo()],zc.prototype,"variant",void 0),he("ft-typography")(zc);const Bc={distance:me.create("--ft-tooltip-distance","","SIZE","4px"),color:me.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:me.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:me.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:me.external(vr.borderRadiusS,"Design system"),maxWidth:me.create("--ft-tooltip-max-width","","SIZE","150px")},Fc=dt`
294
+ `}}zc.styles=[xc,Sc,wc,Cc,Nc,Ec,Rc,Ic,Lc,Wc,Uc,...kc],$c([wo()],zc.prototype,"element",void 0),$c([wo()],zc.prototype,"variant",void 0),ue("ft-typography")(zc);const Fc={distance:me.create("--ft-tooltip-distance","","SIZE","4px"),color:me.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:me.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:me.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:me.external(vr.borderRadiusS,"Design system"),maxWidth:me.create("--ft-tooltip-max-width","","SIZE","150px")},Bc=dt`
294
295
  .ft-tooltip--container {
295
296
  display: block;
296
297
  }
@@ -305,17 +306,17 @@ const al=Symbol.for(""),ll=t=>{if(t?.r===al)return t?._$litStatic$},cl=t=>({_$li
305
306
  box-sizing: border-box;
306
307
  overflow: hidden;
307
308
  width: max-content;
308
- max-width: ${Bc.maxWidth};
309
+ max-width: ${Fc.maxWidth};
309
310
  text-align: center;
310
- padding: ${Bc.distance};
311
- z-index: ${Bc.zIndex};
311
+ padding: ${Fc.distance};
312
+ z-index: ${Fc.zIndex};
312
313
  }
313
314
 
314
315
  .ft-tooltip--content {
315
316
  padding: 4px 8px;
316
- border-radius: ${Bc.borderRadiusS};
317
- background-color: ${Bc.backgroundColor};
318
- color: ${Bc.color};
317
+ border-radius: ${Fc.borderRadiusS};
318
+ background-color: ${Fc.backgroundColor};
319
+ color: ${Fc.color};
319
320
  position: relative;
320
321
  word-break: break-word;
321
322
  }
@@ -337,4 +338,4 @@ const al=Symbol.for(""),ll=t=>{if(t?.r===al)return t?._$litStatic$},cl=t=>({_$li
337
338
  </div>
338
339
  </div>
339
340
  </div>
340
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Rn(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}_c.elementDefinitions={"ft-typography":zc},_c.styles=Fc,Ac([wo()],_c.prototype,"text",void 0),Ac([wo({type:Boolean})],_c.prototype,"manual",void 0),Ac([wo({type:Boolean})],_c.prototype,"inline",void 0),Ac([wo({type:Number})],_c.prototype,"delay",void 0),Ac([wo()],_c.prototype,"position",void 0),Ac([Lo()],_c.prototype,"slotNodes",void 0),Ac([Ro(".ft-tooltip--container")],_c.prototype,"container",void 0),Ac([Ro(".ft-tooltip")],_c.prototype,"tooltip",void 0),Ac([Ro(".ft-tooltip--content")],_c.prototype,"tooltipContent",void 0),Ac([No()],_c.prototype,"visible",void 0),Ac([Co({passive:!0})],_c.prototype,"onTouch",null),Ac([Co({passive:!0})],_c.prototype,"onHover",null),Ac([Co({passive:!0})],_c.prototype,"onOut",null),Ac([Co({passive:!0})],_c.prototype,"onClick",null),he("ft-tooltip")(_c),t.FtTooltip=_c,t.FtTooltipCssVariables=Bc,t.styles=Fc}({});
341
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Rn(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}_c.elementDefinitions={"ft-typography":zc},_c.styles=Bc,Ac([wo()],_c.prototype,"text",void 0),Ac([wo({type:Boolean})],_c.prototype,"manual",void 0),Ac([wo({type:Boolean})],_c.prototype,"inline",void 0),Ac([wo({type:Number})],_c.prototype,"delay",void 0),Ac([wo()],_c.prototype,"position",void 0),Ac([Lo()],_c.prototype,"slotNodes",void 0),Ac([Ro(".ft-tooltip--container")],_c.prototype,"container",void 0),Ac([Ro(".ft-tooltip")],_c.prototype,"tooltip",void 0),Ac([Ro(".ft-tooltip--content")],_c.prototype,"tooltipContent",void 0),Ac([Co()],_c.prototype,"visible",void 0),Ac([No({passive:!0})],_c.prototype,"onTouch",null),Ac([No({passive:!0})],_c.prototype,"onHover",null),Ac([No({passive:!0})],_c.prototype,"onOut",null),Ac([No({passive:!0})],_c.prototype,"onClick",null),ue("ft-tooltip")(_c),t.FtTooltip=_c,t.FtTooltipCssVariables=Fc,t.styles=Bc}({});