@fluid-topics/ft-wc-utils 1.1.1 → 1.1.2

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.
@@ -1,53 +1,53 @@
1
- !function(t,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports):"function"==typeof define&&define.amd?define(["exports"],o):o((t="undefined"!=typeof globalThis?globalThis:t||self).ftGlobals={})}(this,(function(t){
1
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).ftGlobals={})}(this,(function(t){
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2019 Google LLC
5
5
  * SPDX-License-Identifier: BSD-3-Clause
6
6
  */
7
- 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
7
+ const e=globalThis,o=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),i=new WeakMap;const n=t=>new class{constructor(t,e,o){if(this._$cssResult$=!0,o!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(o&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=i.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&i.set(e,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,r),a=o?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return n(e)})(t):t
8
8
  /**
9
9
  * @license
10
10
  * Copyright 2017 Google LLC
11
11
  * SPDX-License-Identifier: BSD-3-Clause
12
- */,{is:c,defineProperty:s,getOwnPropertyDescriptor:l,getOwnPropertyNames:f,getOwnPropertySymbols:u,getPrototypeOf:h}=Object,d=globalThis,p=d.trustedTypes,y=p?p.emptyScript:"",g=d.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}},O=(t,o)=>!c(t,o),v={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:O};Symbol.metadata??=Symbol("metadata"),d.litPropertyMetadata??=new WeakMap;let S=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=v){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&s(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:n}=l(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)??v}static _$Ei(){if(this.hasOwnProperty(b("elementProperties")))return;const t=h(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(b("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(b("properties"))){const t=this.properties,o=[...f(t),...u(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(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??O)(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){}};S.elementStyles=[],S.shadowRootOptions={mode:"open"},S[b("elementProperties")]=new Map,S[b("finalized")]=new Map,g?.({ReactiveElement:S}),(d.reactiveElementVersions??=[]).push("2.0.2");
12
+ */,{is:s,defineProperty:c,getOwnPropertyDescriptor:l,getOwnPropertyNames:f,getOwnPropertySymbols:h,getPrototypeOf:u}=Object,d=globalThis,p=d.trustedTypes,y=p?p.emptyScript:"",g=d.reactiveElementPolyfillSupport,b=(t,e)=>t,m={toAttribute(t,e){switch(e){case Boolean:t=t?y:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},O=(t,e)=>!s(t,e),v={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:O};Symbol.metadata??=Symbol("metadata"),d.litPropertyMetadata??=new WeakMap;let S=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=v){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),r=this.getPropertyDescriptor(t,o,e);void 0!==r&&c(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:i}=l(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return r?.call(this)},set(e){const n=r?.call(this);i.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??v}static _$Ei(){if(this.hasOwnProperty(b("elementProperties")))return;const t=u(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(b("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(b("properties"))){const t=this.properties,e=[...f(t),...h(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(a(t))}else void 0!==t&&e.push(a(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,r)=>{if(o)t.adoptedStyleSheets=r.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of r){const r=document.createElement("style"),i=e.litNonce;void 0!==i&&r.setAttribute("nonce",i),r.textContent=o.cssText,t.appendChild(r)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,o);if(void 0!==r&&!0===o.reflect){const i=(void 0!==o.converter?.toAttribute?o.converter:m).toAttribute(e,o.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){const o=this.constructor,r=o._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=o.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:m;this._$Em=r,this[r]=i.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,r=!1,i){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??O)(r?i:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};S.elementStyles=[],S.shadowRootOptions={mode:"open"},S[b("elementProperties")]=new Map,S[b("finalized")]=new Map,g?.({ReactiveElement:S}),(d.reactiveElementVersions??=[]).push("2.0.2");
13
13
  /**
14
14
  * @license
15
15
  * Copyright 2017 Google LLC
16
16
  * SPDX-License-Identifier: BSD-3-Clause
17
17
  */
18
- const N=globalThis,w=N.trustedTypes,C=w?w.createPolicy("lit-html",{createHTML:t=>t}):void 0,x="$lit$",E=`lit$${(Math.random()+"").slice(9)}$`,R="?"+E,L=`<${R}>`,U=document,I=()=>U.createComment(""),W=t=>null===t||"object"!=typeof t&&"function"!=typeof t,k=Array.isArray,A=t=>k(t)||"function"==typeof t?.[Symbol.iterator],F="[ \t\n\f\r]",K=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,$=/-->/g,B=/>/g,j=RegExp(`>|${F}(?:([^\\s"'>=/]+)(${F}*=${F}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),P=/'/g,_=/"/g,Z=/^(?:script|style|textarea|title)$/i,M=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),z=new WeakMap,H=U.createTreeWalker(U,129);function T(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==C?C.createHTML(o):o}const G=(t,o)=>{const e=t.length-1,r=[];let n,i=2===o?"<svg>":"",a=K;for(let o=0;o<e;o++){const e=t[o];let c,s,l=-1,f=0;for(;f<e.length&&(a.lastIndex=f,s=a.exec(e),null!==s);)f=a.lastIndex,a===K?"!--"===s[1]?a=$:void 0!==s[1]?a=B:void 0!==s[2]?(Z.test(s[2])&&(n=RegExp("</"+s[2],"g")),a=j):void 0!==s[3]&&(a=j):a===j?">"===s[0]?(a=n??K,l=-1):void 0===s[1]?l=-2:(l=a.lastIndex-s[2].length,c=s[1],a=void 0===s[3]?j:'"'===s[3]?_:P):a===_||a===P?a=j:a===$||a===B?a=K:(a=j,n=void 0);const u=a===j&&t[o+1].startsWith("/>")?" ":"";i+=a===K?e+L:l>=0?(r.push(c),e.slice(0,l)+x+e.slice(l)+E+u):e+E+(-2===l?o:u)}return[T(t,i+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};let V=class t{constructor({strings:o,_$litType$:e},r){let n;this.parts=[];let i=0,a=0;const c=o.length-1,s=this.parts,[l,f]=G(o,e);if(this.el=t.createElement(l,r),H.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(n=H.nextNode())&&s.length<c;){if(1===n.nodeType){if(n.hasAttributes())for(const t of n.getAttributeNames())if(t.endsWith(x)){const o=f[a++],e=n.getAttribute(t).split(E),r=/([.?@])?(.*)/.exec(o);s.push({type:1,index:i,name:r[2],strings:e,ctor:"."===r[1]?Q:"?"===r[1]?tt:"@"===r[1]?ot:X}),n.removeAttribute(t)}else t.startsWith(E)&&(s.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],I()),H.nextNode(),s.push({type:2,index:++i});n.append(t[o],I())}}}else if(8===n.nodeType)if(n.data===R)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=n.data.indexOf(E,t+1));)s.push({type:7,index:i}),t+=E.length-1}i++}}static createElement(t,o){const e=U.createElement("template");return e.innerHTML=t,e}};function q(t,o,e=t,r){if(o===M)return o;let n=void 0!==r?e._$Co?.[r]:e._$Cl;const i=W(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=q(t,n._$AS(t,o.values),n,r)),o}let Y=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??U).importNode(o,!0);H.currentNode=r;let n=H.nextNode(),i=0,a=0,c=e[0];for(;void 0!==c;){if(i===c.index){let o;2===c.type?o=new J(n,n.nextSibling,this,t):1===c.type?o=new c.ctor(n,c.name,c.strings,this,t):6===c.type&&(o=new et(n,this,t)),this._$AV.push(o),c=e[++a]}i!==c?.index&&(n=H.nextNode(),i++)}return H.currentNode=U,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++}},J=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=q(this,t,o),W(t)?t===D||null==t||""===t?(this._$AH!==D&&this._$AR(),this._$AH=D):t!==this._$AH&&t!==M&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):A(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&&W(this._$AH)?this._$AA.nextSibling.data=t:this.$(U.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=V.createElement(T(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new Y(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=z.get(t.strings);return void 0===o&&z.set(t.strings,o=new V(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(I()),this.k(I()),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))}},X=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=q(this,t,o,0),i=!W(t)||t!==this._$AH&&t!==M,i&&(this._$AH=t);else{const r=t;let a,c;for(t=n[0],a=0;a<n.length-1;a++)c=q(this,r[e+a],o,a),c===M&&(c=this._$AH[a]),i||=!W(c)||c!==this._$AH[a],c===D?t=D:t!==D&&(t+=(c??"")+n[a+1]),this._$AH[a]=c}i&&!r&&this.O(t)}O(t){t===D?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Q=class extends X{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===D?void 0:t}},tt=class extends X{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==D)}},ot=class extends X{constructor(t,o,e,r,n){super(t,o,e,r,n),this.type=5}_$AI(t,o=this){if((t=q(this,t,o,0)??D)===M)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)}},et=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){q(this,t)}};const rt={j:x,P:E,A:R,C:1,M:G,L:Y,R:A,V:q,D:J,I:X,H:tt,N:ot,U:Q,B:et},nt=N.litHtmlPolyfillSupport;nt?.(V,J),(N.litHtmlVersions??=[]).push("3.1.0");
18
+ const N=globalThis,w=N.trustedTypes,C=w?w.createPolicy("lit-html",{createHTML:t=>t}):void 0,x="$lit$",E=`lit$${(Math.random()+"").slice(9)}$`,R="?"+E,L=`<${R}>`,I=document,U=()=>I.createComment(""),W=t=>null===t||"object"!=typeof t&&"function"!=typeof t,k=Array.isArray,A=t=>k(t)||"function"==typeof t?.[Symbol.iterator],$="[ \t\n\f\r]",F=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,K=/-->/g,j=/>/g,B=RegExp(`>|${$}(?:([^\\s"'>=/]+)(${$}*=${$}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),P=/'/g,M=/"/g,_=/^(?:script|style|textarea|title)$/i,Z=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),z=new WeakMap,H=I.createTreeWalker(I,129);function T(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==C?C.createHTML(e):e}const G=(t,e)=>{const o=t.length-1,r=[];let i,n=2===e?"<svg>":"",a=F;for(let e=0;e<o;e++){const o=t[e];let s,c,l=-1,f=0;for(;f<o.length&&(a.lastIndex=f,c=a.exec(o),null!==c);)f=a.lastIndex,a===F?"!--"===c[1]?a=K:void 0!==c[1]?a=j:void 0!==c[2]?(_.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=B):void 0!==c[3]&&(a=B):a===B?">"===c[0]?(a=i??F,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?B:'"'===c[3]?M:P):a===M||a===P?a=B:a===K||a===j?a=F:(a=B,i=void 0);const h=a===B&&t[e+1].startsWith("/>")?" ":"";n+=a===F?o+L:l>=0?(r.push(s),o.slice(0,l)+x+o.slice(l)+E+h):o+E+(-2===l?e:h)}return[T(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),r]};let V=class t{constructor({strings:e,_$litType$:o},r){let i;this.parts=[];let n=0,a=0;const s=e.length-1,c=this.parts,[l,f]=G(e,o);if(this.el=t.createElement(l,r),H.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=H.nextNode())&&c.length<s;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(x)){const e=f[a++],o=i.getAttribute(t).split(E),r=/([.?@])?(.*)/.exec(e);c.push({type:1,index:n,name:r[2],strings:o,ctor:"."===r[1]?Q:"?"===r[1]?tt:"@"===r[1]?et:X}),i.removeAttribute(t)}else t.startsWith(E)&&(c.push({type:6,index:n}),i.removeAttribute(t));if(_.test(i.tagName)){const t=i.textContent.split(E),e=t.length-1;if(e>0){i.textContent=w?w.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],U()),H.nextNode(),c.push({type:2,index:++n});i.append(t[e],U())}}}else if(8===i.nodeType)if(i.data===R)c.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(E,t+1));)c.push({type:7,index:n}),t+=E.length-1}n++}}static createElement(t,e){const o=I.createElement("template");return o.innerHTML=t,o}};function q(t,e,o=t,r){if(e===Z)return e;let i=void 0!==r?o._$Co?.[r]:o._$Cl;const n=W(e)?void 0:e._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,o,r)),void 0!==r?(o._$Co??=[])[r]=i:o._$Cl=i),void 0!==i&&(e=q(t,i._$AS(t,e.values),i,r)),e}let J=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,r=(t?.creationScope??I).importNode(e,!0);H.currentNode=r;let i=H.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new Y(i,i.nextSibling,this,t):1===s.type?e=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(e=new ot(i,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(i=H.nextNode(),n++)}return H.currentNode=I,r}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},Y=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=D,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=q(this,t,e),W(t)?t===D||null==t||""===t?(this._$AH!==D&&this._$AR(),this._$AH=D):t!==this._$AH&&t!==Z&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):A(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&&W(this._$AH)?this._$AA.nextSibling.data=t:this.$(I.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=V.createElement(T(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new J(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=z.get(t.strings);return void 0===e&&z.set(t.strings,e=new V(t)),e}T(e){k(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,i=0;for(const n of e)i===o.length?o.push(r=new t(this.k(U()),this.k(U()),this,this.options)):r=o[i],r._$AI(n),i++;i<o.length&&(this._$AR(r&&r._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},X=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=D,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=D}_$AI(t,e=this,o,r){const i=this.strings;let n=!1;if(void 0===i)t=q(this,t,e,0),n=!W(t)||t!==this._$AH&&t!==Z,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=q(this,r[o+a],e,a),s===Z&&(s=this._$AH[a]),n||=!W(s)||s!==this._$AH[a],s===D?t=D:t!==D&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===D?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Q=class extends X{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===D?void 0:t}},tt=class extends X{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==D)}},et=class extends X{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=q(this,t,e,0)??D)===Z)return;const o=this._$AH,r=t===D&&o!==D||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==D&&(o===D||r);r&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},ot=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){q(this,t)}};const rt={j:x,P:E,A:R,C:1,M:G,L:J,R:A,V:q,D:Y,I:X,H:tt,N:et,U:Q,B:ot},it=N.litHtmlPolyfillSupport;it?.(V,Y),(N.litHtmlVersions??=[]).push("3.1.0");
19
19
  /**
20
20
  * @license
21
21
  * Copyright 2019 Google LLC
22
22
  * SPDX-License-Identifier: BSD-3-Clause
23
23
  */
24
- const it=globalThis,at=it.ShadowRoot&&(void 0===it.ShadyCSS||it.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ct=Symbol(),st=new WeakMap;let lt=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(at&&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 ft=t=>new lt("string"==typeof t?t:t+"",void 0,ct),ut=(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 lt(e,t,ct)},ht=(t,o)=>{if(at)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=it.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}},dt=at?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return ft(o)})(t):t
24
+ const nt=globalThis,at=nt.ShadowRoot&&(void 0===nt.ShadyCSS||nt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,st=Symbol(),ct=new WeakMap;let lt=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==st)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(at&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=ct.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&ct.set(e,t))}return t}toString(){return this.cssText}};const ft=t=>new lt("string"==typeof t?t:t+"",void 0,st),ht=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,r)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[r+1]),t[0]);return new lt(o,t,st)},ut=(t,e)=>{if(at)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),r=nt.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}},dt=at?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return ft(e)})(t):t
25
25
  /**
26
26
  * @license
27
27
  * Copyright 2017 Google LLC
28
28
  * SPDX-License-Identifier: BSD-3-Clause
29
- */,{is:pt,defineProperty:yt,getOwnPropertyDescriptor:gt,getOwnPropertyNames:bt,getOwnPropertySymbols:mt,getPrototypeOf:Ot}=Object,vt=globalThis,St=vt.trustedTypes,Nt=St?St.emptyScript:"",wt=vt.reactiveElementPolyfillSupport,Ct=(t,o)=>t,xt={toAttribute(t,o){switch(o){case Boolean:t=t?Nt: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}},Et=(t,o)=>!pt(t,o),Rt={attribute:!0,type:String,converter:xt,reflect:!1,hasChanged:Et};Symbol.metadata??=Symbol("metadata"),vt.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=Rt){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&&yt(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:n}=gt(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)??Rt}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=[...bt(t),...mt(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(dt(t))}else void 0!==t&&o.push(dt(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:xt).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:xt;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??Et)(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,wt?.({ReactiveElement:Lt}),(vt.reactiveElementVersions??=[]).push("2.0.2");
29
+ */,{is:pt,defineProperty:yt,getOwnPropertyDescriptor:gt,getOwnPropertyNames:bt,getOwnPropertySymbols:mt,getPrototypeOf:Ot}=Object,vt=globalThis,St=vt.trustedTypes,Nt=St?St.emptyScript:"",wt=vt.reactiveElementPolyfillSupport,Ct=(t,e)=>t,xt={toAttribute(t,e){switch(e){case Boolean:t=t?Nt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},Et=(t,e)=>!pt(t,e),Rt={attribute:!0,type:String,converter:xt,reflect:!1,hasChanged:Et};Symbol.metadata??=Symbol("metadata"),vt.litPropertyMetadata??=new WeakMap;let Lt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Rt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),r=this.getPropertyDescriptor(t,o,e);void 0!==r&&yt(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:i}=gt(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return r?.call(this)},set(e){const n=r?.call(this);i.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Rt}static _$Ei(){if(this.hasOwnProperty(Ct("elementProperties")))return;const t=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,e=[...bt(t),...mt(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(dt(t))}else void 0!==t&&e.push(dt(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ut(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,o);if(void 0!==r&&!0===o.reflect){const i=(void 0!==o.converter?.toAttribute?o.converter:xt).toAttribute(e,o.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){const o=this.constructor,r=o._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=o.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:xt;this._$Em=r,this[r]=i.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,r=!1,i){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??Et)(r?i:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};Lt.elementStyles=[],Lt.shadowRootOptions={mode:"open"},Lt[Ct("elementProperties")]=new Map,Lt[Ct("finalized")]=new Map,wt?.({ReactiveElement:Lt}),(vt.reactiveElementVersions??=[]).push("2.0.2");
30
30
  /**
31
31
  * @license
32
32
  * Copyright 2017 Google LLC
33
33
  * SPDX-License-Identifier: BSD-3-Clause
34
34
  */
35
- const Ut=globalThis,It=Ut.trustedTypes,Wt=It?It.createPolicy("lit-html",{createHTML:t=>t}):void 0,kt="$lit$",At=`lit$${(Math.random()+"").slice(9)}$`,Ft="?"+At,Kt=`<${Ft}>`,$t=document,Bt=()=>$t.createComment(""),jt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Pt=Array.isArray,_t=t=>Pt(t)||"function"==typeof t?.[Symbol.iterator],Zt="[ \t\n\f\r]",Mt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Dt=/-->/g,zt=/>/g,Ht=RegExp(`>|${Zt}(?:([^\\s"'>=/]+)(${Zt}*=${Zt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Tt=/'/g,Gt=/"/g,Vt=/^(?:script|style|textarea|title)$/i,qt=t=>(o,...e)=>({_$litType$:t,strings:o,values:e}),Yt=qt(1),Jt=qt(2),Xt=Symbol.for("lit-noChange"),Qt=Symbol.for("lit-nothing"),to=new WeakMap,oo=$t.createTreeWalker($t,129);function eo(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Wt?Wt.createHTML(o):o}const ro=(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 c,s,l=-1,f=0;for(;f<e.length&&(a.lastIndex=f,s=a.exec(e),null!==s);)f=a.lastIndex,a===Mt?"!--"===s[1]?a=Dt:void 0!==s[1]?a=zt:void 0!==s[2]?(Vt.test(s[2])&&(n=RegExp("</"+s[2],"g")),a=Ht):void 0!==s[3]&&(a=Ht):a===Ht?">"===s[0]?(a=n??Mt,l=-1):void 0===s[1]?l=-2:(l=a.lastIndex-s[2].length,c=s[1],a=void 0===s[3]?Ht:'"'===s[3]?Gt:Tt):a===Gt||a===Tt?a=Ht:a===Dt||a===zt?a=Mt:(a=Ht,n=void 0);const u=a===Ht&&t[o+1].startsWith("/>")?" ":"";i+=a===Mt?e+Kt:l>=0?(r.push(c),e.slice(0,l)+kt+e.slice(l)+At+u):e+At+(-2===l?o:u)}return[eo(t,i+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};let no=class t{constructor({strings:o,_$litType$:e},r){let n;this.parts=[];let i=0,a=0;const c=o.length-1,s=this.parts,[l,f]=ro(o,e);if(this.el=t.createElement(l,r),oo.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(n=oo.nextNode())&&s.length<c;){if(1===n.nodeType){if(n.hasAttributes())for(const t of n.getAttributeNames())if(t.endsWith(kt)){const o=f[a++],e=n.getAttribute(t).split(At),r=/([.?@])?(.*)/.exec(o);s.push({type:1,index:i,name:r[2],strings:e,ctor:"."===r[1]?lo:"?"===r[1]?fo:"@"===r[1]?uo:so}),n.removeAttribute(t)}else t.startsWith(At)&&(s.push({type:6,index:i}),n.removeAttribute(t));if(Vt.test(n.tagName)){const t=n.textContent.split(At),o=t.length-1;if(o>0){n.textContent=It?It.emptyScript:"";for(let e=0;e<o;e++)n.append(t[e],Bt()),oo.nextNode(),s.push({type:2,index:++i});n.append(t[o],Bt())}}}else if(8===n.nodeType)if(n.data===Ft)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=n.data.indexOf(At,t+1));)s.push({type:7,index:i}),t+=At.length-1}i++}}static createElement(t,o){const e=$t.createElement("template");return e.innerHTML=t,e}};function io(t,o,e=t,r){if(o===Xt)return o;let n=void 0!==r?e._$Co?.[r]:e._$Cl;const i=jt(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=io(t,n._$AS(t,o.values),n,r)),o}let ao=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??$t).importNode(o,!0);oo.currentNode=r;let n=oo.nextNode(),i=0,a=0,c=e[0];for(;void 0!==c;){if(i===c.index){let o;2===c.type?o=new co(n,n.nextSibling,this,t):1===c.type?o=new c.ctor(n,c.name,c.strings,this,t):6===c.type&&(o=new ho(n,this,t)),this._$AV.push(o),c=e[++a]}i!==c?.index&&(n=oo.nextNode(),i++)}return oo.currentNode=$t,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}},co=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=Qt,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=io(this,t,o),jt(t)?t===Qt||null==t||""===t?(this._$AH!==Qt&&this._$AR(),this._$AH=Qt):t!==this._$AH&&t!==Xt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):_t(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Qt&&jt(this._$AH)?this._$AA.nextSibling.data=t:this.$($t.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=no.createElement(eo(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new ao(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=to.get(t.strings);return void 0===o&&to.set(t.strings,o=new no(t)),o}T(o){Pt(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(Bt()),this.k(Bt()),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=Qt,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=Qt}_$AI(t,o=this,e,r){const n=this.strings;let i=!1;if(void 0===n)t=io(this,t,o,0),i=!jt(t)||t!==this._$AH&&t!==Xt,i&&(this._$AH=t);else{const r=t;let a,c;for(t=n[0],a=0;a<n.length-1;a++)c=io(this,r[e+a],o,a),c===Xt&&(c=this._$AH[a]),i||=!jt(c)||c!==this._$AH[a],c===Qt?t=Qt:t!==Qt&&(t+=(c??"")+n[a+1]),this._$AH[a]=c}i&&!r&&this.O(t)}O(t){t===Qt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},lo=class extends so{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Qt?void 0:t}},fo=class extends so{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Qt)}},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=io(this,t,o,0)??Qt)===Xt)return;const e=this._$AH,r=t===Qt&&e!==Qt||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==Qt&&(e===Qt||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){io(this,t)}};const po={j:kt,P:At,A:Ft,C:1,M:ro,L:ao,R:_t,V:io,D:co,I:so,H:fo,N:uo,U:lo,B:ho},yo=Ut.litHtmlPolyfillSupport;yo?.(no,co),(Ut.litHtmlVersions??=[]).push("3.1.0");const go=(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(Bt(),t),t,void 0,e??{})}return n._$AI(t),n
35
+ const It=globalThis,Ut=It.trustedTypes,Wt=Ut?Ut.createPolicy("lit-html",{createHTML:t=>t}):void 0,kt="$lit$",At=`lit$${(Math.random()+"").slice(9)}$`,$t="?"+At,Ft=`<${$t}>`,Kt=document,jt=()=>Kt.createComment(""),Bt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Pt=Array.isArray,Mt=t=>Pt(t)||"function"==typeof t?.[Symbol.iterator],_t="[ \t\n\f\r]",Zt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Dt=/-->/g,zt=/>/g,Ht=RegExp(`>|${_t}(?:([^\\s"'>=/]+)(${_t}*=${_t}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Tt=/'/g,Gt=/"/g,Vt=/^(?:script|style|textarea|title)$/i,qt=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),Jt=qt(1),Yt=qt(2),Xt=Symbol.for("lit-noChange"),Qt=Symbol.for("lit-nothing"),te=new WeakMap,ee=Kt.createTreeWalker(Kt,129);function oe(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Wt?Wt.createHTML(e):e}const re=(t,e)=>{const o=t.length-1,r=[];let i,n=2===e?"<svg>":"",a=Zt;for(let e=0;e<o;e++){const o=t[e];let s,c,l=-1,f=0;for(;f<o.length&&(a.lastIndex=f,c=a.exec(o),null!==c);)f=a.lastIndex,a===Zt?"!--"===c[1]?a=Dt:void 0!==c[1]?a=zt:void 0!==c[2]?(Vt.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=Ht):void 0!==c[3]&&(a=Ht):a===Ht?">"===c[0]?(a=i??Zt,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?Ht:'"'===c[3]?Gt:Tt):a===Gt||a===Tt?a=Ht:a===Dt||a===zt?a=Zt:(a=Ht,i=void 0);const h=a===Ht&&t[e+1].startsWith("/>")?" ":"";n+=a===Zt?o+Ft:l>=0?(r.push(s),o.slice(0,l)+kt+o.slice(l)+At+h):o+At+(-2===l?e:h)}return[oe(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),r]};let ie=class t{constructor({strings:e,_$litType$:o},r){let i;this.parts=[];let n=0,a=0;const s=e.length-1,c=this.parts,[l,f]=re(e,o);if(this.el=t.createElement(l,r),ee.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=ee.nextNode())&&c.length<s;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(kt)){const e=f[a++],o=i.getAttribute(t).split(At),r=/([.?@])?(.*)/.exec(e);c.push({type:1,index:n,name:r[2],strings:o,ctor:"."===r[1]?le:"?"===r[1]?fe:"@"===r[1]?he:ce}),i.removeAttribute(t)}else t.startsWith(At)&&(c.push({type:6,index:n}),i.removeAttribute(t));if(Vt.test(i.tagName)){const t=i.textContent.split(At),e=t.length-1;if(e>0){i.textContent=Ut?Ut.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],jt()),ee.nextNode(),c.push({type:2,index:++n});i.append(t[e],jt())}}}else if(8===i.nodeType)if(i.data===$t)c.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(At,t+1));)c.push({type:7,index:n}),t+=At.length-1}n++}}static createElement(t,e){const o=Kt.createElement("template");return o.innerHTML=t,o}};function ne(t,e,o=t,r){if(e===Xt)return e;let i=void 0!==r?o._$Co?.[r]:o._$Cl;const n=Bt(e)?void 0:e._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,o,r)),void 0!==r?(o._$Co??=[])[r]=i:o._$Cl=i),void 0!==i&&(e=ne(t,i._$AS(t,e.values),i,r)),e}let ae=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,r=(t?.creationScope??Kt).importNode(e,!0);ee.currentNode=r;let i=ee.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new se(i,i.nextSibling,this,t):1===s.type?e=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(e=new ue(i,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(i=ee.nextNode(),n++)}return ee.currentNode=Kt,r}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},se=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=Qt,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=ne(this,t,e),Bt(t)?t===Qt||null==t||""===t?(this._$AH!==Qt&&this._$AR(),this._$AH=Qt):t!==this._$AH&&t!==Xt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):Mt(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!==Qt&&Bt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Kt.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=ie.createElement(oe(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new ae(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=te.get(t.strings);return void 0===e&&te.set(t.strings,e=new ie(t)),e}T(e){Pt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,i=0;for(const n of e)i===o.length?o.push(r=new t(this.k(jt()),this.k(jt()),this,this.options)):r=o[i],r._$AI(n),i++;i<o.length&&(this._$AR(r&&r._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},ce=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=Qt,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=Qt}_$AI(t,e=this,o,r){const i=this.strings;let n=!1;if(void 0===i)t=ne(this,t,e,0),n=!Bt(t)||t!==this._$AH&&t!==Xt,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=ne(this,r[o+a],e,a),s===Xt&&(s=this._$AH[a]),n||=!Bt(s)||s!==this._$AH[a],s===Qt?t=Qt:t!==Qt&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===Qt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},le=class extends ce{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Qt?void 0:t}},fe=class extends ce{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Qt)}},he=class extends ce{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=ne(this,t,e,0)??Qt)===Xt)return;const o=this._$AH,r=t===Qt&&o!==Qt||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==Qt&&(o===Qt||r);r&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},ue=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){ne(this,t)}};const de={j:kt,P:At,A:$t,C:1,M:re,L:ae,R:Mt,V:ne,D:se,I:ce,H:fe,N:he,U:le,B:ue},pe=It.litHtmlPolyfillSupport;pe?.(ie,se),(It.litHtmlVersions??=[]).push("3.1.0");const ye=(t,e,o)=>{const r=o?.renderBefore??e;let i=r._$litPart$;if(void 0===i){const t=o?.renderBefore??null;r._$litPart$=i=new se(e.insertBefore(jt(),t),t,void 0,o??{})}return i._$AI(t),i
36
36
  /**
37
37
  * @license
38
38
  * Copyright 2017 Google LLC
39
39
  * SPDX-License-Identifier: BSD-3-Clause
40
- */};let bo=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=go(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Xt}};bo._$litElement$=!0,bo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:bo});const mo=globalThis.litElementPolyfillSupport;mo?.({LitElement:bo});(globalThis.litElementVersions??=[]).push("4.0.2");var Oo=Object.freeze({__proto__:null,CSSResult:lt,LitElement:bo,ReactiveElement:Lt,_$LE:{_$AK:(t,o,e)=>{t._$AK(o,e)},_$AL:t=>t._$AL},_$LH:po,adoptStyles:ht,css:ut,defaultConverter:xt,getCompatibleStyle:dt,html:Yt,isServer:!1,noChange:Xt,notEqual:Et,nothing:Qt,render:go,supportsAdoptingStyleSheets:at,svg:Jt,unsafeCSS:ft});
40
+ */};let ge=class extends Lt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=ye(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Xt}};ge._$litElement$=!0,ge.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ge});const be=globalThis.litElementPolyfillSupport;be?.({LitElement:ge});(globalThis.litElementVersions??=[]).push("4.0.2");var me=Object.freeze({__proto__:null,CSSResult:lt,LitElement:ge,ReactiveElement:Lt,_$LE:{_$AK:(t,e,o)=>{t._$AK(e,o)},_$AL:t=>t._$AL},_$LH:de,adoptStyles:ut,css:ht,defaultConverter:xt,getCompatibleStyle:dt,html:Jt,isServer:!1,noChange:Xt,notEqual:Et,nothing:Qt,render:ye,supportsAdoptingStyleSheets:at,svg:Yt,unsafeCSS:ft});
41
41
  /**
42
42
  * @license
43
43
  * Copyright 2017 Google LLC
44
44
  * SPDX-License-Identifier: BSD-3-Clause
45
- */const vo={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:O},So=(t=vo,o,e)=>{const{kind:r,metadata:n}=e;let i=globalThis.litPropertyMetadata.get(n);if(void 0===i&&globalThis.litPropertyMetadata.set(n,i=new Map),i.set(e.name,t),"accessor"===r){const{name:r}=e;return{set(e){const n=o.get.call(this);o.set.call(this,e),this.requestUpdate(r,n,t)},init(o){return void 0!==o&&this.C(r,void 0,t),o}}}if("setter"===r){const{name:r}=e;return function(e){const n=this[r];o.call(this,e),this.requestUpdate(r,n,t)}}throw Error("Unsupported decorator location: "+r)};
45
+ */const Oe={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:O},ve=(t=Oe,e,o)=>{const{kind:r,metadata:i}=o;let n=globalThis.litPropertyMetadata.get(i);if(void 0===n&&globalThis.litPropertyMetadata.set(i,n=new Map),n.set(o.name,t),"accessor"===r){const{name:r}=o;return{set(o){const i=e.get.call(this);e.set.call(this,o),this.requestUpdate(r,i,t)},init(e){return void 0!==e&&this.C(r,void 0,t),e}}}if("setter"===r){const{name:r}=o;return function(o){const i=this[r];e.call(this,o),this.requestUpdate(r,i,t)}}throw Error("Unsupported decorator location: "+r)};
46
46
  /**
47
47
  * @license
48
48
  * Copyright 2017 Google LLC
49
49
  * SPDX-License-Identifier: BSD-3-Clause
50
- */function No(t){return(o,e)=>"object"==typeof e?So(t,o,e):((t,o,e)=>{const r=o.hasOwnProperty(e);return o.constructor.createProperty(e,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(o,e):void 0})(t,o,e)
50
+ */function Se(t){return(e,o)=>"object"==typeof o?ve(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)
51
51
  /**
52
52
  * @license
53
53
  * Copyright 2017 Google LLC
@@ -58,7 +58,7 @@ const Ut=globalThis,It=Ut.trustedTypes,Wt=It?It.createPolicy("lit-html",{createH
58
58
  * Copyright 2017 Google LLC
59
59
  * SPDX-License-Identifier: BSD-3-Clause
60
60
  */
61
- const wo=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
61
+ const Ne=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
62
62
  /**
63
63
  * @license
64
64
  * Copyright 2017 Google LLC
@@ -69,13 +69,13 @@ const wo=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
69
69
  * Copyright 2017 Google LLC
70
70
  * SPDX-License-Identifier: BSD-3-Clause
71
71
  */
72
- let Co;var xo=Object.freeze({__proto__:null,customElement:t=>(o,e)=>{void 0!==e?e.addInitializer((()=>{customElements.define(t,o)})):customElements.define(t,o)},eventOptions:
72
+ let we;var Ce=Object.freeze({__proto__:null,customElement:t=>(e,o)=>{void 0!==o?o.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)},eventOptions:
73
73
  /**
74
74
  * @license
75
75
  * Copyright 2017 Google LLC
76
76
  * SPDX-License-Identifier: BSD-3-Clause
77
77
  */
78
- function(t){return(o,e)=>{const r="function"==typeof o?o:o[e];Object.assign(r,t)}},property:No,query:function(t,o){return(e,r,n)=>{const i=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof r?e:n??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return wo(0,0,{get(){let e=t.call(this);return void 0===e&&(e=i(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return wo(0,0,{get(){return i(this)}})}},queryAll:function(t){return(o,e)=>wo(0,0,{get(){return(this.renderRoot??(Co??=document.createDocumentFragment())).querySelectorAll(t)}})
78
+ function(t){return(e,o)=>{const r="function"==typeof e?e:e[o];Object.assign(r,t)}},property:Se,query:function(t,e){return(o,r,i)=>{const n=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof r?o:i??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return Ne(0,0,{get(){let o=t.call(this);return void 0===o&&(o=n(this),(null!==o||this.hasUpdated)&&e.call(this,o)),o}})}return Ne(0,0,{get(){return n(this)}})}},queryAll:function(t){return(e,o)=>Ne(0,0,{get(){return(this.renderRoot??(we??=document.createDocumentFragment())).querySelectorAll(t)}})
79
79
  /**
80
80
  * @license
81
81
  * Copyright 2017 Google LLC
@@ -86,53 +86,53 @@ function(t){return(o,e)=>{const r="function"==typeof o?o:o[e];Object.assign(r,t)
86
86
  * Copyright 2021 Google LLC
87
87
  * SPDX-License-Identifier: BSD-3-Clause
88
88
  */
89
- function(t){return(o,e)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return wo(0,0,{get(){const o=this.renderRoot?.querySelector(i),e=o?.assignedElements(t)??[];return void 0===n?e:e.filter((t=>t.matches(n)))}})}}
89
+ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}]`:":not([name])");return Ne(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===i?o:o.filter((t=>t.matches(i)))}})}}
90
90
  /**
91
91
  * @license
92
92
  * Copyright 2017 Google LLC
93
93
  * SPDX-License-Identifier: BSD-3-Clause
94
- */,queryAssignedNodes:function(t){return(o,e)=>{const{slot:r}=t??{},n="slot"+(r?`[name=${r}]`:":not([name])");return wo(0,0,{get(){const o=this.renderRoot?.querySelector(n);return o?.assignedNodes(t)??[]}})}},queryAsync:function(t){return(o,e)=>wo(0,0,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})},standardProperty:So,state:function(t){return No({...t,state:!0,attribute:!1})}});
94
+ */,queryAssignedNodes:function(t){return(e,o)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return Ne(0,0,{get(){const e=this.renderRoot?.querySelector(i);return e?.assignedNodes(t)??[]}})}},queryAsync:function(t){return(e,o)=>Ne(0,0,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})},standardProperty:ve,state:function(t){return Se({...t,state:!0,attribute:!1})}});
95
95
  /**
96
96
  * @license
97
97
  * Copyright 2017 Google LLC
98
98
  * SPDX-License-Identifier: BSD-3-Clause
99
- */const Eo=1,Ro=2,Lo=t=>(...o)=>({_$litDirective$:t,values:o});let Uo=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};
99
+ */const xe=1,Ee=2,Re=t=>(...e)=>({_$litDirective$:t,values:e});let Le=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
100
100
  /**
101
101
  * @license
102
102
  * Copyright 2020 Google LLC
103
103
  * SPDX-License-Identifier: BSD-3-Clause
104
- */const{D:Io}=rt,Wo=()=>document.createComment(""),ko=(t,o,e)=>{const r=t._$AA.parentNode,n=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=r.insertBefore(Wo(),n),i=r.insertBefore(Wo(),n);e=new Io(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},Ao=(t,o,e=t)=>(t._$AI(o,e),t),Fo={},Ko=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}},$o=(t,o,e)=>{const r=new Map;for(let n=o;n<=e;n++)r.set(t[n],n);return r},Bo=Lo(class extends Uo{constructor(t){if(super(t),t.type!==Ro)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 c=this.dt??=[],s=[];let l,f,u=0,h=n.length-1,d=0,p=i.length-1;for(;u<=h&&d<=p;)if(null===n[u])u++;else if(null===n[h])h--;else if(c[u]===a[d])s[d]=Ao(n[u],i[d]),u++,d++;else if(c[h]===a[p])s[p]=Ao(n[h],i[p]),h--,p--;else if(c[u]===a[p])s[p]=Ao(n[u],i[p]),ko(t,s[p+1],n[u]),u++,p--;else if(c[h]===a[d])s[d]=Ao(n[h],i[d]),ko(t,n[u],n[h]),h--,d++;else if(void 0===l&&(l=$o(a,d,p),f=$o(c,u,h)),l.has(c[u]))if(l.has(c[h])){const o=f.get(a[d]),e=void 0!==o?n[o]:null;if(null===e){const o=ko(t,n[u]);Ao(o,i[d]),s[d]=o}else s[d]=Ao(e,i[d]),ko(t,n[u],e),n[o]=null;d++}else Ko(n[h]),h--;else Ko(n[u]),u++;for(;d<=p;){const o=ko(t,s[p+1]);Ao(o,i[d]),s[d++]=o}for(;u<=h;){const t=n[u++];null!==t&&Ko(t)}return this.dt=a,((t,o=Fo)=>{t._$AH=o})(t,s),M}});
104
+ */const{D:Ie}=rt,Ue=()=>document.createComment(""),We=(t,e,o)=>{const r=t._$AA.parentNode,i=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=r.insertBefore(Ue(),i),n=r.insertBefore(Ue(),i);o=new Ie(e,n,t,t.options)}else{const e=o._$AB.nextSibling,n=o._$AM,a=n!==t;if(a){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==n._$AU&&o._$AP(e)}if(e!==i||a){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;r.insertBefore(t,i),t=e}}}return o},ke=(t,e,o=t)=>(t._$AI(e,o),t),Ae={},$e=t=>{t._$AP?.(!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const t=e.nextSibling;e.remove(),e=t}},Fe=(t,e,o)=>{const r=new Map;for(let i=e;i<=o;i++)r.set(t[i],i);return r},Ke=Re(class extends Le{constructor(t){if(super(t),t.type!==Ee)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let r;void 0===o?o=e:void 0!==e&&(r=e);const i=[],n=[];let a=0;for(const e of t)i[a]=r?r(e,a):a,n[a]=o(e,a),a++;return{values:n,keys:i}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,r]){const i=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(e,o,r);if(!Array.isArray(i))return this.dt=a,n;const s=this.dt??=[],c=[];let l,f,h=0,u=i.length-1,d=0,p=n.length-1;for(;h<=u&&d<=p;)if(null===i[h])h++;else if(null===i[u])u--;else if(s[h]===a[d])c[d]=ke(i[h],n[d]),h++,d++;else if(s[u]===a[p])c[p]=ke(i[u],n[p]),u--,p--;else if(s[h]===a[p])c[p]=ke(i[h],n[p]),We(t,c[p+1],i[h]),h++,p--;else if(s[u]===a[d])c[d]=ke(i[u],n[d]),We(t,i[h],i[u]),u--,d++;else if(void 0===l&&(l=Fe(a,d,p),f=Fe(s,h,u)),l.has(s[h]))if(l.has(s[u])){const e=f.get(a[d]),o=void 0!==e?i[e]:null;if(null===o){const e=We(t,i[h]);ke(e,n[d]),c[d]=e}else c[d]=ke(o,n[d]),We(t,i[h],o),i[e]=null;d++}else $e(i[u]),u--;else $e(i[h]),h++;for(;d<=p;){const e=We(t,c[p+1]);ke(e,n[d]),c[d++]=e}for(;h<=u;){const t=i[h++];null!==t&&$e(t)}return this.dt=a,((t,e=Ae)=>{t._$AH=e})(t,c),Z}});
105
105
  /**
106
106
  * @license
107
107
  * Copyright 2017 Google LLC
108
108
  * SPDX-License-Identifier: BSD-3-Clause
109
- */var jo=Object.freeze({__proto__:null,repeat:Bo});
109
+ */var je=Object.freeze({__proto__:null,repeat:Ke});
110
110
  /**
111
111
  * @license
112
112
  * Copyright 2018 Google LLC
113
113
  * SPDX-License-Identifier: BSD-3-Clause
114
- */const Po=Lo(class extends Uo{constructor(t){if(super(t),t.type!==Eo||"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 _o=Object.freeze({__proto__:null,classMap:Po});
114
+ */const Be=Re(class extends Le{constructor(t){if(super(t),t.type!==xe||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const r=!!e[t];r===this.it.has(t)||this.st?.has(t)||(r?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return Z}});var Pe=Object.freeze({__proto__:null,classMap:Be});
115
115
  /**
116
116
  * @license
117
117
  * Copyright 2018 Google LLC
118
118
  * SPDX-License-Identifier: BSD-3-Clause
119
- */const Zo="important",Mo=" !"+Zo,Do=Lo(class extends Uo{constructor(t){if(super(t),t.type!==Eo||"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(Mo);t.includes("-")||o?e.setProperty(t,o?r.slice(0,-11):r,o?Zo:""):e[t]=r}}return M}});var zo,Ho=Object.freeze({__proto__:null,styleMap:Do});
119
+ */const Me="important",_e=" !"+Me,Ze=Re(class extends Le{constructor(t){if(super(t),t.type!==xe||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,o)=>{const r=t[o];return null==r?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`}),"")}update(t,[e]){const{style:o}=t.element;if(void 0===this.ut)return this.ut=new Set(Object.keys(e)),this.render(e);for(const t of this.ut)null==e[t]&&(this.ut.delete(t),t.includes("-")?o.removeProperty(t):o[t]=null);for(const t in e){const r=e[t];if(null!=r){this.ut.add(t);const e="string"==typeof r&&r.endsWith(_e);t.includes("-")||e?o.setProperty(t,e?r.slice(0,-11):r,e?Me:""):o[t]=r}}return Z}});var De,ze=Object.freeze({__proto__:null,styleMap:Ze});
120
120
  /**
121
121
  * @license
122
122
  * Copyright 2017 Google LLC
123
123
  * SPDX-License-Identifier: BSD-3-Clause
124
- */const To=window,Go=To.trustedTypes,Vo=Go?Go.createPolicy("lit-html",{createHTML:t=>t}):void 0,qo="$lit$",Yo=`lit$${(Math.random()+"").slice(9)}$`,Jo="?"+Yo,Xo=`<${Jo}>`,Qo=document,te=()=>Qo.createComment(""),oe=t=>null===t||"object"!=typeof t&&"function"!=typeof t,ee=Array.isArray,re="[ \t\n\f\r]",ne=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ie=/-->/g,ae=/>/g,ce=RegExp(`>|${re}(?:([^\\s"'>=/]+)(${re}*=${re}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),se=/'/g,le=/"/g,fe=/^(?:script|style|textarea|title)$/i,ue=Symbol.for("lit-noChange"),he=Symbol.for("lit-nothing"),de=new WeakMap,pe=Qo.createTreeWalker(Qo,129,null,!1);class ye{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let n=0,i=0;const a=t.length-1,c=this.parts,[s,l]=((t,o)=>{const e=t.length-1,r=[];let n,i=2===o?"<svg>":"",a=ne;for(let o=0;o<e;o++){const e=t[o];let c,s,l=-1,f=0;for(;f<e.length&&(a.lastIndex=f,s=a.exec(e),null!==s);)f=a.lastIndex,a===ne?"!--"===s[1]?a=ie:void 0!==s[1]?a=ae:void 0!==s[2]?(fe.test(s[2])&&(n=RegExp("</"+s[2],"g")),a=ce):void 0!==s[3]&&(a=ce):a===ce?">"===s[0]?(a=null!=n?n:ne,l=-1):void 0===s[1]?l=-2:(l=a.lastIndex-s[2].length,c=s[1],a=void 0===s[3]?ce:'"'===s[3]?le:se):a===le||a===se?a=ce:a===ie||a===ae?a=ne:(a=ce,n=void 0);const u=a===ce&&t[o+1].startsWith("/>")?" ":"";i+=a===ne?e+Xo:l>=0?(r.push(c),e.slice(0,l)+qo+e.slice(l)+Yo+u):e+Yo+(-2===l?(r.push(void 0),o):u)}const c=i+(t[e]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==Vo?Vo.createHTML(c):c,r]})(t,o);if(this.el=ye.createElement(s,e),pe.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(r=pe.nextNode())&&c.length<a;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const o of r.getAttributeNames())if(o.endsWith(qo)||o.startsWith(Yo)){const e=l[i++];if(t.push(o),void 0!==e){const t=r.getAttribute(e.toLowerCase()+qo).split(Yo),o=/([.?@])?(.*)/.exec(e);c.push({type:1,index:n,name:o[2],strings:t,ctor:"."===o[1]?Oe:"?"===o[1]?Se:"@"===o[1]?Ne:me})}else c.push({type:6,index:n})}for(const o of t)r.removeAttribute(o)}if(fe.test(r.tagName)){const t=r.textContent.split(Yo),o=t.length-1;if(o>0){r.textContent=Go?Go.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],te()),pe.nextNode(),c.push({type:2,index:++n});r.append(t[o],te())}}}else if(8===r.nodeType)if(r.data===Jo)c.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(Yo,t+1));)c.push({type:7,index:n}),t+=Yo.length-1}n++}}static createElement(t,o){const e=Qo.createElement("template");return e.innerHTML=t,e}}function ge(t,o,e=t,r){var n,i,a,c;if(o===ue)return o;let s=void 0!==r?null===(n=e._$Co)||void 0===n?void 0:n[r]:e._$Cl;const l=oe(o)?void 0:o._$litDirective$;return(null==s?void 0:s.constructor)!==l&&(null===(i=null==s?void 0:s._$AO)||void 0===i||i.call(s,!1),void 0===l?s=void 0:(s=new l(t),s._$AT(t,e,r)),void 0!==r?(null!==(a=(c=e)._$Co)&&void 0!==a?a:c._$Co=[])[r]=s:e._$Cl=s),void 0!==s&&(o=ge(t,s._$AS(t,o.values),s,r)),o}let be=class t{constructor(t,o,e,r){var n;this.type=2,this._$AH=he,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cp=null===(n=null==r?void 0:r.isConnected)||void 0===n||n}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===(null==t?void 0:t.nodeType)&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=ge(this,t,o),oe(t)?t===he||null==t||""===t?(this._$AH!==he&&this._$AR(),this._$AH=he):t!==this._$AH&&t!==ue&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>ee(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==he&&oe(this._$AH)?this._$AA.nextSibling.data=t:this.$(Qo.createTextNode(t)),this._$AH=t}g(t){var o;const{values:e,_$litType$:r}=t,n="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=ye.createElement(r.h,this.options)),r);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===n)this._$AH.v(e);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var o;const{el:{content:e},parts:r}=this._$AD,n=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:Qo).importNode(e,!0);pe.currentNode=n;let i=pe.nextNode(),a=0,c=0,s=r[0];for(;void 0!==s;){if(a===s.index){let o;2===s.type?o=new be(i,i.nextSibling,this,t):1===s.type?o=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(o=new we(i,this,t)),this._$AV.push(o),s=r[++c]}a!==(null==s?void 0:s.index)&&(i=pe.nextNode(),a++)}return n}v(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++}}(n,this),o=t.u(this.options);t.v(e),this.$(o),this._$AH=t}}_$AC(t){let o=de.get(t.strings);return void 0===o&&de.set(t.strings,o=new ye(t)),o}T(o){ee(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(te()),this.k(te()),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){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$Cp=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}},me=class{constructor(t,o,e,r,n){this.type=1,this._$AH=he,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=he}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,e,r){const n=this.strings;let i=!1;if(void 0===n)t=ge(this,t,o,0),i=!oe(t)||t!==this._$AH&&t!==ue,i&&(this._$AH=t);else{const r=t;let a,c;for(t=n[0],a=0;a<n.length-1;a++)c=ge(this,r[e+a],o,a),c===ue&&(c=this._$AH[a]),i||(i=!oe(c)||c!==this._$AH[a]),c===he?t=he:t!==he&&(t+=(null!=c?c:"")+n[a+1]),this._$AH[a]=c}i&&!r&&this.j(t)}j(t){t===he?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}},Oe=class extends me{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===he?void 0:t}};const ve=Go?Go.emptyScript:"";let Se=class extends me{constructor(){super(...arguments),this.type=4}j(t){t&&t!==he?this.element.setAttribute(this.name,ve):this.element.removeAttribute(this.name)}},Ne=class extends me{constructor(t,o,e,r,n){super(t,o,e,r,n),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=ge(this,t,o,0))&&void 0!==e?e:he)===ue)return;const r=this._$AH,n=t===he&&r!==he||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,i=t!==he&&(r===he||n);n&&this.element.removeEventListener(this.name,this,r),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}},we=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){ge(this,t)}};const Ce=To.litHtmlPolyfillSupport;null==Ce||Ce(ye,be),(null!==(zo=To.litHtmlVersions)&&void 0!==zo?zo:To.litHtmlVersions=[]).push("2.7.3");
124
+ */const He=window,Te=He.trustedTypes,Ge=Te?Te.createPolicy("lit-html",{createHTML:t=>t}):void 0,Ve="$lit$",qe=`lit$${(Math.random()+"").slice(9)}$`,Je="?"+qe,Ye=`<${Je}>`,Xe=document,Qe=()=>Xe.createComment(""),to=t=>null===t||"object"!=typeof t&&"function"!=typeof t,eo=Array.isArray,oo="[ \t\n\f\r]",ro=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,io=/-->/g,no=/>/g,ao=RegExp(`>|${oo}(?:([^\\s"'>=/]+)(${oo}*=${oo}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),so=/'/g,co=/"/g,lo=/^(?:script|style|textarea|title)$/i,fo=Symbol.for("lit-noChange"),ho=Symbol.for("lit-nothing"),uo=new WeakMap,po=Xe.createTreeWalker(Xe,129,null,!1);class yo{constructor({strings:t,_$litType$:e},o){let r;this.parts=[];let i=0,n=0;const a=t.length-1,s=this.parts,[c,l]=((t,e)=>{const o=t.length-1,r=[];let i,n=2===e?"<svg>":"",a=ro;for(let e=0;e<o;e++){const o=t[e];let s,c,l=-1,f=0;for(;f<o.length&&(a.lastIndex=f,c=a.exec(o),null!==c);)f=a.lastIndex,a===ro?"!--"===c[1]?a=io:void 0!==c[1]?a=no:void 0!==c[2]?(lo.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=ao):void 0!==c[3]&&(a=ao):a===ao?">"===c[0]?(a=null!=i?i:ro,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?ao:'"'===c[3]?co:so):a===co||a===so?a=ao:a===io||a===no?a=ro:(a=ao,i=void 0);const h=a===ao&&t[e+1].startsWith("/>")?" ":"";n+=a===ro?o+Ye:l>=0?(r.push(s),o.slice(0,l)+Ve+o.slice(l)+qe+h):o+qe+(-2===l?(r.push(void 0),e):h)}const s=n+(t[o]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==Ge?Ge.createHTML(s):s,r]})(t,e);if(this.el=yo.createElement(c,o),po.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(r=po.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const e of r.getAttributeNames())if(e.endsWith(Ve)||e.startsWith(qe)){const o=l[n++];if(t.push(e),void 0!==o){const t=r.getAttribute(o.toLowerCase()+Ve).split(qe),e=/([.?@])?(.*)/.exec(o);s.push({type:1,index:i,name:e[2],strings:t,ctor:"."===e[1]?Oo:"?"===e[1]?So:"@"===e[1]?No:mo})}else s.push({type:6,index:i})}for(const e of t)r.removeAttribute(e)}if(lo.test(r.tagName)){const t=r.textContent.split(qe),e=t.length-1;if(e>0){r.textContent=Te?Te.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],Qe()),po.nextNode(),s.push({type:2,index:++i});r.append(t[e],Qe())}}}else if(8===r.nodeType)if(r.data===Je)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(qe,t+1));)s.push({type:7,index:i}),t+=qe.length-1}i++}}static createElement(t,e){const o=Xe.createElement("template");return o.innerHTML=t,o}}function go(t,e,o=t,r){var i,n,a,s;if(e===fo)return e;let c=void 0!==r?null===(i=o._$Co)||void 0===i?void 0:i[r]:o._$Cl;const l=to(e)?void 0:e._$litDirective$;return(null==c?void 0:c.constructor)!==l&&(null===(n=null==c?void 0:c._$AO)||void 0===n||n.call(c,!1),void 0===l?c=void 0:(c=new l(t),c._$AT(t,o,r)),void 0!==r?(null!==(a=(s=o)._$Co)&&void 0!==a?a:s._$Co=[])[r]=c:o._$Cl=c),void 0!==c&&(e=go(t,c._$AS(t,e.values),c,r)),e}let bo=class t{constructor(t,e,o,r){var i;this.type=2,this._$AH=ho,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cp=null===(i=null==r?void 0:r.isConnected)||void 0===i||i}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=go(this,t,e),to(t)?t===ho||null==t||""===t?(this._$AH!==ho&&this._$AR(),this._$AH=ho):t!==this._$AH&&t!==fo&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>eo(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==ho&&to(this._$AH)?this._$AA.nextSibling.data=t:this.$(Xe.createTextNode(t)),this._$AH=t}g(t){var e;const{values:o,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=yo.createElement(r.h,this.options)),r);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===i)this._$AH.v(o);else{const t=new class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:o},parts:r}=this._$AD,i=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:Xe).importNode(o,!0);po.currentNode=i;let n=po.nextNode(),a=0,s=0,c=r[0];for(;void 0!==c;){if(a===c.index){let e;2===c.type?e=new bo(n,n.nextSibling,this,t):1===c.type?e=new c.ctor(n,c.name,c.strings,this,t):6===c.type&&(e=new wo(n,this,t)),this._$AV.push(e),c=r[++s]}a!==(null==c?void 0:c.index)&&(n=po.nextNode(),a++)}return i}v(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}(i,this),e=t.u(this.options);t.v(o),this.$(e),this._$AH=t}}_$AC(t){let e=uo.get(t.strings);return void 0===e&&uo.set(t.strings,e=new yo(t)),e}T(e){eo(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,i=0;for(const n of e)i===o.length?o.push(r=new t(this.k(Qe()),this.k(Qe()),this,this.options)):r=o[i],r._$AI(n),i++;i<o.length&&(this._$AR(r&&r._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,e){var o;for(null===(o=this._$AP)||void 0===o||o.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}},mo=class{constructor(t,e,o,r,i){this.type=1,this._$AH=ho,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=ho}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,o,r){const i=this.strings;let n=!1;if(void 0===i)t=go(this,t,e,0),n=!to(t)||t!==this._$AH&&t!==fo,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=go(this,r[o+a],e,a),s===fo&&(s=this._$AH[a]),n||(n=!to(s)||s!==this._$AH[a]),s===ho?t=ho:t!==ho&&(t+=(null!=s?s:"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.j(t)}j(t){t===ho?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}},Oo=class extends mo{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===ho?void 0:t}};const vo=Te?Te.emptyScript:"";let So=class extends mo{constructor(){super(...arguments),this.type=4}j(t){t&&t!==ho?this.element.setAttribute(this.name,vo):this.element.removeAttribute(this.name)}},No=class extends mo{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){var o;if((t=null!==(o=go(this,t,e,0))&&void 0!==o?o:ho)===fo)return;const r=this._$AH,i=t===ho&&r!==ho||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,n=t!==ho&&(r===ho||i);i&&this.element.removeEventListener(this.name,this,r),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,o;"function"==typeof this._$AH?this._$AH.call(null!==(o=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==o?o:this.element,t):this._$AH.handleEvent(t)}},wo=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){go(this,t)}};const Co=He.litHtmlPolyfillSupport;null==Co||Co(yo,bo),(null!==(De=He.litHtmlVersions)&&void 0!==De?De:He.litHtmlVersions=[]).push("2.7.3");
125
125
  /**
126
126
  * @license
127
127
  * Copyright 2017 Google LLC
128
128
  * SPDX-License-Identifier: BSD-3-Clause
129
129
  */
130
- const xe=2;let Ee=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}},Re=class extends Ee{constructor(t){if(super(t),this.et=he,t.type!==xe)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===he||null==t)return this.ft=void 0,this.et=t;if(t===ue)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const o=[t];return o.raw=o,this.ft={_$litType$:this.constructor.resultType,strings:o,values:[]}}};
130
+ const xo=2;let Eo=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}},Ro=class extends Eo{constructor(t){if(super(t),this.et=ho,t.type!==xo)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===ho||null==t)return this.ft=void 0,this.et=t;if(t===fo)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}};
131
131
  /**
132
132
  * @license
133
133
  * Copyright 2017 Google LLC
134
134
  * SPDX-License-Identifier: BSD-3-Clause
135
- */Re.directiveName="unsafeHTML",Re.resultType=1;const Le=(t=>(...o)=>({_$litDirective$:t,values:o}))(Re);var Ue=Object.freeze({__proto__:null,UnsafeHTMLDirective:Re,unsafeHTML:Le});
135
+ */Ro.directiveName="unsafeHTML",Ro.resultType=1;const Lo=(t=>(...e)=>({_$litDirective$:t,values:e}))(Ro);var Io=Object.freeze({__proto__:null,UnsafeHTMLDirective:Ro,unsafeHTML:Lo});
136
136
  /**
137
137
  * @license
138
138
  * Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
@@ -145,12 +145,16 @@ const xe=2;let Ee=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,
145
145
  * Code distributed by Google as part of the polymer project is also
146
146
  * subject to an additional IP rights grant found at
147
147
  * http://polymer.github.io/PATENTS.txt
148
- */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,c=new WeakMap;let s;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 c=n.prototype.attributeChangedCallback,s=new Set(n.observedAttributes||[]);h(n,s,c);const l={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:c,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:s};this._definitionsByTag.set(t,l),this._definitionsByClass.set(n,l);let f=e.call(r,t);f||(f=u(t),o.call(r,t,f)),this===window.customElements&&(a.set(n,l),l.standInClass=f);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)i.delete(t),p(t,l,!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=s;if(o)return s=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 l=t=>t===document||t instanceof ShadowRoot,f=t=>{let o=t.getRootNode();if(!l(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),l(o)||(o=c.get(o)?.getRootNode()||document)}return o.customElements},u=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?p(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)}},h=(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)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},p=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),n.set(t,o),s=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&c.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(xr){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}class Ie extends Error{constructor(t,o,e){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=e}}class We extends Promise{constructor(t){super(((o,e)=>t((t=>{this.isCanceled?e(new Ie("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?e(new Ie("Promise has been canceled",void 0,t)):e(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const ke=t=>new We(((o,e)=>t.then(o).catch(e)));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}}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 Ke(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(!Ke(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(!Ke(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(!Ke(t[i],o[i]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}function $e(t,o){const e=()=>JSON.parse(JSON.stringify(t));return No({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)=>!Ke(t,o),...null!=o?o:{}})}const Be=t=>"string"==typeof t?ft(t):t;class je{static create(t,o,e,r){const n=t=>Be(null!=t?t:r),i=ut`var(${Be(t)}, ${n(r)})`;return i.name=t,i.description=o,i.category=e,i.defaultValue=r,i.defaultCssValue=n,i.get=o=>ut`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=ut`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=>ut`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=ut`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=>ut`var(${Be(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const Pe={colorWhite:je.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:je.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:je.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:je.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:je.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:je.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:je.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:je.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:je.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:je.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:je.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:je.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:je.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:je.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:je.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:je.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:je.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:je.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:je.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:je.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:je.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:je.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:je.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:je.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:je.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:je.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:je.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:je.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:je.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:je.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:je.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:je.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:je.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:je.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:je.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:je.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:je.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:je.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:je.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:je.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:je.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:je.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:je.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:je.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:je.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:je.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:je.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:je.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:je.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:je.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:je.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:je.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:je.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:je.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:je.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:je.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:je.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:je.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:je.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:je.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:je.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:je.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:je.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:je.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:je.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:je.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:je.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:je.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:je.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:je.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:je.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:je.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:je.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:je.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:je.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:je.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:je.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:je.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:je.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:je.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:je.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:je.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:je.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:je.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:je.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:je.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:je.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:je.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:je.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:je.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:je.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:je.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:je.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:je.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:je.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:je.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:je.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:je.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:je.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:je.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:je.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:je.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:je.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:je.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:je.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:je.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:je.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:je.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:je.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:je.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:je.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:je.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:je.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:je.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:je.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:je.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:je.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:je.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:je.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:je.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:je.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:je.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:je.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:je.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:je.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:je.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:je.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:je.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:je.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:je.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:je.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:je.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:je.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:je.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:je.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:je.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:je.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:je.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:je.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:je.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:je.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:je.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:je.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:je.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:je.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:je.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:je.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:je.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:je.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:je.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:je.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:je.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:je.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:je.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:je.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:je.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:je.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:je.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:je.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:je.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:je.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:je.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:je.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:je.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:je.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:je.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:je.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:je.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:je.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:je.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:je.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:je.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:je.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:je.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:je.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:je.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:je.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:je.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:je.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:je.create("--ft-icon-size-6","","SIZE","48px"),opacity0:je.create("--ft-opacity-0","","NUMBER","0"),opacity8:je.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:je.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:je.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:je.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:je.create("--ft-opacity-80","","NUMBER","0.8")},_e={fontFamily:je.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:je.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:je.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:je.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:je.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:je.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:je.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:je.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:je.create("--ft-typography-display-textCase","","UNKNOWN","none")},Ze={fontFamily:je.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:je.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:je.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:je.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:je.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:je.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:je.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:je.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:je.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Me={fontFamily:je.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:je.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:je.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:je.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:je.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:je.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:je.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:je.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:je.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},De={fontFamily:je.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:je.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:je.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:je.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:je.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:je.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:je.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:je.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:je.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},ze={fontFamily:je.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:je.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:je.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:je.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:je.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:je.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:je.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:je.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:je.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},He={fontFamily:je.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:je.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:je.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:je.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:je.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:je.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:je.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:je.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:je.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Te={fontFamily:je.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:je.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:je.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:je.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:je.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:je.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:je.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:je.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:je.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Ge={fontFamily:je.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:je.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:je.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:je.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:je.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:je.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:je.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:je.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:je.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Ve={fontFamily:je.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:je.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:je.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:je.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:je.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:je.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:je.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:je.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:je.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},qe={fontFamily:je.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:je.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:je.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:je.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:je.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:je.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:je.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:je.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:je.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Ye={fontFamily:je.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:je.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:je.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:je.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:je.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:je.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:je.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:je.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:je.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Je={fontFamily:je.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:je.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:je.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:je.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:je.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:je.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:je.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:je.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:je.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Xe={fontFamily:je.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:je.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:je.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:je.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:je.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:je.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:je.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:je.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:je.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Qe={fontFamily:je.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:je.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:je.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:je.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:je.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:je.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:je.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:je.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:je.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},tr={fontFamily:je.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:je.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:je.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:je.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:je.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:je.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:je.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:je.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:je.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},or={fontFamily:je.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:je.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:je.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:je.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:je.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:je.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:je.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:je.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:je.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},er={fontFamily:je.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:je.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:je.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:je.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:je.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:je.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:je.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:je.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:je.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},rr={fontFamily:je.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:je.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:je.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:je.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:je.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:je.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:je.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:je.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:je.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},nr={fontFamily:je.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:je.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:je.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:je.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:je.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:je.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:je.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:je.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:je.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},ir={fontFamily:je.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:je.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:je.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:je.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:je.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:je.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:je.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:je.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:je.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},ar={fontFamily:je.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:je.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:je.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:je.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:je.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:je.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:je.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:je.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:je.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},cr={fontFamily:je.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:je.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:je.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:je.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:je.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:je.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:je.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:je.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:je.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},sr={display:_e,"title-1":Ze,"title-2":Me,"title-3":De,"body-1-regular":ze,"body-1-medium":He,"body-1-semibold":Te,"body-2-regular":Ge,"body-2-medium":Ve,"body-2-semibold":qe,"label-1-medium":Ye,"label-1-semibold":Je,"label-1-bold":Xe,"label-2-medium":Qe,"label-2-semibold":tr,"label-2-bold":or,"caption-1-medium":er,"caption-1-semibold":rr,"caption-1-bold":nr,"caption-2-medium":ir,"caption-2-semibold":ar,"caption-2-bold":cr},lr={backgroundActionPrimary:je.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Pe.colorBrand0),backgroundErrorPrimary:je.extend("--ft-background-error-primary","Used as background of error components.",Pe.colorRed0),backgroundErrorSubtle:je.extend("--ft-background-error-subtle","Used as background of subtle error components.",Pe.colorRed10),backgroundInfoPrimary:je.extend("--ft-background-info-primary","Used as background of information components.",Pe.colorCyan200),backgroundInfoSubtle:je.extend("--ft-background-info-subtle","Used as background of subtle information components.",Pe.colorCyan10),backgroundWarningPrimary:je.extend("--ft-background-warning-primary","Used as background of warning components.",Pe.colorOrange300),backgroundWarningSubtle:je.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Pe.colorOrange10),backgroundSuccessPrimary:je.extend("--ft-background-success-primary","Used as background of success components.",Pe.colorGreen200),backgroundSuccessSubtle:je.extend("--ft-background-success-subtle","Used as background of subtle success components.",Pe.colorGreen10),backgroundGlobalSurface:je.extend("--ft-background-global-surface","Used as app background.",Pe.colorWhite),backgroundGlobalOnSurface:je.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Pe.colorGray10),backgroundGlobalOnSurfaceDark:je.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Pe.colorGray30),contentActionPrimary:je.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Pe.colorBrand0),contentWarningPrimary:je.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Pe.colorOrange300),contentWarningIconOnly:je.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Pe.colorOrange0),contentErrorPrimary:je.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Pe.colorRed0),contentErrorIconOnly:je.extend("--ft-content-error-icon-only","Used on error status icons alone",Pe.colorRed0),contentInfoPrimary:je.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Pe.colorCyan200),contentInfoIconOnly:je.extend("--ft-content-info-icon-only","Used on info status icons alone",Pe.colorCyan0),contentSuccessIconOnly:je.extend("--ft-content-success-icon-only","Used on success status icons alone",Pe.colorGreen0),contentSuccessPrimary:je.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Pe.colorGreen200),contentGlobalPrimary:je.extend("--ft-content-global-primary","Used for main content on the page.",Pe.colorGray500),contentGlobalSecondary:je.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Pe.colorGray200),contentGlobalSubtle:je.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Pe.colorGray0),contentGlobalOnColor:je.extend("--ft-content-global-on-color","Used for content on a dominant color.",Pe.colorWhite),borderActionPrimary:je.extend("--ft-border-action-primary","Used as border for primary action components.",Pe.colorBrand0),borderActionFocusRing:je.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Pe.colorCyan0),borderWarningPrimary:je.extend("--ft-border-warning-primary","Used as border for warning components.",Pe.colorOrange30),borderSuccessPrimary:je.extend("--ft-border-success-primary","Used as border for success components.",Pe.colorGreen30),borderErrorPrimary:je.extend("--ft-border-error-primary","Used as border for error components.",Pe.colorRed30),borderInfoPrimary:je.extend("--ft-border-info-primary","Used as border for information components.",Pe.colorCyan30),borderGlobalSubtle:je.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Pe.colorGray30),borderGlobalPrimary:je.extend("--ft-border-global-primary","Used as border for element like input.",Pe.colorGray50),borderInputPrimary:je.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Pe.colorGray80)},fr={largeHeight:je.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:je.extend("--ft-button-large-horizontal-padding","",Pe.spacing4),largeGap:je.extend("--ft-button-large-gap","",Pe.spacing2),largeBorderRadius:je.extend("--ft-button-large-border-radius","",Pe.borderRadiusS),largeIconSize:je.extend("--ft-button-large-icon-size","",Pe.iconSize3),largeBorderWidth:je.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:je.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:je.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:je.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:je.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:je.extend("--ft-button-small-horizontal-padding","",Pe.spacing3),smallGap:je.extend("--ft-button-small-gap","",Pe.spacing2),smallBorderRadius:je.extend("--ft-button-small-border-radius","",Pe.borderRadiusS),smallIconSize:je.extend("--ft-button-small-icon-size","",Pe.iconSize2),smallBorderWidth:je.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:je.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:je.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:je.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:je.extend("--ft-button-primary-background-color","",lr.backgroundActionPrimary),primaryColor:je.extend("--ft-button-primary-color","",lr.contentGlobalOnColor),primaryIconColor:je.extend("--ft-button-primary-icon-color","",lr.contentGlobalOnColor),primaryStateLayerColor:je.extend("--ft-button-primary-state-layer-color","",lr.contentGlobalOnColor),primaryStateLayerOpacityHover:je.extend("--ft-button-primary-state-layer-opacity-hover","",Pe.opacity16),primaryStateLayerOpacityFocus:je.extend("--ft-button-primary-state-layer-opacity-focus","",Pe.opacity16),primaryStateLayerOpacityActive:je.extend("--ft-button-primary-state-layer-opacity-active","",Pe.opacity24),primaryComponentOpacityDisabled:je.extend("--ft-button-primary-component-opacity-disabled","",Pe.opacity40),focusFocusRingColor:je.extend("--ft-button-focus-focus-ring-color","",lr.borderActionFocusRing),tertiaryBackgroundColor:je.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:je.extend("--ft-button-tertiary-color","",lr.contentActionPrimary),tertiaryIconColor:je.extend("--ft-button-tertiary-icon-color","",lr.contentActionPrimary),tertiaryStateLayerColor:je.extend("--ft-button-tertiary-state-layer-color","",lr.contentActionPrimary),tertiaryStateLayerOpacityHover:je.extend("--ft-button-tertiary-state-layer-opacity-hover","",Pe.opacity8),tertiaryStateLayerOpacityFocus:je.extend("--ft-button-tertiary-state-layer-opacity-focus","",Pe.opacity8),tertiaryStateLayerOpacityActive:je.extend("--ft-button-tertiary-state-layer-opacity-active","",Pe.opacity16),tertiaryComponentOpacityDisabled:je.extend("--ft-button-tertiary-component-opacity-disabled","",Pe.opacity40),secondaryBackgroundColor:je.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:je.extend("--ft-button-secondary-color","",lr.contentActionPrimary),secondaryIconColor:je.extend("--ft-button-secondary-icon-color","",lr.contentActionPrimary),secondaryStateLayerColor:je.extend("--ft-button-secondary-state-layer-color","",lr.contentActionPrimary),secondaryStateLayerOpacityHover:je.extend("--ft-button-secondary-state-layer-opacity-hover","",Pe.opacity8),secondaryStateLayerOpacityFocus:je.extend("--ft-button-secondary-state-layer-opacity-focus","",Pe.opacity8),secondaryStateLayerOpacityActive:je.extend("--ft-button-secondary-state-layer-opacity-active","",Pe.opacity16),secondaryComponentOpacityDisabled:je.extend("--ft-button-secondary-component-opacity-disabled","",Pe.opacity40),secondaryBorderColor:je.extend("--ft-button-secondary-border-color","",lr.borderActionPrimary),neutralBackgroundColor:je.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:je.extend("--ft-button-neutral-icon-color","",lr.contentGlobalSecondary),neutralColor:je.extend("--ft-button-neutral-color","",lr.contentGlobalSecondary),neutralStateLayerColor:je.extend("--ft-button-neutral-state-layer-color","",lr.contentGlobalSecondary),neutralStateLayerOpacityHover:je.extend("--ft-button-neutral-state-layer-opacity-hover","",Pe.opacity8),neutralStateLayerOpacityFocus:je.extend("--ft-button-neutral-state-layer-opacity-focus","",Pe.opacity8),neutralStateLayerOpacityActive:je.extend("--ft-button-neutral-state-layer-opacity-active","",Pe.opacity16),neutralComponentOpacityDisabled:je.extend("--ft-button-neutral-component-opacity-disabled","",Pe.opacity40)},ur={topLeftBorderRadius:je.extend("--ft-tabs-top-left-border-radius","",Pe.borderRadiusS),topRightBorderRadius:je.extend("--ft-tabs-top-right-border-radius","",Pe.borderRadiusS),labelHorizontalPadding:je.extend("--ft-tabs-label-horizontal-padding","",Pe.spacing4),labelVerticalPadding:je.extend("--ft-tabs-label-vertical-padding","",Pe.spacing3),labelGap:je.extend("--ft-tabs-label-gap","",Pe.spacing1)},hr={groupHorizontalPadding:je.extend("--ft-switch-group-horizontal-padding","",Pe.spacing1),groupVerticalPadding:je.extend("--ft-switch-group-vertical-padding","",Pe.spacing1),groupGap:je.extend("--ft-switch-group-gap","",Pe.spacing1),groupBackgroundColor:je.extend("--ft-switch-group-background-color","",lr.backgroundGlobalSurface),groupBorderColor:je.extend("--ft-switch-group-border-color","",lr.borderGlobalSubtle),groupBorderRadius:je.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:je.extend("--ft-switch-label-horizontal-padding","",Pe.spacing2),labelVerticalPadding:je.extend("--ft-switch-label-vertical-padding","",Pe.spacing1),iconHorizontalPadding:je.extend("--ft-switch-icon-horizontal-padding","",Pe.spacing1),iconVerticalPadding:je.extend("--ft-switch-icon-vertical-padding","",Pe.spacing1),focusOutlineWidth:je.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:je.extend("--ft-switch-focus-focus-ring-color","",lr.borderActionFocusRing),optionBorderRadius:je.extend("--ft-switch-option-border-radius","",Pe.borderRadiusS),offStateLayerOpacityHover:je.extend("--ft-switch-off-state-layer-opacity-hover","",Pe.opacity8),offStateLayerOpacityFocus:je.extend("--ft-switch-off-state-layer-opacity-focus","",Pe.opacity8),offStateLayerOpacityActive:je.extend("--ft-switch-off-state-layer-opacity-active","",Pe.opacity16),offComponentOpacityDisabled:je.extend("--ft-switch-off-component-opacity-disabled","",Pe.opacity40),offColor:je.extend("--ft-switch-off-color","",lr.contentGlobalSubtle),offStateLayerColor:je.extend("--ft-switch-off-state-layer-color","",lr.contentGlobalSubtle)},dr={color1Light:je.extend("--ft-chart-1-light","for area color charts",Pe.colorBrand40),color1Base:je.extend("--ft-chart-1-base","for line charts",Pe.colorBrand0),color2Light:je.extend("--ft-chart-2-light","for area color charts",Pe.colorYellow60),color2Base:je.extend("--ft-chart-2-base","for line charts",Pe.colorYellow100),color3Light:je.extend("--ft-chart-3-light","",Pe.colorUltramarine40),color3Base:je.extend("--ft-chart-3-base","",Pe.colorUltramarine70),color4Light:je.extend("--ft-chart-4-light","",Pe.colorCyan50),color4Base:je.extend("--ft-chart-4-base","",Pe.colorCyan100),color5Light:je.extend("--ft-chart-5-light","",Pe.colorRed40),color5Base:je.extend("--ft-chart-5-base","",Pe.colorRed60),color6Light:je.extend("--ft-chart-6-light","",Pe.colorGreen40),color6Base:je.extend("--ft-chart-6-base","",Pe.colorGreen70),color7Light:je.extend("--ft-chart-7-light","",Pe.colorOrange70),color7Base:je.extend("--ft-chart-7-base","",Pe.colorOrange100),color8Light:je.extend("--ft-chart-8-light","",Pe.colorAvocado70),color8Base:je.extend("--ft-chart-8-base","",Pe.colorAvocado200),color9Light:je.extend("--ft-chart-9-light","",Pe.colorBrown50),color9Base:je.extend("--ft-chart-9-base","",Pe.colorBrown200),color10Light:je.extend("--ft-chart-10-light","",Pe.colorGray50),color10Base:je.extend("--ft-chart-10-base","",Pe.colorGray80),monochrome10:je.extend("--ft-chart-monochrome-10","",Pe.colorBrand10),monochrome20:je.extend("--ft-chart-monochrome-20","",Pe.colorBrand20),monochrome30:je.extend("--ft-chart-monochrome-30","",Pe.colorBrand40),monochrome40:je.extend("--ft-chart-monochrome-40","",Pe.colorBrand60),monochrome50:je.extend("--ft-chart-monochrome-50","",Pe.colorBrand0),monochrome60:je.extend("--ft-chart-monochrome-60","",Pe.colorBrand200)},pr={largeHorizontalPadding:je.extend("--ft-chip-large-horizontal-padding","",Pe.spacing4),largeVerticalPadding:je.extend("--ft-chip-large-vertical-padding","",Pe.spacing2),largeGap:je.extend("--ft-chip-large-gap","",Pe.spacing1),largeFocusOutlineOffset:je.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:je.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:je.extend("--ft-chip-large-border-radius","",Pe.borderRadiusPill),largeBorderWidth:je.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:je.extend("--ft-chip-large-icon-size","",Pe.iconSize3),mediumHorizontalPadding:je.extend("--ft-chip-medium-horizontal-padding","",Pe.spacing3),mediumVerticalPadding:je.extend("--ft-chip-medium-vertical-padding","",Pe.spacing1),mediumGap:je.extend("--ft-chip-medium-gap","",Pe.spacing1),mediumFocusOutlineOffset:je.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:je.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:je.extend("--ft-chip-medium-border-radius","",Pe.borderRadiusPill),mediumBorderWidth:je.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:je.extend("--ft-chip-medium-icon-size","",Pe.iconSize2),smallHorizontalPadding:je.extend("--ft-chip-small-horizontal-padding","",Pe.spacing2),smallVerticalPadding:je.extend("--ft-chip-small-vertical-padding","",Pe.spacing05),smallGap:je.extend("--ft-chip-small-gap","",Pe.spacing1),smallFocusOutlineOffset:je.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:je.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:je.extend("--ft-chip-small-border-radius","",Pe.borderRadiusPill),smallBorderWidth:je.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:je.extend("--ft-chip-small-icon-size","",Pe.iconSize1),neutralBackgroundColor:je.extend("--ft-chip-neutral-background-color","",lr.backgroundGlobalOnSurface),neutralColor:je.extend("--ft-chip-neutral-color","",lr.contentGlobalPrimary),neutralBorderColor:je.extend("--ft-chip-neutral-border-color","",lr.borderGlobalSubtle),infoBackgroundColor:je.extend("--ft-chip-info-background-color","",lr.backgroundInfoSubtle),infoColor:je.extend("--ft-chip-info-color","",lr.contentInfoPrimary),infoBorderColor:je.extend("--ft-chip-info-border-color","",lr.borderInfoPrimary),successBackgroundColor:je.extend("--ft-chip-success-background-color","",lr.backgroundSuccessSubtle),successColor:je.extend("--ft-chip-success-color","",lr.contentSuccessPrimary),successBorderColor:je.extend("--ft-chip-success-border-color","",lr.borderSuccessPrimary),warningBackgroundColor:je.extend("--ft-chip-warning-background-color","",lr.backgroundWarningSubtle),warningColor:je.extend("--ft-chip-warning-color","",lr.contentWarningPrimary),warningBorderColor:je.extend("--ft-chip-warning-border-color","",lr.borderWarningPrimary),errorBackgroundColor:je.extend("--ft-chip-error-background-color","",lr.backgroundErrorSubtle),errorColor:je.extend("--ft-chip-error-color","",lr.contentErrorPrimary),errorBorderColor:je.extend("--ft-chip-error-border-color","",lr.borderErrorPrimary)},yr={borderWidth:je.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:je.extend("--ft-notice-horizontal-padding","",Pe.spacing2),verticalPadding:je.extend("--ft-notice-vertical-padding","",Pe.spacing1),borderRadius:je.extend("--ft-notice-border-radius","",Pe.borderRadiusS),gap:je.extend("--ft-notice-gap","",Pe.spacing2),iconSize:je.extend("--ft-notice-icon-size","",Pe.iconSize3),infoBackgroundColor:je.extend("--ft-notice-info-background-color","",lr.backgroundInfoSubtle),infoBorderColor:je.extend("--ft-notice-info-border-color","",lr.borderInfoPrimary),infoColor:je.extend("--ft-notice-info-color","",lr.contentInfoPrimary),warningBackgroundColor:je.extend("--ft-notice-warning-background-color","",lr.backgroundWarningSubtle),warningBorderColor:je.extend("--ft-notice-warning-border-color","",lr.borderWarningPrimary),warningColor:je.extend("--ft-notice-warning-color","",lr.contentWarningPrimary)},gr={labelColor:je.extend("--ft-checkbox-label-color","",lr.contentGlobalPrimary),checkedBackgroundColor:je.extend("--ft-checkbox-checked-background-color","",lr.contentActionPrimary),checkedStateLayerColor:je.extend("--ft-checkbox-checked-state-layer-color","",lr.contentActionPrimary),checkedColor:je.extend("--ft-checkbox-checked-color","",lr.contentGlobalOnColor),checkedStateLayerOpacityHover:je.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Pe.opacity16),checkedStateLayerOpacityFocus:je.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Pe.opacity16),checkedStateLayerOpacityActive:je.extend("--ft-checkbox-checked-state-layer-opacity-active","",Pe.opacity24),checkedComponentOpacityDisabled:je.extend("--ft-checkbox-checked-component-opacity-disabled","",Pe.opacity40),uncheckedBorderColor:je.extend("--ft-checkbox-unchecked-border-color","",Pe.colorGray80),uncheckedStateLayerColor:je.extend("--ft-checkbox-unchecked-state-layer-color","",Pe.colorGray80),uncheckedStateLayerOpacityHover:je.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Pe.opacity16),uncheckedStateLayerOpacityFocus:je.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Pe.opacity16),uncheckedStateLayerOpacityActive:je.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Pe.opacity24),uncheckedComponentOpacityDisabled:je.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Pe.opacity40),focusFocusRingColor:je.extend("--ft-checkbox-focus-focus-ring-color","",lr.borderActionFocusRing),focusOutlineOffset:je.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:je.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:je.extend("--ft-checkbox-gap","",Pe.spacing3)},br={offStateLayerOpacityHover:je.extend("--ft-toggle-off-state-layer-opacity-hover","",Pe.opacity16),offStateLayerOpacityFocus:je.extend("--ft-toggle-off-state-layer-opacity-focus","",Pe.opacity16),offStateLayerOpacityActive:je.extend("--ft-toggle-off-state-layer-opacity-active","",Pe.opacity24),offComponentOpacityDisabled:je.extend("--ft-toggle-off-component-opacity-disabled","",Pe.opacity40),offBackgroundColor:je.extend("--ft-toggle-off-background-color","",lr.contentGlobalSubtle),offIconColor:je.extend("--ft-toggle-off-icon-color","",lr.contentGlobalSubtle),offStateLayerColor:je.extend("--ft-toggle-off-state-layer-color","",lr.contentGlobalSubtle),onStateLayerOpacityHover:je.extend("--ft-toggle-on-state-layer-opacity-hover","",Pe.opacity16),onStateLayerOpacityFocus:je.extend("--ft-toggle-on-state-layer-opacity-focus","",Pe.opacity16),onStateLayerOpacityActive:je.extend("--ft-toggle-on-state-layer-opacity-active","",Pe.opacity24),onComponentOpacityDisabled:je.extend("--ft-toggle-on-component-opacity-disabled","",Pe.opacity40),onBackgroundColor:je.extend("--ft-toggle-on-background-color","",lr.contentActionPrimary),onIconColor:je.extend("--ft-toggle-on-icon-color","",lr.contentActionPrimary),onStateLayerColor:je.extend("--ft-toggle-on-state-layer-color","",lr.contentActionPrimary),labelColor:je.extend("--ft-toggle-label-color","",lr.contentGlobalPrimary),focusFocusRingColor:je.extend("--ft-toggle-focus-focus-ring-color","",lr.borderActionFocusRing),gap:je.extend("--ft-toggle-gap","",Pe.spacing3)},mr={labelColor:je.extend("--ft-radio-label-color","",lr.contentGlobalPrimary),selectedColor:je.extend("--ft-radio-selected-color","",lr.contentActionPrimary),selectedStateLayerColor:je.extend("--ft-radio-selected-state-layer-color","",lr.contentActionPrimary),selectedStateLayerOpacityHover:je.extend("--ft-radio-selected-state-layer-opacity-hover","",Pe.opacity16),selectedStateLayerOpacityFocus:je.extend("--ft-radio-selected-state-layer-opacity-focus","",Pe.opacity16),selectedStateLayerOpacityActive:je.extend("--ft-radio-selected-state-layer-opacity-active","",Pe.opacity24),selectedComponentOpacityDisabled:je.extend("--ft-radio-selected-component-opacity-disabled","",Pe.opacity40),unselectedStateLayerColor:je.extend("--ft-radio-unselected-state-layer-color","",Pe.colorGray80),unselectedStateLayerOpacityHover:je.extend("--ft-radio-unselected-state-layer-opacity-hover","",Pe.opacity16),unselectedStateLayerOpacityFocus:je.extend("--ft-radio-unselected-state-layer-opacity-focus","",Pe.opacity16),unselectedStateLayerOpacityActive:je.extend("--ft-radio-unselected-state-layer-opacity-active","",Pe.opacity24),unselectedComponentOpacityDisabled:je.extend("--ft-radio-unselected-component-opacity-disabled","",Pe.opacity40),focusFocusRingColor:je.extend("--ft-radio-focus-focus-ring-color","",lr.borderActionFocusRing),focusOutlineOffset:je.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:je.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:je.extend("--ft-radio-gap","",Pe.spacing3)},Or={iconSize:je.extend("--ft-notification-icon-size","",Pe.iconSize4),horizontalPadding:je.extend("--ft-notification-horizontal-padding","",Pe.spacing4),verticalPadding:je.extend("--ft-notification-vertical-padding","",Pe.spacing4),infoBackgroundColor:je.extend("--ft-notification-info-background-color","",lr.backgroundInfoSubtle),infoColor:je.extend("--ft-notification-info-color","",lr.contentInfoPrimary),infoBorderColor:je.extend("--ft-notification-info-border-color","",lr.borderInfoPrimary),successBackgroundColor:je.extend("--ft-notification-success-background-color","",lr.backgroundSuccessSubtle),successColor:je.extend("--ft-notification-success-color","",lr.contentSuccessPrimary),successBorderColor:je.extend("--ft-notification-success-border-color","",lr.borderSuccessPrimary),warningBackgroundColor:je.extend("--ft-notification-warning-background-color","",lr.backgroundWarningSubtle),warningColor:je.extend("--ft-notification-warning-color","",lr.contentWarningPrimary),warningBorderColor:je.extend("--ft-notification-warning-border-color","",lr.borderWarningPrimary),errorBackgroundColor:je.extend("--ft-notification-error-background-color","",lr.backgroundErrorSubtle),errorColor:je.extend("--ft-notification-error-color","",lr.contentErrorPrimary),errorBorderColor:je.extend("--ft-notification-error-border-color","",lr.borderErrorPrimary),borderRadius:je.extend("--ft-notification-border-radius","",Pe.borderRadiusPill),borderWidth:je.create("--ft-notification-border-width","","SIZE","1px"),gapLeading:je.extend("--ft-notification-gap-leading","",Pe.spacing2),gapTrailing:je.extend("--ft-notification-gap-trailing","",Pe.spacing8)},vr={colorPrimary:je.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:je.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:je.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:je.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:je.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:je.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:je.create("--ft-color-error","","COLOR","#B00020"),colorOutline:je.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:je.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:je.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:je.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:je.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:je.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:je.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:je.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:je.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:je.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:je.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:je.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:je.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:je.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:je.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:je.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:je.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:je.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:je.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:je.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:je.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:je.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:je.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:je.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:je.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:je.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:je.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:je.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:je.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:je.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:je.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:je.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:je.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:je.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:je.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:je.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:je.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:je.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:je.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:je.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:je.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:je.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:je.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:je.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:je.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:je.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:je.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:je.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:je.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:je.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:je.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:je.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:je.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:je.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:je.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};class Sr extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class Nr extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class wr extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}
148
+ */if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,r=window.customElements,i=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,c=new Set(i.observedAttributes||[]);u(i,c,s);const l={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(i,l);let f=o.call(r,t);f||(f=h(t),e.call(r,t,f)),this===window.customElements&&(a.set(i,l),l.standInClass=f);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),p(t,l,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let r=this._awaitingUpgrade.get(e);r||this._awaitingUpgrade.set(e,r=new Set),o?r.add(t):r.delete(t)}},window.HTMLElement=function(){let e=c;if(e)return c=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),i.set(e,o),e},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,f=t=>{let e=t.getRootNode();if(!l(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),l(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},h=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const r=f(o)||window.customElements,i=r._getDefinition(e);return i?p(o,i):n.set(o,r),o}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},u=(t,e,o)=>{if(0===e.size||void 0===o)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);r.call(this,n,i),o.call(this,n,t,i)}else r.call(this,n,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);i.call(this,r),o.call(this,r,t,null)}else i.call(this,r)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const e=this.getAttribute(i);o.call(this,i,t,e)}else n.call(this,i,r)})},d=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):d(o)},p=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),i.set(t,e),c=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const r=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=r.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const r=e.call(this,...o);return t.set(r,this),r},o.forEach((e=>{const o=window.ElementInternals.prototype,r=o[e];o[e]=function(...e){const o=t.get(this);if(!0===i.get(o).formAssociated)return r?.call(this,...e);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const r=t.getAttribute("name"),i=e.get(r)||[];this[+o]=t,i.push(t),e.set(r,i)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=i.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(xr){const t=window.customElements.define;window.customElements.define=(e,o,r)=>{if(null!==o)try{t.bind(window.customElements)(e,o,r)}catch(t){console.info(e,o,r,t)}}}class Uo extends Error{constructor(t,e,o){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=o}}class Wo extends Promise{constructor(t){super(((e,o)=>t((t=>{this.isCanceled?o(new Uo("Promise has been canceled",t)):e(t)}),(t=>{this.isCanceled?o(new Uo("Promise has been canceled",void 0,t)):o(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const ko=t=>new Wo(((e,o)=>t.then(e).catch(o)));class Ao{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}function $o(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,((t,e,o,r)=>e+o+":"+r)),new Date(t)}function Fo(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var o,r,i;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(r=o;0!=r--;)if(!Fo(t[r],e[r]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(r of t.entries())if(!e.has(r[0]))return!1;for(r of t.entries())if(!Fo(r[1],e.get(r[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(r of t.entries())if(!e.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((o=(i=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(r=o;0!=r--;)if(!Object.prototype.hasOwnProperty.call(e,i[r]))return!1;for(r=o;0!=r--;){var n=i[r];if(!Fo(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}function Ko(t,e){const o=()=>JSON.parse(JSON.stringify(t));return Se({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!Fo(t,e),...null!=e?e:{}})}const jo=t=>"string"==typeof t?ft(t):t;class Bo{static create(t,e,o,r){const i=t=>jo(null!=t?t:r),n=ht`var(${jo(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>ht`var(${jo(t)}, ${i(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,e,o,r){const i=t=>o.get(null!=t?t:r),n=ht`var(${jo(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>ht`var(${jo(t)}, ${i(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):jo(null!=e?e:t.lastResortDefaultValue()),r=ht`var(${jo(t.name)}, ${o(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=o,r.get=e=>ht`var(${jo(t.name)}, ${o(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const Po={colorWhite:Bo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Bo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Bo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Bo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Bo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Bo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Bo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Bo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Bo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Bo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Bo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Bo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Bo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Bo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Bo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Bo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Bo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Bo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Bo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Bo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Bo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Bo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Bo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Bo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Bo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Bo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Bo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Bo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Bo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Bo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Bo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Bo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Bo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Bo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Bo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Bo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Bo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Bo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Bo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Bo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Bo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Bo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Bo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Bo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Bo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Bo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Bo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Bo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Bo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Bo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Bo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Bo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Bo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Bo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Bo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Bo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Bo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Bo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Bo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Bo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Bo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Bo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Bo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Bo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Bo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Bo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Bo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Bo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Bo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Bo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Bo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Bo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Bo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Bo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Bo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Bo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Bo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Bo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Bo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Bo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Bo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Bo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Bo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Bo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Bo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Bo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Bo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Bo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Bo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Bo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Bo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Bo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Bo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Bo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Bo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Bo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Bo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Bo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Bo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Bo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Bo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Bo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Bo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Bo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Bo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Bo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Bo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Bo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Bo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Bo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Bo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Bo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Bo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Bo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Bo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Bo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Bo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Bo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Bo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Bo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Bo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Bo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Bo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Bo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Bo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Bo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Bo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Bo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Bo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Bo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Bo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Bo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Bo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Bo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Bo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Bo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Bo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Bo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Bo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Bo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Bo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Bo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Bo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Bo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Bo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Bo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Bo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Bo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Bo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Bo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Bo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Bo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Bo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Bo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Bo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Bo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Bo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Bo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Bo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Bo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Bo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Bo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Bo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Bo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Bo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Bo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Bo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Bo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Bo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Bo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Bo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Bo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Bo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Bo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Bo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Bo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Bo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Bo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Bo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Bo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Bo.create("--ft-opacity-0","","NUMBER","0"),opacity8:Bo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Bo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Bo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Bo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Bo.create("--ft-opacity-80","","NUMBER","0.8")},Mo={fontFamily:Bo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Bo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Bo.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Bo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Bo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Bo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Bo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Bo.create("--ft-typography-display-textCase","","UNKNOWN","none")},_o={fontFamily:Bo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Bo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Bo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Bo.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Bo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Bo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Bo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Bo.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Zo={fontFamily:Bo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Bo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Bo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Bo.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Bo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Bo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Bo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Bo.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Do={fontFamily:Bo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Bo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Bo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Bo.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Bo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Bo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Bo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Bo.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},zo={fontFamily:Bo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Bo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Bo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Bo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Bo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Bo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Bo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Bo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Ho={fontFamily:Bo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Bo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Bo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Bo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Bo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Bo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Bo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Bo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},To={fontFamily:Bo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Bo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Bo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Bo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Bo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Bo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Bo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Bo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Go={fontFamily:Bo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Bo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Bo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Bo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Bo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Bo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Bo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Bo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Vo={fontFamily:Bo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Bo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Bo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Bo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Bo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Bo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Bo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Bo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},qo={fontFamily:Bo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Bo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Bo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Bo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Bo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Bo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Bo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Bo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Jo={fontFamily:Bo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Bo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Bo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Bo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Bo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Bo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Bo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Bo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Yo={fontFamily:Bo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Bo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Bo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Bo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Bo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Bo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Bo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Bo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Xo={fontFamily:Bo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Bo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Bo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Bo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Bo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Bo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Bo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Bo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Qo={fontFamily:Bo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Bo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Bo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Bo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Bo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Bo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Bo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Bo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},tr={fontFamily:Bo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Bo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Bo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Bo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Bo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Bo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Bo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Bo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},er={fontFamily:Bo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Bo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Bo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Bo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Bo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Bo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Bo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Bo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},or={fontFamily:Bo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Bo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Bo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Bo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Bo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Bo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Bo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Bo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},rr={fontFamily:Bo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Bo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Bo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Bo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Bo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Bo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Bo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Bo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},ir={fontFamily:Bo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Bo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Bo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Bo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Bo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Bo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Bo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Bo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},nr={fontFamily:Bo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Bo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Bo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Bo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Bo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Bo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Bo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Bo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},ar={fontFamily:Bo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Bo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Bo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Bo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Bo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Bo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Bo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Bo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},sr={fontFamily:Bo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Bo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Bo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Bo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Bo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Bo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Bo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Bo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},cr={display:Mo,"title-1":_o,"title-2":Zo,"title-3":Do,"body-1-regular":zo,"body-1-medium":Ho,"body-1-semibold":To,"body-2-regular":Go,"body-2-medium":Vo,"body-2-semibold":qo,"label-1-medium":Jo,"label-1-semibold":Yo,"label-1-bold":Xo,"label-2-medium":Qo,"label-2-semibold":tr,"label-2-bold":er,"caption-1-medium":or,"caption-1-semibold":rr,"caption-1-bold":ir,"caption-2-medium":nr,"caption-2-semibold":ar,"caption-2-bold":sr},lr={backgroundActionPrimary:Bo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Po.colorBrand0),backgroundErrorPrimary:Bo.extend("--ft-background-error-primary","Used as background of error components.",Po.colorRed0),backgroundErrorSubtle:Bo.extend("--ft-background-error-subtle","Used as background of subtle error components.",Po.colorRed10),backgroundInfoPrimary:Bo.extend("--ft-background-info-primary","Used as background of information components.",Po.colorCyan200),backgroundInfoSubtle:Bo.extend("--ft-background-info-subtle","Used as background of subtle information components.",Po.colorCyan10),backgroundWarningPrimary:Bo.extend("--ft-background-warning-primary","Used as background of warning components.",Po.colorOrange300),backgroundWarningSubtle:Bo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Po.colorOrange10),backgroundSuccessPrimary:Bo.extend("--ft-background-success-primary","Used as background of success components.",Po.colorGreen200),backgroundSuccessSubtle:Bo.extend("--ft-background-success-subtle","Used as background of subtle success components.",Po.colorGreen10),backgroundGlobalSurface:Bo.extend("--ft-background-global-surface","Used as app background.",Po.colorWhite),backgroundGlobalOnSurface:Bo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Po.colorGray10),backgroundGlobalOnSurfaceDark:Bo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Po.colorGray30),contentActionPrimary:Bo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Po.colorBrand0),contentWarningPrimary:Bo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Po.colorOrange300),contentWarningIconOnly:Bo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Po.colorOrange0),contentErrorPrimary:Bo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Po.colorRed0),contentErrorIconOnly:Bo.extend("--ft-content-error-icon-only","Used on error status icons alone",Po.colorRed0),contentInfoPrimary:Bo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Po.colorCyan200),contentInfoIconOnly:Bo.extend("--ft-content-info-icon-only","Used on info status icons alone",Po.colorCyan0),contentSuccessIconOnly:Bo.extend("--ft-content-success-icon-only","Used on success status icons alone",Po.colorGreen0),contentSuccessPrimary:Bo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Po.colorGreen200),contentGlobalPrimary:Bo.extend("--ft-content-global-primary","Used for main content on the page.",Po.colorGray500),contentGlobalSecondary:Bo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Po.colorGray200),contentGlobalSubtle:Bo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Po.colorGray0),contentGlobalOnColor:Bo.extend("--ft-content-global-on-color","Used for content on a dominant color.",Po.colorWhite),borderActionPrimary:Bo.extend("--ft-border-action-primary","Used as border for primary action components.",Po.colorBrand0),borderActionFocusRing:Bo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Po.colorCyan0),borderWarningPrimary:Bo.extend("--ft-border-warning-primary","Used as border for warning components.",Po.colorOrange30),borderSuccessPrimary:Bo.extend("--ft-border-success-primary","Used as border for success components.",Po.colorGreen30),borderErrorPrimary:Bo.extend("--ft-border-error-primary","Used as border for error components.",Po.colorRed30),borderInfoPrimary:Bo.extend("--ft-border-info-primary","Used as border for information components.",Po.colorCyan30),borderGlobalSubtle:Bo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Po.colorGray30),borderGlobalPrimary:Bo.extend("--ft-border-global-primary","Used as border for element like input.",Po.colorGray50),borderInputPrimary:Bo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Po.colorGray80)},fr={largeHeight:Bo.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Bo.extend("--ft-button-large-horizontal-padding","",Po.spacing4),largeGap:Bo.extend("--ft-button-large-gap","",Po.spacing2),largeBorderRadius:Bo.extend("--ft-button-large-border-radius","",Po.borderRadiusS),largeIconSize:Bo.extend("--ft-button-large-icon-size","",Po.iconSize3),largeBorderWidth:Bo.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Bo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Bo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Bo.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Bo.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Bo.extend("--ft-button-small-horizontal-padding","",Po.spacing3),smallGap:Bo.extend("--ft-button-small-gap","",Po.spacing2),smallBorderRadius:Bo.extend("--ft-button-small-border-radius","",Po.borderRadiusS),smallIconSize:Bo.extend("--ft-button-small-icon-size","",Po.iconSize2),smallBorderWidth:Bo.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Bo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Bo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Bo.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Bo.extend("--ft-button-primary-background-color","",lr.backgroundActionPrimary),primaryColor:Bo.extend("--ft-button-primary-color","",lr.contentGlobalOnColor),primaryIconColor:Bo.extend("--ft-button-primary-icon-color","",lr.contentGlobalOnColor),primaryStateLayerColor:Bo.extend("--ft-button-primary-state-layer-color","",lr.contentGlobalOnColor),primaryStateLayerOpacityHover:Bo.extend("--ft-button-primary-state-layer-opacity-hover","",Po.opacity16),primaryStateLayerOpacityFocus:Bo.extend("--ft-button-primary-state-layer-opacity-focus","",Po.opacity16),primaryStateLayerOpacityActive:Bo.extend("--ft-button-primary-state-layer-opacity-active","",Po.opacity24),primaryComponentOpacityDisabled:Bo.extend("--ft-button-primary-component-opacity-disabled","",Po.opacity40),focusFocusRingColor:Bo.extend("--ft-button-focus-focus-ring-color","",lr.borderActionFocusRing),tertiaryBackgroundColor:Bo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Bo.extend("--ft-button-tertiary-color","",lr.contentActionPrimary),tertiaryIconColor:Bo.extend("--ft-button-tertiary-icon-color","",lr.contentActionPrimary),tertiaryStateLayerColor:Bo.extend("--ft-button-tertiary-state-layer-color","",lr.contentActionPrimary),tertiaryStateLayerOpacityHover:Bo.extend("--ft-button-tertiary-state-layer-opacity-hover","",Po.opacity8),tertiaryStateLayerOpacityFocus:Bo.extend("--ft-button-tertiary-state-layer-opacity-focus","",Po.opacity8),tertiaryStateLayerOpacityActive:Bo.extend("--ft-button-tertiary-state-layer-opacity-active","",Po.opacity16),tertiaryComponentOpacityDisabled:Bo.extend("--ft-button-tertiary-component-opacity-disabled","",Po.opacity40),secondaryBackgroundColor:Bo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Bo.extend("--ft-button-secondary-color","",lr.contentActionPrimary),secondaryIconColor:Bo.extend("--ft-button-secondary-icon-color","",lr.contentActionPrimary),secondaryStateLayerColor:Bo.extend("--ft-button-secondary-state-layer-color","",lr.contentActionPrimary),secondaryStateLayerOpacityHover:Bo.extend("--ft-button-secondary-state-layer-opacity-hover","",Po.opacity8),secondaryStateLayerOpacityFocus:Bo.extend("--ft-button-secondary-state-layer-opacity-focus","",Po.opacity8),secondaryStateLayerOpacityActive:Bo.extend("--ft-button-secondary-state-layer-opacity-active","",Po.opacity16),secondaryComponentOpacityDisabled:Bo.extend("--ft-button-secondary-component-opacity-disabled","",Po.opacity40),secondaryBorderColor:Bo.extend("--ft-button-secondary-border-color","",lr.borderActionPrimary),neutralBackgroundColor:Bo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Bo.extend("--ft-button-neutral-icon-color","",lr.contentGlobalSecondary),neutralColor:Bo.extend("--ft-button-neutral-color","",lr.contentGlobalSecondary),neutralStateLayerColor:Bo.extend("--ft-button-neutral-state-layer-color","",lr.contentGlobalSecondary),neutralStateLayerOpacityHover:Bo.extend("--ft-button-neutral-state-layer-opacity-hover","",Po.opacity8),neutralStateLayerOpacityFocus:Bo.extend("--ft-button-neutral-state-layer-opacity-focus","",Po.opacity8),neutralStateLayerOpacityActive:Bo.extend("--ft-button-neutral-state-layer-opacity-active","",Po.opacity16),neutralComponentOpacityDisabled:Bo.extend("--ft-button-neutral-component-opacity-disabled","",Po.opacity40)},hr={topLeftBorderRadius:Bo.extend("--ft-tabs-top-left-border-radius","",Po.borderRadiusS),topRightBorderRadius:Bo.extend("--ft-tabs-top-right-border-radius","",Po.borderRadiusS),labelHorizontalPadding:Bo.extend("--ft-tabs-label-horizontal-padding","",Po.spacing4),labelVerticalPadding:Bo.extend("--ft-tabs-label-vertical-padding","",Po.spacing3),labelGap:Bo.extend("--ft-tabs-label-gap","",Po.spacing1)},ur={groupHorizontalPadding:Bo.extend("--ft-switch-group-horizontal-padding","",Po.spacing1),groupVerticalPadding:Bo.extend("--ft-switch-group-vertical-padding","",Po.spacing1),groupGap:Bo.extend("--ft-switch-group-gap","",Po.spacing1),groupBackgroundColor:Bo.extend("--ft-switch-group-background-color","",lr.backgroundGlobalSurface),groupBorderColor:Bo.extend("--ft-switch-group-border-color","",lr.borderGlobalSubtle),groupBorderRadius:Bo.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:Bo.extend("--ft-switch-label-horizontal-padding","",Po.spacing2),labelVerticalPadding:Bo.extend("--ft-switch-label-vertical-padding","",Po.spacing1),iconHorizontalPadding:Bo.extend("--ft-switch-icon-horizontal-padding","",Po.spacing1),iconVerticalPadding:Bo.extend("--ft-switch-icon-vertical-padding","",Po.spacing1),focusOutlineWidth:Bo.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:Bo.extend("--ft-switch-focus-focus-ring-color","",lr.borderActionFocusRing),optionBorderRadius:Bo.extend("--ft-switch-option-border-radius","",Po.borderRadiusS),offStateLayerOpacityHover:Bo.extend("--ft-switch-off-state-layer-opacity-hover","",Po.opacity8),offStateLayerOpacityFocus:Bo.extend("--ft-switch-off-state-layer-opacity-focus","",Po.opacity8),offStateLayerOpacityActive:Bo.extend("--ft-switch-off-state-layer-opacity-active","",Po.opacity16),offComponentOpacityDisabled:Bo.extend("--ft-switch-off-component-opacity-disabled","",Po.opacity40),offColor:Bo.extend("--ft-switch-off-color","",lr.contentGlobalSubtle),offStateLayerColor:Bo.extend("--ft-switch-off-state-layer-color","",lr.contentGlobalSubtle)},dr={color1Light:Bo.extend("--ft-chart-1-light","for area color charts",Po.colorBrand40),color1Base:Bo.extend("--ft-chart-1-base","for line charts",Po.colorBrand0),color2Light:Bo.extend("--ft-chart-2-light","for area color charts",Po.colorYellow60),color2Base:Bo.extend("--ft-chart-2-base","for line charts",Po.colorYellow100),color3Light:Bo.extend("--ft-chart-3-light","",Po.colorUltramarine40),color3Base:Bo.extend("--ft-chart-3-base","",Po.colorUltramarine70),color4Light:Bo.extend("--ft-chart-4-light","",Po.colorCyan50),color4Base:Bo.extend("--ft-chart-4-base","",Po.colorCyan100),color5Light:Bo.extend("--ft-chart-5-light","",Po.colorRed40),color5Base:Bo.extend("--ft-chart-5-base","",Po.colorRed60),color6Light:Bo.extend("--ft-chart-6-light","",Po.colorGreen40),color6Base:Bo.extend("--ft-chart-6-base","",Po.colorGreen70),color7Light:Bo.extend("--ft-chart-7-light","",Po.colorOrange70),color7Base:Bo.extend("--ft-chart-7-base","",Po.colorOrange100),color8Light:Bo.extend("--ft-chart-8-light","",Po.colorAvocado70),color8Base:Bo.extend("--ft-chart-8-base","",Po.colorAvocado200),color9Light:Bo.extend("--ft-chart-9-light","",Po.colorBrown50),color9Base:Bo.extend("--ft-chart-9-base","",Po.colorBrown200),color10Light:Bo.extend("--ft-chart-10-light","",Po.colorGray50),color10Base:Bo.extend("--ft-chart-10-base","",Po.colorGray80),monochrome10:Bo.extend("--ft-chart-monochrome-10","",Po.colorBrand10),monochrome20:Bo.extend("--ft-chart-monochrome-20","",Po.colorBrand20),monochrome30:Bo.extend("--ft-chart-monochrome-30","",Po.colorBrand40),monochrome40:Bo.extend("--ft-chart-monochrome-40","",Po.colorBrand60),monochrome50:Bo.extend("--ft-chart-monochrome-50","",Po.colorBrand0),monochrome60:Bo.extend("--ft-chart-monochrome-60","",Po.colorBrand200)},pr={largeHorizontalPadding:Bo.extend("--ft-chip-large-horizontal-padding","",Po.spacing4),largeVerticalPadding:Bo.extend("--ft-chip-large-vertical-padding","",Po.spacing2),largeGap:Bo.extend("--ft-chip-large-gap","",Po.spacing1),largeFocusOutlineOffset:Bo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Bo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:Bo.extend("--ft-chip-large-border-radius","",Po.borderRadiusPill),largeBorderWidth:Bo.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:Bo.extend("--ft-chip-large-icon-size","",Po.iconSize3),mediumHorizontalPadding:Bo.extend("--ft-chip-medium-horizontal-padding","",Po.spacing3),mediumVerticalPadding:Bo.extend("--ft-chip-medium-vertical-padding","",Po.spacing1),mediumGap:Bo.extend("--ft-chip-medium-gap","",Po.spacing1),mediumFocusOutlineOffset:Bo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:Bo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:Bo.extend("--ft-chip-medium-border-radius","",Po.borderRadiusPill),mediumBorderWidth:Bo.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:Bo.extend("--ft-chip-medium-icon-size","",Po.iconSize2),smallHorizontalPadding:Bo.extend("--ft-chip-small-horizontal-padding","",Po.spacing2),smallVerticalPadding:Bo.extend("--ft-chip-small-vertical-padding","",Po.spacing05),smallGap:Bo.extend("--ft-chip-small-gap","",Po.spacing1),smallFocusOutlineOffset:Bo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Bo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:Bo.extend("--ft-chip-small-border-radius","",Po.borderRadiusPill),smallBorderWidth:Bo.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:Bo.extend("--ft-chip-small-icon-size","",Po.iconSize1),neutralBackgroundColor:Bo.extend("--ft-chip-neutral-background-color","",lr.backgroundGlobalOnSurface),neutralColor:Bo.extend("--ft-chip-neutral-color","",lr.contentGlobalPrimary),neutralBorderColor:Bo.extend("--ft-chip-neutral-border-color","",lr.borderGlobalSubtle),infoBackgroundColor:Bo.extend("--ft-chip-info-background-color","",lr.backgroundInfoSubtle),infoColor:Bo.extend("--ft-chip-info-color","",lr.contentInfoPrimary),infoBorderColor:Bo.extend("--ft-chip-info-border-color","",lr.borderInfoPrimary),successBackgroundColor:Bo.extend("--ft-chip-success-background-color","",lr.backgroundSuccessSubtle),successColor:Bo.extend("--ft-chip-success-color","",lr.contentSuccessPrimary),successBorderColor:Bo.extend("--ft-chip-success-border-color","",lr.borderSuccessPrimary),warningBackgroundColor:Bo.extend("--ft-chip-warning-background-color","",lr.backgroundWarningSubtle),warningColor:Bo.extend("--ft-chip-warning-color","",lr.contentWarningPrimary),warningBorderColor:Bo.extend("--ft-chip-warning-border-color","",lr.borderWarningPrimary),errorBackgroundColor:Bo.extend("--ft-chip-error-background-color","",lr.backgroundErrorSubtle),errorColor:Bo.extend("--ft-chip-error-color","",lr.contentErrorPrimary),errorBorderColor:Bo.extend("--ft-chip-error-border-color","",lr.borderErrorPrimary)},yr={borderWidth:Bo.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:Bo.extend("--ft-notice-horizontal-padding","",Po.spacing2),verticalPadding:Bo.extend("--ft-notice-vertical-padding","",Po.spacing1),borderRadius:Bo.extend("--ft-notice-border-radius","",Po.borderRadiusS),gap:Bo.extend("--ft-notice-gap","",Po.spacing2),iconSize:Bo.extend("--ft-notice-icon-size","",Po.iconSize3),infoBackgroundColor:Bo.extend("--ft-notice-info-background-color","",lr.backgroundInfoSubtle),infoBorderColor:Bo.extend("--ft-notice-info-border-color","",lr.borderInfoPrimary),infoColor:Bo.extend("--ft-notice-info-color","",lr.contentInfoPrimary),warningBackgroundColor:Bo.extend("--ft-notice-warning-background-color","",lr.backgroundWarningSubtle),warningBorderColor:Bo.extend("--ft-notice-warning-border-color","",lr.borderWarningPrimary),warningColor:Bo.extend("--ft-notice-warning-color","",lr.contentWarningPrimary)},gr={labelColor:Bo.extend("--ft-checkbox-label-color","",lr.contentGlobalPrimary),checkedBackgroundColor:Bo.extend("--ft-checkbox-checked-background-color","",lr.contentActionPrimary),checkedStateLayerColor:Bo.extend("--ft-checkbox-checked-state-layer-color","",lr.contentActionPrimary),checkedColor:Bo.extend("--ft-checkbox-checked-color","",lr.contentGlobalOnColor),checkedStateLayerOpacityHover:Bo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Po.opacity16),checkedStateLayerOpacityFocus:Bo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Po.opacity16),checkedStateLayerOpacityActive:Bo.extend("--ft-checkbox-checked-state-layer-opacity-active","",Po.opacity24),checkedComponentOpacityDisabled:Bo.extend("--ft-checkbox-checked-component-opacity-disabled","",Po.opacity40),uncheckedBorderColor:Bo.extend("--ft-checkbox-unchecked-border-color","",Po.colorGray80),uncheckedStateLayerColor:Bo.extend("--ft-checkbox-unchecked-state-layer-color","",Po.colorGray80),uncheckedStateLayerOpacityHover:Bo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Po.opacity16),uncheckedStateLayerOpacityFocus:Bo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Po.opacity16),uncheckedStateLayerOpacityActive:Bo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Po.opacity24),uncheckedComponentOpacityDisabled:Bo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Po.opacity40),focusFocusRingColor:Bo.extend("--ft-checkbox-focus-focus-ring-color","",lr.borderActionFocusRing),focusOutlineOffset:Bo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:Bo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:Bo.extend("--ft-checkbox-gap","",Po.spacing3)},br={offStateLayerOpacityHover:Bo.extend("--ft-toggle-off-state-layer-opacity-hover","",Po.opacity16),offStateLayerOpacityFocus:Bo.extend("--ft-toggle-off-state-layer-opacity-focus","",Po.opacity16),offStateLayerOpacityActive:Bo.extend("--ft-toggle-off-state-layer-opacity-active","",Po.opacity24),offComponentOpacityDisabled:Bo.extend("--ft-toggle-off-component-opacity-disabled","",Po.opacity40),offBackgroundColor:Bo.extend("--ft-toggle-off-background-color","",lr.contentGlobalSubtle),offIconColor:Bo.extend("--ft-toggle-off-icon-color","",lr.contentGlobalSubtle),offStateLayerColor:Bo.extend("--ft-toggle-off-state-layer-color","",lr.contentGlobalSubtle),onStateLayerOpacityHover:Bo.extend("--ft-toggle-on-state-layer-opacity-hover","",Po.opacity16),onStateLayerOpacityFocus:Bo.extend("--ft-toggle-on-state-layer-opacity-focus","",Po.opacity16),onStateLayerOpacityActive:Bo.extend("--ft-toggle-on-state-layer-opacity-active","",Po.opacity24),onComponentOpacityDisabled:Bo.extend("--ft-toggle-on-component-opacity-disabled","",Po.opacity40),onBackgroundColor:Bo.extend("--ft-toggle-on-background-color","",lr.contentActionPrimary),onIconColor:Bo.extend("--ft-toggle-on-icon-color","",lr.contentActionPrimary),onStateLayerColor:Bo.extend("--ft-toggle-on-state-layer-color","",lr.contentActionPrimary),labelColor:Bo.extend("--ft-toggle-label-color","",lr.contentGlobalPrimary),focusFocusRingColor:Bo.extend("--ft-toggle-focus-focus-ring-color","",lr.borderActionFocusRing),gap:Bo.extend("--ft-toggle-gap","",Po.spacing3)},mr={labelColor:Bo.extend("--ft-radio-label-color","",lr.contentGlobalPrimary),selectedColor:Bo.extend("--ft-radio-selected-color","",lr.contentActionPrimary),selectedStateLayerColor:Bo.extend("--ft-radio-selected-state-layer-color","",lr.contentActionPrimary),selectedStateLayerOpacityHover:Bo.extend("--ft-radio-selected-state-layer-opacity-hover","",Po.opacity16),selectedStateLayerOpacityFocus:Bo.extend("--ft-radio-selected-state-layer-opacity-focus","",Po.opacity16),selectedStateLayerOpacityActive:Bo.extend("--ft-radio-selected-state-layer-opacity-active","",Po.opacity24),selectedComponentOpacityDisabled:Bo.extend("--ft-radio-selected-component-opacity-disabled","",Po.opacity40),unselectedStateLayerColor:Bo.extend("--ft-radio-unselected-state-layer-color","",Po.colorGray80),unselectedStateLayerOpacityHover:Bo.extend("--ft-radio-unselected-state-layer-opacity-hover","",Po.opacity16),unselectedStateLayerOpacityFocus:Bo.extend("--ft-radio-unselected-state-layer-opacity-focus","",Po.opacity16),unselectedStateLayerOpacityActive:Bo.extend("--ft-radio-unselected-state-layer-opacity-active","",Po.opacity24),unselectedComponentOpacityDisabled:Bo.extend("--ft-radio-unselected-component-opacity-disabled","",Po.opacity40),focusFocusRingColor:Bo.extend("--ft-radio-focus-focus-ring-color","",lr.borderActionFocusRing),focusOutlineOffset:Bo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:Bo.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:Bo.extend("--ft-radio-gap","",Po.spacing3)},Or={iconSize:Bo.extend("--ft-notification-icon-size","",Po.iconSize4),horizontalPadding:Bo.extend("--ft-notification-horizontal-padding","",Po.spacing4),verticalPadding:Bo.extend("--ft-notification-vertical-padding","",Po.spacing4),infoBackgroundColor:Bo.extend("--ft-notification-info-background-color","",lr.backgroundInfoSubtle),infoColor:Bo.extend("--ft-notification-info-color","",lr.contentInfoPrimary),infoBorderColor:Bo.extend("--ft-notification-info-border-color","",lr.borderInfoPrimary),successBackgroundColor:Bo.extend("--ft-notification-success-background-color","",lr.backgroundSuccessSubtle),successColor:Bo.extend("--ft-notification-success-color","",lr.contentSuccessPrimary),successBorderColor:Bo.extend("--ft-notification-success-border-color","",lr.borderSuccessPrimary),warningBackgroundColor:Bo.extend("--ft-notification-warning-background-color","",lr.backgroundWarningSubtle),warningColor:Bo.extend("--ft-notification-warning-color","",lr.contentWarningPrimary),warningBorderColor:Bo.extend("--ft-notification-warning-border-color","",lr.borderWarningPrimary),errorBackgroundColor:Bo.extend("--ft-notification-error-background-color","",lr.backgroundErrorSubtle),errorColor:Bo.extend("--ft-notification-error-color","",lr.contentErrorPrimary),errorBorderColor:Bo.extend("--ft-notification-error-border-color","",lr.borderErrorPrimary),borderRadius:Bo.extend("--ft-notification-border-radius","",Po.borderRadiusPill),borderWidth:Bo.create("--ft-notification-border-width","","SIZE","1px"),gapLeading:Bo.extend("--ft-notification-gap-leading","",Po.spacing2),gapTrailing:Bo.extend("--ft-notification-gap-trailing","",Po.spacing8)},vr={colorPrimary:Bo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Bo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Bo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Bo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Bo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Bo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Bo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Bo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Bo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Bo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Bo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Bo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Bo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Bo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Bo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Bo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Bo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Bo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Bo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Bo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Bo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Bo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Bo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Bo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Bo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Bo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Bo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Bo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Bo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Bo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Bo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Bo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Bo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Bo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Bo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Bo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Bo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Bo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Bo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Bo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Bo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Bo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Bo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Bo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Bo.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:Bo.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:Bo.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:Bo.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:Bo.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:Bo.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:Bo.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:Bo.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:Bo.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:Bo.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:Bo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Bo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Bo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Bo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Bo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Bo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Bo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Bo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};class Sr extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class Nr extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class wr extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}
149
149
  /**
150
150
  * @license
151
151
  * Copyright 2019 Google LLC
152
152
  * SPDX-License-Identifier: BSD-3-Clause
153
- */const Cr=window,xr=Cr.ShadowRoot&&(void 0===Cr.ShadyCSS||Cr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Er extends bo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{xr?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=Cr.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Rr,Lr=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,c=t.length-1;c>=0;c--)(n=t[c])&&(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 Ur=Symbol("constructorPrototype"),Ir=Symbol("constructorName"),Wr=Symbol("exportpartsDebouncer");class kr extends Er{constructor(){super(),this[Rr]=new Ae(5),this[Ir]=this.constructor.name,this[Ur]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ir]&&Object.setPrototypeOf(this,this[Ur])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Wr].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,n,i,a;const c=t=>null!=t&&t.trim().length>0,s=t.filter(c).map((t=>t.trim()));if(0===s.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(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(c).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const f=[...l.values()].flatMap((t=>s.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Rr=Wr,Lr([No()],kr.prototype,"exportpartsPrefix",void 0),Lr([$e([])],kr.prototype,"exportpartsPrefixes",void 0),Lr([No()],kr.prototype,"customStylesheet",void 0);const Ar=ut`
153
+ */const Cr=window,xr=Cr.ShadowRoot&&(void 0===Cr.ShadyCSS||Cr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Er extends ge{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{xr?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),r=Cr.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Rr,Lr=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Ir=Symbol("constructorPrototype"),Ur=Symbol("constructorName"),Wr=Symbol("exportpartsDebouncer");class kr extends Er{constructor(){super(),this[Rr]=new Ao(5),this[Ur]=this.constructor.name,this[Ir]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ur]&&Object.setPrototypeOf(this,this[Ir])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Wr].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,r,i,n,a;const s=t=>null!=t&&t.trim().length>0,c=t.filter(s).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const f=[...l.values()].flatMap((t=>c.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Rr=Wr,Lr([Se()],kr.prototype,"exportpartsPrefix",void 0),Lr([Ko([])],kr.prototype,"exportpartsPrefixes",void 0),Lr([Se()],kr.prototype,"customStylesheet",void 0);class Ar{constructor(t,e=!0,o=[],r=5e3){this.ctx=t,this.iframes=e,this.exclude=o,this.iframesTimeout=r}static matches(t,e){const o="string"==typeof e?[e]:e,r=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(r){let e=!1;return o.every((o=>!r.call(t,o)||(e=!0,!1))),e}return!1}getContexts(){let t,e=[];return t=void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[],t.forEach((t=>{const o=e.filter((e=>e.contains(t))).length>0;-1!==e.indexOf(t)||o||e.push(t)})),e}getIframeContents(t,e,o=(()=>{})){let r;try{const e=t.contentWindow;if(r=e.document,!e||!r)throw new Error("iframe inaccessible")}catch(t){o()}r&&e(r)}isIframeBlank(t){const e="about:blank",o=t.getAttribute("src").trim();return t.contentWindow.location.href===e&&o!==e&&o}observeIframeLoad(t,e,o){let r=!1,i=null;const n=()=>{if(!r){r=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",n),this.getIframeContents(t,e,o))}catch(t){o()}}};t.addEventListener("load",n),i=setTimeout(n,this.iframesTimeout)}onIframeReady(t,e,o){try{"complete"===t.contentWindow.document.readyState?this.isIframeBlank(t)?this.observeIframeLoad(t,e,o):this.getIframeContents(t,e,o):this.observeIframeLoad(t,e,o)}catch(t){o()}}waitForIframes(t,e){let o=0;this.forEachIframe(t,(()=>!0),(t=>{o++,this.waitForIframes(t.querySelector("html"),(()=>{--o||e()}))}),(t=>{t||e()}))}forEachIframe(t,e,o,r=(()=>{})){let i=t.querySelectorAll("iframe"),n=i.length,a=0;i=Array.prototype.slice.call(i);const s=()=>{--n<=0&&r(a)};n||s(),i.forEach((t=>{Ar.matches(t,this.exclude)?s():this.onIframeReady(t,(r=>{e(t)&&(a++,o(r)),s()}),s)}))}createIterator(t,e,o){return document.createNodeIterator(t,e,o,!1)}createInstanceOnIframe(t){return new Ar(t.querySelector("html"),this.iframes)}compareNodeIframe(t,e,o){if(t.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_PRECEDING){if(null===e)return!0;if(e.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}getIteratorNode(t){const e=t.previousNode();let o;return o=(null===e||t.nextNode())&&t.nextNode(),{prevNode:e,node:o}}checkIframeFilter(t,e,o,r){let i=!1,n=!1;return r.forEach(((t,e)=>{t.val===o&&(i=e,n=t.handled)})),this.compareNodeIframe(t,e,o)?(!1!==i||n?!1===i||n||(r[i].handled=!0):r.push({val:o,handled:!0}),!0):(!1===i&&r.push({val:o,handled:!1}),!1)}handleOpenIframes(t,e,o,r){t.forEach((t=>{t.handled||this.getIframeContents(t.val,(t=>{this.createInstanceOnIframe(t).forEachNode(e,o,r)}))}))}iterateThroughNodes(t,e,o,r,i){const n=this.createIterator(e,t,r);let a,s,c=[],l=[],f=()=>(({prevNode:s,node:a}=this.getIteratorNode(n)),a);for(;f();)this.iframes&&this.forEachIframe(e,(t=>this.checkIframeFilter(a,s,t,c)),(e=>{this.createInstanceOnIframe(e).forEachNode(t,(t=>l.push(t)),r)})),l.push(a);l.forEach((t=>{o(t)})),this.iframes&&this.handleOpenIframes(c,t,o,r),i()}forEachNode(t,e,o,r=(()=>{})){const i=this.getContexts();let n=i.length;n||r(),i.forEach((i=>{const a=()=>{this.iterateThroughNodes(t,i,e,o,(()=>{--n<=0&&r()}))};this.iframes?this.waitForIframes(i,a):a()}))}}const $r=function(t){const e=new class{constructor(t){this.ctx=t,this.ie=!1;const e=window.navigator.userAgent;(e.indexOf("MSIE")>-1||e.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new Ar(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,e="debug"){const o=this.opt.log;this.opt.debug&&"object"==typeof o&&"function"==typeof o[e]&&o[e](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return"disabled"!==this.opt.wildcards&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),"disabled"!==this.opt.wildcards&&(t=this.createWildcardsRegExp(t)),this.createAccuracyRegExp(t)}createSynonymsRegExp(t){const e=this.opt.synonyms,o=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in e)if(e.hasOwnProperty(i)){const n=e[i],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i),s="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(n):this.escapeStr(n);""!==a&&""!==s&&(t=t.replace(new RegExp(`(${this.escapeStr(a)}|${this.escapeStr(s)})`,`gm${o}`),r+`(${this.processSynomyms(a)}|`+`${this.processSynomyms(s)})`+r))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return(t=t.replace(/(?:\\)*\?/g,(t=>"\\"===t.charAt(0)?"?":""))).replace(/(?:\\)*\*/g,(t=>"\\"===t.charAt(0)?"*":""))}createWildcardsRegExp(t){let e="withSpaces"===this.opt.wildcards;return t.replace(/\u0001/g,e?"[\\S\\s]?":"\\S?").replace(/\u0002/g,e?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,((t,e,o)=>{let r=o.charAt(e+1);return/[(|)\\]/.test(r)||""===r?t:t+"\0"}))}createJoinersRegExp(t){let e=[];const o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&e.push(this.escapeStr(o.join(""))),this.opt.ignoreJoiners&&e.push("\\u00ad\\u200b\\u200c\\u200d"),e.length?t.split(/\u0000+/).join(`[${e.join("")}]*`):t}createDiacriticsRegExp(t){const e=this.opt.caseSensitive?"":"i",o=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let r=[];return t.split("").forEach((i=>{o.every((o=>{if(-1!==o.indexOf(i)){if(r.indexOf(o)>-1)return!1;t=t.replace(new RegExp(`[${o}]`,`gm${e}`),`[${o}]`),r.push(o)}return!0}))})),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gim,"[\\s]+")}createAccuracyRegExp(t){let e=this.opt.accuracy,o="string"==typeof e?e:e.value,r="string"==typeof e?[]:e.limiters,i="";switch(r.forEach((t=>{i+=`|${this.escapeStr(t)}`})),o){case"partially":default:return`()(${t})`;case"complementary":return i="\\s"+(i||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿")),`()([^${i}]*${t}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${t})(?=$|\\s${i})`}}getSeparatedKeywords(t){let e=[];return t.forEach((t=>{this.opt.separateWordSearch?t.split(" ").forEach((t=>{t.trim()&&-1===e.indexOf(t)&&e.push(t)})):t.trim()&&-1===e.indexOf(t)&&e.push(t)})),{keywords:e.sort(((t,e)=>e.length-t.length)),length:e.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||"[object Object]"!==Object.prototype.toString.call(t[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];const e=[];let o=0;return t.sort(((t,e)=>t.start-e.start)).forEach((t=>{let{start:r,end:i,valid:n}=this.callNoMatchOnInvalidRanges(t,o);n&&(t.start=r,t.length=i-r,e.push(t),o=i)})),e}callNoMatchOnInvalidRanges(t,e){let o,r,i=!1;return t&&void 0!==t.start?(o=parseInt(t.start,10),r=o+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&r-e>0&&r-o>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:o,end:r,valid:i}}checkWhitespaceRanges(t,e,o){let r,i=!0,n=o.length,a=e-n,s=parseInt(t.start,10)-a;return s=s>n?n:s,r=s+parseInt(t.length,10),r>n&&(r=n,this.log(`End range automatically set to the max value of ${n}`)),s<0||r-s<0||s>n||r>n?(i=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===o.substring(s,r).replace(/\s+/g,"")&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:s,end:r,valid:i}}getTextNodes(t){let e="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(t=>{o.push({start:e.length,end:(e+=t.textContent).length,node:t})}),(t=>this.matchesExclude(t.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT),(()=>{t({value:e,nodes:o})}))}matchesExclude(t){return Ar.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,e,o){const r=this.opt.element?this.opt.element:"mark",i=t.splitText(e),n=i.splitText(o-e);let a=document.createElement(r);return a.setAttribute("data-markjs","true"),this.opt.className&&a.setAttribute("class",this.opt.className),a.textContent=i.textContent,i.parentNode.replaceChild(a,i),n}wrapRangeInMappedTextNode(t,e,o,r,i){t.nodes.every(((n,a)=>{const s=t.nodes[a+1];if(void 0===s||s.start>e){if(!r(n.node))return!1;const s=e-n.start,c=(o>n.end?n.end:o)-n.start,l=t.value.substr(0,n.start),f=t.value.substr(c+n.start);if(n.node=this.wrapRangeInTextNode(n.node,s,c),t.value=l+f,t.nodes.forEach(((e,o)=>{o>=a&&(t.nodes[o].start>0&&o!==a&&(t.nodes[o].start-=c),t.nodes[o].end-=c)})),o-=c,i(n.node.previousSibling,n.start),!(o>n.end))return!1;e=n.end}return!0}))}wrapMatches(t,e,o,r,i){const n=0===e?0:e+1;this.getTextNodes((e=>{e.nodes.forEach((e=>{let i;for(e=e.node;null!==(i=t.exec(e.textContent))&&""!==i[n];){if(!o(i[n],e))continue;let a=i.index;if(0!==n)for(let t=1;t<n;t++)a+=i[t].length;e=this.wrapRangeInTextNode(e,a,a+i[n].length),r(e.previousSibling),t.lastIndex=0}})),i()}))}wrapMatchesAcrossElements(t,e,o,r,i){const n=0===e?0:e+1;this.getTextNodes((e=>{let a;for(;null!==(a=t.exec(e.value))&&""!==a[n];){let i=a.index;if(0!==n)for(let t=1;t<n;t++)i+=a[t].length;const s=i+a[n].length;this.wrapRangeInMappedTextNode(e,i,s,(t=>o(a[n],t)),((e,o)=>{t.lastIndex=o,r(e)}))}i()}))}wrapRangeFromIndex(t,e,o,r){this.getTextNodes((i=>{const n=i.value.length;t.forEach(((t,r)=>{let{start:a,end:s,valid:c}=this.checkWhitespaceRanges(t,n,i.value);c&&this.wrapRangeInMappedTextNode(i,a,s,(o=>e(o,t,i.value.substring(a,s),r)),(e=>{o(e,t)}))})),r()}))}unwrapMatches(t){const e=t.parentNode;let o=document.createDocumentFragment();for(;t.firstChild;)o.appendChild(t.removeChild(t.firstChild));e.replaceChild(o,t),this.ie?this.normalizeTextNode(e):e.normalize()}normalizeTextNode(t){if(t){if(3===t.nodeType)for(;t.nextSibling&&3===t.nextSibling.nodeType;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,e){this.opt=e,this.log(`Searching with expression "${t}"`);let o=0,r="wrapMatches";this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),this[r](t,this.opt.ignoreGroups,((t,e)=>this.opt.filter(e,t,o)),(t=>{o++,this.opt.each(t)}),(()=>{0===o&&this.opt.noMatch(t),this.opt.done(o)}))}mark(t,e){this.opt=e;let o=0,r="wrapMatches";const{keywords:i,length:n}=this.getSeparatedKeywords("string"==typeof t?[t]:t),a=this.opt.caseSensitive?"":"i",s=t=>{let e=new RegExp(this.createRegExp(t),`gm${a}`),c=0;this.log(`Searching with expression "${e}"`),this[r](e,1,((e,r)=>this.opt.filter(r,t,o,c)),(t=>{c++,o++,this.opt.each(t)}),(()=>{0===c&&this.opt.noMatch(t),i[n-1]===t?this.opt.done(o):s(i[i.indexOf(t)+1])}))};this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),0===n?this.opt.done(o):s(i[0])}markRanges(t,e){this.opt=e;let o=0,r=this.checkRanges(t);r&&r.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(r)),this.wrapRangeFromIndex(r,((t,e,o,r)=>this.opt.filter(t,e,o,r)),((t,e)=>{o++,this.opt.each(t,e)}),(()=>{this.opt.done(o)}))):this.opt.done(o)}unmark(t){this.opt=t;let e=this.opt.element?this.opt.element:"*";e+="[data-markjs]",this.opt.className&&(e+=`.${this.opt.className}`),this.log(`Removal selector "${e}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,(t=>{this.unwrapMatches(t)}),(t=>{const o=Ar.matches(t,e),r=this.matchesExclude(t);return!o||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}}(t);return this.mark=(t,o)=>(e.mark(t,o),this),this.markRegExp=(t,o)=>(e.markRegExp(t,o),this),this.markRanges=(t,o)=>(e.markRanges(t,o),this),this.unmark=t=>(e.unmark(t),this),this},Fr=Bo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Kr=ht`
154
+ .highlight-html-match {
155
+ background: ${Fr};
156
+ }
157
+ `,jr={className:"highlight-html-match"};const Br=ht`
154
158
  .ft-no-text-select {
155
159
  -webkit-touch-callout: none;
156
160
  -webkit-user-select: none;
@@ -159,7 +163,7 @@ const xe=2;let Ee=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,
159
163
  -ms-user-select: none;
160
164
  user-select: none;
161
165
  }
162
- `,Fr=ut`
166
+ `,Pr=ht`
163
167
  .ft-word-wrap {
164
168
  white-space: normal;
165
169
  word-wrap: break-word;
@@ -171,7 +175,7 @@ const xe=2;let Ee=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,
171
175
  -webkit-hyphens: auto;
172
176
  hyphens: auto
173
177
  }
174
- `,Kr=ut`
178
+ `,Mr=ht`
175
179
  .ft-safari-ellipsis-fix {
176
180
  margin-right: 0;
177
181
 
@@ -182,4 +186,4 @@ const xe=2;let Ee=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,
182
186
  display: inline-block;
183
187
  width: 0;
184
188
  }
185
- `;function $r(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var Br,jr,Pr;const _r=Symbol("internalReduxEventsUnsubscribers"),Zr=Symbol("internalStoresUnsubscribers"),Mr=Symbol("internalStores");function Dr(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 zr(t){return!!t&&!!t[Wn]}function Hr(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)===kn}(t)||Array.isArray(t)||!!t[In]||!!(null===(o=t.constructor)||void 0===o?void 0:o[In])||Jr(t)||Xr(t))}function Tr(t,o,e){void 0===e&&(e=!1),0===Gr(t)?(e?Object.keys:An)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function Gr(t){var o=t[Wn];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:Jr(t)?2:Xr(t)?3:0}function Vr(t,o){return 2===Gr(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function qr(t,o,e){var r=Gr(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function Yr(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function Jr(t){return En&&t instanceof Map}function Xr(t){return Rn&&t instanceof Set}function Qr(t){return t.o||t.t}function tn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Fn(t);delete o[Wn];for(var e=An(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 on(t,o){return void 0===o&&(o=!1),rn(t)||zr(t)||!Hr(t)||(Gr(t)>1&&(t.set=t.add=t.clear=t.delete=en),Object.freeze(t),o&&Tr(t,(function(t,o){return on(o,!0)}),!0)),t}function en(){Dr(2)}function rn(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function nn(t){var o=Kn[t];return o||Dr(18,t),o}function an(){return Cn}function cn(t,o){o&&(nn("Patches"),t.u=[],t.s=[],t.v=o)}function sn(t){ln(t),t.p.forEach(un),t.p=null}function ln(t){t===Cn&&(Cn=t.l)}function fn(t){return Cn={p:[],l:Cn,h:t,m:!0,_:0}}function un(t){var o=t[Wn];0===o.i||1===o.i?o.j():o.g=!0}function hn(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||nn("ES5").S(o,t,r),r?(e[Wn].P&&(sn(o),Dr(4)),Hr(t)&&(t=dn(o,t),o.l||yn(o,t)),o.u&&nn("Patches").M(e[Wn].t,t,o.u,o.s)):t=dn(o,e,[]),sn(o),o.u&&o.v(o.u,o.s),t!==Un?t:void 0}function dn(t,o,e){if(rn(o))return o;var r=o[Wn];if(!r)return Tr(o,(function(n,i){return pn(t,r,o,n,i,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return yn(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var n=4===r.i||5===r.i?r.o=tn(r.k):r.o,i=n,a=!1;3===r.i&&(i=new Set(n),n.clear(),a=!0),Tr(i,(function(o,i){return pn(t,r,n,o,i,e,a)})),yn(t,n,!1),e&&t.u&&nn("Patches").N(r,e,t.u,t.s)}return r.o}function pn(t,o,e,r,n,i,a){if(zr(n)){var c=dn(t,n,i&&o&&3!==o.i&&!Vr(o.R,r)?i.concat(r):void 0);if(qr(e,r,c),!zr(c))return;t.m=!1}else a&&e.add(n);if(Hr(n)&&!rn(n)){if(!t.h.D&&t._<1)return;dn(t,n),o&&o.A.l||yn(t,n)}}function yn(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&on(o,e)}function gn(t,o){var e=t[Wn];return(e?Qr(e):t)[o]}function bn(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 mn(t){t.P||(t.P=!0,t.l&&mn(t.l))}function On(t){t.o||(t.o=tn(t.t))}function vn(t,o,e){var r=Jr(o)?nn("MapSet").F(o,e):Xr(o)?nn("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:an(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},n=r,i=$n;e&&(n=[r],i=Bn);var a=Proxy.revocable(n,i),c=a.revoke,s=a.proxy;return r.k=s,r.j=c,s}(o,e):nn("ES5").J(o,e);return(e?e.A:an()).p.push(r),r}function Sn(t){return zr(t)||Dr(22,t),function t(o){if(!Hr(o))return o;var e,r=o[Wn],n=Gr(o);if(r){if(!r.P&&(r.i<4||!nn("ES5").K(r)))return r.t;r.I=!0,e=Nn(o,n),r.I=!1}else e=Nn(o,n);return Tr(e,(function(o,n){r&&function(t,o){return 2===Gr(t)?t.get(o):t[o]}(r.t,o)===n||qr(e,o,t(n))})),3===n?new Set(e):e}(t)}function Nn(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return tn(t)}Br=Zr,jr=Mr,Pr=_r;var wn,Cn,xn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),En="undefined"!=typeof Map,Rn="undefined"!=typeof Set,Ln="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Un=xn?Symbol.for("immer-nothing"):((wn={})["immer-nothing"]=!0,wn),In=xn?Symbol.for("immer-draftable"):"__$immer_draftable",Wn=xn?Symbol.for("immer-state"):"__$immer_state",kn=""+Object.prototype.constructor,An="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Fn=Object.getOwnPropertyDescriptors||function(t){var o={};return An(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},Kn={},$n={get:function(t,o){if(o===Wn)return t;var e=Qr(t);if(!Vr(e,o))return function(t,o,e){var r,n=bn(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||!Hr(r)?r:r===gn(t.t,o)?(On(t),t.o[o]=vn(t.A.h,r,t)):r},has:function(t,o){return o in Qr(t)},ownKeys:function(t){return Reflect.ownKeys(Qr(t))},set:function(t,o,e){var r=bn(Qr(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var n=gn(Qr(t),o),i=null==n?void 0:n[Wn];if(i&&i.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(Yr(e,n)&&(void 0!==e||Vr(t.t,o)))return!0;On(t),mn(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!==gn(t.t,o)||o in t.t?(t.R[o]=!1,On(t),mn(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=Qr(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(){Dr(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Dr(12)}},Bn={};Tr($n,(function(t,o){Bn[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),Bn.deleteProperty=function(t,o){return Bn.set.call(this,t,o,void 0)},Bn.set=function(t,o,e){return $n.set.call(this,t[0],o,e,t[0])};var jn=function(){function t(t){var o=this;this.O=Ln,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),c=1;c<r;c++)a[c-1]=arguments[c];return i.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&Dr(6),void 0!==r&&"function"!=typeof r&&Dr(7),Hr(t)){var c=fn(o),s=vn(o,t,void 0),l=!0;try{a=e(s),l=!1}finally{l?sn(c):ln(c)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return cn(c,r),hn(t,c)}),(function(t){throw sn(c),t})):(cn(c,r),hn(a,c))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===Un&&(a=void 0),o.D&&on(a,!0),r){var f=[],u=[];nn("Patches").M(t,a,f,u),r(f,u)}return a}Dr(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){Hr(t)||Dr(8),zr(t)&&(t=Sn(t));var o=fn(this),e=vn(this,t,void 0);return e[Wn].C=!0,ln(o),e},o.finishDraft=function(t,o){var e=(t&&t[Wn]).A;return cn(e,o),hn(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Ln&&Dr(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=nn("Patches").$;return zr(t)?n(t,o):this.produce(t,(function(t){return n(t,o)}))},t}(),Pn=new jn,_n=Pn.produce;function Zn(t){return Zn="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},Zn(t)}function Mn(t){var o=function(t,o){if("object"!==Zn(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==Zn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===Zn(o)?o:String(o)}function Dn(t,o,e){return(o=Mn(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function zn(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 Hn(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?zn(Object(e),!0).forEach((function(o){Dn(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):zn(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function Tn(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. "}Pn.produceWithPatches.bind(Pn),Pn.setAutoFreeze.bind(Pn),Pn.setUseProxies.bind(Pn),Pn.applyPatches.bind(Pn),Pn.createDraft.bind(Pn),Pn.finishDraft.bind(Pn);var Gn="function"==typeof Symbol&&Symbol.observable||"@@observable",Vn=function(){return Math.random().toString(36).substring(7).split("").join(".")},qn={INIT:"@@redux/INIT"+Vn(),REPLACE:"@@redux/REPLACE"+Vn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Vn()}};function Yn(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(Tn(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(Tn(1));return e(Yn)(t,o)}if("function"!=typeof t)throw new Error(Tn(2));var n=t,i=o,a=[],c=a,s=!1;function l(){c===a&&(c=a.slice())}function f(){if(s)throw new Error(Tn(3));return i}function u(t){if("function"!=typeof t)throw new Error(Tn(4));if(s)throw new Error(Tn(5));var o=!0;return l(),c.push(t),function(){if(o){if(s)throw new Error(Tn(6));o=!1,l();var e=c.indexOf(t);c.splice(e,1),a=null}}}function h(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(Tn(7));if(void 0===t.type)throw new Error(Tn(8));if(s)throw new Error(Tn(9));try{s=!0,i=n(i,t)}finally{s=!1}for(var o=a=c,e=0;e<o.length;e++){(0,o[e])()}return t}return h({type:qn.INIT}),(r={dispatch:h,subscribe:u,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Tn(10));n=t,h({type:qn.REPLACE})}})[Gn]=function(){var t,o=u;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Tn(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[Gn]=function(){return this},t},r}function Jn(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:qn.INIT}))throw new Error(Tn(12));if(void 0===e(void 0,{type:qn.PROBE_UNKNOWN_ACTION()}))throw new Error(Tn(13))}))}(e)}catch(t){i=t}return function(t,o){if(void 0===t&&(t={}),i)throw i;for(var r=!1,n={},c=0;c<a.length;c++){var s=a[c],l=e[s],f=t[s],u=l(f,o);if(void 0===u)throw o&&o.type,new Error(Tn(14));n[s]=u,r=r||u!==f}return(r=r||a.length!==Object.keys(t).length)?n:t}}function Xn(){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 Qn(){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(Tn(15))},n={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=o.map((function(t){return t(n)}));return r=Xn.apply(void 0,i)(e.dispatch),Hn(Hn({},e),{},{dispatch:r})}}}function ti(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 oi=ti();oi.withExtraArgument=ti;var ei,ri=oi,ni=(ei=function(t,o){return ei=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])},ei(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}ei(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),ii=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:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){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,c])}}},ai=function(t,o){for(var e=0,r=o.length,n=t.length;e<r;e++,n++)t[n]=o[e];return t},ci=Object.defineProperty,si=Object.defineProperties,li=Object.getOwnPropertyDescriptors,fi=Object.getOwnPropertySymbols,ui=Object.prototype.hasOwnProperty,hi=Object.prototype.propertyIsEnumerable,di=function(t,o,e){return o in t?ci(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},pi=function(t,o){for(var e in o||(o={}))ui.call(o,e)&&di(t,e,o[e]);if(fi)for(var r=0,n=fi(o);r<n.length;r++){e=n[r];hi.call(o,e)&&di(t,e,o[e])}return t},yi=function(t,o){return si(t,li(o))},gi="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?Xn:Xn.apply(null,arguments)};var bi=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 ni(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,ai([void 0],t[0].concat(this)))):new(o.bind.apply(o,ai([void 0],t.concat(this))))},o}(Array),mi=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 ni(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,ai([void 0],t[0].concat(this)))):new(o.bind.apply(o,ai([void 0],t.concat(this))))},o}(Array);function Oi(t){return Hr(t)?_n(t,(function(){})):t}function vi(){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 bi;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(ri.withExtraArgument(e.extraArgument)):r.push(ri));return r}(t)}}function Si(t){var o,e=vi(),r=t||{},n=r.reducer,i=void 0===n?void 0:n,a=r.middleware,c=void 0===a?e():a,s=r.devTools,l=void 0===s||s,f=r.preloadedState,u=void 0===f?void 0:f,h=r.enhancers,d=void 0===h?void 0:h;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=Jn(i)}var p=c;"function"==typeof p&&(p=p(e));var y=Qn.apply(void 0,p),g=Xn;l&&(g=gi(pi({trace:!1},"object"==typeof l&&l)));var b=new mi(y),m=b;return Array.isArray(d)?m=ai([y],d):"function"==typeof d&&(m=d(b)),Yn(o,u,g.apply(void 0,m))}function Ni(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 pi(pi({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 wi(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 Ci(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:Oi(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},c={},s={};function l(){var o="function"==typeof t.extraReducers?wi(t.extraReducers):[t.extraReducers],e=o[0],n=void 0===e?{}:e,i=o[1],a=void 0===i?[]:i,s=o[2],l=void 0===s?void 0:s,f=pi(pi({},n),c);return function(t,o,e,r){void 0===e&&(e=[]);var n,i="function"==typeof o?wi(o):[o,e,r],a=i[0],c=i[1],s=i[2];if(function(t){return"function"==typeof t}(t))n=function(){return Oi(t())};else{var l=Oi(t);n=function(){return l}}function f(t,o){void 0===t&&(t=n());var e=ai([a[o.type]],c.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[s]),e.reduce((function(t,e){if(e){var r;if(zr(t))return void 0===(r=e(t,o))?t:r;if(Hr(t))return _n(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)}l&&t.addDefaultCase(l)}))}return i.forEach((function(t){var e,r,i=n[t],l=o+"/"+t;"reducer"in i?(e=i.reducer,r=i.prepare):e=i,a[t]=e,c[l]=e,s[t]=r?Ni(l,r):Ni(l)})),{name:o,reducer:function(t,o){return e||(e=l()),e(t,o)},actions:s,caseReducers:a,getInitialState:function(){return e||(e=l()),e.getInitialState()}}}var xi=["name","message","stack","code"],Ei=function(t,o){this.payload=t,this.meta=o},Ri=function(t,o){this.payload=t,this.meta=o},Li=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=xi;e<r.length;e++){var n=r[e];"string"==typeof t[n]&&(o[n]=t[n])}return o}return{message:String(t)}};function Ui(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=Ni(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:yi(pi({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),n=Ni(t+"/pending",(function(t,o,e){return{payload:void 0,meta:yi(pi({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),i=Ni(t+"/rejected",(function(t,o,r,n,i){return{payload:n,error:(e&&e.serializeError||Li)(t||"Rejected"),meta:yi(pi({},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(c,s,l){var f,u=(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}(),h=new a;function d(t){f=t,h.abort()}var p=function(){return a=this,p=null,y=function(){var a,p,y,g,b,m;return ii(this,(function(O){switch(O.label){case 0:return O.trys.push([0,4,,5]),g=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:s,extra:l}),null===(v=g)||"object"!=typeof v||"function"!=typeof v.then?[3,2]:[4,g];case 1:g=O.sent(),O.label=2;case 2:if(!1===g||h.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,o){return h.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),c(n(u,t,null==(p=null==e?void 0:e.getPendingMeta)?void 0:p.call(e,{requestId:u,arg:t},{getState:s,extra:l}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:c,getState:s,extra:l,requestId:u,signal:h.signal,abort:d,rejectWithValue:function(t,o){return new Ei(t,o)},fulfillWithValue:function(t,o){return new Ri(t,o)}})).then((function(o){if(o instanceof Ei)throw o;return o instanceof Ri?r(o.payload,u,t,o.meta):r(o,u,t)}))])];case 3:return y=O.sent(),[3,5];case 4:return m=O.sent(),y=m instanceof Ei?i(null,u,t,m.payload,m.meta):i(m,u,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&i.match(y)&&y.meta.condition||c(y),[2,y]}var v}))},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,p)).next())}));var a,p,y}();return Object.assign(p,{abort:d,requestId:u,arg:t,unwrap:function(){return p.then(Ui)}})}}),{pending:n,rejected:i,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Ii="listenerMiddleware";Ni(Ii+"/add"),Ni(Ii+"/removeAll"),Ni(Ii+"/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[Wn];return $n.get(o,t)},set:function(o){var e=this[Wn];$n.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var n=t[o][Wn];if(!n.P)switch(n.i){case 5:r(n)&&mn(n);break;case 4:e(n)&&mn(n)}}}function e(t){for(var o=t.t,e=t.k,r=An(e),n=r.length-1;n>=0;n--){var i=r[n];if(i!==Wn){var a=o[i];if(void 0===a&&!Vr(o,i))return!0;var c=e[i],s=c&&c[Wn];if(s?s.t!==a:!Yr(c,a))return!0}}var l=!!o[Wn];return r.length!==An(o).length+(l?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){Kn[t]||(Kn[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=Fn(e);delete i[Wn];for(var a=An(i),c=0;c<a.length;c++){var s=a[c];i[s]=t(s,o||!!i[s].enumerable)}return Object.create(Object.getPrototypeOf(e),i)}(r,o),i={i:r?5:4,A:e?e.A:an(),P:!1,I:!1,R:{},l:e,t:o,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,Wn,{value:i,writable:!0}),n},S:function(t,e,n){n?zr(e)&&e[Wn].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[Wn];if(e){var n=e.t,i=e.k,a=e.R,c=e.i;if(4===c)Tr(i,(function(o){o!==Wn&&(void 0!==n[o]||Vr(n,o)?a[o]||t(i[o]):(a[o]=!0,mn(e)))})),Tr(n,(function(t){void 0!==i[t]||Vr(i,t)||(a[t]=!1,mn(e))}));else if(5===c){if(r(e)&&(mn(e),a.length=!0),i.length<n.length)for(var s=i.length;s<n.length;s++)a[s]=!1;else for(var l=n.length;l<i.length;l++)a[l]=!0;for(var f=Math.min(i.length,n.length),u=0;u<f;u++)i.hasOwnProperty(u)||(a[u]=!0),void 0===a[u]&&t(i[u])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Wi{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($r(n))return n;if(null==r)return;const i=Ci({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=Si({reducer:(t,o)=>{var e;switch(o.type){case"CLEAR_FT_REDUX_STORE":return i.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(e=o.overwrites)&&void 0!==e?e:{}};default:return i.reducer(t,o)}}});return window.ftReduxStores[r.name]=new Wi(i,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),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_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}const ki=Symbol("elementInternals");var Ai,Fi,Ki;const $i=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ki=null===(Fi=null===(Ai=window.safari)||void 0===Ai?void 0:Ai.pushNotification)||void 0===Fi?void 0:Fi.toString())&&void 0!==Ki?Ki:"");var Bi=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 We&&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=ke(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)}},CancelablePromise:We,CanceledPromiseError:Ie,Debouncer:Ae,FtCssVariableFactory:je,FtLitElement:kr,FtLitElementRedux:class extends kr{constructor(){super(...arguments),this[Br]=new Map,this[jr]=new Map,this[Pr]=[]}update(t){var o;super.update(t),(null===(o=this.reduxReactiveProperties)||void 0===o?void 0:o.some((o=>t.has(o))))&&this.updateFromStores()}getUnnamedStore(){if(this[Mr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Mr].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Mr].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:$r(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[Mr].delete(o)}setupStore(t,o){this[Mr].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Mr].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.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[Zr].has(t.store):this[Zr].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Zr].set(t,o.subscribe((()=>this.updateFromStores()))),$r(o)&&o.eventBus&&(null===(e=this.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[_r].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Zr].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[_r].forEach((t=>t())),this[_r]=[]}unsubscribeFromStore(t){this[Zr].has(t)&&this[Zr].get(t)(),this[Zr].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}},FtNotificationEvent:Sr,FtReduxStore:Wi,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()}}},PostResizeEvent:wr,PreResizeEvent:Nr,ScopedRegistryLitElement:Er,button:fr,cancelable:ke,chart:dr,checkbox:gr,chip:pr,clearAllStores:function(){var t;for(let o of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))$r(o)&&o.clear()},customElement:t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)},dateReviver:function(...t){return function(o,e){return t.includes(o)?Fe(e):e}},deepEqual:Ke,delay:t=>new Promise((o=>setTimeout(o,t))),designSystemVariables:vr,eventPathContainsMatchingElement:function(t,o,e){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)]))},foundation:Pe,isFtReduxStore:$r,isSafari:$i,jsonProperty:$e,noTextSelect:Ar,notice:yr,notification:Or,parseDate:Fe,radio:mr,redux:t=>{const o=null!=t?t:{};return(t,e)=>{var r;const n={hasChanged:(t,o)=>!Ke(t,o),attribute:!1,...o};No(n)(t,e);const i=t;i.reduxProperties=i.reduxProperties||new Map,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;r.reduxEventListeners=r.reduxEventListeners||new Map,r.reduxEventListeners.set(e,t)},reduxReactive:()=>(t,o)=>{const e=t;e.reduxReactiveProperties=e.reduxReactiveProperties||[],e.reduxReactiveProperties.push(o)},safariEllipsisFix:Kr,semantic:lr,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},setVariable:function(t,o){return Be(`${t.name}: ${o}`)},switch_:hr,tabs:ur,toFtFormComponent:function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[ki].form}constructor(...t){super(t),this[ki]=this.attachInternals(),this[ki].role=o}setFormValue(t){this[ki].setFormValue(t)}}},toggle:br,typographies:sr,typographyBody1Medium:He,typographyBody1Regular:ze,typographyBody1Semibold:Te,typographyBody2Medium:Ve,typographyBody2Regular:Ge,typographyBody2Semibold:qe,typographyCaption1Bold:nr,typographyCaption1Medium:er,typographyCaption1Semibold:rr,typographyCaption2Bold:cr,typographyCaption2Medium:ir,typographyCaption2Semibold:ar,typographyDisplay:_e,typographyLabel1Bold:Xe,typographyLabel1Medium:Ye,typographyLabel1Semibold:Je,typographyLabel2Bold:or,typographyLabel2Medium:Qe,typographyLabel2Semibold:tr,typographyTitle1:Ze,typographyTitle2:Me,typographyTitle3:De,typographyVariants:["display","title-1","title-2","title-3","body-1","body-2","label-1","label-2","caption-1","caption-2"],wordWrap:Fr});t.lit=Oo,t.litClassMap=_o,t.litDecorators=xo,t.litRepeat=jo,t.litStyleMap=Ho,t.litUnsafeHTML=Ue,t.wcUtils=Bi}));
189
+ `;function _r(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Zr,Dr,zr;const Hr=Symbol("internalReduxEventsUnsubscribers"),Tr=Symbol("internalStoresUnsubscribers"),Gr=Symbol("internalStores");function Vr(t){for(var e=arguments.length,o=Array(e>1?e-1:0),r=1;r<e;r++)o[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function qr(t){return!!t&&!!t[Fi]}function Jr(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===Ki}(t)||Array.isArray(t)||!!t[$i]||!!(null===(e=t.constructor)||void 0===e?void 0:e[$i])||oi(t)||ri(t))}function Yr(t,e,o){void 0===o&&(o=!1),0===Xr(t)?(o?Object.keys:ji)(t).forEach((function(r){o&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(o,r){return e(r,o,t)}))}function Xr(t){var e=t[Fi];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:oi(t)?2:ri(t)?3:0}function Qr(t,e){return 2===Xr(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function ti(t,e,o){var r=Xr(t);2===r?t.set(e,o):3===r?t.add(o):t[e]=o}function ei(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function oi(t){return Ui&&t instanceof Map}function ri(t){return Wi&&t instanceof Set}function ii(t){return t.o||t.t}function ni(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Bi(t);delete e[Fi];for(var o=ji(e),r=0;r<o.length;r++){var i=o[r],n=e[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function ai(t,e){return void 0===e&&(e=!1),ci(t)||qr(t)||!Jr(t)||(Xr(t)>1&&(t.set=t.add=t.clear=t.delete=si),Object.freeze(t),e&&Yr(t,(function(t,e){return ai(e,!0)}),!0)),t}function si(){Vr(2)}function ci(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function li(t){var e=Pi[t];return e||Vr(18,t),e}function fi(){return Li}function hi(t,e){e&&(li("Patches"),t.u=[],t.s=[],t.v=e)}function ui(t){di(t),t.p.forEach(yi),t.p=null}function di(t){t===Li&&(Li=t.l)}function pi(t){return Li={p:[],l:Li,h:t,m:!0,_:0}}function yi(t){var e=t[Fi];0===e.i||1===e.i?e.j():e.g=!0}function gi(t,e){e._=e.p.length;var o=e.p[0],r=void 0!==t&&t!==o;return e.h.O||li("ES5").S(e,t,r),r?(o[Fi].P&&(ui(e),Vr(4)),Jr(t)&&(t=bi(e,t),e.l||Oi(e,t)),e.u&&li("Patches").M(o[Fi].t,t,e.u,e.s)):t=bi(e,o,[]),ui(e),e.u&&e.v(e.u,e.s),t!==Ai?t:void 0}function bi(t,e,o){if(ci(e))return e;var r=e[Fi];if(!r)return Yr(e,(function(i,n){return mi(t,r,e,i,n,o)}),!0),e;if(r.A!==t)return e;if(!r.P)return Oi(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=ni(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),Yr(n,(function(e,n){return mi(t,r,i,e,n,o,a)})),Oi(t,i,!1),o&&t.u&&li("Patches").N(r,o,t.u,t.s)}return r.o}function mi(t,e,o,r,i,n,a){if(qr(i)){var s=bi(t,i,n&&e&&3!==e.i&&!Qr(e.R,r)?n.concat(r):void 0);if(ti(o,r,s),!qr(s))return;t.m=!1}else a&&o.add(i);if(Jr(i)&&!ci(i)){if(!t.h.D&&t._<1)return;bi(t,i),e&&e.A.l||Oi(t,i)}}function Oi(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&ai(e,o)}function vi(t,e){var o=t[Fi];return(o?ii(o):t)[e]}function Si(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var r=Object.getOwnPropertyDescriptor(o,e);if(r)return r;o=Object.getPrototypeOf(o)}}function Ni(t){t.P||(t.P=!0,t.l&&Ni(t.l))}function wi(t){t.o||(t.o=ni(t.t))}function Ci(t,e,o){var r=oi(e)?li("MapSet").F(e,o):ri(e)?li("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),r={i:o?1:0,A:e?e.A:fi(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},i=r,n=Mi;o&&(i=[r],n=_i);var a=Proxy.revocable(i,n),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(e,o):li("ES5").J(e,o);return(o?o.A:fi()).p.push(r),r}function xi(t){return qr(t)||Vr(22,t),function t(e){if(!Jr(e))return e;var o,r=e[Fi],i=Xr(e);if(r){if(!r.P&&(r.i<4||!li("ES5").K(r)))return r.t;r.I=!0,o=Ei(e,i),r.I=!1}else o=Ei(e,i);return Yr(o,(function(e,i){r&&function(t,e){return 2===Xr(t)?t.get(e):t[e]}(r.t,e)===i||ti(o,e,t(i))})),3===i?new Set(o):o}(t)}function Ei(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ni(t)}Zr=Tr,Dr=Gr,zr=Hr;var Ri,Li,Ii="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Ui="undefined"!=typeof Map,Wi="undefined"!=typeof Set,ki="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Ai=Ii?Symbol.for("immer-nothing"):((Ri={})["immer-nothing"]=!0,Ri),$i=Ii?Symbol.for("immer-draftable"):"__$immer_draftable",Fi=Ii?Symbol.for("immer-state"):"__$immer_state",Ki=""+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,Bi=Object.getOwnPropertyDescriptors||function(t){var e={};return ji(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Pi={},Mi={get:function(t,e){if(e===Fi)return t;var o=ii(t);if(!Qr(o,e))return function(t,e,o){var r,i=Si(e,o);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,o,e);var r=o[e];return t.I||!Jr(r)?r:r===vi(t.t,e)?(wi(t),t.o[e]=Ci(t.A.h,r,t)):r},has:function(t,e){return e in ii(t)},ownKeys:function(t){return Reflect.ownKeys(ii(t))},set:function(t,e,o){var r=Si(ii(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,o),!0;if(!t.P){var i=vi(ii(t),e),n=null==i?void 0:i[Fi];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(ei(o,i)&&(void 0!==o||Qr(t.t,e)))return!0;wi(t),Ni(t)}return t.o[e]===o&&(void 0!==o||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==vi(t.t,e)||e in t.t?(t.R[e]=!1,wi(t),Ni(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=ii(t),r=Reflect.getOwnPropertyDescriptor(o,e);return r?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:r.enumerable,value:o[e]}:r},defineProperty:function(){Vr(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Vr(12)}},_i={};Yr(Mi,(function(t,e){_i[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),_i.deleteProperty=function(t,e){return _i.set.call(this,t,e,void 0)},_i.set=function(t,e,o){return Mi.set.call(this,t[0],e,o,t[0])};var Zi=function(){function t(t){var e=this;this.O=ki,this.D=!0,this.produce=function(t,o,r){if("function"==typeof t&&"function"!=typeof o){var i=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var r;return(r=o).call.apply(r,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&Vr(6),void 0!==r&&"function"!=typeof r&&Vr(7),Jr(t)){var s=pi(e),c=Ci(e,t,void 0),l=!0;try{a=o(c),l=!1}finally{l?ui(s):di(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return hi(s,r),gi(t,s)}),(function(t){throw ui(s),t})):(hi(s,r),gi(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===Ai&&(a=void 0),e.D&&ai(a,!0),r){var f=[],h=[];li("Patches").M(t,a,f,h),r(f,h)}return a}Vr(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(i))}))};var r,i,n=e.produce(t,o,(function(t,e){r=t,i=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,r,i]})):[n,r,i]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){Jr(t)||Vr(8),qr(t)&&(t=xi(t));var e=pi(this),o=Ci(this,t,void 0);return o[Fi].C=!0,di(e),o},e.finishDraft=function(t,e){var o=(t&&t[Fi]).A;return hi(o,e),gi(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!ki&&Vr(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var r=e[o];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}o>-1&&(e=e.slice(o+1));var i=li("Patches").$;return qr(t)?i(t,e):this.produce(t,(function(t){return i(t,e)}))},t}(),Di=new Zi,zi=Di.produce;function Hi(t){return Hi="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},Hi(t)}function Ti(t){var e=function(t,e){if("object"!==Hi(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!==Hi(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Hi(e)?e:String(e)}function Gi(t,e,o){return(e=Ti(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Vi(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,r)}return o}function qi(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?Vi(Object(o),!0).forEach((function(e){Gi(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Vi(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function Ji(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. "}Di.produceWithPatches.bind(Di),Di.setAutoFreeze.bind(Di),Di.setUseProxies.bind(Di),Di.applyPatches.bind(Di),Di.createDraft.bind(Di),Di.finishDraft.bind(Di);var Yi="function"==typeof Symbol&&Symbol.observable||"@@observable",Xi=function(){return Math.random().toString(36).substring(7).split("").join(".")},Qi={INIT:"@@redux/INIT"+Xi(),REPLACE:"@@redux/REPLACE"+Xi(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Xi()}};function tn(t,e,o){var r;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(Ji(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(Ji(1));return o(tn)(t,e)}if("function"!=typeof t)throw new Error(Ji(2));var i=t,n=e,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function f(){if(c)throw new Error(Ji(3));return n}function h(t){if("function"!=typeof t)throw new Error(Ji(4));if(c)throw new Error(Ji(5));var e=!0;return l(),s.push(t),function(){if(e){if(c)throw new Error(Ji(6));e=!1,l();var o=s.indexOf(t);s.splice(o,1),a=null}}}function u(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(Ji(7));if(void 0===t.type)throw new Error(Ji(8));if(c)throw new Error(Ji(9));try{c=!0,n=i(n,t)}finally{c=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return u({type:Qi.INIT}),(r={dispatch:u,subscribe:h,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Ji(10));i=t,u({type:Qi.REPLACE})}})[Yi]=function(){var t,e=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Ji(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[Yi]=function(){return this},t},r}function en(t){for(var e=Object.keys(t),o={},r=0;r<e.length;r++){var i=e[r];"function"==typeof t[i]&&(o[i]=t[i])}var n,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:Qi.INIT}))throw new Error(Ji(12));if(void 0===o(void 0,{type:Qi.PROBE_UNKNOWN_ACTION()}))throw new Error(Ji(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},s=0;s<a.length;s++){var c=a[s],l=o[c],f=t[c],h=l(f,e);if(void 0===h)throw e&&e.type,new Error(Ji(14));i[c]=h,r=r||h!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function on(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function rn(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),r=function(){throw new Error(Ji(15))},i={getState:o.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=e.map((function(t){return t(i)}));return r=on.apply(void 0,n)(o.dispatch),qi(qi({},o),{},{dispatch:r})}}}function nn(t){return function(e){var o=e.dispatch,r=e.getState;return function(e){return function(i){return"function"==typeof i?i(o,r,t):e(i)}}}}var an=nn();an.withExtraArgument=nn;var sn,cn=an,ln=(sn=function(t,e){return sn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},sn(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}sn(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),fn=function(t,e){var o,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],r=0}finally{o=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},hn=function(t,e){for(var o=0,r=e.length,i=t.length;o<r;o++,i++)t[i]=e[o];return t},un=Object.defineProperty,dn=Object.defineProperties,pn=Object.getOwnPropertyDescriptors,yn=Object.getOwnPropertySymbols,gn=Object.prototype.hasOwnProperty,bn=Object.prototype.propertyIsEnumerable,mn=function(t,e,o){return e in t?un(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},On=function(t,e){for(var o in e||(e={}))gn.call(e,o)&&mn(t,o,e[o]);if(yn)for(var r=0,i=yn(e);r<i.length;r++){o=i[r];bn.call(e,o)&&mn(t,o,e[o])}return t},vn=function(t,e){return dn(t,pn(e))},Sn="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?on:on.apply(null,arguments)};var Nn=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return ln(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,hn([void 0],t[0].concat(this)))):new(e.bind.apply(e,hn([void 0],t.concat(this))))},e}(Array),wn=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return ln(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,hn([void 0],t[0].concat(this)))):new(e.bind.apply(e,hn([void 0],t.concat(this))))},e}(Array);function Cn(t){return Jr(t)?zi(t,(function(){})):t}function xn(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var r=new Nn;o&&(!function(t){return"boolean"==typeof t}(o)?r.push(cn.withExtraArgument(o.extraArgument)):r.push(cn));return r}(t)}}function En(t){var e,o=xn(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?o():a,c=r.devTools,l=void 0===c||c,f=r.preloadedState,h=void 0===f?void 0:f,u=r.enhancers,d=void 0===u?void 0:u;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=en(n)}var p=s;"function"==typeof p&&(p=p(o));var y=rn.apply(void 0,p),g=on;l&&(g=Sn(On({trace:!1},"object"==typeof l&&l)));var b=new wn(y),m=b;return Array.isArray(d)?m=hn([y],d):"function"==typeof d&&(m=d(b)),tn(e,h,g.apply(void 0,m))}function Rn(t,e){function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(e){var i=e.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return On(On({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function Ln(t){var e,o={},r=[],i={addCase:function(t,e){var r="string"==typeof t?t:t.type;if(r in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[r]=e,i},addMatcher:function(t,e){return r.push({matcher:t,reducer:e}),i},addDefaultCase:function(t){return e=t,i}};return t(i),[o,r,e]}function In(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,r="function"==typeof t.initialState?t.initialState:Cn(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},c={};function l(){var e="function"==typeof t.extraReducers?Ln(t.extraReducers):[t.extraReducers],o=e[0],i=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,c=e[2],l=void 0===c?void 0:c,f=On(On({},i),s);return function(t,e,o,r){void 0===o&&(o=[]);var i,n="function"==typeof e?Ln(e):[e,o,r],a=n[0],s=n[1],c=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Cn(t())};else{var l=Cn(t);i=function(){return l}}function f(t,e){void 0===t&&(t=i());var o=hn([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[c]),o.reduce((function(t,o){if(o){var r;if(qr(t))return void 0===(r=o(t,e))?t:r;if(Jr(t))return zi(t,(function(t){return o(t,e)}));if(void 0===(r=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=i,f}(r,(function(t){for(var e in f)t.addCase(e,f[e]);for(var o=0,r=a;o<r.length;o++){var i=r[o];t.addMatcher(i.matcher,i.reducer)}l&&t.addDefaultCase(l)}))}return n.forEach((function(t){var o,r,n=i[t],l=e+"/"+t;"reducer"in n?(o=n.reducer,r=n.prepare):o=n,a[t]=o,s[l]=o,c[t]=r?Rn(l,r):Rn(l)})),{name:e,reducer:function(t,e){return o||(o=l()),o(t,e)},actions:c,caseReducers:a,getInitialState:function(){return o||(o=l()),o.getInitialState()}}}var Un=["name","message","stack","code"],Wn=function(t,e){this.payload=t,this.meta=e},kn=function(t,e){this.payload=t,this.meta=e},An=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,r=Un;o<r.length;o++){var i=r[o];"string"==typeof t[i]&&(e[i]=t[i])}return e}return{message:String(t)}};function $n(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var r=Rn(t+"/fulfilled",(function(t,e,o,r){return{payload:t,meta:vn(On({},r||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),i=Rn(t+"/pending",(function(t,e,o){return{payload:void 0,meta:vn(On({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Rn(t+"/rejected",(function(t,e,r,i,n){return{payload:i,error:(o&&o.serializeError||An)(t||"Rejected"),meta:vn(On({},n||{}),{arg:r,requestId:e,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,c,l){var f,h=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),u=new a;function d(t){f=t,u.abort()}var p=function(){return a=this,p=null,y=function(){var a,p,y,g,b,m;return fn(this,(function(O){switch(O.label){case 0:return O.trys.push([0,4,,5]),g=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:c,extra:l}),null===(v=g)||"object"!=typeof v||"function"!=typeof v.then?[3,2]:[4,g];case 1:g=O.sent(),O.label=2;case 2:if(!1===g||u.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return u.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(i(h,t,null==(p=null==o?void 0:o.getPendingMeta)?void 0:p.call(o,{requestId:h,arg:t},{getState:c,extra:l}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:s,getState:c,extra:l,requestId:h,signal:u.signal,abort:d,rejectWithValue:function(t,e){return new Wn(t,e)},fulfillWithValue:function(t,e){return new kn(t,e)}})).then((function(e){if(e instanceof Wn)throw e;return e instanceof kn?r(e.payload,h,t,e.meta):r(e,h,t)}))])];case 3:return y=O.sent(),[3,5];case 4:return m=O.sent(),y=m instanceof Wn?n(null,h,t,m.payload,m.meta):n(m,h,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var v}))},new Promise((function(t,e){var o=function(t){try{i(y.next(t))}catch(t){e(t)}},r=function(t){try{i(y.throw(t))}catch(t){e(t)}},i=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,r)};i((y=y.apply(a,p)).next())}));var a,p,y}();return Object.assign(p,{abort:d,requestId:h,arg:t,unwrap:function(){return p.then($n)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Fn="listenerMiddleware";Rn(Fn+"/add"),Rn(Fn+"/removeAll"),Rn(Fn+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=i[t];return o?o.enumerable=e:i[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[Fi];return Mi.get(e,t)},set:function(e){var o=this[Fi];Mi.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var i=t[e][Fi];if(!i.P)switch(i.i){case 5:r(i)&&Ni(i);break;case 4:o(i)&&Ni(i)}}}function o(t){for(var e=t.t,o=t.k,r=ji(o),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Fi){var a=e[n];if(void 0===a&&!Qr(e,n))return!0;var s=o[n],c=s&&s[Fi];if(c?c.t!==a:!ei(s,a))return!0}}var l=!!e[Fi];return r.length!==ji(e).length+(l?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var r=0;r<e.length;r++)if(!e.hasOwnProperty(r))return!0;return!1}var i={};!function(t,e){Pi[t]||(Pi[t]=e)}("ES5",{J:function(e,o){var r=Array.isArray(e),i=function(e,o){if(e){for(var r=Array(o.length),i=0;i<o.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=Bi(o);delete n[Fi];for(var a=ji(n),s=0;s<a.length;s++){var c=a[s];n[c]=t(c,e||!!n[c].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(r,e),n={i:r?5:4,A:o?o.A:fi(),P:!1,I:!1,R:{},l:o,t:e,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Fi,{value:n,writable:!0}),i},S:function(t,o,i){i?qr(o)&&o[Fi].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[Fi];if(o){var i=o.t,n=o.k,a=o.R,s=o.i;if(4===s)Yr(n,(function(e){e!==Fi&&(void 0!==i[e]||Qr(i,e)?a[e]||t(n[e]):(a[e]=!0,Ni(o)))})),Yr(i,(function(t){void 0!==n[t]||Qr(n,t)||(a[t]=!1,Ni(o))}));else if(5===s){if(r(o)&&(Ni(o),a.length=!0),n.length<i.length)for(var c=n.length;c<i.length;c++)a[c]=!1;else for(var l=i.length;l<n.length;l++)a[l]=!0;for(var f=Math.min(n.length,i.length),h=0;h<f;h++)n.hasOwnProperty(h)||(a[h]=!0),void 0===a[h]&&t(n[h])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Kn{static get(t){var e;const o="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[o];if(_r(i))return i;if(null==r)return;const n=In({...r,reducers:null!==(e=r.reducers)&&void 0!==e?e:{}}),a=En({reducer:(t,e)=>{var o;switch(e.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(o=e.overwrites)&&void 0!==o?o:{}};default:return n.reducer(t,e)}}});return window.ftReduxStores[r.name]=new Kn(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const r=e,i=t[r];return i?(...t)=>{const e=i(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}const jn=Symbol("elementInternals");var Bn,Pn,Mn;const _n=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Mn=null===(Pn=null===(Bn=window.safari)||void 0===Bn?void 0:Bn.pushNotification)||void 0===Pn?void 0:Pn.toString())&&void 0!==Mn?Mn:"");var Zn=Object.freeze({__proto__:null,CacheRegistry:class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof Wo&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,e){this.forceClear(t),this.register(t,(async()=>e)),this.content[t]=e}setFinal(t,e){this.forceClear(t),this.registerFinal(t,(async()=>e)),this.content[t]=e}async get(t,e,o){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const r=ko(e());return this.content[t]=r,r.then((e=>(this.content[t]=e,null!=o&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),o)),e)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}},CancelablePromise:Wo,CanceledPromiseError:Uo,Debouncer:Ao,FtCssVariableFactory:Bo,FtLitElement:kr,FtLitElementRedux:class extends kr{constructor(){super(...arguments),this[Zr]=new Map,this[Dr]=new Map,this[zr]=[]}update(t){var e;super.update(t),(null===(e=this.reduxReactiveProperties)||void 0===e?void 0:e.some((e=>t.has(e))))&&this.updateFromStores()}getUnnamedStore(){if(this[Gr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Gr].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Gr].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:_r(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Gr].delete(e)}setupStore(t,e){this[Gr].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Gr].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[Tr].has(t.store):this[Tr].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[Tr].set(t,e.subscribe((()=>this.updateFromStores()))),_r(e)&&e.eventBus&&(null===(o=this.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const r=t=>this[o](t);e.eventBus.addEventListener(t.eventName,r),this[Hr].push((()=>e.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Tr].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Hr].forEach((t=>t())),this[Hr]=[]}unsubscribeFromStore(t){this[Tr].has(t)&&this[Tr].get(t)(),this[Tr].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}},FtNotificationEvent:Sr,FtReduxStore:Kn,ParametrizedLabelResolver:class{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,r;t=this.resolvePluralKey(t,e);let i=null!==(r=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==r?r:"";return e.forEach(((t,e)=>i=i.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),i}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}},PostResizeEvent:wr,PreResizeEvent:Nr,ScopedRegistryLitElement:Er,button:fr,cancelable:ko,chart:dr,checkbox:gr,chip:pr,clearAllStores:function(){var t;for(let e of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))_r(e)&&e.clear()},customElement:t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)},dateReviver:function(...t){return function(e,o){return t.includes(e)?$o(o):o}},deepEqual:Fo,delay:t=>new Promise((e=>setTimeout(e,t))),designSystemVariables:vr,eventPathContainsMatchingElement:function(t,e,o){if(e.length>0){const r=t.composedPath();for(let t of r){if(t===o)return!1;if(t.matches&&e.some((e=>t.matches(e))))return!0}}return!1},flatDeep:function t(e,o){return e.flatMap((e=>[e,...t(o(e),o)]))},foundation:Po,highlightHtml:function(t,e){const o=new $r(t);o.unmark(jr),e&&e.trim()&&o.mark(e,jr)},highlightHtmlColorCssVariable:Fr,highlightHtmlStyles:Kr,isFtReduxStore:_r,isSafari:_n,jsonProperty:Ko,noTextSelect:Br,notice:yr,notification:Or,parseDate:$o,radio:mr,redux:t=>{const e=null!=t?t:{};return(t,o)=>{var r;const i={hasChanged:(t,e)=>!Fo(t,e),attribute:!1,...e};Se(i)(t,o);const n=t;n.reduxProperties=n.reduxProperties||new Map,n.reduxProperties.set(o,{selector:null!==(r=e.selector)&&void 0!==r?r:t=>t[o],store:e.store})}},reduxEventListener:t=>(e,o)=>{const r=e;r.reduxEventListeners=r.reduxEventListeners||new Map,r.reduxEventListeners.set(o,t)},reduxReactive:()=>(t,e)=>{const o=t;o.reduxReactiveProperties=o.reduxReactiveProperties||[],o.reduxReactiveProperties.push(e)},safariEllipsisFix:Mr,semantic:lr,serializeRequest:function(t,e){var o;const r=new URLSearchParams({"content-lang":null!==(o=e.contentLocale)&&void 0!==o?o:"all",query:e.query});if(e.filters.length>0){const t=e.filters.map((t=>{const e=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${e}`})).join("*");r.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${r.toString()}`).href},setVariable:function(t,e){return jo(`${t.name}: ${e}`)},switch_:ur,tabs:hr,toFtFormComponent:function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[jn].form}constructor(...t){super(t),this[jn]=this.attachInternals(),this[jn].role=e}setFormValue(t){this[jn].setFormValue(t)}}},toggle:br,typographies:cr,typographyBody1Medium:Ho,typographyBody1Regular:zo,typographyBody1Semibold:To,typographyBody2Medium:Vo,typographyBody2Regular:Go,typographyBody2Semibold:qo,typographyCaption1Bold:ir,typographyCaption1Medium:or,typographyCaption1Semibold:rr,typographyCaption2Bold:sr,typographyCaption2Medium:nr,typographyCaption2Semibold:ar,typographyDisplay:Mo,typographyLabel1Bold:Xo,typographyLabel1Medium:Jo,typographyLabel1Semibold:Yo,typographyLabel2Bold:er,typographyLabel2Medium:Qo,typographyLabel2Semibold:tr,typographyTitle1:_o,typographyTitle2:Zo,typographyTitle3:Do,typographyVariants:["display","title-1","title-2","title-3","body-1","body-2","label-1","label-2","caption-1","caption-2"],wordWrap:Pr});t.lit=me,t.litClassMap=Pe,t.litDecorators=Ce,t.litRepeat=je,t.litStyleMap=ze,t.litUnsafeHTML=Io,t.wcUtils=Zn}));